#include <IntervalAnalysis.h>
Definition at line 466 of file IntervalAnalysis.h.
◆ ~StructIntervalAnalysis()
virtual llzk::StructIntervalAnalysis::~StructIntervalAnalysis |
( |
| ) |
|
|
virtualdefault |
◆ runAnalysis()
mlir::LogicalResult llzk::StructIntervalAnalysis::runAnalysis |
( |
mlir::DataFlowSolver & | solver, |
|
|
mlir::AnalysisManager & | moduleAnalysisManager, |
|
|
IntervalAnalysisContext & | ctx ) |
|
inlineoverridevirtual |
Perform the analysis and construct the Result
output.
- Parameters
-
solver | The pre-configured dataflow solver. This solver should already have a liveness analysis run, otherwise this analysis may be a no-op. |
moduleAnalysisManager | The analysis manager of the top-level module. By giving the struct analysis a reference to the module's analysis manager, we can query analyses of other structs by querying for a child analysis. Otherwise, a struct's analysis manager cannot query for the analyses of other operations unless they are nested within the struct. |
ctx | The Context given to the analysis. This is presumed to have been created by the StructAnalysis's parent ModuleAnalysis. |
- Returns
mlir::success()
if the analysis ran without errors, and a mlir::failure()
otherwise.
Implements llzk::StructAnalysis< StructIntervals, IntervalAnalysisContext >.
Definition at line 471 of file IntervalAnalysis.h.
◆ StructAnalysis()
The documentation for this class was generated from the following file: