|
LLVM
4.0.0
|
Instrumentation based profiling lowering pass. More...
#include <InstrProfiling.h>
Public Member Functions | |
| InstrProfiling () | |
| 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 29 of file InstrProfiling.h.
|
inline |
Definition at line 31 of file InstrProfiling.h.
|
inline |
Definition at line 32 of file InstrProfiling.h.
| PreservedAnalyses InstrProfiling::run | ( | Module & | M, |
| ModuleAnalysisManager & | AM | ||
| ) |
Definition at line 78 of file InstrProfiling.cpp.
References llvm::PreservedAnalyses::all(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::PreservedAnalyses::none().
| bool InstrProfiling::run | ( | Module & | M, |
| const TargetLibraryInfo & | TLI | ||
| ) |
Definition at line 131 of file InstrProfiling.cpp.
References castToIncrementInst(), llvm::dyn_cast(), E, F, llvm::getCoverageUnusedNamesVarName(), and I.
1.8.6