MLIR  19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::affine::AffineDmaStartOp Class Reference

AffineDmaStartOp starts a non-blocking DMA operation that transfers data from a source memref to a destination memref. More...

#include "mlir/Dialect/Affine/IR/AffineOps.h"

+ Inheritance diagram for mlir::affine::AffineDmaStartOp:

Public Member Functions

unsigned getSrcMemRefOperandIndex ()
 Returns the operand index of the source memref. More...
 
Value getSrcMemRef ()
 Returns the source MemRefType for this DMA operation. More...
 
MemRefType getSrcMemRefType ()
 
unsigned getSrcMemRefRank ()
 Returns the rank (number of indices) of the source MemRefType. More...
 
AffineMap getSrcMap ()
 Returns the affine map used to access the source memref. More...
 
AffineMapAttr getSrcMapAttr ()
 
operand_range getSrcIndices ()
 Returns the source memref affine map indices for this DMA operation. More...
 
unsigned getSrcMemorySpace ()
 Returns the memory space of the source memref. More...
 
unsigned getDstMemRefOperandIndex ()
 Returns the operand index of the destination memref. More...
 
Value getDstMemRef ()
 Returns the destination MemRefType for this DMA operation. More...
 
MemRefType getDstMemRefType ()
 
unsigned getDstMemRefRank ()
 Returns the rank (number of indices) of the destination MemRefType. More...
 
unsigned getDstMemorySpace ()
 Returns the memory space of the source memref. More...
 
AffineMap getDstMap ()
 Returns the affine map used to access the destination memref. More...
 
AffineMapAttr getDstMapAttr ()
 
operand_range getDstIndices ()
 Returns the destination memref indices for this DMA operation. More...
 
unsigned getTagMemRefOperandIndex ()
 Returns the operand index of the tag memref. More...
 
Value getTagMemRef ()
 Returns the Tag MemRef for this DMA operation. More...
 
MemRefType getTagMemRefType ()
 
unsigned getTagMemRefRank ()
 Returns the rank (number of indices) of the tag MemRefType. More...
 
AffineMap getTagMap ()
 Returns the affine map used to access the tag memref. More...
 
AffineMapAttr getTagMapAttr ()
 
operand_range getTagIndices ()
 Returns the tag memref indices for this DMA operation. More...
 
Value getNumElements ()
 Returns the number of elements being transferred by this DMA operation. More...
 
NamedAttribute getAffineMapAttrForMemRef (Value memref)
 Impelements the AffineMapAccessInterface. More...
 
bool isDestMemorySpaceFaster ()
 Returns true if this is a DMA from a faster memory space to a slower one. More...
 
bool isSrcMemorySpaceFaster ()
 Returns true if this is a DMA from a slower memory space to a faster one. More...
 
unsigned getFasterMemPos ()
 Given a DMA start operation, returns the operand position of either the source or destination memref depending on the one that is at the higher level of the memory hierarchy. More...
 
void getEffects (SmallVectorImpl< SideEffects::EffectInstance< MemoryEffects::Effect >> &effects)
 
void print (OpAsmPrinter &p)
 
LogicalResult verifyInvariantsImpl ()
 
LogicalResult verifyInvariants ()
 
LogicalResult fold (ArrayRef< Attribute > cstOperands, SmallVectorImpl< OpFoldResult > &results)
 
bool isStrided ()
 Returns true if this DMA operation is strided, returns false otherwise. More...
 
Value getStride ()
 Returns the stride value for this DMA operation. More...
 
Value getNumElementsPerStride ()
 Returns the number of elements to transfer per stride for this DMA op. More...
 
 Op ()
 This is a public constructor. Any op can be initialized to null. More...
 
 Op (std::nullptr_t)
 
 Op (Operation *state)
 This is a public constructor to enable access via the llvm::cast family of methods. More...
 
- Public Member Functions inherited from mlir::Op< AffineDmaStartOp, OpTrait::MemRefsNormalizable, OpTrait::VariadicOperands, OpTrait::ZeroResults, OpTrait::OpInvariants, AffineMapAccessInterface::Trait, MemoryEffectOpInterface::Trait >
AffineDmaStartOp clone ()
 Create a deep copy of this operation. More...
 
AffineDmaStartOp cloneWithoutRegions ()
 Create a partial copy of this operation without traversing into attached regions. More...
 
 Op ()
 This is a public constructor. Any op can be initialized to null. More...
 
 Op (std::nullptr_t)
 
 Op (Operation *state)
 This is a public constructor to enable access via the llvm::cast family of methods. More...
 
