diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-27 23:06:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:05:07 -0700 |
commit | 63949df837a8e55f573e70cd995e0163df9d63d1 (patch) | |
tree | a131650da260ff43fc3f39d10224774999084d03 /flow.h | |
parent | Add "memop" simplification phase. (diff) | |
download | sparse-63949df837a8e55f573e70cd995e0163df9d63d1.tar.gz sparse-63949df837a8e55f573e70cd995e0163df9d63d1.tar.bz2 sparse-63949df837a8e55f573e70cd995e0163df9d63d1.zip |
Expose the "trivial common parent" logic that we use for phi
node re-writing.
We'll want to do it for CSE too.
Diffstat (limited to 'flow.h')
-rw-r--r-- | flow.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,4 +25,7 @@ int dominates(pseudo_t pseudo, struct instruction *insn, struct instruction *dom extern void track_pseudo_usage(struct entrypoint *ep); +extern struct basic_block *trivial_common_parent(struct basic_block *, pseudo_t, + struct basic_block *, pseudo_t); + #endif |