|
LLVM 24.0.0git
|
#include "RISCV.h"#include "RISCVInstrInfo.h"#include "RISCVMachineFunctionInfo.h"#include "RISCVSubtarget.h"#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachinePassManager.h"#include "llvm/IR/Analysis.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "riscv-lpad-setup" |
| #define | PASS_NAME "RISC-V Landing Pad Setup" |
Functions | |
| static bool | runLandingPadSetup (MachineFunction &MF) |
| #define DEBUG_TYPE "riscv-lpad-setup" |
Definition at line 26 of file RISCVLandingPadSetup.cpp.
| #define PASS_NAME "RISC-V Landing Pad Setup" |
Definition at line 27 of file RISCVLandingPadSetup.cpp.
|
static |
Definition at line 49 of file RISCVLandingPadSetup.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addUse(), llvm::BuildMI(), Changed, llvm::MachineFunction::getInfo(), llvm::MachineFunction::getSubtarget(), llvm::RISCVMachineFunctionInfo::hasCFProtectionBranch(), llvm::ImplicitKill, llvm::isUInt(), llvm::make_early_inc_range(), MBB, MI, llvm::report_fatal_error(), and TII.
Referenced by llvm::RISCVLandingPadSetupPass::run().