TT-MLIR
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
mlir::tt::ttkernel::PackTileOp Class Reference
Inheritance diagram for mlir::tt::ttkernel::PackTileOp:

Public Types

using Adaptor = PackTileOpAdaptor
 
template<typename RangeT >
using GenericAdaptor = PackTileOpGenericAdaptor< RangeT >
 
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > >
 
using Properties = FoldAdaptor::Properties
 

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
 
::mlir::StringAttr getOutOfOrderAttrName ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::Type > getDstIndex ()
 
::mlir::TypedValue<::mlir::tt::ttkernel::CBTypegetOutCb ()
 
::mlir::TypedValue<::mlir::Type > getOutIndex ()
 
::mlir::OpOperand & getDstIndexMutable ()
 
::mlir::OpOperand & getOutCbMutable ()
 
::mlir::OpOperand & getOutIndexMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
void writeProperties (::mlir::DialectBytecodeWriter &writer)
 
::mlir::BoolAttr getOutOfOrderAttr ()
 
bool getOutOfOrder ()
 
void setOutOfOrderAttr (::mlir::BoolAttr attr)
 
void setOutOfOrder (bool attrValue)
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 

Static Public Member Functions

::mlir::StringAttr getOutOfOrderAttrName (::mlir::OperationName name)
 
static constexpr ::llvm::StringLiteral getOperationName ()
 
::llvm::LogicalResult setPropertiesFromAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::mlir::Attribute getPropertiesAsAttr (::mlir::MLIRContext *ctx, const Properties &prop)
 
static llvm::hash_code computePropertiesHash (const Properties &prop)
 
static std::optional< mlir::Attribute > getInherentAttr (::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
 
static void setInherentAttr (Properties &prop, llvm::StringRef name, mlir::Attribute value)
 
static void populateInherentAttrs (::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
 
::llvm::LogicalResult verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value dst_index, ::mlir::Value out_cb, ::mlir::Value out_index, ::mlir::BoolAttr out_of_order)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value dst_index, ::mlir::Value out_cb, ::mlir::Value out_index, ::mlir::BoolAttr out_of_order)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value dst_index, ::mlir::Value out_cb, ::mlir::Value out_index, bool out_of_order=false)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value dst_index, ::mlir::Value out_cb, ::mlir::Value out_index, bool out_of_order=false)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 
static void populateDefaultProperties (::mlir::OperationName opName, Properties &properties)
 

Private Member Functions

::mlir::StringAttr getAttributeNameForIndex (unsigned index)
 

Static Private Member Functions

::mlir::StringAttr getAttributeNameForIndex (::mlir::OperationName name, unsigned index)
 

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using mlir::tt::ttkernel::PackTileOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> >

◆ GenericAdaptor

◆ Properties

Member Function Documentation

◆ build() [1/5]

void mlir::tt::ttkernel::PackTileOp::build ( ::mlir::OpBuilder &  ,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::ValueRange  operands,
::llvm::ArrayRef<::mlir::NamedAttribute >  attributes = {} 
)
static

◆ build() [2/5]

void mlir::tt::ttkernel::PackTileOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  dst_index,
::mlir::Value  out_cb,
::mlir::Value  out_index,
::mlir::BoolAttr  out_of_order 
)
static

◆ build() [3/5]

void mlir::tt::ttkernel::PackTileOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  dst_index,
::mlir::Value  out_cb,
::mlir::Value  out_index,
bool  out_of_order = false 
)
static

◆ build() [4/5]

void mlir::tt::ttkernel::PackTileOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Value  dst_index,
::mlir::Value  out_cb,
::mlir::Value  out_index,
::mlir::BoolAttr  out_of_order 
)
static

◆ build() [5/5]

void mlir::tt::ttkernel::PackTileOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Value  dst_index,
::mlir::Value  out_cb,
::mlir::Value  out_index,
bool  out_of_order = false 
)
static

◆ computePropertiesHash()

llvm::hash_code mlir::tt::ttkernel::PackTileOp::computePropertiesHash ( const Properties prop)
static

◆ getAttributeNameForIndex() [1/2]

::mlir::StringAttr mlir::tt::ttkernel::PackTileOp::getAttributeNameForIndex ( ::mlir::OperationName  name,
unsigned  index 
)
inlinestaticprivate

◆ getAttributeNameForIndex() [2/2]

::mlir::StringAttr mlir::tt::ttkernel::PackTileOp::getAttributeNameForIndex ( unsigned  index)
inlineprivate

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef> mlir::tt::ttkernel::PackTileOp::getAttributeNames ( )
inline

