| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 void computePredecessors(); | 84 void computePredecessors(); |
| 85 void computeSuccessors(); | 85 void computeSuccessors(); |
| 86 CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex); | 86 CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex); |
| 87 /// @} | 87 /// @} |
| 88 | 88 |
| 89 void placePhiLoads(); | 89 void placePhiLoads(); |
| 90 void placePhiStores(); | 90 void placePhiStores(); |
| 91 void deletePhis(); | 91 void deletePhis(); |
| 92 void advancedPhiLowering(); | 92 void advancedPhiLowering(); |
| 93 void doAddressOpt(); | 93 void doAddressOpt(); |
| 94 void doNopInsertion(); | 94 void doNopInsertion(RandomNumberGenerator &RNG); |
| 95 void genCode(); | 95 void genCode(); |
| 96 void livenessLightweight(); | 96 void livenessLightweight(); |
| 97 bool liveness(Liveness *Liveness); | 97 bool liveness(Liveness *Liveness); |
| 98 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum, | 98 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum, |
| 99 InstNumberT LastInstNum); | 99 InstNumberT LastInstNum); |
| 100 void contractIfEmpty(); | 100 void contractIfEmpty(); |
| 101 void doBranchOpt(const CfgNode *NextNode); | 101 void doBranchOpt(const CfgNode *NextNode); |
| 102 void emit(Cfg *Func) const; | 102 void emit(Cfg *Func) const; |
| 103 void emitIAS(Cfg *Func) const; | 103 void emitIAS(Cfg *Func) const; |
| 104 void dump(Cfg *Func) const; | 104 void dump(Cfg *Func) const; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 117 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate | 117 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate |
| 118 NodeList InEdges; /// in no particular order | 118 NodeList InEdges; /// in no particular order |
| 119 NodeList OutEdges; /// in no particular order | 119 NodeList OutEdges; /// in no particular order |
| 120 PhiList Phis; /// unordered set of phi instructions | 120 PhiList Phis; /// unordered set of phi instructions |
| 121 InstList Insts; /// ordered list of non-phi instructions | 121 InstList Insts; /// ordered list of non-phi instructions |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // end of namespace Ice | 124 } // end of namespace Ice |
| 125 | 125 |
| 126 #endif // SUBZERO_SRC_ICECFGNODE_H | 126 #endif // SUBZERO_SRC_ICECFGNODE_H |
| OLD | NEW |