Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Dinstruction_simplifier.cc126 left_neg->GetBlock()->RemoveInstruction(left_neg); in TryMoveNegOnInputsAfterBinop()
127 right_neg->GetBlock()->RemoveInstruction(right_neg); in TryMoveNegOnInputsAfterBinop()
129 binop->GetBlock()->InsertInstructionBefore(neg, binop->GetNext()); in TryMoveNegOnInputsAfterBinop()
147 instruction->GetBlock()->RemoveInstruction(instruction); in VisitShift()
156 instruction->GetBlock()->ReplaceAndRemoveInstructionWith(instruction, add); in VisitShift()
166 null_check->GetBlock()->RemoveInstruction(null_check); in VisitNullCheck()
189 check_cast->GetBlock()->RemoveInstruction(check_cast); in VisitCheckCast()
203 HBasicBlock* block = check->GetBlock(); in VisitSuspendCheck()
223 HBasicBlock* block = equal->GetBlock(); in VisitEqual()
246 HBasicBlock* block = not_equal->GetBlock(); in VisitNotEqual()
[all …]
Dconstant_folding.cc61 inst->GetBlock()->RemoveInstruction(inst); in Run()
71 inst->GetBlock()->RemoveInstruction(inst); in Run()
79 check->GetBlock()->RemoveInstruction(check); in Run()
95 instruction->GetBlock()->RemoveInstruction(instruction); in VisitShift()
107 instruction->GetBlock()->RemoveInstruction(instruction); in VisitAnd()
124 instruction->GetBlock()->RemoveInstruction(instruction); in VisitMul()
141 instruction->GetBlock()->RemoveInstruction(instruction); in VisitOr()
152 HBasicBlock* block = instruction->GetBlock(); in VisitRem()
196 HBasicBlock* block = instruction->GetBlock(); in VisitSub()
225 HBasicBlock* block = instruction->GetBlock(); in VisitXor()
Dbounds_check_elimination.cc299 HLoopInformation* loop_info = induction_variable_->GetBlock()->GetLoopInformation(); in Run()
302 DCHECK(block == induction_variable_->GetBlock()); in Run()
354 if (loop_info->Contains(*array->GetBlock())) { in Run()
516 DCHECK(induction_variable_->GetBlock()->IsLoopHeader()); in GetLoopHeader()
517 return induction_variable_->GetBlock(); in GetLoopHeader()
700 HBasicBlock* header = induction_variable_->GetBlock(); in NarrowWithDeoptimization()
703 if (!initial_->GetBlock()->Dominates(pre_header) || in NarrowWithDeoptimization()
704 !end_->GetBlock()->Dominates(pre_header)) { in NarrowWithDeoptimization()
733 HBasicBlock* header = induction_variable_->GetBlock(); in CanAddDeoptimizationConstant()
736 DCHECK(value->GetBlock()->Dominates(pre_header)); in CanAddDeoptimizationConstant()
[all …]
Dgvn_test.cc63 ASSERT_EQ(to_remove->GetBlock(), block); in TEST()
64 ASSERT_EQ(different_offset->GetBlock(), block); in TEST()
65 ASSERT_EQ(use_after_kill->GetBlock(), block); in TEST()
72 ASSERT_TRUE(to_remove->GetBlock() == nullptr); in TEST()
73 ASSERT_EQ(different_offset->GetBlock(), block); in TEST()
74 ASSERT_EQ(use_after_kill->GetBlock(), block); in TEST()
187 ASSERT_EQ(field_get_in_loop_header->GetBlock(), loop_header); in TEST()
188 ASSERT_EQ(field_get_in_loop_body->GetBlock(), loop_body); in TEST()
189 ASSERT_EQ(field_get_in_exit->GetBlock(), exit); in TEST()
199 ASSERT_EQ(field_get_in_loop_header->GetBlock(), loop_header); in TEST()
[all …]
Dgraph_checker.cc145 if (instruction->GetBlock() == nullptr) { in VisitInstruction()
150 } else if (instruction->GetBlock() != current_block_) { in VisitInstruction()
155 instruction->GetBlock()->GetBlockId())); in VisitInstruction()
163 ? input->GetBlock()->GetPhis() in VisitInstruction()
164 : input->GetBlock()->GetInstructions(); in VisitInstruction()
179 ? use->GetBlock()->GetPhis() in VisitInstruction()
180 : use->GetBlock()->GetInstructions(); in VisitInstruction()
407 use->GetId(), use->GetBlock()->GetBlockId())); in VisitInstruction()
451 phi->GetBlock()->GetBlockId())); in VisitPhi()
457 phi->GetBlock()->GetPredecessors(); in VisitPhi()
[all …]
Dlicm.cc23 return instruction->IsPhi() && instruction->GetBlock() == block; in IsPhiOf()
32 HLoopInformation* info = instruction->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop()
34 HLoopInformation* input_loop = it.Current()->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop()
48 HLoopInformation* input_loop = input->GetBlock()->GetLoopInformation(); in InputsAreDefinedBeforeLoop()
Dprepare_for_register_allocation.cc47 bound_type->GetBlock()->RemoveInstruction(bound_type); in VisitBoundType()
57 check->GetBlock()->RemoveInstruction(check); in VisitClinitCheck()
99 last_input->GetBlock()->RemoveInstruction(last_input); in VisitInvokeStaticOrDirect()
Dconstant_folding_test.cc116 HInstruction* inst = graph->GetBlock(1)->GetFirstInstruction()->InputAt(0); in TEST()
177 HInstruction* inst = graph->GetBlock(1)->GetFirstInstruction()->InputAt(0); in TEST()
257 HInstruction* inst1 = graph->GetBlock(1)->GetFirstInstruction()->InputAt(0); in TEST()
329 HInstruction* inst = graph->GetBlock(1)->GetFirstInstruction()->InputAt(0); in TEST()
393 HInstruction* inst = graph->GetBlock(1)->GetFirstInstruction()->InputAt(0); in TEST()
458 HInstruction* inst = graph->GetBlock(1)->GetFirstInstruction()->InputAt(0); in TEST()
560 HInstruction* inst1 = graph->GetBlock(4)->GetFirstInstruction()->InputAt(0); in TEST()
650 HInstruction* inst = graph->GetBlock(1)->GetFirstInstruction()->InputAt(0); in TEST()
Dlocations.cc26 : inputs_(instruction->GetBlock()->GetGraph()->GetArena(), instruction->InputCount()), in LocationSummary()
27 temps_(instruction->GetBlock()->GetGraph()->GetArena(), 0), in LocationSummary()
41 ArenaAllocator* arena = instruction->GetBlock()->GetGraph()->GetArena(); in LocationSummary()
Dssa_builder.cc341 current->GetBlock()->RemoveInstruction(current); in BuildSsa()
428 HGraph* graph = constant->GetBlock()->GetGraph(); in GetFloatEquivalent()
431 constant->GetBlock()->InsertInstructionBefore(result, constant->GetNext()); in GetFloatEquivalent()
451 HGraph* graph = constant->GetBlock()->GetGraph(); in GetDoubleEquivalent()
454 constant->GetBlock()->InsertInstructionBefore(result, constant->GetNext()); in GetDoubleEquivalent()
484 ArenaAllocator* allocator = phi->GetBlock()->GetGraph()->GetArena(); in GetFloatDoubleOrReferenceEquivalentOfPhi()
491 phi->GetBlock()->InsertPhiAfter(new_phi, phi); in GetFloatDoubleOrReferenceEquivalentOfPhi()
526 return value->GetBlock()->GetGraph()->GetNullConstant(); in GetReferenceTypeEquivalent()
545 load->GetBlock()->RemoveInstruction(load); in VisitLoadLocal()
550 store->GetBlock()->RemoveInstruction(store); in VisitStoreLocal()
[all …]
Dnodes.cc309 if ((cached_null_constant_ == nullptr) || (cached_null_constant_->GetBlock() == nullptr)) { in GetNullConstant()
466 DCHECK(initial->GetBlock() == this); in ReplaceAndRemoveInstructionWith()
475 DCHECK(instruction->GetBlock() == nullptr); in Add()
496 DCHECK_EQ(cursor->GetBlock(), this); in InsertInstructionBefore()
509 DCHECK_EQ(cursor->GetBlock(), this); in InsertInstructionAfter()
521 DCHECK_EQ(cursor->GetBlock(), this); in InsertPhiAfter()
532 DCHECK_EQ(block, instruction->GetBlock()); in Remove()
588 if (instruction->IsLoopHeaderPhi() && (instruction->GetBlock() == loop_header)) { in CopyFromWithLoopPhiAdjustment()
592 DCHECK(initial->GetBlock()->Dominates(loop_header)); in CopyFromWithLoopPhiAdjustment()
687 DCHECK_EQ(instruction1->GetBlock(), instruction2->GetBlock()); in FoundBefore()
[all …]
Dboolean_simplifier.cc37 boolean_not->GetBlock()->RemoveInstruction(boolean_not); in TryRemovingNegatedCondition()
66 HGraph* graph = cond->GetBlock()->GetGraph(); in GetOppositeCondition()
125 if (replacement->GetBlock() == nullptr) { in TryRemovingBooleanSelection()
Doptimizing_unit_test.h69 current->GetBlock()->RemoveInstruction(current); in RemoveSuspendChecks()
113 return instruction->GetBlock() == nullptr; in IsRemoved()
Dssa_phi_elimination.cc122 DCHECK(!phi->IsLoopHeaderPhi() || phi->GetBlock()->IsLoopPreHeaderFirstPredecessor()); in Run()
153 phi->GetBlock()->RemovePhi(phi); in Run()
Dreference_type_propagation.cc96 if (notNullBlock->Dominates(user->GetBlock())) { in BoundTypeForIfNotNull()
151 if (instanceOfTrueBlock->Dominates(user->GetBlock())) { in BoundTypeForIfInstanceOf()
207 if (phi->GetBlock()->IsLoopHeader()) { in VisitPhi()
Dssa_liveness_analysis.h142 return user_->GetBlock()->GetLoopInformation(); in GetLoopInformation()
265 AddBackEdgeUses(*instruction->GetBlock());
305 size_t start_block_position = instruction->GetBlock()->GetLifetimeStart();
1133 return instruction->GetBlock(); in GetBlockFromPosition()
1201 if (instruction->GetBlock()->GetGraph()->IsDebuggable()) return true; in ShouldBeLiveForEnvironment()
Dgraph_test.cc301 ASSERT_EQ(first_instruction->GetBlock(), block); in TEST()
314 ASSERT_EQ(second_instruction->GetBlock(), block); in TEST()
Dregister_allocator.cc255 instruction->GetBlock()->RemoveInstruction(instruction); in ProcessInstruction()
1326 user->GetBlock()->InsertInstructionBefore(move, user); in AddInputMoveFor()
1361 at = at->GetBlock()->GetFirstInstruction(); in InsertParallelMoveAt()
1374 at->GetBlock()->InsertInstructionBefore(move, at); in InsertParallelMoveAt()
1389 at->GetBlock()->InsertInstructionBefore(move, at->GetNext()); in InsertParallelMoveAt()
1405 at->GetBlock()->InsertInstructionBefore(move, at); in InsertParallelMoveAt()
1471 InsertParallelMoveAtEntryOf(instruction->GetBlock(), instruction, source, destination); in InsertMoveAfter()
1483 instruction->GetBlock()->InsertInstructionBefore(move, instruction->GetNext()); in InsertMoveAfter()
Dnodes.h150 HBasicBlock* GetBlock(size_t id) const { return blocks_.Get(id); } in GetBlock() function
311 if (constant == nullptr || constant->GetBlock() == nullptr) { in CreateConstant()
1320 HBasicBlock* GetBlock() const { return block_; } in GetBlock() function
1372 uses_.AddUse(user, index, GetBlock()->GetGraph()->GetArena()); in AddUseAt()
1379 env_uses_.AddUse(user, index, GetBlock()->GetGraph()->GetArena()); in AddEnvUseAt()
1419 ArenaAllocator* allocator = GetBlock()->GetGraph()->GetArena(); in CopyEnvironmentFrom()
1434 ArenaAllocator* allocator = GetBlock()->GetGraph()->GetArena(); in CopyEnvironmentFromWithLoopPhiAdjustment()
1515 bool IsSuspendCheckEntry() const { return IsSuspendCheck() && GetBlock()->IsEntryBlock(); } in IsSuspendCheckEntry()
1775 return GetBlock()->GetSuccessors().Get(0); in GetSuccessor()
1796 return GetBlock()->GetSuccessors().Get(0); in IfTrueSuccessor()
[all …]
Dssa_liveness_analysis.cc376 const GrowableArray<HBasicBlock*>& predecessors = user->GetBlock()->GetPredecessors(); in FindFirstRegisterHint()
420 const GrowableArray<HBasicBlock*>& predecessors = defined_by_->GetBlock()->GetPredecessors(); in FindHintAtDefinition()
Dgvn.cc395 current->GetBlock()->RemoveInstruction(current); in VisitBasicBlock()
Dgraph_visualizer.cc260 HLoopInformation* info = instruction->GetBlock()->GetLoopInformation(); in PrintInstruction()
Dcode_generator_arm64.cc1720 HBasicBlock* block = got->GetBlock(); in VisitGoto()
1808 if (codegen_->GoesToNextBlock(if_instr->GetBlock(), in VisitIf()
1812 if (codegen_->GoesToNextBlock(if_instr->GetBlock(), in VisitIf()
2174 DCHECK_EQ(local->GetBlock(), GetGraph()->GetEntryBlock()); in VisitLocal()
2607 HBasicBlock* block = instruction->GetBlock(); in VisitSuspendCheck()
Dcode_generator_mips64.cc1933 HBasicBlock* block = got->GetBlock(); in VisitGoto()
2071 if (codegen_->GoesToNextBlock(if_instr->GetBlock(), in VisitIf()
2075 if (codegen_->GoesToNextBlock(if_instr->GetBlock(), in VisitIf()
2557 DCHECK_EQ(local->GetBlock(), GetGraph()->GetEntryBlock()); in VisitLocal()
3009 HBasicBlock* block = instruction->GetBlock(); in VisitSuspendCheck()
Dcode_generator_arm.cc910 HBasicBlock* block = got->GetBlock(); in VisitGoto()
923 if (!codegen_->GoesToNextBlock(got->GetBlock(), successor)) { in VisitGoto()
1001 if (codegen_->GoesToNextBlock(if_instr->GetBlock(), in VisitIf()
1005 if (codegen_->GoesToNextBlock(if_instr->GetBlock(), in VisitIf()
1119 DCHECK_EQ(local->GetBlock(), GetGraph()->GetEntryBlock()); in VisitLocal()
3527 HBasicBlock* block = instruction->GetBlock(); in VisitSuspendCheck()

12