LLVM 20.0.0git
|
#include "llvm/Analysis/IndirectCallVisitor.h"
Public Types | |
enum class | InstructionType { kIndirectCall = 0 , kVTableVal = 1 } |
Static Public Member Functions | |
static Instruction * | tryGetVTableInstruction (CallBase *CB) |
Public Attributes | |
std::vector< CallBase * > | IndirectCalls |
std::vector< Instruction * > | ProfiledAddresses |
Definition at line 21 of file IndirectCallVisitor.h.
|
strong |
Enumerator | |
---|---|
kIndirectCall | |
kVTableVal |
Definition at line 22 of file IndirectCallVisitor.h.
|
inline |
Definition at line 28 of file IndirectCallVisitor.h.
|
inlinestatic |
Definition at line 38 of file IndirectCallVisitor.h.
References assert(), llvm::CallBase::getCalledOperand(), llvm::LoadInst::getPointerOperand(), llvm::CallBase::isIndirectCall(), and llvm::Value::stripInBoundsConstantOffsets().
Referenced by computeVirtualCallSiteTypeInfoMap(), llvm::updateProfileCallee(), and visitCallBase().
|
inline |
Definition at line 63 of file IndirectCallVisitor.h.
References IndirectCalls, kVTableVal, ProfiledAddresses, and tryGetVTableInstruction().
std::vector<CallBase *> llvm::PGOIndirectCallVisitor::IndirectCalls |
Definition at line 26 of file IndirectCallVisitor.h.
Referenced by llvm::findIndirectCalls(), and visitCallBase().
std::vector<Instruction *> llvm::PGOIndirectCallVisitor::ProfiledAddresses |
Definition at line 27 of file IndirectCallVisitor.h.
Referenced by llvm::findVTableAddrs(), and visitCallBase().