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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 ValueEffectControl LowerLoadTypedElement(Node* node, Node* effect, | 175 ValueEffectControl LowerLoadTypedElement(Node* node, Node* effect, |
176 Node* control); | 176 Node* control); |
177 ValueEffectControl LowerStoreTypedElement(Node* node, Node* effect, | 177 ValueEffectControl LowerStoreTypedElement(Node* node, Node* effect, |
178 Node* control); | 178 Node* control); |
179 | 179 |
180 // Lowering of optional operators. | 180 // Lowering of optional operators. |
181 ValueEffectControl LowerFloat64RoundUp(Node* node, Node* effect, | 181 ValueEffectControl LowerFloat64RoundUp(Node* node, Node* effect, |
182 Node* control); | 182 Node* control); |
183 ValueEffectControl LowerFloat64RoundDown(Node* node, Node* effect, | 183 ValueEffectControl LowerFloat64RoundDown(Node* node, Node* effect, |
184 Node* control); | 184 Node* control); |
| 185 ValueEffectControl LowerFloat64RoundTiesEven(Node* node, Node* effect, |
| 186 Node* control); |
185 ValueEffectControl LowerFloat64RoundTruncate(Node* node, Node* effect, | 187 ValueEffectControl LowerFloat64RoundTruncate(Node* node, Node* effect, |
186 Node* control); | 188 Node* control); |
187 | 189 |
188 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, | 190 ValueEffectControl AllocateHeapNumberWithValue(Node* node, Node* effect, |
189 Node* control); | 191 Node* control); |
190 ValueEffectControl BuildCheckedFloat64ToInt32(CheckForMinusZeroMode mode, | 192 ValueEffectControl BuildCheckedFloat64ToInt32(CheckForMinusZeroMode mode, |
191 Node* value, Node* frame_state, | 193 Node* value, Node* frame_state, |
192 Node* effect, Node* control); | 194 Node* effect, Node* control); |
193 ValueEffectControl BuildCheckedHeapNumberOrOddballToFloat64( | 195 ValueEffectControl BuildCheckedHeapNumberOrOddballToFloat64( |
194 CheckTaggedInputMode mode, Node* value, Node* frame_state, Node* effect, | 196 CheckTaggedInputMode mode, Node* value, Node* frame_state, Node* effect, |
195 Node* control); | 197 Node* control); |
| 198 ValueEffectControl BuildFloat64RoundDown(Node* value, Node* effect, |
| 199 Node* control); |
196 ValueEffectControl LowerStringComparison(Callable const& callable, Node* node, | 200 ValueEffectControl LowerStringComparison(Callable const& callable, Node* node, |
197 Node* effect, Node* control); | 201 Node* effect, Node* control); |
198 | 202 |
199 Node* ChangeInt32ToSmi(Node* value); | 203 Node* ChangeInt32ToSmi(Node* value); |
200 Node* ChangeUint32ToSmi(Node* value); | 204 Node* ChangeUint32ToSmi(Node* value); |
201 Node* ChangeInt32ToFloat64(Node* value); | 205 Node* ChangeInt32ToFloat64(Node* value); |
202 Node* ChangeUint32ToFloat64(Node* value); | 206 Node* ChangeUint32ToFloat64(Node* value); |
203 Node* ChangeSmiToInt32(Node* value); | 207 Node* ChangeSmiToInt32(Node* value); |
204 Node* ObjectIsSmi(Node* value); | 208 Node* ObjectIsSmi(Node* value); |
205 | 209 |
(...skipping 18 matching lines...) Expand all Loading... |
224 RegionObservability region_observability_ = RegionObservability::kObservable; | 228 RegionObservability region_observability_ = RegionObservability::kObservable; |
225 | 229 |
226 SetOncePointer<Operator const> to_number_operator_; | 230 SetOncePointer<Operator const> to_number_operator_; |
227 }; | 231 }; |
228 | 232 |
229 } // namespace compiler | 233 } // namespace compiler |
230 } // namespace internal | 234 } // namespace internal |
231 } // namespace v8 | 235 } // namespace v8 |
232 | 236 |
233 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ | 237 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ |
OLD | NEW |