Home
last modified time | relevance | path

Searched refs:blocksToRemove (Results 1 – 7 of 7) sorted by relevance

/external/r8/src/test/java/com/android/tools/r8/ir/
DInlineTest.java274 List<BasicBlock> blocksToRemove = new ArrayList<>(); in runInlineMultipleTest() local
281 iterator.inlineInvoke(test.code, inlinee.next(), blocksIterator, blocksToRemove, null); in runInlineMultipleTest()
282 assert blocksToRemove.isEmpty(); in runInlineMultipleTest()
298 iterator.inlineInvoke(test.code, inlinee.next(), blocksIterator, blocksToRemove, null); in runInlineMultipleTest()
299 assert blocksToRemove.isEmpty(); in runInlineMultipleTest()
747 List<BasicBlock> blocksToRemove = new ArrayList<>(); in runInlineAlwaysThrowsMultiple() local
750 if (blocksToRemove.contains(block)) { in runInlineAlwaysThrowsMultiple()
757 iterator.inlineInvoke(test.code, inlinee.next(), blocksIterator, blocksToRemove, null); in runInlineAlwaysThrowsMultiple()
758 assert !blocksToRemove.isEmpty(); in runInlineAlwaysThrowsMultiple()
761 test.code.removeBlocks(blocksToRemove); in runInlineAlwaysThrowsMultiple()
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DInstructionListIterator.java168 List<BasicBlock> blocksToRemove, DexType downcast); in inlineInvoke() argument
174 List<BasicBlock> blocksToRemove = new ArrayList<>(); in inlineInvoke() local
175 BasicBlock result = inlineInvoke(code, inlinee, null, blocksToRemove, null); in inlineInvoke()
176 code.removeBlocks(blocksToRemove); in inlineInvoke()
DBasicBlockInstructionIterator.java335 List<BasicBlock> blocksToRemove, DexType downcast) { in inlineInvoke() argument
336 assert blocksToRemove != null; in inlineInvoke()
380 blocksToRemove.addAll( in inlineInvoke()
381 invokePredecessor.unlink(invokeBlock, new DominatorTree(code, blocksToRemove))); in inlineInvoke()
DIRCode.java85 public void removeBlocks(List<BasicBlock> blocksToRemove) { in removeBlocks() argument
86 blocks.removeAll(blocksToRemove); in removeBlocks()
87 if (blocksToRemove.contains(normalExitBlock)) { in removeBlocks()
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DInliner.java256 List<BasicBlock> blocksToRemove = new ArrayList<>(); in performInlining() local
260 if (blocksToRemove.contains(block)) { in performInlining()
323 iterator.inlineInvoke(code, inlinee, blockIterator, blocksToRemove, downcast); in performInlining()
336 code.removeBlocks(blocksToRemove); in performInlining()
DCodeRewriter.java243 BasicBlock block, BasicBlock nextBlock, List<BasicBlock> blocksToRemove) { in collapsTrivialGoto() argument
269 blocksToRemove.add(block); in collapsTrivialGoto()
607 List<BasicBlock> blocksToRemove = new ArrayList<>(); in collapsTrivialGotos() local
620 collapsTrivialGoto(block, nextBlock, blocksToRemove); in collapsTrivialGotos()
630 code.removeBlocks(blocksToRemove); in collapsTrivialGotos()
632 while (!blocksToRemove.isEmpty()) { in collapsTrivialGotos()
633 blocksToRemove = new ArrayList<>(); in collapsTrivialGotos()
639 collapsTrivialGoto(block, nextBlock, blocksToRemove); in collapsTrivialGotos()
643 code.removeBlocks(blocksToRemove); in collapsTrivialGotos()
/external/r8/src/test/java/com/android/tools/r8/ir/regalloc/
DRegisterMoveSchedulerTest.java104 List<BasicBlock> blocksToRemove, DexType downcast) { in inlineInvoke() argument