OLD | NEW |
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 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1152 // Lower JSOperators where we can determine types. | 1152 // Lower JSOperators where we can determine types. |
1153 Run<TypedLoweringPhase>(); | 1153 Run<TypedLoweringPhase>(); |
1154 RunPrintAndVerify("Lowered typed"); | 1154 RunPrintAndVerify("Lowered typed"); |
1155 | 1155 |
1156 if (FLAG_turbo_stress_loop_peeling) { | 1156 if (FLAG_turbo_stress_loop_peeling) { |
1157 Run<StressLoopPeelingPhase>(); | 1157 Run<StressLoopPeelingPhase>(); |
1158 RunPrintAndVerify("Loop peeled"); | 1158 RunPrintAndVerify("Loop peeled"); |
1159 } | 1159 } |
1160 | 1160 |
1161 if (FLAG_turbo_escape) { | 1161 if (FLAG_turbo_escape) { |
| 1162 // TODO(sigurds): EscapeAnalysis needs a trimmed graph at the moment, |
| 1163 // because it does a forwards traversal of the effect edges. |
| 1164 Run<EarlyGraphTrimmingPhase>(); |
1162 Run<EscapeAnalysisPhase>(); | 1165 Run<EscapeAnalysisPhase>(); |
1163 RunPrintAndVerify("Escape Analysed"); | 1166 RunPrintAndVerify("Escape Analysed"); |
1164 } | 1167 } |
1165 | 1168 |
1166 // Lower simplified operators and insert changes. | 1169 // Lower simplified operators and insert changes. |
1167 Run<SimplifiedLoweringPhase>(); | 1170 Run<SimplifiedLoweringPhase>(); |
1168 RunPrintAndVerify("Lowered simplified"); | 1171 RunPrintAndVerify("Lowered simplified"); |
1169 | 1172 |
1170 Run<BranchEliminationPhase>(); | 1173 Run<BranchEliminationPhase>(); |
1171 RunPrintAndVerify("Branch conditions eliminated"); | 1174 RunPrintAndVerify("Branch conditions eliminated"); |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1472 tcf << AsC1VRegisterAllocationData("CodeGen", | 1475 tcf << AsC1VRegisterAllocationData("CodeGen", |
1473 data->register_allocation_data()); | 1476 data->register_allocation_data()); |
1474 } | 1477 } |
1475 | 1478 |
1476 data->DeleteRegisterAllocationZone(); | 1479 data->DeleteRegisterAllocationZone(); |
1477 } | 1480 } |
1478 | 1481 |
1479 } // namespace compiler | 1482 } // namespace compiler |
1480 } // namespace internal | 1483 } // namespace internal |
1481 } // namespace v8 | 1484 } // namespace v8 |
OLD | NEW |