LLVM 19.0.0git
Classes | Namespaces | Typedefs | Enumerations | Functions
RISCVMatInt.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/MC/MCRegister.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include <cstdint>

Go to the source code of this file.

Classes

class  llvm::RISCVMatInt::Inst
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::RISCVMatInt
 

Typedefs

using llvm::RISCVMatInt::InstSeq = SmallVector< Inst, 8 >
 

Enumerations

enum  llvm::RISCVMatInt::OpndKind { llvm::RISCVMatInt::RegImm , llvm::RISCVMatInt::Imm , llvm::RISCVMatInt::RegReg , llvm::RISCVMatInt::RegX0 }
 

Functions

InstSeq llvm::RISCVMatInt::generateInstSeq (int64_t Val, const MCSubtargetInfo &STI)
 
void llvm::RISCVMatInt::generateMCInstSeq (int64_t Val, const MCSubtargetInfo &STI, MCRegister DestReg, SmallVectorImpl< MCInst > &Insts)
 
InstSeq llvm::RISCVMatInt::generateTwoRegInstSeq (int64_t Val, const MCSubtargetInfo &STI, unsigned &ShiftAmt, unsigned &AddOpc)
 
int llvm::RISCVMatInt::getIntMatCost (const APInt &Val, unsigned Size, const MCSubtargetInfo &STI, bool CompressionCost)