Searched defs:load_class (Results 1 - 6 of 6) sorted by relevance

/art/compiler/optimizing/
H A Dprepare_for_register_allocation.cc101 HLoadClass* load_class = check->GetLoadClass(); local
102 bool can_merge_with_load_class = CanMoveClinitCheck(load_class, check);
104 check->ReplaceWith(load_class);
110 if (can_merge_with_load_class && !load_class->HasUses()) {
111 load_class->GetBlock()->RemoveInstruction(load_class);
113 } else if (can_merge_with_load_class && !load_class->NeedsAccessCheck()) {
116 load_class->SetMustGenerateClinitCheck(true);
122 HLoadClass* load_class = instruction->InputAt(0)->AsLoadClass(); local
123 bool has_only_one_use = load_class
[all...]
H A Dssa_builder.cc456 HLoadClass* load_class = nullptr; local
463 load_class = input->InputAt(0)->AsLoadClass();
464 input->ReplaceWith(load_class);
467 load_class = input->AsLoadClass();
469 DCHECK(!load_class->NeedsAccessCheck()) << "String class is always accessible";
471 DCHECK(load_class != nullptr);
472 if (!load_class->HasUses()) {
475 load_class->GetBlock()->RemoveInstruction(load_class);
H A Dinliner.cc437 HLoadClass* load_class = new (graph_->GetArena()) HLoadClass(graph_->GetCurrentMethod(), local
445 HNotEqual* compare = new (graph_->GetArena()) HNotEqual(load_class, receiver_class);
452 bb_cursor->InsertInstructionAfter(load_class, receiver_class);
453 bb_cursor->InsertInstructionAfter(compare, load_class);
H A Dreference_type_propagation.cc86 void VisitLoadClass(HLoadClass* load_class) OVERRIDE;
386 HLoadClass* load_class = instanceOf->InputAt(1)->AsLoadClass(); local
387 ReferenceTypeInfo class_rti = load_class->GetLoadedClassRTI();
641 HLoadClass* load_class = check_cast->InputAt(1)->AsLoadClass(); local
642 ReferenceTypeInfo class_rti = load_class->GetLoadedClassRTI();
H A Dinstruction_builder.cc926 HLoadClass* load_class = new (arena_) HLoadClass( local
935 AppendInstruction(load_class);
936 HInstruction* cls = load_class;
938 cls = new (arena_) HClinitCheck(load_class, dex_pc);
1017 HLoadClass* load_class = new (arena_) HLoadClass( local
1025 AppendInstruction(load_class);
1026 clinit_check = new (arena_) HClinitCheck(load_class, dex_pc);
H A Dinstruction_simplifier.cc459 HLoadClass* load_class = check_cast->InputAt(1)->AsLoadClass(); local
460 if (load_class->NeedsAccessCheck()) {
478 if (TypeCheckHasKnownOutcome(load_class, object, &outcome)) {
482 if (!load_class->HasUses()) {
486 load_class->GetBlock()->RemoveInstruction(load_class);
497 HLoadClass* load_class = instruction->InputAt(1)->AsLoadClass(); local
498 if (load_class->NeedsAccessCheck()) {
521 if (TypeCheckHasKnownOutcome(load_class, object, &outcome)) {
534 if (outcome && !load_class
[all...]

Completed in 116 milliseconds