const void * getAsOpaquePointer () const
 Methods for supporting PointerLikeTypeTraits. More...
 
InferredProperties< T > & getProperties ()
 
OperationgetOperation ()
 Inherit getOperation from OpState. More...
 
LogicalResult verify ()
 If the concrete type didn't implement a custom verifier hook, just fall back to this one which accepts everything. More...
 
LogicalResult verifyRegions ()
 
- Public Member Functions inherited from mlir::OpState
 operator bool ()
 Ops are pointer-like, so we allow conversion to bool. More...
 
 operator Operation * () const
 This implicitly converts to Operation*. More...
 
Operationoperator-> () const
 Shortcut of -> to access a member of Operation. More...
 
OperationgetOperation ()
 Return the operation that this refers to. More...
 
MLIRContextgetContext ()
 Return the context this operation belongs to. More...
 
void print (raw_ostream &os, OpPrintingFlags flags=std::nullopt)
 Print the operation to the given stream. More...
 
void print (raw_ostream &os, AsmState &asmState)
 
void dump ()
 Dump this operation. More...
 
Location getLoc ()
 The source location the operation was defined or derived from. More...
 
bool use_empty ()
 Return true if there are no users of any results of this operation. More...
 
void erase ()
 Remove this operation from its parent block and delete it. More...
 
InFlightDiagnostic emitOpError (const Twine &message={})
 Emit an error with the op name prefixed, like "'dim' op " which is convenient for verifiers. More...
 
InFlightDiagnostic emitError (const Twine &message={})
 Emit an error about fatal conditions with this operation, reporting up to any diagnostic handlers that may be listening. More...
 
InFlightDiagnostic emitWarning (const Twine &message={})
 Emit a warning about this operation, reporting up to any diagnostic handlers that may be listening. More...
 
InFlightDiagnostic emitRemark (const Twine &message={})
 Emit a remark about this operation, reporting up to any diagnostic handlers that may be listening. More...
 
template<WalkOrder Order = WalkOrder::PostOrder, typename Iterator = ForwardIterator, typename FnT , typename RetT = detail::walkResultType<FnT>>
std::enable_if_t< llvm::function_traits< std::decay_t< FnT > >::num_args==1, RetT > walk (FnT &&callback)
 Walk the operation by calling the callback for each nested operation (including this one), block or region, depending on the callback provided. More...
 
template<typename FnT , typename RetT = detail::walkResultType<FnT>>
std::enable_if_t< llvm::function_traits< std::decay_t< FnT > >::num_args==2, RetT > walk (FnT &&callback)
 Generic walker with a stage aware callback. More...
 

Static Public Member Functions

static ArrayRef< StringRef > getAttributeNames ()
 
static void build (OpBuilder &builder, OperationState &result, Value srcMemRef, AffineMap srcMap, ValueRange srcIndices, Value destMemRef, AffineMap dstMap, ValueRange destIndices, Value tagMemRef, AffineMap tagMap, ValueRange tagIndices, Value numElements, Value stride=nullptr, Value elementsPerStride=nullptr)
 
static StringRef getSrcMapAttrStrName ()
 
static StringRef getDstMapAttrStrName ()
 
static StringRef getTagMapAttrStrName ()
 
static StringRef getOperationName ()
 
static ParseResult parse (OpAsmParser &parser, OperationState &result)
 
- Static Public Member Functions inherited from mlir::Op< AffineDmaStartOp, OpTrait::MemRefsNormalizable, OpTrait::VariadicOperands, OpTrait::ZeroResults, OpTrait::OpInvariants, AffineMapAccessInterface::Trait, MemoryEffectOpInterface::Trait >
static constexpr bool hasTrait ()
 Return if this operation contains the provided trait. More...
 
static bool classof (Operation *op)
 Return true if this "op class" can match against the specified operation. More...
 
static std::enable_if_t< std::is_base_of< OpState, T >::value, bool > classof (const T *op)
 Provide classof support for other OpBase derived classes, such as Interfaces. More...
 
static ConcreteOpType getFromOpaquePointer (const void *pointer)
 
static void attachInterface (MLIRContext &context)
 Attach the given models as implementations of the corresponding interfaces for the concrete operation. More...
 
static LogicalResult setPropertiesFromAttr (PropertiesTy &prop, Attribute attr, function_ref< InFlightDiagnostic()> emitError)
 Convert the provided attribute to a property and assigned it to the provided properties. More...
 
