[llvm-commits] CVS: reopt/lib/LightWtProfiling/TraceToFunction.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Oct 30 23:38:01 PST 2003
Changes in directory reopt/lib/LightWtProfiling:
TraceToFunction.cpp updated: 1.11 -> 1.12
---
Log message:
Take out some of the TODOs from the head-of-file comment which have
been superseded.
---
Diffs of the changes: (+5 -9)
Index: reopt/lib/LightWtProfiling/TraceToFunction.cpp
diff -u reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.11 reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.12
--- reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.11 Mon Oct 27 13:13:06 2003
+++ reopt/lib/LightWtProfiling/TraceToFunction.cpp Thu Oct 30 23:36:21 2003
@@ -8,15 +8,11 @@
// allocation information available. Otherwise abort.
// a) Also only let things go into the LiveOut sets which definitely define
// a value (e.g., not "call void ...")
-// 2) For each basic block that exits the trace, we need to keep track of the
-// address that the "ret" instruction would have returned to.
-// a) Use the O2CMap to find, for each Exit BB of the TraceFunction, the
-// corresponding BB of the matrix Function.
-// b) Get its Terminator, which should be a BranchInst having an off-Trace
-// destination, which is a BasicBlock in the matrix Function.
-// c) Use the mapping information (probably BB TO MI MAP) to translate the
-// BasicBlock to a uint64_t address. (Figure out how Anand's code does
-// this.)
+// 2) For each basic block that exits the trace, we need to keep track
+// of the address that the "ret" instruction would have returned to.
+// Use the mapping information (probably BB TO MI MAP) to translate
+// the BasicBlocks in ReturnBlockForTraceExit to a uint64_t
+// address. (Figure out how Anand's code does this.)
// 3) a) Used before defined --> live-in and live-out: dui bu dui?
// b) Live in and not defined by trace --> not live out.
//
More information about the llvm-commits
mailing list