Home
last modified time | relevance | path

Searched refs:null_check (Results 1 – 9 of 9) sorted by relevance

/art/compiler/optimizing/
Dbounds_check_elimination_test.cc90 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 …]
Dssa_liveness_analysis_test.cc94 HInstruction* null_check = new (GetAllocator()) HNullCheck(array, 0); in TEST_F() local
95 block->AddInstruction(null_check); in TEST_F()
100 null_check); in TEST_F()
102 null_check->SetRawEnvironment(null_check_env); in TEST_F()
163 HInstruction* null_check = new (GetAllocator()) HNullCheck(array, 0); in TEST_F() local
164 block->AddInstruction(null_check); in TEST_F()
169 null_check); in TEST_F()
171 null_check->SetRawEnvironment(null_check_env); in TEST_F()
Dnodes_test.cc45 HInstruction* null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F() local
46 first_block->AddInstruction(null_check); in TEST_F()
55 GetAllocator(), 1, graph->GetArtMethod(), 0, null_check); in TEST_F()
56 null_check->SetRawEnvironment(environment); in TEST_F()
58 parameter->AddEnvUseAt(null_check->GetEnvironment(), 0); in TEST_F()
63 first_block->RemoveInstruction(null_check); in TEST_F()
Dconstructor_fence_redundancy_elimination.cc58 void VisitNullCheck(HNullCheck* null_check) override { in VisitNullCheck() argument
59 VisitAlias(null_check); in VisitNullCheck()
Dsuperblock_cloner_test.cc78 HInstruction* null_check = new (GetAllocator()) HNullCheck(parameter_, dex_pc); in CreateBasicLoopDataFlow() local
79 HInstruction* array_length = new (GetAllocator()) HArrayLength(null_check, dex_pc); in CreateBasicLoopDataFlow()
82 new (GetAllocator()) HArrayGet(null_check, bounds_check, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow()
85 null_check, bounds_check, add, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow()
88 loop_body->AddInstruction(null_check); in CreateBasicLoopDataFlow()
107 null_check->CopyEnvironmentFrom(env); in CreateBasicLoopDataFlow()
Dcode_generator.h334 bool CanMoveNullCheckToUser(HNullCheck* null_check);
338 void GenerateNullCheck(HNullCheck* null_check);
339 virtual void GenerateImplicitNullCheck(HNullCheck* null_check) = 0;
340 virtual void GenerateExplicitNullCheck(HNullCheck* null_check) = 0;
Dload_store_analysis_test.cc631 HInstruction* null_check = new (GetAllocator()) HNullCheck(bound_type, 0); in TEST_F() local
632 HInstruction* array_get3 = new (GetAllocator()) HArrayGet(null_check, in TEST_F()
637 HInstruction* inter_addr = new (GetAllocator()) HIntermediateAddress(null_check, c1, 0); in TEST_F()
646 entry->AddInstruction(null_check); in TEST_F()
Dcode_generator.cc1398 bool CodeGenerator::CanMoveNullCheckToUser(HNullCheck* null_check) { in CanMoveNullCheckToUser() argument
1399 return null_check->IsEmittedAtUseSite(); in CanMoveNullCheckToUser()
1403 HNullCheck* null_check = instr->GetImplicitNullCheck(); in MaybeRecordImplicitNullCheck() local
1404 if (null_check != nullptr) { in MaybeRecordImplicitNullCheck()
1405 RecordPcInfo(null_check, null_check->GetDexPc()); in MaybeRecordImplicitNullCheck()
Dinstruction_simplifier.cc558 void InstructionSimplifierVisitor::VisitNullCheck(HNullCheck* null_check) { in VisitNullCheck() argument
559 HInstruction* obj = null_check->InputAt(0); in VisitNullCheck()
561 null_check->ReplaceWith(obj); in VisitNullCheck()
562 null_check->GetBlock()->RemoveInstruction(null_check); in VisitNullCheck()