Home
last modified time | relevance | path

Searched refs:GetLastInstruction (Results 1 – 25 of 29) sorted by relevance

12

/art/compiler/optimizing/
Dgraph_test.cc94 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true); in TEST_F()
95 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfFalseSuccessor(), return_block); in TEST_F()
100 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true); in TEST_F()
103 HBasicBlock* false_block = if_block->GetLastInstruction()->AsIf()->IfFalseSuccessor(); in TEST_F()
126 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), return_block); in TEST_F()
127 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfFalseSuccessor(), if_false); in TEST_F()
132 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfFalseSuccessor(), if_false); in TEST_F()
135 HBasicBlock* true_block = if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(); in TEST_F()
156 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_block); in TEST_F()
157 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfFalseSuccessor(), return_block); in TEST_F()
[all …]
Dlicm_test.cc131 loop_body_->InsertInstructionBefore(get_field, loop_body_->GetLastInstruction()); in TEST_F()
135 loop_body_->InsertInstructionBefore(set_field, loop_body_->GetLastInstruction()); in TEST_F()
158 loop_body_->InsertInstructionBefore(get_field, loop_body_->GetLastInstruction()); in TEST_F()
169 loop_body_->InsertInstructionBefore(set_field, loop_body_->GetLastInstruction()); in TEST_F()
184 loop_body_->InsertInstructionBefore(get_array, loop_body_->GetLastInstruction()); in TEST_F()
187 loop_body_->InsertInstructionBefore(set_array, loop_body_->GetLastInstruction()); in TEST_F()
202 loop_body_->InsertInstructionBefore(get_array, loop_body_->GetLastInstruction()); in TEST_F()
205 loop_body_->InsertInstructionBefore(set_array, loop_body_->GetLastInstruction()); in TEST_F()
Dgvn_test.cc62 HInstruction* to_remove = block->GetLastInstruction(); in TEST_F()
72 HInstruction* different_offset = block->GetLastInstruction(); in TEST_F()
93 HInstruction* use_after_kill = block->GetLastInstruction(); in TEST_F()
134 block->AddInstruction(new (GetAllocator()) HIf(block->GetLastInstruction())); in TEST_F()
236 HInstruction* field_get_in_loop_header = loop_header->GetLastInstruction(); in TEST_F()
237 loop_header->AddInstruction(new (GetAllocator()) HIf(block->GetLastInstruction())); in TEST_F()
251 HInstruction* field_set = loop_body->GetLastInstruction(); in TEST_F()
261 HInstruction* field_get_in_loop_body = loop_body->GetLastInstruction(); in TEST_F()
273 HInstruction* field_get_in_exit = exit->GetLastInstruction(); in TEST_F()
397 outer_loop_body->GetLastInstruction()); in TEST_F()
[all …]
Dload_store_elimination_test.cc156 block->InsertInstructionBefore(vload, block->GetLastInstruction()); in AddVecLoad()
178 block->InsertInstructionBefore(vdata, block->GetLastInstruction()); in AddVecStore()
189 block->InsertInstructionBefore(vstore, block->GetLastInstruction()); in AddVecStore()
201 block->InsertInstructionBefore(get, block->GetLastInstruction()); in AddArrayGet()
224 block->InsertInstructionBefore(store, block->GetLastInstruction()); in AddArraySet()
435 pre_header_->InsertInstructionBefore(array_b, pre_header_->GetLastInstruction()); in TEST_F()
473 pre_header_->InsertInstructionBefore(array_b, pre_header_->GetLastInstruction()); in TEST_F()
595 pre_header_->InsertInstructionBefore(array_a, pre_header_->GetLastInstruction()); in TEST_F()
599 pre_header_->InsertInstructionBefore(array_b, pre_header_->GetLastInstruction()); in TEST_F()
636 pre_header_->InsertInstructionBefore(array_b, pre_header_->GetLastInstruction()); in TEST_F()
[all …]
Dcha_guard_optimization.cc156 instruction = dominator->GetLastInstruction(); in OptimizeWithDominatingGuard()
198 flag->MoveBefore(pre_header->GetLastInstruction()); in HoistGuard()
199 compare->MoveBefore(pre_header->GetLastInstruction()); in HoistGuard()
207 pre_header->InsertInstructionBefore(deoptimize, pre_header->GetLastInstruction()); in HoistGuard()
Dlive_ranges_test.cc77 ASSERT_TRUE(block->GetLastInstruction()->IsReturn()); in TEST_F()
78 ASSERT_EQ(8u, block->GetLastInstruction()->GetLifetimePosition()); in TEST_F()
121 ASSERT_TRUE(block->GetLastInstruction()->IsReturn()); in TEST_F()
122 ASSERT_EQ(22u, block->GetLastInstruction()->GetLifetimePosition()); in TEST_F()
Ddead_code_elimination.cc45 HInstruction* last_instruction = block->GetLastInstruction(); in MarkReachableBlocks()
154 HIf* ifs = block->GetLastInstruction()->AsIf(); in RemoveNonNullControlDependences()
244 HInstruction* last = block->GetLastInstruction(); in SimplifyAlwaysThrows()
326 HInstruction* last = block->GetLastInstruction(); in SimplifyIfs()
432 while (block->GetLastInstruction()->IsGoto()) { in ConnectSuccessiveBlocks()
Dnodes.cc641 HInstruction* gota = entry_block_->GetLastInstruction(); in InsertConstant()
1824 insert_pos = target_block->GetLastInstruction(); in MoveBeforeFirstUserAndOutOfLoops()
1944 HTryBoundary* try_boundary = GetLastInstruction()->AsTryBoundary(); in ComputeTryEntryOfSuccessors()
1972 && block.GetFirstInstruction() == block.GetLastInstruction(); in HasOnlyOneInstruction()
1976 return HasOnlyOneInstruction(*this) && GetLastInstruction()->IsGoto(); in IsSingleGoto()
1980 return HasOnlyOneInstruction(*this) && GetLastInstruction()->IsReturn(); in IsSingleReturn()
1984 return (GetFirstInstruction() == GetLastInstruction()) && in IsSingleReturnOrReturnVoidAllowingPhis()
1985 (GetLastInstruction()->IsReturn() || GetLastInstruction()->IsReturnVoid()); in IsSingleReturnOrReturnVoidAllowingPhis()
1989 return HasOnlyOneInstruction(*this) && GetLastInstruction()->IsTryBoundary(); in IsSingleTryBoundary()
1993 return !GetInstructions().IsEmpty() && GetLastInstruction()->IsControlFlow(); in EndsWithControlFlowInstruction()
[all …]
Dinstruction_builder.cc307 return block->GetFirstInstruction() != block->GetLastInstruction(); in IsBlockPopulated()
638 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Unop_12x()
647 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Conversion_12x()
657 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x()
667 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_shift()
677 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_cmp()
687 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x_shift()
697 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x()
708 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22s()
719 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22b()
[all …]
Dgraph_checker_test.cc122 HInstruction* last_inst = exit_block->GetLastInstruction(); in TEST_F()
Dlicm.cc159 instruction->MoveBefore(pre_header->GetLastInstruction()); in Run()
Dcode_sinking.cc37 HInstruction* last = exit_predecessor->GetLastInstruction(); in Run()
241 insert_pos = target_block->GetLastInstruction(); in FindIdealPosition()
Dinduction_var_analysis_test.cc177 HInstruction* control = loop_header_[d]->GetLastInstruction(); in GetTripCount()
1217 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F()
1243 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F()
1269 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F()
1295 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F()
1320 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F()
1345 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F()
Dselect_generator.cc106 HIf* if_instruction = block->GetLastInstruction()->AsIf(); in Run()
Dbounds_check_elimination.cc1668 if (loop->GetPreHeader()->GetLastInstruction()->IsTryBoundary()) { in DynamicBCESeemsProfitable()
1766 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in CanHandleInfiniteLoop()
1811 block->InsertInstructionBefore(condition, block->GetLastInstruction()); in InsertDeoptInLoop()
1816 block->InsertInstructionBefore(deoptimize, block->GetLastInstruction()); in InsertDeoptInLoop()
1840 instruction->MoveBefore(block->GetLastInstruction()); in HoistToPreHeaderOrDeoptBlock()
1903 header->GetLastInstruction(), GetGraph(), if_block); in TransformLoopForDeoptimizationIfNeeded()
1905 if_block->RemoveInstruction(if_block->GetLastInstruction()); in TransformLoopForDeoptimizationIfNeeded()
Dgraph_checker.cc56 HTryBoundary* boundary = block->GetLastInstruction()->AsTryBoundary(); in IsExitTryBoundaryIntoExitBlock()
152 predecessor->GetSinglePredecessor()->GetLastInstruction() : in VisitBasicBlock()
153 predecessor->GetLastInstruction(); in VisitBasicBlock()
187 if (current->GetNext() == nullptr && current != block->GetLastInstruction()) { in VisitBasicBlock()
Dloop_analysis.cc44 HIf* hif = block->GetLastInstruction()->AsIf(); in CalculateLoopBasicProperties()
Dscheduler.cc598 cursor_ = block->GetLastInstruction(); in Schedule()
665 DCHECK_NE(cursor, cursor->GetBlock()->GetLastInstruction()); in MoveAfterInBlock()
Dcodegen_test.cc458 block->InsertInstructionBefore(move, block->GetLastInstruction()); in TEST_F()
505 block->InsertInstructionBefore(move, block->GetLastInstruction()); in TEST_F()
574 block->InsertInstructionBefore(move, block->GetLastInstruction()); in TEST_F()
Dreference_type_propagation.cc354 BoundTypeForClassCheck(block->GetLastInstruction()); in VisitBasicBlock()
358 HIf* ifInstruction = block->GetLastInstruction()->AsIf(); in BoundTypeForIfNotNull()
470 HIf* ifInstruction = block->GetLastInstruction()->AsIf(); in BoundTypeForIfInstanceOf()
Dinduction_var_range_test.cc763 HInstruction* exit = exit_block_->GetLastInstruction(); in TEST_F()
815 HInstruction* exit = exit_block_->GetLastInstruction(); in TEST_F()
925 range_.Replace(loop_header_->GetLastInstruction(), x_, y_); in TEST_F()
1011 range_.Replace(loop_header_->GetLastInstruction(), x_, y_); in TEST_F()
Dloop_optimization_test.cc268 new (GetAllocator()) HSuspendCheck(), header->GetLastInstruction()); in TEST_F()
Dinduction_var_analysis.cc120 HInstruction* control = guard->GetLastInstruction(); in IsGuardedBy()
893 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitControl()
1047 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in VisitTripCount()
1138 HIf* ifs = loop->GetHeader()->GetLastInstruction()->AsIf(); in RewriteBreakLoop()
Dregister_allocator_test.cc349 HReturn* ret = return_block->GetLastInstruction()->AsReturn(); in Loop3()
369 HXor* last_xor = graph->GetBlocks()[1]->GetLastInstruction()->GetPrevious()->AsXor(); in TEST_F()
Dinduction_var_range.cc146 DCHECK(block->GetLastInstruction() != nullptr) << block->GetBlockId(); in Insert()
148 block->InsertInstructionBefore(instruction, block->GetLastInstruction()); in Insert()
155 return loop->GetHeader()->GetLastInstruction(); in GetLoopControl()

12