[llvm-commits] CVS: llvm/include/llvm/Analysis/ProfileInfoTypes.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue May 4 11:58:04 PDT 2004
Changes in directory llvm/include/llvm/Analysis:
ProfileInfoTypes.h added (r1.1)
---
Log message:
New header file containing profile info enums shared between the C++ analysis
libraries and the C runtime support library
---
Diffs of the changes: (+28 -0)
Index: llvm/include/llvm/Analysis/ProfileInfoTypes.h
diff -c /dev/null llvm/include/llvm/Analysis/ProfileInfoTypes.h:1.1
*** /dev/null Tue May 4 11:58:07 2004
--- llvm/include/llvm/Analysis/ProfileInfoTypes.h Tue May 4 11:57:57 2004
***************
*** 0 ****
--- 1,28 ----
+ /*===-- ProfileInfoTypes.h - Profiling info shared constants ------*- C -*-===*\
+ |*
+ |* The LLVM Compiler Infrastructure
+ |*
+ |* This file was developed by the LLVM research group and is distributed under
+ |* the University of Illinois Open Source License. See LICENSE.TXT for details.
+ |*
+ |*===----------------------------------------------------------------------===*|
+ |*
+ |* This file defines constants shared by the various different profiling
+ |* runtime libraries and the LLVM C++ profile info loader. It must be a
+ |* C header because, at present, the profiling runtimes are written in C.
+ |*
+ \*===----------------------------------------------------------------------===*/
+
+ #ifndef LLVM_ANALYSIS_PROFILEINFOTYPES_H
+ #define LLVM_ANALYSIS_PROFILEINFOTYPES_H
+
+ 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 */
+ };
+
+ #endif /* LLVM_ANALYSIS_PROFILEINFOTYPES_H */
More information about the llvm-commits
mailing list