LLVM 19.0.0git
Enumerations | Functions
llvm::RISCVCC Namespace Reference

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)
 

Enumeration Type Documentation

◆ CondCode

Enumerator
COND_EQ 
COND_NE 
COND_LT 
COND_GE 
COND_LTU 
COND_GEU 
COND_INVALID 

Definition at line 37 of file RISCVInstrInfo.h.

Function Documentation

◆ getBrCond()

unsigned llvm::RISCVCC::getBrCond ( RISCVCC::CondCode  CC)

Definition at line 859 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().

◆ getOppositeBranchCondition()

RISCVCC::CondCode llvm::RISCVCC::getOppositeBranchCondition ( RISCVCC::CondCode  CC)