Home
last modified time | relevance | path

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

/art/compiler/optimizing/
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()
Dbounds_check_elimination.cc584 ScopedArenaSafeMap<int, ValueRange*>* GetValueRangeMap(HBasicBlock* basic_block) { in GetValueRangeMap() argument
585 if (IsAddedBlock(basic_block)) { in GetValueRangeMap()
589 return &maps_[basic_block->GetBlockId()]; in GetValueRangeMap()
593 ValueRange* LookupValueRange(HInstruction* instruction, HBasicBlock* basic_block) { in LookupValueRange() argument
594 while (basic_block != nullptr) { in LookupValueRange()
595 ScopedArenaSafeMap<int, ValueRange*>* map = GetValueRangeMap(basic_block); in LookupValueRange()
601 DCHECK(IsAddedBlock(basic_block)); in LookupValueRange()
603 basic_block = basic_block->GetDominator(); in LookupValueRange()
610 void AssignRange(HBasicBlock* basic_block, HInstruction* instruction, ValueRange* range) { in AssignRange() argument
612 GetValueRangeMap(basic_block)->Overwrite(instruction->GetId(), range); in AssignRange()
[all …]
Dinstruction_simplifier.cc1869 HBasicBlock* basic_block) { in FindDivWithInputsInBasicBlock() argument
1872 if (user->GetBlock() == basic_block && in FindDivWithInputsInBasicBlock()
1896 HBasicBlock* basic_block = rem->GetBlock(); in TryToReuseDiv() local
1910 HDiv* quotient = FindDivWithInputsInBasicBlock(dividend, divisor, basic_block); in TryToReuseDiv()
1920 basic_block->InsertInstructionBefore(mul, rem); in TryToReuseDiv()
1922 basic_block->InsertInstructionBefore(sub, rem); in TryToReuseDiv()
1924 basic_block->RemoveInstruction(rem); in TryToReuseDiv()