Searched refs:bounds_check (Results 1 – 6 of 6) sorted by relevance
/art/compiler/optimizing/ |
D | bounds_check_elimination_test.cc | 202 HBoundsCheck* bounds_check = new (GetAllocator()) in TEST_F() local 205 null_check, bounds_check, constant_1, DataType::Type::kInt32, 0); in TEST_F() 206 block3->AddInstruction(bounds_check); in TEST_F() 220 ASSERT_FALSE(IsRemoved(bounds_check)); in TEST_F() 269 HBoundsCheck* bounds_check = new (GetAllocator()) in TEST_F() local 272 null_check, bounds_check, constant_1, DataType::Type::kInt32, 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, DataType::Type::kInt32, 0); in BuildSSAGraph1() [all …]
|
D | bounds_check_elimination.cc | 823 void VisitBoundsCheck(HBoundsCheck* bounds_check) override { in VisitBoundsCheck() argument 824 HBasicBlock* block = bounds_check->GetBlock(); in VisitBoundsCheck() 825 HInstruction* index = bounds_check->InputAt(0); in VisitBoundsCheck() 826 HInstruction* array_length = bounds_check->InputAt(1); in VisitBoundsCheck() 841 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck() 853 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck() 861 if (InductionRangeFitsIn(&array_range, bounds_check, &try_dynamic_bce)) { in VisitBoundsCheck() 862 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck() 873 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck() 884 ReplaceInstruction(bounds_check, index); in VisitBoundsCheck() [all …]
|
D | ssa_liveness_analysis_test.cc | 105 HInstruction* bounds_check = new (GetAllocator()) HBoundsCheck(index, length, /* dex_pc= */ 0u); in TEST_F() local 106 block->AddInstruction(bounds_check); in TEST_F() 111 bounds_check); in TEST_F() 113 bounds_check->SetRawEnvironment(bounds_check_env); in TEST_F() 123 EXPECT_EQ(18u, bounds_check->GetLifetimePosition()); in TEST_F()
|
D | superblock_cloner_test.cc | 88 HInstruction* bounds_check = new (GetAllocator()) HBoundsCheck(phi, array_length, dex_pc); in CreateBasicLoopDataFlow() local 90 new (GetAllocator()) HArrayGet(null_check, bounds_check, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow() 93 null_check, bounds_check, add, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow() 98 loop_body->AddInstruction(bounds_check); in CreateBasicLoopDataFlow() 116 bounds_check->CopyEnvironmentFrom(env); in CreateBasicLoopDataFlow()
|
D | graph_visualizer.cc | 434 void VisitBoundsCheck(HBoundsCheck* bounds_check) override { in VisitBoundsCheck() argument 436 << bounds_check->IsStringCharAt() << std::noboolalpha; in VisitBoundsCheck()
|
D | instruction_simplifier.cc | 2344 HBoundsCheck* bounds_check = new (allocator) HBoundsCheck( in SimplifyStringCharAt() local 2346 invoke->GetBlock()->InsertInstructionBefore(bounds_check, invoke); in SimplifyStringCharAt() 2348 bounds_check, in SimplifyStringCharAt() 2354 bounds_check->CopyEnvironmentFrom(invoke->GetEnvironment()); in SimplifyStringCharAt()
|