LLVM 20.0.0git
|
The instrumentation (profile-instr-gen) pass for IR based PGO. More...
#include "llvm/Transforms/Instrumentation/PGOInstrumentation.h"
Public Member Functions | |
PGOInstrumentationGen (PGOInstrumentationType InstrumentationType=PGOInstrumentationType ::FDO) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
Public Member Functions inherited from llvm::PassInfoMixin< PGOInstrumentationGen > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< PGOInstrumentationGen > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
The instrumentation (profile-instr-gen) pass for IR based PGO.
Definition at line 58 of file PGOInstrumentation.h.
|
inline |
Definition at line 60 of file PGOInstrumentation.h.
PreservedAnalyses PGOInstrumentationGen::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM | ||
) |
Definition at line 1930 of file PGOInstrumentation.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), InstrumentAllFunctions(), MAM, and llvm::PreservedAnalyses::none().