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 | |
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) \ |
Andrew Scull | aa6c109 | 2015-09-03 17:50:30 -0700 | [diff] [blame] | 23 | X(computeLoopNestDepth) \ |
Karl Schimpf | 5845587 | 2014-11-03 11:29:39 -0800 | [diff] [blame] | 24 | X(convertToIce) \ |
| 25 | X(deletePhis) \ |
| 26 | X(doAddressOpt) \ |
| 27 | X(doArgLowering) \ |
| 28 | X(doBranchOpt) \ |
| 29 | X(doNopInsertion) \ |
| 30 | X(emit) \ |
Jan Voung | 72984d8 | 2015-01-29 14:42:38 -0800 | [diff] [blame] | 31 | X(emitGlobalInitializers) \ |
Karl Schimpf | 5845587 | 2014-11-03 11:29:39 -0800 | [diff] [blame] | 32 | X(genCode) \ |
| 33 | X(genFrame) \ |
| 34 | X(initUnhandled) \ |
| 35 | X(linearScan) \ |
| 36 | X(liveRange) \ |
Karl Schimpf | 5845587 | 2014-11-03 11:29:39 -0800 | [diff] [blame] | 37 | X(liveness) \ |
| 38 | X(livenessLightweight) \ |
| 39 | X(llvmConvert) \ |
Jim Stichnoth | a3f57b9 | 2015-07-30 12:46:04 -0700 | [diff] [blame] | 40 | X(lowerPhiAssignments) \ |
Karl Schimpf | 5845587 | 2014-11-03 11:29:39 -0800 | [diff] [blame] | 41 | X(parse) \ |
| 42 | X(parseConstants) \ |
| 43 | X(parseFunctions) \ |
| 44 | X(parseFunctionValuesymtabs) \ |
| 45 | X(parseGlobals) \ |
| 46 | X(parseModule) \ |
| 47 | X(parseModuleValuesymtabs) \ |
| 48 | X(parseTypes) \ |
Jim Stichnoth | 1aca230 | 2015-09-16 11:25:22 -0700 | [diff] [blame] | 49 | X(phiValidation) \ |
Karl Schimpf | 5845587 | 2014-11-03 11:29:39 -0800 | [diff] [blame] | 50 | X(placePhiLoads) \ |
| 51 | X(placePhiStores) \ |
| 52 | X(regAlloc) \ |
| 53 | X(renumberInstructions) \ |
| 54 | X(szmain) \ |
| 55 | X(translate) \ |
| 56 | X(validateLiveness) \ |
Jim Stichnoth | 8363a06 | 2014-10-07 10:02:38 -0700 | [diff] [blame] | 57 | X(vmetadata) |
| 58 | //#define X(tag) |
| 59 | |
Jim Stichnoth | 8363a06 | 2014-10-07 10:02:38 -0700 | [diff] [blame] | 60 | #endif // SUBZERO_SRC_ICETIMERTREE_DEF |