Index: src/IceLiveness.h |
diff --git a/src/IceLiveness.h b/src/IceLiveness.h |
index 895138d3556bb29a8c38fd630172d7781a8afb4c..bd739d374f0efe743d178a0d0d2ec02a3c677931 100644 |
--- a/src/IceLiveness.h |
+++ b/src/IceLiveness.h |
@@ -8,12 +8,11 @@ |
//===----------------------------------------------------------------------===// |
/// |
/// \file |
-/// This file declares the Liveness and LivenessNode classes, |
-/// which are used for liveness analysis. The node-specific |
-/// information tracked for each Variable includes whether it is |
-/// live on entry, whether it is live on exit, the instruction number |
-/// that starts its live range, and the instruction number that ends |
-/// its live range. At the Cfg level, the actual live intervals are |
+/// This file declares the Liveness and LivenessNode classes, which are used for |
+/// liveness analysis. The node-specific information tracked for each Variable |
+/// includes whether it is live on entry, whether it is live on exit, the |
+/// instruction number that starts its live range, and the instruction number |
+/// that ends its live range. At the Cfg level, the actual live intervals are |
/// recorded. |
/// |
//===----------------------------------------------------------------------===// |
@@ -41,22 +40,20 @@ class Liveness { |
/// NumLocals is the number of Variables local to this block. |
SizeT NumLocals = 0; |
/// NumNonDeadPhis tracks the number of Phi instructions that |
- /// Inst::liveness() identified as tentatively live. If |
- /// NumNonDeadPhis changes from the last liveness pass, then liveness |
- /// has not yet converged. |
+ /// Inst::liveness() identified as tentatively live. If NumNonDeadPhis |
+ /// changes from the last liveness pass, then liveness has not yet |
+ /// converged. |
SizeT NumNonDeadPhis = 0; |
- // LiveToVarMap maps a liveness bitvector index to a Variable. This |
- // is generally just for printing/dumping. The index should be less |
- // than NumLocals + Liveness::NumGlobals. |
+ // LiveToVarMap maps a liveness bitvector index to a Variable. This is |
+ // generally just for printing/dumping. The index should be less than |
+ // NumLocals + Liveness::NumGlobals. |
std::vector<Variable *> LiveToVarMap; |
// LiveIn and LiveOut track the in- and out-liveness of the global |
- // variables. The size of each vector is |
- // LivenessNode::NumGlobals. |
+ // variables. The size of each vector is LivenessNode::NumGlobals. |
LivenessBV LiveIn, LiveOut; |
- // LiveBegin and LiveEnd track the instruction numbers of the start |
- // and end of each variable's live range within this block. The |
- // index/key of each element is less than NumLocals + |
- // Liveness::NumGlobals. |
+ // LiveBegin and LiveEnd track the instruction numbers of the start and end |
+ // of each variable's live range within this block. The index/key of each |
+ // element is less than NumLocals + Liveness::NumGlobals. |
LiveBeginEndMap LiveBegin, LiveEnd; |
}; |
@@ -111,11 +108,11 @@ private: |
SizeT NumGlobals = 0; |
/// Size of Nodes is Cfg::Nodes.size(). |
std::vector<LivenessNode> Nodes; |
- /// VarToLiveMap maps a Variable's Variable::Number to its live index |
- /// within its basic block. |
+ /// VarToLiveMap maps a Variable's Variable::Number to its live index within |
+ /// its basic block. |
std::vector<SizeT> VarToLiveMap; |
- /// LiveToVarMap is analogous to LivenessNode::LiveToVarMap, but for |
- /// non-local variables. |
+ /// LiveToVarMap is analogous to LivenessNode::LiveToVarMap, but for non-local |
+ /// variables. |
std::vector<Variable *> LiveToVarMap; |
/// RangeMask[Variable::Number] indicates whether we want to track that |
/// Variable's live range. |