| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 /// \name Access predecessor and successor edge lists. | 65 /// \name Access predecessor and successor edge lists. |
| 66 /// @{ | 66 /// @{ |
| 67 const NodeList &getInEdges() const { return InEdges; } | 67 const NodeList &getInEdges() const { return InEdges; } |
| 68 const NodeList &getOutEdges() const { return OutEdges; } | 68 const NodeList &getOutEdges() const { return OutEdges; } |
| 69 /// @} | 69 /// @} |
| 70 | 70 |
| 71 /// \name Manage the instruction list. | 71 /// \name Manage the instruction list. |
| 72 /// @{ | 72 /// @{ |
| 73 InstList &getInsts() { return Insts; } | 73 InstList &getInsts() { return Insts; } |
| 74 PhiList &getPhis() { return Phis; } | 74 PhiList &getPhis() { return Phis; } |
| 75 void appendInst(Inst *Inst); | 75 void appendInst(Inst *Instr); |
| 76 void renumberInstructions(); | 76 void renumberInstructions(); |
| 77 /// Rough and generally conservative estimate of the number of instructions in | 77 /// Rough and generally conservative estimate of the number of instructions in |
| 78 /// the block. It is updated when an instruction is added, but not when | 78 /// the block. It is updated when an instruction is added, but not when |
| 79 /// deleted. It is recomputed during renumberInstructions(). | 79 /// deleted. It is recomputed during renumberInstructions(). |
| 80 InstNumberT getInstCountEstimate() const { return InstCountEstimate; } | 80 InstNumberT getInstCountEstimate() const { return InstCountEstimate; } |
| 81 /// @} | 81 /// @} |
| 82 | 82 |
| 83 /// \name Manage predecessors and successors. | 83 /// \name Manage predecessors and successors. |
| 84 /// @{ | 84 /// @{ |
| 85 | 85 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate | 125 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate |
| 126 NodeList InEdges; /// in no particular order | 126 NodeList InEdges; /// in no particular order |
| 127 NodeList OutEdges; /// in no particular order | 127 NodeList OutEdges; /// in no particular order |
| 128 PhiList Phis; /// unordered set of phi instructions | 128 PhiList Phis; /// unordered set of phi instructions |
| 129 InstList Insts; /// ordered list of non-phi instructions | 129 InstList Insts; /// ordered list of non-phi instructions |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // end of namespace Ice | 132 } // end of namespace Ice |
| 133 | 133 |
| 134 #endif // SUBZERO_SRC_ICECFGNODE_H | 134 #endif // SUBZERO_SRC_ICECFGNODE_H |
| OLD | NEW |