Searched defs:opcode (Results 1 - 25 of 100) sorted by relevance

1234

/dalvik/vm/native/
H A Ddalvik_bytecode_OpcodeInfo.cpp29 * public static native boolean isInvoke(int opcode);
34 Opcode opcode = static_cast<Opcode>(args[0]); local
35 int flags = dexGetFlagsFromOpcode(opcode);
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DFixedSizeInsn.java38 * @param opcode the opcode; one of the constants from {@link Dops}
44 public FixedSizeInsn(Dop opcode, SourcePosition position, argument
46 super(opcode, position, registers);
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 DVariableSizeInsn.java40 public final DalvInsn withOpcode(Dop opcode) { argument
H A DZeroSizeInsn.java53 public final DalvInsn withOpcode(Dop opcode) { argument
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/dexgen/src/com/android/dexgen/rop/code/
H A DConservativeTranslationAdvice.java37 public boolean hasConstantOperation(Rop opcode, argument
43 public boolean requiresSourcesInOrder(Rop opcode, argument
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);
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 DDexTranslationAdvice.java57 public boolean hasConstantOperation(Rop opcode, argument
70 switch (opcode.getOpcode()) {
91 public boolean requiresSourcesInOrder(Rop opcode, argument
94 return !disableSourcesInOrder && opcode.isCallLike()
H A DPlainCstInsn.java33 * @param opcode {@code non-null;} the opcode
39 public PlainCstInsn(Rop opcode, SourcePosition position, argument
42 super(opcode, position, result, sources, cst);
44 if (opcode.getBranchingness() != Rop.BRANCH_NONE) {
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...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DValueAwareMachine.java41 public void run(Frame frame, int offset, int opcode) { argument
42 switch (opcode) {
193 Hex.u1(opcode));
/dalvik/dx/src/com/android/dx/dex/code/
H A DFixedSizeInsn.java39 * @param opcode the opcode; one of the constants from {@link Dops}
45 public FixedSizeInsn(Dop opcode, SourcePosition position, argument
47 super(opcode, position, registers);
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 DVariableSizeInsn.java40 public final DalvInsn withOpcode(Dop opcode) { argument
H A DZeroSizeInsn.java53 public final DalvInsn withOpcode(Dop opcode) { argument
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...]
/dalvik/dx/src/com/android/dx/io/instructions/
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);
/dalvik/dx/src/com/android/dx/rop/code/
H A DConservativeTranslationAdvice.java37 public boolean hasConstantOperation(Rop opcode, argument
43 public boolean requiresSourcesInOrder(Rop opcode, argument
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);
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

Completed in 2351 milliseconds

1234