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

Public Types

using Adaptor = StreamLayoutOpAdaptor
 
template<typename RangeT >
using GenericAdaptor = StreamLayoutOpGenericAdaptor< 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::Type > getInput ()
 
::mlir::TypedValue<::mlir::Type > getStorage ()
 
::mlir::OpOperand & getInputMutable ()
 
::mlir::OpOperand & getStorageMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::mlir::Type > getResult ()
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 
::llvm::LogicalResult verify ()
 
void getAsmResultNames (::mlir::OpAsmSetValueNameFn setNameFn)
 
bool bufferizesToMemoryRead (::mlir::OpOperand &opOperand, const ::mlir::bufferization::AnalysisState &state)
 
bool bufferizesToMemoryWrite (::mlir::OpOperand &opOperand, const ::mlir::bufferization::AnalysisState &state)
 
::mlir::bufferization::AliasingValueList getAliasingValues (::mlir::OpOperand &opOperand, const ::mlir::bufferization::AnalysisState &state)
 
::llvm::LogicalResult bufferize (::mlir::RewriterBase &rewriter, const ::mlir::bufferization::BufferizationOptions &options)
 
::mlir::FailureOr<::mlir::BaseMemRefType > getBufferType (::mlir::Value value, const ::mlir::bufferization::BufferizationOptions &options, ::llvm::SmallVector<::mlir::Value > &invocationStack)
 
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> &effects)
 
MutableOperandRange getDpsInitsMutable ()
 

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::Type result, ::mlir::Value input, ::mlir::Value storage)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input, ::mlir::Value storage)
 
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={})
 
static void getCanonicalizationPatterns (::mlir::RewritePatternSet &results, ::mlir::MLIRContext *context)
 

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

◆ GenericAdaptor

◆ Properties

Member Function Documentation

◆ bufferize()

::llvm::LogicalResult mlir::tt::ttir::StreamLayoutOp::bufferize ( ::mlir::RewriterBase &  rewriter,
const ::mlir::bufferization::BufferizationOptions &  options 
)

◆ bufferizesToMemoryRead()

bool mlir::tt::ttir::StreamLayoutOp::bufferizesToMemoryRead ( ::mlir::OpOperand &  opOperand,
const ::mlir::bufferization::AnalysisState &  state 
)

◆ bufferizesToMemoryWrite()

bool mlir::tt::ttir::StreamLayoutOp::bufferizesToMemoryWrite ( ::mlir::OpOperand &  opOperand,
const ::mlir::bufferization::AnalysisState &  state 
)

◆ build() [1/4]

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

◆ build() [2/4]

void mlir::tt::ttir::StreamLayoutOp::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::ttir::StreamLayoutOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  input,
::mlir::Value  storage 
)
static

◆ build() [4/4]

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

◆ computePropertiesHash()

llvm::hash_code mlir::tt::ttir::StreamLayoutOp::computePropertiesHash ( const Properties prop)
static

◆ getAliasingValues()

::mlir::bufferization::AliasingValueList mlir::tt::ttir::StreamLayoutOp::getAliasingValues ( ::mlir::OpOperand &  opOperand,
const ::mlir::bufferization::AnalysisState &  state 
)

◆ getAsmResultNames()

void mlir::tt::ttir::StreamLayoutOp::getAsmResultNames ( ::mlir::OpAsmSetValueNameFn  setNameFn)

◆ getAttributeNames()

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

◆ getBufferType()

::mlir::FailureOr<::mlir::BaseMemRefType> mlir::tt::ttir::StreamLayoutOp::getBufferType ( ::mlir::Value  value,
const ::mlir::bufferization::BufferizationOptions &  options,
::llvm::SmallVector<::mlir::Value > &  invocationStack 
)

◆ getCanonicalizationPatterns()

static void mlir::tt::ttir::StreamLayoutOp::getCanonicalizationPatterns ( ::mlir::RewritePatternSet &  results,
::mlir::MLIRContext *  context 
)
static

◆ getDpsInitsMutable()

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

◆ getEffects()

void mlir::tt::ttir::StreamLayoutOp::getEffects ( ::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> &  effects)

◆ getInherentAttr()

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

◆ getInput()

::mlir::TypedValue<::mlir::Type> mlir::tt::ttir::StreamLayoutOp::getInput ( )
inline

◆ getInputMutable()

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

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

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

◆ getODSResultIndexAndLength()

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

◆ getODSResults()

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

◆ getOperationName()

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

◆ getPropertiesAsAttr()

mlir::Attribute mlir::tt::ttir::StreamLayoutOp::getPropertiesAsAttr ( ::mlir::MLIRContext *  ctx,
const Properties prop 
)
static

◆ getResult()

::mlir::TypedValue<::mlir::Type> mlir::tt::ttir::StreamLayoutOp::getResult ( )
inline

◆ getStorage()

::mlir::TypedValue<::mlir::Type> mlir::tt::ttir::StreamLayoutOp::getStorage ( )
inline

◆ getStorageMutable()

::mlir::OpOperand& mlir::tt::ttir::StreamLayoutOp::getStorageMutable ( )
inline

◆ populateInherentAttrs()

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

◆ setInherentAttr()

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

◆ setPropertiesFromAttr()

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

◆ verify()

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

◆ verifyInherentAttrs()

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

◆ verifyInvariants()

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

◆ verifyInvariantsImpl()

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

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