Lines Matching defs:EltTy
914 Type *EltTy = VTy->getElementType();
915 if (SV->getType() != EltTy)
916 SV = Builder.CreateBitCast(SV, EltTy);
917 uint64_t EltSize = TD.getTypeAllocSizeInBits(EltTy);
1747 /// return true with NumElts and EltTy set to the number of elements and the
1750 Type *&EltTy) {
1753 EltTy = (NumElts == 0 ? 0 : AT->getElementType());
1758 EltTy = (NumElts == 0 ? 0 : ST->getContainedType(0));
1760 if (ST->getContainedType(n) != EltTy)
1832 Type *EltTy;
1837 EltTy = ST->getContainedType(EltIdx);
1838 EltSize = TD->getTypeAllocSize(EltTy);
1841 EltTy = AT->getElementType();
1842 EltSize = TD->getTypeAllocSize(EltTy);
1847 EltTy = VT->getElementType();
1848 EltSize = TD->getTypeAllocSize(EltTy);
1860 return TypeHasComponent(EltTy, Offset, Size);
2231 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType();
2232 EltOffset = TD->getTypeAllocSize(EltTy)*i;
2244 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType();
2247 if (EltTy->isSingleValueType()) {
2267 StoreVal = Constant::getNullValue(EltTy); // 0.0, null, 0, <0,0>
2269 // If EltTy is a vector type, get the element type.
2270 Type *ValTy = EltTy->getScalarType();
2291 if (EltTy->isVectorTy()) {
2292 unsigned NumElts = cast<VectorType>(EltTy)->getNumElements();
2303 unsigned EltSize = TD->getTypeAllocSize(EltTy);