llvm.org GIT mirror llvm / cd62c28
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 Manman Ren 8 years ago
2 changed file(s) with 2 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
2626 ProfilingHash = 2
2727 };
2828
29 enum ProfilingType {
30 ArgumentInfo = 1, /* The command line argument block */
31 FunctionInfo = 2, /* Function profiling information */
32 BlockInfo = 3, /* Block profiling information */
33 EdgeInfo = 4, /* Edge profiling information */
34 PathInfo = 5, /* Path profiling information */
35 BBTraceInfo = 6, /* Basic block trace information */
36 OptEdgeInfo = 7 /* Edge profiling information, optimal version */
37 };
29 #include "llvm/Analysis/ProfileDataTypes.h"
3830
3931 /*
4032 * The header for tables that map path numbers to path counters.
1414 #ifndef PROFILING_H
1515 #define PROFILING_H
1616
17 #include "llvm/Analysis/ProfileInfoTypes.h" /* for enum ProfilingType */
17 #include "llvm/Analysis/ProfileDataTypes.h" /* for enum ProfilingType */
1818
1919 /* save_arguments - Save argc and argv as passed into the program for the file
2020 * we output.