LLVM 20.0.0git
|
#include "llvm/Analysis/CtxProfAnalysis.h"
Public Types | |
using | Result = PGOContextualProfile |
Public Member Functions | |
CtxProfAnalysis (StringRef Profile="") | |
PGOContextualProfile | run (Module &M, ModuleAnalysisManager &MAM) |
Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static InstrProfCallsite * | getCallsiteInstrumentation (CallBase &CB) |
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< DerivedT > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Static Public Attributes | |
static AnalysisKey | Key |
Definition at line 77 of file CtxProfAnalysis.h.
Definition at line 84 of file CtxProfAnalysis.h.
|
explicit |
Definition at line 99 of file CtxProfAnalysis.cpp.
|
static |
Definition at line 190 of file CtxProfAnalysis.cpp.
References llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getPrevNode().
PGOContextualProfile CtxProfAnalysis::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM | ||
) |
Definition at line 102 of file CtxProfAnalysis.cpp.
References _, assert(), llvm::CallingConv::C, llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::erase(), F, llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::MemoryBuffer::getFile(), llvm::AssignGUIDPass::getGUID(), I, llvm::PGOCtxProfileReader::loadContexts(), llvm::make_early_inc_range(), and llvm::dwarf::toString().
|
static |
Definition at line 81 of file CtxProfAnalysis.h.