Home
last modified time | relevance | path

Searched refs:GetLastInstruction (Results 1 – 25 of 28) 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 …]
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.cc74 ASSERT_TRUE(block->GetLastInstruction()->IsReturn()); in TEST_F()
75 ASSERT_EQ(8u, block->GetLastInstruction()->GetLifetimePosition()); in TEST_F()
118 ASSERT_TRUE(block->GetLastInstruction()->IsReturn()); in TEST_F()
119 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()
Dinstruction_builder.cc307 return block->GetFirstInstruction() != block->GetLastInstruction(); in IsBlockPopulated()
626 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Unop_12x()
635 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Conversion_12x()
645 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x()
655 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_shift()
665 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_23x_cmp()
675 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x_shift()
685 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_12x()
696 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22s()
707 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction()); in Binop_22b()
[all …]
Dnodes.cc642 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 …]
Dgraph_checker_test.cc122 HInstruction* last_inst = exit_block->GetLastInstruction(); in TEST_F()
Dcode_sinking.cc37 HInstruction* last = exit_predecessor->GetLastInstruction(); in Run()
241 insert_pos = target_block->GetLastInstruction(); in FindIdealPosition()
Dlicm.cc159 instruction->MoveBefore(pre_header->GetLastInstruction()); in Run()
Dloop_analysis.cc44 HIf* hif = block->GetLastInstruction()->AsIf(); in CalculateLoopBasicProperties()
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.cc108 HIf* if_instruction = block->GetLastInstruction()->AsIf(); in Run()
Dbounds_check_elimination.cc1567 if (loop->GetPreHeader()->GetLastInstruction()->IsTryBoundary()) { in DynamicBCESeemsProfitable()
1665 HInstruction* control = loop->GetHeader()->GetLastInstruction(); in CanHandleInfiniteLoop()
1710 block->InsertInstructionBefore(condition, block->GetLastInstruction()); in InsertDeoptInLoop()
1715 block->InsertInstructionBefore(deoptimize, block->GetLastInstruction()); in InsertDeoptInLoop()
1739 instruction->MoveBefore(block->GetLastInstruction()); in HoistToPreHeaderOrDeoptBlock()
1802 header->GetLastInstruction(), GetGraph(), if_block); in TransformLoopForDeoptimizationIfNeeded()
1804 if_block->RemoveInstruction(if_block->GetLastInstruction()); in TransformLoopForDeoptimizationIfNeeded()
Dgraph_checker.cc55 HTryBoundary* boundary = block->GetLastInstruction()->AsTryBoundary(); in IsExitTryBoundaryIntoExitBlock()
151 predecessor->GetSinglePredecessor()->GetLastInstruction() : in VisitBasicBlock()
152 predecessor->GetLastInstruction(); in VisitBasicBlock()
186 if (current->GetNext() == nullptr && current != block->GetLastInstruction()) { in VisitBasicBlock()
Dcodegen_test.cc462 block->InsertInstructionBefore(move, block->GetLastInstruction()); in TEST_F()
510 block->InsertInstructionBefore(move, block->GetLastInstruction()); in TEST_F()
578 block->InsertInstructionBefore(move, block->GetLastInstruction()); in TEST_F()
Dscheduler.cc613 cursor_ = block->GetLastInstruction(); in Schedule()
680 DCHECK_NE(cursor, cursor->GetBlock()->GetLastInstruction()); in MoveAfterInBlock()
Dreference_type_propagation.cc393 BoundTypeForClassCheck(block->GetLastInstruction()); in VisitBasicBlock()
397 HIf* ifInstruction = block->GetLastInstruction()->AsIf(); in BoundTypeForIfNotNull()
509 HIf* ifInstruction = block->GetLastInstruction()->AsIf(); in BoundTypeForIfInstanceOf()
Dloop_optimization_test.cc249 new (GetAllocator()) HSuspendCheck(), header->GetLastInstruction()); in TEST_F()
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()
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.cc347 HReturn* ret = return_block->GetLastInstruction()->AsReturn(); in Loop3()
367 HXor* last_xor = graph->GetBlocks()[1]->GetLastInstruction()->GetPrevious()->AsXor(); in TEST_F()
Dinduction_var_range.cc168 DCHECK(block->GetLastInstruction() != nullptr) << block->GetBlockId(); in Insert()
170 block->InsertInstructionBefore(instruction, block->GetLastInstruction()); in Insert()
177 return loop->GetHeader()->GetLastInstruction(); in GetLoopControl()
Dregister_allocation_resolver.cc636 HInstruction* last = block->GetLastInstruction(); in InsertParallelMoveAtExitOf()

12