Share ProfilingType enum with the C profiling runtime libraries.
authorBrian Gaeke <gaeke@uiuc.edu>
Tue, 4 May 2004 16:53:07 +0000 (16:53 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Tue, 4 May 2004 16:53:07 +0000 (16:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13346 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ProfileInfoLoader.cpp

index 6c3f0d7bb3792cbea849b439616c029f3e2f36dd..96c3e2c5d685403973a1b9ee5f374a2c756fd267 100644 (file)
 //===----------------------------------------------------------------------===//
 
 #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) {