Home
last modified time | relevance | path

Searched refs:basic_block (Results 1 – 3 of 3) sorted by relevance

/art/compiler/optimizing/
Dbounds_check_elimination.cc571 ScopedArenaSafeMap<int, ValueRange*>* GetValueRangeMap(HBasicBlock* basic_block) { in GetValueRangeMap() argument
572 if (IsAddedBlock(basic_block)) { in GetValueRangeMap()
576 return &maps_[basic_block->GetBlockId()]; in GetValueRangeMap()
580 ValueRange* LookupValueRange(HInstruction* instruction, HBasicBlock* basic_block) { in LookupValueRange() argument
581 while (basic_block != nullptr) { in LookupValueRange()
582 ScopedArenaSafeMap<int, ValueRange*>* map = GetValueRangeMap(basic_block); in LookupValueRange()
588 DCHECK(IsAddedBlock(basic_block)); in LookupValueRange()
590 basic_block = basic_block->GetDominator(); in LookupValueRange()
597 void AssignRange(HBasicBlock* basic_block, HInstruction* instruction, ValueRange* range) { in AssignRange() argument
599 GetValueRangeMap(basic_block)->Overwrite(instruction->GetId(), range); in AssignRange()
[all …]
Dinstruction_simplifier_shared.cc341 HBasicBlock* basic_block = last_sub->GetBlock(); in TryReplaceSubSubWithSubAdd() local
342 ArenaAllocator* allocator = basic_block->GetGraph()->GetAllocator(); in TryReplaceSubSubWithSubAdd()
354 basic_block->ReplaceAndRemoveInstructionWith(last_sub, add); in TryReplaceSubSubWithSubAdd()
Dinstruction_simplifier.cc1804 HBasicBlock* basic_block) { in FindDivWithInputsInBasicBlock() argument
1807 if (user->GetBlock() == basic_block && user->IsDiv() && user->InputAt(1) == divisor) { in FindDivWithInputsInBasicBlock()
1828 HBasicBlock* basic_block = rem->GetBlock(); in TryToReuseDiv() local
1842 HInstruction* quotient = FindDivWithInputsInBasicBlock(dividend, divisor, basic_block); in TryToReuseDiv()
1852 basic_block->InsertInstructionBefore(mul, rem); in TryToReuseDiv()
1854 basic_block->InsertInstructionBefore(sub, rem); in TryToReuseDiv()
1856 basic_block->RemoveInstruction(rem); in TryToReuseDiv()