Home
last modified time | relevance | path

Searched refs:Equals (Results 1 – 25 of 52) sorted by relevance

123

/art/compiler/utils/arm/
Dmanaged_register_arm_test.cc136 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 …]
Dmanaged_register_arm.cc27 if (Equals(other)) return true; in Overlaps()
35 if (other.IsDRegister()) return Equals(other); in Overlaps()
/art/compiler/utils/arm64/
Dmanaged_register_arm64_test.cc179 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_64/
Dmanaged_register_x86_64_test.cc208 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 …]
Dmanaged_register_x86_64.cc61 if (Equals(other)) return true; in Overlaps()
/art/compiler/utils/x86/
Dmanaged_register_x86_test.cc208 TEST(X86ManagedRegister, Equals) { in TEST() argument
210 EXPECT_TRUE(reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EAX))); in TEST()
211 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EBX))); in TEST()
212 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromCpuRegister(EDI))); in TEST()
213 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromXmmRegister(XMM0))); in TEST()
214 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromXmmRegister(XMM7))); in TEST()
215 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromX87Register(ST0))); in TEST()
216 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromX87Register(ST7))); in TEST()
217 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromRegisterPair(EAX_EDX))); in TEST()
218 EXPECT_TRUE(!reg_eax.Equals(X86ManagedRegister::FromRegisterPair(EBX_EDI))); in TEST()
[all …]
Dmanaged_register_x86.cc62 if (Equals(other)) return true; in Overlaps()
/art/compiler/dex/quick/
Dresource_mask.cc36 COMPILE_ASSERT(kNoRegMasks[127-ResourceMask::kHeapRef].Equals(
38 COMPILE_ASSERT(kNoRegMasks[127-ResourceMask::kLiteral].Equals(
40 COMPILE_ASSERT(kNoRegMasks[127-ResourceMask::kDalvikReg].Equals(
42 COMPILE_ASSERT(kNoRegMasks[127-ResourceMask::kFPStatus].Equals(
44 COMPILE_ASSERT(kNoRegMasks[127-ResourceMask::kCCode].Equals(
77 COMPILE_ASSERT(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kHeapRef, 0)].Equals(
79 COMPILE_ASSERT(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kLiteral, 0)].Equals(
81 COMPILE_ASSERT(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kDalvikReg, 0)].Equals(
83 COMPILE_ASSERT(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kFPStatus, 0)].Equals(
85 COMPILE_ASSERT(kSingleRegMasks[SingleRegMaskIndex(127-ResourceMask::kCCode, 0)].Equals(
[all …]
Dlocal_optimizations.cc246 } else if (!alias_mem_mask.Equals(kEncodeNone)) { in ApplyLoadStoreElimination()
251 if (!alias_mem_mask.Intersects(kEncodeMem) && alias_mem_mask.Equals(kEncodeLiteral)) { in ApplyLoadStoreElimination()
258 …} else if (((alias_mem_mask.Equals(kEncodeDalvikReg)) || (alias_mem_mask.Equals(kEncodeHeapRef))) … in ApplyLoadStoreElimination()
383 if (!check_mem_mask.Equals(kEncodeMem) && !alias_condition.Equals(kEncodeNone)) { in ApplyLoadHoisting()
385 if (alias_condition.Equals(kEncodeDalvikReg)) { in ApplyLoadHoisting()
393 DCHECK(alias_condition.Equals(kEncodeHeapRef)); in ApplyLoadHoisting()
456 if (prev_lir->u.m.def_mask->Equals(kEncodeAll)) { in ApplyLoadHoisting()
Dresource_mask.h108 constexpr bool Equals(const ResourceMask& other) const { in Equals() function
/art/compiler/optimizing/
Dstack_map_test.cc54 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST()
55 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePc(64))); in TEST()
101 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(0))); in TEST()
102 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePc(64))); in TEST()
122 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForDexPc(1u))); in TEST()
123 ASSERT_TRUE(stack_map.Equals(code_info.GetStackMapForNativePc(128u))); in TEST()
Dparallel_move_resolver.cc109 if (move->GetSource().Equals(destination)) { in PerformMove()
158 if (moves_.Get(i)->GetDestination().Equals(loc)) { in IsScratchLocation()
Dregister_allocator.cc678 if (source.Equals(destination)) return; in AddInputMoveFor()
700 if (source.Equals(destination)) return; in InsertParallelMoveAt()
743 if (source.Equals(destination)) return; in InsertParallelMoveAtExitOf()
765 if (source.Equals(destination)) return; in InsertParallelMoveAtEntryOf()
782 if (source.Equals(destination)) return; in InsertMoveAfter()
941 DCHECK(source.Equals(location)); in Resolve()
Dlocations.h179 bool Equals(Location other) const { in Equals() function
/art/runtime/verifier/
Dreg_type_test.cc40 EXPECT_TRUE(ref_type_const_0.Equals(ref_type_const_1)); in TEST_F()
41 EXPECT_FALSE(ref_type_const_0.Equals(ref_type_const_2)); in TEST_F()
42 EXPECT_FALSE(ref_type_const_0.Equals(ref_type_const_3)); in TEST_F()
46 EXPECT_TRUE(ref_type_const_wide_0.Equals(ref_type_const_wide_1)); in TEST_F()
51 EXPECT_TRUE(ref_type_const_wide_2.Equals(ref_type_const_wide_3)); in TEST_F()
52 EXPECT_FALSE(ref_type_const_wide_2.Equals(ref_type_const_wide_4)); in TEST_F()
351 EXPECT_TRUE(precise_obj.Equals(precise_obj_2)); in TEST_F()
352 EXPECT_FALSE(imprecise_obj.Equals(precise_obj)); in TEST_F()
353 EXPECT_FALSE(imprecise_obj.Equals(precise_obj)); in TEST_F()
354 EXPECT_FALSE(imprecise_obj.Equals(precise_obj_2)); in TEST_F()
[all …]
Dregister_line.cc170 if (GetRegisterType(i).Equals(uninit_type)) { in MarkRefsAsInitialized()
218 if (GetRegisterType(i).Equals(uninit_type)) { in MarkUninitRefsAsInvalid()
466 changed = changed || !cur_type.Equals(new_type); in MergeRegisters()
/art/runtime/mirror/
Dstring.h91 bool Equals(const char* modified_utf8) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
94 bool Equals(const StringPiece& modified_utf8)
97 bool Equals(String* that) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
103 bool Equals(const uint16_t* that_chars, int32_t that_offset,
Dobject_test.cc68 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); in AssertString()
69 …ASSERT_TRUE(string->Equals(StringPiece(utf8_in)) || (expected_utf16_length == 1 && strlen(utf8_in)… in AssertString()
398 EXPECT_TRUE(string->Equals("android")); in TEST_F()
399 EXPECT_FALSE(string->Equals("Android")); in TEST_F()
400 EXPECT_FALSE(string->Equals("ANDROID")); in TEST_F()
401 EXPECT_FALSE(string->Equals("")); in TEST_F()
402 EXPECT_FALSE(string->Equals("and")); in TEST_F()
403 EXPECT_FALSE(string->Equals("androids")); in TEST_F()
406 EXPECT_TRUE(empty->Equals("")); in TEST_F()
407 EXPECT_FALSE(empty->Equals("a")); in TEST_F()
[all …]
Dstring.cc136 bool String::Equals(String* that) { in Equals() function in art::mirror::String
158 bool String::Equals(const uint16_t* that_chars, int32_t that_offset, int32_t that_length) { in Equals() function in art::mirror::String
171 bool String::Equals(const char* modified_utf8) { in Equals() function in art::mirror::String
181 bool String::Equals(const StringPiece& modified_utf8) { in Equals() function in art::mirror::String
/art/compiler/utils/mips/
Dmanaged_register_mips.cc28 if (Equals(other)) return true; in Overlaps()
36 if (other.IsDRegister()) return Equals(other); in Overlaps()
/art/runtime/
Dintern_table_test.cc38 EXPECT_TRUE(foo_1->Equals("foo")); in TEST_F()
39 EXPECT_TRUE(foo_2->Equals("foo")); in TEST_F()
40 EXPECT_TRUE(foo_3->Equals("foo")); in TEST_F()
Dsafe_map.h114 bool Equals(const Self& rhs) const { in Equals() function
125 return lhs.Equals(rhs);
/art/compiler/utils/
Dmanaged_register.h61 bool Equals(const ManagedRegister& other) const { in Equals() function
/art/compiler/sea_ir/types/
Dtype_inference_visitor.cc92 if (!type->Equals(**cit)) { in MergeTypes()
/art/compiler/sea_ir/code_gen/
Dcode_gen.cc70 DCHECK(param_type->Equals(graph->ti_->type_cache_->Integer())) in Visit()
77 DCHECK(return_type->Equals(graph->ti_->type_cache_->Integer())) in Visit()

123