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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
 
::mlir::StringAttr getIndexAttrName ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::Type > getOperand ()
 
::mlir::OpOperand & getOperandMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::mlir::Type > getResult ()
 
void writeProperties (::mlir::DialectBytecodeWriter &writer)
 
::mlir::IntegerAttr getIndexAttr ()
 
uint32_t getIndex ()
 
void setIndexAttr (::mlir::IntegerAttr attr)
 
void setIndex (uint32_t attrValue)
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 
void print (::mlir::OpAsmPrinter &_odsPrinter)
 
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> &effects)
 

Static Public Member Functions

::mlir::StringAttr getIndexAttrName (::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::Type result, ::mlir::Value operand, ::mlir::IntegerAttr index)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value operand, ::mlir::IntegerAttr index)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value operand, ::mlir::IntegerAttr index)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value operand, uint32_t index)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value operand, uint32_t index)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value operand, uint32_t index)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
 
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
 

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::GetTupleElementOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> >

◆ GenericAdaptor

◆ Properties

Member Function Documentation

◆ build() [1/8]

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

◆ build() [2/8]

void mlir::tt::GetTupleElementOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  operand,
::mlir::IntegerAttr  index 
)
static

◆ build() [3/8]

void mlir::tt::GetTupleElementOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  result,
::mlir::Value  operand,
uint32_t  index 
)
static

◆ build() [4/8]

void mlir::tt::GetTupleElementOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  operand,
::mlir::IntegerAttr  index 
)
static

◆ build() [5/8]

void mlir::tt::GetTupleElementOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  operand,
uint32_t  index 
)
static

◆ build() [6/8]

void mlir::tt::GetTupleElementOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Value  operand,
::mlir::IntegerAttr  index 
)
static

◆ build() [7/8]

void mlir::tt::GetTupleElementOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Value  operand,
uint32_t  index 
)
static

◆ build() [8/8]

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

◆ computePropertiesHash()

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

◆ getAttributeNameForIndex() [1/2]

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

◆ getAttributeNameForIndex() [2/2]

::mlir::StringAttr mlir::tt::GetTupleElementOp::getAttributeNameForIndex ( unsigned  index)
inlineprivate

◆ getAttributeNames()

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

◆ getEffects()

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

◆ getIndex()

uint32_t mlir::tt::GetTupleElementOp::getIndex ( )

◆ getIndexAttr()

::mlir::IntegerAttr mlir::tt::GetTupleElementOp::getIndexAttr ( )
inline

◆ getIndexAttrName() [1/2]

::mlir::StringAttr mlir::tt::GetTupleElementOp::getIndexAttrName ( )
inline

◆ getIndexAttrName() [2/2]

::mlir::StringAttr mlir::tt::GetTupleElementOp::getIndexAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getInherentAttr()

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

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

::mlir::Operation::operand_range mlir::tt::GetTupleElementOp::getODSOperands ( unsigned  index)
inline

◆ getODSResultIndexAndLength()

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

◆ getODSResults()

::mlir::Operation::result_range mlir::tt::GetTupleElementOp::getODSResults ( unsigned  index)
inline

◆ getOperand()

::mlir::TypedValue<::mlir::Type> mlir::tt::GetTupleElementOp::getOperand ( )
inline

◆ getOperandMutable()

::mlir::OpOperand& mlir::tt::GetTupleElementOp::getOperandMutable ( )
inline

◆ getOperationName()

static constexpr ::llvm::StringLiteral mlir::tt::GetTupleElementOp::getOperationName ( )
inlinestatic

◆ getPropertiesAsAttr()

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

◆ getResult()

::mlir::TypedValue<::mlir::Type> mlir::tt::GetTupleElementOp::getResult ( )
inline

◆ inferReturnTypes()

::llvm::LogicalResult mlir::tt::GetTupleElementOp::inferReturnTypes ( ::mlir::MLIRContext *  context,
::std::optional<::mlir::Location >  location,
::mlir::ValueRange  operands,
::mlir::DictionaryAttr  attributes,
::mlir::OpaqueProperties  properties,
::mlir::RegionRange  regions,
::llvm::SmallVectorImpl<::mlir::Type > &  inferredReturnTypes 
)
static

◆ parse()

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

◆ populateInherentAttrs()

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

◆ print()

void mlir::tt::GetTupleElementOp::print ( ::mlir::OpAsmPrinter &  _odsPrinter)

◆ readProperties()

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

◆ setIndex()

void mlir::tt::GetTupleElementOp::setIndex ( uint32_t  attrValue)

◆ setIndexAttr()

void mlir::tt::GetTupleElementOp::setIndexAttr ( ::mlir::IntegerAttr  attr)
inline

◆ setInherentAttr()

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

◆ setPropertiesFromAttr()

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

◆ verifyInherentAttrs()

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

◆ verifyInvariants()

llvm::LogicalResult mlir::tt::GetTupleElementOp::verifyInvariants ( )

◆ verifyInvariantsImpl()

llvm::LogicalResult mlir::tt::GetTupleElementOp::verifyInvariantsImpl ( )

◆ writeProperties()

void mlir::tt::GetTupleElementOp::writeProperties ( ::mlir::DialectBytecodeWriter &  writer)

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