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

/dalvik/dexgen/src/com/android/dexgen/rop/
H A DByteBlock.java36 /** {@code non-null;} list of successors that this block may branch to */
37 private final IntList successors; field in class:ByteBlock
50 * @param successors {@code non-null;} list of successors that this block may
55 public ByteBlock(int label, int start, int end, IntList successors, argument
69 if (successors == null) {
73 int sz = successors.size();
75 if (successors.get(i) < 0) {
76 throw new IllegalArgumentException("successors[" + i +
78 successors
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DByteBlock.java36 /** {@code non-null;} list of successors that this block may branch to */
37 private final IntList successors; field in class:ByteBlock
50 * @param successors {@code non-null;} list of successors that this block may
55 public ByteBlock(int label, int start, int end, IntList successors, argument
69 if (successors == null) {
73 int sz = successors.size();
75 if (successors.get(i) < 0) {
76 throw new IllegalArgumentException("successors[" + i +
78 successors
[all...]
H A DRopper.java200 * Generates a list of subroutine successors. Note: successor blocks
203 * before we leave the ropper. Redundent successors will result in
206 * @return all currently known successors
210 IntList successors = new IntList(callerBlocks.size());
221 successors.add(subCaller.getSuccessors().get(0));
224 successors.setImmutable();
226 return successors;
230 * Merges the specified frame into this subroutine's successors,
532 * successors of this block which are out of the range of
547 * any successors
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DBasicBlock.java35 * {@code non-null;} full list of successors that this block may
38 private final IntList successors; field in class:BasicBlock
42 * {@code -1} if this block has no successors (that is, it
52 * @param successors {@code non-null;} full list of successors that this
56 * successors (that is, it exits the function/method or is an
59 public BasicBlock(int label, InsnList insns, IntList successors, argument
94 successors.throwIfMutable();
97 throw new NullPointerException("successors == null");
104 if (primarySuccessor >= 0 && !successors
[all...]
H A DLocalVariableExtractor.java177 IntList successors = block.getSuccessors();
178 int succSz = successors.size();
182 int succ = successors.get(i);
H A DRopMethod.java157 * For each block, find its successors, and add the block's label to
163 IntList successors = one.getSuccessors();
164 int ssz = successors.size();
170 int succLabel = successors.get(j);
H A DBasicBlockList.java223 * the preferred successor. If the block has no successors, then
231 IntList successors = block.getSuccessors();
232 int succSize = successors.size();
239 return labelToBlock(successors.get(0));
246 return labelToBlock(successors.get(0));
256 * @return {@code true} if the two blocks' non-primary successors
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DBasicBlock.java35 * {@code non-null;} full list of successors that this block may
38 private final IntList successors; field in class:BasicBlock
42 * {@code -1} if this block has no successors (that is, it
52 * @param successors {@code non-null;} full list of successors that this
56 * successors (that is, it exits the function/method or is an
59 public BasicBlock(int label, InsnList insns, IntList successors, argument
94 successors.throwIfMutable();
97 throw new NullPointerException("successors == null");
104 if (primarySuccessor >= 0 && !successors
[all...]
H A DLocalVariableExtractor.java177 IntList successors = block.getSuccessors();
178 int succSz = successors.size();
182 int succ = successors.get(i);
H A DRopMethod.java158 * For each block, find its successors, and add the block's label to
164 IntList successors = one.getSuccessors();
165 int ssz = successors.size();
171 int succLabel = successors.get(j);
H A DBasicBlockList.java224 * the preferred successor. If the block has no successors, then
232 IntList successors = block.getSuccessors();
233 int succSize = successors.size();
240 return labelToBlock(successors.get(0));
247 return labelToBlock(successors.get(0));
257 * @return {@code true} if the two blocks' non-primary successors
/dalvik/dx/src/com/android/dx/ssa/
H A DSsaBasicBlock.java57 private BitSet successors; field in class:SsaBasicBlock
128 this.successors = new BitSet(parent.getBlocks().size());
161 result.successors
347 * @return {@code non-null;} successors set, indexed by block index
350 return successors;
420 newPred.successors.set(index) ;
455 if (!successors.get(other.index)) {
462 newSucc.successors.set(other.index) ;
476 successors.clear(other.index);
477 successors
[all...]
H A DLocalVariableExtractor.java109 // The exit block has no insns and no successors
193 IntList successors = block.getSuccessorList();
194 int succSz = successors.size();
198 int succ = successors.get(i);
H A DSsaConverter.java141 * successors and multiple predecessors.
167 * Any block with that has both multiple successors and multiple
242 BitSet successors = (BitSet)block.getSuccessors().clone();
243 for (int j = successors.nextSetBit(0);
244 j >= 0; j = successors.nextSetBit(j+1)) {
H A DSsaRenamer.java653 BitSet successors = block.getSuccessors();
654 for (int i = successors.nextSetBit(0); i >= 0;
655 i = successors.nextSetBit(i + 1)) {
/dalvik/dx/src/com/android/dx/command/dump/
H A DDotDumper.java138 IntList successors = bb.getSuccessors();
140 if (successors.size() == 0) {
142 } else if (successors.size() == 1) {
144 + Hex.u2(successors.get(0)) + ";");
147 for (int j = 0; j < successors.size(); j++ ) {
148 int successor = successors.get(j);
H A DBlockDumper.java243 IntList successors = bb.getSuccessors();
244 int ssz = successors.size();
249 int succ = successors.get(j);
326 IntList successors = bb.getSuccessors();
327 int ssz = successors.size();
333 int succ = successors.get(i);
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DStdCatchBuilder.java218 IntList successors = block.getSuccessors();
219 int succSize = successors.size();
231 || (primary != successors.get(catchSize))))) {
234 * successor -- if any -- last in the successors list, but
238 "shouldn't happen: weird successors list");
257 CodeAddress oneHandler = addresses.getStart(successors.get(i));
H A DRopTranslator.java324 * (aka default) successor (if any). Keep following successors
379 * unordered successors (hopefully the primary), and so
380 * on, until we run out of unordered successors.
415 IntList successors = one.getSuccessors();
416 int ssz = successors.size();
419 int candidate = successors.get(i);
611 IntList successors = block.getSuccessors();
613 int succSz = successors.size();
618 * less than the number of successors and that the last
625 (primarySuccessor != successors
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DStdCatchBuilder.java217 IntList successors = block.getSuccessors();
218 int succSize = successors.size();
230 || (primary != successors.get(catchSize))))) {
233 * successor -- if any -- last in the successors list, but
237 "shouldn't happen: weird successors list");
256 CodeAddress oneHandler = addresses.getStart(successors.get(i));
H A DRopTranslator.java330 * (aka default) successor (if any). Keep following successors
385 * unordered successors (hopefully the primary), and so
386 * on, until we run out of unordered successors.
421 IntList successors = one.getSuccessors();
422 int ssz = successors.size();
425 int candidate = successors.get(i);
617 IntList successors = block.getSuccessors();
619 int succSz = successors.size();
624 * less than the number of successors and that the last
631 (primarySuccessor != successors
[all...]

Completed in 243 milliseconds