Home
last modified time | relevance | path

Searched refs:instance_of (Results 1 – 5 of 5) sorted by relevance

/art/compiler/optimizing/
Dinstruction_simplifier_test.cc426 HInstanceOf* instance_of = new (GetAllocator()) HInstanceOf(new_inst, in TEST_P() local
435 instance_of->SetValidTargetClassRTI(); in TEST_P()
437 HInstruction* if_inst = new (GetAllocator()) HIf(instance_of); in TEST_P()
443 entry->AddInstruction(instance_of); in TEST_P()
471 EXPECT_INS_REMOVED(instance_of); in TEST_P()
Dprepare_for_register_allocation.h48 void VisitInstanceOf(HInstanceOf* instance_of) override;
Dcode_generator.h472 static bool InstanceOfNeedsReadBarrier(HInstanceOf* instance_of) { in InstanceOfNeedsReadBarrier() argument
474 DCHECK(instance_of->GetTypeCheckKind() == TypeCheckKind::kExactCheck || in InstanceOfNeedsReadBarrier()
475 instance_of->GetTypeCheckKind() == TypeCheckKind::kAbstractClassCheck || in InstanceOfNeedsReadBarrier()
476 instance_of->GetTypeCheckKind() == TypeCheckKind::kClassHierarchyCheck || in InstanceOfNeedsReadBarrier()
477 instance_of->GetTypeCheckKind() == TypeCheckKind::kArrayObjectCheck) in InstanceOfNeedsReadBarrier()
478 << instance_of->GetTypeCheckKind(); in InstanceOfNeedsReadBarrier()
482 return gUseReadBarrier && !instance_of->GetTargetClass()->IsInBootImage(); in InstanceOfNeedsReadBarrier()
485 static ReadBarrierOption ReadBarrierOptionForInstanceOf(HInstanceOf* instance_of) { in ReadBarrierOptionForInstanceOf() argument
486 return InstanceOfNeedsReadBarrier(instance_of) ? kWithReadBarrier : kWithoutReadBarrier; in ReadBarrierOptionForInstanceOf()
Dprepare_for_register_allocation.cc45 void PrepareForRegisterAllocation::VisitInstanceOf(HInstanceOf* instance_of) { in VisitInstanceOf() argument
47 if (instance_of->GetTypeCheckKind() == TypeCheckKind::kBitstringCheck) { in VisitInstanceOf()
Dgraph_visualizer.cc456 void VisitInstanceOf(HInstanceOf* instance_of) override { in VisitInstanceOf() argument
457 HandleTypeCheckInstruction(instance_of); in VisitInstanceOf()