9 #ifndef MLIR_DIALECT_DLTI_TRAITS_H
10 #define MLIR_DIALECT_DLTI_TRAITS_H
16 class DataLayoutSpecAttr;
26 template <
typename ConcreteOp>
Trait to be used by operations willing to use the implementation of the data layout interfaces provid...
TargetSystemSpecInterface getTargetSystemSpec()
Returns the target system description specification as provided by DLTI dialect.
static LogicalResult verifyTrait(Operation *op)
Verifies that the operation to which this trait is attached is valid for the trait,...
DataLayoutSpecInterface getDataLayoutSpec()
Returns the data layout specification as provided by the Target dialect specification attribute.
Helper class for implementing traits.
Operation * getOperation()
Return the ultimate Operation being worked on.
Operation is the basic unit of execution within MLIR.
DataLayoutSpecInterface getDataLayoutSpec(Operation *op)
TargetSystemSpecInterface getTargetSystemSpec(Operation *op)
LogicalResult verifyHasDefaultDLTIDataLayoutTrait(Operation *op)
Include the generated interface declarations.