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 25 matching lines...) Expand all Loading... |
36 struct ValueEffectControl { | 36 struct ValueEffectControl { |
37 Node* value; | 37 Node* value; |
38 Node* effect; | 38 Node* effect; |
39 Node* control; | 39 Node* control; |
40 ValueEffectControl(Node* value, Node* effect, Node* control) | 40 ValueEffectControl(Node* value, Node* effect, Node* control) |
41 : value(value), effect(effect), control(control) {} | 41 : value(value), effect(effect), control(control) {} |
42 }; | 42 }; |
43 | 43 |
44 bool TryWireInStateEffect(Node* node, Node* frame_state, Node** effect, | 44 bool TryWireInStateEffect(Node* node, Node* frame_state, Node** effect, |
45 Node** control); | 45 Node** control); |
46 ValueEffectControl LowerTypeGuard(Node* node, Node* effect, Node* control); | |
47 ValueEffectControl LowerChangeBitToTagged(Node* node, Node* effect, | 46 ValueEffectControl LowerChangeBitToTagged(Node* node, Node* effect, |
48 Node* control); | 47 Node* control); |
49 ValueEffectControl LowerChangeInt31ToTaggedSigned(Node* node, Node* effect, | 48 ValueEffectControl LowerChangeInt31ToTaggedSigned(Node* node, Node* effect, |
50 Node* control); | 49 Node* control); |
51 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect, | 50 ValueEffectControl LowerChangeInt32ToTagged(Node* node, Node* effect, |
52 Node* control); | 51 Node* control); |
53 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect, | 52 ValueEffectControl LowerChangeUint32ToTagged(Node* node, Node* effect, |
54 Node* control); | 53 Node* control); |
55 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, | 54 ValueEffectControl LowerChangeFloat64ToTagged(Node* node, Node* effect, |
56 Node* control); | 55 Node* control); |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 RegionObservability region_observability_ = RegionObservability::kObservable; | 148 RegionObservability region_observability_ = RegionObservability::kObservable; |
150 | 149 |
151 SetOncePointer<Operator const> to_number_operator_; | 150 SetOncePointer<Operator const> to_number_operator_; |
152 }; | 151 }; |
153 | 152 |
154 } // namespace compiler | 153 } // namespace compiler |
155 } // namespace internal | 154 } // namespace internal |
156 } // namespace v8 | 155 } // namespace v8 |
157 | 156 |
158 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ | 157 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
OLD | NEW |