MLIR  22.0.0git
Public Member Functions | Protected Attributes | List of all members
mlir::xegpu::uArch::uArch Struct Reference

#include "mlir/Dialect/XeGPU/uArch/uArchBase.h"

+ Inheritance diagram for mlir::xegpu::uArch::uArch:

Public Member Functions

 uArch (const std::string &name, const std::string &description, const std::map< RegisterFileType, RegisterFileInfo > &registerFileInfo={}, const llvm::SmallVector< CacheInfo, 4 > &cacheInfo={}, const std::map< InstructionKind, std::shared_ptr< Instruction >> &instructions={})
 
const std::string & getName () const
 
const std::string & getDescription () const
 
const std::map< RegisterFileType, RegisterFileInfo > & getRegisterFileInfo () const
 
const llvm::SmallVector< CacheInfo, 4 > & getCacheInfo () const
 
const std::map< InstructionKind, std::shared_ptr< Instruction > > & getInstructions () const
 
llvm::SmallVector< StringRef, 8 > getSupportedInstructionNames () const
 
bool checkSupportedInstruction (InstructionKind instr) const
 

Protected Attributes

std::string name
 
std::string description
 
std::map< RegisterFileType, RegisterFileInforegisterFileInfo
 
llvm::SmallVector< CacheInfo, 4 > cacheInfo
 
std::map< InstructionKind, std::shared_ptr< Instruction > > instructions
 

Detailed Description

Definition at line 134 of file uArchBase.h.

Constructor & Destructor Documentation

◆ uArch()

mlir::xegpu::uArch::uArch::uArch ( const std::string &  name,
const std::string &  description,
const std::map< RegisterFileType, RegisterFileInfo > &  registerFileInfo = {},
const llvm::SmallVector< CacheInfo, 4 > &  cacheInfo = {},
const std::map< InstructionKind, std::shared_ptr< Instruction >> &  instructions = {} 
)
inline

Definition at line 136 of file uArchBase.h.

Member Function Documentation

◆ checkSupportedInstruction()

bool mlir::xegpu::uArch::uArch::checkSupportedInstruction ( InstructionKind  instr) const
inline

Definition at line 176 of file uArchBase.h.

References instructions.

◆ getCacheInfo()

const llvm::SmallVector<CacheInfo, 4>& mlir::xegpu::uArch::uArch::getCacheInfo ( ) const
inline

Definition at line 156 of file uArchBase.h.

References cacheInfo.

◆ getDescription()

const std::string& mlir::xegpu::uArch::uArch::getDescription ( ) const
inline

Definition at line 149 of file uArchBase.h.

References description.

◆ getInstructions()

const std::map<InstructionKind, std::shared_ptr<Instruction> >& mlir::xegpu::uArch::uArch::getInstructions ( ) const
inline

Definition at line 161 of file uArchBase.h.

References instructions.

◆ getName()

const std::string& mlir::xegpu::uArch::uArch::getName ( ) const
inline

Definition at line 147 of file uArchBase.h.

References name.

◆ getRegisterFileInfo()

const std::map<RegisterFileType, RegisterFileInfo>& mlir::xegpu::uArch::uArch::getRegisterFileInfo ( ) const
inline

Definition at line 152 of file uArchBase.h.

References registerFileInfo.

◆ getSupportedInstructionNames()

llvm::SmallVector<StringRef, 8> mlir::xegpu::uArch::uArch::getSupportedInstructionNames ( ) const
inline

Definition at line 167 of file uArchBase.h.

References instructions, and mlir::xegpu::uArch::Instruction::toString().

Member Data Documentation

◆ cacheInfo

llvm::SmallVector<CacheInfo, 4> mlir::xegpu::uArch::uArch::cacheInfo
protected

Definition at line 184 of file uArchBase.h.

Referenced by getCacheInfo().

◆ description

std::string mlir::xegpu::uArch::uArch::description
protected

Definition at line 182 of file uArchBase.h.

Referenced by getDescription().

◆ instructions

std::map<InstructionKind, std::shared_ptr<Instruction> > mlir::xegpu::uArch::uArch::instructions
protected

◆ name

std::string mlir::xegpu::uArch::uArch::name
protected

Definition at line 181 of file uArchBase.h.

Referenced by getName().

◆ registerFileInfo

std::map<RegisterFileType, RegisterFileInfo> mlir::xegpu::uArch::uArch::registerFileInfo
protected

Definition at line 183 of file uArchBase.h.

Referenced by getRegisterFileInfo().


The documentation for this struct was generated from the following file: