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

Side by Side Diff: src/compiler/instruction-selector.h

Issue 864293002: [turbofan] Cleanup Schedule and related classes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address auto comments. Created 5 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/instruction.cc ('k') | src/compiler/schedule.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 // 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 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_ 5 #ifndef V8_COMPILER_INSTRUCTION_SELECTOR_H_
6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_ 6 #define V8_COMPILER_INSTRUCTION_SELECTOR_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
11 #include "src/compiler/instruction.h" 11 #include "src/compiler/instruction.h"
12 #include "src/compiler/machine-operator.h" 12 #include "src/compiler/machine-operator.h"
13 #include "src/compiler/node.h"
13 #include "src/zone-containers.h" 14 #include "src/zone-containers.h"
14 15
15 namespace v8 { 16 namespace v8 {
16 namespace internal { 17 namespace internal {
17 namespace compiler { 18 namespace compiler {
18 19
19 // Forward declarations. 20 // Forward declarations.
20 struct CallBuffer; // TODO(bmeurer): Remove this. 21 struct CallBuffer; // TODO(bmeurer): Remove this.
21 class FlagsContinuation; 22 class FlagsContinuation;
22 class Linkage; 23 class Linkage;
23 24
25
26 // Instruction selection generates an InstructionSequence for a given Schedule.
24 class InstructionSelector FINAL { 27 class InstructionSelector FINAL {
25 public: 28 public:
26 // Forward declarations. 29 // Forward declarations.
27 class Features; 30 class Features;
28 31
29 InstructionSelector(Zone* zone, size_t node_count, Linkage* linkage, 32 InstructionSelector(Zone* zone, size_t node_count, Linkage* linkage,
30 InstructionSequence* sequence, Schedule* schedule, 33 InstructionSequence* sequence, Schedule* schedule,
31 SourcePositionTable* source_positions, 34 SourcePositionTable* source_positions,
32 Features features = SupportedFeatures()); 35 Features features = SupportedFeatures());
33 36
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 BoolVector defined_; 224 BoolVector defined_;
222 BoolVector used_; 225 BoolVector used_;
223 IntVector virtual_registers_; 226 IntVector virtual_registers_;
224 }; 227 };
225 228
226 } // namespace compiler 229 } // namespace compiler
227 } // namespace internal 230 } // namespace internal
228 } // namespace v8 231 } // namespace v8
229 232
230 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_ 233 #endif // V8_COMPILER_INSTRUCTION_SELECTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction.cc ('k') | src/compiler/schedule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698