reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGExprScalar.cpp
 3171     std::swap(pointer, index);
 3177   unsigned width = cast<llvm::IntegerType>(index->getType())->getBitWidth();
 3202     return CGF.Builder.CreateIntToPtr(index, pointer->getType());
 3207     index = CGF.Builder.CreateIntCast(index, DL.getIntPtrType(PtrTy), isSigned,
 3207     index = CGF.Builder.CreateIntCast(index, DL.getIntPtrType(PtrTy), isSigned,
 3213     index = CGF.Builder.CreateNeg(index, "idx.neg");
 3213     index = CGF.Builder.CreateNeg(index, "idx.neg");
 3216     CGF.EmitBoundsCheck(op.E, pointerOperand, index, indexOperand->getType(),
 3228     index = CGF.Builder.CreateMul(index, objectSize);
 3228     index = CGF.Builder.CreateMul(index, objectSize);
 3231     result = CGF.Builder.CreateGEP(result, index, "add.ptr");
 3246       index = CGF.Builder.CreateMul(index, numElements, "vla.index");
 3246       index = CGF.Builder.CreateMul(index, numElements, "vla.index");
 3247       pointer = CGF.Builder.CreateGEP(pointer, index, "add.ptr");
 3249       index = CGF.Builder.CreateNSWMul(index, numElements, "vla.index");
 3249       index = CGF.Builder.CreateNSWMul(index, numElements, "vla.index");
 3251           CGF.EmitCheckedInBoundsGEP(pointer, index, isSigned, isSubtraction,
 3262     result = CGF.Builder.CreateGEP(result, index, "add.ptr");
 3267     return CGF.Builder.CreateGEP(pointer, index, "add.ptr");
 3269   return CGF.EmitCheckedInBoundsGEP(pointer, index, isSigned, isSubtraction,