MLIR
18.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... | |
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 | |
![]() | |
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 37 of file Traits.h.
References mlir::impl::getDataLayoutSpec(), and mlir::OpTrait::TraitBase< ConcreteOp, HasDefaultDLTIDataLayout >::getOperation().
|
inlinestatic |