Home
last modified time | relevance | path

Searched refs:target_block (Results 1 – 2 of 2) sorted by relevance

/art/compiler/optimizing/
Dcode_sinking.cc203 HBasicBlock* target_block = finder.Get(); in FindIdealPosition() local
204 if (target_block == nullptr) { in FindIdealPosition()
210 while (target_block->IsInLoop()) { in FindIdealPosition()
211 if (!post_dominated.IsBitSet(target_block->GetDominator()->GetBlockId())) { in FindIdealPosition()
214 target_block = target_block->GetDominator(); in FindIdealPosition()
215 DCHECK(target_block != nullptr); in FindIdealPosition()
219 if (instruction->CanThrow() && target_block->GetTryCatchInformation() != nullptr) { in FindIdealPosition()
227 if (use.GetUser()->GetBlock() == target_block && in FindIdealPosition()
234 if (user->GetBlock() == target_block && in FindIdealPosition()
241 insert_pos = target_block->GetLastInstruction(); in FindIdealPosition()
Dnodes.cc1794 HBasicBlock* target_block = uses_it->GetUser()->GetBlock(); in MoveBeforeFirstUserAndOutOfLoops() local
1796 while (uses_it != uses_end && uses_it->GetUser()->GetBlock() == target_block) { in MoveBeforeFirstUserAndOutOfLoops()
1801 CommonDominator finder(target_block); in MoveBeforeFirstUserAndOutOfLoops()
1805 target_block = finder.Get(); in MoveBeforeFirstUserAndOutOfLoops()
1806 DCHECK(target_block != nullptr); in MoveBeforeFirstUserAndOutOfLoops()
1809 while (target_block->IsInLoop()) { in MoveBeforeFirstUserAndOutOfLoops()
1810 target_block = target_block->GetDominator(); in MoveBeforeFirstUserAndOutOfLoops()
1811 DCHECK(target_block != nullptr); in MoveBeforeFirstUserAndOutOfLoops()
1817 if (use.GetUser()->GetBlock() == target_block && in MoveBeforeFirstUserAndOutOfLoops()
1824 insert_pos = target_block->GetLastInstruction(); in MoveBeforeFirstUserAndOutOfLoops()