LLVM 20.0.0git
Functions | Variables
Instrumentation.cpp File Reference
#include "llvm/Transforms/Utils/Instrumentation.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/TargetParser/Triple.h"

Go to the source code of this file.

Functions

static BasicBlock::iterator moveBeforeInsertPoint (BasicBlock::iterator I, BasicBlock::iterator IP)
 Moves I before IP. Returns new insert point.
 

Variables

static cl::opt< boolClIgnoreRedundantInstrumentation ("ignore-redundant-instrumentation", cl::desc("Ignore redundant instrumentation"), cl::Hidden, cl::init(false))
 

Function Documentation

◆ moveBeforeInsertPoint()

static BasicBlock::iterator moveBeforeInsertPoint ( BasicBlock::iterator  I,
BasicBlock::iterator  IP 
)
static

Moves I before IP. Returns new insert point.

Definition at line 44 of file Instrumentation.cpp.

References I.

Referenced by llvm::PrepareToSplitEntryBlock().

Variable Documentation

◆ ClIgnoreRedundantInstrumentation

cl::opt< bool > ClIgnoreRedundantInstrumentation("ignore-redundant-instrumentation", cl::desc("Ignore redundant instrumentation"), cl::Hidden, cl::init(false)) ( "ignore-redundant-instrumentation"  ,
cl::desc("Ignore redundant instrumentation")  ,
cl::Hidden  ,
cl::init(false)   
)
static