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

Side by Side Diff: src/IceCfgNode.h

Issue 1847423003: Replace constant conditional branches by unconditional branches (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review fixes Created 4 years, 8 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 /// \name Manage predecessors and successors. 83 /// \name Manage predecessors and successors.
84 /// @{ 84 /// @{
85 85
86 /// Add a predecessor edge to the InEdges list for each of this node's 86 /// Add a predecessor edge to the InEdges list for each of this node's
87 /// successors. 87 /// successors.
88 void computePredecessors(); 88 void computePredecessors();
89 void computeSuccessors(); 89 void computeSuccessors();
90 CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex); 90 CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex);
91 /// @} 91 /// @}
92 92
93 void validatePhis(); 93 void enforcePhiConsistency();
94 void placePhiLoads(); 94 void placePhiLoads();
95 void placePhiStores(); 95 void placePhiStores();
96 void deletePhis(); 96 void deletePhis();
97 void advancedPhiLowering(); 97 void advancedPhiLowering();
98 void doAddressOpt(); 98 void doAddressOpt();
99 void doNopInsertion(RandomNumberGenerator &RNG); 99 void doNopInsertion(RandomNumberGenerator &RNG);
100 void genCode(); 100 void genCode();
101 void livenessLightweight(); 101 void livenessLightweight();
102 bool liveness(Liveness *Liveness); 102 bool liveness(Liveness *Liveness);
103 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum, 103 void livenessAddIntervals(Liveness *Liveness, InstNumberT FirstInstNum,
(...skipping 19 matching lines...) Expand all
123 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate 123 InstNumberT InstCountEstimate = 0; /// rough instruction count estimate
124 NodeList InEdges; /// in no particular order 124 NodeList InEdges; /// in no particular order
125 NodeList OutEdges; /// in no particular order 125 NodeList OutEdges; /// in no particular order
126 PhiList Phis; /// unordered set of phi instructions 126 PhiList Phis; /// unordered set of phi instructions
127 InstList Insts; /// ordered list of non-phi instructions 127 InstList Insts; /// ordered list of non-phi instructions
128 }; 128 };
129 129
130 } // end of namespace Ice 130 } // end of namespace Ice
131 131
132 #endif // SUBZERO_SRC_ICECFGNODE_H 132 #endif // SUBZERO_SRC_ICECFGNODE_H
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceCfgNode.cpp » ('j') | src/IceCfgNode.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698