|
LLVM
3.7.0
|
#include "llvm/Transforms/Instrumentation.h"#include "llvm/ADT/Triple.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/IntrinsicInst.h"#include "llvm/IR/Module.h"#include "llvm/Transforms/Utils/ModuleUtils.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "instrprof" |
Functions | |
| INITIALIZE_PASS (InstrProfiling,"instrprof","Frontend instrumentation-based coverage lowering.", false, false) ModulePass *llvm | |
| static std::string | getVarName (InstrProfIncrementInst *Inc, StringRef VarName) |
| Get the name of a profiling variable for a particular function. More... | |
| #define DEBUG_TYPE "instrprof" |
Definition at line 26 of file InstrProfiling.cpp.
|
static |
Get the name of a profiling variable for a particular function.
Definition at line 186 of file InstrProfiling.cpp.
References llvm::GlobalVariable::getInitializer(), and llvm::InstrProfIncrementInst::getName().
| INITIALIZE_PASS | ( | InstrProfiling | , |
| "instrprof" | , | ||
| "Frontend instrumentation-based coverage lowering." | , | ||
| false | , | ||
| false | |||
| ) |
Definition at line 108 of file InstrProfiling.cpp.
1.8.6