LLVM 18.0.0git
Classes | Public Member Functions | List of all members
llvm::InstrProfiling Class Reference

Instrumentation based profiling lowering pass. More...

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

Inheritance diagram for llvm::InstrProfiling:
Inheritance graph
[legend]

Public Member Functions

 InstrProfiling ()
 
 InstrProfiling (const InstrProfOptions &Options, bool IsCS=false)
 
PreservedAnalyses run (Module &M, ModuleAnalysisManager &AM)
 
bool run (Module &M, std::function< const TargetLibraryInfo &(Function &F)> GetTLI)
 
- Public Member Functions inherited from llvm::PassInfoMixin< InstrProfiling >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< InstrProfiling >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

Instrumentation based profiling lowering pass.

This pass lowers the profile instrumented code generated by FE or the IR based instrumentation pass.

Definition at line 34 of file InstrProfiling.h.

Constructor & Destructor Documentation

◆ InstrProfiling() [1/2]

llvm::InstrProfiling::InstrProfiling ( )
inline

Definition at line 36 of file InstrProfiling.h.

◆ InstrProfiling() [2/2]

llvm::InstrProfiling::InstrProfiling ( const InstrProfOptions Options,
bool  IsCS = false 
)
inline

Definition at line 37 of file InstrProfiling.h.

References Options.

Member Function Documentation

◆ run() [1/2]

PreservedAnalyses InstrProfiling::run ( Module M,
ModuleAnalysisManager AM 
)

◆ run() [2/2]

bool InstrProfiling::run ( Module M,
std::function< const TargetLibraryInfo &(Function &F)>  GetTLI 
)

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