Lines Matching refs:Is
494 if (type != nullptr && new_type->Is(type)) return false; in UpdateFeedbackType()
666 DCHECK(info->restriction_type()->Is(restriction_type)); in SetOutput()
667 DCHECK(restriction_type->Is(info->restriction_type())); in SetOutput()
672 DCHECK(info->restriction_type()->Is(restriction_type)); in SetOutput()
673 DCHECK(restriction_type->Is(info->restriction_type())); in SetOutput()
687 return GetUpperBound(node->InputAt(0))->Is(type); in InputIs()
700 return GetUpperBound(node->InputAt(0))->Is(type) && in BothInputsAre()
701 GetUpperBound(node->InputAt(1))->Is(type); in BothInputsAre()
873 if (type->Is(Type::None())) { in GetOutputInfoForPhi()
875 } else if (type->Is(Type::Signed32()) || type->Is(Type::Unsigned32())) { in GetOutputInfoForPhi()
877 } else if (type->Is(Type::NumberOrOddball()) && use.IsUsedAsWord32()) { in GetOutputInfoForPhi()
879 } else if (type->Is(Type::Boolean())) { in GetOutputInfoForPhi()
881 } else if (type->Is(Type::NumberOrOddball()) && use.IsUsedAsFloat64()) { in GetOutputInfoForPhi()
883 } else if (type->Is( in GetOutputInfoForPhi()
890 } else if (type->Is(Type::Number())) { in GetOutputInfoForPhi()
892 } else if (type->Is(Type::ExternalPointer())) { in GetOutputInfoForPhi()
901 DCHECK(TypeOf(node->InputAt(0))->Is(Type::Boolean())); in VisitSelect()
950 if (input_type->Is(type)) { in VisitObjectIs()
990 if (type->Is(Type::Signed32())) { in DeoptValueSemanticOf()
992 } else if (type->Is(Type::Unsigned32())) { in DeoptValueSemanticOf()
1006 if (type->Is(Type::ExternalPointer())) { in DeoptMachineTypeOf()
1018 type->Is(Type::Boolean())); in DeoptMachineTypeOf()
1054 if (input_type->Is(Type::ExternalPointer())) { in VisitObjectState()
1110 if (field_type->Is(Type::BooleanOrNullOrUndefined()) || in WriteBarrierKindFor()
1111 value_type->Is(Type::BooleanOrNullOrUndefined())) { in WriteBarrierKindFor()
1171 (input0_type->Is(Type::OrderedNumber()) && in LowerToCheckedInt32Mul()
1173 (input1_type->Is(Type::OrderedNumber()) && in LowerToCheckedInt32Mul()
1203 (GetUpperBound(node)->Is(Type::Signed32()) || in VisitSpeculativeAdditiveOp()
1204 GetUpperBound(node)->Is(Type::Unsigned32()) || in VisitSpeculativeAdditiveOp()
1225 GetUpperBound(node)->Is(type_cache_.kSafeInteger))) { in VisitSpeculativeAdditiveOp()
1270 NodeProperties::GetType(node)->Is(Type::Unsigned32()))) { in VisitSpeculativeNumberModulus()
1278 NodeProperties::GetType(node)->Is(Type::Signed32()))) { in VisitSpeculativeNumberModulus()
1332 if (TypeOf(node->InputAt(0))->Is(Type::Unsigned32()) && in VisitSpeculativeNumberModulus()
1333 TypeOf(node->InputAt(1))->Is(Type::Unsigned32()) && in VisitSpeculativeNumberModulus()
1335 NodeProperties::GetType(node)->Is(Type::Unsigned32()))) { in VisitSpeculativeNumberModulus()
1344 if (TypeOf(node->InputAt(0))->Is(Type::Signed32()) && in VisitSpeculativeNumberModulus()
1345 TypeOf(node->InputAt(1))->Is(Type::Signed32()) && in VisitSpeculativeNumberModulus()
1347 NodeProperties::GetType(node)->Is(Type::Signed32()))) { in VisitSpeculativeNumberModulus()
1436 DCHECK(TypeOf(node->InputAt(0))->Is(Type::Boolean())); in VisitNode()
1509 if ((lhs_type->Is(Type::Unsigned32()) && in VisitNode()
1510 rhs_type->Is(Type::Unsigned32())) || in VisitNode()
1511 (lhs_type->Is(Type::Unsigned32OrMinusZeroOrNaN()) && in VisitNode()
1512 rhs_type->Is(Type::Unsigned32OrMinusZeroOrNaN()) && in VisitNode()
1520 if ((lhs_type->Is(Type::Signed32()) && in VisitNode()
1521 rhs_type->Is(Type::Signed32())) || in VisitNode()
1522 (lhs_type->Is(Type::Signed32OrMinusZeroOrNaN()) && in VisitNode()
1523 rhs_type->Is(Type::Signed32OrMinusZeroOrNaN()) && in VisitNode()
1540 if (TypeOf(node->InputAt(0))->Is(Type::Unsigned32()) && in VisitNode()
1541 TypeOf(node->InputAt(1))->Is(Type::Unsigned32())) { in VisitNode()
1546 } else if (TypeOf(node->InputAt(0))->Is(Type::Signed32()) && in VisitNode()
1547 TypeOf(node->InputAt(1))->Is(Type::Signed32())) { in VisitNode()
1576 if (TypeOf(node->InputAt(0))->Is(Type::Unsigned32()) && in VisitNode()
1577 TypeOf(node->InputAt(1))->Is(Type::Unsigned32())) { in VisitNode()
1583 } else if (TypeOf(node->InputAt(0))->Is(Type::Signed32()) && in VisitNode()
1584 TypeOf(node->InputAt(1))->Is(Type::Signed32())) { in VisitNode()
1639 (GetUpperBound(node)->Is(Type::Signed32()) || in VisitNode()
1640 GetUpperBound(node)->Is(Type::Unsigned32()) || in VisitNode()
1661 (NodeProperties::GetType(node)->Is(Type::Signed32()) || in VisitNode()
1662 NodeProperties::GetType(node)->Is(Type::Unsigned32()) || in VisitNode()
1664 NodeProperties::GetType(node)->Is( in VisitNode()
1714 (NodeProperties::GetType(node)->Is(Type::Signed32()) || in VisitNode()
1715 NodeProperties::GetType(node)->Is(Type::Unsigned32()) || in VisitNode()
1717 NodeProperties::GetType(node)->Is( in VisitNode()
1748 if (NodeProperties::GetType(node)->Is(Type::Signed32())) { in VisitNode()
1819 if (NodeProperties::GetType(node)->Is(Type::Signed32())) { in VisitNode()
1842 NodeProperties::GetType(node)->Is(Type::Unsigned32()))) { in VisitNode()
1850 NodeProperties::GetType(node)->Is(Type::Signed32()))) { in VisitNode()
1856 if (TypeOf(node->InputAt(0))->Is(Type::Unsigned32()) && in VisitNode()
1857 TypeOf(node->InputAt(1))->Is(Type::Unsigned32()) && in VisitNode()
1859 NodeProperties::GetType(node)->Is(Type::Unsigned32()))) { in VisitNode()
1868 if (TypeOf(node->InputAt(0))->Is(Type::Signed32()) && in VisitNode()
1869 TypeOf(node->InputAt(1))->Is(Type::Signed32()) && in VisitNode()
1871 NodeProperties::GetType(node)->Is(Type::Signed32()))) { in VisitNode()
1991 if (rhs_type->Is(type_cache_.kZeroish) && in VisitNode()
2025 if (TypeOf(node->InputAt(0))->Is(Type::Unsigned32())) { in VisitNode()
2029 } else if (TypeOf(node->InputAt(0))->Is(Type::Signed32())) { in VisitNode()
2034 ->Is(type_cache_.kPositiveIntegerOrMinusZeroOrNaN)) { in VisitNode()
2175 if (input_type->Is(Type::Integral32())) { in VisitNode()
2179 } else if (input_type->Is(Type::OrderedNumber())) { in VisitNode()
2206 if (input_type->Is(type_cache_.kUint8OrMinusZeroOrNaN)) { in VisitNode()
2210 } else if (input_type->Is(Type::Unsigned32OrMinusZeroOrNaN())) { in VisitNode()
2214 } else if (input_type->Is(Type::Signed32OrMinusZeroOrNaN())) { in VisitNode()
2218 } else if (input_type->Is(type_cache_.kIntegerOrMinusZeroOrNaN)) { in VisitNode()
2274 if (index_type->Is(Type::Unsigned32())) { in VisitNode()
3122 if (m.right().Is(-1)) { in Int32Div()
3124 } else if (m.right().Is(0)) { in Int32Div()
3196 if (m.right().Is(-1) || m.right().Is(0)) { in Int32Mod()
3309 if (m.right().Is(0)) { in Uint32Div()
3329 if (m.right().Is(0)) { in Uint32Mod()
3405 if (!rhs_type->Is(type_cache_.kZeroToThirtyOne)) { in DoShift()