/dalvik/dx/src/com/android/dx/dex/code/form/ |
D | Form23x.java | 46 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 47 ", " + regs.get(2).regString(); in insnArgString() 70 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 71 unsignedFitsInByte(regs.get(1).getReg()) && in isCompatible() 72 unsignedFitsInByte(regs.get(2).getReg()); in isCompatible() 81 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs() 82 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); in compatibleRegs() 83 bits.set(2, unsignedFitsInByte(regs.get(2).getReg())); in compatibleRegs() 92 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 93 codeUnit(regs.get(1).getReg(), regs.get(2).getReg())); in writeTo()
|
D | Form12x.java | 55 return regs.get(sz - 2).regString() + ", " + in insnArgString() 56 regs.get(sz - 1).regString(); in insnArgString() 85 rs1 = regs.get(0); in isCompatible() 86 rs2 = regs.get(1); in isCompatible() 94 rs1 = regs.get(1); in isCompatible() 95 rs2 = regs.get(2); in isCompatible() 96 if (rs1.getReg() != regs.get(0).getReg()) { in isCompatible() 115 int r0 = regs.get(0).getReg(); in compatibleRegs() 116 int r1 = regs.get(1).getReg(); in compatibleRegs() 134 bits.set(2, unsignedFitsInNibble(regs.get(2).getReg())); in compatibleRegs() [all …]
|
D | Form32x.java | 46 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString() 68 unsignedFitsInShort(regs.get(0).getReg()) && in isCompatible() 69 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible() 78 bits.set(0, unsignedFitsInShort(regs.get(0).getReg())); in compatibleRegs() 79 bits.set(1, unsignedFitsInShort(regs.get(1).getReg())); in compatibleRegs() 90 (short) regs.get(0).getReg(), in writeTo() 91 (short) regs.get(1).getReg()); in writeTo()
|
D | Form22x.java | 46 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString() 69 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 70 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible() 79 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs() 80 bits.set(1, unsignedFitsInShort(regs.get(1).getReg())); in compatibleRegs() 89 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 90 (short) regs.get(1).getReg()); in writeTo()
|
D | Form22t.java | 46 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 69 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible() 70 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible() 84 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs() 85 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs() 106 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
|
D | Form22c.java | 49 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 75 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible() 76 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible() 98 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs() 99 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs() 111 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
|
D | Form22s.java | 50 return regs.get(0).regString() + ", " + regs.get(1).regString() in insnArgString() 73 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible() 74 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible() 96 bits.set(0, unsignedFitsInNibble(regs.get(0).getReg())); in compatibleRegs() 97 bits.set(1, unsignedFitsInNibble(regs.get(1).getReg())); in compatibleRegs() 110 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
|
D | Form22b.java | 50 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 73 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 74 unsignedFitsInByte(regs.get(1).getReg()))) { in isCompatible() 96 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs() 97 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); in compatibleRegs() 109 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 110 codeUnit(regs.get(1).getReg(), value & 0xff)); in writeTo()
|
D | Form31c.java | 51 return regs.get(0).regString() + ", " + insn.cstString(); in insnArgString() 82 reg = regs.get(0); in isCompatible() 90 reg = regs.get(0); in isCompatible() 91 if (reg.getReg() != regs.get(1).getReg()) { in isCompatible() 119 boolean compat = unsignedFitsInByte(regs.get(0).getReg()); in compatibleRegs() 124 if (regs.get(0).getReg() == regs.get(1).getReg()) { in compatibleRegs() 139 write(out, opcodeUnit(insn, regs.get(0).getReg()), cpi); in writeTo()
|
D | Form21c.java | 53 return regs.get(0).regString() + ", " + insn.cstString(); in insnArgString() 84 reg = regs.get(0); in isCompatible() 92 reg = regs.get(0); in isCompatible() 93 if (reg.getReg() != regs.get(1).getReg()) { in isCompatible() 128 boolean compat = unsignedFitsInByte(regs.get(0).getReg()); in compatibleRegs() 133 if (regs.get(0).getReg() == regs.get(1).getReg()) { in compatibleRegs() 149 opcodeUnit(insn, regs.get(0).getReg()), in writeTo()
|
D | Form21h.java | 50 return regs.get(0).regString() + ", " + literalBitsString(value); in insnArgString() 61 (regs.get(0).getCategory() == 1) ? 32 : 64); in insnCommentString() 76 unsignedFitsInByte(regs.get(0).getReg()))) { in isCompatible() 90 if (regs.get(0).getCategory() == 1) { in isCompatible() 105 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); in compatibleRegs() 117 if (regs.get(0).getCategory() == 1) { in writeTo() 123 write(out, opcodeUnit(insn, regs.get(0).getReg()), bits); in writeTo()
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
D | Form23x.java | 45 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 46 ", " + regs.get(2).regString(); in insnArgString() 69 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 70 unsignedFitsInByte(regs.get(1).getReg()) && in isCompatible() 71 unsignedFitsInByte(regs.get(2).getReg()); in isCompatible() 85 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 86 codeUnit(regs.get(1).getReg(), regs.get(2).getReg())); in writeTo()
|
D | Form12x.java | 55 return regs.get(sz - 2).regString() + ", " + in insnArgString() 56 regs.get(sz - 1).regString(); in insnArgString() 85 rs1 = regs.get(0); in isCompatible() 86 rs2 = regs.get(1); in isCompatible() 94 rs1 = regs.get(1); in isCompatible() 95 rs2 = regs.get(2); in isCompatible() 96 if (rs1.getReg() != regs.get(0).getReg()) { in isCompatible() 129 makeByte(regs.get(sz - 2).getReg(), in writeTo() 130 regs.get(sz - 1).getReg()))); in writeTo()
|
D | Form32x.java | 45 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString() 67 unsignedFitsInShort(regs.get(0).getReg()) && in isCompatible() 68 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible() 84 (short) regs.get(0).getReg(), in writeTo() 85 (short) regs.get(1).getReg()); in writeTo()
|
D | Form22x.java | 45 return regs.get(0).regString() + ", " + regs.get(1).regString(); in insnArgString() 68 unsignedFitsInByte(regs.get(0).getReg()) && in isCompatible() 69 unsignedFitsInShort(regs.get(1).getReg()); in isCompatible() 83 opcodeUnit(insn, regs.get(0).getReg()), in writeTo() 84 (short) regs.get(1).getReg()); in writeTo()
|
D | Form22t.java | 45 return regs.get(0).regString() + ", " + regs.get(1).regString() + in insnArgString() 68 unsignedFitsInNibble(regs.get(0).getReg()) && in isCompatible() 69 unsignedFitsInNibble(regs.get(1).getReg()))) { in isCompatible() 100 makeByte(regs.get(0).getReg(), regs.get(1).getReg())), in writeTo()
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | ListIntSet.java | 71 while (j < szOther && o.ints.get(j) < ints.get(i)) { in merge() 72 add(o.ints.get(j++)); in merge() 77 while (i < szThis && o.ints.get(j) >= ints.get(i)) { in merge() 83 add(o.ints.get(j++)); in merge() 123 return ints.get(idx++); in iterator()
|
/dalvik/dx/src/com/android/dx/ssa/ |
D | SsaBasicBlock.java | 140 BasicBlock bb = ropBlocks.get(basicBlockIndex); in newFromRop() 148 result.insns.add(new NormalSsaInsn (ropInsns.get(i), result)); in newFromRop() 235 SsaInsn oldInsn = insns.get(insns.size() - 1); in replaceLastInsn() 253 SsaInsn insn = insns.get(i); in forEachPhiInsn() 288 SsaInsn insn = insns.get(countPhiInsns); in getCountPhiInsns() 378 return parent.getBlocks().get(primarySuccessor); in getPrimarySuccessor() 391 result.add(parent.blockIndexToRopLabel(successorList.get(i))); in getRopLabelSuccessorList() 427 SsaBasicBlock predBlock = parent.getBlocks().get(i); in insertNewPredecessor() 449 if (!successors.get(other.index)) { in insertNewSuccessor() 462 if (successorList.get(i) == other.index) { in insertNewSuccessor() [all …]
|
D | SsaConverter.java | 153 SsaBasicBlock block = blocks.get(i); in edgeSplitPredecessors() 194 SsaBasicBlock block = blocks.get(i); in edgeSplitMoveExceptionsAndResults() 202 && block.getInsns().get(0).isMoveException()) { in edgeSplitMoveExceptionsAndResults() 208 SsaBasicBlock predecessor = blocks.get(j); in edgeSplitMoveExceptionsAndResults() 216 zNode.getInsns().add(0, block.getInsns().get(0).clone()); in edgeSplitMoveExceptionsAndResults() 239 SsaBasicBlock block = blocks.get(i); in edgeSplitSuccessors() 246 SsaBasicBlock succ = blocks.get(j); in edgeSplitSuccessors() 271 SsaInsn lastInsn = insns.get(insns.size() - 1); in needsNewSuccessor() 328 SsaBasicBlock b = ssaBlocks.get(bi); in placePhiFunctions() 371 if (!phisites[reg].get(dfBlockIndex)) { in placePhiFunctions() [all …]
|
D | EscapeAnalysis.java | 127 EscapeSet e = latticeValues.get(i); in findSetIndex() 128 if (e.regSet.get(reg.getReg())) { in findSetIndex() 144 ArrayList<SsaInsn> predInsns = ssaMeth.getBlocks().get(pred).getInsns(); in getInsnForMove() 145 return predInsns.get(predInsns.size()-1); in getInsnForMove() 157 ArrayList<SsaInsn> succInsns = ssaMeth.getBlocks().get(succ).getInsns(); in getMoveForInsn() 158 return succInsns.get(0); in getMoveForInsn() 268 prevSource = prevSsaInsn.getSources().get(0); in processMoveResultPseudoInsn() 289 prevSource = prevSsaInsn.getSources().get(0); in processMoveResultPseudoInsn() 294 escSet = latticeValues.get(setIndex); in processMoveResultPseudoInsn() 363 EscapeSet mergeSet = latticeValues.get(setIndex); in processPhiUse() [all …]
|
/dalvik/dx/src/com/android/dx/util/ |
D | ListIntSet.java | 75 while (j < szOther && o.ints.get(j) < ints.get(i)) { in merge() 76 add(o.ints.get(j++)); in merge() 81 while (i < szThis && o.ints.get(j) >= ints.get(i)) { in merge() 87 add(o.ints.get(j++)); in merge() 131 return ints.get(idx++); in iterator()
|
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
D | DexMergeTest.java | 82 assertEquals((byte) 1, staticValues.getField("a").get(null)); in testStaticValues() 83 assertEquals((short) 2, staticValues.getField("b").get(null)); in testStaticValues() 84 assertEquals('C', staticValues.getField("c").get(null)); in testStaticValues() 85 assertEquals(0xabcd1234, staticValues.getField("d").get(null)); in testStaticValues() 86 assertEquals(4660046610375530309L,staticValues.getField("e").get(null)); in testStaticValues() 87 assertEquals(0.5f, staticValues.getField("f").get(null)); in testStaticValues() 88 assertEquals(-0.25, staticValues.getField("g").get(null)); in testStaticValues() 89 assertEquals("this is a String", staticValues.getField("h").get(null)); in testStaticValues() 90 assertEquals(String.class, staticValues.getField("i").get(null)); in testStaticValues() 91 assertEquals("[0, 1]", Arrays.toString((int[]) staticValues.getField("j").get(null))); in testStaticValues() [all …]
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
D | IdenticalBlockCombiner.java | 62 BasicBlock b = blocks.get(bindex); in process() 64 if (toDelete.get(b.getLabel())) { in process() 74 int iLabel = preds.get(i); in process() 78 if (toDelete.get(iLabel) in process() 89 int jLabel = preds.get(j); in process() 105 if (toDelete.get(newBlocks.get(i).getLabel())) { in process() 139 int betaLabel = betaLabels.get(i); in combineBlocks() 145 BasicBlock predBlock = newBlocks.labelToBlock(preds.get(j)); in combineBlocks()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | SwitchList.java | 77 return values.get(n); in getValue() 88 return targets.get(n); in getTarget() 98 return targets.get(size); in getDefaultTarget() 172 int defaultTarget = targets.get(sz); in removeSuperfluousDefaults() 176 int target = targets.get(i); in removeSuperfluousDefaults() 180 values.set(at, values.get(i)); in removeSuperfluousDefaults()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | InsnList.java | 43 public Insn get(int n) { in get() method in InsnList 64 return get(size() - 1); in getLast() 76 get(i).accept(visitor); in forEach() 96 if (!get(i).contentEquals(b.get(i))) { in contentEquals()
|