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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
 
::mlir::StringAttr getOperandSegmentSizesAttrName ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::tt::ttir::SemaphoreTypegetSemaphore ()
 
::mlir::TypedValue<::mlir::IndexType > getValue ()
 
::mlir::Operation::operand_range getDstCoreIndex ()
 
::mlir::Operation::operand_range getMcastShape ()
 
::mlir::OpOperand & getSemaphoreMutable ()
 
::mlir::OpOperand & getValueMutable ()
 
::mlir::MutableOperandRange getDstCoreIndexMutable ()
 
::mlir::MutableOperandRange getMcastShapeMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
void writeProperties (::mlir::DialectBytecodeWriter &writer)
 
::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 getOperandSegmentSizesAttrName (::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, Value semaphore, Value value)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value semaphore, Value value, ValueRange dstCoreIndex)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value semaphore, ::mlir::Value value, ::mlir::ValueRange dstCoreIndex, ::mlir::ValueRange mcastShape)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value semaphore, ::mlir::Value value, ::mlir::ValueRange dstCoreIndex, ::mlir::ValueRange mcastShape)
 
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)
 

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

◆ GenericAdaptor

◆ Properties

Member Function Documentation

◆ build() [1/5]

void mlir::tt::ttir::SemaphoreSetOp::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::SemaphoreSetOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  semaphore,
::mlir::Value  value,
::mlir::ValueRange  dstCoreIndex,
::mlir::ValueRange  mcastShape 
)
static

◆ build() [3/5]

void mlir::tt::ttir::SemaphoreSetOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Value  semaphore,
::mlir::Value  value,
::mlir::ValueRange  dstCoreIndex,
::mlir::ValueRange  mcastShape 
)
static

◆ build() [4/5]

void mlir::tt::ttir::SemaphoreSetOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
Value  semaphore,
Value  value 
)
static

◆ build() [5/5]

void mlir::tt::ttir::SemaphoreSetOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
Value  semaphore,
Value  value,
ValueRange  dstCoreIndex 
)
static

◆ computePropertiesHash()

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

◆ getAttributeNameForIndex() [1/2]

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

◆ getAttributeNameForIndex() [2/2]

::mlir::StringAttr mlir::tt::ttir::SemaphoreSetOp::getAttributeNameForIndex ( unsigned  index)
inlineprivate

◆ getAttributeNames()

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

◆ getDstCoreIndex()

::mlir::Operation::operand_range mlir::tt::ttir::SemaphoreSetOp::getDstCoreIndex ( )
inline

◆ getDstCoreIndexMutable()

mlir::MutableOperandRange mlir::tt::ttir::SemaphoreSetOp::getDstCoreIndexMutable ( )

◆ getEffects()

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

◆ getInherentAttr()

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

◆ getMcastShape()

::mlir::Operation::operand_range mlir::tt::ttir::SemaphoreSetOp::getMcastShape ( )
inline

◆ getMcastShapeMutable()

mlir::MutableOperandRange mlir::tt::ttir::SemaphoreSetOp::getMcastShapeMutable ( )

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

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

◆ getODSResultIndexAndLength()

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

◆ getODSResults()

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

◆ getOperandSegmentSizesAttrName() [1/2]

::mlir::StringAttr mlir::tt::ttir::SemaphoreSetOp::getOperandSegmentSizesAttrName ( )
inline

◆ getOperandSegmentSizesAttrName() [2/2]

::mlir::StringAttr mlir::tt::ttir::SemaphoreSetOp::getOperandSegmentSizesAttrName ( ::mlir::OperationName  name)
inlinestatic

◆ getOperationName()

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

◆ getPropertiesAsAttr()

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

◆ getSemaphore()

::mlir::TypedValue<::mlir::tt::ttir::SemaphoreType> mlir::tt::ttir::SemaphoreSetOp::getSemaphore ( )
inline

◆ getSemaphoreMutable()

::mlir::OpOperand& mlir::tt::ttir::SemaphoreSetOp::getSemaphoreMutable ( )
inline

◆ getValue()

::mlir::TypedValue<::mlir::IndexType> mlir::tt::ttir::SemaphoreSetOp::getValue ( )
inline

◆ getValueMutable()

::mlir::OpOperand& mlir::tt::ttir::SemaphoreSetOp::getValueMutable ( )
inline

◆ parse()

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

◆ populateInherentAttrs()

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

◆ print()

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

◆ readProperties()

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

◆ setInherentAttr()

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

◆ setPropertiesFromAttr()

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

◆ verifyInherentAttrs()

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

◆ verifyInvariants()

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

◆ verifyInvariantsImpl()

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

◆ writeProperties()

void mlir::tt::ttir::SemaphoreSetOp::writeProperties ( ::mlir::DialectBytecodeWriter &  writer)

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