Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dcode_generator.h444 static bool InstanceOfNeedsReadBarrier(HInstanceOf* instance_of) { in InstanceOfNeedsReadBarrier() argument
446 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() argument
458 return InstanceOfNeedsReadBarrier(instance_of) ? kWithReadBarrier : kWithoutReadBarrier; in ReadBarrierOptionForInstanceOf()
Dinstruction_simplifier_test.cc425 HInstanceOf* instance_of = new (GetAllocator()) HInstanceOf(new_inst, in TEST_P() local
434 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()
Dprepare_for_register_allocation.h47 void VisitInstanceOf(HInstanceOf* instance_of) override;
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()