Searched refs:NullTermIdx (Results 1 – 1 of 1) sorted by relevance
421 size_t NullTermIdx = Str.find('\0'); in optimizeStrLen() local425 if (NullTermIdx == StringRef::npos) in optimizeStrLen()448 if ((KnownZero.isNonNegative() && KnownZero.ule(NullTermIdx)) || in optimizeStrLen()450 NullTermIdx == ArrSize - 1)) in optimizeStrLen()451 return B.CreateSub(ConstantInt::get(CI->getType(), NullTermIdx), in optimizeStrLen()