llvm-project/mlir/lib/Interfaces
Alex Zinenko 3ba14fa0ce [mlir] Introduce data layout modeling subsystem
Data layout information allows to answer questions about the size and alignment
properties of a type. It enables, among others, the generation of various
linear memory addressing schemes for containers of abstract types and deeper
reasoning about vectors. This introduces the subsystem for modeling data
layouts in MLIR.

The data layout subsystem is designed to scale to MLIR's open type and
operation system. At the top level, it consists of attribute interfaces that
can be implemented by concrete data layout specifications; type interfaces that
should be implemented by types subject to data layout; operation interfaces
that must be implemented by operations that can serve as data layout scopes
(e.g., modules); and dialect interfaces for data layout properties unrelated to
specific types. Built-in types are handled specially to decrease the overall
query cost.

A concrete default implementation of these interfaces is provided in the new
Target dialect. Defaults for built-in types that match the current behavior are
also provided.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D97067
2021-03-11 16:54:47 +01:00
..
CMakeLists.txt [mlir] Introduce data layout modeling subsystem 2021-03-11 16:54:47 +01:00
CallInterfaces.cpp [mlir] Update SCCP and the Inliner to use SymbolTableCollection for symbol lookups 2020-10-16 12:08:48 -07:00
CastInterfaces.cpp [mlir] Add an interface for Cast-Like operations 2021-01-20 16:28:17 -08:00
ControlFlowInterfaces.cpp [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h 2020-12-03 18:02:10 -08:00
CopyOpInterface.cpp [mlir] Add redundant copy removal transform 2020-07-03 15:36:25 +02:00
DataLayoutInterfaces.cpp [mlir] Introduce data layout modeling subsystem 2021-03-11 16:54:47 +01:00
DerivedAttributeOpInterface.cpp [mlir] Add derived attribute op interface 2020-03-12 10:32:24 -07:00
InferTypeOpInterface.cpp [mlir] Print more verbose message in case of type inference error 2021-02-02 18:27:30 +00:00
LoopLikeInterface.cpp [mlir][NFC] Move the LoopLike interface out of Transforms/ and into Interfaces/ 2020-03-14 13:37:56 -07:00
SideEffectInterfaces.cpp [mlir][IR] Remove the concept of `OperationProperties` 2021-02-09 12:00:15 -08:00
VectorInterfaces.cpp [mlir] NFC: fix trivial typos 2020-10-29 04:05:22 +09:00
ViewLikeInterface.cpp [mlir] Add custom directive hooks for printing mixed integer or value operands. 2021-02-01 19:03:49 -08:00