LLVM 20.0.0git
|
#include "llvm/Transforms/IPO/WholeProgramDevirt.h"
Public Member Functions | |
VirtualCallTarget (GlobalValue *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 | |
GlobalValue * | Fn |
const TypeMemberInfo * | TM |
uint64_t | RetVal |
bool | IsBigEndian |
bool | WasDevirt |
Definition at line 120 of file WholeProgramDevirt.h.
VirtualCallTarget::VirtualCallTarget | ( | GlobalValue * | Fn, |
const TypeMemberInfo * | TM | ||
) |
Definition at line 312 of file WholeProgramDevirt.cpp.
|
inline |
Definition at line 124 of file WholeProgramDevirt.h.
|
inline |
Definition at line 165 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::VTableBits::After, llvm::wholeprogramdevirt::TypeMemberInfo::Bits, llvm::wholeprogramdevirt::AccumBitVector::Bytes, minAfterBytes(), and TM.
|
inline |
Definition at line 159 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::VTableBits::Before, llvm::wholeprogramdevirt::TypeMemberInfo::Bits, llvm::wholeprogramdevirt::AccumBitVector::Bytes, minBeforeBytes(), and TM.
|
inline |
Definition at line 155 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::TypeMemberInfo::Bits, llvm::wholeprogramdevirt::VTableBits::ObjectSize, llvm::wholeprogramdevirt::TypeMemberInfo::Offset, and TM.
Referenced by allocatedAfterBytes(), setAfterBit(), and setAfterBytes().
|
inline |
Definition at line 148 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::TypeMemberInfo::Offset, and TM.
Referenced by allocatedBeforeBytes(), setBeforeBit(), and setBeforeBytes().
|
inline |
Definition at line 176 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::VTableBits::After, assert(), llvm::wholeprogramdevirt::TypeMemberInfo::Bits, minAfterBytes(), RetVal, llvm::wholeprogramdevirt::AccumBitVector::setBit(), and TM.
|
inline |
Definition at line 193 of file WholeProgramDevirt.h.
References llvm::wholeprogramdevirt::VTableBits::After, assert(), llvm::wholeprogramdevirt::TypeMemberInfo::Bits, IsBigEndian, minAfterBytes(), RetVal, llvm::wholeprogramdevirt::AccumBitVector::setBE(), llvm::wholeprogramdevirt::AccumBitVector::setLE(), Size, and TM.
|
inline |
Definition at line 170 of file WholeProgramDevirt.h.
References assert(), llvm::wholeprogramdevirt::VTableBits::Before, llvm::wholeprogramdevirt::TypeMemberInfo::Bits, minBeforeBytes(), RetVal, llvm::wholeprogramdevirt::AccumBitVector::setBit(), and TM.
|
inline |
Definition at line 184 of file WholeProgramDevirt.h.
References assert(), llvm::wholeprogramdevirt::VTableBits::Before, llvm::wholeprogramdevirt::TypeMemberInfo::Bits, IsBigEndian, minBeforeBytes(), RetVal, llvm::wholeprogramdevirt::AccumBitVector::setBE(), llvm::wholeprogramdevirt::AccumBitVector::setLE(), Size, and TM.
GlobalValue* llvm::wholeprogramdevirt::VirtualCallTarget::Fn |
Definition at line 128 of file WholeProgramDevirt.h.
bool llvm::wholeprogramdevirt::VirtualCallTarget::IsBigEndian |
Definition at line 139 of file WholeProgramDevirt.h.
Referenced by setAfterBytes(), and setBeforeBytes().
uint64_t llvm::wholeprogramdevirt::VirtualCallTarget::RetVal |
Definition at line 136 of file WholeProgramDevirt.h.
Referenced by setAfterBit(), setAfterBytes(), setBeforeBit(), and setBeforeBytes().
const TypeMemberInfo* llvm::wholeprogramdevirt::VirtualCallTarget::TM |
Definition at line 132 of file WholeProgramDevirt.h.
Referenced by allocatedAfterBytes(), allocatedBeforeBytes(), minAfterBytes(), minBeforeBytes(), setAfterBit(), setAfterBytes(), setBeforeBit(), and setBeforeBytes().
bool llvm::wholeprogramdevirt::VirtualCallTarget::WasDevirt |
Definition at line 142 of file WholeProgramDevirt.h.