LLVM 20.0.0git
|
#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) |
Definition at line 40 of file RealtimeSanitizer.cpp.
References I, and insertCallBeforeInstruction().
Referenced by llvm::RealtimeSanitizerPass::run().
Definition at line 34 of file RealtimeSanitizer.cpp.
References llvm::BasicBlock::front(), llvm::Function::front(), and insertCallBeforeInstruction().
Referenced by llvm::RealtimeSanitizerPass::run().
|
static |
Definition at line 24 of file RealtimeSanitizer.cpp.
References llvm::Function::getContext(), llvm::Module::getOrInsertFunction(), llvm::GlobalValue::getParent(), and llvm::Type::getVoidTy().
Referenced by insertCallAtAllFunctionExitPoints(), and insertCallAtFunctionEntryPoint().