| Index: src/IceCfgNode.h
|
| diff --git a/src/IceCfgNode.h b/src/IceCfgNode.h
|
| index 3afc446d2bc9dbaaed7f1dccad45e9f319fabc4b..e9a7f6eac94a88f3334506edf64b93666684fb23 100644
|
| --- a/src/IceCfgNode.h
|
| +++ b/src/IceCfgNode.h
|
| @@ -31,7 +31,7 @@ public:
|
| return new (Func->allocate<CfgNode>()) CfgNode(Func, LabelIndex);
|
| }
|
|
|
| - // Access the label number and name for this node.
|
| + /// Access the label number and name for this node.
|
| SizeT getIndex() const { return Number; }
|
| void resetIndex(SizeT NewNumber) { Number = NewNumber; }
|
| IceString getName() const;
|
| @@ -62,14 +62,14 @@ public:
|
| PhiList &getPhis() { return Phis; }
|
| void appendInst(Inst *Inst);
|
| void renumberInstructions();
|
| - // Rough and generally conservative estimate of the number of
|
| - // instructions in the block. It is updated when an instruction is
|
| - // added, but not when deleted. It is recomputed during
|
| - // renumberInstructions().
|
| + /// Rough and generally conservative estimate of the number of
|
| + /// instructions in the block. It is updated when an instruction is
|
| + /// added, but not when deleted. It is recomputed during
|
| + /// renumberInstructions().
|
| InstNumberT getInstCountEstimate() const { return InstCountEstimate; }
|
|
|
| - // Add a predecessor edge to the InEdges list for each of this
|
| - // node's successors.
|
| + /// Add a predecessor edge to the InEdges list for each of this
|
| + /// node's successors.
|
| void computePredecessors();
|
| void computeSuccessors();
|
| CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex);
|
| @@ -96,16 +96,16 @@ public:
|
| private:
|
| CfgNode(Cfg *Func, SizeT LabelIndex);
|
| Cfg *const Func;
|
| - SizeT Number; // label index
|
| + SizeT Number; /// label index
|
| Cfg::IdentifierIndexType NameIndex =
|
| - Cfg::IdentifierIndexInvalid; // index into Cfg::NodeNames table
|
| - bool HasReturn = false; // does this block need an epilog?
|
| + Cfg::IdentifierIndexInvalid; /// index into Cfg::NodeNames table
|
| + bool HasReturn = false; /// does this block need an epilog?
|
| bool NeedsPlacement = false;
|
| - InstNumberT InstCountEstimate = 0; // rough instruction count estimate
|
| - NodeList InEdges; // in no particular order
|
| - NodeList OutEdges; // in no particular order
|
| - PhiList Phis; // unordered set of phi instructions
|
| - InstList Insts; // ordered list of non-phi instructions
|
| + InstNumberT InstCountEstimate = 0; /// rough instruction count estimate
|
| + NodeList InEdges; /// in no particular order
|
| + NodeList OutEdges; /// in no particular order
|
| + PhiList Phis; /// unordered set of phi instructions
|
| + InstList Insts; /// ordered list of non-phi instructions
|
| };
|
|
|
| } // end of namespace Ice
|
|
|