From: Brian Gaeke Date: Tue, 4 May 2004 17:11:13 +0000 (+0000) Subject: Add BBTrace accessor method and data member. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7e3f82e6a55b6e7007a08537d4f4a9c780e50fa1;p=oota-llvm.git Add BBTrace accessor method and data member. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13351 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/ProfileInfoLoader.h b/include/llvm/Analysis/ProfileInfoLoader.h index 33b87d89fb6..8a8958cc730 100644 --- a/include/llvm/Analysis/ProfileInfoLoader.h +++ b/include/llvm/Analysis/ProfileInfoLoader.h @@ -32,6 +32,7 @@ class ProfileInfoLoader { std::vector FunctionCounts; std::vector BlockCounts; std::vector EdgeCounts; + std::vector 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 Edge; void getEdgeCounts(std::vector > &Counts); + + // getBBTrace - This method is used by consumers of basic-block trace + // information. + // + void getBBTrace(std::vector &Trace); }; } // End llvm namespace