Home
last modified time | relevance | path

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

/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()
134 return successors; in getSuccessors()
DRopper.java292 IntList successors = new IntList(callerBlocks.size()); in getSuccessors() local
303 successors.add(subCaller.getSuccessors().get(0)); in getSuccessors()
306 successors.setImmutable(); in getSuccessors()
308 return successors; in getSuccessors()
681 IntList successors = block.getSuccessors(); in removeBlockAndSpecialSuccessors() local
682 int sz = successors.size(); in removeBlockAndSpecialSuccessors()
688 int label = successors.get(i); in removeBlockAndSpecialSuccessors()
803 IntList successors = block.getSuccessors(); in processBlock() local
815 int subroutineLabel = successors.get(1); in processBlock()
842 successors = subroutines[subroutineLabel].getSuccessors(); in processBlock()
[all …]
/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()
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()
[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/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/command/dump/
DDotDumper.java141 IntList successors = bb.getSuccessors(); in endParsingMember() local
143 if (successors.size() == 0) { in endParsingMember()
145 } else if (successors.size() == 1) { in endParsingMember()
147 + Hex.u2(successors.get(0)) + ";"); in endParsingMember()
150 for (int j = 0; j < successors.size(); j++ ) { in endParsingMember()
151 int successor = successors.get(j); in endParsingMember()
DBlockDumper.java244 IntList successors = bb.getSuccessors(); in regularDump() local
245 int ssz = successors.size(); in regularDump()
250 int succ = successors.get(j); in regularDump()
327 IntList successors = bb.getSuccessors(); in ropDump() local
328 int ssz = successors.size(); in ropDump()
334 int succ = successors.get(i); in ropDump()
/dalvik/dx/src/com/android/dx/ssa/
DSsaBasicBlock.java57 private BitSet successors; field in SsaBasicBlock
128 this.successors = new BitSet(parent.getBlocks().size()); in SsaBasicBlock()
161 result.successors in newFromRop()
350 return successors; in getSuccessors()
420 newPred.successors.set(index) ; in insertNewPredecessor()
455 if (!successors.get(other.index)) { in insertNewSuccessor()
462 newSucc.successors.set(other.index) ; in insertNewSuccessor()
476 successors.clear(other.index); in insertNewSuccessor()
477 successors.set(newSucc.index); in insertNewSuccessor()
481 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.java653 BitSet successors = block.getSuccessors(); in updateSuccessorPhis() local
654 for (int i = successors.nextSetBit(0); i >= 0; in updateSuccessorPhis()
655 i = successors.nextSetBit(i + 1)) { in updateSuccessorPhis()
/dalvik/dx/src/com/android/dx/dex/code/
DStdCatchBuilder.java217 IntList successors = block.getSuccessors(); in handlersFor() local
218 int succSize = successors.size(); in handlersFor()
230 || (primary != successors.get(catchSize))))) { in handlersFor()
256 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()
620 IntList successors = block.getSuccessors(); in visitSwitchInsn() local
622 int succSz = successors.size(); in visitSwitchInsn()
634 (primarySuccessor != successors.get(casesSz))) { in visitSwitchInsn()
641 int label = successors.get(i); in visitSwitchInsn()
/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()