OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_INTRINSIC_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
7 | 7 |
8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, | 34 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, |
35 DeoptimizationMode mode); | 35 DeoptimizationMode mode); |
36 ~JSIntrinsicLowering() final {} | 36 ~JSIntrinsicLowering() final {} |
37 | 37 |
38 Reduction Reduce(Node* node) final; | 38 Reduction Reduce(Node* node) final; |
39 | 39 |
40 private: | 40 private: |
41 Reduction ReduceConstructDouble(Node* node); | 41 Reduction ReduceConstructDouble(Node* node); |
42 Reduction ReduceCreateIterResultObject(Node* node); | 42 Reduction ReduceCreateIterResultObject(Node* node); |
43 Reduction ReduceDateField(Node* node); | |
44 Reduction ReduceDeoptimizeNow(Node* node); | 43 Reduction ReduceDeoptimizeNow(Node* node); |
45 Reduction ReduceDoubleHi(Node* node); | 44 Reduction ReduceDoubleHi(Node* node); |
46 Reduction ReduceDoubleLo(Node* node); | 45 Reduction ReduceDoubleLo(Node* node); |
47 Reduction ReduceIncrementStatsCounter(Node* node); | 46 Reduction ReduceIncrementStatsCounter(Node* node); |
48 Reduction ReduceIsMinusZero(Node* node); | 47 Reduction ReduceIsMinusZero(Node* node); |
49 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); | 48 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); |
50 Reduction ReduceIsFunction(Node* node); | 49 Reduction ReduceIsFunction(Node* node); |
51 Reduction ReduceIsJSReceiver(Node* node); | 50 Reduction ReduceIsJSReceiver(Node* node); |
52 Reduction ReduceIsSmi(Node* node); | 51 Reduction ReduceIsSmi(Node* node); |
53 Reduction ReduceJSValueGetValue(Node* node); | 52 Reduction ReduceJSValueGetValue(Node* node); |
54 Reduction ReduceMathClz32(Node* node); | 53 Reduction ReduceMathClz32(Node* node); |
55 Reduction ReduceMathFloor(Node* node); | 54 Reduction ReduceMathFloor(Node* node); |
56 Reduction ReduceMathSqrt(Node* node); | 55 Reduction ReduceMathSqrt(Node* node); |
57 Reduction ReduceValueOf(Node* node); | 56 Reduction ReduceValueOf(Node* node); |
58 Reduction ReduceFixedArrayGet(Node* node); | 57 Reduction ReduceFixedArrayGet(Node* node); |
59 Reduction ReduceFixedArraySet(Node* node); | 58 Reduction ReduceFixedArraySet(Node* node); |
60 Reduction ReduceRegExpConstructResult(Node* node); | 59 Reduction ReduceRegExpConstructResult(Node* node); |
61 Reduction ReduceRegExpExec(Node* node); | 60 Reduction ReduceRegExpExec(Node* node); |
62 Reduction ReduceRegExpFlags(Node* node); | 61 Reduction ReduceRegExpFlags(Node* node); |
63 Reduction ReduceRegExpSource(Node* node); | 62 Reduction ReduceRegExpSource(Node* node); |
64 Reduction ReduceSubString(Node* node); | 63 Reduction ReduceSubString(Node* node); |
65 Reduction ReduceThrowNotDateError(Node* node); | |
66 Reduction ReduceToInteger(Node* node); | 64 Reduction ReduceToInteger(Node* node); |
67 Reduction ReduceToLength(Node* node); | 65 Reduction ReduceToLength(Node* node); |
68 Reduction ReduceToName(Node* node); | 66 Reduction ReduceToName(Node* node); |
69 Reduction ReduceToNumber(Node* node); | 67 Reduction ReduceToNumber(Node* node); |
70 Reduction ReduceToObject(Node* node); | 68 Reduction ReduceToObject(Node* node); |
71 Reduction ReduceToPrimitive(Node* node); | 69 Reduction ReduceToPrimitive(Node* node); |
72 Reduction ReduceToString(Node* node); | 70 Reduction ReduceToString(Node* node); |
73 Reduction ReduceCall(Node* node); | 71 Reduction ReduceCall(Node* node); |
74 Reduction ReduceTailCall(Node* node); | 72 Reduction ReduceTailCall(Node* node); |
75 Reduction ReduceGetSuperConstructor(Node* node); | 73 Reduction ReduceGetSuperConstructor(Node* node); |
(...skipping 20 matching lines...) Expand all Loading... |
96 JSGraph* const jsgraph_; | 94 JSGraph* const jsgraph_; |
97 DeoptimizationMode const mode_; | 95 DeoptimizationMode const mode_; |
98 TypeCache const& type_cache_; | 96 TypeCache const& type_cache_; |
99 }; | 97 }; |
100 | 98 |
101 } // namespace compiler | 99 } // namespace compiler |
102 } // namespace internal | 100 } // namespace internal |
103 } // namespace v8 | 101 } // namespace v8 |
104 | 102 |
105 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 103 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |