LLVM  13.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
Collaboration diagram for llvm::InstrProfiling:
Collaboration graph

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)

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. More...

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 35 of file InstrProfiling.h.

Constructor & Destructor Documentation

◆ InstrProfiling() [1/2]

llvm::InstrProfiling::InstrProfiling ( )

Definition at line 37 of file InstrProfiling.h.

◆ InstrProfiling() [2/2]

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

Definition at line 38 of file InstrProfiling.h.

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: