Searched refs:IsKind (Results 1 – 2 of 2) sorted by relevance
289 static bool IsKind(Type type, Kind kind);397 bool IsRange() const { return IsKind(TypeBase::kRange); } in IsRange()398 bool IsHeapConstant() const { return IsKind(TypeBase::kHeapConstant); } in IsHeapConstant()400 return IsKind(TypeBase::kOtherNumberConstant); in IsOtherNumberConstant()402 bool IsTuple() const { return IsKind(TypeBase::kTuple); } in IsTuple()455 bool IsKind(TypeBase::Kind kind) const { in IsKind() function467 bool IsUnion() const { return IsKind(TypeBase::kUnion); } in IsUnion()
1090 DCHECK(IsKind(TypeBase::kHeapConstant)); in AsHeapConstant()1095 DCHECK(IsKind(TypeBase::kOtherNumberConstant)); in AsOtherNumberConstant()1100 DCHECK(IsKind(TypeBase::kRange)); in AsRange()1105 DCHECK(IsKind(TypeBase::kTuple)); in AsTuple()1110 DCHECK(IsKind(TypeBase::kUnion)); in AsUnion()