static Attribute getPropertiesAsAttr (MLIRContext *ctx, const PropertiesTy &prop)
 Convert the provided properties to an attribute. More...
 
static llvm::hash_code computePropertiesHash (const PropertiesTy &prop)
 Hash the provided properties. More...
 
static constexpr bool hasProperties ()
 Returns true if this operation defines a Properties inner type. More...
 
static void populateDefaultProperties (OperationName opName, InferredProperties< T > &properties)
 This hook populates any unset default attrs when mapped to properties. More...
 
static void printProperties (MLIRContext *ctx, OpAsmPrinter &p, const T &properties, ArrayRef< StringRef > elidedProps={})
 Print the operation properties with names not included within 'elidedProps'. More...
 
static ParseResult parseProperties (OpAsmParser &parser, OperationState &result)
 Parses 'prop-dict' for the operation. More...
 
- Static Public Member Functions inherited from mlir::OpState
static void getCanonicalizationPatterns (RewritePatternSet &results, MLIRContext *context)
 This hook returns any canonicalization pattern rewrites that the operation supports, for use by the canonicalization pass. More...
 
static void populateDefaultAttrs (const OperationName &, NamedAttrList &)
 This hook populates any unset default attrs. More...
 

Additional Inherited Members

- Public Types inherited from mlir::Op< AffineDmaStartOp, OpTrait::MemRefsNormalizable, OpTrait::VariadicOperands, OpTrait::ZeroResults, OpTrait::OpInvariants, AffineMapAccessInterface::Trait, MemoryEffectOpInterface::Trait >
using ConcreteOpType = AffineDmaStartOp
 Expose the type we are instantiated on to template machinery that may want to introspect traits on this operation. More...
 
using InferredProperties = typename PropertiesSelector< T >::type
 
- Protected Member Functions inherited from mlir::OpState
LogicalResult verify ()
 If the concrete type didn't implement a custom verifier hook, just fall back to this one which accepts everything. More...
 
LogicalResult verifyRegions ()
 
 OpState (Operation *state)
 Mutability management is handled by the OpWrapper/OpConstWrapper classes, so we can cast it away here. More...
 
- Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, TraitType >
OperationgetOperation ()
 Return the ultimate Operation being worked on. More...
 
- Static Protected Member Functions inherited from mlir::OpState
static ParseResult parse (OpAsmParser &parser, OperationState &result)
 Parse the custom form of an operation. More...
 
static void print (Operation *op, OpAsmPrinter &p, StringRef defaultDialect)
 Print the operation. More...
 
static ParseResult genericParseProperties (OpAsmParser &parser, Attribute &result)
 Parse properties as a Attribute. More...
 
static void genericPrintProperties (OpAsmPrinter &p, Attribute properties, ArrayRef< StringRef > elidedProps={})
 Print the properties as a Attribute with names not included within 'elidedProps'. More...
 
static void printOpName (Operation *op, OpAsmPrinter &p, StringRef defaultDialect)
 Print an operation name, eliding the dialect prefix if necessary. More...
 
static EmptyPropertiesgetEmptyProperties ()
 For all op which don't have properties, we keep a single instance of EmptyProperties to be used where a reference to a properties is needed: this allow to bind a pointer to the reference without triggering UB. More...
 

Detailed Description

AffineDmaStartOp starts a non-blocking DMA operation that transfers data from a source memref to a destination memref.

The source and destination memref need not be of the same dimensionality, but need to have the same elemental type. The operands include the source and destination memref's each followed by its indices, size of the data transfer in terms of the number of elements (of the elemental type of the memref), a tag memref with its indices, and optionally at the end, a stride and a number_of_elements_per_stride arguments. The tag location is used by an AffineDmaWaitOp to check for completion. The indices of the source memref, destination memref, and the tag memref have the same restrictions as any affine.load/store. In particular, index for each memref dimension must be an affine expression of loop induction variables and symbols. The optional stride arguments should be of 'index' type, and specify a stride for the slower memory space (memory space with a lower memory space id), transferring chunks of number_of_elements_per_stride every stride until num_elements are transferred. Either both or no stride arguments should be specified. The value of 'num_elements' must be a multiple of 'number_of_elements_per_stride'. If the source and destination locations overlap the behavior of this operation is not defined.

Definition at line 90 of file AffineOps.h.

Member Function Documentation

◆ build()

