[llvm-commits] CVS: reopt/lib/TraceToFunction/TraceToFunction.cpp

Brian Gaeke gaeke at persephone.cs.uiuc.edu
Mon Jun 14 15:59:01 PDT 2004


Changes in directory reopt/lib/TraceToFunction:

TraceToFunction.cpp updated: 1.64 -> 1.65

---
Log message:

Expand head-of-file comment.


---
Diffs of the changes:  (+9 -5)

Index: reopt/lib/TraceToFunction/TraceToFunction.cpp
diff -u reopt/lib/TraceToFunction/TraceToFunction.cpp:1.64 reopt/lib/TraceToFunction/TraceToFunction.cpp:1.65
--- reopt/lib/TraceToFunction/TraceToFunction.cpp:1.64	Mon Jun 14 15:50:12 2004
+++ reopt/lib/TraceToFunction/TraceToFunction.cpp	Mon Jun 14 15:54:45 2004
@@ -8,11 +8,15 @@
 //===----------------------------------------------------------------------===//
 //
 // Repackage traces as functions, so that global (function-level) optimizations
-// can be applied to traces.
-//
-// Potential optimizations:
-// Make it possible to turn off BranchNumber...it is only useful (now) when a
-// human is reading the code.
+// can be applied to traces. This involves identifying and removing the
+// Reoptimizer's first-level instrumentation blocks and computing the trace
+// live-in and live-out sets.
+// 
+// The output of this process is a TraceFunction, which is essentially a
+// Function containing the same code as the Trace, but with some entry and exit
+// fixup code added, along with links to the function that originally contained
+// the trace (the MatrixFn) and information about the trace live-in/out sets, 
+// which values in the MatrixFn correspond to those in the TraceFn, etc.
 //
 //===----------------------------------------------------------------------===//
 





More information about the llvm-commits mailing list