◆ getDstIndex()

::mlir::TypedValue<::mlir::Type> mlir::tt::ttkernel::PackTileOp::getDstIndex ( )
inline

◆ getDstIndexMutable()

::mlir::OpOperand& mlir::tt::ttkernel::PackTileOp::getDstIndexMutable ( )
inline

◆ getInherentAttr()

std::optional< mlir::Attribute > mlir::tt::ttkernel::PackTileOp::getInherentAttr ( ::mlir::MLIRContext *  ctx,
const Properties prop,
llvm::StringRef  name 
)
static

◆ getODSOperandIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttkernel::PackTileOp::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

::mlir::Operation::operand_range mlir::tt::ttkernel::PackTileOp::getODSOperands ( unsigned  index)
inline

◆ getODSResultIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttkernel::PackTileOp::getODSResultIndexAndLength ( unsigned  index)
inline

◆ getODSResults()

::mlir::Operation::result_range mlir::tt::ttkernel::PackTileOp::getODSResults ( unsigned  index)
inline

◆ getOperationName()

static constexpr ::llvm::StringLiteral mlir::tt::ttkernel::PackTileOp::getOperationName ( )
inlinestatic

◆ getOutCb()

::mlir::TypedValue<::mlir::tt::ttkernel::CBType> mlir::tt::ttkernel::PackTileOp::getOutCb ( )
inline

◆ getOutCbMutable()

::mlir::OpOperand& mlir::tt::ttkernel::PackTileOp::getOutCbMutable ( )
inline

◆ getOutIndex()

::mlir::TypedValue<::mlir::Type> mlir::tt::ttkernel::PackTileOp::getOutIndex ( )
inline

◆ getOutIndexMutable()

::mlir::OpOperand& mlir::tt::ttkernel::PackTileOp::getOutIndexMutable ( )
inline

◆ getOutOfOrder()

bool mlir::tt::ttkernel::PackTileOp::getOutOfOrder ( )

◆ getOutOfOrderAttr()

::mlir::BoolAttr mlir::tt::ttkernel::PackTileOp::getOutOfOrderAttr ( )
inline

◆ getOutOfOrderAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttkernel::PackTileOp::getOutOfOrderAttrName ( )
inline

◆ getOutOfOrderAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttkernel::PackTileOp::getOutOfOrderAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getPropertiesAsAttr()

mlir::Attribute mlir::tt::ttkernel::PackTileOp::getPropertiesAsAttr ( ::mlir::MLIRContext *  ctx,
const Properties prop 
)
static

◆ populateDefaultProperties()

void mlir::tt::ttkernel::PackTileOp::populateDefaultProperties ( ::mlir::OperationName  opName,
Properties properties 
)
static

◆ populateInherentAttrs()

void mlir::tt::ttkernel::PackTileOp::populateInherentAttrs ( ::mlir::MLIRContext *  ctx,
const Properties prop,
::mlir::NamedAttrList &  attrs 
)
static

◆ readProperties()

llvm::LogicalResult mlir::tt::ttkernel::PackTileOp::readProperties ( ::mlir::DialectBytecodeReader &  reader,
::mlir::OperationState &  state 
)
static

◆ setInherentAttr()

void mlir::tt::ttkernel::PackTileOp::setInherentAttr ( Properties prop,
llvm::StringRef  name,
mlir::Attribute  value 
)
static

◆ setOutOfOrder()

void mlir::tt::ttkernel::PackTileOp::setOutOfOrder ( bool  attrValue)

◆ setOutOfOrderAttr()

void mlir::tt::ttkernel::PackTileOp::setOutOfOrderAttr ( ::mlir::BoolAttr  attr)
inline

◆ setPropertiesFromAttr()

llvm::LogicalResult mlir::tt::ttkernel::PackTileOp::setPropertiesFromAttr ( Properties prop,
::mlir::Attribute  attr,
::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ verifyInherentAttrs()

llvm::LogicalResult mlir::tt::ttkernel::PackTileOp::verifyInherentAttrs ( ::mlir::OperationName  opName,
::mlir::NamedAttrList &  attrs,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ verifyInvariants()

llvm::LogicalResult mlir::tt::ttkernel::PackTileOp::verifyInvariants ( )

◆ verifyInvariantsImpl()

llvm::LogicalResult mlir::tt::ttkernel::PackTileOp::verifyInvariantsImpl ( )

◆ writeProperties()

void mlir::tt::ttkernel::PackTileOp::writeProperties ( ::mlir::DialectBytecodeWriter &  writer)

The documentation for this class was generated from the following files: