aboutsummaryrefslogtreecommitdiff
path: root/flow.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-25 22:32:23 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:57 -0700
commit01ae1c2449677ef308af0b14e9aa8fa72eb88f1d (patch)
tree2e10532fc8e6de5d5f64117eaa461831b2ae43e9 /flow.h
parentClean up OP_STORE kill, and remove the use of the data. (diff)
downloadsparse-01ae1c2449677ef308af0b14e9aa8fa72eb88f1d.tar.gz
sparse-01ae1c2449677ef308af0b14e9aa8fa72eb88f1d.tar.bz2
sparse-01ae1c2449677ef308af0b14e9aa8fa72eb88f1d.zip
Make the CSE "repeat" logic be more fine-grained than just
repeating CSE itself. In particular, some symbol address simplifications imply that we should repeat symbol simplification, since things may have improved.
Diffstat (limited to 'flow.h')
-rw-r--r--flow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/flow.h b/flow.h
index 479c2d6..18ccbd4 100644
--- a/flow.h
+++ b/flow.h
@@ -3,6 +3,9 @@
extern unsigned long bb_generation;
+#define REPEAT_CSE 1
+#define REPEAT_SYMBOL_CLEANUP 2
+
extern void simplify_symbol_usage(struct entrypoint *ep);
extern void simplify_flow(struct entrypoint *ep);
extern void pack_basic_blocks(struct entrypoint *ep);