Home
last modified time | relevance | path

Searched refs:NumberOperationHint (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/compiler/
Dsimplified-operator.h231 enum class NumberOperationHint : uint8_t { enum
238 size_t hash_value(NumberOperationHint);
240 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, NumberOperationHint);
242 NumberOperationHint NumberOperationHintOf(const Operator* op)
334 const Operator* SpeculativeNumberAdd(NumberOperationHint hint); in NON_EXPORTED_BASE()
335 const Operator* SpeculativeNumberSubtract(NumberOperationHint hint); in NON_EXPORTED_BASE()
336 const Operator* SpeculativeNumberMultiply(NumberOperationHint hint); in NON_EXPORTED_BASE()
337 const Operator* SpeculativeNumberDivide(NumberOperationHint hint); in NON_EXPORTED_BASE()
338 const Operator* SpeculativeNumberModulus(NumberOperationHint hint); in NON_EXPORTED_BASE()
339 const Operator* SpeculativeNumberShiftLeft(NumberOperationHint hint); in NON_EXPORTED_BASE()
[all …]
Djs-type-hint-lowering.cc36 bool GetBinaryNumberOperationHint(NumberOperationHint* hint) { in GetBinaryNumberOperationHint()
39 *hint = NumberOperationHint::kSignedSmall; in GetBinaryNumberOperationHint()
42 *hint = NumberOperationHint::kSigned32; in GetBinaryNumberOperationHint()
45 *hint = NumberOperationHint::kNumberOrOddball; in GetBinaryNumberOperationHint()
55 const Operator* SpeculativeNumberOp(NumberOperationHint hint) { in SpeculativeNumberOp()
137 NumberOperationHint hint; in ReduceBinaryOperation()
Dsimplified-operator.cc354 std::ostream& operator<<(std::ostream& os, NumberOperationHint hint) { in operator <<()
356 case NumberOperationHint::kSignedSmall: in operator <<()
358 case NumberOperationHint::kSigned32: in operator <<()
360 case NumberOperationHint::kNumber: in operator <<()
362 case NumberOperationHint::kNumberOrOddball: in operator <<()
369 size_t hash_value(NumberOperationHint hint) { in hash_value()
373 NumberOperationHint NumberOperationHintOf(const Operator* op) { in NumberOperationHintOf()
388 return OpParameter<NumberOperationHint>(op); in NumberOperationHintOf()
659 template <NumberOperationHint kHint> \
660 struct Name##Operator final : public Operator1<NumberOperationHint> { \
[all …]
Dsimplified-lowering.cc91 NumberOperationHint hint, CheckForMinusZeroMode minus_zero_mode = in CheckedUseInfoAsWord32FromHint()
94 case NumberOperationHint::kSignedSmall: in CheckedUseInfoAsWord32FromHint()
96 case NumberOperationHint::kSigned32: in CheckedUseInfoAsWord32FromHint()
98 case NumberOperationHint::kNumber: in CheckedUseInfoAsWord32FromHint()
100 case NumberOperationHint::kNumberOrOddball: in CheckedUseInfoAsWord32FromHint()
107 UseInfo CheckedUseInfoAsFloat64FromHint(NumberOperationHint hint) { in CheckedUseInfoAsFloat64FromHint()
109 case NumberOperationHint::kSignedSmall: in CheckedUseInfoAsFloat64FromHint()
110 case NumberOperationHint::kSigned32: in CheckedUseInfoAsFloat64FromHint()
114 case NumberOperationHint::kNumber: in CheckedUseInfoAsFloat64FromHint()
116 case NumberOperationHint::kNumberOrOddball: in CheckedUseInfoAsFloat64FromHint()
[all …]
Djs-typed-lowering.cc34 bool GetCompareNumberOperationHint(NumberOperationHint* hint) { in GetCompareNumberOperationHint()
39 *hint = NumberOperationHint::kSignedSmall; in GetCompareNumberOperationHint()
42 *hint = NumberOperationHint::kNumber; in GetCompareNumberOperationHint()
45 *hint = NumberOperationHint::kNumberOrOddball; in GetCompareNumberOperationHint()
542 NumberOperationHint hint = NumberOperationHintOf(node->op()); in ReduceSpeculativeNumberAdd()
543 if (hint == NumberOperationHint::kNumberOrOddball && in ReduceSpeculativeNumberAdd()
613 NumberOperationHint hint = NumberOperationHintOf(node->op()); in ReduceSpeculativeNumberBinop()
614 if (hint == NumberOperationHint::kNumberOrOddball && in ReduceSpeculativeNumberBinop()
801 NumberOperationHint hint; in ReduceJSComparison()
968 NumberOperationHint hint; in ReduceJSEqual()
[all …]
Dbytecode-graph-builder.cc1972 simplified()->SpeculativeNumberAdd(NumberOperationHint::kSignedSmall), in VisitForInStep()