| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 /// After the CFG is fully constructed, iterate over the nodes and | 173 /// After the CFG is fully constructed, iterate over the nodes and |
| 174 /// compute the predecessor and successor edges, in the form of | 174 /// compute the predecessor and successor edges, in the form of |
| 175 /// CfgNode::InEdges[] and CfgNode::OutEdges[]. | 175 /// CfgNode::InEdges[] and CfgNode::OutEdges[]. |
| 176 void computeInOutEdges(); | 176 void computeInOutEdges(); |
| 177 void renumberInstructions(); | 177 void renumberInstructions(); |
| 178 void placePhiLoads(); | 178 void placePhiLoads(); |
| 179 void placePhiStores(); | 179 void placePhiStores(); |
| 180 void deletePhis(); | 180 void deletePhis(); |
| 181 void advancedPhiLowering(); | 181 void advancedPhiLowering(); |
| 182 void reorderNodes(); | 182 void reorderNodes(); |
| 183 void shuffleNodes(); |
| 183 void doAddressOpt(); | 184 void doAddressOpt(); |
| 184 void doArgLowering(); | 185 void doArgLowering(); |
| 185 void doNopInsertion(); | 186 void doNopInsertion(); |
| 186 void genCode(); | 187 void genCode(); |
| 187 void genFrame(); | 188 void genFrame(); |
| 188 void livenessLightweight(); | 189 void livenessLightweight(); |
| 189 void liveness(LivenessMode Mode); | 190 void liveness(LivenessMode Mode); |
| 190 bool validateLiveness() const; | 191 bool validateLiveness() const; |
| 191 void contractEmptyNodes(); | 192 void contractEmptyNodes(); |
| 192 void doBranchOpt(); | 193 void doBranchOpt(); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 /// other uses are possible. | 281 /// other uses are possible. |
| 281 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); | 282 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); |
| 282 | 283 |
| 283 public: | 284 public: |
| 284 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } | 285 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } |
| 285 }; | 286 }; |
| 286 | 287 |
| 287 } // end of namespace Ice | 288 } // end of namespace Ice |
| 288 | 289 |
| 289 #endif // SUBZERO_SRC_ICECFG_H | 290 #endif // SUBZERO_SRC_ICECFG_H |
| OLD | NEW |