|
LLVM 24.0.0git
|
The indirect function call promotion pass. More...
#include "llvm/Transforms/Instrumentation/PGOInstrumentation.h"
Public Member Functions | |
| PGOIndirectCallPromotion (bool IsInLTO=false, bool SamplePGO=false, const ModuleSummaryIndex *ImportSummary=nullptr) | |
ImportSummary is the combined summary index of a ThinLTO backend compile, if any. | |
| LLVM_ABI PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
| Public Member Functions inherited from llvm::detail::PassInfoMixin< PGOIndirectCallPromotion > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
| Static Public Member Functions inherited from llvm::OptionalPassInfoMixin< PGOIndirectCallPromotion > | |
| static bool | isRequired () |
| Static Public Member Functions inherited from llvm::detail::InfoMixin< PGOIndirectCallPromotion > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. | |
The indirect function call promotion pass.
Definition at line 88 of file PGOInstrumentation.h.
|
inline |
ImportSummary is the combined summary index of a ThinLTO backend compile, if any.
When present, promotion to a function that is only declared in the module requires a summary for the target in the index that indicates it is live (see -icp-allow-decls).
Definition at line 95 of file PGOInstrumentation.h.
| PreservedAnalyses PGOIndirectCallPromotion::run | ( | Module & | M, |
| ModuleAnalysisManager & | MAM ) |
Definition at line 1047 of file IndirectCallPromotion.cpp.
References llvm::PreservedAnalyses::all(), llvm::getInstrumentationOptions(), MAM, llvm::PreservedAnalyses::none(), and promoteIndirectCalls().