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

References

tools/clang/lib/CodeGen/CGExpr.cpp
 3660       Idx = Builder.CreateIntCast(
 3664       Idx = llvm::ConstantInt::getNullValue(IntPtrTy);
 3702         Idx = Builder.CreateAdd(LowerBoundVal, LengthVal, "lb_add_len",
 3706           Idx = Builder.CreateSub(
 3707               Idx, llvm::ConstantInt::get(IntPtrTy, /*V=*/1), "idx_sub_1",
 3711         Idx = llvm::ConstantInt::get(IntPtrTy, ConstLength + ConstLowerBound);
 3729         Idx = Builder.CreateSub(
 3735         Idx = llvm::ConstantInt::get(IntPtrTy, ConstLength);
 3739   assert(Idx);
 3759       Idx = Builder.CreateMul(Idx, NumElements);
 3759       Idx = Builder.CreateMul(Idx, NumElements);
 3761       Idx = Builder.CreateNSWMul(Idx, NumElements);
 3761       Idx = Builder.CreateNSWMul(Idx, NumElements);
 3762     EltPtr = emitArraySubscriptGEP(*this, Base, Idx, VLA->getElementType(),
 3782         *this, ArrayLV.getAddress(), {CGM.getSize(CharUnits::Zero()), Idx},
 3791     EltPtr = emitArraySubscriptGEP(*this, Base, Idx, ResultExprTy,