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

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: Small improvements 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
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 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 // Lower JSOperators where we can determine types. 1157 // Lower JSOperators where we can determine types.
1158 Run<TypedLoweringPhase>(); 1158 Run<TypedLoweringPhase>();
1159 RunPrintAndVerify("Lowered typed"); 1159 RunPrintAndVerify("Lowered typed");
1160 1160
1161 if (FLAG_turbo_stress_loop_peeling) { 1161 if (FLAG_turbo_stress_loop_peeling) {
1162 Run<StressLoopPeelingPhase>(); 1162 Run<StressLoopPeelingPhase>();
1163 RunPrintAndVerify("Loop peeled"); 1163 RunPrintAndVerify("Loop peeled");
1164 } 1164 }
1165 1165
1166 if (FLAG_turbo_escape) { 1166 if (FLAG_turbo_escape) {
1167 // TODO(sigurds): EscapeAnalysis needs a trimmed graph at the moment,
1168 // because it does a forwards traversal of the effect edges.
1169 Run<EarlyGraphTrimmingPhase>();
Michael Starzinger 2016/01/12 17:27:44 Woot, I like it!
1170 Run<EscapeAnalysisPhase>(); 1167 Run<EscapeAnalysisPhase>();
1171 RunPrintAndVerify("Escape Analysed"); 1168 RunPrintAndVerify("Escape Analysed");
1172 } 1169 }
1173 1170
1174 // Lower simplified operators and insert changes. 1171 // Lower simplified operators and insert changes.
1175 Run<SimplifiedLoweringPhase>(); 1172 Run<SimplifiedLoweringPhase>();
1176 RunPrintAndVerify("Lowered simplified"); 1173 RunPrintAndVerify("Lowered simplified");
1177 1174
1178 Run<BranchEliminationPhase>(); 1175 Run<BranchEliminationPhase>();
1179 RunPrintAndVerify("Branch conditions eliminated"); 1176 RunPrintAndVerify("Branch conditions eliminated");
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1480 tcf << AsC1VRegisterAllocationData("CodeGen", 1477 tcf << AsC1VRegisterAllocationData("CodeGen",
1481 data->register_allocation_data()); 1478 data->register_allocation_data());
1482 } 1479 }
1483 1480
1484 data->DeleteRegisterAllocationZone(); 1481 data->DeleteRegisterAllocationZone();
1485 } 1482 }
1486 1483
1487 } // namespace compiler 1484 } // namespace compiler
1488 } // namespace internal 1485 } // namespace internal
1489 } // namespace v8 1486 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698