Lines Matching refs:EltTy
914 Type *EltTy = VTy->getElementType();
915 if (SV->getType() != EltTy)
916 SV = Builder.CreateBitCast(SV, EltTy);
917 uint64_t EltSize = TD.getTypeAllocSizeInBits(EltTy);
1756 /// return true with NumElts and EltTy set to the number of elements and the
1759 Type *&EltTy) {
1762 EltTy = (NumElts == 0 ? 0 : AT->getElementType());
1767 EltTy = (NumElts == 0 ? 0 : ST->getContainedType(0));
1769 if (ST->getContainedType(n) != EltTy)
1841 Type *EltTy;
1846 EltTy = ST->getContainedType(EltIdx);
1847 EltSize = TD->getTypeAllocSize(EltTy);
1850 EltTy = AT->getElementType();
1851 EltSize = TD->getTypeAllocSize(EltTy);
1856 EltTy = VT->getElementType();
1857 EltSize = TD->getTypeAllocSize(EltTy);
1869 return TypeHasComponent(EltTy, Offset, Size);
2239 Type *EltTy = cast<SequentialType>(OtherTy)->getElementType();
2240 EltOffset = TD->getTypeAllocSize(EltTy)*i;
2252 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType();
2255 if (EltTy->isSingleValueType()) {
2275 StoreVal = Constant::getNullValue(EltTy); // 0.0, null, 0, <0,0>
2277 // If EltTy is a vector type, get the element type.
2278 Type *ValTy = EltTy->getScalarType();
2299 if (EltTy->isVectorTy()) {
2300 unsigned NumElts = cast<VectorType>(EltTy)->getNumElements();
2311 unsigned EltSize = TD->getTypeAllocSize(EltTy);