reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/CheckedArithmetic.h
   76   if (auto Product = checkedMul(A, B))
unittests/Support/CheckedArithmeticTest.cpp
   29   EXPECT_EQ(checkedMul<int64_t>(Max, 2), None);
   30   EXPECT_EQ(checkedMul<int64_t>(Max, Max), None);
   31   EXPECT_EQ(checkedMul<int64_t>(Min, 2), None);
   32   EXPECT_EQ(checkedMul<int64_t>(10, 2), Optional<int64_t>(20));
   47   EXPECT_EQ(checkedMul<int16_t>(Max, 2), None);
   48   EXPECT_EQ(checkedMul<int16_t>(Max, Max), None);
   49   EXPECT_EQ(checkedMul<int16_t>(Min, 2), None);
   50   EXPECT_EQ(checkedMul<int16_t>(10, 2), Optional<int16_t>(20));