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

Unified Diff: src/IceLiveness.h

Issue 1271923002: Subzero: Slight improvement to phi lowering. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a TODO Created 5 years, 4 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/IceInst.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 da2c52ea47142543a778fed88308c366fa0f8408..895138d3556bb29a8c38fd630172d7781a8afb4c 100644
--- a/src/IceLiveness.h
+++ b/src/IceLiveness.h
@@ -96,6 +96,7 @@ public:
resize(Index);
return &Nodes[Index].LiveEnd;
}
+ bool getRangeMask(SizeT Index) const { return RangeMask[Index]; }
private:
void initInternal(NodeList::const_iterator FirstNode,
@@ -116,6 +117,9 @@ private:
/// 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.
+ llvm::BitVector RangeMask;
};
} // end of namespace Ice
« no previous file with comments | « src/IceInst.cpp ('k') | src/IceLiveness.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698