Lines Matching refs:Index
254 if (!CI) return false; // Index isn't a simple constant?
315 unsigned Index = SL->getElementContainingOffset(ByteOffset);
316 uint64_t CurEltOffset = SL->getElementOffset(Index);
322 uint64_t EltSize = TD.getTypeAllocSize(CS->getOperand(Index)->getType());
325 !ReadDataFromGlobal(CS->getOperand(Index), ByteOffset, CurPtr,
329 ++Index;
332 if (Index == CS->getType()->getNumElements())
336 uint64_t NextEltOffset = SL->getElementOffset(Index);
354 uint64_t Index = ByteOffset / EltSize;
355 uint64_t Offset = ByteOffset - Index * EltSize;
362 for (; Index != NumElts; ++Index) {
363 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr,
626 "CastGEPIndices didn't canonicalize index types!");
651 // Do not try the incorporate the sub-GEP if some index is not a number.
688 // The only pointer indexing we'll do is on the first index of the GEP.
702 // index for this level and proceed to the next level to see if it can
707 // size (rounding down), to compute the index at this level.
1032 /// indices (with an *implied* zero pointer index that is not in the list),