LLVM 22.0.0git
llvm::RISCVFPRndMode Namespace Reference

Enumerations

enum  RoundingMode {
  RNE = 0 , RTZ = 1 , RDN = 2 , RUP = 3 ,
  RMM = 4 , DYN = 7 , Invalid
}

Functions

static StringRef roundingModeToString (RoundingMode RndMode)
static RoundingMode stringToRoundingMode (StringRef Str)
static bool isValidRoundingMode (unsigned Mode)

Enumeration Type Documentation

◆ RoundingMode

Enumerator
RNE 
RTZ 
RDN 
RUP 
RMM 
DYN 
Invalid 

Definition at line 408 of file RISCVBaseInfo.h.

Function Documentation

◆ isValidRoundingMode()

bool llvm::RISCVFPRndMode::isValidRoundingMode ( unsigned Mode)
inlinestatic

Definition at line 448 of file RISCVBaseInfo.h.

References DYN, Mode, RDN, RMM, RNE, RTZ, and RUP.

Referenced by decodeFRMArg(), and llvm::RISCVInstrInfo::verifyInstruction().

◆ roundingModeToString()

StringRef llvm::RISCVFPRndMode::roundingModeToString ( RoundingMode RndMode)
inlinestatic

◆ stringToRoundingMode()

RoundingMode llvm::RISCVFPRndMode::stringToRoundingMode ( StringRef Str)
inlinestatic