Home
last modified time | relevance | path

Searched refs:SignedSubOverflow32 (Results 1 – 5 of 5) sorted by relevance

/external/v8/test/unittests/base/
Dbits-unittest.cc184 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/
Dbits.h204 inline bool SignedSubOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { in SignedSubOverflow32() function
/external/v8/test/cctest/compiler/
Dtest-run-machops.cc5007 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/
Dmachine-operator-reducer.cc737 bool ovf = base::bits::SignedSubOverflow32(m.left().Value(), in ReduceProjection()
/external/v8/test/unittests/compiler/
Dmachine-operator-reducer-unittest.cc1351 IsInt32Constant(base::bits::SignedSubOverflow32(x, y, &z))); in TEST_F()