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

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

Issue 1271703002: [turbofan] Stand-alone deferred block splitting - full. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/move-optimizer.cc ('k') | src/compiler/preprocess-live-ranges.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 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 << printable; 1330 << printable;
1331 } 1331 }
1332 if (verifier != nullptr) { 1332 if (verifier != nullptr) {
1333 CHECK(!data->register_allocation_data()->ExistsUseWithoutDefinition()); 1333 CHECK(!data->register_allocation_data()->ExistsUseWithoutDefinition());
1334 } 1334 }
1335 1335
1336 if (FLAG_turbo_preprocess_ranges) { 1336 if (FLAG_turbo_preprocess_ranges) {
1337 Run<PreprocessLiveRangesPhase>(); 1337 Run<PreprocessLiveRangesPhase>();
1338 } 1338 }
1339 1339
1340 if (FLAG_turbo_greedy_regalloc) { 1340 // TODO(mtrofin): re-enable greedy once we have bots for range preprocessing.
1341 Run<AllocateGeneralRegistersPhase<GreedyAllocator>>(); 1341 Run<AllocateGeneralRegistersPhase<LinearScanAllocator>>();
1342 Run<AllocateDoubleRegistersPhase<GreedyAllocator>>(); 1342 Run<AllocateDoubleRegistersPhase<LinearScanAllocator>>();
1343 } else {
1344 Run<AllocateGeneralRegistersPhase<LinearScanAllocator>>();
1345 Run<AllocateDoubleRegistersPhase<LinearScanAllocator>>();
1346 }
1347 1343
1348 if (FLAG_turbo_frame_elision) { 1344 if (FLAG_turbo_frame_elision) {
1349 Run<LocateSpillSlotsPhase>(); 1345 Run<LocateSpillSlotsPhase>();
1350 Run<FrameElisionPhase>(); 1346 Run<FrameElisionPhase>();
1351 } 1347 }
1352 1348
1353 Run<AssignSpillSlotsPhase>(); 1349 Run<AssignSpillSlotsPhase>();
1354 1350
1355 Run<CommitAssignmentPhase>(); 1351 Run<CommitAssignmentPhase>();
1356 Run<PopulateReferenceMapsPhase>(); 1352 Run<PopulateReferenceMapsPhase>();
(...skipping 20 matching lines...) Expand all
1377 tcf << AsC1VRegisterAllocationData("CodeGen", 1373 tcf << AsC1VRegisterAllocationData("CodeGen",
1378 data->register_allocation_data()); 1374 data->register_allocation_data());
1379 } 1375 }
1380 1376
1381 data->DeleteRegisterAllocationZone(); 1377 data->DeleteRegisterAllocationZone();
1382 } 1378 }
1383 1379
1384 } // namespace compiler 1380 } // namespace compiler
1385 } // namespace internal 1381 } // namespace internal
1386 } // namespace v8 1382 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/move-optimizer.cc ('k') | src/compiler/preprocess-live-ranges.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698