Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp570 uint64_t Len2 = GetStringLength(Str2P); in optimizeStrCmp() local
571 if (Len2) in optimizeStrCmp()
572 annotateDereferenceableBytes(CI, 1, Len2); in optimizeStrCmp()
574 if (Len1 && Len2) { in optimizeStrCmp()
578 std::min(Len1, Len2)), in optimizeStrCmp()
584 if (canTransformToMemCmp(CI, Str1P, Len2, DL)) in optimizeStrCmp()
655 uint64_t Len2 = GetStringLength(Str2P); in optimizeStrNCmp() local
656 if (Len2) in optimizeStrNCmp()
657 annotateDereferenceableBytes(CI, 1, Len2); in optimizeStrNCmp()
661 Len2 = std::min(Len2, Length); in optimizeStrNCmp()
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.cpp634 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-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp5802 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs, CharSize); in GetStringLengthH() local
5803 if (Len2 == 0) return 0; in GetStringLengthH()
5804 if (Len1 == ~0ULL) return Len2; in GetStringLengthH()
5805 if (Len2 == ~0ULL) return Len1; in GetStringLengthH()
5806 if (Len1 != Len2) return 0; in GetStringLengthH()