| 163 | } |
| 164 | |
| 165 | expr Type::enforceVectorTypeSameChildTy(const Type &other) const { |
| 166 | if (auto agg = getAsAggregateType()) |
| 167 | if (auto agg2 = other.getAsAggregateType()) |
| 168 | return agg->getChild(0) == agg2->getChild(0); |
| 169 | return false; |
| 170 | } |
| 171 | |
| 172 | expr Type::enforceVectorTypeEquiv(const Type &other) const { |
| 173 | return enforceVectorTypeIff(other) && other.enforceVectorTypeIff(*this); |
no test coverage detected