Jim Stichnoth | 8363a06 | 2014-10-07 10:02:38 -0700 | [diff] [blame] | 1 | //===- 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 Scull | 57e1268 | 2015-09-16 11:30:19 -0700 | [diff] [blame] | 10 | // This file lists predefined timing tags. New tags can be added to avoid a |
| 11 | // runtime string lookup. |
Jim Stichnoth | 8363a06 | 2014-10-07 10:02:38 -0700 | [diff] [blame] | 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef SUBZERO_SRC_ICETIMERTREE_DEF |
Jim Stichnoth | 380d7b9 | 2015-01-30 13:10:39 -0800 | [diff] [blame] | 16 | #define SUBZERO_SRC_ICETIMERTREE_DEF |
Jim Stichnoth | 8363a06 | 2014-10-07 10:02:38 -0700 | [diff] [blame] | 17 | |
John Porto | a47c11c | 2016-04-21 05:53:42 -0700 | [diff] [blame] | 18 | #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 Mukherjee | 5bcc6ca | 2016-08-04 14:24:58 -0700 | [diff] [blame] | 34 | X(floatConstantCse) \ |
John Porto | a47c11c | 2016-04-21 05:53:42 -0700 | [diff] [blame] | 35 | 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 Mukherjee | 032c315 | 2016-05-24 14:25:04 -0700 | [diff] [blame] | 45 | X(localCse) \ |
Manasij Mukherjee | f47d520 | 2016-07-12 16:59:17 -0700 | [diff] [blame] | 46 | X(loopInvariantCodeMotion) \ |
John Porto | a47c11c | 2016-04-21 05:53:42 -0700 | [diff] [blame] | 47 | 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 Mukherjee | 45f51a2 | 2016-06-27 16:12:37 -0700 | [diff] [blame] | 66 | X(shortCircuit) \ |
Manasij Mukherjee | 7cd926d | 2016-08-04 12:33:23 -0700 | [diff] [blame] | 67 | X(splitGlobalVars) \ |
Jim Stichnoth | b9a8472 | 2016-08-01 13:18:36 -0700 | [diff] [blame] | 68 | X(splitLocalVars) \ |
John Porto | a47c11c | 2016-04-21 05:53:42 -0700 | [diff] [blame] | 69 | X(szmain) \ |
| 70 | X(translate) \ |
| 71 | X(translateFunctions) \ |
| 72 | X(validateLiveness) \ |
| 73 | X(vmetadata) \ |
Eric Holk | 179a55d | 2016-05-02 10:42:27 -0700 | [diff] [blame] | 74 | X(wasm) \ |
| 75 | X(wasmGenIce) \ |
Karl Schimpf | b6e9b89 | 2016-03-08 12:27:12 -0800 | [diff] [blame] | 76 | X(writeELF) |
Jim Stichnoth | 8363a06 | 2014-10-07 10:02:38 -0700 | [diff] [blame] | 77 | //#define X(tag) |
| 78 | |
Jim Stichnoth | 8363a06 | 2014-10-07 10:02:38 -0700 | [diff] [blame] | 79 | #endif // SUBZERO_SRC_ICETIMERTREE_DEF |