Home
last modified time | relevance | path

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

/external/v8/src/compiler/
Dsimplified-operator.h436 enum class NumberOperationHint : uint8_t { enum
444 size_t hash_value(NumberOperationHint);
446 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, NumberOperationHint);
448 V8_EXPORT_PRIVATE NumberOperationHint NumberOperationHintOf(const Operator* op)
453 NumberOperationParameters(NumberOperationHint hint, in NumberOperationParameters()
457 NumberOperationHint hint() const { return hint_; } in hint()
461 NumberOperationHint hint_;
593 const Operator* SpeculativeSafeIntegerAdd(NumberOperationHint hint); in NON_EXPORTED_BASE()
594 const Operator* SpeculativeSafeIntegerSubtract(NumberOperationHint hint); in NON_EXPORTED_BASE()
596 const Operator* SpeculativeNumberAdd(NumberOperationHint hint); in NON_EXPORTED_BASE()
[all …]
Djs-type-hint-lowering.cc21 BinaryOperationHint binop_hint, NumberOperationHint* number_hint) { in BinaryOperationHintToNumberOperationHint()
24 *number_hint = NumberOperationHint::kSignedSmall; in BinaryOperationHintToNumberOperationHint()
27 *number_hint = NumberOperationHint::kSignedSmallInputs; in BinaryOperationHintToNumberOperationHint()
30 *number_hint = NumberOperationHint::kSigned32; in BinaryOperationHintToNumberOperationHint()
33 *number_hint = NumberOperationHint::kNumber; in BinaryOperationHintToNumberOperationHint()
36 *number_hint = NumberOperationHint::kNumberOrOddball; in BinaryOperationHintToNumberOperationHint()
72 bool GetBinaryNumberOperationHint(NumberOperationHint* hint) { in GetBinaryNumberOperationHint()
77 bool GetCompareNumberOperationHint(NumberOperationHint* hint) { in GetCompareNumberOperationHint()
80 *hint = NumberOperationHint::kSignedSmall; in GetCompareNumberOperationHint()
83 *hint = NumberOperationHint::kNumber; in GetCompareNumberOperationHint()
[all …]
Dsimplified-operator.cc510 std::ostream& operator<<(std::ostream& os, NumberOperationHint hint) { in operator <<()
512 case NumberOperationHint::kSignedSmall: in operator <<()
514 case NumberOperationHint::kSignedSmallInputs: in operator <<()
516 case NumberOperationHint::kSigned32: in operator <<()
518 case NumberOperationHint::kNumber: in operator <<()
520 case NumberOperationHint::kNumberOrOddball: in operator <<()
526 size_t hash_value(NumberOperationHint hint) { in hash_value()
530 NumberOperationHint NumberOperationHintOf(const Operator* op) { in NumberOperationHintOf()
547 return OpParameter<NumberOperationHint>(op); in NumberOperationHintOf()
1078 template <NumberOperationHint kHint> \
[all …]
Dsimplified-lowering.cc94 NumberOperationHint hint, const VectorSlotPair& feedback = VectorSlotPair(), in CheckedUseInfoAsWord32FromHint()
97 case NumberOperationHint::kSignedSmall: in CheckedUseInfoAsWord32FromHint()
98 case NumberOperationHint::kSignedSmallInputs: in CheckedUseInfoAsWord32FromHint()
100 case NumberOperationHint::kSigned32: in CheckedUseInfoAsWord32FromHint()
102 case NumberOperationHint::kNumber: in CheckedUseInfoAsWord32FromHint()
104 case NumberOperationHint::kNumberOrOddball: in CheckedUseInfoAsWord32FromHint()
110 UseInfo CheckedUseInfoAsFloat64FromHint(NumberOperationHint hint, in CheckedUseInfoAsFloat64FromHint()
113 case NumberOperationHint::kSignedSmall: in CheckedUseInfoAsFloat64FromHint()
114 case NumberOperationHint::kSignedSmallInputs: in CheckedUseInfoAsFloat64FromHint()
115 case NumberOperationHint::kSigned32: in CheckedUseInfoAsFloat64FromHint()
[all …]
Djs-typed-lowering.cc36 bool GetCompareNumberOperationHint(NumberOperationHint* hint) { in GetCompareNumberOperationHint()
40 *hint = NumberOperationHint::kSignedSmall; in GetCompareNumberOperationHint()
43 *hint = NumberOperationHint::kNumber; in GetCompareNumberOperationHint()
46 *hint = NumberOperationHint::kNumberOrOddball; in GetCompareNumberOperationHint()
427 NumberOperationHint hint = NumberOperationHintOf(node->op()); in ReduceSpeculativeNumberAdd()
428 if ((hint == NumberOperationHint::kNumber || in ReduceSpeculativeNumberAdd()
429 hint == NumberOperationHint::kNumberOrOddball) && in ReduceSpeculativeNumberAdd()
624 NumberOperationHint hint = NumberOperationHintOf(node->op()); in ReduceSpeculativeNumberBinop()
625 if ((hint == NumberOperationHint::kNumber || in ReduceSpeculativeNumberBinop()
626 hint == NumberOperationHint::kNumberOrOddball) && in ReduceSpeculativeNumberBinop()
[all …]
Djs-call-reducer.cc51 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathUnary()
77 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathBinary()
81 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathBinary()
108 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathImul()
112 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathImul()
138 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathClz32()
163 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathMinMax()
167 simplified()->SpeculativeToNumber(NumberOperationHint::kNumberOrOddball, in ReduceMathMinMax()
5320 simplified()->SpeculativeToNumber(NumberOperationHint::kNumberOrOddball, in ReduceStringFromCharCode()
6996 simplified()->SpeculativeToNumber(NumberOperationHint::kNumberOrOddball, in ReduceDataViewPrototypeSet()
[all …]
Dbytecode-graph-builder.cc2767 NumberOperationHint::kSignedSmall), in VisitForInContinue()
2807 NumberOperationHint::kSignedSmall), in VisitForInStep()
Djs-native-context-specialization.cc2382 NumberOperationHint::kNumberOrOddball, VectorSlotPair()), in BuildElementAccess()