Lines Matching refs:eltTy
682 Type eltTy = owner.getType().getElementType(); in operator *() local
683 if (auto intEltTy = eltTy.dyn_cast<IntegerType>()) in operator *()
684 return IntegerAttr::get(eltTy, *IntElementIterator(owner, index)); in operator *()
685 if (eltTy.isa<IndexType>()) in operator *()
686 return IntegerAttr::get(eltTy, *IntElementIterator(owner, index)); in operator *()
687 if (auto floatEltTy = eltTy.dyn_cast<FloatType>()) { in operator *()
690 return FloatAttr::get(eltTy, *floatIt); in operator *()
694 return StringAttr::get(owner.isSplat() ? vals.front() : vals[index], eltTy); in operator *()
1021 Type eltTy = getType().getElementType().cast<ComplexType>().getElementType(); in getComplexIntValues() local
1022 (void)eltTy; in getComplexIntValues()
1023 assert(eltTy.isa<IntegerType>() && "expected complex integral type"); in getComplexIntValues()
1045 Type eltTy = getType().getElementType().cast<ComplexType>().getElementType(); in getComplexFloatValues() local
1046 assert(eltTy.isa<FloatType>() && "expected complex float type"); in getComplexFloatValues()
1047 const auto &semantics = eltTy.cast<FloatType>().getFloatSemantics(); in getComplexFloatValues()