/art/compiler/utils/arm/ |
D | managed_register_arm_test.cc | 136 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S0))); in TEST() 148 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S2))); in TEST() 160 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S12))); in TEST() 172 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S28))); in TEST() 184 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromSRegisterPair(S30))); in TEST() 237 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R0))); in TEST() 249 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R1))); in TEST() 261 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R2))); in TEST() 273 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R4))); in TEST() 285 EXPECT_TRUE(reg.Equals(ArmManagedRegister::FromCoreRegisterPair(R6))); in TEST() [all …]
|
D | managed_register_arm.cc | 27 if (Equals(other)) return true; in Overlaps() 35 if (other.IsDRegister()) return Equals(other); in Overlaps()
|
/art/runtime/arch/x86/ |
D | instruction_set_features_x86_test.cc | 29 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST() 42 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST() 52 EXPECT_TRUE(x86_default_features->Equals(x86_default_features.get())); in TEST() 62 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST() 67 EXPECT_FALSE(x86_64_features->Equals(x86_features.get())); in TEST() 68 EXPECT_FALSE(x86_64_features->Equals(x86_default_features.get())); in TEST() 69 EXPECT_FALSE(x86_features->Equals(x86_default_features.get())); in TEST() 79 EXPECT_TRUE(x86_features->Equals(x86_features.get())); in TEST() 89 EXPECT_TRUE(x86_default_features->Equals(x86_default_features.get())); in TEST() 99 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST() [all …]
|
/art/compiler/utils/mips64/ |
D | managed_register_mips64_test.cc | 120 EXPECT_TRUE(reg.Equals(Mips64ManagedRegister::FromFpuRegister(F0))); in TEST() 131 EXPECT_TRUE(reg.Equals(Mips64ManagedRegister::FromFpuRegister(F1))); in TEST() 142 EXPECT_TRUE(reg.Equals(Mips64ManagedRegister::FromFpuRegister(F20))); in TEST() 153 EXPECT_TRUE(reg.Equals(Mips64ManagedRegister::FromFpuRegister(F31))); in TEST() 166 EXPECT_TRUE(reg.Equals(Mips64ManagedRegister::FromVectorRegister(W0))); in TEST() 177 EXPECT_TRUE(reg.Equals(Mips64ManagedRegister::FromVectorRegister(W2))); in TEST() 188 EXPECT_TRUE(reg.Equals(Mips64ManagedRegister::FromVectorRegister(W13))); in TEST() 199 EXPECT_TRUE(reg.Equals(Mips64ManagedRegister::FromVectorRegister(W29))); in TEST() 202 TEST(Mips64ManagedRegister, Equals) { in TEST() argument 204 EXPECT_TRUE(no_reg.Equals(Mips64ManagedRegister::NoRegister())); in TEST() [all …]
|
D | managed_register_mips64.cc | 28 if (Equals(other)) return true; in Overlaps()
|
/art/runtime/arch/mips/ |
D | instruction_set_features_mips_test.cc | 29 EXPECT_TRUE(mips_features->Equals(mips_features.get())); in TEST() 40 EXPECT_TRUE(mips32r1_features->Equals(mips32r1_features.get())); in TEST() 47 EXPECT_FALSE(mips32r1_features->Equals(mips_default_features.get())); in TEST() 56 EXPECT_TRUE(mips32r2_features->Equals(mips32r2_features.get())); in TEST() 63 EXPECT_TRUE(mips32r2_features->Equals(mips_default_features.get())); in TEST() 68 EXPECT_FALSE(mips32r2_features->Equals(mips32r1_features.get())); in TEST() 77 EXPECT_TRUE(mips32r5_features->Equals(mips32r5_features.get())); in TEST() 84 EXPECT_FALSE(mips32r5_features->Equals(mips_default_features.get())); in TEST() 89 EXPECT_FALSE(mips32r5_features->Equals(mips32r1_features.get())); in TEST() 94 EXPECT_FALSE(mips32r5_features->Equals(mips32r2_features.get())); in TEST() [all …]
|
/art/runtime/arch/arm/ |
D | instruction_set_features_arm_test.cc | 31 EXPECT_TRUE(krait_features->Equals(krait_features.get())); in TEST() 43 EXPECT_TRUE(kryo_features->Equals(kryo_features.get())); in TEST() 54 EXPECT_TRUE(generic_features->Equals(generic_features.get())); in TEST() 55 EXPECT_FALSE(generic_features->Equals(krait_features.get())); in TEST() 56 EXPECT_FALSE(krait_features->Equals(generic_features.get())); in TEST() 81 EXPECT_TRUE(krait_features->Equals(krait_features.get())); in TEST() 93 EXPECT_TRUE(kryo_features->Equals(krait_features.get())); in TEST() 104 EXPECT_TRUE(denver_features->Equals(denver_features.get())); in TEST() 105 EXPECT_FALSE(denver_features->Equals(krait_features.get())); in TEST() 107 EXPECT_FALSE(krait_features->Equals(denver_features.get())); in TEST() [all …]
|
/art/runtime/arch/arm64/ |
D | instruction_set_features_arm64_test.cc | 30 EXPECT_TRUE(arm64_features->Equals(arm64_features.get())); in TEST() 38 EXPECT_TRUE(cortex_a57_features->Equals(cortex_a57_features.get())); in TEST() 47 EXPECT_TRUE(cortex_a73_features->Equals(cortex_a73_features.get())); in TEST() 59 EXPECT_TRUE(cortex_a35_features->Equals(cortex_a35_features.get())); in TEST() 67 EXPECT_TRUE(kryo_features->Equals(kryo_features.get())); in TEST() 68 EXPECT_TRUE(kryo_features->Equals(cortex_a35_features.get())); in TEST() 69 EXPECT_FALSE(kryo_features->Equals(cortex_a57_features.get())); in TEST() 77 EXPECT_TRUE(cortex_a55_features->Equals(cortex_a55_features.get())); in TEST() 78 EXPECT_FALSE(cortex_a55_features->Equals(cortex_a35_features.get())); in TEST() 79 EXPECT_FALSE(cortex_a55_features->Equals(cortex_a57_features.get())); in TEST() [all …]
|
/art/compiler/utils/arm64/ |
D | managed_register_arm64_test.cc | 179 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D0))); in TEST() 191 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D1))); in TEST() 203 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D20))); in TEST() 215 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromDRegister(D31))); in TEST() 230 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S0))); in TEST() 242 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S5))); in TEST() 254 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S7))); in TEST() 266 EXPECT_TRUE(reg.Equals(Arm64ManagedRegister::FromSRegister(S31))); in TEST() 269 TEST(Arm64ManagedRegister, Equals) { in TEST() argument 271 EXPECT_TRUE(no_reg.Equals(Arm64ManagedRegister::NoRegister())); in TEST() [all …]
|
/art/compiler/utils/x86/ |
D | managed_register_x86_test.cc | 209 TEST(X86ManagedRegister, Equals) { in TEST() argument 211 EXPECT_TRUE(reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EAX))); in TEST() 212 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EBX))); in TEST() 213 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EDI))); in TEST() 214 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromXmmRegister(XMM0))); in TEST() 215 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromXmmRegister(XMM7))); in TEST() 216 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromX87Register(ST0))); in TEST() 217 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromX87Register(ST7))); in TEST() 218 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromRegisterPair(EAX_EDX))); in TEST() 219 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromRegisterPair(EBX_EDI))); in TEST() [all …]
|
/art/compiler/utils/x86_64/ |
D | managed_register_x86_64_test.cc | 208 TEST(X86_64ManagedRegister, Equals) { in TEST() argument 210 EXPECT_TRUE(reg_eax.Equals(X86_64ManagedRegister::FromCpuRegister(RAX))); in TEST() 211 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromCpuRegister(RBX))); in TEST() 212 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromCpuRegister(RDI))); in TEST() 213 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromXmmRegister(XMM0))); in TEST() 214 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromXmmRegister(XMM7))); in TEST() 215 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromX87Register(ST0))); in TEST() 216 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromX87Register(ST7))); in TEST() 217 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromRegisterPair(EAX_EDX))); in TEST() 218 EXPECT_TRUE(!reg_eax.Equals(X86_64ManagedRegister::FromRegisterPair(EBX_EDI))); in TEST() [all …]
|
/art/compiler/optimizing/ |
D | nodes_vector_test.cc | 151 EXPECT_TRUE(v0->Equals(v0)); in TEST_F() 152 EXPECT_TRUE(v1->Equals(v1)); in TEST_F() 153 EXPECT_TRUE(v2->Equals(v2)); in TEST_F() 154 EXPECT_TRUE(v3->Equals(v3)); in TEST_F() 155 EXPECT_TRUE(v4->Equals(v4)); in TEST_F() 157 EXPECT_TRUE(v0->Equals(v1)); in TEST_F() 158 EXPECT_FALSE(v0->Equals(v2)); // different vector lengths in TEST_F() 159 EXPECT_FALSE(v0->Equals(v3)); // different packed types in TEST_F() 160 EXPECT_FALSE(v0->Equals(v4)); // different kinds in TEST_F() 162 EXPECT_TRUE(v1->Equals(v0)); // switch operands in TEST_F() [all …]
|
D | stack_map_test.cc | 74 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST() 75 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64 * kPcAlign))); in TEST() 162 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST() 163 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(64 * kPcAlign))); in TEST() 201 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(1u))); in TEST() 202 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(128u * kPcAlign))); in TEST() 234 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(2u))); in TEST() 235 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(192u * kPcAlign))); in TEST() 267 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(3u))); in TEST() 268 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePcOffset(256u * kPcAlign))); in TEST() [all …]
|
D | parallel_move_resolver.cc | 109 if (LowOf(updated_location).Equals(source)) { in UpdateSourceOf() 111 } else if (HighOf(updated_location).Equals(source)) { in UpdateSourceOf() 114 DCHECK(updated_location.Equals(source)) << updated_location << " " << source; in UpdateSourceOf() 187 if (move->GetSource().Equals(destination)) { in PerformMove() 251 if (move->GetDestination().Equals(loc)) { in IsScratchLocation() 382 CHECK(!loc.Equals(scratch)); in AddScratchLocation() 391 if (loc.Equals(*it)) { in RemoveScratchLocation() 517 if (move->GetSource().Equals(from)) { in UpdateMoveSource()
|
D | code_generator_vector_x86.cc | 105 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecReplicateScalar() 110 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecReplicateScalar() 174 DCHECK(locations->InAt(0).Equals(locations->Out())); // no code required in VisitVecExtractScalar() 440 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecAdd() 482 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecSaturationAdd() 514 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecHalvingAdd() 541 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecSub() 583 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecSaturationSub() 615 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecMul() 648 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecDiv() [all …]
|
D | code_generator_vector_x86_64.cc | 96 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecReplicateScalar() 101 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecReplicateScalar() 157 DCHECK(locations->InAt(0).Equals(locations->Out())); // no code required in VisitVecExtractScalar() 423 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecAdd() 465 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecSaturationAdd() 497 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecHalvingAdd() 524 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecSub() 566 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecSaturationSub() 598 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecMul() 631 DCHECK(locations->InAt(0).Equals(locations->Out())); in VisitVecDiv() [all …]
|
/art/runtime/arch/mips64/ |
D | instruction_set_features_mips64_test.cc | 29 EXPECT_TRUE(mips64_features->Equals(mips64_features.get())); in TEST() 40 EXPECT_TRUE(mips64r6_features->Equals(mips64r6_features.get())); in TEST() 47 EXPECT_TRUE(mips64r6_features->Equals(mips64_default_features.get())); in TEST()
|
D | instruction_set_features_mips64.h | 51 bool Equals(const InstructionSetFeatures* other) const override;
|
/art/compiler/utils/mips/ |
D | managed_register_mips.cc | 28 if (Equals(other)) return true; in Overlaps() 36 if (other.IsDRegister()) return Equals(other); in Overlaps()
|
/art/test/443-not-bool-inline/ |
D | info.txt | 2 for simplifying Equals(foo, false);
|
/art/runtime/arch/ |
D | instruction_set_features.h | 82 virtual bool Equals(const InstructionSetFeatures* other) const = 0; 99 return Equals(other); in HasAtLeast()
|
/art/runtime/ |
D | intern_table_test.cc | 46 EXPECT_TRUE(foo_1->Equals("foo")); in TEST_F() 47 EXPECT_TRUE(foo_2->Equals("foo")); in TEST_F() 48 EXPECT_TRUE(foo_3->Equals("foo")); in TEST_F() 212 ASSERT_TRUE(foo->Equals("foo")); in TEST_F() 213 ASSERT_TRUE(bar->Equals("bar")); in TEST_F() 214 ASSERT_TRUE(foobar->Equals("foobar")); in TEST_F()
|
/art/runtime/verifier/ |
D | reg_type_test.cc | 46 EXPECT_TRUE(ref_type_const_0.Equals(ref_type_const_1)); in TEST_F() 47 EXPECT_FALSE(ref_type_const_0.Equals(ref_type_const_2)); in TEST_F() 48 EXPECT_FALSE(ref_type_const_0.Equals(ref_type_const_3)); in TEST_F() 52 EXPECT_TRUE(ref_type_const_wide_0.Equals(ref_type_const_wide_1)); in TEST_F() 57 EXPECT_TRUE(ref_type_const_wide_2.Equals(ref_type_const_wide_3)); in TEST_F() 58 EXPECT_FALSE(ref_type_const_wide_2.Equals(ref_type_const_wide_4)); in TEST_F() 371 EXPECT_TRUE(precise_obj.Equals(precise_obj_2)); in TEST_F() 372 EXPECT_FALSE(imprecise_obj.Equals(precise_obj)); in TEST_F() 373 EXPECT_FALSE(imprecise_obj.Equals(precise_obj)); in TEST_F() 374 EXPECT_FALSE(imprecise_obj.Equals(precise_obj_2)); in TEST_F() [all …]
|
/art/runtime/mirror/ |
D | object_test.cc | 72 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); in AssertString() 431 EXPECT_TRUE(string->Equals("android")); in TEST_F() 432 EXPECT_FALSE(string->Equals("Android")); in TEST_F() 433 EXPECT_FALSE(string->Equals("ANDROID")); in TEST_F() 434 EXPECT_FALSE(string->Equals("")); in TEST_F() 435 EXPECT_FALSE(string->Equals("and")); in TEST_F() 436 EXPECT_FALSE(string->Equals("androids")); in TEST_F() 439 EXPECT_TRUE(empty->Equals("")); in TEST_F() 440 EXPECT_FALSE(empty->Equals("a")); in TEST_F() 448 EXPECT_TRUE(string->Equals(string_2.Get())); in TEST_F() [all …]
|
/art/runtime/arch/x86_64/ |
D | instruction_set_features_x86_64_test.cc | 29 EXPECT_TRUE(x86_64_features->Equals(x86_64_features.get())); in TEST()
|