blob: 8c955c7c538769025f247226f5d3f1e3824d7fde [file] [log] [blame]
Jim Stichnoth8363a062014-10-07 10:02:38 -07001//===- subzero/src/IceTimerTree.def - X-macros for timing -------*- C++ -*-===//
2//
3// The Subzero Code Generator
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file lists predefined timing tags. New tags can be added to
11// avoid a runtime string lookup.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef SUBZERO_SRC_ICETIMERTREE_DEF
Jim Stichnoth380d7b92015-01-30 13:10:39 -080016#define SUBZERO_SRC_ICETIMERTREE_DEF
Jim Stichnoth8363a062014-10-07 10:02:38 -070017
Karl Schimpf58455872014-11-03 11:29:39 -080018#define TIMERTREE_TABLE \
19 /* enum value */ \
20 X(O2) \
21 X(Om1) \
22 X(advancedPhiLowering) \
23 X(convertToIce) \
24 X(deletePhis) \
25 X(doAddressOpt) \
26 X(doArgLowering) \
27 X(doBranchOpt) \
28 X(doNopInsertion) \
29 X(emit) \
Jan Voung72984d82015-01-29 14:42:38 -080030 X(emitGlobalInitializers) \
Karl Schimpf58455872014-11-03 11:29:39 -080031 X(genCode) \
32 X(genFrame) \
33 X(initUnhandled) \
34 X(linearScan) \
35 X(liveRange) \
Karl Schimpf58455872014-11-03 11:29:39 -080036 X(liveness) \
37 X(livenessLightweight) \
38 X(llvmConvert) \
39 X(parse) \
40 X(parseConstants) \
41 X(parseFunctions) \
42 X(parseFunctionValuesymtabs) \
43 X(parseGlobals) \
44 X(parseModule) \
45 X(parseModuleValuesymtabs) \
46 X(parseTypes) \
47 X(placePhiLoads) \
48 X(placePhiStores) \
49 X(regAlloc) \
50 X(renumberInstructions) \
51 X(szmain) \
52 X(translate) \
53 X(validateLiveness) \
Jim Stichnoth8363a062014-10-07 10:02:38 -070054 X(vmetadata)
55//#define X(tag)
56
Jim Stichnoth8363a062014-10-07 10:02:38 -070057#endif // SUBZERO_SRC_ICETIMERTREE_DEF