Lines Matching refs:IsInt32Constant

45         IsInt32MulHigh(dividend_matcher, IsInt32Constant(multiplier));  in IsTruncatingDiv()
52 quotient_matcher = IsWord32Sar(quotient_matcher, IsInt32Constant(shift)); in IsTruncatingDiv()
55 IsWord32Shr(dividend_matcher, IsInt32Constant(31))); in IsTruncatingDiv()
300 EXPECT_THAT(reduction.replacement(), IsInt32Constant(x)); in TEST_F()
325 EXPECT_THAT(reduction.replacement(), IsInt32Constant(bit_cast<int32_t>(x))); in TEST_F()
438 EXPECT_THAT(reduction.replacement(), IsInt32Constant(DoubleToInt32(x))); in TEST_F()
481 IsInt32Constant(bit_cast<int32_t>( in TEST_F()
502 EXPECT_THAT(r1.replacement(), IsWord32Shl(p0, IsInt32Constant(l))); in TEST_F()
509 EXPECT_THAT(r2.replacement(), IsWord32Shl(p0, IsInt32Constant(l))); in TEST_F()
529 (k & l) ? IsWord32And(p0, IsInt32Constant(k & l)) in TEST_F()
530 : IsInt32Constant(0)); in TEST_F()
539 (k & l) ? IsWord32And(p0, IsInt32Constant(k & l)) in TEST_F()
540 : IsInt32Constant(0)); in TEST_F()
560 IsInt32Add(IsWord32And(p0, IsInt32Constant(-1 << l)), in TEST_F()
561 IsInt32Constant(k << l))); in TEST_F()
572 IsInt32Add(IsWord32And(p0, IsInt32Constant(-1 << l)), s1)); in TEST_F()
580 IsInt32Add(IsWord32And(p0, IsInt32Constant(-1 << l)), s1)); in TEST_F()
598 EXPECT_THAT(r1.replacement(), IsInt32Mul(p0, IsInt32Constant(k << l))); in TEST_F()
606 EXPECT_THAT(r2.replacement(), IsInt32Mul(p0, IsInt32Constant(k << l))); in TEST_F()
630 IsInt32Add(IsWord32And(p0, IsInt32Constant(-1 << l)), in TEST_F()
631 IsInt32Mul(p1, IsInt32Constant(k << l)))); in TEST_F()
642 IsInt32Add(IsWord32And(p0, IsInt32Constant(-1 << l)), in TEST_F()
643 IsInt32Mul(p1, IsInt32Constant(k << l)))); in TEST_F()
770 IsWord32Ror(value, IsInt32Constant(32 - k))); in TEST_F()
778 IsWord32Ror(value, IsInt32Constant(32 - k))); in TEST_F()
801 IsInt32Constant(base::bits::RotateRight32(x, y))); in TEST_F()
824 EXPECT_THAT(r.replacement(), IsInt32Sub(IsInt32Constant(0), cmp)); in TEST_F()
878 EXPECT_THAT(r.replacement(), IsWord32And(p0, IsInt32Constant(m))); in TEST_F()
899 IsInt32Add(IsWord32And(p0, IsInt32Constant(-1 << l)), in TEST_F()
900 IsInt32Constant(k << l))); in TEST_F()
916 EXPECT_THAT(r.replacement(), IsWord32And(p0, IsInt32Constant(m))); in TEST_F()
934 EXPECT_THAT(r.replacement(), IsInt32Add(p0, IsInt32Constant(-k))); in TEST_F()
950 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
962 EXPECT_THAT(r.replacement(), IsInt32Sub(IsInt32Constant(0), p0)); in TEST_F()
970 IsWord32Sar(IsInt32Add(IsWord32Shr(p0, IsInt32Constant(31)), p0), in TEST_F()
971 IsInt32Constant(1))); in TEST_F()
980 IsInt32Constant(0), in TEST_F()
981 IsWord32Sar(IsInt32Add(IsWord32Shr(p0, IsInt32Constant(31)), p0), in TEST_F()
982 IsInt32Constant(1)))); in TEST_F()
991 IsWord32Sar(IsInt32Add(IsWord32Shr(IsWord32Sar(p0, IsInt32Constant(31)), in TEST_F()
992 IsInt32Constant(32 - shift)), in TEST_F()
994 IsInt32Constant(shift))); in TEST_F()
1005 IsInt32Constant(0), in TEST_F()
1007 IsInt32Add(IsWord32Shr(IsWord32Sar(p0, IsInt32Constant(31)), in TEST_F()
1008 IsInt32Constant(32 - shift)), in TEST_F()
1010 IsInt32Constant(shift)))); in TEST_F()
1018 EXPECT_THAT(r.replacement(), IsInt32Sub(IsInt32Constant(0), in TEST_F()
1038 IsWord32Equal(IsWord32Equal(p0, IsInt32Constant(0)), IsInt32Constant(0))); in TEST_F()
1052 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1058 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1073 IsInt32Constant(bit_cast<int32_t>( in TEST_F()
1083 IsWord32Shr(p0, IsInt32Constant(bit_cast<int32_t>(shift)))); in TEST_F()
1095 IsWord32Equal(IsWord32Equal(p0, IsInt32Constant(0)), IsInt32Constant(0))); in TEST_F()
1109 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1115 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1121 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1127 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1136 IsInt32Constant(base::bits::SignedMod32(dividend, divisor))); in TEST_F()
1148 IsInt32LessThan(p0, IsInt32Constant(0)), in TEST_F()
1149 IsInt32Sub(IsInt32Constant(0), in TEST_F()
1150 IsWord32And(IsInt32Sub(IsInt32Constant(0), p0), in TEST_F()
1151 IsInt32Constant(mask))), in TEST_F()
1152 IsWord32And(p0, IsInt32Constant(mask)))); in TEST_F()
1164 IsInt32LessThan(p0, IsInt32Constant(0)), in TEST_F()
1165 IsInt32Sub(IsInt32Constant(0), in TEST_F()
1166 IsWord32And(IsInt32Sub(IsInt32Constant(0), p0), in TEST_F()
1167 IsInt32Constant(mask))), in TEST_F()
1168 IsWord32And(p0, IsInt32Constant(mask)))); in TEST_F()
1177 IsInt32Constant(Abs(divisor))))); in TEST_F()
1187 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1201 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1207 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1213 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1222 IsInt32Constant(bit_cast<int32_t>( in TEST_F()
1232 IsWord32And(p0, IsInt32Constant( in TEST_F()
1243 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1281 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1293 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1312 IsInt32Constant(base::bits::SignedAddOverflow32(x, y, &z))); in TEST_F()
1316 EXPECT_THAT(r.replacement(), IsInt32Constant(z)); in TEST_F()
1333 EXPECT_THAT(r.replacement(), IsInt32Constant(0)); in TEST_F()
1351 IsInt32Constant(base::bits::SignedSubOverflow32(x, y, &z))); in TEST_F()
1355 EXPECT_THAT(r.replacement(), IsInt32Constant(z)); in TEST_F()
1378 p0, IsInt32Constant(bit_cast<int32_t>(limit << shift)))); in TEST_F()