Home
last modified time | relevance | path

Searched refs:bounds_check (Results 1 – 8 of 8) sorted by relevance

/art/compiler/optimizing/
Dbounds_check_elimination_test.cc203 HBoundsCheck* bounds_check = new (GetAllocator()) in TEST_F() local
206 null_check, bounds_check, constant_1, DataType::Type::kInt32, 0); in TEST_F()
207 block3->AddInstruction(bounds_check); in TEST_F()
221 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
270 HBoundsCheck* bounds_check = new (GetAllocator()) in TEST_F() local
273 null_check, bounds_check, constant_1, DataType::Type::kInt32, 0); in TEST_F()
274 block3->AddInstruction(bounds_check); in TEST_F()
288 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
412 HInstruction* bounds_check = new (allocator) HBoundsCheck(phi, array_length, 0); in BuildSSAGraph1() local
414 null_check, bounds_check, constant_10, DataType::Type::kInt32, 0); in BuildSSAGraph1()
[all …]
Dbounds_check_elimination.cc836 void VisitBoundsCheck(HBoundsCheck* bounds_check) override { in VisitBoundsCheck() argument
837 HBasicBlock* block = bounds_check->GetBlock(); in VisitBoundsCheck()
838 HInstruction* index = bounds_check->InputAt(0); in VisitBoundsCheck()
839 HInstruction* array_length = bounds_check->InputAt(1); in VisitBoundsCheck()
854 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
866 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
874 if (InductionRangeFitsIn(&array_range, bounds_check, &try_dynamic_bce)) { in VisitBoundsCheck()
875 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
886 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
897 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
[all …]
Dssa_liveness_analysis_test.cc108 HInstruction* bounds_check = new (GetAllocator()) HBoundsCheck(index, length, /* dex_pc= */ 0u); in TEST_F() local
109 block->AddInstruction(bounds_check); in TEST_F()
114 bounds_check); in TEST_F()
116 bounds_check->SetRawEnvironment(bounds_check_env); in TEST_F()
126 EXPECT_EQ(18u, bounds_check->GetLifetimePosition()); in TEST_F()
Dsuperblock_cloner_test.cc85 HInstruction* bounds_check = new (GetAllocator()) HBoundsCheck(phi, array_length, dex_pc); in CreateBasicLoopDataFlow() local
87 new (GetAllocator()) HArrayGet(null_check, bounds_check, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow()
90 null_check, bounds_check, add, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow()
95 loop_body->AddInstruction(bounds_check); in CreateBasicLoopDataFlow()
113 bounds_check->CopyEnvironmentFrom(env); in CreateBasicLoopDataFlow()
Dgraph_visualizer.cc468 void VisitBoundsCheck(HBoundsCheck* bounds_check) override { in VisitBoundsCheck() argument
470 << bounds_check->IsStringCharAt() << std::noboolalpha; in VisitBoundsCheck()
Dinstruction_simplifier.cc2522 HBoundsCheck* bounds_check = new (allocator) HBoundsCheck( in SimplifyStringCharAt() local
2524 invoke->GetBlock()->InsertInstructionBefore(bounds_check, invoke); in SimplifyStringCharAt()
2526 bounds_check, in SimplifyStringCharAt()
2532 bounds_check->CopyEnvironmentFrom(invoke->GetEnvironment()); in SimplifyStringCharAt()
Dinstruction_builder.cc2035 HBoundsCheck* bounds_check = in BuildSimpleIntrinsic() local
2037 AppendInstruction(bounds_check); in BuildSimpleIntrinsic()
2039 instruction->SetRawInputAt(1u, bounds_check); in BuildSimpleIntrinsic()
Dload_store_elimination.cc1171 void VisitBoundsCheck(HBoundsCheck* bounds_check) override { in VisitBoundsCheck() argument
1172 HandleThrowingInstruction(bounds_check); in VisitBoundsCheck()