diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-16 16:29:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:04:33 -0700 |
| commit | 1a5c1064ecea281f42400bdaf809b8841474af37 (patch) | |
| tree | 5fe192881a4a35c19131d42024a3e146ab24d3e3 /linearize.h | |
| parent | 54d8de05ad9bb147b3634658017affa3ebbe4fb7 (diff) | |
| download | sparse-dev-1a5c1064ecea281f42400bdaf809b8841474af37.tar.gz | |
Move flow analysis out of "linearize.c" and into new "flow.c"
Small files are good. Now "linearize" really just contains the
code that does a straightforward linearization of the tree, and
flow.c contains the stuff that tries to analyse the result.
Diffstat (limited to 'linearize.h')
| -rw-r--r-- | linearize.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linearize.h b/linearize.h index 77723872..b6d8c6a6 100644 --- a/linearize.h +++ b/linearize.h @@ -233,6 +233,10 @@ struct entrypoint { struct basic_block *entry; }; +struct phi* alloc_phi(struct basic_block *source, pseudo_t pseudo); +pseudo_t alloc_pseudo(struct instruction *def); +pseudo_t value_pseudo(long long val); + struct entrypoint *linearize_symbol(struct symbol *sym); void show_entry(struct entrypoint *ep); |
