Searched refs:Len2 (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 587 uint64_t Len2 = GetStringLength(Str2P); in optimizeStrCmp() local 588 if (Len2) in optimizeStrCmp() 589 annotateDereferenceableBytes(CI, 1, Len2); in optimizeStrCmp() 591 if (Len1 && Len2) { in optimizeStrCmp() 594 TLI->getAsSizeT(std::min(Len1, Len2), *CI->getModule()), in optimizeStrCmp() 600 if (canTransformToMemCmp(CI, Str1P, Len2, DL)) in optimizeStrCmp() 602 TLI->getAsSizeT(Len2, *CI->getModule()), in optimizeStrCmp() 667 uint64_t Len2 = GetStringLength(Str2P); in optimizeStrNCmp() local 668 if (Len2) in optimizeStrNCmp() 669 annotateDereferenceableBytes(CI, 1, Len2); in optimizeStrNCmp() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerTracePC.cpp | 634 size_t Len2 = fuzzer::InternalStrnlen(s2, n); in __sanitizer_weak_hook_strncmp() local 636 n = std::min(n, Len2); in __sanitizer_weak_hook_strncmp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 6536 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs, CharSize); in GetStringLengthH() local 6537 if (Len2 == 0) return 0; in GetStringLengthH() 6538 if (Len1 == ~0ULL) return Len2; in GetStringLengthH() 6539 if (Len2 == ~0ULL) return Len1; in GetStringLengthH() 6540 if (Len1 != Len2) return 0; in GetStringLengthH()
|