Lines Matching full:beginindex
2014 uint64_t BeginIndex = BeginOffset / ElementSize;
2015 if (BeginIndex * ElementSize != BeginOffset ||
2016 BeginIndex >= Ty->getNumElements())
2024 assert(EndIndex > BeginIndex && "Empty vector!");
2025 uint64_t NumElements = EndIndex - BeginIndex;
2214 unsigned BeginIndex, unsigned EndIndex,
2217 unsigned NumElements = EndIndex - BeginIndex;
2224 V = IRB.CreateExtractElement(V, IRB.getInt32(BeginIndex),
2232 for (unsigned i = BeginIndex; i != EndIndex; ++i)
2242 unsigned BeginIndex, const Twine &Name) {
2249 V = IRB.CreateInsertElement(Old, V, IRB.getInt32(BeginIndex),
2261 unsigned EndIndex = BeginIndex + Ty->getNumElements();
2270 if (i >= BeginIndex && i < EndIndex)
2271 Mask.push_back(IRB.getInt32(i - BeginIndex));
2281 if (i >= BeginIndex && i < EndIndex)
2459 unsigned BeginIndex = getIndex(BeginOffset);
2461 assert(EndIndex > BeginIndex && "Empty vector!");
2465 return extractVector(IRB, V, BeginIndex, EndIndex, getName(".vec"));
2545 unsigned BeginIndex = getIndex(BeginOffset);
2547 assert(EndIndex > BeginIndex && "Empty vector!");
2548 unsigned NumElements = EndIndex - BeginIndex;
2559 V = insertVector(IRB, Old, V, BeginIndex, getName(".vec"));
2729 unsigned BeginIndex = getIndex(BeginOffset);
2731 assert(EndIndex > BeginIndex && "Empty vector!");
2732 unsigned NumElements = EndIndex - BeginIndex;
2743 V = insertVector(IRB, Old, Splat, BeginIndex, getName(".vec"));
2900 unsigned BeginIndex = VecTy ? getIndex(BeginOffset) : 0;
2902 unsigned NumElements = EndIndex - BeginIndex;
2928 Src = extractVector(IRB, Src, BeginIndex, EndIndex, getName(".vec"));
2944 Src = insertVector(IRB, Old, Src, BeginIndex, getName(".vec"));