Lines Matching defs:EndPtr
138 static Value *convertStrToInt(CallInst *CI, StringRef &Str, Value *EndPtr,
145 // Current offset into the original string to reflect in EndPtr.
225 if (EndPtr) {
230 B.CreateStore(StrEnd, EndPtr);
818 Value *EndPtr = B.CreateInBoundsGEP(B.getInt8Ty(), Dst, EndOff);
819 B.CreateStore(B.getInt8(0), EndPtr);
866 Value *EndPtr = B.CreateInBoundsGEP(CharTy, Dst, Off1, "stpncpy.end");
867 return B.CreateSelect(Cmp, Dst, EndPtr, "stpncpy.sel");
1093 Value *EndPtr = CI->getArgOperand(1);
1094 if (isa<ConstantPointerNull>(EndPtr)) {
1095 // With a null EndPtr, this function won't capture the main argument.
3205 Value *EndPtr = CI->getArgOperand(1);
3206 if (isa<ConstantPointerNull>(EndPtr)) {
3207 // With a null EndPtr, this function won't capture the main argument.
3211 EndPtr = nullptr;
3212 } else if (!isKnownNonZero(EndPtr, DL))
3220 return convertStrToInt(CI, Str, EndPtr, CInt->getSExtValue(), AsSigned, B);