llvm-capstone/mlir
Matthias Springer 0a8e3dd432
[mlir][Interfaces] DestinationStyleOpInterface: Rename hasTensor/BufferSemantics (#77574)
Rename interface functions as follows:
* `hasTensorSemantics` -> `hasPureTensorSemantics`
* `hasBufferSemantics` -> `hasPureBufferSemantics`

These two functions return "true" if the op has tensor/buffer operands
but not buffer/tensor operands.

Also drop the "ranked" part from the interface, i.e., do not distinguish
between ranked/unranked types.

The new function names describe the functions more accurately. They also
align their semantics with the notion of "tensor semantics" with the
bufferization framework. (An op is supposed to be bufferized if it has
tensor operands, and we don't care if it also has memref operands.)

This change is in preparation of #75273, which adds
`BufferizableOpInterface::hasTensorSemantics`. By renaming the functions
in the `DestinationStyleOpInterface`, we can avoid name clashes between
the two interfaces.
2024-01-12 10:02:54 +01:00
..
benchmark/python [mlir][benchmark] Fix broken benchmark script (#68841) 2023-12-06 12:17:53 +05:30
cmake/modules Revert "[mlir] Consider mlir-linalg-ods-gen as a tablegen tool in build (#75093)" 2024-01-04 02:01:16 +05:00
docs [mlir] Improve GreedyPatternRewriteDriver and pass documentation (#77614) 2024-01-11 11:24:28 +01:00
examples [mlir] add a chapter on matchers to the transform dialect tutorial (#76725) 2024-01-09 13:19:41 +01:00
include [mlir][Interfaces] DestinationStyleOpInterface: Rename hasTensor/BufferSemantics (#77574) 2024-01-12 10:02:54 +01:00
lib [mlir][Interfaces] DestinationStyleOpInterface: Rename hasTensor/BufferSemantics (#77574) 2024-01-12 10:02:54 +01:00
python [mlir][python] add MemRefTypeAttr attr builder (#76371) 2024-01-06 16:42:14 -06:00
test [mlir] Fix linking failure of libMLIRTilingInterfaceTestPasses.dylib (NFC) 2024-01-12 16:06:25 +08:00
tools [mlir][Interfaces] DestinationStyleOpInterface: Rename hasTensor/BufferSemantics (#77574) 2024-01-12 10:02:54 +01:00
unittests [MLIR][Presburger] Implement computation of generating function for unimodular cones (#77235) 2024-01-11 01:28:36 +05:30
utils [emacs] Fix Emacs library formatting (#76110) 2024-01-10 13:14:21 +01:00
.clang-format
.clang-tidy
CMakeLists.txt [mlir] Add config for PDL (#69927) 2024-01-03 20:37:20 -08:00
LICENSE.TXT
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.