void AffineDmaStartOp::build ( OpBuilder builder,
OperationState result,
Value  srcMemRef,
AffineMap  srcMap,
ValueRange  srcIndices,
Value  destMemRef,
AffineMap  dstMap,
ValueRange  destIndices,
Value  tagMemRef,
AffineMap  tagMap,
ValueRange  tagIndices,
Value  numElements,
Value  stride = nullptr,
Value  elementsPerStride = nullptr 
)
static

◆ fold()

LogicalResult AffineDmaStartOp::fold ( ArrayRef< Attribute cstOperands,
SmallVectorImpl< OpFoldResult > &  results 
)

dma_start(memrefcast) -> dma_start

Definition at line 1697 of file AffineOps.cpp.

References mlir::memref::foldMemRefCast().

◆ getAffineMapAttrForMemRef()

NamedAttribute mlir::affine::AffineDmaStartOp::getAffineMapAttrForMemRef ( Value  memref)
inline

Impelements the AffineMapAccessInterface.

Returns the AffineMapAttr associated with 'memref'.

Definition at line 206 of file AffineOps.h.

References mlir::get(), mlir::OpState::getContext(), getDstMapAttr(), getDstMapAttrStrName(), getDstMemRef(), getSrcMapAttr(), getSrcMapAttrStrName(), getSrcMemRef(), getTagMapAttr(), getTagMapAttrStrName(), and getTagMemRef().

◆ getAttributeNames()

static ArrayRef<StringRef> mlir::affine::AffineDmaStartOp::getAttributeNames ( )
inlinestatic

Definition at line 97 of file AffineOps.h.

◆ getDstIndices()

operand_range mlir::affine::AffineDmaStartOp::getDstIndices ( )
inline

Returns the destination memref indices for this DMA operation.

Definition at line 163 of file AffineOps.h.

References getDstMap(), getDstMemRefOperandIndex(), and mlir::AffineMap::getNumInputs().

◆ getDstMap()

AffineMap mlir::affine::AffineDmaStartOp::getDstMap ( )
inline

Returns the affine map used to access the destination memref.

Definition at line 157 of file AffineOps.h.

References getDstMapAttr().

Referenced by getDstIndices(), and getTagMemRefOperandIndex().

◆ getDstMapAttr()

AffineMapAttr mlir::affine::AffineDmaStartOp::getDstMapAttr ( )
inline

Definition at line 158 of file AffineOps.h.

References getDstMapAttrStrName().

Referenced by getAffineMapAttrForMemRef(), and getDstMap().

◆ getDstMapAttrStrName()

static StringRef mlir::affine::AffineDmaStartOp::getDstMapAttrStrName ( )
inlinestatic

Definition at line 243 of file AffineOps.h.

Referenced by getAffineMapAttrForMemRef(), and getDstMapAttr().

◆ getDstMemorySpace()

unsigned mlir::affine::AffineDmaStartOp::getDstMemorySpace ( )
inline

Returns the memory space of the source memref.

Definition at line 152 of file AffineOps.h.

References getDstMemRef().

Referenced by isDestMemorySpaceFaster(), and isSrcMemorySpaceFaster().

◆ getDstMemRef()

Value mlir::affine::AffineDmaStartOp::getDstMemRef ( )
inline

Returns the destination MemRefType for this DMA operation.

Definition at line 141 of file AffineOps.h.

References getDstMemRefOperandIndex().

Referenced by getAffineMapAttrForMemRef(), getDstMemorySpace(), getDstMemRefRank(), and getDstMemRefType().

◆ getDstMemRefOperandIndex()

unsigned mlir::affine::AffineDmaStartOp::getDstMemRefOperandIndex ( )
inline

Returns the operand index of the destination memref.

Definition at line 136 of file AffineOps.h.

References mlir::AffineMap::getNumInputs(), getSrcMap(), and getSrcMemRefOperandIndex().

Referenced by getDstIndices(), getDstMemRef(), getFasterMemPos(), and getTagMemRefOperandIndex().

◆ getDstMemRefRank()

unsigned mlir::affine::AffineDmaStartOp::getDstMemRefRank ( )
inline

Returns the rank (number of indices) of the destination MemRefType.

Definition at line 147 of file AffineOps.h.

References getDstMemRef().

◆ getDstMemRefType()

MemRefType mlir::affine::AffineDmaStartOp::getDstMemRefType ( )
inline

Definition at line 142 of file AffineOps.h.

References getDstMemRef().

◆ getEffects()

void AffineDmaStartOp::getEffects ( SmallVectorImpl< SideEffects::EffectInstance< MemoryEffects::Effect >> &  effects)

