LLVM 20.0.0git
Enumerations | Functions
llvm::RISCVZC Namespace Reference

Enumerations

enum  RLISTENCODE {
  RA = 4 , RA_S0 , RA_S0_S1 , RA_S0_S2 ,
  RA_S0_S3 , RA_S0_S4 , RA_S0_S5 , RA_S0_S6 ,
  RA_S0_S7 , RA_S0_S8 , RA_S0_S9 , RA_S0_S11 ,
  INVALID_RLIST
}
 

Functions

unsigned encodeRlist (MCRegister EndReg, bool IsRV32E=false)
 
static unsigned getStackAdjBase (unsigned RlistVal, bool IsRV64)
 
static bool getSpimm (unsigned RlistVal, unsigned &SpimmVal, int64_t StackAdjustment, bool IsRV64)
 
void printRlist (unsigned SlistEncode, raw_ostream &OS)
 

Enumeration Type Documentation

◆ RLISTENCODE

Enumerator
RA 
RA_S0 
RA_S0_S1 
RA_S0_S2 
RA_S0_S3 
RA_S0_S4 
RA_S0_S5 
RA_S0_S6 
RA_S0_S7 
RA_S0_S8 
RA_S0_S9 
RA_S0_S11 
INVALID_RLIST 

Definition at line 542 of file RISCVBaseInfo.h.

Function Documentation

◆ encodeRlist()

unsigned llvm::RISCVZC::encodeRlist ( MCRegister  EndReg,
bool  IsRV32E = false 
)
inline

◆ getSpimm()

static bool llvm::RISCVZC::getSpimm ( unsigned  RlistVal,
unsigned SpimmVal,
int64_t  StackAdjustment,
bool  IsRV64 
)
inlinestatic

Definition at line 641 of file RISCVBaseInfo.h.

References getStackAdjBase(), and INVALID_RLIST.

◆ getStackAdjBase()

static unsigned llvm::RISCVZC::getStackAdjBase ( unsigned  RlistVal,
bool  IsRV64 
)
inlinestatic

◆ printRlist()

void llvm::RISCVZC::printRlist ( unsigned  SlistEncode,
raw_ostream OS 
)

Definition at line 225 of file RISCVBaseInfo.cpp.

References OS.