qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 25d15ca89b167d73d674d7840f7e381674eaa57b
parent c81ed54562d223ab49be758075291432fe70ac58
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Mon,  9 Nov 2015 17:35:20 -0500

modify data-structures for new ssa.c

Diffstat:
Mlisc/lisc.h | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lisc/lisc.h b/lisc/lisc.h @@ -232,6 +232,12 @@ struct Blk { int id; int visit; + + Blk *idom; + Blk *dom, *dlink; + Blk **fron; + int nfron; + Blk **pred; uint npred; Bits in, out, gen; @@ -351,7 +357,7 @@ void printfn(Fn *, FILE *); /* ssa.c */ void fillpreds(Fn *); void fillrpo(Fn *); -void ssafix(Fn *, int); +void ssa(Fn *); /* live.c */ Bits liveon(Blk *, Blk *);