Home
last modified time | relevance | path

Searched refs:NullTermIdx (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp421 size_t NullTermIdx = Str.find('\0'); in optimizeStrLen() local
425 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()