LLVM 19.0.0git
Classes | Typedefs | Enumerations | Functions
llvm::RISCVMatInt Namespace Reference

Classes

class  Inst
 

Typedefs

using InstSeq = SmallVector< Inst, 8 >
 

Enumerations

enum  OpndKind { RegImm , Imm , RegReg , RegX0 }
 

Functions

InstSeq generateInstSeq (int64_t Val, const MCSubtargetInfo &STI)
 
InstSeq generateTwoRegInstSeq (int64_t Val, const MCSubtargetInfo &STI, unsigned &ShiftAmt, unsigned &AddOpc)
 
int getIntMatCost (const APInt &Val, unsigned Size, const MCSubtargetInfo &STI, bool CompressionCost)
 

Typedef Documentation

◆ InstSeq

Definition at line 42 of file RISCVMatInt.h.

Enumeration Type Documentation

◆ OpndKind

Enumerator
RegImm 
Imm 
RegReg 
RegX0 

Definition at line 21 of file RISCVMatInt.h.

Function Documentation

◆ generateInstSeq()

InstSeq llvm::RISCVMatInt::generateInstSeq ( int64_t  Val,
const MCSubtargetInfo STI 
)

◆ generateTwoRegInstSeq()

InstSeq llvm::RISCVMatInt::generateTwoRegInstSeq ( int64_t  Val,
const MCSubtargetInfo STI,
unsigned ShiftAmt,
unsigned AddOpc 
)

◆ getIntMatCost()

int llvm::RISCVMatInt::getIntMatCost ( const APInt Val,
unsigned  Size,
const MCSubtargetInfo STI,
bool  CompressionCost 
)