#include "mlir/IR/DialectInterface.h"
#include "mlir/IR/OpDefinition.h"
#include "llvm/ADT/DenseMap.h"
#include "mlir/Interfaces/DataLayoutAttrInterface.h.inc"
#include "mlir/Interfaces/DataLayoutOpInterface.h.inc"
#include "mlir/Interfaces/DataLayoutTypeInterface.h.inc"
Go to the source code of this file.
|
| mlir |
| Include the generated interface declarations.
|
|
| mlir::detail |
| Detect if any of the given parameter types has a sub-element handler.
|
|
|
unsigned | mlir::detail::getDefaultTypeSize (Type type, const DataLayout &dataLayout, DataLayoutEntryListRef params) |
| Default handler for the type size request. More...
|
|
unsigned | mlir::detail::getDefaultTypeSizeInBits (Type type, const DataLayout &dataLayout, DataLayoutEntryListRef params) |
| Default handler for the type size in bits request. More...
|
|
unsigned | mlir::detail::getDefaultABIAlignment (Type type, const DataLayout &dataLayout, ArrayRef< DataLayoutEntryInterface > params) |
| Default handler for the required alignemnt request. More...
|
|
unsigned | mlir::detail::getDefaultPreferredAlignment (Type type, const DataLayout &dataLayout, ArrayRef< DataLayoutEntryInterface > params) |
| Default handler for the preferred alignemnt request. More...
|
|
DataLayoutEntryList | mlir::detail::filterEntriesForType (DataLayoutEntryListRef entries, TypeID typeID) |
| Given a list of data layout entries, returns a new list containing the entries with keys having the given type ID, i.e. More...
|
|
DataLayoutEntryInterface | mlir::detail::filterEntryForIdentifier (DataLayoutEntryListRef entries, StringAttr id) |
| Given a list of data layout entries, returns the entry that has the given identifier as key, if such an entry exists in the list. More...
|
|
LogicalResult | mlir::detail::verifyDataLayoutOp (Operation *op) |
| Verifies that the operation implementing the data layout interface, or a module operation, is valid. More...
|
|
LogicalResult | mlir::detail::verifyDataLayoutSpec (DataLayoutSpecInterface spec, Location loc) |
| Verifies that a data layout spec is valid. More...
|
|