A utility class to represent the analyses that are known to be preserved.
More...
#include <AnalysisManager.h>
A utility class to represent the analyses that are known to be preserved.
◆ isAll()
bool mlir::detail::PreservedAnalyses::isAll |
( |
| ) |
const |
|
inline |
Returns true if all analyses were marked preserved.
◆ isNone()
bool mlir::detail::PreservedAnalyses::isNone |
( |
| ) |
const |
|
inline |
Returns true if no analyses were marked preserved.
◆ isPreserved() [1/2]
template<typename AnalysisT >
bool mlir::detail::PreservedAnalyses::isPreserved |
( |
| ) |
const |
|
inline |
Returns if the given analysis has been marked as preserved. Note that this simply checks for the presence of a given analysis ID and should not be used as a general preservation checker.
◆ isPreserved() [2/2]
bool mlir::detail::PreservedAnalyses::isPreserved |
( |
const AnalysisID * |
id | ) |
const |
|
inline |
◆ preserve() [1/3]
template<typename AnalysisT >
void mlir::detail::PreservedAnalyses::preserve |
( |
| ) |
|
|
inline |
Preserve the given analyses.
◆ preserve() [2/3]
template<typename AnalysisT , typename AnalysisT2 , typename... OtherAnalysesT>
void mlir::detail::PreservedAnalyses::preserve |
( |
| ) |
|
|
inline |
◆ preserve() [3/3]
void mlir::detail::PreservedAnalyses::preserve |
( |
const AnalysisID * |
id | ) |
|
|
inline |
◆ preserveAll()
void mlir::detail::PreservedAnalyses::preserveAll |
( |
| ) |
|
|
inline |
Mark all analyses as preserved.
The documentation for this class was generated from the following files: