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 |