Searched refs:instance_of (Results 1 – 5 of 5) sorted by relevance
444 static bool InstanceOfNeedsReadBarrier(HInstanceOf* instance_of) { in InstanceOfNeedsReadBarrier() argument446 DCHECK(instance_of->GetTypeCheckKind() == TypeCheckKind::kExactCheck || in InstanceOfNeedsReadBarrier()447 instance_of->GetTypeCheckKind() == TypeCheckKind::kAbstractClassCheck || in InstanceOfNeedsReadBarrier()448 instance_of->GetTypeCheckKind() == TypeCheckKind::kClassHierarchyCheck || in InstanceOfNeedsReadBarrier()449 instance_of->GetTypeCheckKind() == TypeCheckKind::kArrayObjectCheck) in InstanceOfNeedsReadBarrier()450 << instance_of->GetTypeCheckKind(); in InstanceOfNeedsReadBarrier()454 return kEmitCompilerReadBarrier && !instance_of->GetTargetClass()->IsInBootImage(); in InstanceOfNeedsReadBarrier()457 static ReadBarrierOption ReadBarrierOptionForInstanceOf(HInstanceOf* instance_of) { in ReadBarrierOptionForInstanceOf() argument458 return InstanceOfNeedsReadBarrier(instance_of) ? kWithReadBarrier : kWithoutReadBarrier; in ReadBarrierOptionForInstanceOf()
425 HInstanceOf* instance_of = new (GetAllocator()) HInstanceOf(new_inst, in TEST_P() local434 instance_of->SetValidTargetClassRTI(); in TEST_P()436 HInstruction* if_inst = new (GetAllocator()) HIf(instance_of); in TEST_P()442 entry->AddInstruction(instance_of); in TEST_P()479 EXPECT_INS_REMOVED(instance_of); in TEST_P()
47 void VisitInstanceOf(HInstanceOf* instance_of) override;
45 void PrepareForRegisterAllocation::VisitInstanceOf(HInstanceOf* instance_of) { in VisitInstanceOf() argument47 if (instance_of->GetTypeCheckKind() == TypeCheckKind::kBitstringCheck) { in VisitInstanceOf()
456 void VisitInstanceOf(HInstanceOf* instance_of) override { in VisitInstanceOf() argument457 HandleTypeCheckInstruction(instance_of); in VisitInstanceOf()