Lines Matching defs:NBytes
449 // NBytes is null, strchr(S, C) to *S == C. A precondition of the function
451 static Value* memChrToCharCompare(CallInst *CI, Value *NBytes,
463 if (NBytes) {
464 Value *Zero = ConstantInt::get(NBytes->getType(), 0);
465 Value *And = B.CreateICmpNE(NBytes, Zero);
554 uint64_t NBytes = Str.size() + 1; // Include the terminating nul.
555 Value *Size = ConstantInt::get(SizeTTy, NBytes);
763 uint64_t NBytes;
765 NBytes = SizeC->getZExtValue();
771 if (NBytes <= 1) {
772 if (NBytes == 1)
790 bool NulTerm = SrcLen < NBytes;
793 // Overwrite NBytes with the number of bytes to copy, including
795 NBytes = SrcLen + 1;
798 // size, and cap NBytes at the same.
800 NBytes = std::min(NBytes - 1, SrcLen);
813 TLI->getAsSizeT(NBytes, *CI->getModule()));
817 Value *EndOff = ConstantInt::get(CI->getType(), NBytes);