Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / contrib / gcc-3.4 / gcc / timevar.def
CommitLineData
003757ed
MD
1/* This file contains the definitions for timing variables used to
2 measure run-time performance of the compiler.
3 Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4 Contributed by Alex Samuel <samuel@codesourcery.com>
5
6 This file is part of GCC.
7
8 GCC 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 GCC 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 GCC; 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. */
34DEFTIMEVAR (TV_TOTAL , "total time")
35
36/* Time spent garbage-collecting. */
37DEFTIMEVAR (TV_GC , "garbage collection")
38
39/* Time spent generating dump files. */
40DEFTIMEVAR (TV_DUMP , "dump files")
41
42DEFTIMEVAR (TV_CGRAPH , "callgraph construction")
43DEFTIMEVAR (TV_CGRAPHOPT , "callgraph optimization")
44/* Time spent by constructing CFG. */
45DEFTIMEVAR (TV_CFG , "cfg construction")
46/* Time spent by cleaning up CFG. */
47DEFTIMEVAR (TV_CLEANUP_CFG , "cfg cleanup")
48DEFTIMEVAR (TV_DELETE_TRIVIALLY_DEAD , "trivially dead code")
49/* Time spent by life analysis. */
50DEFTIMEVAR (TV_LIFE , "life analysis")
51DEFTIMEVAR (TV_LIFE_UPDATE , "life info update")
52
53DEFTIMEVAR (TV_ALIAS_ANALYSIS , "alias analysis")
54DEFTIMEVAR (TV_REG_SCAN , "register scan")
55DEFTIMEVAR (TV_REBUILD_JUMP , "rebuild jump labels")
56/* Timing in various stages of the compiler. */
57DEFTIMEVAR (TV_CPP , "preprocessing")
58DEFTIMEVAR (TV_LEX , "lexical analysis")
59DEFTIMEVAR (TV_PARSE , "parser")
60DEFTIMEVAR (TV_NAME_LOOKUP , "name lookup")
61DEFTIMEVAR (TV_OVERLOAD , "overload resolution")
62DEFTIMEVAR (TV_TEMPLATE_INSTANTIATION, "template instantiation")
63DEFTIMEVAR (TV_EXPAND , "expand")
64DEFTIMEVAR (TV_VARCONST , "varconst")
65DEFTIMEVAR (TV_INTEGRATION , "integration")
66DEFTIMEVAR (TV_JUMP , "jump")
67DEFTIMEVAR (TV_CSE , "CSE")
68DEFTIMEVAR (TV_GCSE , "global CSE")
69DEFTIMEVAR (TV_LOOP , "loop analysis")
70DEFTIMEVAR (TV_BYPASS , "bypass jumps")
71DEFTIMEVAR (TV_TRACER , "tracer")
72DEFTIMEVAR (TV_WEB , "web")
73DEFTIMEVAR (TV_CSE2 , "CSE 2")
74DEFTIMEVAR (TV_BRANCH_PROB , "branch prediction")
75DEFTIMEVAR (TV_VPT , "value profile opts")
76DEFTIMEVAR (TV_FLOW , "flow analysis")
77DEFTIMEVAR (TV_COMBINE , "combiner")
78DEFTIMEVAR (TV_IFCVT , "if-conversion")
79DEFTIMEVAR (TV_REGMOVE , "regmove")
80DEFTIMEVAR (TV_MODE_SWITCH , "mode switching")
81DEFTIMEVAR (TV_SCHED , "scheduling")
82DEFTIMEVAR (TV_LOCAL_ALLOC , "local alloc")
83DEFTIMEVAR (TV_GLOBAL_ALLOC , "global alloc")
84DEFTIMEVAR (TV_RELOAD_CSE_REGS , "reload CSE regs")
85DEFTIMEVAR (TV_FLOW2 , "flow 2")
86DEFTIMEVAR (TV_IFCVT2 , "if-conversion 2")
87DEFTIMEVAR (TV_PEEPHOLE2 , "peephole 2")
88DEFTIMEVAR (TV_RENAME_REGISTERS , "rename registers")
89DEFTIMEVAR (TV_SCHED2 , "scheduling 2")
90DEFTIMEVAR (TV_MACH_DEP , "machine dep reorg")
91DEFTIMEVAR (TV_DBR_SCHED , "delay branch sched")
92DEFTIMEVAR (TV_REORDER_BLOCKS , "reorder blocks")
93DEFTIMEVAR (TV_SHORTEN_BRANCH , "shorten branches")
94DEFTIMEVAR (TV_REG_STACK , "reg stack")
95DEFTIMEVAR (TV_FINAL , "final")
96DEFTIMEVAR (TV_SYMOUT , "symout")
97
98/* Everything else in rest_of_compilation not included above. */
99DEFTIMEVAR (TV_REST_OF_COMPILATION , "rest of compilation")