MLIR
20.0.0git
|
Trait to be used by operations willing to use the implementation of the data layout interfaces provided by the Target dialect. More...
#include "mlir/Dialect/DLTI/Traits.h"
Public Member Functions | |
DataLayoutSpecInterface | getDataLayoutSpec () |
Returns the data layout specification as provided by the Target dialect specification attribute. More... | |
TargetSystemSpecInterface | getTargetSystemSpec () |
Returns the target system description specification as provided by DLTI dialect. More... | |
Static Public Member Functions | |
static LogicalResult | verifyTrait (Operation *op) |
Verifies that the operation to which this trait is attached is valid for the trait, i.e., that it implements the data layout operation interface. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteOp, HasDefaultDLTIDataLayout > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
Trait to be used by operations willing to use the implementation of the data layout interfaces provided by the Target dialect.
|
inline |
Returns the data layout specification as provided by the Target dialect specification attribute.
Definition at line 38 of file Traits.h.
References mlir::impl::getDataLayoutSpec(), and mlir::OpTrait::TraitBase< ConcreteOp, HasDefaultDLTIDataLayout >::getOperation().
|
inline |
Returns the target system description specification as provided by DLTI dialect.
Definition at line 44 of file Traits.h.
References mlir::OpTrait::TraitBase< ConcreteOp, HasDefaultDLTIDataLayout >::getOperation(), and mlir::impl::getTargetSystemSpec().
|
inlinestatic |
Verifies that the operation to which this trait is attached is valid for the trait, i.e., that it implements the data layout operation interface.
Definition at line 32 of file Traits.h.
References mlir::impl::verifyHasDefaultDLTIDataLayoutTrait().