Searched refs:SignedSubOverflow32 (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/unittests/base/ |
D | bits-unittest.cc | 184 TEST(Bits, SignedSubOverflow32) { in TEST() argument 186 EXPECT_FALSE(SignedSubOverflow32(0, 0, &val)); in TEST() 189 SignedSubOverflow32(std::numeric_limits<int32_t>::min(), 1, &val)); in TEST() 192 SignedSubOverflow32(std::numeric_limits<int32_t>::max(), -1, &val)); in TEST() 196 EXPECT_FALSE(SignedSubOverflow32(i, j, &val)); in TEST()
|
/external/v8/src/base/ |
D | bits.h | 204 inline bool SignedSubOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { in SignedSubOverflow32() function
|
/external/v8/test/cctest/compiler/ |
D | test-run-machops.cc | 5007 int expected_ovf = bits::SignedSubOverflow32(*i, *j, &expected_val); in TEST() 5026 int expected_ovf = bits::SignedSubOverflow32(*i, *j, &expected_val); in TEST() 5039 int expected_ovf = bits::SignedSubOverflow32(*j, *i, &expected_val); in TEST() 5052 int expected_ovf = bits::SignedSubOverflow32(*i, *j, &expected_val); in TEST() 5076 if (bits::SignedSubOverflow32(*i, *j, &expected)) expected = constant; in TEST()
|
/external/v8/src/compiler/ |
D | machine-operator-reducer.cc | 737 bool ovf = base::bits::SignedSubOverflow32(m.left().Value(), in ReduceProjection()
|
/external/v8/test/unittests/compiler/ |
D | machine-operator-reducer-unittest.cc | 1351 IsInt32Constant(base::bits::SignedSubOverflow32(x, y, &z))); in TEST_F()
|