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/compiler/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
9 #include "src/compiler/opcodes.h" | 9 #include "src/compiler/opcodes.h" |
10 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 Reduction ReduceJSLoadContext(Node* node); | 47 Reduction ReduceJSLoadContext(Node* node); |
48 Reduction ReduceJSStoreContext(Node* node); | 48 Reduction ReduceJSStoreContext(Node* node); |
49 Reduction ReduceJSEqual(Node* node, bool invert); | 49 Reduction ReduceJSEqual(Node* node, bool invert); |
50 Reduction ReduceJSStrictEqual(Node* node, bool invert); | 50 Reduction ReduceJSStrictEqual(Node* node, bool invert); |
51 Reduction ReduceJSUnaryNot(Node* node); | 51 Reduction ReduceJSUnaryNot(Node* node); |
52 Reduction ReduceJSToBoolean(Node* node); | 52 Reduction ReduceJSToBoolean(Node* node); |
53 Reduction ReduceJSToNumberInput(Node* input); | 53 Reduction ReduceJSToNumberInput(Node* input); |
54 Reduction ReduceJSToNumber(Node* node); | 54 Reduction ReduceJSToNumber(Node* node); |
55 Reduction ReduceJSToStringInput(Node* input); | 55 Reduction ReduceJSToStringInput(Node* input); |
56 Reduction ReduceJSToString(Node* node); | 56 Reduction ReduceJSToString(Node* node); |
| 57 Reduction ReduceJSCreateClosure(Node* node); |
57 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); | 58 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); |
58 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); | 59 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); |
59 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, | 60 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, |
60 const Operator* shift_op); | 61 const Operator* shift_op); |
61 | 62 |
62 Node* ConvertPrimitiveToNumber(Node* input); | 63 Node* ConvertPrimitiveToNumber(Node* input); |
63 template <IrOpcode::Value> | 64 template <IrOpcode::Value> |
64 Node* FindConversion(Node* input); | 65 Node* FindConversion(Node* input); |
65 void InsertConversion(Node* conversion); | 66 void InsertConversion(Node* conversion); |
66 | 67 |
(...skipping 14 matching lines...) Expand all Loading... |
81 Type* one_range_; | 82 Type* one_range_; |
82 Type* zero_thirtyone_range_; | 83 Type* zero_thirtyone_range_; |
83 Type* shifted_int32_ranges_[4]; | 84 Type* shifted_int32_ranges_[4]; |
84 }; | 85 }; |
85 | 86 |
86 } // namespace compiler | 87 } // namespace compiler |
87 } // namespace internal | 88 } // namespace internal |
88 } // namespace v8 | 89 } // namespace v8 |
89 | 90 |
90 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 91 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
OLD | NEW |