|
LLVM
5.0.0
|
Instrumentation based profiling lowering pass. More...
#include "llvm/Transforms/InstrProfiling.h"
Public Member Functions | |
| InstrProfiling ()=default | |
| InstrProfiling (const InstrProfOptions &Options) | |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
| bool | run (Module &M, const TargetLibraryInfo &TLI) |
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... | |
Instrumentation based profiling lowering pass.
This pass lowers the profile instrumented code generated by FE or the IR based instrumentation pass.
Definition at line 36 of file InstrProfiling.h.
|
default |
|
inline |
Definition at line 39 of file InstrProfiling.h.
| PreservedAnalyses InstrProfiling::run | ( | Module & | M, |
| ModuleAnalysisManager & | AM | ||
| ) |
Definition at line 343 of file InstrProfiling.cpp.
References llvm::PreservedAnalyses::all(), llvm::AnalysisManager< T, TArgs >::getResult(), and llvm::PreservedAnalyses::none().
| bool InstrProfiling::run | ( | Module & | M, |
| const TargetLibraryInfo & | TLI | ||
| ) |
Definition at line 431 of file InstrProfiling.cpp.
References llvm::BasicBlock::begin(), llvm::dyn_cast(), E, llvm::BasicBlock::end(), llvm::getCoverageUnusedNamesVarName(), llvm::getMemOPSizeRangeFromOption(), llvm::Module::getTargetTriple(), I, and MemOPSizeRange.
1.8.6