1 /*===-- ProfileInfoTypes.h - Profiling info shared constants --------------===*\
3 |* The LLVM Compiler Infrastructure
5 |* This file is distributed under the University of Illinois Open Source
6 |* License. See LICENSE.TXT for details.
8 |*===----------------------------------------------------------------------===*|
10 |* This file defines constants shared by the various different profiling
11 |* runtime libraries and the LLVM C++ profile info loader. It must be a
12 |* C header because, at present, the profiling runtimes are written in C.
14 \*===----------------------------------------------------------------------===*/
16 #ifndef LLVM_ANALYSIS_PROFILEINFOTYPES_H
17 #define LLVM_ANALYSIS_PROFILEINFOTYPES_H
19 /* Included by libprofile. */
20 #if defined(__cplusplus)
24 /* IDs to distinguish between those path counters stored in hashses vs arrays */
25 enum ProfilingStorageType {
30 #include "llvm/Analysis/ProfileDataTypes.h"
33 * The header for tables that map path numbers to path counters.
36 unsigned fnNumber; /* function number for these counters */
37 unsigned numEntries; /* number of entries stored */
41 * Describes an entry in a tagged table for path counters.
46 } PathProfileTableEntry;
48 #if defined(__cplusplus)
52 #endif /* LLVM_ANALYSIS_PROFILEINFOTYPES_H */