Searched refs:BinaryOperationHint (Results 1 – 13 of 13) sorted by relevance
18 BinaryOperationHint ToBinaryOperationHint(Token::Value op, in ToBinaryOperationHint()22 return BinaryOperationHint::kNone; in ToBinaryOperationHint()24 return BinaryOperationHint::kSignedSmall; in ToBinaryOperationHint()27 ? BinaryOperationHint::kNumberOrOddball in ToBinaryOperationHint()28 : BinaryOperationHint::kSigned32; in ToBinaryOperationHint()30 return BinaryOperationHint::kNumberOrOddball; in ToBinaryOperationHint()32 return BinaryOperationHint::kString; in ToBinaryOperationHint()34 return BinaryOperationHint::kAny; in ToBinaryOperationHint()37 return BinaryOperationHint::kNone; in ToBinaryOperationHint()67 BinaryOperationHint* hint) const { in GetBinaryOperationHint()
414 BinaryOperationHint BinaryOperationHintOf(const Operator* op);435 const Operator* BitwiseOr(BinaryOperationHint hint); in NON_EXPORTED_BASE()436 const Operator* BitwiseXor(BinaryOperationHint hint); in NON_EXPORTED_BASE()437 const Operator* BitwiseAnd(BinaryOperationHint hint); in NON_EXPORTED_BASE()438 const Operator* ShiftLeft(BinaryOperationHint hint); in NON_EXPORTED_BASE()439 const Operator* ShiftRight(BinaryOperationHint hint); in NON_EXPORTED_BASE()440 const Operator* ShiftRightLogical(BinaryOperationHint hint); in NON_EXPORTED_BASE()441 const Operator* Add(BinaryOperationHint hint); in NON_EXPORTED_BASE()442 const Operator* Subtract(BinaryOperationHint hint); in NON_EXPORTED_BASE()443 const Operator* Multiply(BinaryOperationHint hint); in NON_EXPORTED_BASE()[all …]
412 BinaryOperationHint BinaryOperationHintOf(const Operator* op) { in BinaryOperationHintOf()424 return OpParameter<BinaryOperationHint>(op); in BinaryOperationHintOf()498 template <BinaryOperationHint kHint> \499 struct Name##Operator final : public Operator1<BinaryOperationHint> { \501 : Operator1<BinaryOperationHint>(IrOpcode::kJS##Name, \505 Name##Operator<BinaryOperationHint::kNone> k##Name##NoneOperator; \506 Name##Operator<BinaryOperationHint::kSignedSmall> \508 Name##Operator<BinaryOperationHint::kSigned32> k##Name##Signed32Operator; \509 Name##Operator<BinaryOperationHint::kNumberOrOddball> \511 Name##Operator<BinaryOperationHint::kString> k##Name##StringOperator; \[all …]
25 BinaryOperationHint* hint) const;
164 BinaryOperationHint GetBinaryOperationHint(int operand_index);
39 case BinaryOperationHint::kSignedSmall: in GetBinaryNumberOperationHint()42 case BinaryOperationHint::kSigned32: in GetBinaryNumberOperationHint()45 case BinaryOperationHint::kNumberOrOddball: in GetBinaryNumberOperationHint()48 case BinaryOperationHint::kAny: in GetBinaryNumberOperationHint()49 case BinaryOperationHint::kNone: in GetBinaryNumberOperationHint()50 case BinaryOperationHint::kString: in GetBinaryNumberOperationHint()85 BinaryOperationHintOf(node_->op()) == BinaryOperationHint::kString)) { in ShouldCreateConsString()
1427 BinaryOperationHint BytecodeGraphBuilder::GetBinaryOperationHint( in GetBinaryOperationHint()1801 index = NewNode(javascript()->Add(BinaryOperationHint::kSignedSmall), index, in VisitForInStep()
1440 index = NewNode(javascript()->Add(BinaryOperationHint::kSignedSmall), in VisitForInStatement()3799 BinaryOperationHint hint; in BuildBinaryOp()3802 hint = BinaryOperationHint::kAny; in BuildBinaryOp()
10 std::ostream& operator<<(std::ostream& os, BinaryOperationHint hint) { in operator <<()12 case BinaryOperationHint::kNone: in operator <<()14 case BinaryOperationHint::kSignedSmall: in operator <<()16 case BinaryOperationHint::kSigned32: in operator <<()18 case BinaryOperationHint::kNumberOrOddball: in operator <<()20 case BinaryOperationHint::kString: in operator <<()22 case BinaryOperationHint::kAny: in operator <<()
124 BinaryOperationHint BinaryOperationHintFromFeedback(int type_feedback) { in BinaryOperationHintFromFeedback()127 return BinaryOperationHint::kNone; in BinaryOperationHintFromFeedback()129 return BinaryOperationHint::kSignedSmall; in BinaryOperationHintFromFeedback()132 return BinaryOperationHint::kNumberOrOddball; in BinaryOperationHintFromFeedback()134 return BinaryOperationHint::kString; in BinaryOperationHintFromFeedback()137 return BinaryOperationHint::kAny; in BinaryOperationHintFromFeedback()140 return BinaryOperationHint::kNone; in BinaryOperationHintFromFeedback()206 BinaryOperationHint hint = in ComputeCounts()208 if (hint == BinaryOperationHint::kAny) { in ComputeCounts()210 } else if (hint != BinaryOperationHint::kNone) { in ComputeCounts()
15 enum class BinaryOperationHint : uint8_t { enum24 inline size_t hash_value(BinaryOperationHint hint) { in hash_value()28 std::ostream& operator<<(std::ostream&, BinaryOperationHint);
1048 BinaryOperationHint hint = GetBinaryOperationFeedback(); in StateFromFeedback()1049 if (hint == BinaryOperationHint::kNone) { in StateFromFeedback()1051 } else if (hint == BinaryOperationHint::kAny) { in StateFromFeedback()1069 BinaryOperationHint BinaryOpICNexus::GetBinaryOperationFeedback() const { in GetBinaryOperationFeedback()
672 BinaryOperationHint GetBinaryOperationFeedback() const;718 inline BinaryOperationHint BinaryOperationHintFromFeedback(int type_feedback);