summary refs log tree commit diff
path: root/lisc/lisc.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-25 13:02:39 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-25 13:02:44 -0400
commitf3bd48945ee0c3147bd8ed2a6cffbeb447948cf5 (patch)
tree7b8a43bebe3b69a4f8d872b4219b1ad514fab6c8 /lisc/lisc.h
parent08a2ffe8c4711e94ecd7b44952babc28e00a960f (diff)
downloadroux-f3bd48945ee0c3147bd8ed2a6cffbeb447948cf5.tar.gz
add union-find based phi-class computation
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r--lisc/lisc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index c577dea..83994e5 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -226,6 +226,7 @@ struct Tmp {
 	short spill;
 	short wide;
 	int hint;
+	int phi;
 };
 
 struct Con {
@@ -281,6 +282,8 @@ void printfn(Fn *, FILE *);
 /* ssa.c */
 void fillpreds(Fn *);
 void fillrpo(Fn *);
+int phirepr(Tmp *, int);
+void fillphi(Fn *);
 void ssafix(Fn *, int);
 
 /* live.c */