LLVM 20.0.0git
Functions
llvm::RISCVLoadFPImm Namespace Reference

Functions

float getFPImm (unsigned Imm)
 
int getLoadFPImm (APFloat FPImm)
 getLoadFPImm - Return a 5-bit binary encoding of the floating-point immediate value.
 

Function Documentation

◆ getFPImm()

float llvm::RISCVLoadFPImm::getFPImm ( unsigned  Imm)

Definition at line 208 of file RISCVBaseInfo.cpp.

References assert(), I, and llvm::LoadFP32ImmArr.

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

◆ getLoadFPImm()

int llvm::RISCVLoadFPImm::getLoadFPImm ( APFloat  FPImm)