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 | // |
| 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 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 | |
Karl Schimpf | 5845587 | 2014-11-03 11:29:39 -0800 | [diff] [blame] | 18 | #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 Voung | 72984d8 | 2015-01-29 14:42:38 -0800 | [diff] [blame] | 30 | X(emitGlobalInitializers) \ |
Karl Schimpf | 5845587 | 2014-11-03 11:29:39 -0800 | [diff] [blame] | 31 | X(genCode) \ |
| 32 | X(genFrame) \ |
| 33 | X(initUnhandled) \ |
| 34 | X(linearScan) \ |
| 35 | X(liveRange) \ |
Karl Schimpf | 5845587 | 2014-11-03 11:29:39 -0800 | [diff] [blame] | 36 | 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 Stichnoth | 8363a06 | 2014-10-07 10:02:38 -0700 | [diff] [blame] | 54 | X(vmetadata) |
| 55 | //#define X(tag) |
| 56 | |
Jim Stichnoth | 8363a06 | 2014-10-07 10:02:38 -0700 | [diff] [blame] | 57 | #endif // SUBZERO_SRC_ICETIMERTREE_DEF |