Home
last modified time | relevance | path

Searched refs:RangeType (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/compiler/
Dtypes.cc27 bool RangeType::Limits::IsEmpty() { return this->min > this->max; } in IsEmpty()
29 RangeType::Limits RangeType::Limits::Intersect(Limits lhs, Limits rhs) { in Intersect()
37 RangeType::Limits RangeType::Limits::Union(Limits lhs, Limits rhs) { in Union()
47 bool Type::Overlap(RangeType* lhs, RangeType* rhs) { in Overlap()
49 return !RangeType::Limits::Intersect(RangeType::Limits(lhs), in Overlap()
50 RangeType::Limits(rhs)) in Overlap()
54 bool Type::Contains(RangeType* lhs, RangeType* rhs) { in Contains()
59 bool Type::Contains(RangeType* range, i::Object* val) { in Contains()
656 RangeType::Limits lims = RangeType::Limits::Empty(); in Intersect()
662 size = UpdateRange(RangeType::New(lims, zone), result, size, zone); in Intersect()
[all …]
Dtypes.h355 class RangeType : public TypeBase {
361 explicit Limits(RangeType* range) : min(range->Min()), max(range->Max()) {} in Limits()
389 return AsType(new (zone->New(sizeof(RangeType))) RangeType(bits, lim)); in New()
392 static RangeType* cast(Type* type) { in cast()
394 return static_cast<RangeType*>(FromType(type)); in cast()
397 RangeType(BitsetType::bitset bitset, Limits limits) in RangeType() function
517 return RangeType::New(min, max, zone); in Range()
568 RangeType* AsRange() { return RangeType::cast(this); } in AsRange()
629 static bool Overlap(RangeType* lhs, RangeType* rhs);
630 static bool Contains(RangeType* lhs, RangeType* rhs);
[all …]
Doperation-typer.h16 class RangeType; variable
/external/clang/lib/Sema/
DSemaStmt.cpp2032 QualType RangeType, in BuildNonArrayForRange() argument
2049 if (CXXRecordDecl *D = RangeType->getAsCXXRecordDecl()) { in BuildNonArrayForRange()
2226 QualType RangeType = Range->getType(); in BuildCXXForRangeStmt() local
2228 if (RequireCompleteType(RangeLoc, RangeType, in BuildCXXForRangeStmt()
2240 if (const ArrayType *UnqAT = RangeType->getAsArrayTypeUnsafe()) { in BuildCXXForRangeStmt()
2284 EndRangeRef.get(), RangeType, in BuildCXXForRangeStmt()