aboutsummaryrefslogtreecommitdiff
path: root/third_party/subzero/src/IceTimerTree.def
blob: 65da66530df55116bbe34eafb1366f999a7e66d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
//===- subzero/src/IceTimerTree.def - X-macros for timing -------*- C++ -*-===//
//
//                        The Subzero Code Generator
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file lists predefined timing tags. New tags can be added to avoid a
// runtime string lookup.
//
//===----------------------------------------------------------------------===//

#ifndef SUBZERO_SRC_ICETIMERTREE_DEF
#define SUBZERO_SRC_ICETIMERTREE_DEF

#define TIMERTREE_TABLE                                                        \
  /* enum value */                                                             \
  X(O2)                                                                        \
  X(Om1)                                                                       \
  X(advancedPhiLowering)                                                       \
  X(alloca)                                                                    \
  X(computeLoopNestDepth)                                                      \
  X(convertToIce)                                                              \
  X(deletePhis)                                                                \
  X(doAddressOpt)                                                              \
  X(doArgLowering)                                                             \
  X(doBranchOpt)                                                               \
  X(doNopInsertion)                                                            \
  X(emitAsm)                                                                   \
  X(emitGlobalInitializers)                                                    \
  X(findRMW)                                                                   \
  X(floatConstantCse)                                                          \
  X(genCode)                                                                   \
  X(genFrame)                                                                  \
  X(genHelpers)                                                                \
  X(initUnhandled)                                                             \
  X(linearScan)                                                                \
  X(liveRange)                                                                 \
  X(liveness)                                                                  \
  X(livenessLightweight)                                                       \
  X(llvmConvert)                                                               \
  X(loadOpt)                                                                   \
  X(localCse)                                                                  \
  X(loopInvariantCodeMotion)                                                   \
  X(lowerPhiAssignments)                                                       \
  X(materializeVectorShuffles)                                                 \
  X(parse)                                                                     \
  X(parseConstants)                                                            \
  X(parseFunctions)                                                            \
  X(parseFunctionValuesymtabs)                                                 \
  X(parseGlobals)                                                              \
  X(parseModule)                                                               \
  X(parseModuleValuesymtabs)                                                   \
  X(parseTypes)                                                                \
  X(phiValidation)                                                             \
  X(placePhiLoads)                                                             \
  X(placePhiStores)                                                            \
  X(qEmitPop)                                                                  \
  X(qEmitPush)                                                                 \
  X(qTransPop)                                                                 \
  X(qTransPush)                                                                \
  X(regAlloc)                                                                  \
  X(renumberInstructions)                                                      \
  X(shortCircuit)                                                              \
  X(splitGlobalVars)                                                           \
  X(splitLocalVars)                                                            \
  X(szmain)                                                                    \
  X(translate)                                                                 \
  X(translateFunctions)                                                        \
  X(validateLiveness)                                                          \
  X(vmetadata)                                                                 \
  X(wasm)                                                                      \
  X(wasmGenIce)                                                                \
  X(writeELF)
//#define X(tag)

#endif // SUBZERO_SRC_ICETIMERTREE_DEF