llvm-project/mlir/lib/CAPI
Vladislav Vinogradov 37eca08e5b [mlir][NFC] Rename `MemRefType::getMemorySpace` to `getMemorySpaceAsInt`
Just a pure method renaming.

It is a preparation step for replacing "memory space as raw integer"
with more generic "memory space as attribute", which will be done in
separate commit.

The `MemRefType::getMemorySpace` method will return `Attribute` and
become the main API, while `getMemorySpaceAsInt` will be declared as
deprecated and will be replaced in all in-tree dialects (also in separate
commits).

Reviewed By: mehdi_amini, rriddle

Differential Revision: https://reviews.llvm.org/D97476
2021-03-02 11:08:54 +03:00
..
Dialect Fix a few GCC compiler warnings (NFC) 2021-01-19 06:00:04 +00:00
IR [mlir][NFC] Rename `MemRefType::getMemorySpace` to `getMemorySpaceAsInt` 2021-03-02 11:08:54 +03:00
Registration [mlir] avoid exposing mutable DialectRegistry from MLIRContext 2021-02-10 12:07:34 +01:00
Transforms [mlir] NFC: fix trivial typos 2021-01-08 02:10:12 +09:00
CMakeLists.txt [mlir][CAPI] Introduce standard source layout for mlir-c dialect registration. 2021-01-11 12:35:49 -08:00