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 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_ |
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ | 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
10 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 Reduction ReduceJSToObject(Node* node); | 68 Reduction ReduceJSToObject(Node* node); |
69 Reduction ReduceJSConvertReceiver(Node* node); | 69 Reduction ReduceJSConvertReceiver(Node* node); |
70 Reduction ReduceJSCallConstruct(Node* node); | 70 Reduction ReduceJSCallConstruct(Node* node); |
71 Reduction ReduceJSCallFunction(Node* node); | 71 Reduction ReduceJSCallFunction(Node* node); |
72 Reduction ReduceJSForInDone(Node* node); | 72 Reduction ReduceJSForInDone(Node* node); |
73 Reduction ReduceJSForInNext(Node* node); | 73 Reduction ReduceJSForInNext(Node* node); |
74 Reduction ReduceJSForInStep(Node* node); | 74 Reduction ReduceJSForInStep(Node* node); |
75 Reduction ReduceJSGeneratorStore(Node* node); | 75 Reduction ReduceJSGeneratorStore(Node* node); |
76 Reduction ReduceJSGeneratorRestoreContinuation(Node* node); | 76 Reduction ReduceJSGeneratorRestoreContinuation(Node* node); |
77 Reduction ReduceJSGeneratorRestoreRegister(Node* node); | 77 Reduction ReduceJSGeneratorRestoreRegister(Node* node); |
78 Reduction ReduceCheckMaps(Node* node); | |
79 Reduction ReduceCheckString(Node* node); | |
80 Reduction ReduceLoadField(Node* node); | |
81 Reduction ReduceNumberRoundop(Node* node); | |
82 Reduction ReduceSelect(Node* node); | |
83 Reduction ReducePhi(Node* node); | |
84 Reduction ReduceNumberBinop(Node* node); | 78 Reduction ReduceNumberBinop(Node* node); |
85 Reduction ReduceInt32Binop(Node* node); | 79 Reduction ReduceInt32Binop(Node* node); |
86 Reduction ReduceUI32Shift(Node* node, Signedness signedness); | 80 Reduction ReduceUI32Shift(Node* node, Signedness signedness); |
87 | 81 |
88 Factory* factory() const; | 82 Factory* factory() const; |
89 Graph* graph() const; | 83 Graph* graph() const; |
90 JSGraph* jsgraph() const { return jsgraph_; } | 84 JSGraph* jsgraph() const { return jsgraph_; } |
91 Isolate* isolate() const; | 85 Isolate* isolate() const; |
92 JSOperatorBuilder* javascript() const; | 86 JSOperatorBuilder* javascript() const; |
93 CommonOperatorBuilder* common() const; | 87 CommonOperatorBuilder* common() const; |
94 SimplifiedOperatorBuilder* simplified() const; | 88 SimplifiedOperatorBuilder* simplified() const; |
95 MachineOperatorBuilder* machine() const; | 89 MachineOperatorBuilder* machine() const; |
96 CompilationDependencies* dependencies() const; | 90 CompilationDependencies* dependencies() const; |
97 Flags flags() const { return flags_; } | 91 Flags flags() const { return flags_; } |
98 | 92 |
99 CompilationDependencies* dependencies_; | 93 CompilationDependencies* dependencies_; |
100 Flags flags_; | 94 Flags flags_; |
101 JSGraph* jsgraph_; | 95 JSGraph* jsgraph_; |
102 Type* shifted_int32_ranges_[4]; | 96 Type* shifted_int32_ranges_[4]; |
103 Type* const true_type_; | |
104 Type* const false_type_; | |
105 Type* const the_hole_type_; | 97 Type* const the_hole_type_; |
106 TypeCache const& type_cache_; | 98 TypeCache const& type_cache_; |
107 }; | 99 }; |
108 | 100 |
109 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) | 101 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) |
110 | 102 |
111 } // namespace compiler | 103 } // namespace compiler |
112 } // namespace internal | 104 } // namespace internal |
113 } // namespace v8 | 105 } // namespace v8 |
114 | 106 |
115 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 107 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
OLD | NEW |