blob: 6e12219a494e631928a1f77ba8c35f1301ed3709 [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//
Andrew Scull57e12682015-09-16 11:30:19 -070010// This file lists predefined timing tags. New tags can be added to avoid a
11// runtime string lookup.
Jim Stichnoth8363a062014-10-07 10:02:38 -070012//
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) \
Andrew Scullaa6c1092015-09-03 17:50:30 -070023 X(computeLoopNestDepth) \
Karl Schimpf58455872014-11-03 11:29:39 -080024 X(convertToIce) \
25 X(deletePhis) \
26 X(doAddressOpt) \
27 X(doArgLowering) \
28 X(doBranchOpt) \
29 X(doNopInsertion) \
30 X(emit) \
Jan Voung72984d82015-01-29 14:42:38 -080031 X(emitGlobalInitializers) \
Karl Schimpf58455872014-11-03 11:29:39 -080032 X(genCode) \
33 X(genFrame) \
34 X(initUnhandled) \
35 X(linearScan) \
36 X(liveRange) \
Karl Schimpf58455872014-11-03 11:29:39 -080037 X(liveness) \
38 X(livenessLightweight) \
39 X(llvmConvert) \
Jim Stichnotha3f57b92015-07-30 12:46:04 -070040 X(lowerPhiAssignments) \
Karl Schimpf58455872014-11-03 11:29:39 -080041 X(parse) \
42 X(parseConstants) \
43 X(parseFunctions) \
44 X(parseFunctionValuesymtabs) \
45 X(parseGlobals) \
46 X(parseModule) \
47 X(parseModuleValuesymtabs) \
48 X(parseTypes) \
Jim Stichnoth1aca2302015-09-16 11:25:22 -070049 X(phiValidation) \
Karl Schimpf58455872014-11-03 11:29:39 -080050 X(placePhiLoads) \
51 X(placePhiStores) \
52 X(regAlloc) \
53 X(renumberInstructions) \
54 X(szmain) \
55 X(translate) \
56 X(validateLiveness) \
Jim Stichnoth8363a062014-10-07 10:02:38 -070057 X(vmetadata)
58//#define X(tag)
59
Jim Stichnoth8363a062014-10-07 10:02:38 -070060#endif // SUBZERO_SRC_ICETIMERTREE_DEF