Home
last modified time | relevance | path

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

12345678910>>...40

/external/lldb/source/Plugins/Instruction/ARM/
DEmulateInstructionARM.h183 ConditionPassed (const uint32_t opcode,
188 CurrentCond (const uint32_t opcode);
362 …bool (EmulateInstructionARM::*callback) (const uint32_t opcode, const EmulateInstructionARM::ARMEn…
373 GetARMOpcodeForInstruction (const uint32_t opcode, uint32_t isa_mask);
376 GetThumbOpcodeForInstruction (const uint32_t opcode, uint32_t isa_mask);
380 EmulatePUSH (const uint32_t opcode, const ARMEncoding encoding);
384 EmulatePOP (const uint32_t opcode, const ARMEncoding encoding);
388 EmulateADDRdSPImm (const uint32_t opcode, const ARMEncoding encoding);
392 EmulateMOVRdSP (const uint32_t opcode, const ARMEncoding encoding);
396 EmulateMOVLowHigh (const uint32_t opcode, const ARMEncoding encoding);
[all …]
DEmulateInstructionARM.cpp329 EmulateInstructionARM::EmulatePUSH (const uint32_t opcode, const ARMEncoding encoding) in EmulatePUSH() argument
360 if (ConditionPassed(opcode, &conditional)) in EmulatePUSH()
370 registers = Bits32(opcode, 7, 0); in EmulatePUSH()
372 if (Bit32(opcode, 8)) in EmulatePUSH()
380 registers = Bits32(opcode, 15, 0) & ~0xa000; in EmulatePUSH()
386 Rt = Bits32(opcode, 15, 12); in EmulatePUSH()
393 registers = Bits32(opcode, 15, 0); in EmulatePUSH()
399 Rt = Bits32(opcode, 15, 12); in EmulatePUSH()
459 EmulateInstructionARM::EmulatePOP (const uint32_t opcode, const ARMEncoding encoding) in EmulatePOP() argument
483 if (ConditionPassed(opcode, &conditional)) in EmulatePOP()
[all …]
/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.pl103 { package opcode; # pick up opcodes package
227 die if (opcode->mnemonic() ne "mov");
228 opcode->mnemonic("lea");
283 (opcode->mnemonic() =~ /^v?mov([qd])$/) && ($sz=$1) ||
284 (opcode->mnemonic() =~ /^v?pinsr([qdwb])$/) && ($sz=$1) ||
285 (opcode->mnemonic() =~ /^vpbroadcast([qdwb])$/) && ($sz=$1) ||
286 (opcode->mnemonic() =~ /^vinsert[fi]128$/) && ($sz="x");
426 if ($nasm && opcode->mnemonic()=~m/^j(?![re]cxz)/) {
439 my %opcode = # lea 2f-1f(%rip),%dst; 1: nop; 2:
458 $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.c51 char *opcode; member
148 z.opcode = 0; in zephyr_print()
178 PARSE_FIELD_STR(z.opcode); in zephyr_print()
208 if (!strcmp(z.opcode, "USER_HIDE")) in zephyr_print()
210 else if (!strcmp(z.opcode, "USER_UNHIDE")) in zephyr_print()
218 printf(" zephyr-admin %s", str_to_lower(z.opcode)); in zephyr_print()
224 if (!strcmp(z.opcode, "SUBSCRIBE") || in zephyr_print()
225 !strcmp(z.opcode, "SUBSCRIBE_NODEFS") || in zephyr_print()
226 !strcmp(z.opcode, "UNSUBSCRIBE")) { in zephyr_print()
228 printf(" %ssub%s", strcmp(z.opcode, "SUBSCRIBE") ? "un" : "", in zephyr_print()
[all …]
/external/v8/src/compiler/
Doperator-properties-inl.h22 IrOpcode::Value opcode = static_cast<IrOpcode::Value>(op->opcode()); in HasContextInput() local
23 return IrOpcode::IsJsOpcode(opcode); in HasContextInput()
39 switch (op->opcode()) { in HasFrameStateInput()
100 if (op->opcode() == IrOpcode::kEffectPhi || in GetEffectInputCount()
101 op->opcode() == IrOpcode::kFinish) { in GetEffectInputCount()
110 switch (op->opcode()) { in GetControlInputCount()
145 return op->opcode() == IrOpcode::kStart || in HasEffectOutput()
146 op->opcode() == IrOpcode::kControlEffect || in HasEffectOutput()
147 op->opcode() == IrOpcode::kValueEffect || in HasEffectOutput()
148 (op->opcode() != IrOpcode::kFinish && GetEffectInputCount(op) > 0); in HasEffectOutput()
[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/src/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/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/lldb/source/Plugins/Process/Utility/
DARMUtils.h60 static inline uint32_t DecodeImmShiftThumb(const uint32_t opcode, ARM_ShifterType &shift_t) in DecodeImmShiftThumb() argument
62 …return DecodeImmShift(Bits32(opcode, 5, 4), Bits32(opcode, 14, 12)<<2 | Bits32(opcode, 7, 6), shif… in DecodeImmShiftThumb()
67 static inline uint32_t DecodeImmShiftARM(const uint32_t opcode, ARM_ShifterType &shift_t) in DecodeImmShiftARM() argument
69 return DecodeImmShift(Bits32(opcode, 6, 5), Bits32(opcode, 11, 7), shift_t); in DecodeImmShiftARM()
290 static inline uint32_t ARMExpandImm_C(uint32_t opcode, uint32_t carry_in, uint32_t &carry_out) in ARMExpandImm_C() argument
293 uint32_t imm = bits(opcode, 7, 0); // immediate value in ARMExpandImm_C()
294 uint32_t amt = 2 * bits(opcode, 11, 8); // rotate amount in ARMExpandImm_C()
308 static inline uint32_t ARMExpandImm(uint32_t opcode) in ARMExpandImm() argument
313 return ARMExpandImm_C(opcode, carry_in, carry_out); in ARMExpandImm()
317 static inline uint32_t ThumbExpandImm_C(uint32_t opcode, uint32_t carry_in, uint32_t &carry_out) in ThumbExpandImm_C() argument
[all …]
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc31 switch (node->opcode()) { in CanBeImmediate()
40 switch (node->opcode()) { in CanBeImmediate64()
65 ArchOpcode opcode; in VisitLoad() local
69 opcode = kX64Movss; in VisitLoad()
72 opcode = kX64Movsd; in VisitLoad()
76 opcode = typ == kTypeInt32 ? kX64Movsxbl : kX64Movzxbl; in VisitLoad()
79 opcode = typ == kTypeInt32 ? kX64Movsxwl : kX64Movzxwl; in VisitLoad()
82 opcode = kX64Movl; in VisitLoad()
86 opcode = kX64Movq; in VisitLoad()
94 Emit(opcode | AddressingModeField::encode(kMode_MRI), in VisitLoad()
[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/v8/src/compiler/ia32/
Dinstruction-selector-ia32.cc25 switch (node->opcode()) { in CanBeImmediate()
50 ArchOpcode opcode; in VisitLoad() local
54 opcode = kIA32Movss; in VisitLoad()
57 opcode = kIA32Movsd; in VisitLoad()
61 opcode = typ == kTypeInt32 ? kIA32Movsxbl : kIA32Movzxbl; in VisitLoad()
64 opcode = typ == kTypeInt32 ? kIA32Movsxwl : kIA32Movzxwl; in VisitLoad()
68 opcode = kIA32Movl; in VisitLoad()
76 Emit(opcode | AddressingModeField::encode(kMode_MI), in VisitLoad()
79 Emit(opcode | AddressingModeField::encode(kMode_MRI), in VisitLoad()
84 Emit(opcode | AddressingModeField::encode(kMode_MRI), in VisitLoad()
[all …]

12345678910>>...40