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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 Node* control); | 136 Node* control); |
137 ValueEffectControl LowerPlainPrimitiveToFloat64(Node* node, Node* effect, | 137 ValueEffectControl LowerPlainPrimitiveToFloat64(Node* node, Node* effect, |
138 Node* control); | 138 Node* control); |
139 ValueEffectControl LowerTransitionElementsKind(Node* node, Node* effect, | 139 ValueEffectControl LowerTransitionElementsKind(Node* node, Node* effect, |
140 Node* control); | 140 Node* control); |
141 ValueEffectControl LowerLoadTypedElement(Node* node, Node* effect, | 141 ValueEffectControl LowerLoadTypedElement(Node* node, Node* effect, |
142 Node* control); | 142 Node* control); |
143 ValueEffectControl LowerStoreTypedElement(Node* node, Node* effect, | 143 ValueEffectControl LowerStoreTypedElement(Node* node, Node* effect, |
144 Node* control); | 144 Node* control); |
145 | 145 |
| 146 // Lowering of optional operators. |
| 147 ValueEffectControl LowerFloat64RoundUp(Node* node, Node* effect, |
| 148 Node* control); |
| 149 ValueEffectControl LowerFloat64RoundDown(Node* node, Node* effect, |
| 150 Node* control); |
| 151 ValueEffectControl LowerFloat64RoundTruncate(Node* node, Node* effect, |
| 152 Node* control); |
| 153 |
146 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, | 154 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, |
147 Node* control); | 155 Node* control); |
148 ValueEffectControl BuildCheckedFloat64ToInt32(CheckForMinusZeroMode mode, | 156 ValueEffectControl BuildCheckedFloat64ToInt32(CheckForMinusZeroMode mode, |
149 Node* value, Node* frame_state, | 157 Node* value, Node* frame_state, |
150 Node* effect, Node* control); | 158 Node* effect, Node* control); |
151 ValueEffectControl BuildCheckedHeapNumberOrOddballToFloat64(Node* value, | 159 ValueEffectControl BuildCheckedHeapNumberOrOddballToFloat64(Node* value, |
152 Node* frame_state, | 160 Node* frame_state, |
153 Node* effect, | 161 Node* effect, |
154 Node* control); | 162 Node* control); |
155 | 163 |
(...skipping 25 matching lines...) Expand all Loading... |
181 RegionObservability region_observability_ = RegionObservability::kObservable; | 189 RegionObservability region_observability_ = RegionObservability::kObservable; |
182 | 190 |
183 SetOncePointer<Operator const> to_number_operator_; | 191 SetOncePointer<Operator const> to_number_operator_; |
184 }; | 192 }; |
185 | 193 |
186 } // namespace compiler | 194 } // namespace compiler |
187 } // namespace internal | 195 } // namespace internal |
188 } // namespace v8 | 196 } // namespace v8 |
189 | 197 |
190 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ | 198 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
OLD | NEW |