Home
last modified time | relevance | path

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

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