MLIR
20.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. More... | |
AnalysisManager | analysisManager |
The analysis manager for the operation. More... | |
detail::PreservedAnalyses | preservedAnalyses |
The set of preserved analyses for the current execution. More... | |
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. More... | |
The state for a single execution of a pass.
This provides a unified interface for accessing and initializing necessary state for pass execution.
|
inline |
AnalysisManager mlir::detail::PassExecutionState::analysisManager |
The analysis manager for the operation.
Definition at line 38 of file Pass.h.
Referenced by mlir::Pass::getAnalysisManager().
llvm::PointerIntPair<Operation *, 1, bool> mlir::detail::PassExecutionState::irAndPassFailed |
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(), 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.
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(), and mlir::Pass::markAnalysesPreserved().