LLVM 20.0.0git
|
Enumerations | |
enum | CondCode { COND_EQ , COND_NE , COND_LT , COND_GE , COND_LTU , COND_GEU , COND_INVALID } |
Functions | |
CondCode | getOppositeBranchCondition (CondCode) |
unsigned | getBrCond (CondCode CC, bool Imm=false) |
Enumerator | |
---|---|
COND_EQ | |
COND_NE | |
COND_LT | |
COND_GE | |
COND_LTU | |
COND_GEU | |
COND_INVALID |
Definition at line 37 of file RISCVInstrInfo.h.
unsigned llvm::RISCVCC::getBrCond | ( | RISCVCC::CondCode | CC, |
bool | Imm = false |
||
) |
Definition at line 952 of file RISCVInstrInfo.cpp.
References CC, COND_EQ, COND_GE, COND_GEU, COND_LT, COND_LTU, COND_NE, and llvm_unreachable.
Referenced by llvm::RISCVInstrInfo::getBrCond().
RISCVCC::CondCode llvm::RISCVCC::getOppositeBranchCondition | ( | RISCVCC::CondCode | CC | ) |
Definition at line 976 of file RISCVInstrInfo.cpp.
References CC, COND_EQ, COND_GE, COND_GEU, COND_LT, COND_LTU, COND_NE, and llvm_unreachable.
Referenced by llvm::RISCVInstrInfo::commuteInstructionImpl(), and llvm::RISCVInstrInfo::optimizeSelect().