Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h478 SaturatingAdd(T X, T Y, bool *ResultOverflowed = nullptr) {
493 std::enable_if_t<std::is_unsigned_v<T>, T> SaturatingAdd(T X, T Y, T Z, in SaturatingAdd() function
496 T XY = SaturatingAdd(X, Y, &Overflowed); in SaturatingAdd()
498 return SaturatingAdd(std::numeric_limits<T>::max(), T(1), Args...); in SaturatingAdd()
499 return SaturatingAdd(XY, Z, Args...); in SaturatingAdd()
542 return SaturatingAdd(Z, Y, ResultOverflowed);
561 return SaturatingAdd(A, Product, &Overflowed);
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DSummaryBasedOptimizations.cpp72 SaturatingAdd(F->entryCount(), New.template toInt<uint64_t>())); in computeSyntheticCounts()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp59 Count = SaturatingAdd(Count, NewCount); in runCGProfilePass()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h952 TotalCount = SaturatingAdd(TotalCount, V.Count); in getValueForSite()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h111 SaturatingAdd<uint64_t>(Temp.toInt<uint64_t>(), RelBlockFreq); in updateRelBlockFreq()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp1200 SaturatingAdd(AInstrWeight->getZExtValue(), in mergeDirectCallProfMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp1483 AllocatedSize = SaturatingAdd(DL.getTypeAllocSize(Ty).getKnownMinValue(), in visitAlloca()