LLVM 20.0.0git
Functions
RealtimeSanitizer.cpp File Reference
#include "llvm/IR/Analysis.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/Transforms/Instrumentation/RealtimeSanitizer.h"

Go to the source code of this file.

Functions

static void insertCallBeforeInstruction (Function &Fn, Instruction &Instruction, const char *FunctionName)
 
static void insertCallAtFunctionEntryPoint (Function &Fn, const char *InsertFnName)
 
static void insertCallAtAllFunctionExitPoints (Function &Fn, const char *InsertFnName)
 

Function Documentation

◆ insertCallAtAllFunctionExitPoints()

static void insertCallAtAllFunctionExitPoints ( Function Fn,
const char InsertFnName 
)
static

Definition at line 40 of file RealtimeSanitizer.cpp.

References I, and insertCallBeforeInstruction().

Referenced by llvm::RealtimeSanitizerPass::run().

◆ insertCallAtFunctionEntryPoint()

static void insertCallAtFunctionEntryPoint ( Function Fn,
const char InsertFnName 
)
static

◆ insertCallBeforeInstruction()

static void insertCallBeforeInstruction ( Function Fn,
Instruction Instruction,
const char FunctionName 
)
static