Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: src/IceCfg.h

Issue 1255303004: Add -reorder-basic-blocks option and fix nop insertion (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: fix comments Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | src/IceCfg.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | src/IceCfg.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698