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

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

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

Public Member Functions

 uArch (StringRef name, StringRef description, llvm::ArrayRef< const Instruction * > instructionRegistry)
 
virtual ~uArch ()=default
 
StringRef getName () const
 
StringRef getDescription () const
 
virtual int getSubgroupSize () const =0
 
virtual unsigned getGeneralPackedFormatBitSize () const =0
 
const InstructiongetInstruction (InstructionKind instKind) const
 
bool isSupportedInstruction (InstructionKind instr) const
 

Protected Attributes

StringRef name
 
StringRef description
 
llvm::SmallDenseMap< InstructionKind, const Instruction *, 32 > instructionRegistry
 

Detailed Description

Definition at line 143 of file uArchBase.h.

Constructor & Destructor Documentation

◆ uArch()

mlir::xegpu::uArch::uArch::uArch ( StringRef  name,
StringRef  description,
llvm::ArrayRef< const Instruction * >  instructionRegistry 
)
inline

Definition at line 145 of file uArchBase.h.

References instructionRegistry.

◆ ~uArch()

virtual mlir::xegpu::uArch::uArch::~uArch ( )
virtualdefault

Member Function Documentation

◆ getDescription()

StringRef mlir::xegpu::uArch::uArch::getDescription ( ) const
inline

Definition at line 153 of file uArchBase.h.

References description.

◆ getGeneralPackedFormatBitSize()

virtual unsigned mlir::xegpu::uArch::uArch::getGeneralPackedFormatBitSize ( ) const
pure virtual

Implemented in mlir::xegpu::uArch::Xe2Plus.

◆ getInstruction()

const Instruction* mlir::xegpu::uArch::uArch::getInstruction ( InstructionKind  instKind) const
inline

Definition at line 157 of file uArchBase.h.

References instructionRegistry.

◆ getName()

StringRef mlir::xegpu::uArch::uArch::getName ( ) const
inline

Definition at line 152 of file uArchBase.h.

References name.

◆ getSubgroupSize()

virtual int mlir::xegpu::uArch::uArch::getSubgroupSize ( ) const
pure virtual

Implemented in mlir::xegpu::uArch::Xe2Plus.

◆ isSupportedInstruction()

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

Definition at line 164 of file uArchBase.h.

References instructionRegistry.

Member Data Documentation

◆ description

StringRef mlir::xegpu::uArch::uArch::description
protected

Definition at line 170 of file uArchBase.h.

Referenced by getDescription().

◆ instructionRegistry

llvm::SmallDenseMap<InstructionKind, const Instruction *, 32> mlir::xegpu::uArch::uArch::instructionRegistry
protected

Definition at line 172 of file uArchBase.h.

Referenced by getInstruction(), isSupportedInstruction(), and uArch().

◆ name

StringRef mlir::xegpu::uArch::uArch::name
protected

Definition at line 169 of file uArchBase.h.

Referenced by getName().


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