TT-MLIR
|
Public Types | |
using | Adaptor = DMAOpAdaptor |
template<typename RangeT > | |
using | GenericAdaptor = DMAOpGenericAdaptor< RangeT > |
using | FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > |
using | Properties = FoldAdaptor::Properties |
Public Member Functions | |
static ::llvm::ArrayRef<::llvm::StringRef > | getAttributeNames () |
::mlir::StringAttr | getDstAffineMapAttrName () |
::mlir::StringAttr | getOptNumElemsAttrName () |
::mlir::StringAttr | getSrcAffineMapAttrName () |
::mlir::StringAttr | getOperandSegmentSizesAttrName () |
std::pair< unsigned, unsigned > | getODSOperandIndexAndLength (unsigned index) |
::mlir::Operation::operand_range | getODSOperands (unsigned index) |
::mlir::TypedValue<::mlir::MemRefType > | getSrc () |
::mlir::Operation::operand_range | getSrcIndices () |
::mlir::TypedValue<::mlir::MemRefType > | getDst () |
::mlir::Operation::operand_range | getDstIndices () |
::mlir::Operation::operand_range | getMcastStartIndex () |
::mlir::Operation::operand_range | getMcastShape () |
::mlir::OpOperand & | getSrcMutable () |
::mlir::MutableOperandRange | getSrcIndicesMutable () |
::mlir::OpOperand & | getDstMutable () |
::mlir::MutableOperandRange | getDstIndicesMutable () |
::mlir::MutableOperandRange | getMcastStartIndexMutable () |
::mlir::MutableOperandRange | getMcastShapeMutable () |
std::pair< unsigned, unsigned > | getODSResultIndexAndLength (unsigned index) |
::mlir::Operation::result_range | getODSResults (unsigned index) |
::mlir::TypedValue<::mlir::tt::ttir::MemTxType > | getResult () |
void | writeProperties (::mlir::DialectBytecodeWriter &writer) |
::mlir::AffineMapAttr | getSrcAffineMapAttr () |
::std::optional< ::mlir::AffineMap > | getSrcAffineMap () |
::mlir::AffineMapAttr | getDstAffineMapAttr () |
::std::optional< ::mlir::AffineMap > | getDstAffineMap () |
::mlir::IntegerAttr | getOptNumElemsAttr () |
::std::optional< uint64_t > | getOptNumElems () |
void | setSrcAffineMapAttr (::mlir::AffineMapAttr attr) |
void | setSrcAffineMap (::std::optional<::mlir::AffineMap > attrValue) |
void | setDstAffineMapAttr (::mlir::AffineMapAttr attr) |
void | setDstAffineMap (::std::optional<::mlir::AffineMap > attrValue) |
void | setOptNumElemsAttr (::mlir::IntegerAttr attr) |
void | setOptNumElems (::std::optional< uint64_t > attrValue) |
::mlir::Attribute | removeSrcAffineMapAttr () |
::mlir::Attribute | removeDstAffineMapAttr () |
::mlir::Attribute | removeOptNumElemsAttr () |
::llvm::LogicalResult | verifyInvariantsImpl () |
::llvm::LogicalResult | verifyInvariants () |
::llvm::LogicalResult | verify () |
void | getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> &effects) |
void | getAsmResultNames (::mlir::OpAsmSetValueNameFn setNameFn) |
void | print (::mlir::OpAsmPrinter &_odsPrinter) |
MemRefType | getSrcMemRefType () |
MemRefType | getDstMemRefType () |
int64_t | getNumElems () |
bool | isSrcLocal () |
bool | isSrcRemote () |
bool | isDstLocal () |
bool | isDstRemote () |
bool | isMcast () |
bool | isAffine () |
bool | isFullyIndexed () |
Static Public Member Functions | |
::mlir::StringAttr | getDstAffineMapAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getOptNumElemsAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getSrcAffineMapAttrName (::mlir::OperationName name) |
::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 src, Value dst) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, AffineMapAttr srcAffineMap, Value dst) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, AffineMapAttr srcAffineMap, Value dst, ValueRange mcastStartIndex, ValueRange mcastShape) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, Value dst, AffineMapAttr dstAffineMap) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, ValueRange srcIndices, Value dst) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, ValueRange srcIndices, Value dst, ValueRange mcastStartIndex, ValueRange mcastShape) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, Value dst, ValueRange dstIndices) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, ValueRange srcIndices, Value dst, ValueRange dstIndices) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, ValueRange srcIndices, Value dst, ValueRange dstIndices, ValueRange mcastStartIndex, ValueRange mcastShape) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, ValueRange srcIndices, Value dst, ValueRange dstIndices, size_t numElems) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, Value src, ValueRange srcIndices, Value dst, ValueRange dstIndices, ValueRange mcastStartIndex, ValueRange mcastShape, size_t numElems) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value src, ::mlir::AffineMapAttr srcAffineMap, ::mlir::ValueRange srcIndices, ::mlir::Value dst, ::mlir::AffineMapAttr dstAffineMap, ::mlir::ValueRange dstIndices, ::mlir::IntegerAttr optNumElems, ::mlir::ValueRange mcastStartIndex, ::mlir::ValueRange mcastShape) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value src, ::mlir::AffineMapAttr srcAffineMap, ::mlir::ValueRange srcIndices, ::mlir::Value dst, ::mlir::AffineMapAttr dstAffineMap, ::mlir::ValueRange dstIndices, ::mlir::IntegerAttr optNumElems, ::mlir::ValueRange mcastStartIndex, ::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) |
using mlir::tt::ttir::DMAOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> > |
using mlir::tt::ttir::DMAOp::GenericAdaptor = DMAOpGenericAdaptor<RangeT> |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void mlir::tt::ttir::DMAOp::getAsmResultNames | ( | ::mlir::OpAsmSetValueNameFn | setNameFn | ) |
|
inlinestaticprivate |
|
inlineprivate |
|
inline |
|
inline |
std::optional<::mlir::AffineMap > mlir::tt::ttir::DMAOp::getDstAffineMap | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
mlir::MutableOperandRange mlir::tt::ttir::DMAOp::getDstIndicesMutable | ( | ) |
|
inline |
|
inline |
void mlir::tt::ttir::DMAOp::getEffects | ( | ::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect >> & | effects | ) |
|
static |
|
inline |
mlir::MutableOperandRange mlir::tt::ttir::DMAOp::getMcastShapeMutable | ( | ) |
|
inline |
mlir::MutableOperandRange mlir::tt::ttir::DMAOp::getMcastStartIndexMutable | ( | ) |
int64_t mlir::tt::ttir::DMAOp::getNumElems | ( | ) |
std::pair< unsigned, unsigned > mlir::tt::ttir::DMAOp::getODSOperandIndexAndLength | ( | unsigned | index | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
std::optional< uint64_t > mlir::tt::ttir::DMAOp::getOptNumElems | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
inline |
|
inline |
std::optional<::mlir::AffineMap > mlir::tt::ttir::DMAOp::getSrcAffineMap | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
mlir::MutableOperandRange mlir::tt::ttir::DMAOp::getSrcIndicesMutable | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
void mlir::tt::ttir::DMAOp::print | ( | ::mlir::OpAsmPrinter & | _odsPrinter | ) |
|
static |
|
inline |
|
inline |
|
inline |
void mlir::tt::ttir::DMAOp::setDstAffineMap | ( | ::std::optional<::mlir::AffineMap > | attrValue | ) |
|
inline |
|
static |
void mlir::tt::ttir::DMAOp::setOptNumElems | ( | ::std::optional< uint64_t > | attrValue | ) |
|
inline |
|
static |
void mlir::tt::ttir::DMAOp::setSrcAffineMap | ( | ::std::optional<::mlir::AffineMap > | attrValue | ) |
|
inline |
::llvm::LogicalResult mlir::tt::ttir::DMAOp::verify | ( | ) |
|
static |
llvm::LogicalResult mlir::tt::ttir::DMAOp::verifyInvariants | ( | ) |
llvm::LogicalResult mlir::tt::ttir::DMAOp::verifyInvariantsImpl | ( | ) |
void mlir::tt::ttir::DMAOp::writeProperties | ( | ::mlir::DialectBytecodeWriter & | writer | ) |