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/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
9 #include "src/compiler/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 Reduction ReduceDoubleLo(Node* node); | 33 Reduction ReduceDoubleLo(Node* node); |
34 Reduction ReduceHeapObjectGetMap(Node* node); | 34 Reduction ReduceHeapObjectGetMap(Node* node); |
35 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); | 35 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); |
36 Reduction ReduceIsNonNegativeSmi(Node* node); | 36 Reduction ReduceIsNonNegativeSmi(Node* node); |
37 Reduction ReduceIsSmi(Node* node); | 37 Reduction ReduceIsSmi(Node* node); |
38 Reduction ReduceJSValueGetValue(Node* node); | 38 Reduction ReduceJSValueGetValue(Node* node); |
39 Reduction ReduceMapGetInstanceType(Node* node); | 39 Reduction ReduceMapGetInstanceType(Node* node); |
40 Reduction ReduceMathClz32(Node* node); | 40 Reduction ReduceMathClz32(Node* node); |
41 Reduction ReduceMathFloor(Node* node); | 41 Reduction ReduceMathFloor(Node* node); |
42 Reduction ReduceMathSqrt(Node* node); | 42 Reduction ReduceMathSqrt(Node* node); |
| 43 Reduction ReduceSeqStringGetChar(Node* node, String::Encoding encoding); |
| 44 Reduction ReduceSeqStringSetChar(Node* node, String::Encoding encoding); |
43 Reduction ReduceStringGetLength(Node* node); | 45 Reduction ReduceStringGetLength(Node* node); |
44 Reduction ReduceValueOf(Node* node); | 46 Reduction ReduceValueOf(Node* node); |
45 | 47 |
46 Reduction Change(Node* node, const Operator* op); | 48 Reduction Change(Node* node, const Operator* op); |
47 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); | 49 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); |
48 | 50 |
49 Graph* graph() const; | 51 Graph* graph() const; |
50 JSGraph* jsgraph() const { return jsgraph_; } | 52 JSGraph* jsgraph() const { return jsgraph_; } |
51 CommonOperatorBuilder* common() const; | 53 CommonOperatorBuilder* common() const; |
52 MachineOperatorBuilder* machine() const; | 54 MachineOperatorBuilder* machine() const; |
53 SimplifiedOperatorBuilder* simplified() { return &simplified_; } | 55 SimplifiedOperatorBuilder* simplified() { return &simplified_; } |
54 | 56 |
55 JSGraph* jsgraph_; | 57 JSGraph* jsgraph_; |
56 SimplifiedOperatorBuilder simplified_; | 58 SimplifiedOperatorBuilder simplified_; |
57 }; | 59 }; |
58 | 60 |
59 } // namespace compiler | 61 } // namespace compiler |
60 } // namespace internal | 62 } // namespace internal |
61 } // namespace v8 | 63 } // namespace v8 |
62 | 64 |
63 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 65 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |