Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp319 uint64_t SrcLen = GetStringLength(Src); in optimizeStrNCat() local
320 if (SrcLen) { in optimizeStrNCat()
321 annotateDereferenceableBytes(CI, 1, SrcLen); in optimizeStrNCat()
322 --SrcLen; // Unbias length. in optimizeStrNCat()
328 if (SrcLen == 0) in optimizeStrNCat()
332 if (Len < SrcLen) in optimizeStrNCat()
337 return emitStrLenMemCpy(Src, Dst, SrcLen, B); in optimizeStrNCat()
539 uint64_t SrcLen = GetStringLength(Src); in optimizeStrNDup() local
540 if (SrcLen && Size) { in optimizeStrNDup()
541 annotateDereferenceableBytes(CI, 0, SrcLen); in optimizeStrNDup()
[all …]