| OLD | NEW |
| 1 //===- subzero/src/IceCfg.h - Control flow graph ----------------*- C++ -*-===// | 1 //===- subzero/src/IceCfg.h - Control flow graph ----------------*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 /// | 9 /// |
| 10 /// \file | 10 /// \file |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 /// Also, if the configuration specifies to do so, remove/unlink all deleted | 194 /// Also, if the configuration specifies to do so, remove/unlink all deleted |
| 195 /// instructions from the Cfg, to speed up later passes over the instructions. | 195 /// instructions from the Cfg, to speed up later passes over the instructions. |
| 196 void renumberInstructions(); | 196 void renumberInstructions(); |
| 197 void placePhiLoads(); | 197 void placePhiLoads(); |
| 198 void placePhiStores(); | 198 void placePhiStores(); |
| 199 void deletePhis(); | 199 void deletePhis(); |
| 200 void advancedPhiLowering(); | 200 void advancedPhiLowering(); |
| 201 void reorderNodes(); | 201 void reorderNodes(); |
| 202 void shuffleNodes(); | 202 void shuffleNodes(); |
| 203 void localCSE(); | 203 void localCSE(); |
| 204 void shortCircuitJumps(); |
| 204 | 205 |
| 205 /// Scan allocas to determine whether we need to use a frame pointer. | 206 /// Scan allocas to determine whether we need to use a frame pointer. |
| 206 /// If SortAndCombine == true, merge all the fixed-size allocas in the | 207 /// If SortAndCombine == true, merge all the fixed-size allocas in the |
| 207 /// entry block and emit stack or frame pointer-relative addressing. | 208 /// entry block and emit stack or frame pointer-relative addressing. |
| 208 void processAllocas(bool SortAndCombine); | 209 void processAllocas(bool SortAndCombine); |
| 209 void doAddressOpt(); | 210 void doAddressOpt(); |
| 210 /// Find clusters of insertelement/extractelement instructions that can be | 211 /// Find clusters of insertelement/extractelement instructions that can be |
| 211 /// replaced by a shufflevector instruction. | 212 /// replaced by a shufflevector instruction. |
| 212 void materializeVectorShuffles(); | 213 void materializeVectorShuffles(); |
| 213 void doArgLowering(); | 214 void doArgLowering(); |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 using OwnerType = Cfg; | 355 using OwnerType = Cfg; |
| 355 static StringPool *getStrings(const OwnerType *PoolOwner) { | 356 static StringPool *getStrings(const OwnerType *PoolOwner) { |
| 356 return PoolOwner->getVarStrings(); | 357 return PoolOwner->getVarStrings(); |
| 357 } | 358 } |
| 358 }; | 359 }; |
| 359 using VariableString = StringID<VariableStringPoolTraits>; | 360 using VariableString = StringID<VariableStringPoolTraits>; |
| 360 | 361 |
| 361 } // end of namespace Ice | 362 } // end of namespace Ice |
| 362 | 363 |
| 363 #endif // SUBZERO_SRC_ICECFG_H | 364 #endif // SUBZERO_SRC_ICECFG_H |
| OLD | NEW |