LLVM 22.0.0git
|
#include "RISCV.h"
#include "RISCVInstrInfo.h"
#include "RISCVSubtarget.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "riscv-indrect-branch-tracking" |
#define | PASS_NAME "RISC-V Indirect Branch Tracking" |
Functions | |
static void | emitLpad (MachineBasicBlock &MBB, const RISCVInstrInfo *TII, uint32_t Label) |
Variables | |
cl::opt< uint32_t > | PreferredLandingPadLabel ("riscv-landing-pad-label", cl::ReallyHidden, cl::desc("Use preferred fixed label for all labels")) |
#define DEBUG_TYPE "riscv-indrect-branch-tracking" |
Definition at line 23 of file RISCVIndirectBranchTracking.cpp.
#define PASS_NAME "RISC-V Indirect Branch Tracking" |
Definition at line 24 of file RISCVIndirectBranchTracking.cpp.
|
static |
Definition at line 57 of file RISCVIndirectBranchTracking.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineBasicBlock::begin(), llvm::BuildMI(), llvm::MachineBasicBlock::findDebugLoc(), I, MBB, and TII.