Home
last modified time | relevance | path

Searched refs:Opcode (Results 1 – 25 of 717) sorted by relevance

12345678910>>...29

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DOdexedFieldInstructionMapper.java34 import org.jf.dexlib2.Opcode;
39 private static Opcode[][][][] opcodeMap = new Opcode[][][][] {
41 new Opcode[][][] {
43 new Opcode[][] {
45 new Opcode[] {
46 /*Z*/ Opcode.IGET_QUICK,
47 /*B*/ Opcode.IGET_QUICK,
48 /*S*/ Opcode.IGET_QUICK,
49 /*C*/ Opcode.IGET_QUICK,
50 /*I,F*/ Opcode.IGET_QUICK,
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcode.java34 public enum Opcode enum
36 NOP((short)0x00, "nop", ReferenceType.NONE, Format.Format10x, Opcode.CAN_CONTINUE),
37 …MOVE((short)0x01, "move", ReferenceType.NONE, Format.Format12x, Opcode.CAN_CONTINUE | Opcode.SETS_…
38 …rt)0x02, "move/from16", ReferenceType.NONE, Format.Format22x, Opcode.CAN_CONTINUE | Opcode.SETS_RE…
39 …(short)0x03, "move/16", ReferenceType.NONE, Format.Format32x, Opcode.CAN_CONTINUE | Opcode.SETS_RE…
40 …"move-wide", ReferenceType.NONE, Format.Format12x, Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Op…
41 …ide/from16", ReferenceType.NONE, Format.Format22x, Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Op…
42 …ve-wide/16", ReferenceType.NONE, Format.Format32x, Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Op…
43 …rt)0x07, "move-object", ReferenceType.NONE, Format.Format12x, Opcode.CAN_CONTINUE | Opcode.SETS_RE…
44 …, "move-object/from16", ReferenceType.NONE, Format.Format22x, Opcode.CAN_CONTINUE | Opcode.SETS_RE…
[all …]
DOpcodes.java40 private final Opcode[] opcodesByValue;
41 private final HashMap<String, Opcode> opcodesByName;
44 opcodesByValue = new Opcode[256]; in Opcodes()
47 for (Opcode opcode: Opcode.values()) { in Opcodes()
58 public Opcode getOpcodeByName(String opcodeName) { in getOpcodeByName()
63 public Opcode getOpcodeByValue(int opcodeValue) { in getOpcodeByValue()
66 return Opcode.PACKED_SWITCH_PAYLOAD; in getOpcodeByValue()
68 return Opcode.SPARSE_SWITCH_PAYLOAD; in getOpcodeByValue()
70 return Opcode.ARRAY_PAYLOAD; in getOpcodeByValue()
/external/javassist/src/main/javassist/bytecode/stackmap/
DTracer.java19 import javassist.bytecode.Opcode;
157 case Opcode.NOP : in doOpcode0_53()
159 case Opcode.ACONST_NULL : in doOpcode0_53()
162 case Opcode.ICONST_M1 : in doOpcode0_53()
163 case Opcode.ICONST_0 : in doOpcode0_53()
164 case Opcode.ICONST_1 : in doOpcode0_53()
165 case Opcode.ICONST_2 : in doOpcode0_53()
166 case Opcode.ICONST_3 : in doOpcode0_53()
167 case Opcode.ICONST_4 : in doOpcode0_53()
168 case Opcode.ICONST_5 : in doOpcode0_53()
[all …]
DLiveness.java248 if (op == Opcode.IINC) { in analyze()
252 else if (op == Opcode.WIDE) in analyze()
259 case Opcode.ILOAD : in doOpcode0_53()
260 case Opcode.LLOAD : in doOpcode0_53()
261 case Opcode.FLOAD : in doOpcode0_53()
262 case Opcode.DLOAD : in doOpcode0_53()
263 case Opcode.ALOAD : in doOpcode0_53()
266 case Opcode.ILOAD_0 : in doOpcode0_53()
267 case Opcode.ILOAD_1 : in doOpcode0_53()
268 case Opcode.ILOAD_2 : in doOpcode0_53()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_opcodes.c35 .Opcode = RC_OPCODE_NOP,
39 .Opcode = RC_OPCODE_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,
91 .Opcode = RC_OPCODE_COS,
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
Dradeon_opcodes.c35 .Opcode = RC_OPCODE_NOP,
39 .Opcode = RC_OPCODE_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,
91 .Opcode = RC_OPCODE_COS,
[all …]
/external/lldb/include/lldb/Core/
DOpcode.h28 class Opcode
42 Opcode () : m_type (eTypeInvalid) in Opcode() function
46 Opcode (uint8_t inst) : m_type (eType8) in Opcode() function
51 Opcode (uint16_t inst) : m_type (eType16) in Opcode() function
56 Opcode (uint32_t inst) : m_type (eType32) in Opcode() function
61 Opcode (uint64_t inst) : m_type (eType64) in Opcode() function
66 Opcode (uint8_t *bytes, size_t length) in Opcode() function
74 m_type = Opcode::eTypeInvalid; in Clear()
76 Opcode::Type
87 case Opcode::eTypeInvalid: break;
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
DPayloadAlignmentTest.java35 import org.jf.dexlib2.Opcode;
53 implBuilder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testPayloadAlignmentRemoveNop()
63 Assert.assertEquals(instruction.getOpcode(), Opcode.ARRAY_PAYLOAD); in testPayloadAlignmentRemoveNop()
70 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)); in testPayloadAlignmentAddNop()
79 Assert.assertEquals(instruction.getOpcode(), Opcode.MOVE); in testPayloadAlignmentAddNop()
82 Assert.assertEquals(instruction.getOpcode(), Opcode.NOP); in testPayloadAlignmentAddNop()
85 Assert.assertEquals(instruction.getOpcode(), Opcode.ARRAY_PAYLOAD); in testPayloadAlignmentAddNop()
93 implBuilder.addInstruction(new BuilderInstruction31t(Opcode.FILL_ARRAY_DATA, 0, label)); in testPayloadAlignmentRemoveNopWithReferent()
94 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)); in testPayloadAlignmentRemoveNopWithReferent()
95 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)); in testPayloadAlignmentRemoveNopWithReferent()
[all …]
DFixGotoTest.java5 import org.jf.dexlib2.Opcode;
22 builder.addInstruction(new BuilderInstruction10t(Opcode.GOTO, gotoTarget)); in testFixGotoToGoto16()
25 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testFixGotoToGoto16()
29 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testFixGotoToGoto16()
36 Assert.assertEquals(Opcode.GOTO_16, instructions.get(0).getOpcode()); in testFixGotoToGoto16()
45 builder.addInstruction(new BuilderInstruction10t(Opcode.GOTO, gotoTarget)); in testFixGotoToGoto32()
48 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testFixGotoToGoto32()
52 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testFixGotoToGoto32()
59 Assert.assertEquals(Opcode.GOTO_32, instructions.get(0).getOpcode()); in testFixGotoToGoto32()
68 builder.addInstruction(new BuilderInstruction20t(Opcode.GOTO_16, gotoTarget)); in testFixGoto16ToGoto32()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp452 unsigned Opcode; in SelectLoad() local
458 Opcode = NVPTX::LD_i8_avar; in SelectLoad()
461 Opcode = NVPTX::LD_i16_avar; in SelectLoad()
464 Opcode = NVPTX::LD_i32_avar; in SelectLoad()
467 Opcode = NVPTX::LD_i64_avar; in SelectLoad()
470 Opcode = NVPTX::LD_f32_avar; in SelectLoad()
473 Opcode = NVPTX::LD_f64_avar; in SelectLoad()
481 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in SelectLoad()
487 Opcode = NVPTX::LD_i8_asi; in SelectLoad()
490 Opcode = NVPTX::LD_i16_asi; in SelectLoad()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/util/
DInstructionOffsetMapTest.java36 import org.jf.dexlib2.Opcode;
48 /*00: 0x00*/ new ImmutableInstruction10t(Opcode.GOTO, 1), in testInstructionOffsetMap()
49 /*01: 0x01*/ new ImmutableInstruction10x(Opcode.NOP), in testInstructionOffsetMap()
50 /*02: 0x02*/ new ImmutableInstruction11n(Opcode.CONST_4, 2, 3), in testInstructionOffsetMap()
51 /*03: 0x03*/ new ImmutableInstruction11x(Opcode.RETURN, 4), in testInstructionOffsetMap()
52 /*04: 0x04*/ new ImmutableInstruction12x(Opcode.ARRAY_LENGTH, 5, 6), in testInstructionOffsetMap()
53 /*05: 0x05*/ new ImmutableInstruction20t(Opcode.GOTO_16, 7), in testInstructionOffsetMap()
54 …/*06: 0x07*/ new ImmutableInstruction21c(Opcode.CONST_STRING, 8, new ImmutableStringReference("bla… in testInstructionOffsetMap()
55 /*07: 0x09*/ new ImmutableInstruction21ih(Opcode.CONST_HIGH16, 9, 0x10000), in testInstructionOffsetMap()
56 … /*08: 0x0b*/ new ImmutableInstruction21lh(Opcode.CONST_WIDE_HIGH16, 10, 0x1000000000000L), in testInstructionOffsetMap()
[all …]
/external/lldb/source/Core/
DOpcode.cpp29 Opcode::Dump (Stream *s, uint32_t min_byte_width) in Dump()
34 case Opcode::eTypeInvalid: in Dump()
37 case Opcode::eType8: in Dump()
40 case Opcode::eType16: in Dump()
43 case Opcode::eType16_2: in Dump()
44 case Opcode::eType32: in Dump()
48 case Opcode::eType64: in Dump()
52 case Opcode::eTypeBytes: in Dump()
72 Opcode::GetDataByteOrder () const in GetDataByteOrder()
76 case Opcode::eTypeInvalid: break; in GetDataByteOrder()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DInstructionFactory.java35 import org.jf.dexlib2.Opcode;
45 Instruction makeInstruction10t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction10t()
46 Instruction makeInstruction10x(@Nonnull Opcode opcode); in makeInstruction10x()
47 Instruction makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction11n()
48 Instruction makeInstruction11x(@Nonnull Opcode opcode, int registerA); in makeInstruction11x()
49 Instruction makeInstruction12x(@Nonnull Opcode opcode, int registerA, int registerB); in makeInstruction12x()
50 …Instruction makeInstruction20bc(@Nonnull Opcode opcode, int verificationError, @Nonnull Ref refere… in makeInstruction20bc()
51 Instruction makeInstruction20t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction20t()
52 Instruction makeInstruction21c(@Nonnull Opcode opcode, int registerA, @Nonnull Ref reference); in makeInstruction21c()
53 Instruction makeInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction21ih()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
DImmutableInstructionFactory.java34 import org.jf.dexlib2.Opcode;
49 public ImmutableInstruction10t makeInstruction10t(@Nonnull Opcode opcode, in makeInstruction10t()
54 public ImmutableInstruction10x makeInstruction10x(@Nonnull Opcode opcode) { in makeInstruction10x()
58 public ImmutableInstruction11n makeInstruction11n(@Nonnull Opcode opcode, in makeInstruction11n()
64 public ImmutableInstruction11x makeInstruction11x(@Nonnull Opcode opcode, in makeInstruction11x()
69 public ImmutableInstruction12x makeInstruction12x(@Nonnull Opcode opcode, in makeInstruction12x()
75 public ImmutableInstruction20bc makeInstruction20bc(@Nonnull Opcode opcode, in makeInstruction20bc()
81 public ImmutableInstruction20t makeInstruction20t(@Nonnull Opcode opcode, in makeInstruction20t()
86 public ImmutableInstruction21c makeInstruction21c(@Nonnull Opcode opcode, in makeInstruction21c()
92 public ImmutableInstruction21ih makeInstruction21ih(@Nonnull Opcode opcode, in makeInstruction21ih()
[all …]
/external/llvm/lib/DebugInfo/
DDWARFDebugFrame.cpp64 Instruction(uint8_t Opcode) in Instruction()
65 : Opcode(Opcode) in Instruction()
68 uint8_t Opcode; member
76 void addInstruction(uint8_t Opcode) { in addInstruction() argument
77 Instructions.push_back(Instruction(Opcode)); in addInstruction()
80 void addInstruction(uint8_t Opcode, uint64_t Operand1) { in addInstruction() argument
81 Instructions.push_back(Instruction(Opcode)); in addInstruction()
85 void addInstruction(uint8_t Opcode, uint64_t Operand1, uint64_t Operand2) { in addInstruction() argument
86 Instructions.push_back(Instruction(Opcode)); in addInstruction()
100 uint8_t Opcode = Data.getU8(Offset); in parseInstructions() local
[all …]
/external/javassist/src/main/javassist/expr/
DNewArray.java80 if (opcode == Opcode.NEWARRAY) { in getComponentType()
84 else if (opcode == Opcode.ANEWARRAY in getComponentType()
85 || opcode == Opcode.MULTIANEWARRAY) { in getComponentType()
98 case Opcode.T_BOOLEAN : in getPrimitiveType()
100 case Opcode.T_CHAR : in getPrimitiveType()
102 case Opcode.T_FLOAT : in getPrimitiveType()
104 case Opcode.T_DOUBLE : in getPrimitiveType()
106 case Opcode.T_BYTE : in getPrimitiveType()
108 case Opcode.T_SHORT : in getPrimitiveType()
110 case Opcode.T_INT : in getPrimitiveType()
[all …]
DExprEditor.java184 if (c < Opcode.GETSTATIC) // c < 178 in loopBody()
186 else if (c < Opcode.NEWARRAY) { // c < 188 in loopBody()
187 if (c == Opcode.INVOKESTATIC in loopBody()
188 || c == Opcode.INVOKEINTERFACE in loopBody()
189 || c == Opcode.INVOKEVIRTUAL) { in loopBody()
193 else if (c == Opcode.GETFIELD || c == Opcode.GETSTATIC in loopBody()
194 || c == Opcode.PUTFIELD in loopBody()
195 || c == Opcode.PUTSTATIC) { in loopBody()
199 else if (c == Opcode.NEW) { in loopBody()
204 else if (c == Opcode.INVOKESPECIAL) { in loopBody()
[all …]
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.cpp47 const char *llvm::X86Disassembler::GetInstrName(unsigned Opcode, in GetInstrName() argument
50 return MII->getName(Opcode); in GetInstrName()
323 uint32_t Opcode = mcInst.getOpcode(); in translateImmediate() local
330 if (Opcode != X86::BLENDPSrri && Opcode != X86::BLENDPDrri && in translateImmediate()
331 Opcode != X86::PBLENDWrri && Opcode != X86::MPSADBWrri && in translateImmediate()
332 Opcode != X86::DPPSrri && Opcode != X86::DPPDrri && in translateImmediate()
333 Opcode != X86::INSERTPSrr && Opcode != X86::VBLENDPSYrri && in translateImmediate()
334 Opcode != X86::VBLENDPSYrmi && Opcode != X86::VBLENDPDYrri && in translateImmediate()
335 Opcode != X86::VBLENDPDYrmi && Opcode != X86::VPBLENDWrri && in translateImmediate()
336 Opcode != X86::VMPSADBWrri && Opcode != X86::VDPPSYrri && in translateImmediate()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp77 unsigned getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm,
95 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
100 virtual unsigned getCastInstrCost(unsigned Opcode, Type *Dst,
102 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
104 virtual unsigned getVectorInstrCost(unsigned Opcode, Type *Val,
106 virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src,
191 unsigned PPCTTI::getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost() argument
194 return TargetTransformInfo::getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost()
205 switch (Opcode) { in getIntImmCost()
321 unsigned PPCTTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty, in getArithmeticInstrCost() argument
[all …]
/external/llvm/lib/Target/R600/
DSIInstrInfo.h48 MachineInstr *Inst, unsigned Opcode) const;
51 MachineInstr *Inst, unsigned Opcode) const;
84 unsigned commuteOpcode(unsigned Opcode) const;
99 bool isMov(unsigned Opcode) const override;
102 bool isDS(uint16_t Opcode) const;
103 int isMIMG(uint16_t Opcode) const;
104 int isSMRD(uint16_t Opcode) const;
105 bool isVOP1(uint16_t Opcode) const;
106 bool isVOP2(uint16_t Opcode) const;
107 bool isVOP3(uint16_t Opcode) const;
[all …]
DR600InstrInfo.h77 bool isALUInstr(unsigned Opcode) const;
78 bool hasInstrModifiers(unsigned Opcode) const;
79 bool isLDSInstr(unsigned Opcode) const;
80 bool isLDSNoRetInstr(unsigned Opcode) const;
81 bool isLDSRetInstr(unsigned Opcode) const;
87 bool isTransOnly(unsigned Opcode) const;
89 bool isVectorOnly(unsigned Opcode) const;
91 bool isExport(unsigned Opcode) const;
93 bool usesVertexCache(unsigned Opcode) const;
95 bool usesTextureCache(unsigned Opcode) const;
[all …]
/external/javassist/src/test/test/javassist/bytecode/analysis/
DScannerTest.java13 import javassist.bytecode.Opcode;
118 /* 12 */ addJump(code, Opcode.GOTO, 125); in generate()
122 /* 20 */ addJump(code, Opcode.GOTO, 125); in generate()
124 /* 25 */ addJump(code, Opcode.JSR, 31); in generate()
126 /* 30 */ code.addOpcode(Opcode.ATHROW); in generate()
130 /* 33 */ code.addOpcode(Opcode.LOOKUPSWITCH); in generate()
139 /* 66 */ addJump(code, Opcode.GOTO, 111); in generate()
141 /* 71 */ addJump(code, Opcode.JSR, 77); in generate()
143 /* 76 */ code.add(Opcode.ATHROW); in generate()
148 /* 85 */ addJump(code, Opcode.GOTO, 106); in generate()
[all …]
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h96 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_00xxxxxx() local
97 SW.startLine() << format("0x%02X ; vsp = vsp + %u\n", Opcode, in Decode_00xxxxxx()
98 ((Opcode & 0x3f) << 2) + 4); in Decode_00xxxxxx()
101 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_01xxxxxx() local
102 SW.startLine() << format("0x%02X ; vsp = vsp - %u\n", Opcode, in Decode_01xxxxxx()
103 ((Opcode & 0x3f) << 2) + 4); in Decode_01xxxxxx()
119 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_10011101() local
120 SW.startLine() << format("0x%02X ; reserved (ARM MOVrr)\n", Opcode); in Decode_10011101()
123 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_10011111() local
124 SW.startLine() << format("0x%02X ; reserved (WiMMX MOVrr)\n", Opcode); in Decode_10011111()
[all …]
/external/lldb/utils/test/
DREADME-disasm147 Opcode=2305 Name=tPUSH Format=ARM_FORMAT_THUMBFRM(25)
154 Opcode=2305 Name=tPUSH Format=ARM_FORMAT_THUMBFRM(25)
161 Opcode=2228 Name=tADDrSPi Format=ARM_FORMAT_THUMBFRM(25)
168 Opcode=2328 Name=tSUBspi Format=ARM_FORMAT_THUMBFRM(25)
175 Opcode=2228 Name=tADDrSPi Format=ARM_FORMAT_THUMBFRM(25)
182 Opcode=1963 Name=t2LDR_POST Format=ARM_FORMAT_THUMBFRM(25)
189 Opcode=2324 Name=tSTRspi Format=ARM_FORMAT_THUMBFRM(25)
196 Opcode=2275 Name=tLDRpci Format=ARM_FORMAT_THUMBFRM(25)
203 Opcode=2223 Name=tADDhirr Format=ARM_FORMAT_THUMBFRM(25)
210 Opcode=2274 Name=tLDRi Format=ARM_FORMAT_THUMBFRM(25)
[all …]

12345678910>>...29