Lines Matching refs:ElementSize

1787                                             uint64_t ElementSize,  in isVectorPromotionViableForSlice()  argument
1792 uint64_t BeginIndex = BeginOffset / ElementSize; in isVectorPromotionViableForSlice()
1793 if (BeginIndex * ElementSize != BeginOffset || in isVectorPromotionViableForSlice()
1798 uint64_t EndIndex = EndOffset / ElementSize; in isVectorPromotionViableForSlice()
1799 if (EndIndex * ElementSize != EndOffset || in isVectorPromotionViableForSlice()
1810 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8); in isVectorPromotionViableForSlice()
1949 uint64_t ElementSize = in isVectorPromotionViable() local
1954 if (ElementSize % 8) in isVectorPromotionViable()
1958 ElementSize /= 8; in isVectorPromotionViable()
1961 if (!isVectorPromotionViableForSlice(P, S, VTy, ElementSize, DL)) in isVectorPromotionViable()
1965 if (!isVectorPromotionViableForSlice(P, *S, VTy, ElementSize, DL)) in isVectorPromotionViable()
2281 uint64_t ElementSize; member in llvm::sroa::AllocaSliceRewriter
2326 ElementSize(VecTy ? DL.getTypeSizeInBits(ElementTy).getFixedSize() / 8 in AllocaSliceRewriter()
2433 assert(RelOffset / ElementSize < UINT32_MAX && "Index out of bounds"); in getIndex()
2434 uint32_t Index = RelOffset / ElementSize; in getIndex()
2435 assert(Index * ElementSize == RelOffset); in getIndex()
3656 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy).getFixedSize(); in getTypePartition() local
3657 uint64_t NumSkippedElements = Offset / ElementSize; in getTypePartition()
3660 Offset -= NumSkippedElements * ElementSize; in getTypePartition()
3663 if (Offset > 0 || Size < ElementSize) { in getTypePartition()
3665 if ((Offset + Size) > ElementSize) in getTypePartition()
3672 if (Size == ElementSize) in getTypePartition()
3674 assert(Size > ElementSize); in getTypePartition()
3675 uint64_t NumElements = Size / ElementSize; in getTypePartition()
3676 if (NumElements * ElementSize != Size) in getTypePartition()
3696 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy).getFixedSize(); in getTypePartition() local
3697 if (Offset >= ElementSize) in getTypePartition()
3701 if (Offset > 0 || Size < ElementSize) { in getTypePartition()
3702 if ((Offset + Size) > ElementSize) in getTypePartition()
3708 if (Size == ElementSize) in getTypePartition()