summaryrefslogtreecommitdiff
path: root/src/passes/pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/pass.cpp')
-rw-r--r--src/passes/pass.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp
index 1a517c3d3..8dcc7e417 100644
--- a/src/passes/pass.cpp
+++ b/src/passes/pass.cpp
@@ -169,9 +169,17 @@ void PassRegistry::registerPasses() {
registerPass(
"global-refining", "refine the types of globals", createGlobalRefiningPass);
registerPass(
- "gto", "globally optimize GC types", createGlobalTypeOptimizationPass);
- registerPass(
"gsi", "globally optimize struct values", createGlobalStructInferencePass);
+ registerPass(
+ "gto", "globally optimize GC types", createGlobalTypeOptimizationPass);
+ registerPass("gufa",
+ "Grand Unified Flow Analysis: optimize the entire program using "
+ "information about what content can actually appear in each "
+ "location",
+ createGUFAPass);
+ registerPass("gufa-optimizing",
+ "GUFA plus local optimizations in functions we modified",
+ createGUFAOptimizingPass);
registerPass("type-refining",
"apply more specific subtypes to type fields where possible",
createTypeRefiningPass);