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

Classes

struct  Inst
 

Typedefs

using InstSeq = SmallVector< Inst, 8 >
 

Enumerations

enum  OpndKind { RegImm, Imm, RegReg, RegX0 }
 

Functions

InstSeq generateInstSeq (int64_t Val, const FeatureBitset &ActiveFeatures)
 
int getIntMatCost (const APInt &Val, unsigned Size, const FeatureBitset &ActiveFeatures, bool CompressionCost)
 

Typedef Documentation

◆ InstSeq

Definition at line 36 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 FeatureBitset ActiveFeatures 
)

◆ getIntMatCost()

int llvm::RISCVMatInt::getIntMatCost ( const APInt Val,
unsigned  Size,
const FeatureBitset ActiveFeatures,
bool  CompressionCost 
)