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

Classes

struct  CompoundComponents
 

Public Types

using Adaptor = ToLayoutOpAdaptor
 
template<typename RangeT >
using GenericAdaptor = ToLayoutOpGenericAdaptor< RangeT >
 
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > >
 

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::RankedTensorType > getInput ()
 
::mlir::TypedValue<::mlir::RankedTensorType > getOutput ()
 
::mlir::OpOperand & getInputMutable ()
 
::mlir::OpOperand & getOutputMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::mlir::RankedTensorType > getResult ()
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 
::llvm::LogicalResult verify ()
 
MutableOperandRange getDpsInitsMutable ()
 
ArrayAttr getOperandConstraints ()
 
CompoundComponents compoundComponents ()
 

Static Public Member Functions

static constexpr ::llvm::StringLiteral getOperationName ()
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input, ::mlir::Value output)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value output)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using mlir::tt::ttir::ToLayoutOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> >

◆ GenericAdaptor

template<typename RangeT >
using mlir::tt::ttir::ToLayoutOp::GenericAdaptor = ToLayoutOpGenericAdaptor<RangeT>

Member Function Documentation

◆ build() [1/3]

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

◆ build() [2/3]

void mlir::tt::ttir::ToLayoutOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  input,
::mlir::Value  output 
)
static

◆ build() [3/3]

void mlir::tt::ttir::ToLayoutOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  input,
::mlir::Value  output 
)
static

◆ compoundComponents()

CompoundComponents mlir::tt::ttir::ToLayoutOp::compoundComponents ( )

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef> mlir::tt::ttir::ToLayoutOp::getAttributeNames ( )
inline

◆ getDpsInitsMutable()

MutableOperandRange mlir::tt::ttir::ToLayoutOp::getDpsInitsMutable ( )
inline

◆ getInput()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttir::ToLayoutOp::getInput ( )
inline

◆ getInputMutable()

::mlir::OpOperand& mlir::tt::ttir::ToLayoutOp::getInputMutable ( )
inline

◆ getODSOperandIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttir::ToLayoutOp::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

::mlir::Operation::operand_range mlir::tt::ttir::ToLayoutOp::getODSOperands ( unsigned  index)
inline

◆ getODSResultIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttir::ToLayoutOp::getODSResultIndexAndLength ( unsigned  index)
inline

◆ getODSResults()

::mlir::Operation::result_range mlir::tt::ttir::ToLayoutOp::getODSResults ( unsigned  index)
inline

◆ getOperandConstraints()

ArrayAttr mlir::tt::ttir::ToLayoutOp::getOperandConstraints ( )
inline

◆ getOperationName()

static constexpr ::llvm::StringLiteral mlir::tt::ttir::ToLayoutOp::getOperationName ( )
inlinestatic

◆ getOutput()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttir::ToLayoutOp::getOutput ( )
inline

◆ getOutputMutable()

::mlir::OpOperand& mlir::tt::ttir::ToLayoutOp::getOutputMutable ( )
inline

◆ getResult()

::mlir::TypedValue<::mlir::RankedTensorType> mlir::tt::ttir::ToLayoutOp::getResult ( )
inline

◆ verify()

::llvm::LogicalResult mlir::tt::ttir::ToLayoutOp::verify ( )

◆ verifyInvariants()

llvm::LogicalResult mlir::tt::ttir::ToLayoutOp::verifyInvariants ( )

◆ verifyInvariantsImpl()

llvm::LogicalResult mlir::tt::ttir::ToLayoutOp::verifyInvariantsImpl ( )

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