LLVM: lib/Target/X86/X86IndirectBranchTracking.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "x86-indirect-branch-tracking"
Functions
STATISTIC (NumEndBranchAdded, "Number of ENDBR instructions added")
static bool IsCallReturnTwice (llvm::MachineOperand &MOp)
static bool needsPrologueENDBR (MachineFunction &MF, const Module *M)

DEBUG_TYPE

#define DEBUG_TYPE "x86-indirect-branch-tracking"

IsCallReturnTwice()

needsPrologueENDBR()

STATISTIC()

STATISTIC ( NumEndBranchAdded ,
"Number of ENDBR instructions added"
)

IndirectBranchTracking

cl::opt< bool > IndirectBranchTracking("x86-indirect-branch-tracking", cl::init(false), cl::Hidden, cl::desc("Enable X86 indirect branch tracking pass.")) ( "x86-indirect-branch-tracking" ,
cl::init(false) ,
cl::Hidden ,
cl::desc("Enable X86 indirect branch tracking pass.")
)