LLVM API Documentation
00001 /*===-- ProfileInfoTypes.h - Profiling info shared constants ------*- C -*-===*\ 00002 |* 00003 |* The LLVM Compiler Infrastructure 00004 |* 00005 |* This file was developed by the LLVM research group and is distributed under 00006 |* the University of Illinois Open Source License. See LICENSE.TXT for details. 00007 |* 00008 |*===----------------------------------------------------------------------===*| 00009 |* 00010 |* This file defines constants shared by the various different profiling 00011 |* runtime libraries and the LLVM C++ profile info loader. It must be a 00012 |* C header because, at present, the profiling runtimes are written in C. 00013 |* 00014 \*===----------------------------------------------------------------------===*/ 00015 00016 #ifndef LLVM_ANALYSIS_PROFILEINFOTYPES_H 00017 #define LLVM_ANALYSIS_PROFILEINFOTYPES_H 00018 00019 enum ProfilingType { 00020 ArgumentInfo = 1, /* The command line argument block */ 00021 FunctionInfo = 2, /* Function profiling information */ 00022 BlockInfo = 3, /* Block profiling information */ 00023 EdgeInfo = 4, /* Edge profiling information */ 00024 PathInfo = 5, /* Path profiling information */ 00025 BBTraceInfo = 6 /* Basic block trace information */ 00026 }; 00027 00028 #endif /* LLVM_ANALYSIS_PROFILEINFOTYPES_H */