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

Side by Side Diff: src/IceCfgNode.h

Issue 1300993002: Use separate random number generator for each randomization pass (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Minor change in GlobalContext::getJumpTables(), make jump tables in deterministic order even pooled… 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
OLDNEW
1 //===- subzero/src/IceCfgNode.h - Control flow graph node -------*- C++ -*-===// 1 //===- subzero/src/IceCfgNode.h - Control flow graph node -------*- 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 void computePredecessors(); 84 void computePredecessors();
85 void computeSuccessors(); 85 void computeSuccessors();
86 CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex); 86 CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex);
87 /// @} 87 /// @}
88 88
89 void placePhiLoads(); 89 void placePhiLoads();
90 void placePhiStores(); 90 void placePhiStores();
91 void deletePhis(); 91 void deletePhis();
92 void advancedPhiLowering(); 92 void advancedPhiLowering();
93 void doAddressOpt(); 93 void doAddressOpt();
94 void doNopInsertion(); 94 void doNopInsertion(RandomNumberGenerator &RNG);
95 void genCode(); 95 void genCode();
96 void livenessLightweight(); 96 void livenessLightweight();
97 bool liveness(Liveness *Liveness); 97 bool liveness(Liveness *Liveness);
98 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum, 98 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum,
99 InstNumberT LastInstNum); 99 InstNumberT LastInstNum);
100 void contractIfEmpty(); 100 void contractIfEmpty();
101 void doBranchOpt(const CfgNode *NextNode); 101 void doBranchOpt(const CfgNode *NextNode);
102 void emit(Cfg *Func) const; 102 void emit(Cfg *Func) const;
103 void emitIAS(Cfg *Func) const; 103 void emitIAS(Cfg *Func) const;
104 void dump(Cfg *Func) const; 104 void dump(Cfg *Func) const;
(...skipping 12 matching lines...) Expand all
117 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate 117 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate
118 NodeList InEdges; /// in no particular order 118 NodeList InEdges; /// in no particular order
119 NodeList OutEdges; /// in no particular order 119 NodeList OutEdges; /// in no particular order
120 PhiList Phis; /// unordered set of phi instructions 120 PhiList Phis; /// unordered set of phi instructions
121 InstList Insts; /// ordered list of non-phi instructions 121 InstList Insts; /// ordered list of non-phi instructions
122 }; 122 };
123 123
124 } // end of namespace Ice 124 } // end of namespace Ice
125 125
126 #endif // SUBZERO_SRC_ICECFGNODE_H 126 #endif // SUBZERO_SRC_ICECFGNODE_H
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceCfgNode.cpp » ('j') | src/IceGlobalContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698