◆ getFasterMemPos()

unsigned mlir::affine::AffineDmaStartOp::getFasterMemPos ( )
inline

Given a DMA start operation, returns the operand position of either the source or destination memref depending on the one that is at the higher level of the memory hierarchy.

Asserts failure if neither is true.

Definition at line 233 of file AffineOps.h.

References getDstMemRefOperandIndex(), isDestMemorySpaceFaster(), and isSrcMemorySpaceFaster().

◆ getNumElements()

Value mlir::affine::AffineDmaStartOp::getNumElements ( )
inline

Returns the number of elements being transferred by this DMA operation.

Definition at line 199 of file AffineOps.h.

References getTagMap(), and getTagMemRefOperandIndex().

◆ getNumElementsPerStride()

Value mlir::affine::AffineDmaStartOp::getNumElementsPerStride ( )
inline

Returns the number of elements to transfer per stride for this DMA op.

Definition at line 268 of file AffineOps.h.

References isStrided().

◆ getOperationName()

static StringRef mlir::affine::AffineDmaStartOp::getOperationName ( )
inlinestatic

Definition at line 246 of file AffineOps.h.

◆ getSrcIndices()

operand_range mlir::affine::AffineDmaStartOp::getSrcIndices ( )
inline

Returns the source memref affine map indices for this DMA operation.

Definition at line 124 of file AffineOps.h.

References mlir::AffineMap::getNumInputs(), getSrcMap(), and getSrcMemRefOperandIndex().

◆ getSrcMap()

AffineMap mlir::affine::AffineDmaStartOp::getSrcMap ( )
inline

Returns the affine map used to access the source memref.

Definition at line 118 of file AffineOps.h.

References getSrcMapAttr().

Referenced by getDstMemRefOperandIndex(), and getSrcIndices().

◆ getSrcMapAttr()

AffineMapAttr mlir::affine::AffineDmaStartOp::getSrcMapAttr ( )
inline

Definition at line 119 of file AffineOps.h.

References getSrcMapAttrStrName().

Referenced by getAffineMapAttrForMemRef(), and getSrcMap().

◆ getSrcMapAttrStrName()

static StringRef mlir::affine::AffineDmaStartOp::getSrcMapAttrStrName ( )
inlinestatic

Definition at line 242 of file AffineOps.h.

Referenced by getAffineMapAttrForMemRef(), and getSrcMapAttr().

◆ getSrcMemorySpace()

unsigned mlir::affine::AffineDmaStartOp::getSrcMemorySpace ( )
inline

Returns the memory space of the source memref.

Definition at line 131 of file AffineOps.h.

References getSrcMemRef().

Referenced by isDestMemorySpaceFaster(), and isSrcMemorySpaceFaster().

◆ getSrcMemRef()

Value mlir::affine::AffineDmaStartOp::getSrcMemRef ( )
inline

Returns the source MemRefType for this DMA operation.

Definition at line 109 of file AffineOps.h.

References getSrcMemRefOperandIndex().

Referenced by getAffineMapAttrForMemRef(), getSrcMemorySpace(), and getSrcMemRefType().

◆ getSrcMemRefOperandIndex()

unsigned mlir::affine::AffineDmaStartOp::getSrcMemRefOperandIndex ( )
inline

Returns the operand index of the source memref.

Definition at line 106 of file AffineOps.h.

Referenced by getDstMemRefOperandIndex(), getSrcIndices(), and getSrcMemRef().

◆ getSrcMemRefRank()

unsigned mlir::affine::AffineDmaStartOp::getSrcMemRefRank ( )
inline

Returns the rank (number of indices) of the source MemRefType.

Definition at line 115 of file AffineOps.h.

References getSrcMemRefType().

◆ getSrcMemRefType()

MemRefType mlir::affine::AffineDmaStartOp::getSrcMemRefType ( )
inline

Definition at line 110 of file AffineOps.h.

References getSrcMemRef().

Referenced by getSrcMemRefRank().

◆ getStride()

Value mlir::affine::AffineDmaStartOp::getStride ( )
inline

Returns the stride value for this DMA operation.

Definition at line 261 of file AffineOps.h.

References isStrided().

◆ getTagIndices()

operand_range mlir::affine::AffineDmaStartOp::getTagIndices ( )
inline

Returns the tag memref indices for this DMA operation.

Definition at line 192 of file AffineOps.h.

References mlir::AffineMap::getNumInputs(), getTagMap(), and getTagMemRefOperandIndex().

