summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
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
commit34c13fbe9465236e392af471f2aa0ed7fe7aa901 (patch)
tree32ab5a0be29ba3ff3ef190b210b186046d5b6d24 /llvm/lib/Analysis
parent495d9340e9a8289b179e58c2d3b43c329c3ca3b3 (diff)
downloadbcm5719-llvm-34c13fbe9465236e392af471f2aa0ed7fe7aa901.tar.gz
bcm5719-llvm-34c13fbe9465236e392af471f2aa0ed7fe7aa901.zip
Share ProfilingType enum with the C profiling runtime libraries.
llvm-svn: 13346
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/ProfileInfoLoader.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoader.cpp b/llvm/lib/Analysis/ProfileInfoLoader.cpp
index 6c3f0d7bb37..96c3e2c5d68 100644
--- a/llvm/lib/Analysis/ProfileInfoLoader.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud