MLIR  16.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::detail::PassExecutionState Struct Reference

The state for a single execution of a pass. More...

#include "mlir/Pass/Pass.h"

+ Collaboration diagram for mlir::detail::PassExecutionState:

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...
 

Detailed Description

The state for a single execution of a pass.

This provides a unified interface for accessing and initializing necessary state for pass execution.

Definition at line 25 of file Pass.h.

Constructor & Destructor Documentation

◆ PassExecutionState()

mlir::detail::PassExecutionState::PassExecutionState ( Operation ir,
AnalysisManager  analysisManager,
function_ref< LogicalResult(OpPassManager &, Operation *)>  pipelineExecutor 
)
inline

Definition at line 26 of file Pass.h.

Member Data Documentation

◆ analysisManager

AnalysisManager mlir::detail::PassExecutionState::analysisManager

The analysis manager for the operation.

Definition at line 37 of file Pass.h.

◆ irAndPassFailed

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 34 of file Pass.h.

◆ pipelineExecutor

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 44 of file Pass.h.

◆ preservedAnalyses

detail::PreservedAnalyses mlir::detail::PassExecutionState::preservedAnalyses

The set of preserved analyses for the current execution.

Definition at line 40 of file Pass.h.


The documentation for this struct was generated from the following file: