LLVM: lib/Target/RISCV/RISCVLateBranchOpt.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define RISCV_LATE_BRANCH_OPT_NAME "RISC-V Late Branch Optimisation Pass"
Functions

RISCV_LATE_BRANCH_OPT_NAME

#define RISCV_LATE_BRANCH_OPT_NAME "RISC-V Late Branch Optimisation Pass"

INITIALIZE_PASS()

INITIALIZE_PASS ( RISCVLateBranchOpt ,
"riscv-late-branch-opt" ,
RISCV_LATE_BRANCH_OPT_NAME ,
false ,
false )

Definition at line 45 of file RISCVLateBranchOpt.cpp.

References assert(), Cond, llvm::RISCVCC::COND_INVALID, DL, llvm::RISCVInstrInfo::evaluateCondBranch(), llvm::RISCVInstrInfo::getCondFromBranchOpc(), if(), llvm::RISCVInstrInfo::isFromLoadImm(), MBB, MRI, RISCV_LATE_BRANCH_OPT_NAME, runOnBasicBlock(), and TBB.