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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::tt::ttkernel::CBTypegetCbIn ()
 
::mlir::TypedValue<::mlir::IntegerType > getNumTiles ()
 
::mlir::TypedValue<::mlir::tt::ttkernel::CBTypegetCbOut ()
 
::mlir::OpOperand & getCbInMutable ()
 
::mlir::OpOperand & getNumTilesMutable ()
 
::mlir::OpOperand & getCbOutMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 
::llvm::LogicalResult verify ()
 

Static Public Member Functions

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)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value cbIn, ::mlir::Value numTiles, ::mlir::Value cbOut)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value cbIn, ::mlir::Value numTiles, ::mlir::Value cbOut)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
 

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

◆ GenericAdaptor

◆ Properties

Member Function Documentation

◆ build() [1/4]

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

◆ build() [2/4]

void mlir::tt::ttkernel::TilizeInitOp::build ( ::mlir::OpBuilder &  ,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::ValueRange  operands,
const Properties properties,
::llvm::ArrayRef<::mlir::NamedAttribute >  discardableAttributes = {} 
)
static

◆ build() [3/4]

void mlir::tt::ttkernel::TilizeInitOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  cbIn,
::mlir::Value  numTiles,
::mlir::Value  cbOut 
)
static

◆ build() [4/4]

void mlir::tt::ttkernel::TilizeInitOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Value  cbIn,
::mlir::Value  numTiles,
::mlir::Value  cbOut 
)
static

◆ computePropertiesHash()

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

◆ getAttributeNames()

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

◆ getCbIn()

::mlir::TypedValue<::mlir::tt::ttkernel::CBType> mlir::tt::ttkernel::TilizeInitOp::getCbIn ( )
inline

◆ getCbInMutable()

::mlir::OpOperand& mlir::tt::ttkernel::TilizeInitOp::getCbInMutable ( )
inline

◆ getCbOut()

::mlir::TypedValue<::mlir::tt::ttkernel::CBType> mlir::tt::ttkernel::TilizeInitOp::getCbOut ( )
inline

◆ getCbOutMutable()

::mlir::OpOperand& mlir::tt::ttkernel::TilizeInitOp::getCbOutMutable ( )
inline

◆ getInherentAttr()

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

◆ getNumTiles()

::mlir::TypedValue<::mlir::IntegerType> mlir::tt::ttkernel::TilizeInitOp::getNumTiles ( )
inline

◆ getNumTilesMutable()

::mlir::OpOperand& mlir::tt::ttkernel::TilizeInitOp::getNumTilesMutable ( )
inline

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

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

◆ getODSResultIndexAndLength()

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

◆ getODSResults()

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

◆ getOperationName()

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

◆ getPropertiesAsAttr()

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

◆ populateInherentAttrs()

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

◆ setInherentAttr()

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

◆ setPropertiesFromAttr()

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

◆ verify()

::llvm::LogicalResult mlir::tt::ttkernel::TilizeInitOp::verify ( )

◆ verifyInherentAttrs()

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

◆ verifyInvariants()

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

◆ verifyInvariantsImpl()

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

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