]>
Commit | Line | Data |
---|---|---|
2a9a326b AS |
1 | /* This file contains the definitions for timing variables used to |
2 | measure run-time performance of the compiler. | |
3 | Copyright (C) 2000 Free Software Foundation, Inc. | |
4 | Contributed by Alex Samuel <samuel@codesourcery.com> | |
5 | ||
6 | This file is part of GNU CC. | |
7 | ||
8 | GNU CC is free software; you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
10 | the Free Software Foundation; either version 2, or (at your option) | |
11 | any later version. | |
12 | ||
13 | GNU CC is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with GNU CC; see the file COPYING. If not, write to | |
20 | the Free Software Foundation, 59 Temple Place - Suite 330, | |
21 | Boston, MA 02111-1307, USA. */ | |
22 | ||
23 | /* This file contains timing variable definitions, used by timevar.h | |
24 | and timevar.c. | |
25 | ||
26 | Syntax: | |
27 | ||
28 | DEFTIMEVAR (id, name) | |
29 | ||
30 | where ID is the enumeral value used to identify the timing | |
31 | variable, and NAME is a character string describing its purpose. */ | |
32 | ||
33 | /* The total execution time. */ | |
34 | DEFTIMEVAR (TV_TOTAL , "total time") | |
35 | ||
36 | /* Time spent garbage-collecting. */ | |
37 | DEFTIMEVAR (TV_GC , "garbage collection") | |
38 | ||
39 | /* Time spent generating dump files. */ | |
40 | DEFTIMEVAR (TV_DUMP , "dump files") | |
41 | ||
4793dca1 JH |
42 | /* Time spent by constructing CFG. */ |
43 | DEFTIMEVAR (TV_CFG , "cfg construction") | |
44 | /* Time spent by cleaning up CFG. */ | |
45 | DEFTIMEVAR (TV_CLEANUP_CFG , "cfg cleanup") | |
2a9a326b | 46 | /* Timing in various stages of the compiler. */ |
0e5921e8 ZW |
47 | DEFTIMEVAR (TV_CPP , "preprocessing") |
48 | DEFTIMEVAR (TV_LEX , "lexical analysis") | |
2a9a326b | 49 | DEFTIMEVAR (TV_PARSE , "parser") |
ea11ca7e | 50 | DEFTIMEVAR (TV_EXPAND , "expand") |
2a9a326b AS |
51 | DEFTIMEVAR (TV_VARCONST , "varconst") |
52 | DEFTIMEVAR (TV_INTEGRATION , "integration") | |
53 | DEFTIMEVAR (TV_JUMP , "jump") | |
54 | DEFTIMEVAR (TV_CSE , "CSE") | |
55 | DEFTIMEVAR (TV_GCSE , "global CSE") | |
56 | DEFTIMEVAR (TV_LOOP , "loop analysis") | |
57 | DEFTIMEVAR (TV_CSE2 , "CSE 2") | |
58 | DEFTIMEVAR (TV_BRANCH_PROB , "branch prediction") | |
59 | DEFTIMEVAR (TV_FLOW , "flow analysis") | |
60 | DEFTIMEVAR (TV_COMBINE , "combiner") | |
9ec6d7ab | 61 | DEFTIMEVAR (TV_IFCVT , "if-conversion") |
2a9a326b AS |
62 | DEFTIMEVAR (TV_REGMOVE , "regmove") |
63 | DEFTIMEVAR (TV_SCHED , "scheduling") | |
64 | DEFTIMEVAR (TV_LOCAL_ALLOC , "local alloc") | |
65 | DEFTIMEVAR (TV_GLOBAL_ALLOC , "global alloc") | |
66 | DEFTIMEVAR (TV_RELOAD_CSE_REGS , "reload CSE regs") | |
67 | DEFTIMEVAR (TV_FLOW2 , "flow 2") | |
9ec6d7ab | 68 | DEFTIMEVAR (TV_IFCVT2 , "if-conversion 2") |
2a9a326b | 69 | DEFTIMEVAR (TV_PEEPHOLE2 , "peephole 2") |
5fa41e13 SC |
70 | DEFTIMEVAR (TV_RENAME_REGISTERS , "rename registers") |
71 | DEFTIMEVAR (TV_SCHED2 , "scheduling 2") | |
eced69b5 | 72 | DEFTIMEVAR (TV_MACH_DEP , "machine dep reorg") |
2a9a326b AS |
73 | DEFTIMEVAR (TV_DBR_SCHED , "delay branch sched") |
74 | DEFTIMEVAR (TV_REORDER_BLOCKS , "reorder blocks") | |
2a9a326b AS |
75 | DEFTIMEVAR (TV_SHORTEN_BRANCH , "shorten branches") |
76 | DEFTIMEVAR (TV_REG_STACK , "reg stack") | |
77 | DEFTIMEVAR (TV_TO_SSA , "convert to SSA") | |
0b47e4c1 | 78 | DEFTIMEVAR (TV_SSA_CCP , "SSA CCP") |
62d285ff | 79 | DEFTIMEVAR (TV_SSA_DCE , "SSA aggressive DCE") |
2a9a326b AS |
80 | DEFTIMEVAR (TV_FROM_SSA , "convert from SSA") |
81 | DEFTIMEVAR (TV_FINAL , "final") | |
82 | DEFTIMEVAR (TV_SYMOUT , "symout") | |
83 | ||
84 | /* Everything else in rest_of_compilation not included above. */ | |
85 | DEFTIMEVAR (TV_REST_OF_COMPILATION , "rest of compilation") |