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

Side by Side Diff: src/IceCfgNode.h

Issue 700263003: Rearrange emit vs emitIAS. Wait till function is done before dumping text. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: remove comment... might end up using the iterator Created 6 years, 1 month 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 | « src/IceCfg.cpp ('k') | src/IceCfgNode.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/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 // This file declares the CfgNode class, which represents a single 10 // This file declares the CfgNode class, which represents a single
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void advancedPhiLowering(); 75 void advancedPhiLowering();
76 void doAddressOpt(); 76 void doAddressOpt();
77 void doNopInsertion(); 77 void doNopInsertion();
78 void genCode(); 78 void genCode();
79 void livenessLightweight(); 79 void livenessLightweight();
80 bool liveness(Liveness *Liveness); 80 bool liveness(Liveness *Liveness);
81 void livenessPostprocess(LivenessMode Mode, Liveness *Liveness); 81 void livenessPostprocess(LivenessMode Mode, Liveness *Liveness);
82 void contractIfEmpty(); 82 void contractIfEmpty();
83 void doBranchOpt(const CfgNode *NextNode); 83 void doBranchOpt(const CfgNode *NextNode);
84 void emit(Cfg *Func) const; 84 void emit(Cfg *Func) const;
85 void emitIAS(Cfg *Func) const;
85 void dump(Cfg *Func) const; 86 void dump(Cfg *Func) const;
86 87
87 private: 88 private:
88 CfgNode(Cfg *Func, SizeT LabelIndex, IceString Name); 89 CfgNode(Cfg *Func, SizeT LabelIndex, IceString Name);
89 Cfg *const Func; 90 Cfg *const Func;
90 const SizeT Number; // label index 91 const SizeT Number; // label index
91 IceString Name; // for dumping only 92 IceString Name; // for dumping only
92 bool HasReturn; // does this block need an epilog? 93 bool HasReturn; // does this block need an epilog?
93 bool NeedsPlacement; 94 bool NeedsPlacement;
94 InstNumberT InstCountEstimate; // rough instruction count estimate 95 InstNumberT InstCountEstimate; // rough instruction count estimate
95 NodeList InEdges; // in no particular order 96 NodeList InEdges; // in no particular order
96 NodeList OutEdges; // in no particular order 97 NodeList OutEdges; // in no particular order
97 PhiList Phis; // unordered set of phi instructions 98 PhiList Phis; // unordered set of phi instructions
98 InstList Insts; // ordered list of non-phi instructions 99 InstList Insts; // ordered list of non-phi instructions
99 }; 100 };
100 101
101 } // end of namespace Ice 102 } // end of namespace Ice
102 103
103 #endif // SUBZERO_SRC_ICECFGNODE_H 104 #endif // SUBZERO_SRC_ICECFGNODE_H
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceCfgNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698