LLVM 17.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 282 of file RISCVBaseInfo.h.

Function Documentation

◆ isValidRoundingMode()

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

Definition at line 322 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

Definition at line 292 of file RISCVBaseInfo.h.

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

Referenced by llvm::RISCVInstPrinter::printFRMArg().

◆ stringToRoundingMode()

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