[mlir][bufferize][NFC] OneShotAnalysis: Expose analysis hooks from AnalysisState
authorMatthias Springer <springerm@google.com>
Wed, 8 Feb 2023 08:22:48 +0000 (09:22 +0100)
committerMatthias Springer <springerm@google.com>
Wed, 8 Feb 2023 08:28:08 +0000 (09:28 +0100)
commit6d14b11018b4dc89692daee01ab0b5d9fa93ad0f
treea4ed44ae7460960f95ac5ad5647be8dfd9c25a56
parentb37e35979ad569c052b31c7b9e543cca49346cdc
[mlir][bufferize][NFC] OneShotAnalysis: Expose analysis hooks from AnalysisState

This is in preparation of reusing the same AnalysisState for tensor.empty elimination and One-Shot Bufferize (to address performance bottlenecks).

Differential Revision: https://reviews.llvm.org/D143379
mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h
mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp