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

Unified Diff: src/IceInst.h

Issue 589003002: Subzero: Refactor tracking of Defs and block-local Variables. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: "Mark args as being used in the entry node" was unnecessary. Created 6 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/IceDefs.h ('k') | src/IceInst.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInst.h
diff --git a/src/IceInst.h b/src/IceInst.h
index cf507e67cc0ef83bf5c3cbe8c34ac3a2c8d81625..6db49710d8a9de84e3d5c7e26859edb1cc757a1b 100644
--- a/src/IceInst.h
+++ b/src/IceInst.h
@@ -92,13 +92,7 @@ public:
return NodeList();
}
- // Updates the status of the Variables contained within the
- // instruction. In particular, it marks where the Dest variable is
- // first assigned, and it tracks whether variables are live across
- // basic blocks, i.e. used in a different block from their definition.
- void updateVars(CfgNode *Node);
-
- void livenessLightweight(llvm::BitVector &Live);
+ void livenessLightweight(Cfg *Func, llvm::BitVector &Live);
void liveness(InstNumberT InstNumber, llvm::BitVector &Live,
Liveness *Liveness, const CfgNode *Node);
@@ -520,7 +514,7 @@ public:
Operand *getOperandForTarget(CfgNode *Target) const;
void livenessPhiOperand(llvm::BitVector &Live, CfgNode *Target,
Liveness *Liveness);
- Inst *lower(Cfg *Func, CfgNode *Node);
+ Inst *lower(Cfg *Func);
virtual void dump(const Cfg *Func) const;
static bool classof(const Inst *Inst) { return Inst->getKind() == Phi; }
« no previous file with comments | « src/IceDefs.h ('k') | src/IceInst.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698