llvm-project/mlir/lib/Dialect/Bufferization/IR
Matthias Springer faa9be75ee [mlir][bufferize][NFC] Rename DialectAnalysisState and move to OneShotAnalysis
`DialectAnalysisState` is now `OneShotAnalysisState::Extension`.

This state extension mechanism is needed only for One-Shot Analysis, so it is moved from `BufferizableOpInterface.h` to `OneShotAnalysis.h`.

Extensions are now identified via TypeIDs instead of StringRefs. The API of state extensions is cleaned up and follows the same pattern as other extension mechanisms in MLIR (e.g., `transform::TransformState::Extension`).

Also delete some dead code.

Differential Revision: https://reviews.llvm.org/D135051
2022-11-22 14:34:55 +01:00
..
AllocationOpInterface.cpp Revert "Revert "[mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td."" 2021-11-23 10:49:26 +01:00
BufferizableOpInterface.cpp [mlir][bufferize][NFC] Rename DialectAnalysisState and move to OneShotAnalysis 2022-11-22 14:34:55 +01:00
BufferizationDialect.cpp [mlir][bufferization][NFC] Make `escape` a dialect attribute 2022-06-23 19:34:47 +02:00
BufferizationOps.cpp [mlir][bufferization] Support general Attribute as memory space 2022-11-21 09:40:50 -05:00
CMakeLists.txt [MLIR][Transform] Expose map layout option in `OneShotBufferizeOp` 2022-11-14 18:09:54 +01:00