Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 977) sorted by relevance

12345678910>>...40

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
DImmutableInstructionFactory.java49 public ImmutableInstruction10t makeInstruction10t(@Nonnull Opcode opcode, in makeInstruction10t() argument
51 return new ImmutableInstruction10t(opcode, codeOffset); in makeInstruction10t()
54 public ImmutableInstruction10x makeInstruction10x(@Nonnull Opcode opcode) { in makeInstruction10x() argument
55 return new ImmutableInstruction10x(opcode); in makeInstruction10x()
58 public ImmutableInstruction11n makeInstruction11n(@Nonnull Opcode opcode, in makeInstruction11n() argument
61 return new ImmutableInstruction11n(opcode, registerA, literal); in makeInstruction11n()
64 public ImmutableInstruction11x makeInstruction11x(@Nonnull Opcode opcode, in makeInstruction11x() argument
66 return new ImmutableInstruction11x(opcode, registerA); in makeInstruction11x()
69 public ImmutableInstruction12x makeInstruction12x(@Nonnull Opcode opcode, in makeInstruction12x() argument
72 return new ImmutableInstruction12x(opcode, registerA, registerB); in makeInstruction12x()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedInstruction.java45 @Nonnull public final Opcode opcode; field in DexBackedInstruction
49 @Nonnull Opcode opcode, in DexBackedInstruction() argument
52 this.opcode = opcode; in DexBackedInstruction()
56 @Nonnull public Opcode getOpcode() { return opcode; } in getOpcode()
57 @Override public int getCodeUnits() { return opcode.format.size / 2; } in getCodeUnits()
67 Opcode opcode = reader.dexBuf.getOpcodes().getOpcodeByValue(opcodeValue); in readFrom() local
69 Instruction instruction = buildInstruction(reader.dexBuf, opcode, reader.getOffset()); in readFrom()
74 …c DexBackedInstruction buildInstruction(@Nonnull DexBackedDexFile dexFile, @Nullable Opcode opcode, in buildInstruction() argument
76 if (opcode == null) { in buildInstruction()
79 switch (opcode.format) { in buildInstruction()
[all …]
/external/javassist/src/main/javassist/bytecode/analysis/
DUtil.java27 int opcode = iter.byteAt(pos); in getJumpTarget() local
28 … pos += (opcode == JSR_W || opcode == GOTO_W) ? iter.s32bitAt(pos + 1) : iter.s16bitAt(pos + 1); in getJumpTarget()
32 public static boolean isJumpInstruction(int opcode) { in isJumpInstruction() argument
33 …return (opcode >= IFEQ && opcode <= JSR) || opcode == IFNULL || opcode == IFNONNULL || opcode == J… in isJumpInstruction()
36 public static boolean isGoto(int opcode) { in isGoto() argument
37 return opcode == GOTO || opcode == GOTO_W; in isGoto()
40 public static boolean isJsr(int opcode) { in isJsr() argument
41 return opcode == JSR || opcode == JSR_W; in isJsr()
44 public static boolean isReturn(int opcode) { in isReturn() argument
45 return (opcode >= IRETURN && opcode <= RETURN); in isReturn()
/external/proguard/src/proguard/classfile/instruction/
DVariableInstruction.java52 public VariableInstruction(byte opcode) in VariableInstruction() argument
54 this(opcode, embeddedVariable(opcode), 0); in VariableInstruction()
58 public VariableInstruction(byte opcode, in VariableInstruction() argument
61 this(opcode, variableIndex, 0); in VariableInstruction()
65 public VariableInstruction(byte opcode, in VariableInstruction() argument
69 this.opcode = opcode; in VariableInstruction()
84 this.opcode = variableInstruction.opcode; in copy()
97 private static int embeddedVariable(byte opcode) in embeddedVariable() argument
99 switch (opcode) in embeddedVariable()
148 return opcode >= InstructionConstants.OP_ISTORE || in isStore()
[all …]
DSimpleInstruction.java47 public SimpleInstruction(byte opcode) in SimpleInstruction() argument
49 this(opcode, embeddedConstant(opcode)); in SimpleInstruction()
56 public SimpleInstruction(byte opcode, int constant) in SimpleInstruction() argument
58 this.opcode = opcode; in SimpleInstruction()
70 this.opcode = simpleInstruction.opcode; in copy()
81 private static int embeddedConstant(byte opcode) in embeddedConstant() argument
83 switch (opcode) in embeddedConstant()
111 switch (opcode) in canonicalOpcode()
133 default: return opcode; in canonicalOpcode()
141 switch (opcode) in shrink()
[all …]
DBranchInstruction.java44 public BranchInstruction(byte opcode, int branchOffset) in BranchInstruction() argument
46 this.opcode = opcode; in BranchInstruction()
58 this.opcode = branchInstruction.opcode; in copy()
70 switch (opcode) in canonicalOpcode()
76 default: return opcode; in canonicalOpcode()
86 if (opcode == InstructionConstants.OP_GOTO_W) in shrink()
88 opcode = InstructionConstants.OP_GOTO; in shrink()
90 else if (opcode == InstructionConstants.OP_JSR_W) in shrink()
92 opcode = InstructionConstants.OP_JSR; in shrink()
98 if (opcode == InstructionConstants.OP_GOTO) in shrink()
[all …]
DConstantInstruction.java58 public ConstantInstruction(byte opcode, int constantIndex) in ConstantInstruction() argument
60 this(opcode, constantIndex, 0); in ConstantInstruction()
68 public ConstantInstruction(byte opcode, int constantIndex, int constant) in ConstantInstruction() argument
70 this.opcode = opcode; in ConstantInstruction()
83 this.opcode = constantInstruction.opcode; in copy()
97 opcode == InstructionConstants.OP_LDC_W ? InstructionConstants.OP_LDC : in canonicalOpcode()
98 opcode; in canonicalOpcode()
107 if (opcode == InstructionConstants.OP_LDC_W) in shrink()
109 opcode = InstructionConstants.OP_LDC; in shrink()
115 if (opcode == InstructionConstants.OP_LDC) in shrink()
[all …]
/external/boringssl/src/crypto/perlasm/
Dx86_64-xlate.pl98 { package opcode; # pick up opcodes package
222 die if (opcode->mnemonic() ne "mov");
223 opcode->mnemonic("lea");
278 (opcode->mnemonic() =~ /^v?mov([qd])$/) && ($sz=$1) ||
279 (opcode->mnemonic() =~ /^v?pinsr([qdwb])$/) && ($sz=$1) ||
280 (opcode->mnemonic() =~ /^vpbroadcast([qdwb])$/) && ($sz=$1) ||
281 (opcode->mnemonic() =~ /^vinsert[fi]128$/) && ($sz="x");
421 if ($nasm && opcode->mnemonic()=~m/^j(?![re]cxz)/) {
434 my %opcode = # lea 2f-1f(%rip),%dst; 1: nop; 2:
453 $line=sprintf "0x%x,0x90000000",$opcode{$1};
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DInstructionFactory.java45 Instruction makeInstruction10t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction10t() argument
46 Instruction makeInstruction10x(@Nonnull Opcode opcode); in makeInstruction10x() argument
47 Instruction makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction11n() argument
48 Instruction makeInstruction11x(@Nonnull Opcode opcode, int registerA); in makeInstruction11x() argument
49 Instruction makeInstruction12x(@Nonnull Opcode opcode, int registerA, int registerB); in makeInstruction12x() argument
50 …Instruction makeInstruction20bc(@Nonnull Opcode opcode, int verificationError, @Nonnull Ref refere… in makeInstruction20bc() argument
51 Instruction makeInstruction20t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction20t() argument
52 Instruction makeInstruction21c(@Nonnull Opcode opcode, int registerA, @Nonnull Ref reference); in makeInstruction21c() argument
53 Instruction makeInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction21ih() argument
54 Instruction makeInstruction21lh(@Nonnull Opcode opcode, int registerA, long literal); in makeInstruction21lh() argument
[all …]
/external/tcpdump/
Dprint-zephyr.c47 char *opcode; member
144 z.opcode = 0; in zephyr_print()
174 PARSE_FIELD_STR(z.opcode); in zephyr_print()
204 if (!strcmp(z.opcode, "USER_HIDE")) in zephyr_print()
206 else if (!strcmp(z.opcode, "USER_UNHIDE")) in zephyr_print()
214 ND_PRINT((ndo, " zephyr-admin %s", str_to_lower(z.opcode))); in zephyr_print()
220 if (!strcmp(z.opcode, "SUBSCRIBE") || in zephyr_print()
221 !strcmp(z.opcode, "SUBSCRIBE_NODEFS") || in zephyr_print()
222 !strcmp(z.opcode, "UNSUBSCRIBE")) { in zephyr_print()
224 ND_PRINT((ndo, " %ssub%s", strcmp(z.opcode, "SUBSCRIBE") ? "un" : "", in zephyr_print()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430InstrFormats.td77 class IForm<bits<4> opcode, DestMode dest, bit bw, SourceMode src, SizeVal sz,
85 let Inst{12-15} = opcode;
92 class IForm8<bits<4> opcode, DestMode dest, SourceMode src, SizeVal sz,
94 : IForm<opcode, dest, 1, src, sz, outs, ins, asmstr, pattern>;
96 class I8rr<bits<4> opcode,
98 : IForm8<opcode, DstReg, SrcReg, Size2Bytes, outs, ins, asmstr, pattern>;
100 class I8ri<bits<4> opcode,
102 : IForm8<opcode, DstReg, SrcImm, Size4Bytes, outs, ins, asmstr, pattern>;
104 class I8rm<bits<4> opcode,
106 : IForm8<opcode, DstReg, SrcMem, Size4Bytes, outs, ins, asmstr, pattern>;
[all …]
/external/elfutils/tests/
Drun-readelf-line.sh63 [ 35] extended opcode 2: set address to 0x80482f0 <main>
66 [ 3f] special opcode 159: address+10 = 0x80482fa <main+0xa>, line+1 = 17
67 [ 40] special opcode 117: address+7 = 0x8048301 <main+0x11>, line+1 = 18
69 [ 43] special opcode 200: address+13 = 0x804830e <main+0x1e>, line+0 = 9
70 [ 44] special opcode 48: address+2 = 0x8048310 <main+0x20>, line+2 = 11
71 [ 45] special opcode 58: address+3 = 0x8048313 <main+0x23>, line-2 = 9
72 [ 46] special opcode 48: address+2 = 0x8048315 <main+0x25>, line+2 = 11
73 [ 47] special opcode 44: address+2 = 0x8048317 <main+0x27>, line-2 = 9
75 [ 4a] special opcode 46: address+2 = 0x8048319 <main+0x29>, line+0 = 22
77 [ 4d] special opcode 60: address+3 = 0x804831c <main+0x2c>, line+0 = 9
[all …]
/external/v8/src/compiler/
Doperator-properties.cc17 IrOpcode::Value opcode = static_cast<IrOpcode::Value>(op->opcode()); in HasContextInput() local
18 return IrOpcode::IsJsOpcode(opcode); in HasContextInput()
24 switch (op->opcode()) { in GetFrameStateInputCount()
126 Operator::Opcode const opcode = op->opcode(); in IsBasicBlockBegin() local
127 return opcode == IrOpcode::kStart || opcode == IrOpcode::kEnd || in IsBasicBlockBegin()
128 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || in IsBasicBlockBegin()
129 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || in IsBasicBlockBegin()
130 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || in IsBasicBlockBegin()
131 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || in IsBasicBlockBegin()
132 opcode == IrOpcode::kIfDefault; in IsBasicBlockBegin()
Dcommon-operator-reducer.cc25 switch (cond->opcode()) { in DecideCondition()
57 switch (node->opcode()) { in Reduce()
80 DCHECK_EQ(IrOpcode::kBranch, node->opcode()); in ReduceBranch()
86 if (cond->opcode() == IrOpcode::kBooleanNot) { in ReduceBranch()
88 switch (use->opcode()) { in ReduceBranch()
112 switch (use->opcode()) { in ReduceBranch()
128 DCHECK_EQ(IrOpcode::kMerge, node->opcode()); in ReduceMerge()
140 if (IrOpcode::IsPhiOpcode(use->opcode())) return NoChange(); in ReduceMerge()
144 if (if_true->opcode() != IrOpcode::kIfTrue) std::swap(if_true, if_false); in ReduceMerge()
145 if (if_true->opcode() == IrOpcode::kIfTrue && in ReduceMerge()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_debug_fp.c258 unsigned opcode, const unsigned * program) in print_arith_op() argument
260 if (opcode != A0_NOP) { in print_arith_op()
268 PRINTF(stream, "%s ", opcodes[opcode]); in print_arith_op()
271 if (args[opcode] == 1) { in print_arith_op()
278 if (args[opcode] == 2) { in print_arith_op()
292 unsigned opcode, const unsigned * program) in print_tex_op() argument
297 PRINTF(stream, "%s ", opcodes[opcode]); in print_tex_op()
310 unsigned opcode, const unsigned * program) in print_texkil_op() argument
323 unsigned opcode, const unsigned * program) in print_dcl_op() argument
325 PRINTF(stream, "%s ", opcodes[opcode]); in print_dcl_op()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_debug_fp.c242 print_arith_op(GLuint opcode, const GLuint * program) in print_arith_op() argument
244 if (opcode != A0_NOP) { in print_arith_op()
252 printf("%s ", opcodes[opcode]); in print_arith_op()
255 if (args[opcode] == 1) { in print_arith_op()
262 if (args[opcode] == 2) { in print_arith_op()
275 print_tex_op(GLuint opcode, const GLuint * program) in print_tex_op() argument
280 printf("%s ", opcodes[opcode]); in print_tex_op()
291 print_dcl_op(GLuint opcode, const GLuint * program) in print_dcl_op() argument
293 printf("%s ", opcodes[opcode]); in print_dcl_op()
311 GLuint opcode = program[0] & (0x1f << 24); in i915_disassemble_program() local
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCInstrFormats.td14 class I<bits<6> opcode, dag OOL, dag IOL, string asmstr, InstrItinClass itin>
23 let Inst{0-5} = opcode;
103 class IForm<bits<6> opcode, bit aa, bit lk, dag OOL, dag IOL, string asmstr,
105 : I<opcode, OOL, IOL, asmstr, itin> {
115 class BForm<bits<6> opcode, bit aa, bit lk, dag OOL, dag IOL, string asmstr>
116 : I<opcode, OOL, IOL, asmstr, IIC_BrB> {
132 class BForm_1<bits<6> opcode, bits<5> bo, bit aa, bit lk, dag OOL, dag IOL,
134 : BForm<opcode, aa, lk, OOL, IOL, asmstr> {
140 class BForm_2<bits<6> opcode, bits<5> bo, bits<5> bi, bit aa, bit lk,
142 : I<opcode, OOL, IOL, asmstr, IIC_BrB> {
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
DMethodVisitorTee.java61 public void visitInsn(int opcode) { in visitInsn() argument
62 mv1.visitInsn(opcode); in visitInsn()
63 mv2.visitInsn(opcode); in visitInsn()
66 public void visitIntInsn(int opcode, int operand) { in visitIntInsn() argument
67 mv1.visitIntInsn(opcode, operand); in visitIntInsn()
68 mv2.visitIntInsn(opcode, operand); in visitIntInsn()
71 public void visitVarInsn(int opcode, int var) { in visitVarInsn() argument
72 mv1.visitVarInsn(opcode, var); in visitVarInsn()
73 mv2.visitVarInsn(opcode, var); in visitVarInsn()
76 public void visitTypeInsn(int opcode, String desc) { in visitTypeInsn() argument
[all …]
/external/javassist/src/main/javassist/expr/
DNewArray.java30 int opcode; field in NewArray
35 opcode = op; in NewArray()
80 if (opcode == Opcode.NEWARRAY) { in getComponentType()
84 else if (opcode == Opcode.ANEWARRAY in getComponentType()
85 || opcode == Opcode.MULTIANEWARRAY) { in getComponentType()
93 throw new RuntimeException("bad opcode: " + opcode); in getComponentType()
123 if (opcode == Opcode.NEWARRAY) in getDimension()
125 else if (opcode == Opcode.ANEWARRAY in getDimension()
126 || opcode == Opcode.MULTIANEWARRAY) { in getDimension()
130 + (opcode == Opcode.ANEWARRAY ? 1 : 0); in getDimension()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRop.java53 private final int opcode; field in Rop
94 public Rop(int opcode, Type result, TypeList sources, in Rop() argument
118 this.opcode = opcode; in Rop()
141 public Rop(int opcode, Type result, TypeList sources, in Rop() argument
143 this(opcode, result, sources, exceptions, branchingness, false, in Rop()
159 public Rop(int opcode, Type result, TypeList sources, int branchingness, in Rop() argument
161 this(opcode, result, sources, StdTypeList.EMPTY, branchingness, false, in Rop()
176 public Rop(int opcode, Type result, TypeList sources, String nickname) { in Rop() argument
177 this(opcode, result, sources, StdTypeList.EMPTY, Rop.BRANCH_NONE, in Rop()
194 public Rop(int opcode, Type result, TypeList sources, TypeList exceptions, in Rop() argument
[all …]
/external/mesa3d/src/mesa/program/
Dprog_instruction.c257 _mesa_num_inst_src_regs(gl_inst_opcode opcode) in _mesa_num_inst_src_regs() argument
259 ASSERT(opcode < MAX_OPCODE); in _mesa_num_inst_src_regs()
260 ASSERT(opcode == InstInfo[opcode].Opcode); in _mesa_num_inst_src_regs()
262 return InstInfo[opcode].NumSrcRegs; in _mesa_num_inst_src_regs()
270 _mesa_num_inst_dst_regs(gl_inst_opcode opcode) in _mesa_num_inst_dst_regs() argument
272 ASSERT(opcode < MAX_OPCODE); in _mesa_num_inst_dst_regs()
273 ASSERT(opcode == InstInfo[opcode].Opcode); in _mesa_num_inst_dst_regs()
275 return InstInfo[opcode].NumDstRegs; in _mesa_num_inst_dst_regs()
280 _mesa_is_tex_instruction(gl_inst_opcode opcode) in _mesa_is_tex_instruction() argument
282 return (opcode == OPCODE_TEX || in _mesa_is_tex_instruction()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/
DDuplicateFrameEliminator.java44 public void visitInsn(final int opcode) { in visitInsn() argument
46 mv.visitInsn(opcode); in visitInsn()
50 public void visitIntInsn(final int opcode, final int operand) { in visitIntInsn() argument
52 mv.visitIntInsn(opcode, operand); in visitIntInsn()
56 public void visitVarInsn(final int opcode, final int var) { in visitVarInsn() argument
58 mv.visitVarInsn(opcode, var); in visitVarInsn()
62 public void visitTypeInsn(final int opcode, final String type) { in visitTypeInsn() argument
64 mv.visitTypeInsn(opcode, type); in visitTypeInsn()
68 public void visitFieldInsn(final int opcode, final String owner, in visitFieldInsn() argument
71 mv.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn()
[all …]
/external/kernel-headers/original/uapi/asm-mips/asm/
Dinst.h537 __BITFIELD_FIELD(unsigned int opcode : 6, /* Jump format */
543 __BITFIELD_FIELD(unsigned int opcode : 6,
551 __BITFIELD_FIELD(unsigned int opcode : 6,
559 __BITFIELD_FIELD(unsigned int opcode : 6,
568 __BITFIELD_FIELD(unsigned int opcode : 6,
578 __BITFIELD_FIELD(unsigned int opcode : 6,
588 __BITFIELD_FIELD(unsigned int opcode : 6,
599 __BITFIELD_FIELD(unsigned int opcode : 6,
610 __BITFIELD_FIELD(unsigned int opcode : 6,
617 __BITFIELD_FIELD(unsigned int opcode : 6,
[all …]
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
DInstructionCodec.java48 int opcode = byte0(opcodeUnit); in FORMAT_10X() local
51 this, opcode, 0, null, in FORMAT_10X()
63 int opcode = byte0(opcodeUnit); in FORMAT_12X() local
67 this, opcode, 0, null, in FORMAT_12X()
82 int opcode = byte0(opcodeUnit); in FORMAT_11N() local
86 this, opcode, 0, null, in FORMAT_11N()
101 int opcode = byte0(opcodeUnit); in FORMAT_11X() local
104 this, opcode, 0, null, in FORMAT_11X()
118 int opcode = byte0(opcodeUnit); in FORMAT_10T() local
121 this, opcode, 0, null, in FORMAT_10T()
[all …]
/external/proguard/src/proguard/classfile/attribute/visitor/
DStackSizeComputer.java164 byte opcode = simpleInstruction.opcode; in visitSimpleInstruction()
168 opcode == InstructionConstants.OP_IRETURN || in visitSimpleInstruction()
169 opcode == InstructionConstants.OP_LRETURN || in visitSimpleInstruction()
170 opcode == InstructionConstants.OP_FRETURN || in visitSimpleInstruction()
171 opcode == InstructionConstants.OP_DRETURN || in visitSimpleInstruction()
172 opcode == InstructionConstants.OP_ARETURN || in visitSimpleInstruction()
173 opcode == InstructionConstants.OP_RETURN || in visitSimpleInstruction()
174 opcode == InstructionConstants.OP_ATHROW; in visitSimpleInstruction()
185 byte opcode = variableInstruction.opcode; in visitVariableInstruction()
189 opcode == InstructionConstants.OP_RET; in visitVariableInstruction()
[all …]

12345678910>>...40