1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Add BBTrace accessor method and data member.

llvm-svn: 13351
This commit is contained in:
Brian Gaeke 2004-05-04 17:11:13 +00:00
parent 6adc20db80
commit e9fab81769

View File

@ -32,6 +32,7 @@ class ProfileInfoLoader {
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 @@ public:
//
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