Searched refs:SignedSubOverflow32 (Results 1 – 5 of 5) sorted by relevance
/external/v8/src/base/ |
D | bits-unittest.cc | 147 TEST(Bits, SignedSubOverflow32) { in TEST() argument 149 EXPECT_FALSE(SignedSubOverflow32(0, 0, &val)); in TEST() 152 SignedSubOverflow32(std::numeric_limits<int32_t>::min(), 1, &val)); in TEST() 155 SignedSubOverflow32(std::numeric_limits<int32_t>::max(), -1, &val)); in TEST() 159 EXPECT_FALSE(SignedSubOverflow32(i, j, &val)); in TEST()
|
D | bits.h | 136 inline bool SignedSubOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { in SignedSubOverflow32() function
|
/external/v8/src/compiler/ |
D | machine-operator-reducer-unittest.cc | 605 IsInt32Constant(base::bits::SignedSubOverflow32(x, y, &z))); in TEST_F()
|
D | machine-operator-reducer.cc | 474 bool ovf = base::bits::SignedSubOverflow32(m.left().Value(), in ReduceProjection()
|
/external/v8/test/cctest/compiler/ |
D | test-run-machops.cc | 4057 int expected_ovf = bits::SignedSubOverflow32(*i, *j, &expected_val); in TEST() 4076 int expected_ovf = bits::SignedSubOverflow32(*i, *j, &expected_val); in TEST() 4089 int expected_ovf = bits::SignedSubOverflow32(*j, *i, &expected_val); in TEST() 4102 int expected_ovf = bits::SignedSubOverflow32(*i, *j, &expected_val); in TEST() 4126 if (bits::SignedSubOverflow32(*i, *j, &expected)) expected = constant; in TEST()
|