LLVM
8.0.1
|
Instrumentation based profiling lowering pass. More...
#include "llvm/Transforms/Instrumentation/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.
References F(), llvm::MipsISD::Ins, llvm::Intrinsic::memset, and run().
PreservedAnalyses InstrProfiling::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 350 of file InstrProfiling.cpp.
References llvm::PreservedAnalyses::all(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), INITIALIZE_PASS_BEGIN(), INITIALIZE_PASS_DEPENDENCY, INITIALIZE_PASS_END(), and llvm::PreservedAnalyses::none().
Referenced by InstrProfiling().
bool InstrProfiling::run | ( | Module & | M, |
const TargetLibraryInfo & | TLI | ||
) |
Definition at line 455 of file InstrProfiling.cpp.
References containsProfilingIntrinsics(), llvm::dyn_cast(), E, llvm::getCoverageUnusedNamesVarName(), llvm::getMemOPSizeRangeFromOption(), llvm::Module::getNamedGlobal(), llvm::Module::getTargetTriple(), I, lowerIntrinsics(), and MemOPSizeRange.