LLVM 20.0.0git
Enumerations | Functions
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 334 of file RISCVBaseInfo.h.

Function Documentation

◆ isValidRoundingMode()

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

Definition at line 374 of file RISCVBaseInfo.h.

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

Referenced by decodeFRMArg().

◆ roundingModeToString()

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

◆ stringToRoundingMode()

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