Go to the source code of this file.
◆ DEBUG_TYPE
| #define DEBUG_TYPE "x86-indirect-branch-tracking" |
◆ IsCallReturnTwice()
Definition at line 87 of file X86IndirectBranchTracking.cpp.
References llvm::AMDGPU::HSAMD::Kernel::Key::Attrs, llvm::MachineBasicBlock::begin(), llvm::MachineFunction::begin(), llvm::Function::doesNoCfCheck(), llvm::dyn_cast(), llvm::MachineBasicBlock::end(), llvm::AttributeList::FunctionIndex, llvm::MachineFunction::getFunction(), llvm::MachineOperand::getGlobal(), llvm::X86Subtarget::getInstrInfo(), llvm::MachineFunction::getMMI(), llvm::MachineModuleInfo::getModule(), llvm::Module::getModuleFlag(), llvm::MachineFunction::getSubtarget(), llvm::MachineBasicBlock::hasAddressTaken(), llvm::Function::hasAddressTaken(), llvm::AttributeList::hasAttribute(), llvm::GlobalValue::hasLocalLinkage(), I, IndirectBranchTracking, llvm::X86Subtarget::is64Bit(), llvm::MachineOperand::isGlobal(), and TII.
◆ 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.")) |
|
static |