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

Unified Diff: src/IceCfg.h

Issue 1441793002: Subzero: Find rematerializable variables transitively. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Make the analysis loop more readable Created 5 years, 1 month 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 | « no previous file | src/IceCfg.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.h
diff --git a/src/IceCfg.h b/src/IceCfg.h
index b39673bc111b8e90b332814538d589b7f4786550..6c64e255c8ded39288621e7894aff0cca7228ac6 100644
--- a/src/IceCfg.h
+++ b/src/IceCfg.h
@@ -191,14 +191,6 @@ public:
void reorderNodes();
void shuffleNodes();
- enum AllocaBaseVariableType {
- BVT_StackPointer,
- BVT_FramePointer,
- BVT_UserPointer
- };
- void sortAndCombineAllocas(CfgVector<Inst *> &Allocas,
- uint32_t CombinedAlignment, InstList &Insts,
- AllocaBaseVariableType BaseVariableType);
/// Scan allocas to determine whether we need to use a frame pointer.
/// If SortAndCombine == true, merge all the fixed-size allocas in the
/// entry block and emit stack or frame pointer-relative addressing.
@@ -267,6 +259,16 @@ private:
/// Iterate through the registered jump tables and emit them.
void emitJumpTables();
+ enum AllocaBaseVariableType {
+ BVT_StackPointer,
+ BVT_FramePointer,
+ BVT_UserPointer
+ };
+ void sortAndCombineAllocas(CfgVector<Inst *> &Allocas,
+ uint32_t CombinedAlignment, InstList &Insts,
+ AllocaBaseVariableType BaseVariableType);
+ void findRematerializable();
+
GlobalContext *Ctx;
uint32_t SequenceNumber; /// output order for emission
uint32_t ConstantBlindingCookie = 0; /// cookie for constant blinding
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698