diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-09 17:35:20 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-09 17:35:20 -0500 |
commit | 25d15ca89b167d73d674d7840f7e381674eaa57b (patch) | |
tree | 4a0af606ff63657f204573d77f71b4bc1d1f2a89 /lisc | |
parent | c81ed54562d223ab49be758075291432fe70ac58 (diff) | |
download | roux-25d15ca89b167d73d674d7840f7e381674eaa57b.tar.gz |
modify data-structures for new ssa.c
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/lisc.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index 35113ff..b73b8a0 100644 --- 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 *); |