LLVM 24.0.0git
RISCVIndirectBranchTracking.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "riscv-indirect-branch-tracking"
#define PASS_NAME   "RISC-V Indirect Branch Tracking"

Functions

static void emitLpad (MachineBasicBlock &MBB, const RISCVInstrInfo *TII, uint32_t Label, MachineBasicBlock::iterator I=MachineBasicBlock::iterator{})
static bool runIndirectBranchTracking (MachineFunction &MF)

Macro Definition Documentation

◆ DEBUG_TYPE

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

Definition at line 29 of file RISCVIndirectBranchTracking.cpp.

◆ PASS_NAME

#define PASS_NAME   "RISC-V Indirect Branch Tracking"

Definition at line 30 of file RISCVIndirectBranchTracking.cpp.

Function Documentation

◆ emitLpad()

Definition at line 62 of file RISCVIndirectBranchTracking.cpp.

References I, MBB, and TII.

Referenced by runIndirectBranchTracking().

◆ runIndirectBranchTracking()