Lines Matching refs:EndIndex

1721   uint64_t EndIndex = EndOffset / ElementSize;  in isVectorPromotionViableForSlice()  local
1722 if (EndIndex * ElementSize != EndOffset || EndIndex > Ty->getNumElements()) in isVectorPromotionViableForSlice()
1725 assert(EndIndex > BeginIndex && "Empty vector!"); in isVectorPromotionViableForSlice()
1726 uint64_t NumElements = EndIndex - BeginIndex; in isVectorPromotionViableForSlice()
2067 unsigned EndIndex, const Twine &Name) { in extractVector() argument
2069 unsigned NumElements = EndIndex - BeginIndex; in extractVector()
2084 for (unsigned i = BeginIndex; i != EndIndex; ++i) in extractVector()
2112 unsigned EndIndex = BeginIndex + Ty->getNumElements(); in insertVector() local
2121 if (i >= BeginIndex && i < EndIndex) in insertVector()
2131 Mask.push_back(IRB.getInt1(i >= BeginIndex && i < EndIndex)); in insertVector()
2340 unsigned EndIndex = getIndex(NewEndOffset); in rewriteVectorizedLoadInst() local
2341 assert(EndIndex > BeginIndex && "Empty vector!"); in rewriteVectorizedLoadInst()
2344 return extractVector(IRB, V, BeginIndex, EndIndex, "vec"); in rewriteVectorizedLoadInst()
2454 unsigned EndIndex = getIndex(NewEndOffset); in rewriteVectorizedStoreInst() local
2455 assert(EndIndex > BeginIndex && "Empty vector!"); in rewriteVectorizedStoreInst()
2456 unsigned NumElements = EndIndex - BeginIndex; in rewriteVectorizedStoreInst()
2648 unsigned EndIndex = getIndex(NewEndOffset); in visitMemSetInst() local
2649 assert(EndIndex > BeginIndex && "Empty vector!"); in visitMemSetInst()
2650 unsigned NumElements = EndIndex - BeginIndex; in visitMemSetInst()
2808 unsigned EndIndex = VecTy ? getIndex(NewEndOffset) : 0; in visitMemTransferInst() local
2809 unsigned NumElements = EndIndex - BeginIndex; in visitMemTransferInst()
2841 Src = extractVector(IRB, Src, BeginIndex, EndIndex, "vec"); in visitMemTransferInst()
3280 unsigned EndIndex = SL->getElementContainingOffset(EndOffset); in getTypePartition() local
3281 if (Index == EndIndex) in getTypePartition()
3288 if (SL->getElementOffset(EndIndex) != EndOffset) in getTypePartition()
3291 assert(Index < EndIndex); in getTypePartition()
3292 EE = STy->element_begin() + EndIndex; in getTypePartition()