Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1387)

Side by Side Diff: src/IceCfgNode.h

Issue 1890283002: Subzero, Wasm: Link and run torture tests; bug fixes. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review feedback Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceCfgNode.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 /// \name Access predecessor and successor edge lists. 69 /// \name Access predecessor and successor edge lists.
70 /// @{ 70 /// @{
71 const NodeList &getInEdges() const { return InEdges; } 71 const NodeList &getInEdges() const { return InEdges; }
72 const NodeList &getOutEdges() const { return OutEdges; } 72 const NodeList &getOutEdges() const { return OutEdges; }
73 /// @} 73 /// @}
74 74
75 /// \name Manage the instruction list. 75 /// \name Manage the instruction list.
76 /// @{ 76 /// @{
77 InstList &getInsts() { return Insts; } 77 InstList &getInsts() { return Insts; }
78 PhiList &getPhis() { return Phis; } 78 PhiList &getPhis() { return Phis; }
79 void appendInst(Inst *Instr, bool AllowPhisAnywhere = false); 79 void appendInst(Inst *Instr);
80 void renumberInstructions(); 80 void renumberInstructions();
81 /// Rough and generally conservative estimate of the number of instructions in 81 /// Rough and generally conservative estimate of the number of instructions in
82 /// the block. It is updated when an instruction is added, but not when 82 /// the block. It is updated when an instruction is added, but not when
83 /// deleted. It is recomputed during renumberInstructions(). 83 /// deleted. It is recomputed during renumberInstructions().
84 InstNumberT getInstCountEstimate() const { return InstCountEstimate; } 84 InstNumberT getInstCountEstimate() const { return InstCountEstimate; }
85 /// @} 85 /// @}
86 86
87 /// \name Manage predecessors and successors. 87 /// \name Manage predecessors and successors.
88 /// @{ 88 /// @{
89 89
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate 137 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate
138 NodeList InEdges; /// in no particular order 138 NodeList InEdges; /// in no particular order
139 NodeList OutEdges; /// in no particular order 139 NodeList OutEdges; /// in no particular order
140 PhiList Phis; /// unordered set of phi instructions 140 PhiList Phis; /// unordered set of phi instructions
141 InstList Insts; /// ordered list of non-phi instructions 141 InstList Insts; /// ordered list of non-phi instructions
142 }; 142 };
143 143
144 } // end of namespace Ice 144 } // end of namespace Ice
145 145
146 #endif // SUBZERO_SRC_ICECFGNODE_H 146 #endif // SUBZERO_SRC_ICECFGNODE_H
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceCfgNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698