From f3bd48945ee0c3147bd8ed2a6cffbeb447948cf5 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 25 Sep 2015 13:02:39 -0400 Subject: add union-find based phi-class computation --- lisc/lisc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisc/lisc.h') 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 */ -- cgit 1.4.1