OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_EFFECT_CONTROL_LINEARIZER_H_ | 5 #ifndef V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ | 6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
7 | 7 |
8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
10 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, | 48 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, |
49 Node* control); | 49 Node* control); |
50 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, | 50 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, |
51 Node* control); | 51 Node* control); |
52 | 52 |
53 Node* ChangeInt32ToSmi(Node* value); | 53 Node* ChangeInt32ToSmi(Node* value); |
54 Node* ChangeUint32ToSmi(Node* value); | 54 Node* ChangeUint32ToSmi(Node* value); |
55 Node* ChangeInt32ToFloat64(Node* value); | 55 Node* ChangeInt32ToFloat64(Node* value); |
56 Node* ChangeUint32ToFloat64(Node* value); | 56 Node* ChangeUint32ToFloat64(Node* value); |
57 | 57 |
58 Node* HeapNumberValueIndexConstant(); | |
59 Node* SmiMaxValueConstant(); | 58 Node* SmiMaxValueConstant(); |
60 Node* SmiShiftBitsConstant(); | 59 Node* SmiShiftBitsConstant(); |
61 | 60 |
62 JSGraph* jsgraph() const { return js_graph_; } | 61 JSGraph* jsgraph() const { return js_graph_; } |
63 Graph* graph() const; | 62 Graph* graph() const; |
64 Schedule* schedule() const { return schedule_; } | 63 Schedule* schedule() const { return schedule_; } |
65 Zone* temp_zone() const { return temp_zone_; } | 64 Zone* temp_zone() const { return temp_zone_; } |
66 CommonOperatorBuilder* common() const; | 65 CommonOperatorBuilder* common() const; |
67 SimplifiedOperatorBuilder* simplified() const; | 66 SimplifiedOperatorBuilder* simplified() const; |
68 MachineOperatorBuilder* machine() const; | 67 MachineOperatorBuilder* machine() const; |
69 | 68 |
70 JSGraph* js_graph_; | 69 JSGraph* js_graph_; |
71 Schedule* schedule_; | 70 Schedule* schedule_; |
72 Zone* temp_zone_; | 71 Zone* temp_zone_; |
73 SetOncePointer<const Operator> allocate_heap_number_operator_; | |
74 }; | 72 }; |
75 | 73 |
76 } // namespace compiler | 74 } // namespace compiler |
77 } // namespace internal | 75 } // namespace internal |
78 } // namespace v8 | 76 } // namespace v8 |
79 | 77 |
80 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ | 78 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
OLD | NEW |