| OLD | NEW |
| 1 //===- subzero/src/IceCfgNode.h - Control flow graph node -------*- C++ -*-===// | 1 //===- subzero/src/IceCfgNode.h - Control flow graph node -------*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 /// | 9 /// |
| 10 /// \file | 10 /// \file |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 /// \name Manage predecessors and successors. | 83 /// \name Manage predecessors and successors. |
| 84 /// @{ | 84 /// @{ |
| 85 | 85 |
| 86 /// Add a predecessor edge to the InEdges list for each of this | 86 /// Add a predecessor edge to the InEdges list for each of this |
| 87 /// node's successors. | 87 /// node's successors. |
| 88 void computePredecessors(); | 88 void computePredecessors(); |
| 89 void computeSuccessors(); | 89 void computeSuccessors(); |
| 90 CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex); | 90 CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex); |
| 91 /// @} | 91 /// @} |
| 92 | 92 |
| 93 void validatePhis(); |
| 93 void placePhiLoads(); | 94 void placePhiLoads(); |
| 94 void placePhiStores(); | 95 void placePhiStores(); |
| 95 void deletePhis(); | 96 void deletePhis(); |
| 96 void advancedPhiLowering(); | 97 void advancedPhiLowering(); |
| 97 void doAddressOpt(); | 98 void doAddressOpt(); |
| 98 void doNopInsertion(RandomNumberGenerator &RNG); | 99 void doNopInsertion(RandomNumberGenerator &RNG); |
| 99 void genCode(); | 100 void genCode(); |
| 100 void livenessLightweight(); | 101 void livenessLightweight(); |
| 101 bool liveness(Liveness *Liveness); | 102 bool liveness(Liveness *Liveness); |
| 102 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum, | 103 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 123 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate | 124 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate |
| 124 NodeList InEdges; /// in no particular order | 125 NodeList InEdges; /// in no particular order |
| 125 NodeList OutEdges; /// in no particular order | 126 NodeList OutEdges; /// in no particular order |
| 126 PhiList Phis; /// unordered set of phi instructions | 127 PhiList Phis; /// unordered set of phi instructions |
| 127 InstList Insts; /// ordered list of non-phi instructions | 128 InstList Insts; /// ordered list of non-phi instructions |
| 128 }; | 129 }; |
| 129 | 130 |
| 130 } // end of namespace Ice | 131 } // end of namespace Ice |
| 131 | 132 |
| 132 #endif // SUBZERO_SRC_ICECFGNODE_H | 133 #endif // SUBZERO_SRC_ICECFGNODE_H |
| OLD | NEW |