Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/dalvik/dx/src/com/android/dx/dex/code/form/
DForm23x.java46 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()
DForm12x.java55 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 …]
DForm32x.java46 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()
DForm22x.java46 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()
DForm22t.java46 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()
DForm22c.java49 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()
DForm22s.java50 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()
DForm22b.java50 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()
DForm31c.java51 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()
DForm21c.java53 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()
DForm21h.java50 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/
DForm23x.java45 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()
DForm12x.java55 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()
DForm32x.java45 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()
DForm22x.java45 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()
DForm22t.java45 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/
DListIntSet.java71 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/
DSsaBasicBlock.java140 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 …]
DSsaConverter.java153 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 …]
DEscapeAnalysis.java127 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/
DListIntSet.java75 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/
DDexMergeTest.java82 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/
DIdenticalBlockCombiner.java62 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/
DSwitchList.java77 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/
DInsnList.java43 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()

12345678910>>...13