Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dcode_generator.h408 static bool InstanceOfNeedsReadBarrier(HInstanceOf* instance_of) { in InstanceOfNeedsReadBarrier() argument
410 DCHECK(instance_of->GetTypeCheckKind() == TypeCheckKind::kExactCheck || in InstanceOfNeedsReadBarrier()
411 instance_of->GetTypeCheckKind() == TypeCheckKind::kAbstractClassCheck || in InstanceOfNeedsReadBarrier()
412 instance_of->GetTypeCheckKind() == TypeCheckKind::kClassHierarchyCheck || in InstanceOfNeedsReadBarrier()
413 instance_of->GetTypeCheckKind() == TypeCheckKind::kArrayObjectCheck) in InstanceOfNeedsReadBarrier()
414 << instance_of->GetTypeCheckKind(); in InstanceOfNeedsReadBarrier()
418 return kEmitCompilerReadBarrier && !instance_of->GetTargetClass()->IsInBootImage(); in InstanceOfNeedsReadBarrier()
421 static ReadBarrierOption ReadBarrierOptionForInstanceOf(HInstanceOf* instance_of) { in ReadBarrierOptionForInstanceOf() argument
422 return InstanceOfNeedsReadBarrier(instance_of) ? kWithReadBarrier : kWithoutReadBarrier; in ReadBarrierOptionForInstanceOf()
Dgraph_visualizer.cc399 void VisitInstanceOf(HInstanceOf* instance_of) OVERRIDE { in VisitInstanceOf() argument
400 StartAttributeStream("check_kind") << instance_of->GetTypeCheckKind(); in VisitInstanceOf()
402 << instance_of->MustDoNullCheck() << std::noboolalpha; in VisitInstanceOf()