aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/optimisations.h
diff options
context:
space:
mode:
authorclean2000-07-12 14:59:46 +0000
committerclean2000-07-12 14:59:46 +0000
commit90461e5831717920426c9c1d7c861a3724f89715 (patch)
tree59d48b852f0adce522157ff7c27e24b759561b0d /backendC/CleanCompilerSources/optimisations.h
parentchanges to avoid bug in module refmark when compiling compiler with itself (diff)
clean 1.3.3 backend again again
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@189 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC/CleanCompilerSources/optimisations.h')
-rw-r--r--backendC/CleanCompilerSources/optimisations.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/optimisations.h b/backendC/CleanCompilerSources/optimisations.h
new file mode 100644
index 0000000..206059d
--- /dev/null
+++ b/backendC/CleanCompilerSources/optimisations.h
@@ -0,0 +1,7 @@
+void OptimiseRules (ImpRules rules,SymbDef start_sdef);
+SymbolP copy_imp_rule_and_type (SymbDef old_sdef);
+void copy_imp_rule_nodes (ImpRuleP old_rule_p,ImpRuleP new_rule_p);
+int optimise_tuple_result_function (Node node,StateS demanded_state);
+void generate_states (struct imp_rule *rules,int do_strictness_analysis);
+StateP state_of_node_or_node_id (NodeP node_p);
+void copy_rhs_node_defs_and_root (RuleAltP old_alt_p,NodeP *new_root_node_h,NodeDefP *node_defs_p);