/external/v8/test/unittests/compiler/ |
D | machine-operator-reducer-unittest.cc | 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() [all …]
|
D | interpreter-assembler-unittest.cc | 30 : IsInt32Constant(static_cast<int32_t>(value)); in IsIntPtrConstant() 92 IsInt32Constant(offset))); in IsBytecodeOperand() 102 IsInt32Constant(offset))); in IsBytecodeOperandSignExtended() 118 IsInt32Constant(offset))); in IsBytecodeOperandShort() 124 IsInt32Constant(offset))); in IsBytecodeOperandShort() 129 IsInt32Constant(offset + 1))); in IsBytecodeOperandShort() 131 return IsWordOr(IsWordShl(second_byte, IsInt32Constant(kBitsPerByte)), in IsBytecodeOperandShort() 134 return IsWordOr(IsWordShl(first_byte, IsInt32Constant(kBitsPerByte)), in IsBytecodeOperandShort() 151 IsInt32Constant(offset))); in IsBytecodeOperandShortSignExtended() 167 IsInt32Constant(hi_byte_offset))); in IsBytecodeOperandShortSignExtended() [all …]
|
D | change-lowering-unittest.cc | 79 return Is32() ? IsInt32Constant(value) : IsInt64Constant(value); in IsIntPtrConstant() 254 IsInt32Add(IsWord32Shl(p1, IsInt32Constant(element_size_shift)), in TARGET_TEST_P() 255 IsInt32Constant(access.header_size - access.tag())); in TARGET_TEST_P() 279 IsInt32Add(p1, IsInt32Constant(access.header_size - access.tag())); in TARGET_TEST_P() 304 IsInt32Add(IsWord32Shl(p1, IsInt32Constant(element_size_shift)), in TARGET_TEST_P() 305 IsInt32Constant(access.header_size - access.tag())); in TARGET_TEST_P() 326 IsInt32Add(p1, IsInt32Constant(access.header_size - access.tag())); in TARGET_TEST_P() 408 value, IsInt32Constant(kSmiTagSize + kSmiShiftSize))), in TARGET_TEST_F() 413 value, IsInt32Constant(kSmiTagMask)), in TARGET_TEST_F() 433 IsWord32Sar(value, IsInt32Constant(kSmiTagSize + kSmiShiftSize)), in TARGET_TEST_F() [all …]
|
D | loop-peeling-unittest.cc | 305 EXPECT_THAT(phi, IsPhi(MachineRepresentation::kTagged, IsInt32Constant(11), in TEST_F() 382 IsPhi(MachineRepresentation::kTagged, IsInt32Constant(1), in TEST_F() 383 IsInt32Constant(2), IsMerge(b2t, b2f)), in TEST_F() 384 IsInt32Constant(1), IsInt32Constant(2), loop)); in TEST_F() 388 r, IsReturn(IsPhi(MachineRepresentation::kTagged, phi, IsInt32Constant(0), in TEST_F() 438 IsInt32Add(IsInt32Constant(0), IsInt32Constant(1)), in TEST_F() 439 IsInt32Add(IsInt32Constant(0), IsInt32Constant(2)), in TEST_F() 443 IsInt32Add(phi, IsInt32Constant(1)), in TEST_F() 444 IsInt32Add(phi, IsInt32Constant(2)), loop)); in TEST_F() 448 r, IsReturn(IsPhi(MachineRepresentation::kTagged, phi, IsInt32Constant(0), in TEST_F()
|
D | simplified-operator-reducer-unittest.cc | 190 EXPECT_THAT(reduction.replacement(), IsInt32Constant(0)); in TEST_F() 198 EXPECT_THAT(reduction.replacement(), IsInt32Constant(1)); in TEST_F() 328 EXPECT_THAT(reduction.replacement(), IsInt32Constant(DoubleToInt32(n))); in TEST_F() 338 EXPECT_THAT(reduction.replacement(), IsInt32Constant(0)); in TEST_F() 375 IsInt32Constant(bit_cast<int32_t>(DoubleToUint32(n)))); in TEST_F() 385 EXPECT_THAT(reduction.replacement(), IsInt32Constant(0)); in TEST_F()
|
D | branch-elimination-unittest.cc | 77 IsPhi(MachineRepresentation::kWord32, IsInt32Constant(1), in TEST_F() 78 IsInt32Constant(2), IsMerge(outer_if_true, IsDead()))); in TEST_F() 118 IsPhi(MachineRepresentation::kWord32, IsInt32Constant(2), in TEST_F() 119 IsInt32Constant(3), IsMerge(IsDead(), outer_if_false))); in TEST_F() 204 EXPECT_THAT(ret1, IsReturn(IsInt32Constant(2), effect, loop)); in TEST_F()
|
D | state-values-utils-unittest.cc | 36 EXPECT_THAT(node.node, IsInt32Constant(i)); in TEST_F() 86 EXPECT_THAT(node.node, IsInt32Constant(i)); in TEST_F() 115 EXPECT_THAT(node.node, IsInt32Constant(i)); in TEST_F()
|
D | js-intrinsic-lowering-unittest.cc | 157 IsInt32Constant(JS_ARRAY_TYPE)), in TEST_F() 188 IsInt32Constant(JS_DATE_TYPE)), in TEST_F() 219 IsInt32Constant(JS_TYPED_ARRAY_TYPE)), in TEST_F() 247 IsInt32Constant(FIRST_FUNCTION_TYPE), in TEST_F() 282 IsInt32Constant(JS_REGEXP_TYPE)), in TEST_F() 310 IsInt32Constant(FIRST_JS_RECEIVER_TYPE), in TEST_F() 452 IsInt32Constant(JS_VALUE_TYPE)), in TEST_F()
|
D | js-typed-lowering-unittest.cc | 114 return sizeof(value) == 4 ? IsInt32Constant(static_cast<int32_t>(value)) in IsIntPtrConstant() 650 : IsWord32Shl(key, IsInt32Constant(WhichPowerOf2(element_size))); in TEST_F() 736 : IsWord32Shl(key, IsInt32Constant(WhichPowerOf2(element_size))); in TEST_F() 780 : IsWord32Shl(key, IsInt32Constant(WhichPowerOf2(element_size))); in TEST_F()
|
D | liveness-analyzer-unittest.cc | 131 } else if (!IsInt32Constant(first_const + i) in MatchAndExplain()
|
D | node-test-utils.h | 80 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher);
|
D | node-test-utils.cc | 1600 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher) { in IsInt32Constant() function
|