add union-find based phi-class computation

This commit is contained in:
Quentin Carbonneaux 2015-09-25 13:02:39 -04:00
parent 08a2ffe8c4
commit f3bd48945e
3 changed files with 51 additions and 0 deletions

View file

@ -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 */