Home | History | Annotate | Download | only in libdex

Lines Matching refs:Opcode

18  * Dalvik opcode information.
21 * automatically by the opcode-gen tool. Any edits to the generated
24 * See the file opcode-gen/README.txt for information about updating
34 * kMaxOpcodeValue: the highest possible raw (unpacked) opcode value
36 * kNumPackedOpcodes: the highest possible packed opcode value of a
37 * valid Dalvik opcode, plus one
42 // BEGIN(libdex-maximum-values); GENERATED AUTOMATICALLY BY opcode-gen
45 // END(libdex-maximum-values); GENERATED AUTOMATICALLY BY opcode-gen
58 * associated with each is the corresponding packed opcode number.
59 * This is different than the opcode value from the Dalvik bytecode
60 * spec for opcode values >= 0xff; see dexOpcodeFromCodeUnit() below.
62 * A note about the "breakpoint" opcode. This instruction is special,
65 * opcode, which means operations like "tell me the opcode width so I
69 enum Opcode {
70 // BEGIN(libdex-opcode-enum); GENERATED AUTOMATICALLY BY opcode-gen
583 // END(libdex-opcode-enum)
592 /* BEGIN(libdex-goto-table); GENERATED AUTOMATICALLY BY opcode-gen */ \
1109 * Return the Opcode for a given raw opcode code unit (which may
1111 * can be used to point into various opcode-related tables. The Dalvik
1112 * opcode space is inherently sparse, in that the opcode unit is 16
1115 DEX_INLINE Opcode dexOpcodeFromCodeUnit(u2 codeUnit) {
1117 * This will want to become table-driven should the opcode layout
1120 * Note: This has to match the corresponding code in opcode-gen, so
1125 return (Opcode) lowByte;
1127 return (Opcode) ((codeUnit >> 8) | 0x100);
1132 * Return the name of an opcode.
1134 const char* dexGetOpcodeName(Opcode op);