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

Side by Side Diff: src/IceCfg.h

Issue 682983004: Subzero: Decorate the text asm output with register availability info. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Change to -asm-verbose. Make another emit helper function. 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 | « no previous file | src/IceCfg.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/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 // This file declares the Cfg class, which represents the control flow 10 // This file declares the Cfg class, which represents the control flow
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void advancedPhiLowering(); 114 void advancedPhiLowering();
115 void reorderNodes(); 115 void reorderNodes();
116 void doAddressOpt(); 116 void doAddressOpt();
117 void doArgLowering(); 117 void doArgLowering();
118 void doNopInsertion(); 118 void doNopInsertion();
119 void genCode(); 119 void genCode();
120 void genFrame(); 120 void genFrame();
121 void livenessLightweight(); 121 void livenessLightweight();
122 void liveness(LivenessMode Mode); 122 void liveness(LivenessMode Mode);
123 bool validateLiveness() const; 123 bool validateLiveness() const;
124 void deleteRedundantAssignments();
125 void contractEmptyNodes(); 124 void contractEmptyNodes();
126 void doBranchOpt(); 125 void doBranchOpt();
127 126
128 // Manage the CurrentNode field, which is used for validating the 127 // Manage the CurrentNode field, which is used for validating the
129 // Variable::DefNode field during dumping/emitting. 128 // Variable::DefNode field during dumping/emitting.
130 void setCurrentNode(const CfgNode *Node) { CurrentNode = Node; } 129 void setCurrentNode(const CfgNode *Node) { CurrentNode = Node; }
131 void resetCurrentNode() { setCurrentNode(NULL); } 130 void resetCurrentNode() { setCurrentNode(NULL); }
132 const CfgNode *getCurrentNode() const { return CurrentNode; } 131 const CfgNode *getCurrentNode() const { return CurrentNode; }
133 132
134 void emit(); 133 void emit();
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // validating Variable::DefNode. Normally, a traversal over 189 // validating Variable::DefNode. Normally, a traversal over
191 // CfgNodes maintains this, but before global operations like 190 // CfgNodes maintains this, but before global operations like
192 // register allocation, resetCurrentNode() should be called to avoid 191 // register allocation, resetCurrentNode() should be called to avoid
193 // spurious validation failures. 192 // spurious validation failures.
194 const CfgNode *CurrentNode; 193 const CfgNode *CurrentNode;
195 }; 194 };
196 195
197 } // end of namespace Ice 196 } // end of namespace Ice
198 197
199 #endif // SUBZERO_SRC_ICECFG_H 198 #endif // SUBZERO_SRC_ICECFG_H
OLDNEW
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698