LLVM  9.0.0svn
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 72 of file RISCVBaseInfo.h.

Function Documentation

◆ isValidRoundingMode()

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

Definition at line 112 of file RISCVBaseInfo.h.

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

Referenced by decodeFRMArg().

◆ roundingModeToString()

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

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