Lines Matching defs:EltTy
923 Type *EltTy = VTy->getElementType();
924 if (SV->getType() != EltTy)
925 SV = Builder.CreateBitCast(SV, EltTy);
926 uint64_t EltSize = DL.getTypeAllocSizeInBits(EltTy);
1760 /// return true with NumElts and EltTy set to the number of elements and the
1763 Type *&EltTy) {
1766 EltTy = (NumElts == 0 ? nullptr : AT->getElementType());
1771 EltTy = (NumElts == 0 ? nullptr : ST->getContainedType(0));
1773 if (ST->getContainedType(n) != EltTy)
1847 Type *EltTy;
1852 EltTy = ST->getContainedType(EltIdx);
1853 EltSize = DL.getTypeAllocSize(EltTy);
1856 EltTy = AT->getElementType();
1857 EltSize = DL.getTypeAllocSize(EltTy);
1862 EltTy = VT->getElementType();
1863 EltSize = DL.getTypeAllocSize(EltTy);
1875 return TypeHasComponent(EltTy, Offset, Size, DL);
2252 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType();
2253 EltOffset = DL.getTypeAllocSize(EltTy) * i;
2265 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType();
2268 if (EltTy->isSingleValueType()) {
2288 StoreVal = Constant::getNullValue(EltTy); // 0.0, null, 0, <0,0>
2290 // If EltTy is a vector type, get the element type.
2291 Type *ValTy = EltTy->getScalarType();
2312 if (EltTy->isVectorTy()) {
2313 unsigned NumElts = cast<VectorType>(EltTy)->getNumElements();
2324 unsigned EltSize = DL.getTypeAllocSize(EltTy);