Searched refs:GetLastInstruction (Results 1 - 21 of 21) sorted by last modified time

/art/compiler/optimizing/
H A Dbounds_check_elimination.cc1376 if (loop->GetPreHeader()->GetLastInstruction()->IsTryBoundary()) {
1475 HInstruction* control = loop->GetHeader()->GetLastInstruction();
1522 block->InsertInstructionBefore(condition, block->GetLastInstruction());
1525 block->InsertInstructionBefore(deoptimize, block->GetLastInstruction());
1546 instruction->MoveBefore(block->GetLastInstruction());
1609 induction_range_.GenerateTakenTest(header->GetLastInstruction(),
1614 if_block->RemoveInstruction(if_block->GetLastInstruction());
H A Dcodegen_test.cc676 block->InsertInstructionBefore(move, block->GetLastInstruction());
724 block->InsertInstructionBefore(move, block->GetLastInstruction());
792 block->InsertInstructionBefore(move, block->GetLastInstruction());
H A Ddead_code_elimination.cc39 HInstruction* last_instruction = block->GetLastInstruction();
139 if (block->IsEntryBlock() || !block->GetLastInstruction()->IsGoto()) {
H A Dgraph_checker.cc39 HTryBoundary* boundary = block->GetLastInstruction()->AsTryBoundary();
108 predecessor->GetSinglePredecessor()->GetLastInstruction() :
109 predecessor->GetLastInstruction();
143 if (current->GetNext() == nullptr && current != block->GetLastInstruction()) {
H A Dgraph_checker_test.cc126 HInstruction* last_inst = exit_block->GetLastInstruction();
H A Dgraph_test.cc89 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true);
90 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfFalseSuccessor(), return_block);
95 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true);
98 HBasicBlock* false_block = if_block->GetLastInstruction()->AsIf()->IfFalseSuccessor();
124 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), return_block);
125 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfFalseSuccessor(), if_false);
130 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfFalseSuccessor(), if_false);
133 HBasicBlock* true_block = if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor();
157 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_block);
158 ASSERT_EQ(if_block->GetLastInstruction()
[all...]
H A Dgvn_test.cc65 HInstruction* to_remove = block->GetLastInstruction();
75 HInstruction* different_offset = block->GetLastInstruction();
96 HInstruction* use_after_kill = block->GetLastInstruction();
141 block->AddInstruction(new (&allocator) HIf(block->GetLastInstruction()));
247 HInstruction* field_get_in_loop_header = loop_header->GetLastInstruction();
248 loop_header->AddInstruction(new (&allocator) HIf(block->GetLastInstruction()));
262 HInstruction* field_set = loop_body->GetLastInstruction();
272 HInstruction* field_get_in_loop_body = loop_body->GetLastInstruction();
284 HInstruction* field_get_in_exit = exit->GetLastInstruction();
412 outer_loop_body->GetLastInstruction());
[all...]
H A Dinduction_var_analysis.cc572 HInstruction* control = loop->GetHeader()->GetLastInstruction();
719 loop->GetHeader()->GetLastInstruction(),
H A Dinduction_var_analysis_test.cc243 GetInductionInfo(loop_header_[0]->GetLastInstruction(), 0).c_str());
583 GetInductionInfo(loop_header_[d]->GetLastInstruction(), d).c_str());
611 GetInductionInfo(loop_header_[0]->GetLastInstruction(), 0).c_str());
620 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious();
630 GetInductionInfo(loop_header_[0]->GetLastInstruction(), 0).c_str());
639 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious();
648 EXPECT_STREQ("", GetInductionInfo(loop_header_[0]->GetLastInstruction(), 0).c_str());
657 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious();
668 GetInductionInfo(loop_header_[0]->GetLastInstruction(), 0).c_str());
677 HInstruction* ifs = loop_header_[0]->GetLastInstruction()
[all...]
H A Dinduction_var_range.cc111 DCHECK(block->GetLastInstruction() != nullptr) << block->GetBlockId();
113 block->InsertInstructionBefore(instruction, block->GetLastInstruction());
155 induction_analysis_->LookupInfo(loop, header->GetLastInstruction());
600 induction_analysis_->LookupInfo(loop, header->GetLastInstruction());
626 induction_analysis_->LookupInfo(loop, header->GetLastInstruction());
H A Dinliner.cc1164 if (predecessor->GetLastInstruction()->IsThrow()) {
H A Dinstruction_builder.cc254 return block->GetFirstInstruction() != block->GetLastInstruction();
497 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction());
506 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction());
516 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction());
526 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction());
536 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction());
546 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction());
556 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction());
567 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction());
578 UpdateLocal(instruction.VRegA(), current_block_->GetLastInstruction());
[all...]
H A Dlicm.cc143 instruction->MoveBefore(pre_header->GetLastInstruction());
H A Dlicm_test.cc121 loop_body_->InsertInstructionBefore(get_field, loop_body_->GetLastInstruction());
125 loop_body_->InsertInstructionBefore(set_field, loop_body_->GetLastInstruction());
148 loop_body_->InsertInstructionBefore(get_field, loop_body_->GetLastInstruction());
159 loop_body_->InsertInstructionBefore(set_field, loop_body_->GetLastInstruction());
176 loop_body_->InsertInstructionBefore(get_array, loop_body_->GetLastInstruction());
179 loop_body_->InsertInstructionBefore(set_array, loop_body_->GetLastInstruction());
196 loop_body_->InsertInstructionBefore(get_array, loop_body_->GetLastInstruction());
199 loop_body_->InsertInstructionBefore(set_array, loop_body_->GetLastInstruction());
H A Dlive_ranges_test.cc77 ASSERT_TRUE(block->GetLastInstruction()->IsReturn());
78 ASSERT_EQ(8u, block->GetLastInstruction()->GetLifetimePosition());
125 ASSERT_TRUE(block->GetLastInstruction()->IsReturn());
126 ASSERT_EQ(22u, block->GetLastInstruction()->GetLifetimePosition());
H A Dnodes.cc486 HInstruction* gota = entry_block_->GetLastInstruction();
1417 insert_pos = target_block->GetLastInstruction();
1537 HTryBoundary* try_boundary = GetLastInstruction()->AsTryBoundary();
1565 && block.GetFirstInstruction() == block.GetLastInstruction();
1569 return HasOnlyOneInstruction(*this) && GetLastInstruction()->IsGoto();
1573 return HasOnlyOneInstruction(*this) && GetLastInstruction()->IsTryBoundary();
1577 return !GetInstructions().IsEmpty() && GetLastInstruction()->IsControlFlow();
1581 return !GetInstructions().IsEmpty() && GetLastInstruction()->IsIf();
1585 return !GetInstructions().IsEmpty() && GetLastInstruction()->IsTryBoundary();
1595 DCHECK_EQ(successors_[0], GetLastInstruction()
[all...]
H A Dnodes.h904 HInstruction* GetLastInstruction() const { return instructions_.last_instruction_; } function in class:art::HBasicBlock
H A Dreference_type_propagation.cc236 HIf* ifInstruction = block->GetLastInstruction()->AsIf();
374 HIf* ifInstruction = block->GetLastInstruction()->AsIf();
H A Dregister_allocator.cc1534 HInstruction* last = block->GetLastInstruction();
H A Dregister_allocator_test.cc312 HReturn* ret = return_block->GetLastInstruction()->AsReturn();
334 HXor* last_xor = graph->GetBlocks()[1]->GetLastInstruction()->GetPrevious()->AsXor();
H A Dselect_generator.cc84 HIf* if_instruction = block->GetLastInstruction()->AsIf();

Completed in 96 milliseconds