13#ifndef MLIR_DIALECT_DLTI_DLTI_H
14#define MLIR_DIALECT_DLTI_DLTI_H
44#include "mlir/Dialect/DLTI/DLTIOpInterfaces.h.inc"
46#define GET_ATTRDEF_CLASSES
47#include "mlir/Dialect/DLTI/DLTIAttrs.h.inc"
48#include "mlir/Dialect/DLTI/DLTIDialect.h.inc"
Attributes are known-constant values of operations.
Operation is the basic unit of execution within MLIR.
LogicalResult setDlti(Operation *op, DataLayoutEntryKey key, Attribute value)
FailureOr< Attribute > queryDlti(Operation *op, DataLayoutEntryKey key)
FailureOr< Attribute > query(Operation *op, ArrayRef< DataLayoutEntryKey > keys, bool emitError=false)
Query the first key at op or the nearest ancestor that can answer it.
Include the generated interface declarations.
llvm::PointerUnion< Type, StringAttr > DataLayoutEntryKey
InFlightDiagnostic emitError(Location loc)
Utility method to emit an error message using this location.