Lines Matching defs:NBytes
443 // NBytes is null, strchr(S, C) to *S == C. A precondition of the function
445 static Value* memChrToCharCompare(CallInst *CI, Value *NBytes,
457 if (NBytes) {
458 Value *Zero = ConstantInt::get(NBytes->getType(), 0);
459 Value *And = B.CreateICmpNE(NBytes, Zero);
548 uint64_t NBytes = Str.size() + 1; // Include the terminating nul.
549 Value *Size = ConstantInt::get(SizeTTy, NBytes);
769 uint64_t NBytes;
771 NBytes = SizeC->getZExtValue();
777 if (NBytes <= 1) {
778 if (NBytes == 1)
796 bool NulTerm = SrcLen < NBytes;
799 // Overwrite NBytes with the number of bytes to copy, including
801 NBytes = SrcLen + 1;
804 // size, and cap NBytes at the same.
806 NBytes = std::min(NBytes - 1, SrcLen);
821 ConstantInt::get(DL.getIntPtrType(PT), NBytes));
825 Value *EndOff = ConstantInt::get(CI->getType(), NBytes);