|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/ModuleSummaryIndex.h 96 SaturatingAdd<uint64_t>(Temp.toInt<uint64_t>(), RelBlockFreq);
include/llvm/ProfileData/InstrProf.h 910 TotalCount = SaturatingAdd(TotalCount, V.Count);
include/llvm/Support/MathExtras.h 840 return SaturatingAdd(Z, Y, ResultOverflowed);
859 return SaturatingAdd(A, Product, &Overflowed);
lib/Analysis/InlineCost.cpp 448 AllocatedSize = SaturatingAdd(DL.getTypeAllocSize(Ty).getFixedSize(),
lib/LTO/SummaryBasedOptimizations.cpp 69 SaturatingAdd(F->entryCount(), New.template toInt<uint64_t>()));
lib/Transforms/Instrumentation/CGProfile.cpp 36 Count = SaturatingAdd(Count, NewCount);
unittests/Support/MathExtrasTest.cpp 290 EXPECT_EQ(T(3), SaturatingAdd(T(1), T(2)));
291 EXPECT_EQ(T(3), SaturatingAdd(T(1), T(2), &ResultOverflowed));
294 EXPECT_EQ(Max, SaturatingAdd(Max, T(1)));
295 EXPECT_EQ(Max, SaturatingAdd(Max, T(1), &ResultOverflowed));
298 EXPECT_EQ(Max, SaturatingAdd(T(1), T(Max - 1)));
299 EXPECT_EQ(Max, SaturatingAdd(T(1), T(Max - 1), &ResultOverflowed));
302 EXPECT_EQ(Max, SaturatingAdd(T(1), Max));
303 EXPECT_EQ(Max, SaturatingAdd(T(1), Max, &ResultOverflowed));
306 EXPECT_EQ(Max, SaturatingAdd(Max, Max));
307 EXPECT_EQ(Max, SaturatingAdd(Max, Max, &ResultOverflowed));