Searched refs:NumberOperationHint (Results 1 – 10 of 10) sorted by relevance
/third_party/node/deps/v8/src/compiler/ |
D | js-type-hint-lowering.cc | 22 BinaryOperationHint binop_hint, NumberOperationHint* number_hint) { in BinaryOperationHintToNumberOperationHint() 25 *number_hint = NumberOperationHint::kSignedSmall; in BinaryOperationHintToNumberOperationHint() 28 *number_hint = NumberOperationHint::kSignedSmallInputs; in BinaryOperationHintToNumberOperationHint() 31 *number_hint = NumberOperationHint::kNumber; in BinaryOperationHintToNumberOperationHint() 34 *number_hint = NumberOperationHint::kNumberOrOddball; in BinaryOperationHintToNumberOperationHint() 78 bool GetBinaryNumberOperationHint(NumberOperationHint* hint) { in GetBinaryNumberOperationHint() 88 bool GetCompareNumberOperationHint(NumberOperationHint* hint) { in GetCompareNumberOperationHint() 91 *hint = NumberOperationHint::kSignedSmall; in GetCompareNumberOperationHint() 94 *hint = NumberOperationHint::kNumber; in GetCompareNumberOperationHint() 97 *hint = NumberOperationHint::kNumberOrBoolean; in GetCompareNumberOperationHint() [all …]
|
D | simplified-operator.h | 524 enum class NumberOperationHint : uint8_t { enum 536 size_t hash_value(NumberOperationHint); 539 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, NumberOperationHint); 541 V8_EXPORT_PRIVATE NumberOperationHint NumberOperationHintOf(const Operator* op) 546 NumberOperationParameters(NumberOperationHint hint, in NumberOperationParameters() 550 NumberOperationHint hint() const { return hint_; } in hint() 554 NumberOperationHint hint_; 789 const Operator* SpeculativeSafeIntegerAdd(NumberOperationHint hint); in NON_EXPORTED_BASE() 790 const Operator* SpeculativeSafeIntegerSubtract(NumberOperationHint hint); in NON_EXPORTED_BASE() 792 const Operator* SpeculativeNumberAdd(NumberOperationHint hint); in NON_EXPORTED_BASE() [all …]
|
D | simplified-operator.cc | 509 std::ostream& operator<<(std::ostream& os, NumberOperationHint hint) { in operator <<() 511 case NumberOperationHint::kSignedSmall: in operator <<() 513 case NumberOperationHint::kSignedSmallInputs: in operator <<() 515 case NumberOperationHint::kNumber: in operator <<() 517 case NumberOperationHint::kNumberOrBoolean: in operator <<() 519 case NumberOperationHint::kNumberOrOddball: in operator <<() 525 size_t hash_value(NumberOperationHint hint) { in hash_value() 529 NumberOperationHint NumberOperationHintOf(const Operator* op) { in NumberOperationHintOf() 547 return OpParameter<NumberOperationHint>(op); in NumberOperationHintOf() 1145 template <NumberOperationHint kHint> \ [all …]
|
D | simplified-lowering.cc | 107 NumberOperationHint hint, IdentifyZeros identify_zeros = kDistinguishZeros, in CheckedUseInfoAsWord32FromHint() 110 case NumberOperationHint::kSignedSmall: in CheckedUseInfoAsWord32FromHint() 111 case NumberOperationHint::kSignedSmallInputs: in CheckedUseInfoAsWord32FromHint() 113 case NumberOperationHint::kNumber: in CheckedUseInfoAsWord32FromHint() 116 case NumberOperationHint::kNumberOrBoolean: in CheckedUseInfoAsWord32FromHint() 119 case NumberOperationHint::kNumberOrOddball: in CheckedUseInfoAsWord32FromHint() 127 NumberOperationHint hint, const FeedbackSource& feedback, in CheckedUseInfoAsFloat64FromHint() 130 case NumberOperationHint::kSignedSmall: in CheckedUseInfoAsFloat64FromHint() 131 case NumberOperationHint::kSignedSmallInputs: in CheckedUseInfoAsFloat64FromHint() 134 case NumberOperationHint::kNumber: in CheckedUseInfoAsFloat64FromHint() [all …]
|
D | typed-optimization.cc | 792 NumberOperationHint hint = NumberOperationHintOf(node->op()); in ReduceSpeculativeNumberAdd() 793 if ((hint == NumberOperationHint::kNumber || in ReduceSpeculativeNumberAdd() 794 hint == NumberOperationHint::kNumberOrOddball) && in ReduceSpeculativeNumberAdd() 860 NumberOperationHint hint = NumberOperationHintOf(node->op()); in ReduceSpeculativeNumberBinop() 861 if ((hint == NumberOperationHint::kNumber || in ReduceSpeculativeNumberBinop() 862 hint == NumberOperationHint::kNumberOrOddball) && in ReduceSpeculativeNumberBinop()
|
D | redundancy-elimination.cc | 308 NumberOperationHint const hint = NumberOperationHintOf(node->op()); in ReduceSpeculativeNumberComparison() 324 if (hint == NumberOperationHint::kSignedSmall) { in ReduceSpeculativeNumberComparison()
|
D | js-typed-lowering.cc | 41 bool GetCompareNumberOperationHint(NumberOperationHint* hint) { in GetCompareNumberOperationHint() 45 *hint = NumberOperationHint::kSignedSmall; in GetCompareNumberOperationHint() 48 *hint = NumberOperationHint::kNumber; in GetCompareNumberOperationHint() 51 *hint = NumberOperationHint::kNumberOrBoolean; in GetCompareNumberOperationHint() 54 *hint = NumberOperationHint::kNumberOrOddball; in GetCompareNumberOperationHint() 916 NumberOperationHint hint; in ReduceJSStrictEqual() 921 hint != NumberOperationHint::kNumberOrOddball && in ReduceJSStrictEqual() 922 hint != NumberOperationHint::kNumberOrBoolean) { in ReduceJSStrictEqual() 926 DCHECK(hint == NumberOperationHint::kNumber || in ReduceJSStrictEqual() 927 hint == NumberOperationHint::kSignedSmall); in ReduceJSStrictEqual()
|
D | js-call-reducer.cc | 264 NumberOperationHint hint = NumberOperationHint::kNumberOrOddball); 1027 TNode<Object> value, NumberOperationHint hint) { in SpeculativeToNumber() 2401 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathImul() 2405 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathImul() 2432 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathClz32() 2458 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceMathMinMax() 2462 simplified()->SpeculativeToNumber(NumberOperationHint::kNumberOrOddball, in ReduceMathMinMax() 6645 simplified()->SpeculativeToNumber(NumberOperationHint::kNumberOrOddball, in ReduceStringFromCharCode() 7905 simplified()->SpeculativeToNumber(NumberOperationHint::kNumberOrOddball, in ReduceDataViewAccess() 7986 NumberOperationHint::kNumberOrOddball, p.feedback()), in ReduceGlobalIsFinite() [all …]
|
D | js-native-context-specialization.cc | 2820 NumberOperationHint::kNumberOrOddball, FeedbackSource()), in BuildElementAccess() 2882 NumberOperationHint::kSignedSmall), in BuildElementAccess() 3068 NumberOperationHint::kSignedSmall), in BuildElementAccess()
|
D | bytecode-graph-builder.cc | 3592 NumberOperationHint::kSignedSmall), in VisitForInContinue() 3631 NumberOperationHint::kSignedSmall), in VisitForInStep()
|