blob: 65da66530df55116bbe34eafb1366f999a7e66d8 [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
John Portoa47c11c2016-04-21 05:53:42 -070018#define TIMERTREE_TABLE \
19 /* enum value */ \
20 X(O2) \
21 X(Om1) \
22 X(advancedPhiLowering) \
23 X(alloca) \
24 X(computeLoopNestDepth) \
25 X(convertToIce) \
26 X(deletePhis) \
27 X(doAddressOpt) \
28 X(doArgLowering) \
29 X(doBranchOpt) \
30 X(doNopInsertion) \
31 X(emitAsm) \
32 X(emitGlobalInitializers) \
33 X(findRMW) \
Manasij Mukherjee5bcc6ca2016-08-04 14:24:58 -070034 X(floatConstantCse) \
John Portoa47c11c2016-04-21 05:53:42 -070035 X(genCode) \
36 X(genFrame) \
37 X(genHelpers) \
38 X(initUnhandled) \
39 X(linearScan) \
40 X(liveRange) \
41 X(liveness) \
42 X(livenessLightweight) \
43 X(llvmConvert) \
44 X(loadOpt) \
Manasij Mukherjee032c3152016-05-24 14:25:04 -070045 X(localCse) \
Manasij Mukherjeef47d5202016-07-12 16:59:17 -070046 X(loopInvariantCodeMotion) \
John Portoa47c11c2016-04-21 05:53:42 -070047 X(lowerPhiAssignments) \
48 X(materializeVectorShuffles) \
49 X(parse) \
50 X(parseConstants) \
51 X(parseFunctions) \
52 X(parseFunctionValuesymtabs) \
53 X(parseGlobals) \
54 X(parseModule) \
55 X(parseModuleValuesymtabs) \
56 X(parseTypes) \
57 X(phiValidation) \
58 X(placePhiLoads) \
59 X(placePhiStores) \
60 X(qEmitPop) \
61 X(qEmitPush) \
62 X(qTransPop) \
63 X(qTransPush) \
64 X(regAlloc) \
65 X(renumberInstructions) \
Manasij Mukherjee45f51a22016-06-27 16:12:37 -070066 X(shortCircuit) \
Manasij Mukherjee7cd926d2016-08-04 12:33:23 -070067 X(splitGlobalVars) \
Jim Stichnothb9a84722016-08-01 13:18:36 -070068 X(splitLocalVars) \
John Portoa47c11c2016-04-21 05:53:42 -070069 X(szmain) \
70 X(translate) \
71 X(translateFunctions) \
72 X(validateLiveness) \
73 X(vmetadata) \
Eric Holk179a55d2016-05-02 10:42:27 -070074 X(wasm) \
75 X(wasmGenIce) \
Karl Schimpfb6e9b892016-03-08 12:27:12 -080076 X(writeELF)
Jim Stichnoth8363a062014-10-07 10:02:38 -070077//#define X(tag)
78
Jim Stichnoth8363a062014-10-07 10:02:38 -070079#endif // SUBZERO_SRC_ICETIMERTREE_DEF