Home
last modified time | relevance | path

Searched refs:catchHandlers (Results 1 – 5 of 5) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/code/
DBasicBlock.java83 private CatchHandlers<Integer> catchHandlers = CatchHandlers.EMPTY_INDICES; field in BasicBlock
119 Set<Integer> handlers = catchHandlers.getUniqueTargets(); in getNormalSucessors()
173 List<Integer> targets = new ArrayList<>(catchHandlers.getAllTargets()); in swapSuccessors()
181 catchHandlers = new CatchHandlers<>(catchHandlers.getGuards(), targets); in swapSuccessors()
197 List<Integer> targets = new ArrayList<>(catchHandlers.getAllTargets()); in replaceSuccessor()
206 catchHandlers = new CatchHandlers<>(catchHandlers.getGuards(), targets); in replaceSuccessor()
298 int size = catchHandlers.size(); in removeSuccessorsByIndex()
302 for (int i = 0; i < catchHandlers.getAllTargets().size(); i++) { in removeSuccessorsByIndex()
303 if (successorsToRemove.contains(catchHandlers.getAllTargets().get(i))) { in removeSuccessorsByIndex()
304 guards.addAll(catchHandlers.getGuards().subList(current, i)); in removeSuccessorsByIndex()
[all …]
DIRCode.java245 CatchHandlers<Integer> catchHandlers = block.getCatchHandlersWithSuccessorIndexes(); in consistentCatchHandlers() local
247 List<DexType> guards = catchHandlers.getGuards(); in consistentCatchHandlers()
253 List<Integer> sortedHandlerIndices = new ArrayList<>(catchHandlers.getAllTargets()); in consistentCatchHandlers()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DDexBuilder.java566 Map<CatchHandlers<BasicBlock>, Integer> catchHandlers) {
571 dexTry.handlerIndex = catchHandlers.get(item.handlers);
577 private TryHandler[] getDexTryHandlers(Map<Integer, CatchHandlers<BasicBlock>> catchHandlers) {
578 TryHandler[] handlers = new TryHandler[catchHandlers.size()];
579 for (int j = 0; j < catchHandlers.size(); j++) {
580 CatchHandlers<BasicBlock> handlerGroup = catchHandlers.get(j);
DIRBuilder.java1568 CatchHandlers<Integer> catchHandlers = source.getCurrentCatchHandlers();
1569 if (catchHandlers != null) {
1572 List<BasicBlock> targets = new ArrayList<>(catchHandlers.getAllTargets().size());
1573 for (int targetOffset : catchHandlers.getAllTargets()) {
1578 currentBlock.linkCatchSuccessors(catchHandlers.getGuards(), targets);
/external/r8/src/test/java/com/android/tools/r8/ir/
DSplitBlockTest.java226 public void catchHandlers() { in catchHandlers() method in SplitBlockTest