|
LLZK 2.0.0
An open-source IR for Zero Knowledge (ZK) circuits
|
A module-level analysis for constructing ConstraintDependencyGraph objects for all structs in the given LLZK module. More...
#include <ConstraintDependencyGraph.h>
Public Member Functions | |
| ConstraintDependencyGraphModuleAnalysis (mlir::Operation *op) | |
| ~ConstraintDependencyGraphModuleAnalysis () override=default | |
| void | setIntraprocedural (bool runIntraprocedural) |
| Public Member Functions inherited from llzk::ModuleAnalysis< ConstraintDependencyGraph, CDGAnalysisContext, ConstraintDependencyGraphStructAnalysis > | |
| ModuleAnalysis (mlir::Operation *op, const mlir::DataFlowConfig &config=mlir::DataFlowConfig()) | |
| Asserts that the analysis is being run on a ModuleOp. | |
| virtual | ~ModuleAnalysis ()=default |
| virtual void | runAnalysis (mlir::AnalysisManager &am) |
| Run the StructAnalysisTy struct analysis on all child structs. | |
| void | ensureAnalysisRun (mlir::AnalysisManager &am) |
| Runs the analysis if the results do not already exist. | |
| bool | constructed () const |
| Check if the results of this analysis have been created for the currently available context. | |
| bool | hasResult (component::StructDefOp op) const |
| Checks if op has a result contained in the current result map. | |
| const ConstraintDependencyGraph & | getResult (component::StructDefOp op) const |
| Asserts that op has a result and returns it. | |
| const StructResults & | getCurrentResults () const |
| Get the results for the current context. | |
| mlir::DataFlowSolver & | getSolver () |
Protected Member Functions | |
| void | initializeSolver () override |
| Initialize the shared dataflow solver with any common analyses required by the contained struct analyses. | |
| const CDGAnalysisContext & | getContext () const override |
| Return the current Context object. | |
| Protected Member Functions inherited from llzk::ModuleAnalysis< ConstraintDependencyGraph, CDGAnalysisContext, ConstraintDependencyGraphStructAnalysis > | |
| void | constructChildAnalyses (mlir::AnalysisManager &am) |
| Construct and run the StructAnalysisTy analyses on each StructDefOp contained in the ModuleOp that is being subjected to this analysis. | |
Additional Inherited Members | |
| Protected Attributes inherited from llzk::ModuleAnalysis< ConstraintDependencyGraph, CDGAnalysisContext, ConstraintDependencyGraphStructAnalysis > | |
| mlir::DataFlowSolver | solver |
A module-level analysis for constructing ConstraintDependencyGraph objects for all structs in the given LLZK module.
Definition at line 251 of file ConstraintDependencyGraph.h.
|
inline |
Definition at line 259 of file ConstraintDependencyGraph.h.
|
overridedefault |
|
inlineoverrideprotectedvirtual |
Return the current Context object.
The context contains parameters that configure or pass information to the analysis.
Definition at line 271 of file ConstraintDependencyGraph.h.
|
inlineoverrideprotectedvirtual |
Initialize the shared dataflow solver with any common analyses required by the contained struct analyses.
| solver |
Definition at line 269 of file ConstraintDependencyGraph.h.
|
inline |
Definition at line 264 of file ConstraintDependencyGraph.h.