Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dbounds_check_elimination_test.cc203 HBoundsCheck* bounds_check = new (&allocator_) in TEST_F() local
206 null_check, bounds_check, constant_1, Primitive::kPrimInt, 0); in TEST_F()
207 block3->AddInstruction(bounds_check); in TEST_F()
221 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
269 HBoundsCheck* bounds_check = new (&allocator_) in TEST_F() local
272 null_check, bounds_check, constant_1, Primitive::kPrimInt, 0); in TEST_F()
273 block3->AddInstruction(bounds_check); in TEST_F()
287 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F()
411 HInstruction* bounds_check = new (allocator) HBoundsCheck(phi, array_length, 0); in BuildSSAGraph1() local
413 null_check, bounds_check, constant_10, Primitive::kPrimInt, 0); in BuildSSAGraph1()
[all …]
Dbounds_check_elimination.cc815 void VisitBoundsCheck(HBoundsCheck* bounds_check) OVERRIDE { in VisitBoundsCheck() argument
816 HBasicBlock* block = bounds_check->GetBlock(); in VisitBoundsCheck()
817 HInstruction* index = bounds_check->InputAt(0); in VisitBoundsCheck()
818 HInstruction* array_length = bounds_check->InputAt(1); in VisitBoundsCheck()
832 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
837 if (InductionRangeFitsIn(&array_range, bounds_check, &try_dynamic_bce)) { in VisitBoundsCheck()
838 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
849 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
860 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck()
886 HLoopInformation* loop = bounds_check->GetBlock()->GetLoopInformation(); in VisitBoundsCheck()
[all …]
Dssa_liveness_analysis_test.cc119 HInstruction* bounds_check = new (&allocator_) HBoundsCheck(index, length, /* dex_pc */ 0u); in TEST_F() local
120 block->AddInstruction(bounds_check); in TEST_F()
125 bounds_check); in TEST_F()
127 bounds_check->SetRawEnvironment(bounds_check_env); in TEST_F()
137 EXPECT_EQ(18u, bounds_check->GetLifetimePosition()); in TEST_F()
Dgraph_visualizer.cc420 void VisitBoundsCheck(HBoundsCheck* bounds_check) OVERRIDE { in VisitBoundsCheck() argument
422 << bounds_check->IsStringCharAt() << std::noboolalpha; in VisitBoundsCheck()
Dinstruction_simplifier.cc1961 HBoundsCheck* bounds_check = new (arena) HBoundsCheck( in SimplifyStringCharAt() local
1963 invoke->GetBlock()->InsertInstructionBefore(bounds_check, invoke); in SimplifyStringCharAt()
1965 str, bounds_check, Primitive::kPrimChar, dex_pc, /* is_string_char_at */ true); in SimplifyStringCharAt()
1967 bounds_check->CopyEnvironmentFrom(invoke->GetEnvironment()); in SimplifyStringCharAt()