#include <PassInstrumentation.h>
PassInstrumentation provides several entry points into the pass manager infrastructure. Instrumentations should be added directly to a PassManager before running a pipeline.
◆ ~PassInstrumentation()
PassInstrumentation::~PassInstrumentation |
( |
| ) |
|
|
pure virtual |
◆ runAfterAnalysis()
virtual void mlir::PassInstrumentation::runAfterAnalysis |
( |
StringRef |
name, |
|
|
AnalysisID * |
id, |
|
|
Operation * |
op |
|
) |
| |
|
inlinevirtual |
A callback to run before an analysis is computed. This function takes the name of the analysis that was computed, its AnalysisID, as well as the current operation being analyzed.
◆ runAfterPass()
virtual void mlir::PassInstrumentation::runAfterPass |
( |
Pass * |
pass, |
|
|
Operation * |
op |
|
) |
| |
|
inlinevirtual |
A callback to run after a pass is successfully executed. This function takes a pointer to the pass to be executed, as well as the current operation being operated on.
◆ runAfterPassFailed()
virtual void mlir::PassInstrumentation::runAfterPassFailed |
( |
Pass * |
pass, |
|
|
Operation * |
op |
|
) |
| |
|
inlinevirtual |
A callback to run when a pass execution fails. This function takes a pointer to the pass that was being executed, as well as the current operation being operated on. Note that the operation may be in an invalid state.
◆ runAfterPipeline()
A callback to run after a pass pipeline has executed. This function takes the name of the operation type being operated on, and information related to the parent that spawned this pipeline.
◆ runBeforeAnalysis()
virtual void mlir::PassInstrumentation::runBeforeAnalysis |
( |
StringRef |
name, |
|
|
AnalysisID * |
id, |
|
|
Operation * |
op |
|
) |
| |
|
inlinevirtual |
A callback to run before an analysis is computed. This function takes the name of the analysis to be computed, its AnalysisID, as well as the current operation being analyzed.
◆ runBeforePass()
virtual void mlir::PassInstrumentation::runBeforePass |
( |
Pass * |
pass, |
|
|
Operation * |
op |
|
) |
| |
|
inlinevirtual |
A callback to run before a pass is executed. This function takes a pointer to the pass to be executed, as well as the current operation being operated on.
◆ runBeforePipeline()
A callback to run before a pass pipeline is executed. This function takes the name of the operation type being operated on, and information related to the parent that spawned this pipeline.
The documentation for this class was generated from the following files: