| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 /// After the CFG is fully constructed, iterate over the nodes and | 166 /// After the CFG is fully constructed, iterate over the nodes and |
| 167 /// compute the predecessor and successor edges, in the form of | 167 /// compute the predecessor and successor edges, in the form of |
| 168 /// CfgNode::InEdges[] and CfgNode::OutEdges[]. | 168 /// CfgNode::InEdges[] and CfgNode::OutEdges[]. |
| 169 void computeInOutEdges(); | 169 void computeInOutEdges(); |
| 170 void renumberInstructions(); | 170 void renumberInstructions(); |
| 171 void placePhiLoads(); | 171 void placePhiLoads(); |
| 172 void placePhiStores(); | 172 void placePhiStores(); |
| 173 void deletePhis(); | 173 void deletePhis(); |
| 174 void advancedPhiLowering(); | 174 void advancedPhiLowering(); |
| 175 void reorderNodes(); | 175 void reorderNodes(); |
| 176 void shuffleNodes(); |
| 176 void doAddressOpt(); | 177 void doAddressOpt(); |
| 177 void doArgLowering(); | 178 void doArgLowering(); |
| 178 void doNopInsertion(); | 179 void doNopInsertion(); |
| 179 void genCode(); | 180 void genCode(); |
| 180 void genFrame(); | 181 void genFrame(); |
| 181 void livenessLightweight(); | 182 void livenessLightweight(); |
| 182 void liveness(LivenessMode Mode); | 183 void liveness(LivenessMode Mode); |
| 183 bool validateLiveness() const; | 184 bool validateLiveness() const; |
| 184 void contractEmptyNodes(); | 185 void contractEmptyNodes(); |
| 185 void doBranchOpt(); | 186 void doBranchOpt(); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 /// other uses are possible. | 266 /// other uses are possible. |
| 266 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); | 267 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); |
| 267 | 268 |
| 268 public: | 269 public: |
| 269 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } | 270 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } |
| 270 }; | 271 }; |
| 271 | 272 |
| 272 } // end of namespace Ice | 273 } // end of namespace Ice |
| 273 | 274 |
| 274 #endif // SUBZERO_SRC_ICECFG_H | 275 #endif // SUBZERO_SRC_ICECFG_H |
| OLD | NEW |