diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-23 13:26:50 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:04:35 -0700 |
| commit | fe8df476cce241da882b6895b219e082ad3960f2 (patch) | |
| tree | c1d2d6677ed26e25ad8dedfbcbbfa19d9b8d3d19 /flow.h | |
| parent | 34038a899aa290c162229cab3289264961fd1772 (diff) | |
| download | sparse-dev-fe8df476cce241da882b6895b219e082ad3960f2.tar.gz | |
Add initial CSE pass
It ain't very smart yet, but give it time.
In particular, right now it gathers information for the
whole function, but it only does the actual replacement
if the instructions are in the same basic block.
Diffstat (limited to 'flow.h')
| -rw-r--r-- | flow.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,4 +5,7 @@ extern void simplify_symbol_usage(struct entrypoint *ep); extern void simplify_phi_nodes(struct entrypoint *ep); extern void pack_basic_blocks(struct entrypoint *ep); +extern void convert_load_insn(struct instruction *insn, pseudo_t src); +extern void cleanup_and_cse(struct entrypoint *ep); + #endif |
