summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/ProfileInfoTypes.h
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-08-24 18:31:44 +0000
committerManman Ren <mren@apple.com>2012-08-24 18:31:44 +0000
commitcd62c287230a495134ae8c896a9e1f49fc981ba4 (patch)
tree90ee9c269495a3909a9c7aff68c497edc0589214 /include/llvm/Analysis/ProfileInfoTypes.h
parent1a710fdde197b00107ef55df51054925b9a5d2a2 (diff)
downloadllvm-cd62c287230a495134ae8c896a9e1f49fc981ba4.tar.gz
llvm-cd62c287230a495134ae8c896a9e1f49fc981ba4.tar.bz2
llvm-cd62c287230a495134ae8c896a9e1f49fc981ba4.tar.xz
Profile: move a single enum out of ProfileInfoTypes.h into a new
ProfileDataTypes.h header. With this patch the old and new profiling code can exist side-by-side. The new profiling code will be submitted soon and it only supports insert-edge-profiling for now and will not depend on ProfileInfo. Patch by Alastair Murray. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ProfileInfoTypes.h')
-rw-r--r--include/llvm/Analysis/ProfileInfoTypes.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/llvm/Analysis/ProfileInfoTypes.h b/include/llvm/Analysis/ProfileInfoTypes.h
index 6b4ac85082..45aab5b70d 100644
--- a/include/llvm/Analysis/ProfileInfoTypes.h
+++ b/include/llvm/Analysis/ProfileInfoTypes.h
@@ -27,15 +27,7 @@ enum ProfilingStorageType {
ProfilingHash = 2
};
-enum ProfilingType {
- ArgumentInfo = 1, /* The command line argument block */
- FunctionInfo = 2, /* Function profiling information */
- BlockInfo = 3, /* Block profiling information */
- EdgeInfo = 4, /* Edge profiling information */
- PathInfo = 5, /* Path profiling information */
- BBTraceInfo = 6, /* Basic block trace information */
- OptEdgeInfo = 7 /* Edge profiling information, optimal version */
-};
+#include "llvm/Analysis/ProfileDataTypes.h"
/*
* The header for tables that map path numbers to path counters.