Searched refs:null_check (Results 1 – 7 of 7) sorted by relevance
/art/compiler/optimizing/ |
D | bounds_check_elimination_test.cc | 71 HNullCheck* null_check = new (&allocator) HNullCheck(parameter1, 0); in TEST() local 72 HArrayLength* array_length = new (&allocator) HArrayLength(null_check); in TEST() 76 null_check, bounds_check2, constant_1, Primitive::kPrimInt, 0); in TEST() 77 block2->AddInstruction(null_check); in TEST() 84 null_check = new (&allocator) HNullCheck(parameter1, 0); in TEST() 85 array_length = new (&allocator) HArrayLength(null_check); in TEST() 88 block3->AddInstruction(null_check); in TEST() 95 null_check = new (&allocator) HNullCheck(parameter1, 0); in TEST() 96 array_length = new (&allocator) HArrayLength(null_check); in TEST() 100 null_check, bounds_check4, constant_1, Primitive::kPrimInt, 0); in TEST() [all …]
|
D | nodes_test.cc | 44 HInstruction* null_check = new (&allocator) HNullCheck(parameter, 0); in TEST() local 45 first_block->AddInstruction(null_check); in TEST() 55 null_check->SetRawEnvironment(environment); in TEST() 57 parameter->AddEnvUseAt(null_check->GetEnvironment(), 0); in TEST() 62 first_block->RemoveInstruction(null_check); in TEST()
|
D | instruction_simplifier.cc | 162 void InstructionSimplifierVisitor::VisitNullCheck(HNullCheck* null_check) { in VisitNullCheck() argument 163 HInstruction* obj = null_check->InputAt(0); in VisitNullCheck() 165 null_check->ReplaceWith(obj); in VisitNullCheck() 166 null_check->GetBlock()->RemoveInstruction(null_check); in VisitNullCheck()
|
D | builder.cc | 745 HNullCheck* null_check = new (arena_) HNullCheck(arg, dex_pc); in BuildInvoke() local 746 current_block_->AddInstruction(null_check); in BuildInvoke() 747 temps.Add(null_check); in BuildInvoke() 748 invoke->SetArgumentAt(0, null_check); in BuildInvoke() 848 HInstruction* null_check = current_block_->GetLastInstruction(); in BuildInstanceFieldAccess() local 850 temps.Add(null_check); in BuildInstanceFieldAccess() 853 null_check, in BuildInstanceFieldAccess() 1107 HNullCheck* null_check = new (arena_) HNullCheck(array, dex_pc); in BuildFillArrayData() local 1108 current_block_->AddInstruction(null_check); in BuildFillArrayData() 1109 temps.Add(null_check); in BuildFillArrayData() [all …]
|
D | code_generator.cc | 848 bool CodeGenerator::CanMoveNullCheckToUser(HNullCheck* null_check) { in CanMoveNullCheckToUser() argument 849 HInstruction* first_next_not_move = null_check->GetNextDisregardingMoves(); in CanMoveNullCheckToUser() 852 && first_next_not_move->CanDoImplicitNullCheckOn(null_check->InputAt(0)); in CanMoveNullCheckToUser() 877 HNullCheck* null_check = first_prev_not_move->AsNullCheck(); in MaybeRecordImplicitNullCheck() local 880 RecordPcInfo(null_check, null_check->GetDexPc()); in MaybeRecordImplicitNullCheck()
|
D | bounds_check_elimination.cc | 943 HNullCheck* null_check = array->AsNullCheck(); in AddDeoptimizationArrayLength() local 944 if (null_check != nullptr) { in AddDeoptimizationArrayLength() 945 array = null_check->InputAt(0); in AddDeoptimizationArrayLength() 950 if (null_check != nullptr && !null_check->GetBlock()->Dominates(deopt_block)) { in AddDeoptimizationArrayLength() 962 null_check->ReplaceWith(array); in AddDeoptimizationArrayLength() 963 null_check->GetBlock()->RemoveInstruction(null_check); in AddDeoptimizationArrayLength()
|
D | code_generator.h | 220 bool CanMoveNullCheckToUser(HNullCheck* null_check);
|