|
MLIR 22.0.0git
|
The state for a single execution of a pass. More...
#include "mlir/Pass/Pass.h"
Public Member Functions | |
| PassExecutionState (Operation *ir, AnalysisManager analysisManager, function_ref< LogicalResult(OpPassManager &, Operation *)> pipelineExecutor) | |
Public Attributes | |
| llvm::PointerIntPair< Operation *, 1, bool > | irAndPassFailed |
| The current operation being transformed and a bool for if the pass signaled a failure. | |
| AnalysisManager | analysisManager |
| The analysis manager for the operation. | |
| detail::PreservedAnalyses | preservedAnalyses |
| The set of preserved analyses for the current execution. | |
| function_ref< LogicalResult(OpPassManager &, Operation *)> | pipelineExecutor |
| This is a callback in the PassManager that allows to schedule dynamic pipelines that will be rooted at the provided operation. | |
The state for a single execution of a pass.
This provides a unified interface for accessing and initializing necessary state for pass execution.
|
inline |
Definition at line 27 of file Pass.h.
References analysisManager, false, irAndPassFailed, and pipelineExecutor.
| AnalysisManager mlir::detail::PassExecutionState::analysisManager |
The analysis manager for the operation.
Definition at line 38 of file Pass.h.
Referenced by mlir::Pass::getAnalysisManager(), and PassExecutionState().
The current operation being transformed and a bool for if the pass signaled a failure.
Definition at line 35 of file Pass.h.
Referenced by mlir::Pass::getOperation(), PassExecutionState(), and mlir::Pass::signalPassFailure().
| function_ref<LogicalResult(OpPassManager &, Operation *)> mlir::detail::PassExecutionState::pipelineExecutor |
This is a callback in the PassManager that allows to schedule dynamic pipelines that will be rooted at the provided operation.
Definition at line 45 of file Pass.h.
Referenced by PassExecutionState().
| detail::PreservedAnalyses mlir::detail::PassExecutionState::preservedAnalyses |
The set of preserved analyses for the current execution.
Definition at line 41 of file Pass.h.
Referenced by mlir::Pass::markAllAnalysesPreserved(), mlir::Pass::markAnalysesPreserved(), and mlir::Pass::markAnalysesPreserved().