Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp207 uint64_t SrcLen = GetStringLength(Src); in CallOptimizer() local
208 if (SrcLen == 0) return 0; in CallOptimizer()
209 --SrcLen; // Unbias length. in CallOptimizer()
214 if (SrcLen == 0 || Len == 0) return Dst; in CallOptimizer()
220 if (Len < SrcLen) return 0; in CallOptimizer()
224 EmitStrLenMemCpy(Src, Dst, SrcLen, B); in CallOptimizer()
482 uint64_t SrcLen = GetStringLength(Src); in CallOptimizer() local
483 if (SrcLen == 0) return 0; in CallOptimizer()
484 --SrcLen; in CallOptimizer()
486 if (SrcLen == 0) { in CallOptimizer()
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp162 uint64_t SrcLen = GetStringLength(Src); in optimizeStrNCat() local
163 if (SrcLen == 0) in optimizeStrNCat()
165 --SrcLen; // Unbias length. in optimizeStrNCat()
170 if (SrcLen == 0 || Len == 0) in optimizeStrNCat()
174 if (Len < SrcLen) in optimizeStrNCat()
179 return emitStrLenMemCpy(Src, Dst, SrcLen, B); in optimizeStrNCat()
369 uint64_t SrcLen = GetStringLength(Src); in optimizeStrNCpy() local
370 if (SrcLen == 0) in optimizeStrNCpy()
372 --SrcLen; in optimizeStrNCpy()
374 if (SrcLen == 0) { in optimizeStrNCpy()
[all …]