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

Unified Diff: src/IceLiveness.h

Issue 1341423002: Reflow comments to use the full width. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix spelling and rebase Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceIntrinsics.cpp ('k') | src/IceLiveness.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « src/IceIntrinsics.cpp ('k') | src/IceLiveness.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698