Referenced by checkTagMatch().

◆ getTagMap()

AffineMap mlir::affine::AffineDmaStartOp::getTagMap ( )
inline

Returns the affine map used to access the tag memref.

Definition at line 186 of file AffineOps.h.

References getTagMapAttr().

Referenced by getNumElements(), getTagIndices(), and isStrided().

◆ getTagMapAttr()

AffineMapAttr mlir::affine::AffineDmaStartOp::getTagMapAttr ( )
inline

Definition at line 187 of file AffineOps.h.

References getTagMapAttrStrName().

Referenced by getAffineMapAttrForMemRef(), and getTagMap().

◆ getTagMapAttrStrName()

static StringRef mlir::affine::AffineDmaStartOp::getTagMapAttrStrName ( )
inlinestatic

Definition at line 244 of file AffineOps.h.

Referenced by getAffineMapAttrForMemRef(), and getTagMapAttr().

◆ getTagMemRef()

Value mlir::affine::AffineDmaStartOp::getTagMemRef ( )
inline

Returns the Tag MemRef for this DMA operation.

Definition at line 175 of file AffineOps.h.

References getTagMemRefOperandIndex().

Referenced by checkTagMatch(), getAffineMapAttrForMemRef(), getTagMemRefRank(), and getTagMemRefType().

◆ getTagMemRefOperandIndex()

unsigned mlir::affine::AffineDmaStartOp::getTagMemRefOperandIndex ( )
inline

Returns the operand index of the tag memref.

Definition at line 170 of file AffineOps.h.

References getDstMap(), getDstMemRefOperandIndex(), and mlir::AffineMap::getNumInputs().

Referenced by getNumElements(), getTagIndices(), getTagMemRef(), and isStrided().

◆ getTagMemRefRank()

unsigned mlir::affine::AffineDmaStartOp::getTagMemRefRank ( )
inline

Returns the rank (number of indices) of the tag MemRefType.

Definition at line 181 of file AffineOps.h.

References getTagMemRef().

◆ getTagMemRefType()

MemRefType mlir::affine::AffineDmaStartOp::getTagMemRefType ( )
inline

Definition at line 176 of file AffineOps.h.

References getTagMemRef().

◆ isDestMemorySpaceFaster()

bool mlir::affine::AffineDmaStartOp::isDestMemorySpaceFaster ( )
inline

Returns true if this is a DMA from a faster memory space to a slower one.

Definition at line 220 of file AffineOps.h.

References getDstMemorySpace(), and getSrcMemorySpace().

Referenced by getFasterMemPos().

◆ isSrcMemorySpaceFaster()

bool mlir::affine::AffineDmaStartOp::isSrcMemorySpaceFaster ( )
inline

Returns true if this is a DMA from a slower memory space to a faster one.

Definition at line 225 of file AffineOps.h.

References getDstMemorySpace(), and getSrcMemorySpace().

Referenced by getFasterMemPos().

◆ isStrided()

bool mlir::affine::AffineDmaStartOp::isStrided ( )
inline

Returns true if this DMA operation is strided, returns false otherwise.

Definition at line 255 of file AffineOps.h.

References mlir::AffineMap::getNumInputs(), getTagMap(), and getTagMemRefOperandIndex().

Referenced by getNumElementsPerStride(), and getStride().

◆ Op() [1/3]

mlir::Op< ConcreteType, Traits >::Op
inlineexplicit

This is a public constructor. Any op can be initialized to null.

Definition at line 1713 of file OpDefinition.h.

◆ Op() [2/3]

mlir::Op< ConcreteType, Traits >::Op
inlineexplicit

This is a public constructor to enable access via the llvm::cast family of methods.

This should not be used directly.

Definition at line 1718 of file OpDefinition.h.

◆ Op() [3/3]

mlir::Op< ConcreteType, Traits >::Op
inline

Definition at line 1714 of file OpDefinition.h.

◆ parse()

ParseResult AffineDmaStartOp::parse ( OpAsmParser parser,
OperationState result 
)
static

◆ print()

void AffineDmaStartOp::print ( OpAsmPrinter p)

◆ verifyInvariants()

LogicalResult mlir::affine::AffineDmaStartOp::verifyInvariants ( )
inline

Definition at line 250 of file AffineOps.h.

References verifyInvariantsImpl().

◆ verifyInvariantsImpl()

LogicalResult AffineDmaStartOp::verifyInvariantsImpl ( )

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