20 isa<DataLayoutOpInterface>(op) &&
21 "HasDefaultDLTIDataLayout trait unexpectedly attached to an op that does "
22 "not implement DataLayoutOpInterface");
28 DLTIDialect::kDataLayoutAttrName);
A data layout specification is a list of entries that specify (partial) data layout information.
Operation is the basic unit of execution within MLIR.
AttrClass getAttrOfType(StringAttr name)
DataLayoutSpecInterface getDataLayoutSpec(Operation *op)
LogicalResult verifyHasDefaultDLTIDataLayoutTrait(Operation *op)
Include the generated interface declarations.
LogicalResult success(bool isSuccess=true)
Utility function to generate a LogicalResult.
This class represents an efficient way to signal success or failure.