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

Unified Diff: src/IceCfg.h

Issue 1411583007: Combine allocas (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix a typo. 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') | src/IceCfg.cpp » ('J')
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 37c6eb7fb93ef3085e69187d5a58294b60d254b5..a80eba822c8a6fa1b2ffb76d05bf4e85b47741e1 100644
--- a/src/IceCfg.h
+++ b/src/IceCfg.h
@@ -185,8 +185,11 @@ public:
void advancedPhiLowering();
void reorderNodes();
void shuffleNodes();
- void sortAllocas(CfgVector<Inst *> &Allocas, InstList &Insts,
- bool IsKnownFrameOffset);
+
+ enum AllocaBaseVariableType { StackPointer, FramePointer, UserPointer };
Jim Stichnoth 2015/11/11 17:47:16 Consider adding some common prefix to each enum va
sehr 2015/11/11 22:14:10 Done.
+ void sortAndCombineAllocas(CfgVector<Inst *> &Allocas,
+ uint32_t CombinedAlignment, InstList &Insts,
+ AllocaBaseVariableType BaseVariableType);
/// Merge all the fixed-size allocas in the entry block.
void processAllocas();
void doAddressOpt();
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | src/IceCfg.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698