diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-04 17:11:13 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-04 17:11:13 +0000 |
| commit | 9a1b8c73a8ac85b79273adcf224f2ccd57e99fd8 (patch) | |
| tree | 50c1e4d8ca2b754b35f10e4387a8fa64482487e4 | |
| parent | ea309ff082b421dd5ac42c367496f0342db18f0b (diff) | |
| download | bcm5719-llvm-9a1b8c73a8ac85b79273adcf224f2ccd57e99fd8.tar.gz bcm5719-llvm-9a1b8c73a8ac85b79273adcf224f2ccd57e99fd8.zip | |
Add BBTrace accessor method and data member.
llvm-svn: 13351
| -rw-r--r-- | llvm/include/llvm/Analysis/ProfileInfoLoader.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/ProfileInfoLoader.h b/llvm/include/llvm/Analysis/ProfileInfoLoader.h index 33b87d89fb6..8a8958cc730 100644 --- a/llvm/include/llvm/Analysis/ProfileInfoLoader.h +++ b/llvm/include/llvm/Analysis/ProfileInfoLoader.h @@ -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 |

