Home
last modified time | relevance | path

Searched refs:getOpcode (Results 1 – 25 of 79) sorted by relevance

1234

/dalvik/dx/src/com/android/dx/ssa/
DNormalSsaInsn.java134 public Rop getOpcode() { in getOpcode() method in NormalSsaInsn
135 return insn.getOpcode(); in getOpcode()
149 if (insn.getOpcode().getOpcode() == RegOps.MARK_LOCAL) { in getLocalAssignment()
186 return insn.getOpcode().getOpcode() == RegOps.MOVE; in isNormalMoveInsn()
192 return insn.getOpcode().getOpcode() == RegOps.MOVE_EXCEPTION; in isMoveException()
224 Rop opcode = getOpcode(); in hasSideEffect()
233 switch (opcode.getOpcode()) { in hasSideEffect()
DLiteralOpUpgrader.java99 Rop opcode = originalRopInsn.getOpcode(); in run()
116 RegOps.flippedIfOpcode(opcode.getOpcode()), null); in run()
119 opcode.getOpcode(), null); in run()
150 Rop opcode = originalRopInsn.getOpcode(); in tryReplacingWithConstant()
154 opcode.getOpcode() != RegOps.CONST) { in tryReplacingWithConstant()
162 if (opcode.getOpcode() == RegOps.MOVE_RESULT_PSEUDO) { in tryReplacingWithConstant()
DSCCP.java241 Rop opcode = insn.getOpcode(); in simulateBranch()
274 switch (opcode.getOpcode()) { in simulateBranch()
306 switch (opcode.getOpcode()) { in simulateBranch()
367 int opcode = insn.getOpcode().getOpcode(); in simulateMath()
471 if (ropInsn.getOpcode().getBranchingness() != Rop.BRANCH_NONE in simulateStmt()
472 || ropInsn.getOpcode().isCallLike()) { in simulateStmt()
476 int opcode = insn.getOpcode().getOpcode(); in simulateStmt()
/dalvik/dx/src/com/android/dx/rop/code/
DPlainInsn.java92 return new PlainInsn(getOpcode(), getPosition(), in withRegisterOffset()
115 Rop newRop = Rops.ropFor(getOpcode().getOpcode(), getResult(), in withSourceLiteral()
130 int opcode = getOpcode().getOpcode(); in withSourceLiteral()
152 return new PlainInsn(getOpcode(), getPosition(), in withNewRegisters()
DThrowingInsn.java99 return new ThrowingInsn(getOpcode(), getPosition(), in withAddedCatch()
106 return new ThrowingInsn(getOpcode(), getPosition(), in withRegisterOffset()
116 return new ThrowingInsn(getOpcode(), getPosition(), in withNewRegisters()
DThrowingCstInsn.java84 return new ThrowingCstInsn(getOpcode(), getPosition(), in withAddedCatch()
92 return new ThrowingCstInsn(getOpcode(), getPosition(), in withRegisterOffset()
103 return new ThrowingCstInsn(getOpcode(), getPosition(), in withNewRegisters()
DPlainCstInsn.java70 return new PlainCstInsn(getOpcode(), getPosition(), in withRegisterOffset()
81 return new PlainCstInsn(getOpcode(), getPosition(), in withNewRegisters()
DSwitchInsn.java83 return new SwitchInsn(getOpcode(), getPosition(), in withRegisterOffset()
105 return new SwitchInsn(getOpcode(), getPosition(), in withNewRegisters()
DFillArrayDataInsn.java102 return new FillArrayDataInsn(getOpcode(), getPosition(), in withRegisterOffset()
112 return new FillArrayDataInsn(getOpcode(), getPosition(), in withNewRegisters()
DDexTranslationAdvice.java68 opcode.getOpcode() == RegOps.SUB) { in hasConstantOperation()
78 switch (opcode.getOpcode()) { in hasConstantOperation()
DInvokePolymorphicInsn.java112 return new InvokePolymorphicInsn(getOpcode(), getPosition(), in withAddedCatch()
119 return new InvokePolymorphicInsn(getOpcode(), getPosition(), in withRegisterOffset()
127 return new InvokePolymorphicInsn(getOpcode(), getPosition(), in withNewRegisters()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DFixedSizeInsn.java52 return getOpcode().getFormat().codeSize(); in codeSize()
58 getOpcode().getFormat().writeTo(out, this); in writeTo()
70 return getOpcode().getFormat().listingString(this, noteIndices); in listingString0()
DRopTranslator.java185 if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { in calculateParamsAreInOrder()
276 Rop lastRop = lastInsn.getOpcode(); in outputBlock()
464 if (insn.getOpcode().isCommutative() in getRegs()
524 Rop rop = insn.getOpcode(); in visitPlainInsn()
525 if (rop.getOpcode() == RegOps.MARK_LOCAL) { in visitPlainInsn()
532 if (rop.getOpcode() == RegOps.MOVE_RESULT_PSEUDO) { in visitPlainInsn()
574 Rop rop = insn.getOpcode(); in visitPlainCstInsn()
575 int ropOpcode = rop.getOpcode(); in visitPlainCstInsn()
671 if (insn.getOpcode().getOpcode() != RegOps.MOVE_RESULT_PSEUDO) { in getNextMoveResultPseudo()
682 Rop rop = insn.getOpcode(); in visitThrowingCstInsn()
[all …]
DTargetInsn.java61 return new TargetInsn(getOpcode(), getPosition(), registers, target); in withRegisters()
75 Dop opcode = getOpcode().getOppositeTest(); in withNewTargetAndReversed()
/dalvik/dx/src/com/android/dx/dex/code/
DFixedSizeInsn.java53 return getOpcode().getFormat().codeSize(); in codeSize()
59 getOpcode().getFormat().writeTo(out, this); in writeTo()
71 return getOpcode().getFormat().listingString(this, noteIndices); in listingString0()
DRopTranslator.java192 if (insn.getOpcode().getOpcode()== RegOps.MOVE_PARAM) { in calculateParamsAreInOrder()
283 Rop lastRop = lastInsn.getOpcode(); in outputBlock()
471 if (insn.getOpcode().isCommutative() in getRegs()
532 Rop rop = insn.getOpcode(); in visitPlainInsn()
533 if (rop.getOpcode() == RegOps.MARK_LOCAL) { in visitPlainInsn()
540 if (rop.getOpcode() == RegOps.MOVE_RESULT_PSEUDO) { in visitPlainInsn()
583 Rop rop = insn.getOpcode(); in visitPlainCstInsn()
584 int ropOpcode = rop.getOpcode(); in visitPlainCstInsn()
684 if (insn.getOpcode().getOpcode() != RegOps.MOVE_RESULT_PSEUDO) { in getNextMoveResultPseudo()
696 Rop rop = insn.getOpcode(); in visitInvokePolymorphicInsn()
[all …]
DTargetInsn.java61 return new TargetInsn(getOpcode(), getPosition(), registers, target); in withRegisters()
75 Dop opcode = getOpcode().getOppositeTest(); in withNewTargetAndReversed()
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DPlainInsn.java91 return new PlainInsn(getOpcode(), getPosition(), in withRegisterOffset()
118 newRop = Rops.ropFor(getOpcode().getOpcode(), in withLastSourceLiteral()
135 return new PlainInsn(getOpcode(), getPosition(), in withNewRegisters()
DThrowingCstInsn.java79 return new ThrowingCstInsn(getOpcode(), getPosition(), in withAddedCatch()
87 return new ThrowingCstInsn(getOpcode(), getPosition(), in withRegisterOffset()
98 return new ThrowingCstInsn(getOpcode(), getPosition(), in withNewRegisters()
DThrowingInsn.java99 return new ThrowingInsn(getOpcode(), getPosition(), in withAddedCatch()
106 return new ThrowingInsn(getOpcode(), getPosition(), in withRegisterOffset()
116 return new ThrowingInsn(getOpcode(), getPosition(), in withNewRegisters()
DPlainCstInsn.java70 return new PlainCstInsn(getOpcode(), getPosition(), in withRegisterOffset()
81 return new PlainCstInsn(getOpcode(), getPosition(), in withNewRegisters()
DFillArrayDataInsn.java103 return new FillArrayDataInsn(getOpcode(), getPosition(), in withRegisterOffset()
113 return new FillArrayDataInsn(getOpcode(), getPosition(), in withNewRegisters()
DSwitchInsn.java83 return new SwitchInsn(getOpcode(), getPosition(), in withRegisterOffset()
105 return new SwitchInsn(getOpcode(), getPosition(), in withNewRegisters()
/dalvik/dx/src/com/android/dx/io/instructions/
DInstructionCodec.java120 out.write(codeUnit(insn.getOpcode(), insn.getA())); in FORMAT_11X()
139 out.write(codeUnit(insn.getOpcode(), relativeTarget)); in FORMAT_10T()
179 codeUnit(insn.getOpcode(), insn.getLiteralByte()), in FORMAT_20BC()
200 codeUnit(insn.getOpcode(), insn.getA()), in FORMAT_22X()
222 out.write(codeUnit(insn.getOpcode(), insn.getA()), relativeTarget); in FORMAT_21T()
242 codeUnit(insn.getOpcode(), insn.getA()), in FORMAT_21S()
271 int opcode = insn.getOpcode(); in FORMAT_21H()
296 codeUnit(insn.getOpcode(), insn.getA()), in FORMAT_21C()
319 codeUnit(insn.getOpcode(), insn.getA()), in FORMAT_23X()
342 codeUnit(insn.getOpcode(), insn.getA()), in FORMAT_22B()
[all …]
/dalvik/dx/src/com/android/dx/merge/
DInstructionTransformer.java77 boolean isJumbo = (one.getOpcode() == Opcodes.CONST_STRING_JUMBO); in visit()
88 boolean isJumbo = (one.getOpcode() == Opcodes.CONST_STRING_JUMBO); in visit()
99 boolean isJumbo = (one.getOpcode() == Opcodes.CONST_STRING_JUMBO); in visit()
110 boolean isJumbo = (one.getOpcode() == Opcodes.CONST_STRING_JUMBO); in visit()

1234