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

Brian Gaeke gaeke at cs.uiuc.edu
Sun Dec 5 23:02:05 PST 2004



Changes in directory reopt/lib/LightWtProfiling:

SecondTrigger.cpp updated: 1.37 -> 1.38
---
Log message:

Add comment describing firstTriggerAddr map.


---
Diffs of the changes:  (+3 -0)

Index: reopt/lib/LightWtProfiling/SecondTrigger.cpp
diff -u reopt/lib/LightWtProfiling/SecondTrigger.cpp:1.37 reopt/lib/LightWtProfiling/SecondTrigger.cpp:1.38
--- reopt/lib/LightWtProfiling/SecondTrigger.cpp:1.37	Tue Nov  9 15:40:55 2004
+++ reopt/lib/LightWtProfiling/SecondTrigger.cpp	Mon Dec  6 01:01:55 2004
@@ -50,6 +50,9 @@
 // pair counts the number of times a given trace is *not* selected:
 static std::map<uint64_t, std::pair<long, long> > backOffCounters;
 
+// Maps the return addresses of llvm_first_trigger calls to the
+// target of the branch that follows the call. This is sort of like the FLIMap
+// in TraceToFunction.
 std::map<uint64_t, uint64_t> firstTriggerAddr;
 
 static Statistic<unsigned> FoundTraces ("reopt", "Number of traces found");






More information about the llvm-commits mailing list