aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ProfileInfoLoader.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-05-04 16:53:07 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-05-04 16:53:07 +0000
commit660ef70b6292e69456239f34eaefa81fd18761fb (patch)
treeea2e2ddbecff69f9924c0d9b3b176de22e8b6da0 /lib/Analysis/ProfileInfoLoader.cpp
parentada3c4f8056a1ec28b8de245a5c43fb555b5c196 (diff)
downloadexternal_llvm-660ef70b6292e69456239f34eaefa81fd18761fb.zip
external_llvm-660ef70b6292e69456239f34eaefa81fd18761fb.tar.gz
external_llvm-660ef70b6292e69456239f34eaefa81fd18761fb.tar.bz2
Share ProfilingType enum with the C profiling runtime libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfoLoader.cpp')
-rw-r--r--lib/Analysis/ProfileInfoLoader.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Analysis/ProfileInfoLoader.cpp b/lib/Analysis/ProfileInfoLoader.cpp
index 6c3f0d7..96c3e2c 100644
--- a/lib/Analysis/ProfileInfoLoader.cpp
+++ b/lib/Analysis/ProfileInfoLoader.cpp
@@ -13,19 +13,13 @@
//===----------------------------------------------------------------------===//
#include "llvm/Analysis/ProfileInfoLoader.h"
+#include "llvm/Analysis/ProfileInfoTypes.h"
#include "llvm/Module.h"
#include "llvm/InstrTypes.h"
#include <cstdio>
#include <map>
using namespace llvm;
-enum ProfilingType {
- ArgumentInfo = 1, // The command line argument block
- FunctionInfo = 2, // Function profiling information
- BlockInfo = 3, // Block profiling information
- EdgeInfo = 4, // Edge profiling information
-};
-
// ByteSwap - Byteswap 'Var' if 'Really' is true.
//
static inline unsigned ByteSwap(unsigned Var, bool Really) {