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

Side by Side Diff: src/IceCfg.h

Issue 1318553003: Compute the loop nest depth of each CfgNode and weight Variables by it. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: calculate -> compute (consistency) Created 5 years, 3 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 void placePhiStores(); 182 void placePhiStores();
183 void deletePhis(); 183 void deletePhis();
184 void advancedPhiLowering(); 184 void advancedPhiLowering();
185 void reorderNodes(); 185 void reorderNodes();
186 void shuffleNodes(); 186 void shuffleNodes();
187 void doAddressOpt(); 187 void doAddressOpt();
188 void doArgLowering(); 188 void doArgLowering();
189 void doNopInsertion(); 189 void doNopInsertion();
190 void genCode(); 190 void genCode();
191 void genFrame(); 191 void genFrame();
192 void computeLoopNestDepth();
192 void livenessLightweight(); 193 void livenessLightweight();
193 void liveness(LivenessMode Mode); 194 void liveness(LivenessMode Mode);
194 bool validateLiveness() const; 195 bool validateLiveness() const;
195 void contractEmptyNodes(); 196 void contractEmptyNodes();
196 void doBranchOpt(); 197 void doBranchOpt();
197 void markNodesForSandboxing(); 198 void markNodesForSandboxing();
198 199
199 /// \name Manage the CurrentNode field. 200 /// \name Manage the CurrentNode field.
200 /// CurrentNode is used for validating the Variable::DefNode field during 201 /// CurrentNode is used for validating the Variable::DefNode field during
201 /// dumping/emitting. 202 /// dumping/emitting.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 /// other uses are possible. 286 /// other uses are possible.
286 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg); 287 ICE_TLS_DECLARE_FIELD(const Cfg *, CurrentCfg);
287 288
288 public: 289 public:
289 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); } 290 static void TlsInit() { ICE_TLS_INIT_FIELD(CurrentCfg); }
290 }; 291 };
291 292
292 } // end of namespace Ice 293 } // end of namespace Ice
293 294
294 #endif // SUBZERO_SRC_ICECFG_H 295 #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