/dalvik/dx/src/com/android/dx/io/instructions/ |
D | FillArrayDataPayloadDecodedInstruction.java | 39 int opcode, Object data, int size, int elementWidth) { in FillArrayDataPayloadDecodedInstruction() argument 40 super(format, opcode, 0, null, 0, 0L); in FillArrayDataPayloadDecodedInstruction() 51 int opcode, byte[] data) { in FillArrayDataPayloadDecodedInstruction() argument 52 this(format, opcode, data, data.length, 1); in FillArrayDataPayloadDecodedInstruction() 59 int opcode, short[] data) { in FillArrayDataPayloadDecodedInstruction() argument 60 this(format, opcode, data, data.length, 2); in FillArrayDataPayloadDecodedInstruction() 67 int opcode, int[] data) { in FillArrayDataPayloadDecodedInstruction() argument 68 this(format, opcode, data, data.length, 4); in FillArrayDataPayloadDecodedInstruction() 75 int opcode, long[] data) { in FillArrayDataPayloadDecodedInstruction() argument 76 this(format, opcode, data, data.length, 8); in FillArrayDataPayloadDecodedInstruction()
|
D | InstructionCodec.java | 47 int opcode = byte0(opcodeUnit); in FORMAT_10X() local 50 this, opcode, 0, null, in FORMAT_10X() 62 int opcode = byte0(opcodeUnit); in FORMAT_12X() local 66 this, opcode, 0, null, in FORMAT_12X() 81 int opcode = byte0(opcodeUnit); in FORMAT_11N() local 85 this, opcode, 0, null, in FORMAT_11N() 100 int opcode = byte0(opcodeUnit); in FORMAT_11X() local 103 this, opcode, 0, null, in FORMAT_11X() 117 int opcode = byte0(opcodeUnit); in FORMAT_10T() local 120 this, opcode, 0, null, in FORMAT_10T() [all …]
|
/dalvik/libdex/ |
D | InstrUtils.h | 135 Opcode opcode; member 142 DEX_INLINE size_t dexGetWidthFromOpcode(Opcode opcode) in dexGetWidthFromOpcode() argument 144 assert((u4) opcode < kNumPackedOpcodes); in dexGetWidthFromOpcode() 145 return gDexOpcodeInfo.widths[opcode]; in dexGetWidthFromOpcode() 158 DEX_INLINE OpcodeFlags dexGetFlagsFromOpcode(Opcode opcode) in dexGetFlagsFromOpcode() argument 160 assert((u4) opcode < kNumPackedOpcodes); in dexGetFlagsFromOpcode() 161 return gDexOpcodeInfo.flags[opcode]; in dexGetFlagsFromOpcode() 175 DEX_INLINE InstructionFormat dexGetFormatFromOpcode(Opcode opcode) in dexGetFormatFromOpcode() argument 177 assert((u4) opcode < kNumPackedOpcodes); in dexGetFormatFromOpcode() 178 return (InstructionFormat) gDexOpcodeInfo.formats[opcode]; in dexGetFormatFromOpcode() [all …]
|
/dalvik/opcode-gen/ |
D | regen-all | 37 ${progdir}/opcode-gen dx/src/com/android/dx/dex/code/Dops.java 38 ${progdir}/opcode-gen dx/src/com/android/dx/dex/code/RopToDop.java 39 ${progdir}/opcode-gen dx/src/com/android/dx/io/OpcodeInfo.java 40 ${progdir}/opcode-gen dx/src/com/android/dx/io/Opcodes.java 41 ${progdir}/opcode-gen libdex/DexOpcodes.cpp 42 ${progdir}/opcode-gen libdex/DexOpcodes.h 43 ${progdir}/opcode-gen libdex/InstrUtils.cpp 47 ${progdir}/opcode-gen \ 49 ${progdir}/opcode-gen \
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | Rop.java | 53 private final int opcode; field in Rop 94 public Rop(int opcode, Type result, TypeList sources, in Rop() argument 118 this.opcode = opcode; in Rop() 141 public Rop(int opcode, Type result, TypeList sources, in Rop() argument 143 this(opcode, result, sources, exceptions, branchingness, false, in Rop() 159 public Rop(int opcode, Type result, TypeList sources, int branchingness, in Rop() argument 161 this(opcode, result, sources, StdTypeList.EMPTY, branchingness, false, in Rop() 176 public Rop(int opcode, Type result, TypeList sources, String nickname) { in Rop() argument 177 this(opcode, result, sources, StdTypeList.EMPTY, Rop.BRANCH_NONE, in Rop() 194 public Rop(int opcode, Type result, TypeList sources, TypeList exceptions, in Rop() argument [all …]
|
D | PlainInsn.java | 40 public PlainInsn(Rop opcode, SourcePosition position, in PlainInsn() argument 42 super(opcode, position, result, sources); in PlainInsn() 44 switch (opcode.getBranchingness()) { in PlainInsn() 51 if (result != null && opcode.getBranchingness() != Rop.BRANCH_NONE) { in PlainInsn() 66 public PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, in PlainInsn() argument 68 this(opcode, position, result, RegisterSpecList.make(source)); in PlainInsn() 130 int opcode = getOpcode().getOpcode(); in withSourceLiteral() local 131 if (opcode == RegOps.SUB && cst instanceof CstInteger) { in withSourceLiteral() 132 opcode = RegOps.ADD; in withSourceLiteral() 135 newRop = Rops.ropFor(opcode, getResult(), newSources, cst); in withSourceLiteral()
|
D | RegOps.java | 312 public static String opName(int opcode) { in opName() argument 313 switch (opcode) { in opName() 372 return "unknown-" + Hex.u1(opcode); in opName() 382 public static int flippedIfOpcode(final int opcode) { in flippedIfOpcode() argument 383 switch (opcode) { in flippedIfOpcode() 386 return opcode; in flippedIfOpcode() 396 throw new RuntimeException("Unrecognized IF regop: " + opcode); in flippedIfOpcode()
|
D | Insn.java | 32 private final Rop opcode; field in Insn 51 public Insn(Rop opcode, SourcePosition position, RegisterSpec result, in Insn() argument 53 if (opcode == null) { in Insn() 65 this.opcode = opcode; in Insn() 125 return opcode; in getOpcode() 157 if (opcode.getOpcode() == RegOps.MARK_LOCAL) { in getLocalAssignment() 192 return opcode.canThrow(); in canThrow() 279 return opcode == b.getOpcode() in contentEquals() 311 sb.append(opcode); in toStringWithInline() 343 sb.append(opcode.getNickname()); in toHumanWithInline()
|
D | DexTranslationAdvice.java | 57 public boolean hasConstantOperation(Rop opcode, in hasConstantOperation() argument 67 opcode.getOpcode() == RegOps.SUB) { in hasConstantOperation() 77 switch (opcode.getOpcode()) { in hasConstantOperation() 102 public boolean requiresSourcesInOrder(Rop opcode, in requiresSourcesInOrder() argument 105 return !disableSourcesInOrder && opcode.isCallLike() in requiresSourcesInOrder()
|
D | TranslationAdvice.java | 39 public boolean hasConstantOperation(Rop opcode, in hasConstantOperation() argument 51 public boolean requiresSourcesInOrder(Rop opcode, RegisterSpecList sources); in requiresSourcesInOrder() argument
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | Rop.java | 53 private final int opcode; field in Rop 94 public Rop(int opcode, Type result, TypeList sources, in Rop() argument 118 this.opcode = opcode; in Rop() 141 public Rop(int opcode, Type result, TypeList sources, in Rop() argument 143 this(opcode, result, sources, exceptions, branchingness, false, in Rop() 159 public Rop(int opcode, Type result, TypeList sources, int branchingness, in Rop() argument 161 this(opcode, result, sources, StdTypeList.EMPTY, branchingness, false, in Rop() 176 public Rop(int opcode, Type result, TypeList sources, String nickname) { in Rop() argument 177 this(opcode, result, sources, StdTypeList.EMPTY, Rop.BRANCH_NONE, in Rop() 194 public Rop(int opcode, Type result, TypeList sources, TypeList exceptions, in Rop() argument [all …]
|
D | RegOps.java | 312 public static String opName(int opcode) { in opName() argument 313 switch (opcode) { in opName() 372 return "unknown-" + Hex.u1(opcode); in opName() 382 public static int flippedIfOpcode(final int opcode) { in flippedIfOpcode() argument 383 switch (opcode) { in flippedIfOpcode() 386 return opcode; in flippedIfOpcode() 396 throw new RuntimeException("Unrecognized IF regop: " + opcode); in flippedIfOpcode()
|
D | Insn.java | 34 private final Rop opcode; field in Insn 53 public Insn(Rop opcode, SourcePosition position, RegisterSpec result, in Insn() argument 55 if (opcode == null) { in Insn() 67 this.opcode = opcode; in Insn() 127 return opcode; in getOpcode() 159 if (opcode.getOpcode() == RegOps.MARK_LOCAL) { in getLocalAssignment() 194 return opcode.canThrow(); in canThrow() 281 return opcode == b.getOpcode() in contentEquals() 313 sb.append(opcode); in toStringWithInline() 345 sb.append(opcode.getNickname()); in toHumanWithInline()
|
D | PlainInsn.java | 39 public PlainInsn(Rop opcode, SourcePosition position, in PlainInsn() argument 41 super(opcode, position, result, sources); in PlainInsn() 43 switch (opcode.getBranchingness()) { in PlainInsn() 50 if (result != null && opcode.getBranchingness() != Rop.BRANCH_NONE) { in PlainInsn() 65 public PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, in PlainInsn() argument 67 this(opcode, position, result, RegisterSpecList.make(source)); in PlainInsn()
|
D | TranslationAdvice.java | 39 public boolean hasConstantOperation(Rop opcode, in hasConstantOperation() argument 51 public boolean requiresSourcesInOrder(Rop opcode, RegisterSpecList sources); in requiresSourcesInOrder() argument
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | Dop.java | 24 private final int opcode; field in Dop 49 public Dop(int opcode, int family, InsnFormat format, in Dop() argument 51 if ((opcode < DalvOps.MIN_VALUE) || (opcode > DalvOps.MAX_VALUE)) { in Dop() 67 this.opcode = opcode; in Dop() 86 return opcode; in getOpcode() 133 switch (opcode) { in getOppositeTest()
|
D | TargetInsn.java | 41 public TargetInsn(Dop opcode, SourcePosition position, in TargetInsn() argument 43 super(opcode, position, registers); in TargetInsn() 54 public DalvInsn withOpcode(Dop opcode) { in withOpcode() argument 55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withOpcode() 75 Dop opcode = getOpcode().getOppositeTest(); in withNewTargetAndReversed() local 77 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withNewTargetAndReversed()
|
D | DalvInsn.java | 37 private final Dop opcode; field in DalvInsn 59 Dop opcode; in makeMove() local 62 opcode = reference ? Dops.MOVE_OBJECT : in makeMove() 65 opcode = reference ? Dops.MOVE_OBJECT_FROM16 : in makeMove() 68 opcode = reference ? Dops.MOVE_OBJECT_16 : in makeMove() 72 return new SimpleInsn(opcode, position, in makeMove() 92 public DalvInsn(Dop opcode, SourcePosition position, in DalvInsn() argument 94 if (opcode == null) { in DalvInsn() 107 this.opcode = opcode; in DalvInsn() 122 sb.append(opcode.getName()); in toString() [all …]
|
D | SimpleInsn.java | 37 public SimpleInsn(Dop opcode, SourcePosition position, in SimpleInsn() argument 39 super(opcode, position, registers); in SimpleInsn() 44 public DalvInsn withOpcode(Dop opcode) { in withOpcode() argument 45 return new SimpleInsn(opcode, getPosition(), getRegisters()); in withOpcode()
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | Dop.java | 27 private final int opcode; field in Dop 60 public Dop(int opcode, int family, int nextOpcode, InsnFormat format, in Dop() argument 62 if (!Opcodes.isValidShape(opcode)) { in Dop() 78 this.opcode = opcode; in Dop() 97 return opcode; in getOpcode() 134 return OpcodeInfo.getName(opcode); in getName() 156 switch (opcode) { in getOppositeTest()
|
D | TargetInsn.java | 41 public TargetInsn(Dop opcode, SourcePosition position, in TargetInsn() argument 43 super(opcode, position, registers); in TargetInsn() 54 public DalvInsn withOpcode(Dop opcode) { in withOpcode() argument 55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withOpcode() 75 Dop opcode = getOpcode().getOppositeTest(); in withNewTargetAndReversed() local 77 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withNewTargetAndReversed()
|
D | SimpleInsn.java | 37 public SimpleInsn(Dop opcode, SourcePosition position, in SimpleInsn() argument 39 super(opcode, position, registers); in SimpleInsn() 44 public DalvInsn withOpcode(Dop opcode) { in withOpcode() argument 45 return new SimpleInsn(opcode, getPosition(), getRegisters()); in withOpcode()
|
D | DalvInsn.java | 40 private final Dop opcode; field in DalvInsn 62 Dop opcode; in makeMove() local 65 opcode = reference ? Dops.MOVE_OBJECT : in makeMove() 68 opcode = reference ? Dops.MOVE_OBJECT_FROM16 : in makeMove() 71 opcode = reference ? Dops.MOVE_OBJECT_16 : in makeMove() 75 return new SimpleInsn(opcode, position, in makeMove() 95 public DalvInsn(Dop opcode, SourcePosition position, in DalvInsn() argument 97 if (opcode == null) { in DalvInsn() 110 this.opcode = opcode; in DalvInsn() 125 sb.append(opcode.getName()); in toString() [all …]
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | CodeObserver.java | 65 public void visitInvalid(int opcode, int offset, int length) { in visitInvalid() argument 70 public void visitNoArgs(int opcode, int offset, int length, Type type) { in visitNoArgs() argument 75 public void visitLocal(int opcode, int offset, int length, in visitLocal() argument 81 if (opcode == ByteOps.IINC) { in visitLocal() 97 public void visitConstant(int opcode, int offset, int length, in visitConstant() argument 101 visitNoArgs(opcode, offset, length, null); in visitConstant() 106 visitLiteralInt(opcode, offset, length, value); in visitConstant() 111 visitLiteralLong(opcode, offset, length, in visitConstant() 117 visitLiteralFloat(opcode, offset, length, in visitConstant() 123 visitLiteralDouble(opcode, offset, length, in visitConstant() [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | BytecodeArray.java | 223 int opcode = bytes.getUnsignedByte(offset); in parseInstruction() local 224 int info = ByteOps.opInfo(opcode); in parseInstruction() 227 switch (opcode) { in parseInstruction() 229 visitor.visitNoArgs(opcode, offset, 1, Type.VOID); in parseInstruction() 375 int idx = opcode - ByteOps.ILOAD_0; in parseInstruction() 384 int idx = opcode - ByteOps.LLOAD_0; in parseInstruction() 393 int idx = opcode - ByteOps.FLOAD_0; in parseInstruction() 402 int idx = opcode - ByteOps.DLOAD_0; in parseInstruction() 411 int idx = opcode - ByteOps.ALOAD_0; in parseInstruction() 490 int idx = opcode - ByteOps.ISTORE_0; in parseInstruction() [all …]
|