Lines Matching defs:BeginIndex
1480 uint64_t BeginIndex = BeginOffset / ElementSize;
1481 if (BeginIndex * ElementSize != BeginOffset ||
1482 BeginIndex >= Ty->getNumElements())
1490 assert(EndIndex > BeginIndex && "Empty vector!");
1491 uint64_t NumElements = EndIndex - BeginIndex;
1755 unsigned BeginIndex, unsigned EndIndex,
1758 unsigned NumElements = EndIndex - BeginIndex;
1765 V = IRB.CreateExtractElement(V, IRB.getInt32(BeginIndex),
1773 for (unsigned i = BeginIndex; i != EndIndex; ++i)
1783 unsigned BeginIndex, const Twine &Name) {
1790 V = IRB.CreateInsertElement(Old, V, IRB.getInt32(BeginIndex),
1802 unsigned EndIndex = BeginIndex + Ty->getNumElements();
1811 if (i >= BeginIndex && i < EndIndex)
1812 Mask.push_back(IRB.getInt32(i - BeginIndex));
1822 Mask.push_back(IRB.getInt1(i >= BeginIndex && i < EndIndex));
2001 unsigned BeginIndex = getIndex(NewBeginOffset);
2003 assert(EndIndex > BeginIndex && "Empty vector!");
2007 return extractVector(IRB, V, BeginIndex, EndIndex, "vec");
2096 unsigned BeginIndex = getIndex(NewBeginOffset);
2098 assert(EndIndex > BeginIndex && "Empty vector!");
2099 unsigned NumElements = EndIndex - BeginIndex;
2110 V = insertVector(IRB, Old, V, BeginIndex, "vec");
2296 unsigned BeginIndex = getIndex(NewBeginOffset);
2298 assert(EndIndex > BeginIndex && "Empty vector!");
2299 unsigned NumElements = EndIndex - BeginIndex;
2310 V = insertVector(IRB, Old, Splat, BeginIndex, "vec");
2466 unsigned BeginIndex = VecTy ? getIndex(NewBeginOffset) : 0;
2468 unsigned NumElements = EndIndex - BeginIndex;
2493 Src = extractVector(IRB, Src, BeginIndex, EndIndex, "vec");
2508 Src = insertVector(IRB, Old, Src, BeginIndex, "vec");