LLVM 22.0.0git
llvm::RISCVVXRndMode Namespace Reference

Enumerations

enum  RoundingMode {
  RNU = 0 , RNE = 1 , RDN = 2 , ROD = 3 ,
  Invalid
}

Functions

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

Enumeration Type Documentation

◆ RoundingMode

Enumerator
RNU 
RNE 
RDN 
ROD 
Invalid 

Definition at line 463 of file RISCVBaseInfo.h.

Function Documentation

◆ isValidRoundingMode()

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

Definition at line 495 of file RISCVBaseInfo.h.

References Mode, RDN, RNE, RNU, and ROD.

◆ roundingModeToString()

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

Definition at line 471 of file RISCVBaseInfo.h.

References llvm_unreachable, RDN, RNE, RNU, and ROD.

◆ stringToRoundingMode()

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