Home
last modified time | relevance | path

Searched refs:ArrayEltTy (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2414 Type *ArrayEltTy = ATy->getElementType(); in RewriteStoreUserOfWholeAlloca() local
2415 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() local
2486 ArrayEltBitOffset = DL.getTypeAllocSizeInBits(ArrayEltTy); in RewriteLoadUserOfWholeAlloca()