Home
last modified time | relevance | path

Searched refs:successors (Results 1 – 21 of 21) sorted by relevance

/dalvik/dx/src/com/android/dx/rop/code/
DBasicBlock.java38 private final IntList successors; field in BasicBlock
59 public BasicBlock(int label, InsnList insns, IntList successors, in BasicBlock() argument
94 successors.throwIfMutable(); in BasicBlock()
104 if (primarySuccessor >= 0 && !successors.contains(primarySuccessor)) { in BasicBlock()
106 "primarySuccessor " + primarySuccessor + " not in successors " + successors); in BasicBlock()
111 this.successors = successors; in BasicBlock()
162 return successors; in getSuccessors()
182 if (successors.size() != 2) { in getSecondarySuccessor()
187 int succ = successors.get(0); in getSecondarySuccessor()
189 succ = successors.get(1); in getSecondarySuccessor()
[all …]
DRopMethod.java163 IntList successors = one.getSuccessors(); in calcPredecessors() local
164 int ssz = successors.size(); in calcPredecessors()
170 int succLabel = successors.get(j); in calcPredecessors()
DLocalVariableExtractor.java177 IntList successors = block.getSuccessors(); in processBlock() local
178 int succSz = successors.size(); in processBlock()
182 int succ = successors.get(i); in processBlock()
DBasicBlockList.java231 IntList successors = block.getSuccessors(); in preferredSuccessorOf() local
232 int succSize = successors.size(); in preferredSuccessorOf()
239 return labelToBlock(successors.get(0)); in preferredSuccessorOf()
246 return labelToBlock(successors.get(0)); in preferredSuccessorOf()
/dalvik/dexgen/src/com/android/dexgen/rop/
DByteBlock.java37 private final IntList successors; field in ByteBlock
55 public ByteBlock(int label, int start, int end, IntList successors, in ByteBlock() argument
69 if (successors == null) { in ByteBlock()
73 int sz = successors.size(); in ByteBlock()
75 if (successors.get(i) < 0) { in ByteBlock()
78 successors.get(i)); in ByteBlock()
89 this.successors = successors; in ByteBlock()
134 return successors; in getSuccessors()
/dalvik/dx/src/com/android/dx/cf/code/
DByteBlock.java37 private final IntList successors; field in ByteBlock
55 public ByteBlock(int label, int start, int end, IntList successors, in ByteBlock() argument
69 if (successors == null) { in ByteBlock()
73 int sz = successors.size(); in ByteBlock()
75 if (successors.get(i) < 0) { in ByteBlock()
78 successors.get(i)); in ByteBlock()
89 this.successors = successors; in ByteBlock()
135 return successors; in getSuccessors()
DRopper.java291 IntList successors = new IntList(callerBlocks.size()); in getSuccessors() local
302 successors.add(subCaller.getSuccessors().get(0)); in getSuccessors()
305 successors.setImmutable(); in getSuccessors()
307 return successors; in getSuccessors()
680 IntList successors = block.getSuccessors(); in removeBlockAndSpecialSuccessors() local
681 int sz = successors.size(); in removeBlockAndSpecialSuccessors()
687 int label = successors.get(i); in removeBlockAndSpecialSuccessors()
802 IntList successors = block.getSuccessors(); in processBlock() local
814 int subroutineLabel = successors.get(1); in processBlock()
841 successors = subroutines[subroutineLabel].getSuccessors(); in processBlock()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DBasicBlock.java38 private final IntList successors; field in BasicBlock
59 public BasicBlock(int label, InsnList insns, IntList successors, in BasicBlock() argument
94 successors.throwIfMutable(); in BasicBlock()
104 if (primarySuccessor >= 0 && !successors.contains(primarySuccessor)) { in BasicBlock()
111 this.successors = successors; in BasicBlock()
161 return successors; in getSuccessors()
181 if (successors.size() != 2) { in getSecondarySuccessor()
186 int succ = successors.get(0); in getSecondarySuccessor()
188 succ = successors.get(1); in getSecondarySuccessor()
264 successors, primarySuccessor); in withRegisterOffset()
DRopMethod.java164 IntList successors = one.getSuccessors(); in calcPredecessors() local
165 int ssz = successors.size(); in calcPredecessors()
171 int succLabel = successors.get(j); in calcPredecessors()
DLocalVariableExtractor.java177 IntList successors = block.getSuccessors(); in processBlock() local
178 int succSz = successors.size(); in processBlock()
182 int succ = successors.get(i); in processBlock()
DBasicBlockList.java232 IntList successors = block.getSuccessors(); in preferredSuccessorOf() local
233 int succSize = successors.size(); in preferredSuccessorOf()
240 return labelToBlock(successors.get(0)); in preferredSuccessorOf()
247 return labelToBlock(successors.get(0)); in preferredSuccessorOf()
/dalvik/dx/src/com/android/dx/ssa/
DSsaBasicBlock.java57 private BitSet successors; field in SsaBasicBlock
122 this.successors = new BitSet(parent.getBlocks().size()); in SsaBasicBlock()
155 result.successors in newFromRop()
344 return successors; in getSuccessors()
414 newPred.successors.set(index) ; in insertNewPredecessor()
449 if (!successors.get(other.index)) { in insertNewSuccessor()
456 newSucc.successors.set(other.index) ; in insertNewSuccessor()
470 successors.clear(other.index); in insertNewSuccessor()
471 successors.set(newSucc.index); in insertNewSuccessor()
475 other.predecessors.set(index, successors.get(other.index)); in insertNewSuccessor()
[all …]
DLocalVariableExtractor.java193 IntList successors = block.getSuccessorList(); in processBlock() local
194 int succSz = successors.size(); in processBlock()
198 int succ = successors.get(i); in processBlock()
DSsaConverter.java242 BitSet successors = (BitSet)block.getSuccessors().clone(); in edgeSplitSuccessors() local
243 for (int j = successors.nextSetBit(0); in edgeSplitSuccessors()
244 j >= 0; j = successors.nextSetBit(j+1)) { in edgeSplitSuccessors()
DSsaRenamer.java659 BitSet successors = block.getSuccessors(); in updateSuccessorPhis() local
660 for (int i = successors.nextSetBit(0); i >= 0; in updateSuccessorPhis()
661 i = successors.nextSetBit(i + 1)) { in updateSuccessorPhis()
/dalvik/dx/src/com/android/dx/command/dump/
DDotDumper.java145 IntList successors = bb.getSuccessors(); in endParsingMember() local
147 if (successors.size() == 0) { in endParsingMember()
149 } else if (successors.size() == 1) { in endParsingMember()
151 + Hex.u2(successors.get(0)) + ";"); in endParsingMember()
154 for (int j = 0; j < successors.size(); j++ ) { in endParsingMember()
155 int successor = successors.get(j); in endParsingMember()
DBlockDumper.java237 IntList successors = bb.getSuccessors(); in regularDump() local
238 int ssz = successors.size(); in regularDump()
243 int succ = successors.get(j); in regularDump()
320 IntList successors = bb.getSuccessors(); in ropDump() local
321 int ssz = successors.size(); in ropDump()
327 int succ = successors.get(i); in ropDump()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DStdCatchBuilder.java218 IntList successors = block.getSuccessors(); in handlersFor() local
219 int succSize = successors.size(); in handlersFor()
231 || (primary != successors.get(catchSize))))) { in handlersFor()
257 CodeAddress oneHandler = addresses.getStart(successors.get(i)); in handlersFor()
DRopTranslator.java415 IntList successors = one.getSuccessors(); in pickOrder() local
416 int ssz = successors.size(); in pickOrder()
419 int candidate = successors.get(i); in pickOrder()
611 IntList successors = block.getSuccessors(); in visitSwitchInsn() local
613 int succSz = successors.size(); in visitSwitchInsn()
625 (primarySuccessor != successors.get(casesSz))) { in visitSwitchInsn()
632 int label = successors.get(i); in visitSwitchInsn()
/dalvik/dx/src/com/android/dx/dex/code/
DStdCatchBuilder.java220 IntList successors = block.getSuccessors(); in handlersFor() local
221 int succSize = successors.size(); in handlersFor()
233 || (primary != successors.get(catchSize))))) { in handlersFor()
259 CodeAddress oneHandler = addresses.getStart(successors.get(i)); in handlersFor()
DRopTranslator.java422 IntList successors = one.getSuccessors(); in pickOrder() local
423 int ssz = successors.size(); in pickOrder()
426 int candidate = successors.get(i); in pickOrder()
621 IntList successors = block.getSuccessors(); in visitSwitchInsn() local
623 int succSz = successors.size(); in visitSwitchInsn()
635 (primarySuccessor != successors.get(casesSz))) { in visitSwitchInsn()
642 int label = successors.get(i); in visitSwitchInsn()