Searched refs:ArrayEltTy (Results 1 – 1 of 1) sorted by relevance
2414 Type *ArrayEltTy = ATy->getElementType(); in RewriteStoreUserOfWholeAlloca() local2415 uint64_t ElementOffset = DL.getTypeAllocSizeInBits(ArrayEltTy); in RewriteStoreUserOfWholeAlloca()2416 uint64_t ElementSizeBits = DL.getTypeSizeInBits(ArrayEltTy); in RewriteStoreUserOfWholeAlloca()2441 if (EltVal->getType() == ArrayEltTy) { in RewriteStoreUserOfWholeAlloca()2443 } else if (ArrayEltTy->isFloatingPointTy() || in RewriteStoreUserOfWholeAlloca()2444 ArrayEltTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()2446 EltVal = Builder.CreateBitCast(EltVal, ArrayEltTy); in RewriteStoreUserOfWholeAlloca()2485 Type *ArrayEltTy = cast<ArrayType>(AllocaEltTy)->getElementType(); in RewriteLoadUserOfWholeAlloca() local2486 ArrayEltBitOffset = DL.getTypeAllocSizeInBits(ArrayEltTy); in RewriteLoadUserOfWholeAlloca()