reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1104 FirstIdx = Offset/TySize; 1105 Offset -= FirstIdx*TySize; 1108 if (Offset < 0) { 1110 Offset += TySize; 1111 assert(Offset >= 0); 1113 assert((uint64_t)Offset < (uint64_t)TySize && "Out of range offset"); 1119 while (Offset) { 1121 if (uint64_t(Offset * 8) >= DL.getTypeSizeInBits(Ty)) 1126 assert(Offset < (int64_t)SL->getSizeInBytes() && 1129 unsigned Elt = SL->getElementContainingOffset(Offset); 1133 Offset -= SL->getElementOffset(Elt); 1138 NewIndices.push_back(ConstantInt::get(IndexTy,Offset/EltSize)); 1139 Offset %= EltSize;