LLVM 24.0.0git
X86IndirectBranchTracking.cpp File Reference

Go to the source code of this file.

Macros

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

Functions

 STATISTIC (NumEndBranchAdded, "Number of ENDBR instructions added")
 INITIALIZE_PASS (X86IndirectBranchTrackingLegacy, DEBUG_TYPE, "X86 Indirect Branch Tracking", false, false) FunctionPass *llvm
static bool IsCallReturnTwice (llvm::MachineOperand &MOp)
static bool needsPrologueENDBR (MachineFunction &MF, const Module *M)
static bool runIndirectBranchTracking (MachineFunction &MF)

Macro Definition Documentation

◆ DEBUG_TYPE

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

Definition at line 30 of file X86IndirectBranchTracking.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( X86IndirectBranchTrackingLegacy ,
DEBUG_TYPE ,
"X86 Indirect Branch Tracking" ,
false ,
false  )

◆ IsCallReturnTwice()

◆ needsPrologueENDBR()

◆ runIndirectBranchTracking()

◆ STATISTIC()

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