aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/flow.h
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-27 12:11:41 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:06 -0700
commit8ce4e40bb9079182fed94c2ec434af3a6bf6d04f (patch)
treedc484e2fe3a77e4d12bc3498f5124d0ee1b6f24e /flow.h
parent2c3d706dc9f83397584eb76f728d3d8e6fae6a78 (diff)
downloadsparse-dev-8ce4e40bb9079182fed94c2ec434af3a6bf6d04f.tar.gz
Expose "dominates()" function for memop domination checking.
And rename the argument.
Diffstat (limited to 'flow.h')
-rw-r--r--flow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/flow.h b/flow.h
index 5472c32b..5772ce63 100644
--- a/flow.h
+++ b/flow.h
@@ -20,6 +20,7 @@ extern void kill_instruction(struct instruction *);
void convert_load_instruction(struct instruction *, pseudo_t);
void rewrite_load_instruction(struct instruction *, struct pseudo_list *);
+int dominates(pseudo_t pseudo, struct instruction *insn, struct instruction *dom, int local);
extern void track_pseudo_usage(struct entrypoint *ep);