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

Side by Side Diff: src/IceCfg.cpp

Issue 372113005: Add support for passing and returning vectors in accordance with the x86 calling convention. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Reset AllowOverlap, add comment on lowerCall() strategies, and use X86_MAX_XMM_ARGS where appropria… Created 6 years, 5 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/IceDefs.h » ('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.cpp - Control flow graph implementation ---------===// 1 //===- subzero/src/IceCfg.cpp - Control flow graph implementation ---------===//
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 implements the Cfg class, including constant pool 10 // This file implements the Cfg class, including constant pool
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 (*I)->placePhiStores(); 103 (*I)->placePhiStores();
104 } 104 }
105 } 105 }
106 106
107 void Cfg::deletePhis() { 107 void Cfg::deletePhis() {
108 for (NodeList::iterator I = Nodes.begin(), E = Nodes.end(); I != E; ++I) { 108 for (NodeList::iterator I = Nodes.begin(), E = Nodes.end(); I != E; ++I) {
109 (*I)->deletePhis(); 109 (*I)->deletePhis();
110 } 110 }
111 } 111 }
112 112
113 void Cfg::doArgLowering() {
114 getTarget()->lowerArguments();
115 }
116
113 void Cfg::doAddressOpt() { 117 void Cfg::doAddressOpt() {
114 for (NodeList::iterator I = Nodes.begin(), E = Nodes.end(); I != E; ++I) { 118 for (NodeList::iterator I = Nodes.begin(), E = Nodes.end(); I != E; ++I) {
115 (*I)->doAddressOpt(); 119 (*I)->doAddressOpt();
116 } 120 }
117 } 121 }
118 122
119 void Cfg::genCode() { 123 void Cfg::genCode() {
120 for (NodeList::iterator I = Nodes.begin(), E = Nodes.end(); I != E; ++I) { 124 for (NodeList::iterator I = Nodes.begin(), E = Nodes.end(); I != E; ++I) {
121 (*I)->genCode(); 125 (*I)->genCode();
122 } 126 }
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 for (NodeList::const_iterator I = Nodes.begin(), E = Nodes.end(); I != E; 352 for (NodeList::const_iterator I = Nodes.begin(), E = Nodes.end(); I != E;
349 ++I) { 353 ++I) {
350 (*I)->dump(this); 354 (*I)->dump(this);
351 } 355 }
352 if (getContext()->isVerbose(IceV_Instructions)) { 356 if (getContext()->isVerbose(IceV_Instructions)) {
353 Str << "}\n"; 357 Str << "}\n";
354 } 358 }
355 } 359 }
356 360
357 } // end of namespace Ice 361 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceCfg.h ('k') | src/IceDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698