/art/compiler/optimizing/ |
D | graph_test.cc | 94 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 …]
|
D | licm_test.cc | 131 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()
|
D | gvn_test.cc | 62 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 …]
|
D | cha_guard_optimization.cc | 156 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()
|
D | live_ranges_test.cc | 74 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()
|
D | dead_code_elimination.cc | 45 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()
|
D | instruction_builder.cc | 307 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 …]
|
D | nodes.cc | 642 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 …]
|
D | graph_checker_test.cc | 122 HInstruction* last_inst = exit_block->GetLastInstruction(); in TEST_F()
|
D | code_sinking.cc | 37 HInstruction* last = exit_predecessor->GetLastInstruction(); in Run() 241 insert_pos = target_block->GetLastInstruction(); in FindIdealPosition()
|
D | licm.cc | 159 instruction->MoveBefore(pre_header->GetLastInstruction()); in Run()
|
D | loop_analysis.cc | 44 HIf* hif = block->GetLastInstruction()->AsIf(); in CalculateLoopBasicProperties()
|
D | induction_var_analysis_test.cc | 177 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()
|
D | select_generator.cc | 108 HIf* if_instruction = block->GetLastInstruction()->AsIf(); in Run()
|
D | bounds_check_elimination.cc | 1567 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()
|
D | graph_checker.cc | 55 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()
|
D | codegen_test.cc | 462 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()
|
D | scheduler.cc | 613 cursor_ = block->GetLastInstruction(); in Schedule() 680 DCHECK_NE(cursor, cursor->GetBlock()->GetLastInstruction()); in MoveAfterInBlock()
|
D | reference_type_propagation.cc | 393 BoundTypeForClassCheck(block->GetLastInstruction()); in VisitBasicBlock() 397 HIf* ifInstruction = block->GetLastInstruction()->AsIf(); in BoundTypeForIfNotNull() 509 HIf* ifInstruction = block->GetLastInstruction()->AsIf(); in BoundTypeForIfInstanceOf()
|
D | loop_optimization_test.cc | 249 new (GetAllocator()) HSuspendCheck(), header->GetLastInstruction()); in TEST_F()
|
D | induction_var_range_test.cc | 763 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()
|
D | induction_var_analysis.cc | 120 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()
|
D | register_allocator_test.cc | 347 HReturn* ret = return_block->GetLastInstruction()->AsReturn(); in Loop3() 367 HXor* last_xor = graph->GetBlocks()[1]->GetLastInstruction()->GetPrevious()->AsXor(); in TEST_F()
|
D | induction_var_range.cc | 168 DCHECK(block->GetLastInstruction() != nullptr) << block->GetBlockId(); in Insert() 170 block->InsertInstructionBefore(instruction, block->GetLastInstruction()); in Insert() 177 return loop->GetHeader()->GetLastInstruction(); in GetLoopControl()
|
D | register_allocation_resolver.cc | 636 HInstruction* last = block->GetLastInstruction(); in InsertParallelMoveAtExitOf()
|