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

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: rebase to master branch 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') | no next file with comments »
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698