LLVM  8.0.1
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 70 of file RISCVBaseInfo.h.

Function Documentation

◆ isValidRoundingMode()

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

Definition at line 110 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 80 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