/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
OdexedFieldInstructionMapper.java | 34 import org.jf.dexlib2.Opcode; 56 @Nonnull public final Opcode normalOpcode; 57 @Nullable public final Opcode quickOpcode; 58 @Nullable public final Opcode volatileOpcode; 60 public FieldOpcode(char type, @Nonnull Opcode normalOpcode, @Nullable Opcode quickOpcode, 61 @Nullable Opcode volatileOpcode) { 69 public FieldOpcode(char type, boolean isStatic, @Nonnull Opcode normalOpcode, @Nullable Opcode volatileOpcode) { 77 public FieldOpcode(char type, @Nonnull Opcode normalOpcode, @Nullable Opcode quickOpcode) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
InstructionUtil.java | 34 import org.jf.dexlib2.Opcode; 37 public static boolean isInvokeStatic(Opcode opcode) { 38 return opcode == Opcode.INVOKE_STATIC || opcode == Opcode.INVOKE_STATIC_RANGE;
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/ |
Opcode.java | 42 public enum Opcode 44 NOP(0x00, "nop", ReferenceType.NONE, Format.Format10x, Opcode.CAN_CONTINUE), 45 MOVE(0x01, "move", ReferenceType.NONE, Format.Format12x, Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER), 46 MOVE_FROM16(0x02, "move/from16", ReferenceType.NONE, Format.Format22x, Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER), 47 MOVE_16(0x03, "move/16", ReferenceType.NONE, Format.Format32x, Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER), 48 MOVE_WIDE(0x04, "move-wide", ReferenceType.NONE, Format.Format12x, Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/instruction/ |
Instruction.java | 34 import org.jf.dexlib2.Opcode; 45 * Gets the opcode of this instruction. 47 * @return The Opcode of this instruction. 49 Opcode getOpcode();
|
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
ArithOpChanger.java | 25 import dexfuzz.rawdex.Opcode; 144 stats.incrementStat("Changed arithmetic opcode"); 151 Opcode opcode = mInsn.insn.info.opcode; local 152 if (Opcode.isBetween(opcode, Opcode.ADD_INT, Opcode.USHR_INT_LIT8)) { 158 private Opcode getLegalDifferentOpcode(MInsn mInsn) 159 Opcode opcode = mInsn.insn.info.opcode; local [all...] |
ValuePrinter.java | 25 import dexfuzz.rawdex.Opcode; 156 valueCopyInsn.insn.info = Instruction.getOpcodeInfo(Opcode.MOVE_OBJECT_16); 158 valueCopyInsn.insn.info = Instruction.getOpcodeInfo(Opcode.MOVE_WIDE_16); 160 valueCopyInsn.insn.info = Instruction.getOpcodeInfo(Opcode.MOVE_16); 167 streamLoadInsn.insn.info = Instruction.getOpcodeInfo(Opcode.SGET_OBJECT); 173 invokeInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_VIRTUAL_RANGE); 216 Opcode opcode = mInsn.insn.info.opcode; local 217 if (opcode == Opcode.CONST_STRING || opcode == Opcode.CONST_STRING_JUMBO) [all...] |
RandomInstructionGenerator.java | 26 import dexfuzz.rawdex.Opcode; 126 Opcode newOpcode = null; 127 int opcodeCount = Opcode.values().length; 131 newOpcode = Opcode.values()[rng.nextInt(opcodeCount)]; 133 if (Opcode.isBetween(newOpcode, Opcode.FILLED_NEW_ARRAY, Opcode.FILL_ARRAY_DATA) 134 || Opcode.isBetween(newOpcode, Opcode.PACKED_SWITCH, Opcode.SPARSE_SWITCH [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
Instruction.java | 117 // Remember the offset, so after reading the opcode, we can read the whole 123 Log.errorAndQuit("Couldn't find OpcodeInfo for opcode with value: " 170 int opcode = (firstCodeWord & 0xff); local 172 if (opcode == 0x0 && upperBits != 0x0) { 193 return opcode; 298 private static Map<Opcode,OpcodeInfo> opcode_map_by_enum = new HashMap<Opcode,OpcodeInfo>(); 300 public static OpcodeInfo getOpcodeInfo(Opcode opcode) { 301 return opcode_map_by_enum.get(opcode); [all...] |
CodeItem.java | 149 Opcode opcode = insn.info.opcode; local 152 if (opcode == Opcode.CONST_STRING || opcode == Opcode.CONST_STRING_JUMBO) { 160 if (opcode == Opcode.CONST_CLASS 161 || opcode == Opcode.CHECK_CAS [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_opcodes.c | 35 .Opcode = RC_OPCODE_NOP, 39 .Opcode = RC_OPCODE_ILLEGAL_OPCODE, 40 .Name = "ILLEGAL OPCODE" 43 .Opcode = RC_OPCODE_ABS, 50 .Opcode = RC_OPCODE_ADD, 57 .Opcode = RC_OPCODE_ARL, 63 .Opcode = RC_OPCODE_CEIL, 70 .Opcode = RC_OPCODE_CLAMP, 77 .Opcode = RC_OPCODE_CMP, 84 .Opcode = RC_OPCODE_CND 527 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->U.I.Opcode); local [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/elf/ |
dwarf2-3.d | 15 Opcode Base: 13 18 Opcode 1 has 0 args 19 Opcode 2 has 1 args 20 Opcode 3 has 1 args 21 Opcode 4 has 1 args 22 Opcode 5 has 1 args 23 Opcode 6 has 0 args 24 Opcode 7 has 0 args 25 Opcode 8 has 0 args 26 Opcode 9 has 1 arg [all...] |
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/ |
SmaliUsageTypeProvider.java | 40 import org.jf.dexlib2.Opcode; 74 private final Set<Opcode> newArrayInstructions = EnumSet.of(Opcode.FILLED_NEW_ARRAY, Opcode.NEW_ARRAY, 75 Opcode.FILLED_NEW_ARRAY_RANGE); 77 private final Set<Opcode> fieldReadInstructions = EnumSet.of(Opcode.IGET, Opcode.IGET_BOOLEAN, Opcode.IGET_BYTE, 78 Opcode.IGET_CHAR, Opcode.IGET_OBJECT, Opcode.IGET_OBJECT_VOLATILE, Opcode.IGET_SHORT, Opcode.IGET_VOLATIL (…) 121 Opcode opcode = ((SmaliInstruction) element).getOpcode(); local 167 Opcode opcode = ((SmaliInstruction) element).getOpcode(); local 190 Opcode opcode = ((SmaliInstruction) element).getOpcode(); local [all...] |
/external/javassist/src/main/javassist/bytecode/stackmap/ |
Liveness.java | 248 if (op == Opcode.IINC) { 252 else if (op == Opcode.WIDE) 259 case Opcode.ILOAD : 260 case Opcode.LLOAD : 261 case Opcode.FLOAD : 262 case Opcode.DLOAD : 263 case Opcode.ALOAD : 266 case Opcode.ILOAD_0 : 267 case Opcode.ILOAD_1 : 268 case Opcode.ILOAD_2 [all...] |
Tracer.java | 19 import javassist.bytecode.Opcode; 157 case Opcode.NOP : 159 case Opcode.ACONST_NULL : 162 case Opcode.ICONST_M1 : 163 case Opcode.ICONST_0 : 164 case Opcode.ICONST_1 : 165 case Opcode.ICONST_2 : 166 case Opcode.ICONST_3 : 167 case Opcode.ICONST_4 : 168 case Opcode.ICONST_5 [all...] |
/external/llvm/include/llvm/MC/ |
MCInstrInfo.h | 44 /// specified instruction opcode. 45 const MCInstrDesc &get(unsigned Opcode) const { 46 assert(Opcode < NumOpcodes && "Invalid opcode!"); 47 return Desc[Opcode]; 50 /// \brief Returns the name for the instructions with the given opcode. 51 const char *getName(unsigned Opcode) const { 52 assert(Opcode < NumOpcodes && "Invalid opcode!"); 53 return &InstrNameData[InstrNameIndices[Opcode]]; [all...] |
/external/llvm/include/llvm/Target/ |
TargetOpcodes.h | 29 /// Check whether the given Opcode is a generic opcode that is not supposed 31 static inline bool isPreISelGenericOpcode(unsigned Opcode) { 32 return Opcode >= TargetOpcode::PRE_ISEL_GENERIC_OPCODE_START && 33 Opcode <= TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END;
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
MCInstrInfo.h | 41 /// specified instruction opcode. 43 const MCInstrDesc &get(unsigned Opcode) const { 44 assert(Opcode < NumOpcodes && "Invalid opcode!"); 45 return Desc[Opcode];
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/ |
PayloadAlignmentTest.java | 35 import org.jf.dexlib2.Opcode; 53 implBuilder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); 63 Assert.assertEquals(instruction.getOpcode(), Opcode.ARRAY_PAYLOAD); 70 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)); 79 Assert.assertEquals(instruction.getOpcode(), Opcode.MOVE); 82 Assert.assertEquals(instruction.getOpcode(), Opcode.NOP); 85 Assert.assertEquals(instruction.getOpcode(), Opcode.ARRAY_PAYLOAD); 93 implBuilder.addInstruction(new BuilderInstruction31t(Opcode.FILL_ARRAY_DATA, 0, label)); 94 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)); 95 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
InstructionFactory.java | 35 import org.jf.dexlib2.Opcode; 45 Instruction makeInstruction10t(@Nonnull Opcode opcode, int codeOffset); 46 Instruction makeInstruction10x(@Nonnull Opcode opcode); 47 Instruction makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal); 48 Instruction makeInstruction11x(@Nonnull Opcode opcode, int registerA); 49 Instruction makeInstruction12x(@Nonnull Opcode opcode, int registerA, int registerB) [all...] |
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/util/ |
InstructionOffsetMapTest.java | 36 import org.jf.dexlib2.Opcode; 48 /*00: 0x00*/ new ImmutableInstruction10t(Opcode.GOTO, 1), 49 /*01: 0x01*/ new ImmutableInstruction10x(Opcode.NOP), 50 /*02: 0x02*/ new ImmutableInstruction11n(Opcode.CONST_4, 2, 3), 51 /*03: 0x03*/ new ImmutableInstruction11x(Opcode.RETURN, 4), 52 /*04: 0x04*/ new ImmutableInstruction12x(Opcode.ARRAY_LENGTH, 5, 6), 53 /*05: 0x05*/ new ImmutableInstruction20t(Opcode.GOTO_16, 7), 54 /*06: 0x07*/ new ImmutableInstruction21c(Opcode.CONST_STRING, 8, new ImmutableStringReference("blah")), 55 /*07: 0x09*/ new ImmutableInstruction21ih(Opcode.CONST_HIGH16, 9, 0x10000), 56 /*08: 0x0b*/ new ImmutableInstruction21lh(Opcode.CONST_WIDE_HIGH16, 10, 0x1000000000000L) [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
debug1.d | 15 Opcode Base: 13 18 Opcode 1 has 0 args 19 Opcode 2 has 1 args 20 Opcode 3 has 1 args 21 Opcode 4 has 1 args 22 Opcode 5 has 1 args 23 Opcode 6 has 0 args 24 Opcode 7 has 0 args 25 Opcode 8 has 0 args 26 Opcode 9 has 1 arg [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
pr13167.d | 13 Opcode Base: 13 16 Opcode 1 has 0 args 17 Opcode 2 has 1 args 18 Opcode 3 has 1 args 19 Opcode 4 has 1 args 20 Opcode 5 has 1 args 21 Opcode 6 has 0 args 22 Opcode 7 has 0 args 23 Opcode 8 has 0 args 24 Opcode 9 has 1 arg [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUInstrInfo.cpp | 62 int AMDGPUInstrInfo::getMaskedMIMGOp(uint16_t Opcode, unsigned Channels) const { 64 default: return Opcode; 65 case 1: return AMDGPU::getMaskedMIMGOp(Opcode, AMDGPU::Channels_1); 66 case 2: return AMDGPU::getMaskedMIMGOp(Opcode, AMDGPU::Channels_2); 67 case 3: return AMDGPU::getMaskedMIMGOp(Opcode, AMDGPU::Channels_3); 82 static int getMCOpcode(uint16_t Opcode, unsigned Gen) { 83 return getMCOpcodeGen(Opcode, static_cast<Subtarget>(Gen)); 107 int AMDGPUInstrInfo::pseudoToMCOpcode(int Opcode) const { 108 int MCOp = AMDGPU::getMCOpcode(Opcode, subtargetEncodingFamily(ST)); 110 // -1 means that Opcode is already a native instruction [all...] |
/art/runtime/ |
dex_instruction-inl.h | 28 switch (FormatOf(Opcode())) { 60 switch (FormatOf(Opcode())) { 94 DCHECK_EQ(FormatOf(Opcode()), k10t); 99 DCHECK_EQ(FormatOf(Opcode()), k10x); 104 DCHECK_EQ(FormatOf(Opcode()), k11n); 109 DCHECK_EQ(FormatOf(Opcode()), k11x); 114 DCHECK_EQ(FormatOf(Opcode()), k12x); 119 DCHECK_EQ(FormatOf(Opcode()), k20t); 124 DCHECK_EQ(FormatOf(Opcode()), k21c); 129 DCHECK_EQ(FormatOf(Opcode()), k21h) [all...] |
/dalvik/libdex/ |
DexOpcodes.cpp | 18 * Table of Dalvik opcode names. 21 * automatically by the opcode-gen tool. Any edits to the generated 29 * Dalvik opcode names. 32 // BEGIN(libdex-opcode-names); GENERATED AUTOMATICALLY BY opcode-gen 289 // END(libdex-opcode-names) 293 * Return the name of an opcode. 295 const char* dexGetOpcodeName(Opcode op)
|