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

Side by Side Diff: src/compiler/pipeline.cc

Issue 1559123003: [turbofan] Performance enhancements for escape analysis (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix fix Created 4 years, 11 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/compiler/escape-analysis.cc ('k') | test/unittests/compiler/escape-analysis-unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/pipeline.h" 5 #include "src/compiler/pipeline.h"
6 6
7 #include <fstream> // NOLINT(readability/streams) 7 #include <fstream> // NOLINT(readability/streams)
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/base/adapters.h" 10 #include "src/base/adapters.h"
(...skipping 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 // Lower JSOperators where we can determine types. 1158 // Lower JSOperators where we can determine types.
1159 Run<TypedLoweringPhase>(); 1159 Run<TypedLoweringPhase>();
1160 RunPrintAndVerify("Lowered typed"); 1160 RunPrintAndVerify("Lowered typed");
1161 1161
1162 if (FLAG_turbo_stress_loop_peeling) { 1162 if (FLAG_turbo_stress_loop_peeling) {
1163 Run<StressLoopPeelingPhase>(); 1163 Run<StressLoopPeelingPhase>();
1164 RunPrintAndVerify("Loop peeled"); 1164 RunPrintAndVerify("Loop peeled");
1165 } 1165 }
1166 1166
1167 if (FLAG_turbo_escape) { 1167 if (FLAG_turbo_escape) {
1168 // TODO(sigurds): EscapeAnalysis needs a trimmed graph at the moment,
1169 // because it does a forwards traversal of the effect edges.
1170 Run<EarlyGraphTrimmingPhase>();
1171 Run<EscapeAnalysisPhase>(); 1168 Run<EscapeAnalysisPhase>();
1172 RunPrintAndVerify("Escape Analysed"); 1169 RunPrintAndVerify("Escape Analysed");
1173 } 1170 }
1174 1171
1175 // Lower simplified operators and insert changes. 1172 // Lower simplified operators and insert changes.
1176 Run<SimplifiedLoweringPhase>(); 1173 Run<SimplifiedLoweringPhase>();
1177 RunPrintAndVerify("Lowered simplified"); 1174 RunPrintAndVerify("Lowered simplified");
1178 1175
1179 Run<BranchEliminationPhase>(); 1176 Run<BranchEliminationPhase>();
1180 RunPrintAndVerify("Branch conditions eliminated"); 1177 RunPrintAndVerify("Branch conditions eliminated");
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1481 tcf << AsC1VRegisterAllocationData("CodeGen", 1478 tcf << AsC1VRegisterAllocationData("CodeGen",
1482 data->register_allocation_data()); 1479 data->register_allocation_data());
1483 } 1480 }
1484 1481
1485 data->DeleteRegisterAllocationZone(); 1482 data->DeleteRegisterAllocationZone();
1486 } 1483 }
1487 1484
1488 } // namespace compiler 1485 } // namespace compiler
1489 } // namespace internal 1486 } // namespace internal
1490 } // namespace v8 1487 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/escape-analysis.cc ('k') | test/unittests/compiler/escape-analysis-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698