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

Public Types

using Adaptor = EmptyOpAdaptor
 
template<typename RangeT >
using GenericAdaptor = EmptyOpGenericAdaptor< 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)
 
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 ()
 
bool bufferizesToAllocation (::mlir::Value value)
 
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 print (::mlir::OpAsmPrinter &_odsPrinter)
 
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> &effects)
 

Static Public Member Functions

static constexpr ::llvm::StringLiteral getOperationName ()
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ArrayRef< int64_t > shape, Type elementType, Attribute encoding)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ArrayRef< int64_t > shape, Type elementType)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
 

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

◆ GenericAdaptor

template<typename RangeT >
using mlir::tt::ttir::EmptyOp::GenericAdaptor = EmptyOpGenericAdaptor<RangeT>

Member Function Documentation

◆ bufferize()

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

◆ bufferizesToAllocation()

bool mlir::tt::ttir::EmptyOp::bufferizesToAllocation ( ::mlir::Value  value)

◆ bufferizesToMemoryRead()

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

◆ bufferizesToMemoryWrite()

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

◆ build() [1/5]

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

◆ build() [2/5]

void mlir::tt::ttir::EmptyOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result 
)
static

◆ build() [3/5]

void mlir::tt::ttir::EmptyOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes 
)
static

◆ build() [4/5]

void mlir::tt::ttir::EmptyOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
ArrayRef< int64_t >  shape,
Type  elementType 
)
static

◆ build() [5/5]

void mlir::tt::ttir::EmptyOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
ArrayRef< int64_t >  shape,
Type  elementType,
Attribute  encoding 
)
static

◆ getAliasingValues()

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

◆ getAttributeNames()

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

◆ getBufferType()

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

◆ getEffects()

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

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

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

◆ getODSResultIndexAndLength()

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

◆ getODSResults()

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

◆ getOperationName()

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

◆ getResult()

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

◆ parse()

mlir::ParseResult mlir::tt::ttir::EmptyOp::parse ( ::mlir::OpAsmParser &  parser,
::mlir::OperationState &  result 
)
static

◆ print()

void mlir::tt::ttir::EmptyOp::print ( ::mlir::OpAsmPrinter &  _odsPrinter)

◆ verifyInvariants()

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

◆ verifyInvariantsImpl()

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

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