Home
last modified time | relevance | path

Searched refs:AsRange (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/
Dtypes.cc104 if (this->IsRange()) return this->AsRange()->Min(); in Min()
122 if (this->IsRange()) return this->AsRange()->Max(); in Max()
147 BitsetType::Glb(type->AsRange()->Min(), type->AsRange()->Max())); in Glb()
173 if (type->IsRange()) return type->AsRange()->Lub(); in Lub()
576 return (this->IsRange() && Contains(that->AsRange(), this->AsRange())) || in SemanticIs()
578 Contains(that->AsRange(), this->AsConstant())); in SemanticIs()
656 return Contains(this->AsRange(), that->AsConstant()); in SemanticMaybe()
659 return Overlap(this->AsRange(), that->AsRange()); in SemanticMaybe()
685 if (this->IsRange()) return this->AsRange(); in GetRange()
687 return this->AsUnion()->Get(1)->AsRange(); in GetRange()
[all …]
Dtypes.h507 RangeType* AsRange() { return RangeType::cast(this); } in AsRange() function
/external/v8/test/unittests/compiler/
Dtyper-unittest.cc152 Type::RangeType* r1 = RandomRange()->AsRange(); in TestBinaryArithOp()
153 Type::RangeType* r2 = RandomRange()->AsRange(); in TestBinaryArithOp()
169 Type::RangeType* r1 = RandomRange()->AsRange(); in TestBinaryCompareOp()
170 Type::RangeType* r2 = RandomRange()->AsRange(); in TestBinaryCompareOp()
188 Type::RangeType* r1 = RandomRange(true)->AsRange(); in TestBinaryBitOp()
189 Type::RangeType* r2 = RandomRange(true)->AsRange(); in TestBinaryBitOp()
/external/v8/src/compiler/
Dtyper.cc995 return JSAddRanger(lhs->AsRange(), rhs->AsRange(), t); in JSAddTyper()
1034 return JSSubtractRanger(lhs->AsRange(), rhs->AsRange(), t); in JSSubtractTyper()
1074 return JSMultiplyRanger(lhs->AsRange(), rhs->AsRange(), t); in JSMultiplyTyper()
1141 return JSModulusRanger(lhs->AsRange(), rhs->AsRange(), t); in JSModulusTyper()
/external/v8/test/cctest/
Dtest-types.cc439 CHECK(min == type->AsRange()->Min()); in Range()
440 CHECK(max == type->AsRange()->Max()); in Range()
978 double min = type2->AsRange()->Min(); in Is2()
979 double max = type2->AsRange()->Max(); in Is2()