#include "Caller.h"
Public Member Functions | |
bool | Instrument (llvm::Instruction &) |
Optionally decorate an instruction with calls to instrumentation. More... | |
![]() | |
void | AppendInstrumentation (const Automaton &, const FunctionEvent &, TEquivalenceClass &) |
Static Public Member Functions | |
static CallerInstrumentation * | Build (llvm::Module &, llvm::Function *Target, FunctionEvent::Direction, bool SuppressDebugInstr) |
Construct an object that can instrument calls to a given function. More... | |
Additional Inherited Members | |
![]() | |
FnInstrumentation (llvm::Module &M, const llvm::Function *TargetFn, llvm::Function *InstrFn, FunctionEvent::Direction Dir) | |
![]() | |
llvm::Module & | M |
The current module. More... | |
const llvm::Function * | TargetFn |
The function being instrumented. More... | |
llvm::Function * | InstrFn |
The instrumentation function. More... | |
FunctionEvent::Direction | Dir |
Which way we instrument (in or out). More... | |
|
static |
Construct an object that can instrument calls to a given function.
Definition at line 140 of file Caller.cpp.
References tesla::FunctionInstrumentation().
|
virtual |
Optionally decorate an instruction with calls to instrumentation.
Implements tesla::InstInstrumentation.
Definition at line 154 of file Caller.cpp.
Referenced by tesla::FnCallerInstrumenter::runOnBasicBlock().