MLIR 24.0.0git
DLTI.h File Reference
#include "mlir/IR/Attributes.h"
#include "mlir/IR/Dialect.h"
#include "mlir/Interfaces/DataLayoutInterfaces.h"
#include "mlir/Dialect/DLTI/DLTIOpInterfaces.h.inc"
#include "mlir/Dialect/DLTI/DLTIAttrs.h.inc"
#include "mlir/Dialect/DLTI/DLTIDialect.h.inc"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::detail
 AttrTypeReplacer.
namespace  mlir::dlti
namespace  mlir::dlti::detail

Macros

#define GET_ATTRDEF_CLASSES

Functions

FailureOr< Attribute > mlir::dlti::detail::queryDlti (Operation *op, DataLayoutEntryKey key)
LogicalResult mlir::dlti::detail::setDlti (Operation *op, DataLayoutEntryKey key, Attribute value)
FailureOr< Attribute > mlir::dlti::query (Operation *op, ArrayRef< DataLayoutEntryKey > keys, bool emitError=false)
 Query the first key at op or the nearest ancestor that can answer it.
FailureOr< Attribute > mlir::dlti::query (Operation *op, ArrayRef< StringRef > keys, bool emitError=false)
 As above, using each string in keys as a DLTI entry key.

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 46 of file DLTI.h.