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

Side by Side Diff: src/IceCfgNode.h

Issue 877003003: Subzero: Use a "known" version of clang-format. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a clang-format blacklist. Fix formatting "errors". Created 5 years, 10 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 | « src/IceCfg.h ('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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 InstNumberT LastInstNum); 84 InstNumberT LastInstNum);
85 void contractIfEmpty(); 85 void contractIfEmpty();
86 void doBranchOpt(const CfgNode *NextNode); 86 void doBranchOpt(const CfgNode *NextNode);
87 void emit(Cfg *Func) const; 87 void emit(Cfg *Func) const;
88 void emitIAS(Cfg *Func) const; 88 void emitIAS(Cfg *Func) const;
89 void dump(Cfg *Func) const; 89 void dump(Cfg *Func) const;
90 90
91 private: 91 private:
92 CfgNode(Cfg *Func, SizeT LabelIndex); 92 CfgNode(Cfg *Func, SizeT LabelIndex);
93 Cfg *const Func; 93 Cfg *const Func;
94 const SizeT Number; // label index 94 const SizeT Number; // label index
95 Cfg::IdentifierIndexType NameIndex; // index into Cfg::NodeNames table 95 Cfg::IdentifierIndexType NameIndex; // index into Cfg::NodeNames table
96 bool HasReturn; // does this block need an epilog? 96 bool HasReturn; // does this block need an epilog?
97 bool NeedsPlacement; 97 bool NeedsPlacement;
98 InstNumberT InstCountEstimate; // rough instruction count estimate 98 InstNumberT InstCountEstimate; // rough instruction count estimate
99 NodeList InEdges; // in no particular order 99 NodeList InEdges; // in no particular order
100 NodeList OutEdges; // in no particular order 100 NodeList OutEdges; // in no particular order
101 PhiList Phis; // unordered set of phi instructions 101 PhiList Phis; // unordered set of phi instructions
102 InstList Insts; // ordered list of non-phi instructions 102 InstList Insts; // ordered list of non-phi instructions
103 }; 103 };
104 104
105 } // end of namespace Ice 105 } // end of namespace Ice
106 106
107 #endif // SUBZERO_SRC_ICECFGNODE_H 107 #endif // SUBZERO_SRC_ICECFGNODE_H
OLDNEW
« no previous file with comments | « src/IceCfg.h ('k') | src/IceCfgNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698