40 PassPipelineRegistration<>(
41 "llzk-remove-unnecessary-ops",
42 "Remove unnecessary operations, such as redundant reads or repeated constraints",
43 [](OpPassManager &pm) {
49 PassPipelineRegistration<>(
50 "llzk-remove-unnecessary-ops-and-defs",
51 "Remove unnecessary operations, field definitions, and struct definitions",
55 PassPipelineRegistration<FullPolyLoweringOptions>(
56 "llzk-full-poly-lowering",
57 "Lower all polynomial constraints to a given max degree, then remove unnecessary operations "
68 PassPipelineRegistration<>(
69 "llzk-full-r1cs-lowering",
"Lower all polynomial constraints to r1cs", [](OpPassManager &pm) {
80 pm.addPass(mlir::createCSEPass());