Searched refs:AsUnion (Results 1 – 3 of 3) sorted by relevance
81 for (int i = 0, n = this->AsUnion()->Length(); i < n; ++i) { in Min()82 min = std::min(min, this->AsUnion()->Get(i)->Min()); in Min()97 for (int i = 0, n = this->AsUnion()->Length(); i < n; ++i) { in Max()98 max = std::max(max, this->AsUnion()->Get(i)->Max()); in Max()120 SLOW_DCHECK(type->AsUnion()->Wellformed()); in Glb()121 return type->AsUnion()->Get(0)->BitsetGlb() | in Glb()122 SEMANTIC(type->AsUnion()->Get(1)->BitsetGlb()); // Shortcut. in Glb()140 int bitset = type->AsUnion()->Get(0)->BitsetLub(); in Lub()141 for (int i = 0, n = type->AsUnion()->Length(); i < n; ++i) { in Lub()143 bitset |= SEMANTIC(type->AsUnion()->Get(i)->BitsetLub()); in Lub()[all …]
865 UnionType* AsUnionForTesting() { return AsUnion(); } in AsUnionForTesting()886 UnionType* AsUnion() { return UnionType::cast(this); } in AsUnion() function
49 UnionType* AsUnion(Type* type) { return type->AsUnionForTesting(); } in AsUnion() function60 this->AsUnion(type1)->LengthForTesting() == in Equal()61 this->AsUnion(type2)->LengthForTesting()); in Equal()