LLVM: llvm::CtxProfAnalysis Class Reference (original) (raw)

#include "[llvm/Analysis/CtxProfAnalysis.h](CtxProfAnalysis%5F8h%5Fsource.html)"

Static Public Member Functions
static LLVM_ABI InstrProfCallsite * getCallsiteInstrumentation (CallBase &CB)
Get the instruction instrumenting a callsite, or nullptr if that cannot be found.
static LLVM_ABI InstrProfIncrementInst * getBBInstrumentation (BasicBlock &BB)
Get the instruction instrumenting a BB, or nullptr if not present.
static LLVM_ABI InstrProfIncrementInstStep * getSelectInstrumentation (SelectInst &SI)
Get the step instrumentation associated with a select
static LLVM_ABI void collectIndirectCallPromotionList (CallBase &IC, Result &Profile, SetVector< std::pair< CallBase *, Function * > > &Candidates)
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< CtxProfAnalysis >
static AnalysisKey * ID ()
Returns an opaque, unique ID for this analysis type.
Static Public Member Functions inherited from llvm::PassInfoMixin< CtxProfAnalysis >
static StringRef name ()
Gets the name of the pass we are mixed into.

Definition at line 120 of file CtxProfAnalysis.h.

Result

CtxProfAnalysis::CtxProfAnalysis ( std::optional< StringRef > Profile = std::nullopt) explicit

collectIndirectCallPromotionList()

getBBInstrumentation()

getCallsiteInstrumentation()

getSelectInstrumentation()

run()

Definition at line 461 of file CtxProfAnalysis.cpp.

References _, assert(), llvm::CallingConv::C, llvm::dyn_cast(), F, llvm::sys::path::filename(), llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::MemoryBuffer::getFile(), llvm::AssignGUIDPass::getGUID(), llvm::Guid, I, llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), llvm::PGOCtxProfileReader::loadProfiles(), llvm::make_early_inc_range(), MAM, and llvm::toString().

Key


The documentation for this class was generated from the following files: