/art/compiler/optimizing/ |
D | bounds_check_elimination_test.cc | 90 HNullCheck* null_check = new (GetAllocator()) HNullCheck(parameter1, 0); in TEST_F() local 91 HArrayLength* array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F() 95 null_check, bounds_check2, constant_1, DataType::Type::kInt32, 0); in TEST_F() 96 block2->AddInstruction(null_check); in TEST_F() 103 null_check = new (GetAllocator()) HNullCheck(parameter1, 0); in TEST_F() 104 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F() 107 block3->AddInstruction(null_check); in TEST_F() 114 null_check = new (GetAllocator()) HNullCheck(parameter1, 0); in TEST_F() 115 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F() 119 null_check, bounds_check4, constant_1, DataType::Type::kInt32, 0); in TEST_F() [all …]
|
D | ssa_liveness_analysis_test.cc | 96 HInstruction* null_check = new (GetAllocator()) HNullCheck(array, 0); in TEST_F() local 97 block->AddInstruction(null_check); in TEST_F() 102 null_check); in TEST_F() 104 null_check->SetRawEnvironment(null_check_env); in TEST_F() 165 HInstruction* null_check = new (GetAllocator()) HNullCheck(array, 0); in TEST_F() local 166 block->AddInstruction(null_check); in TEST_F() 171 null_check); in TEST_F() 173 null_check->SetRawEnvironment(null_check_env); in TEST_F()
|
D | nodes_test.cc | 157 HInstruction* null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F() local 158 first_block->AddInstruction(null_check); in TEST_F() 167 GetAllocator(), 1, graph->GetArtMethod(), 0, null_check); in TEST_F() 168 null_check->SetRawEnvironment(environment); in TEST_F() 170 parameter->AddEnvUseAt(null_check->GetEnvironment(), 0); in TEST_F() 175 first_block->RemoveInstruction(null_check); in TEST_F()
|
D | constructor_fence_redundancy_elimination.cc | 58 void VisitNullCheck(HNullCheck* null_check) override { in VisitNullCheck() argument 59 VisitAlias(null_check); in VisitNullCheck()
|
D | superblock_cloner_test.cc | 82 HInstruction* null_check = new (GetAllocator()) HNullCheck(parameters_[0], dex_pc); in CreateBasicLoopDataFlow() local 83 HInstruction* array_length = new (GetAllocator()) HArrayLength(null_check, dex_pc); in CreateBasicLoopDataFlow() 86 new (GetAllocator()) HArrayGet(null_check, bounds_check, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow() 89 null_check, bounds_check, add, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow() 92 loop_body->AddInstruction(null_check); in CreateBasicLoopDataFlow() 111 null_check->CopyEnvironmentFrom(env); in CreateBasicLoopDataFlow()
|
D | code_generator.h | 368 bool CanMoveNullCheckToUser(HNullCheck* null_check); 372 void GenerateNullCheck(HNullCheck* null_check); 373 virtual void GenerateImplicitNullCheck(HNullCheck* null_check) = 0; 374 virtual void GenerateExplicitNullCheck(HNullCheck* null_check) = 0;
|
D | code_generator.cc | 1562 bool CodeGenerator::CanMoveNullCheckToUser(HNullCheck* null_check) { in CanMoveNullCheckToUser() argument 1563 return null_check->IsEmittedAtUseSite(); in CanMoveNullCheckToUser() 1567 HNullCheck* null_check = instr->GetImplicitNullCheck(); in MaybeRecordImplicitNullCheck() local 1568 if (null_check != nullptr) { in MaybeRecordImplicitNullCheck() 1569 RecordPcInfo(null_check, null_check->GetDexPc(), GetAssembler()->CodePosition()); in MaybeRecordImplicitNullCheck()
|
D | instruction_simplifier.cc | 572 void InstructionSimplifierVisitor::VisitNullCheck(HNullCheck* null_check) { in VisitNullCheck() argument 573 HInstruction* obj = null_check->InputAt(0); in VisitNullCheck() 575 null_check->ReplaceWith(obj); in VisitNullCheck() 576 null_check->GetBlock()->RemoveInstruction(null_check); in VisitNullCheck()
|
D | load_store_analysis_test.cc | 679 HInstruction* null_check = new (GetAllocator()) HNullCheck(bound_type, 0); in TEST_F() local 680 HInstruction* array_get3 = new (GetAllocator()) HArrayGet(null_check, in TEST_F() 685 HInstruction* inter_addr = new (GetAllocator()) HIntermediateAddress(null_check, c1, 0); in TEST_F() 694 entry->AddInstruction(null_check); in TEST_F()
|
D | instruction_builder.cc | 314 HNullCheck* null_check = new (allocator_) HNullCheck(ref, dex_pc); in LoadNullCheckedLocal() local 315 AppendInstruction(null_check); in LoadNullCheckedLocal() 316 return null_check; in LoadNullCheckedLocal()
|