LLVM
8.0.1
|
#include "llvm/Transforms/IPO/WholeProgramDevirt.h"
Public Member Functions | |
VirtualCallTarget (Function *Fn, const TypeMemberInfo *TM) | |
VirtualCallTarget (const TypeMemberInfo *TM, bool IsBigEndian) | |
uint64_t | minBeforeBytes () const |
uint64_t | minAfterBytes () const |
uint64_t | allocatedBeforeBytes () const |
uint64_t | allocatedAfterBytes () const |
void | setBeforeBit (uint64_t Pos) |
void | setAfterBit (uint64_t Pos) |
void | setBeforeBytes (uint64_t Pos, uint8_t Size) |
void | setAfterBytes (uint64_t Pos, uint8_t Size) |
Public Attributes | |
Function * | Fn |
const TypeMemberInfo * | TM |
uint64_t | RetVal |
bool | IsBigEndian |
bool | WasDevirt |
Definition at line 117 of file WholeProgramDevirt.h.
VirtualCallTarget::VirtualCallTarget | ( | Function * | Fn, |
const TypeMemberInfo * | TM | ||
) |
Definition at line 232 of file WholeProgramDevirt.cpp.
|
inline |
Definition at line 121 of file WholeProgramDevirt.h.
|
inline |
Definition at line 162 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::VTableBits::After, llvm::wholeprogramdevirt::TypeMemberInfo::Bits, and llvm::wholeprogramdevirt::AccumBitVector::Bytes.
|
inline |
Definition at line 156 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::VTableBits::Before, llvm::wholeprogramdevirt::TypeMemberInfo::Bits, and llvm::wholeprogramdevirt::AccumBitVector::Bytes.
|
inline |
Definition at line 152 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::TypeMemberInfo::Bits, llvm::wholeprogramdevirt::VTableBits::ObjectSize, and llvm::wholeprogramdevirt::TypeMemberInfo::Offset.
|
inline |
Definition at line 145 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::TypeMemberInfo::Offset.
|
inline |
Definition at line 173 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::VTableBits::After, assert(), llvm::wholeprogramdevirt::TypeMemberInfo::Bits, and llvm::wholeprogramdevirt::AccumBitVector::setBit().
|
inline |
Definition at line 190 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::VTableBits::After, assert(), llvm::wholeprogramdevirt::TypeMemberInfo::Bits, llvm::wholeprogramdevirt::findLowestOffset(), llvm::wholeprogramdevirt::setAfterReturnValues(), llvm::wholeprogramdevirt::AccumBitVector::setBE(), llvm::wholeprogramdevirt::setBeforeReturnValues(), llvm::wholeprogramdevirt::AccumBitVector::setLE(), and Size.
|
inline |
Definition at line 167 of file WholeProgramDevirt.h.
References assert(), llvm::wholeprogramdevirt::VTableBits::Before, llvm::wholeprogramdevirt::TypeMemberInfo::Bits, and llvm::wholeprogramdevirt::AccumBitVector::setBit().
|
inline |
Function* llvm::wholeprogramdevirt::VirtualCallTarget::Fn |
Definition at line 125 of file WholeProgramDevirt.h.
Referenced by llvm::WholeProgramDevirtPass::run().
bool llvm::wholeprogramdevirt::VirtualCallTarget::IsBigEndian |
Definition at line 136 of file WholeProgramDevirt.h.
uint64_t llvm::wholeprogramdevirt::VirtualCallTarget::RetVal |
Definition at line 133 of file WholeProgramDevirt.h.
Referenced by llvm::WholeProgramDevirtPass::run().
const TypeMemberInfo* llvm::wholeprogramdevirt::VirtualCallTarget::TM |
Definition at line 129 of file WholeProgramDevirt.h.
Referenced by llvm::WholeProgramDevirtPass::run().
bool llvm::wholeprogramdevirt::VirtualCallTarget::WasDevirt |
Definition at line 139 of file WholeProgramDevirt.h.