[llvm-commits] CVS: llvm/include/llvm/Analysis/ProfileInfoLoader.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue May 4 12:11:03 PDT 2004
Changes in directory llvm/include/llvm/Analysis:
ProfileInfoLoader.h updated: 1.2 -> 1.3
---
Log message:
Add BBTrace accessor method and data member.
---
Diffs of the changes: (+6 -0)
Index: llvm/include/llvm/Analysis/ProfileInfoLoader.h
diff -u llvm/include/llvm/Analysis/ProfileInfoLoader.h:1.2 llvm/include/llvm/Analysis/ProfileInfoLoader.h:1.3
--- llvm/include/llvm/Analysis/ProfileInfoLoader.h:1.2 Mon Mar 8 12:19:37 2004
+++ llvm/include/llvm/Analysis/ProfileInfoLoader.h Tue May 4 12:11:13 2004
@@ -32,6 +32,7 @@
std::vector<unsigned> FunctionCounts;
std::vector<unsigned> BlockCounts;
std::vector<unsigned> EdgeCounts;
+ std::vector<unsigned> BBTrace;
public:
// ProfileInfoLoader ctor - Read the specified profiling data file, exiting
// the program if the file is invalid or broken.
@@ -76,6 +77,11 @@
//
typedef std::pair<BasicBlock*, unsigned> Edge;
void getEdgeCounts(std::vector<std::pair<Edge, unsigned> > &Counts);
+
+ // getBBTrace - This method is used by consumers of basic-block trace
+ // information.
+ //
+ void getBBTrace(std::vector<BasicBlock *> &Trace);
};
} // End llvm namespace
More information about the llvm-commits
mailing list