diff options
Diffstat (limited to 'include/llvm/Analysis/ProfileInfo.h')
-rw-r--r-- | include/llvm/Analysis/ProfileInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ProfileInfo.h b/include/llvm/Analysis/ProfileInfo.h index 47b437c1b2..7c36975843 100644 --- a/include/llvm/Analysis/ProfileInfo.h +++ b/include/llvm/Analysis/ProfileInfo.h @@ -42,6 +42,12 @@ namespace llvm { // BasicBlock to the entry block to indicate how many times the function was // entered. std::map<Edge, unsigned> EdgeCounts; + + // BlockCounts - Count the number of times a block is executed. + std::map<const BasicBlock*, unsigned> BlockCounts; + + // FunctionCounts - Count the number of times a function is executed. + std::map<const Function*, unsigned> FunctionCounts; public: static char ID; // Class identification, replacement for typeinfo virtual ~ProfileInfo(); // We want to be subclassed |