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

1234567891011>>

/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
/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
/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.java37 public boolean hasConstantOperation(Rop opcode, argument
43 public boolean requiresSourcesInOrder(Rop opcode, argument
/dalvik/vm/compiler/template/armv5te/
H A DTEMPLATE_CMP_LONG.S23 blt .L${opcode}_less @ signed compare on high part
24 bgt .L${opcode}_greater
27 bhi .L${opcode}_greater @ unsigned compare on low part
28 .L${opcode}_less:
31 .L${opcode}_greater:
/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)
84 * Instruction width implied by an opcode's format; a value in the
105 * Struct that includes a pointer to each of the opcode information
135 Opcode opcode; member in struct:DecodedInstruction
140 * Return the instruction width of the specified opcode, or 0 if not defined.
142 DEX_INLINE size_t dexGetWidthFromOpcode(Opcode opcode) argument
144 assert((u4) opcode < kNumPackedOpcodes);
145 return gDexOpcodeInfo.widths[opcode];
156 * Returns the flags for the specified opcode
158 dexGetFlagsFromOpcode(Opcode opcode) argument
175 dexGetFormatFromOpcode(Opcode opcode) argument
184 dexGetIndexTypeFromOpcode(Opcode opcode) argument
[all...]
/dalvik/vm/mterp/x86/
H A DOP_DIV_LONG.S11 je .L${opcode}_check_zero
13 je .L${opcode}_check_neg1
14 .L${opcode}_notSpecial:
17 .L${opcode}_notSpecial1:
22 .L${opcode}_finish:
30 .L${opcode}_check_zero:
32 jne .L${opcode}_notSpecial
34 .L${opcode}_check_neg1:
36 jne .L${opcode}_notSpecial
40 jne .L${opcode}_notSpecial
[all...]
H A DOP_DIV_LONG_2ADDR.S12 je .L${opcode}_check_zero
14 je .L${opcode}_check_neg1
15 .L${opcode}_notSpecial:
18 .L${opcode}_notSpecial1:
23 .L${opcode}_finish:
31 .L${opcode}_check_zero:
33 jne .L${opcode}_notSpecial
35 .L${opcode}_check_neg1:
37 jne .L${opcode}_notSpecial
41 jne .L${opcode}_notSpecial
[all...]
H A DOP_CMPG_DOUBLE.S21 jp .L${opcode}_isNaN
22 je .L${opcode}_finish
24 jb .L${opcode}_finish
26 .L${opcode}_finish:
31 .L${opcode}_isNaN:
33 jmp .L${opcode}_finish
H A DOP_CMP_LONG.S17 jl .L${opcode}_smaller
18 jg .L${opcode}_bigger
20 ja .L${opcode}_bigger
21 jb .L${opcode}_smaller
28 .L${opcode}_bigger:
36 .L${opcode}_smaller:
/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...]
/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...]
/dalvik/vm/compiler/codegen/mips/
H A DGlobalOptimizations.cpp34 if (!thisLIR->flags.isNop && thisLIR->opcode == kMipsB) {
54 if (!isPseudoOpCode(nextLIR->opcode) ||
74 if (thisLIR->flags.isNop || thisLIR->opcode != kMipsMove)
88 if (nextLIR->flags.isNop || nextLIR->opcode == kMips32BitData)
91 if (isPseudoOpCode(nextLIR->opcode)) {
92 if (nextLIR->opcode == kMipsPseudoDalvikByteCodeBoundary ||
93 nextLIR->opcode == kMipsPseudoBarrier ||
94 nextLIR->opcode == kMipsPseudoExtended ||
95 nextLIR->opcode == kMipsPseudoSSARep)
97 else if (nextLIR->opcode
[all...]
H A DCodegenCommon.cpp40 assert(EncodingMap[lir->opcode].flags & (IS_LOAD | IS_STORE));
63 assert(!(EncodingMap[lir->opcode].flags & IS_STORE));
146 int opcode = lir->opcode;
149 if (opcode <= 0) {
154 flags = EncodingMap[lir->opcode].flags;
240 int flags = EncodingMap[lir->opcode].flags;
272 static MipsLIR *newLIR0(CompilationUnit *cUnit, MipsOpCode opcode)
275 assert(isPseudoOpCode(opcode) || (EncodingMap[opcode]
[all...]
/dalvik/vm/mterp/c/
H A DOP_RETURN.cpp1 HANDLE_OPCODE($opcode /*vAA*/)
/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/vm/compiler/codegen/arm/Thumb/
H A DFactory.cpp77 loadPcRel->opcode = kThumbLdrPcRel;
132 loadPcRel->opcode = kThumbLdrPcRel;
145 ArmOpcode opcode = kThumbBkpt; local
148 opcode = kThumbBUncond;
154 return newLIR0(cUnit, opcode);
164 ArmOpcode opcode = kThumbBkpt; local
167 opcode = kThumbPush;
170 opcode = kThumbPop;
176 return newLIR1(cUnit, opcode, value);
181 ArmOpcode opcode local
200 ArmOpcode opcode = kThumbBkpt; local
253 ArmOpcode opcode = kThumbBkpt; local
284 ArmOpcode opcode = kThumbBkpt; local
377 ArmOpcode opcode = kThumbBkpt; local
474 ArmOpcode opcode = kThumbBkpt; local
517 ArmOpcode opcode = kThumbBkpt; local
590 ArmOpcode opcode = kThumbBkpt; local
720 ArmOpcode opcode = kThumbBkpt; local
842 ArmOpcode opcode; local
[all...]
/dalvik/vm/compiler/codegen/arm/Thumb2/
H A DFactory.cpp71 loadPcRel->opcode = kThumb2Vldrs;
179 loadPcRel->opcode = kThumb2LdrPcRel12;
230 loadPcRel->opcode = kThumb2LdrPcRel12;
243 ArmOpcode opcode = kThumbBkpt; local
246 opcode = kThumbBUncond;
251 return newLIR0(cUnit, opcode);
261 ArmOpcode opcode = kThumbBkpt; local
265 opcode = kThumbPush;
268 opcode = kThumbPush;
271 opcode
295 ArmOpcode opcode = kThumbBkpt; local
310 ArmOpcode opcode = kThumbBkpt; local
431 ArmOpcode opcode = kThumbBkpt; local
504 ArmOpcode opcode = kThumbBkpt; local
627 ArmOpcode opcode = kThumbBkpt; local
751 ArmOpcode opcode = kThumbBkpt; local
815 ArmOpcode opcode = kThumbBkpt; local
880 ArmOpcode opcode = kThumbBkpt; local
1014 ArmOpcode opcode = kThumbBkpt; local
1221 ArmOpcode opcode; local
[all...]
/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/vm/mterp/mips/
H A DOP_INSTANCE_OF.S20 beqz a0, .L${opcode}_store # null obj, not an instance, store a0
26 beqz a1, .L${opcode}_resolve # not resolved, do it now
27 .L${opcode}_resolved: # a0=obj->clazz, a1=resolved class
29 beq a0, a1, .L${opcode}_trivial # yes, trivial finish
30 b .L${opcode}_fullcheck # no, do full check
36 .L${opcode}_trivial:
43 .L${opcode}_store:
46 GET_INST_OPCODE(t0) # extract opcode from rINST
57 .L${opcode}_fullcheck:
59 move a0, v0 # fall through to ${opcode}_stor
[all...]
/dalvik/vm/compiler/codegen/arm/
H A DCodegenCommon.cpp39 assert(EncodingMap[lir->opcode].flags & (IS_LOAD | IS_STORE));
61 assert(!(EncodingMap[lir->opcode].flags & IS_STORE));
128 int opcode = lir->opcode; local
131 if (opcode <= 0) {
136 flags = EncodingMap[lir->opcode].flags;
217 if (opcode == kThumbPush || opcode == kThumbPop) {
219 if ((opcode == kThumbPush) && (lir->useMask & r8Mask)) {
222 } else if ((opcode
264 newLIR0(CompilationUnit *cUnit, ArmOpcode opcode) argument
274 newLIR1(CompilationUnit *cUnit, ArmOpcode opcode, int dest) argument
286 newLIR2(CompilationUnit *cUnit, ArmOpcode opcode, int dest, int src1) argument
300 newLIR3(CompilationUnit *cUnit, ArmOpcode opcode, int dest, int src1, int src2) argument
319 newLIR4(CompilationUnit *cUnit, ArmOpcode opcode, int dest, int src1, int src2, int info) argument
[all...]

Completed in 1161 milliseconds

1234567891011>>