LLVM 22.0.0git
|
Go to the source code of this file.
Macros | |
#define | RISCV_LATE_BRANCH_OPT_NAME "RISC-V Late Branch Optimisation Pass" |
Functions | |
INITIALIZE_PASS (RISCVLateBranchOpt, "riscv-late-branch-opt", RISCV_LATE_BRANCH_OPT_NAME, false, false) bool RISCVLateBranchOpt | |
#define RISCV_LATE_BRANCH_OPT_NAME "RISC-V Late Branch Optimisation Pass" |
Definition at line 20 of file RISCVLateBranchOpt.cpp.
INITIALIZE_PASS | ( | RISCVLateBranchOpt | , |
"riscv-late-branch-opt" | , | ||
RISCV_LATE_BRANCH_OPT_NAME | , | ||
false | , | ||
false | |||
) |
Definition at line 45 of file RISCVLateBranchOpt.cpp.
References llvm::MachineBasicBlock::addSuccessor(), assert(), Cond, llvm::RISCVCC::COND_INVALID, DL, llvm::MachineFunction::end(), llvm::RISCVInstrInfo::evaluateCondBranch(), llvm::MachineBasicBlock::findBranchDebugLoc(), llvm::RISCVInstrInfo::getCondFromBranchOpc(), llvm::getImm(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getRegInfo(), llvm::RISCVInstrInfo::isFromLoadImm(), MBB, MRI, llvm::MachineBasicBlock::removeSuccessor(), llvm::MachineBasicBlock::succ_empty(), llvm::MachineBasicBlock::succ_end(), and TBB.