diff options
| author | Quentin Carbonneaux <[email protected]> | 2026-01-13 18:15:01 +0100 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2026-01-13 18:17:35 +0100 |
| commit | e8365dd0a2cb3050b62e9cb263e1a9a09481d76f (patch) | |
| tree | 0ed63c3a0f6c3b47b1bd09fd0d64fc8336118d53 /all.h | |
| parent | c6336557dad1161088c3f60a8045d676fb924ed5 (diff) | |
new simplcfg pass
Useful for ifopt to match more
often. Empty blocks are fused
and conditional jumps on empty
blocks with the same successor
(and no phis in the successor)
are collapsed.
Diffstat (limited to 'all.h')
| -rw-r--r-- | all.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -560,6 +560,7 @@ void simpljmp(Fn *); int reaches(Fn *, Blk *, Blk *); int reachesnotvia(Fn *, Blk *, Blk *, Blk *); int ifgraph(Blk *, Blk **, Blk **, Blk **); +void simplcfg(Fn *); /* mem.c */ void promote(Fn *); |
