Lines Matching defs:EndPtr
137 static Value *convertStrToInt(CallInst *CI, StringRef &Str, Value *EndPtr,
144 // Current offset into the original string to reflect in EndPtr.
224 if (EndPtr) {
229 B.CreateStore(StrEnd, EndPtr);
826 Value *EndPtr = B.CreateInBoundsGEP(B.getInt8Ty(), Dst, EndOff);
827 B.CreateStore(B.getInt8(0), EndPtr);
875 Value *EndPtr = B.CreateInBoundsGEP(CharTy, Dst, Off1, "stpncpy.end");
876 return B.CreateSelect(Cmp, Dst, EndPtr, "stpncpy.sel");
1102 Value *EndPtr = CI->getArgOperand(1);
1103 if (isa<ConstantPointerNull>(EndPtr)) {
1104 // With a null EndPtr, this function won't capture the main argument.
3098 Value *EndPtr = CI->getArgOperand(1);
3099 if (isa<ConstantPointerNull>(EndPtr)) {
3100 // With a null EndPtr, this function won't capture the main argument.
3103 EndPtr = nullptr;
3104 } else if (!isKnownNonZero(EndPtr, DL))
3112 return convertStrToInt(CI, Str, EndPtr, CInt->getSExtValue(), AsSigned, B);