LLVM 24.0.0git
llvm::PGOIndirectCallPromotion Class Reference

The indirect function call promotion pass. More...

#include "llvm/Transforms/Instrumentation/PGOInstrumentation.h"

Inheritance diagram for llvm::PGOIndirectCallPromotion:
[legend]

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.

Detailed Description

The indirect function call promotion pass.

Definition at line 88 of file PGOInstrumentation.h.

Constructor & Destructor Documentation

◆ PGOIndirectCallPromotion()

llvm::PGOIndirectCallPromotion::PGOIndirectCallPromotion ( bool IsInLTO = false,
bool SamplePGO = false,
const ModuleSummaryIndex * ImportSummary = nullptr )
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.

Member Function Documentation

◆ run()


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