Searched refs:opcode (Results 1 - 25 of 94) sorted by relevance

1234

/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DTranslationAdvice.java28 * instruction with the given opcode operating on the given arguments,
33 * @param opcode {@code non-null;} the opcode
39 public boolean hasConstantOperation(Rop opcode, argument
44 * specified opcode to be in order and contiguous (eg, for an invoke-range)
46 * @param opcode {@code non-null;} opcode
51 public boolean requiresSourcesInOrder(Rop opcode, RegisterSpecList sources); argument
H A DConservativeTranslationAdvice.java37 public boolean hasConstantOperation(Rop opcode, argument
43 public boolean requiresSourcesInOrder(Rop opcode, argument
H A DRegOps.java43 * <b>Note:</b> This opcode should only ever be used in the
284 * <b>Note:</b> This opcode should only ever be used in the
291 * <b>Note:</b> This opcode should only ever be used in the
307 * Gets the name of the given opcode.
309 * @param opcode {@code >= 0, <= 255;} the opcode
312 public static String opName(int opcode) { argument
313 switch (opcode) {
372 return "unknown-" + Hex.u1(opcode);
379 * @param opcode A
382 flippedIfOpcode(final int opcode) argument
[all...]
H A DRop.java52 /** the opcode; one of the constants in {@link RegOps} */
53 private final int opcode; field in class:Rop
83 * @param opcode the opcode; one of the constants in {@link RegOps}
94 public Rop(int opcode, Type result, TypeList sources, argument
118 this.opcode = opcode;
131 * @param opcode the opcode; one of the constants in {@link RegOps}
141 public Rop(int opcode, Typ argument
159 Rop(int opcode, Type result, TypeList sources, int branchingness, String nickname) argument
176 Rop(int opcode, Type result, TypeList sources, String nickname) argument
194 Rop(int opcode, Type result, TypeList sources, TypeList exceptions, String nickname) argument
210 Rop(int opcode, TypeList sources, TypeList exceptions) argument
[all...]
H A DPlainInsn.java34 * @param opcode {@code non-null;} the opcode
39 public PlainInsn(Rop opcode, SourcePosition position, argument
41 super(opcode, position, result, sources);
43 switch (opcode.getBranchingness()) {
50 if (result != null && opcode.getBranchingness() != Rop.BRANCH_NONE) {
60 * @param opcode {@code non-null;} the opcode
65 public PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, argument
67 this(opcode, positio
[all...]
H A DCstInsn.java32 * @param opcode {@code non-null;} the opcode
38 public CstInsn(Rop opcode, SourcePosition position, RegisterSpec result, argument
40 super(opcode, position, result, sources);
/dalvik/dx/src/com/android/dx/rop/code/
H A DTranslationAdvice.java28 * instruction with the given opcode operating on the given arguments,
33 * @param opcode {@code non-null;} the opcode
39 public boolean hasConstantOperation(Rop opcode, argument
44 * specified opcode to be in order and contiguous (eg, for an invoke-range)
46 * @param opcode {@code non-null;} opcode
51 public boolean requiresSourcesInOrder(Rop opcode, RegisterSpecList sources); argument
H A DConservativeTranslationAdvice.java38 public boolean hasConstantOperation(Rop opcode, argument
45 public boolean requiresSourcesInOrder(Rop opcode, argument
H A DPlainInsn.java35 * @param opcode {@code non-null;} the opcode
40 public PlainInsn(Rop opcode, SourcePosition position, argument
42 super(opcode, position, result, sources);
44 switch (opcode.getBranchingness()) {
47 throw new IllegalArgumentException("opcode with invalid branchingness: " + opcode.getBranchingness());
51 if (result != null && opcode.getBranchingness() != Rop.BRANCH_NONE) {
61 * @param opcode {@code non-null;} the opcode
66 PlainInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpec source) argument
[all...]
H A DRegOps.java43 * <b>Note:</b> This opcode should only ever be used in the
284 * <b>Note:</b> This opcode should only ever be used in the
291 * <b>Note:</b> This opcode should only ever be used in the
323 * Gets the name of the given opcode.
325 * @param opcode the opcode
328 public static String opName(int opcode) { argument
329 switch (opcode) {
390 return "unknown-" + Hex.u1(opcode);
397 * @param opcode A
400 flippedIfOpcode(final int opcode) argument
[all...]
H A DRop.java52 /** the opcode; one of the constants in {@link RegOps} */
53 private final int opcode; field in class:Rop
83 * @param opcode the opcode; one of the constants in {@link RegOps}
94 public Rop(int opcode, Type result, TypeList sources, argument
118 this.opcode = opcode;
131 * @param opcode the opcode; one of the constants in {@link RegOps}
141 public Rop(int opcode, Typ argument
159 Rop(int opcode, Type result, TypeList sources, int branchingness, String nickname) argument
176 Rop(int opcode, Type result, TypeList sources, String nickname) argument
194 Rop(int opcode, Type result, TypeList sources, TypeList exceptions, String nickname) argument
210 Rop(int opcode, TypeList sources, TypeList exceptions) argument
[all...]
/dalvik/dx/src/com/android/dx/io/instructions/
H A DFillArrayDataPayloadDecodedInstruction.java39 int opcode, Object data, int size, int elementWidth) {
40 super(format, opcode, 0, null, 0, 0L);
51 int opcode, byte[] data) {
52 this(format, opcode, data, data.length, 1);
59 int opcode, short[] data) {
60 this(format, opcode, data, data.length, 2);
67 int opcode, int[] data) {
68 this(format, opcode, data, data.length, 4);
75 int opcode, long[] data) {
76 this(format, opcode, dat
38 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, Object data, int size, int elementWidth) argument
50 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, byte[] data) argument
58 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, short[] data) argument
66 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] data) argument
74 FillArrayDataPayloadDecodedInstruction(InstructionCodec format, int opcode, long[] data) argument
[all...]
H A DPackedSwitchPayloadDecodedInstruction.java38 int opcode, int firstKey, int[] targets) {
39 super(format, opcode, 0, null, 0, 0L);
37 PackedSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int firstKey, int[] targets) argument
H A DSparseSwitchPayloadDecodedInstruction.java38 int opcode, int[] keys, int[] targets) {
39 super(format, opcode, 0, null, 0, 0L);
37 SparseSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] keys, int[] targets) argument
H A DZeroRegisterDecodedInstruction.java28 public ZeroRegisterDecodedInstruction(InstructionCodec format, int opcode, argument
30 super(format, opcode, index, indexType, target, literal);
H A DInstructionCodec.java51 int opcode = byte0(opcodeUnit);
54 this, opcode, 0, null,
68 int opcode = byte0(opcodeUnit);
72 this, opcode, 0, null,
89 int opcode = byte0(opcodeUnit);
93 this, opcode, 0, null,
110 int opcode = byte0(opcodeUnit);
113 this, opcode, 0, null,
129 int opcode = byte0(opcodeUnit);
132 this, opcode,
[all...]
/dalvik/libdex/
H A DInstrUtils.h29 * See the file opcode-gen/README.txt for information about updating
33 kFmt00x = 0, // unknown format (also used for "breakpoint" opcode)
90 * Instruction width implied by an opcode's format; a value in the
111 * Struct that includes a pointer to each of the opcode information
141 Opcode opcode; member in struct:DecodedInstruction
146 * Return the instruction width of the specified opcode, or 0 if not defined.
148 DEX_INLINE size_t dexGetWidthFromOpcode(Opcode opcode) argument
150 assert((u4) opcode < kNumPackedOpcodes);
151 return gDexOpcodeInfo.widths[opcode];
162 * Returns the flags for the specified opcode
164 dexGetFlagsFromOpcode(Opcode opcode) argument
181 dexGetFormatFromOpcode(Opcode opcode) argument
190 dexGetIndexTypeFromOpcode(Opcode opcode) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DSimpleInsn.java31 * @param opcode the opcode; one of the constants from {@link Dops}
37 public SimpleInsn(Dop opcode, SourcePosition position, argument
39 super(opcode, position, registers);
44 public DalvInsn withOpcode(Dop opcode) { argument
45 return new SimpleInsn(opcode, getPosition(), getRegisters());
H A DDop.java20 * Representation of an opcode.
23 /** DalvOps.MIN_VALUE..DalvOps.MAX_VALUE; the opcode value itself */
24 private final int opcode; field in class:Dop
26 /** DalvOps.MIN_VALUE..DalvOps.MAX_VALUE; the opcode family */
32 /** whether this opcode uses a result register */
41 * @param opcode {@code DalvOps.MIN_VALUE..DalvOps.MAX_VALUE;} the opcode
43 * @param family {@code DalvOps.MIN_VALUE..DalvOps.MAX_VALUE;} the opcode family
45 * @param hasResult whether the opcode has a result register; if so it
49 public Dop(int opcode, in argument
[all...]
H A DTargetInsn.java34 * @param opcode the opcode; one of the constants from {@link Dops}
41 public TargetInsn(Dop opcode, SourcePosition position, argument
43 super(opcode, position, registers);
54 public DalvInsn withOpcode(Dop opcode) { argument
55 return new TargetInsn(opcode, getPosition(), getRegisters(), target);
66 * opcode has the opposite sense (as a test; e.g. a
75 Dop opcode = getOpcode().getOppositeTest();
77 return new TargetInsn(opcode, getPosition(), getRegisters(), target);
/dalvik/dx/src/com/android/dx/dex/code/
H A DSimpleInsn.java31 * @param opcode the opcode; one of the constants from {@link Dops}
37 public SimpleInsn(Dop opcode, SourcePosition position, argument
39 super(opcode, position, registers);
44 public DalvInsn withOpcode(Dop opcode) { argument
45 return new SimpleInsn(opcode, getPosition(), getRegisters());
H A DDop.java23 * Representation of an opcode.
26 /** {@code Opcodes.isValid();} the opcode value itself */
27 private final int opcode; field in class:Dop
29 /** {@code Opcodes.isValid();} the opcode family */
33 * {@code Opcodes.isValid();} what opcode (by number) to try next
34 * when attempting to match an opcode to particular arguments;
36 * opcode to try in a particular chain
43 /** whether this opcode uses a result register */
49 * @param opcode {@code Opcodes.isValid();} the opcode valu
60 Dop(int opcode, int family, int nextOpcode, InsnFormat format, boolean hasResult) argument
[all...]
H A DTargetInsn.java34 * @param opcode the opcode; one of the constants from {@link Dops}
41 public TargetInsn(Dop opcode, SourcePosition position, argument
43 super(opcode, position, registers);
54 public DalvInsn withOpcode(Dop opcode) { argument
55 return new TargetInsn(opcode, getPosition(), getRegisters(), target);
66 * opcode has the opposite sense (as a test; e.g. a
75 Dop opcode = getOpcode().getOppositeTest();
77 return new TargetInsn(opcode, getPosition(), getRegisters(), target);
/dalvik/opcode-gen/
H A Dregen-all37 ${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/cf/direct/
H A DCodeObserver.java66 public void visitInvalid(int opcode, int offset, int length) { argument
72 public void visitNoArgs(int opcode, int offset, int length, Type type) { argument
78 public void visitLocal(int opcode, int offset, int length, argument
84 if (opcode == ByteOps.IINC) {
101 public void visitConstant(int opcode, int offset, int length, argument
105 visitNoArgs(opcode, offset, length, null);
110 visitLiteralInt(opcode, offset, length, value);
115 visitLiteralLong(opcode, offset, length,
121 visitLiteralFloat(opcode, offset, length,
127 visitLiteralDouble(opcode, offse
148 visitBranch(int opcode, int offset, int length, int target) argument
157 visitSwitch(int opcode, int offset, int length, SwitchList cases, int padding) argument
235 visitLiteralInt(int opcode, int offset, int length, int value) argument
262 visitLiteralLong(int opcode, int offset, int length, long value) argument
286 visitLiteralFloat(int opcode, int offset, int length, int bits) argument
304 visitLiteralDouble(int opcode, int offset, int length, long bits) argument
[all...]

Completed in 340 milliseconds

1234