Chromium Code Reviews| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 void shortCircuitJumps(); |
| 205 void loopInvariantCodeMotion(); | 205 void loopInvariantCodeMotion(); |
| 206 void invertICMP(); | |
|
Jim Stichnoth
2016/07/20 22:25:56
Can this be removed?
manasijm
2016/07/20 22:54:16
Done.
| |
| 206 | 207 |
| 207 /// Scan allocas to determine whether we need to use a frame pointer. | 208 /// Scan allocas to determine whether we need to use a frame pointer. |
| 208 /// If SortAndCombine == true, merge all the fixed-size allocas in the | 209 /// If SortAndCombine == true, merge all the fixed-size allocas in the |
| 209 /// entry block and emit stack or frame pointer-relative addressing. | 210 /// entry block and emit stack or frame pointer-relative addressing. |
| 210 void processAllocas(bool SortAndCombine); | 211 void processAllocas(bool SortAndCombine); |
| 211 void doAddressOpt(); | 212 void doAddressOpt(); |
| 212 /// Find clusters of insertelement/extractelement instructions that can be | 213 /// Find clusters of insertelement/extractelement instructions that can be |
| 213 /// replaced by a shufflevector instruction. | 214 /// replaced by a shufflevector instruction. |
| 214 void materializeVectorShuffles(); | 215 void materializeVectorShuffles(); |
| 215 void doArgLowering(); | 216 void doArgLowering(); |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 357 using OwnerType = Cfg; | 358 using OwnerType = Cfg; |
| 358 static StringPool *getStrings(const OwnerType *PoolOwner) { | 359 static StringPool *getStrings(const OwnerType *PoolOwner) { |
| 359 return PoolOwner->getVarStrings(); | 360 return PoolOwner->getVarStrings(); |
| 360 } | 361 } |
| 361 }; | 362 }; |
| 362 using VariableString = StringID<VariableStringPoolTraits>; | 363 using VariableString = StringID<VariableStringPoolTraits>; |
| 363 | 364 |
| 364 } // end of namespace Ice | 365 } // end of namespace Ice |
| 365 | 366 |
| 366 #endif // SUBZERO_SRC_ICECFG_H | 367 #endif // SUBZERO_SRC_ICECFG_H |
| OLD | NEW |