[llvm-commits] CVS: reopt/include/reopt/TraceToFunction.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Jul 6 21:21:02 PDT 2004
Changes in directory reopt/include/reopt:
TraceToFunction.h updated: 1.15 -> 1.16
---
Log message:
Make LiveIn, LiveOut, and AlternateEntryPoint vectors that exist in
parallel with the sets. The idea is to gradually reduce dependence on
the sets and use the vectors instead.
---
Diffs of the changes: (+3 -0)
Index: reopt/include/reopt/TraceToFunction.h
diff -u reopt/include/reopt/TraceToFunction.h:1.15 reopt/include/reopt/TraceToFunction.h:1.16
--- reopt/include/reopt/TraceToFunction.h:1.15 Wed Jun 23 16:41:33 2004
+++ reopt/include/reopt/TraceToFunction.h Tue Jul 6 21:19:51 2004
@@ -16,6 +16,7 @@
namespace llvm {
typedef std::set<Value *> LiveVariableSet;
+typedef std::vector<Value *> LiveVariableVector;
typedef std::map<const BasicBlock *, BasicBlock *> BasicBlockMap;
typedef std::map<const Value *, Value *> ValueMap;
typedef std::map<const Value *, unsigned int> ValueToIntMap;
@@ -47,10 +48,12 @@
/// Variables live going in to TraceFn from MatrixFn
///
LiveVariableSet LiveInSet;
+ LiveVariableVector LiveInVector;
/// Variables live going out from TraceFn back into MatrixFn
///
LiveVariableSet LiveOutSet;
+ LiveVariableVector LiveOutVector;
/// Constructor - you can't have a TraceFunction without a Trace.
/// This gives you a "blank" TraceFunction without a TraceFn or any
More information about the llvm-commits
mailing list