diff options
author | Matthias Springer <springerm@google.com> | 2022-11-22 14:29:47 +0100 |
---|---|---|
committer | Matthias Springer <springerm@google.com> | 2022-11-22 14:34:55 +0100 |
commit | faa9be75ee9bfefa6a435f6570997ec3dd3657a3 (patch) | |
tree | 8fb739713ca0953bf2ec1088e1afb122c586cccb /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | cdfb65e5e7182a02005b3611aa28288890b9e296 (diff) | |
download | llvm-faa9be75ee9bfefa6a435f6570997ec3dd3657a3.zip llvm-faa9be75ee9bfefa6a435f6570997ec3dd3657a3.tar.gz llvm-faa9be75ee9bfefa6a435f6570997ec3dd3657a3.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions