Home
last modified time | relevance | path

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

12345678910>>...51

/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/chromium_org/sandbox/win/src/
Dpolicy_engine_opcodes.cc44 EvalResult OpcodeEval(PolicyOpcode* opcode, const ParameterSet* pp,
56 EvalResult OpcodeEval<OP_ALWAYS_FALSE>(PolicyOpcode* opcode, in OpcodeEval() argument
59 UNREFERENCED_PARAMETER(opcode); in OpcodeEval()
74 EvalResult OpcodeEval<OP_ALWAYS_TRUE>(PolicyOpcode* opcode, in OpcodeEval() argument
77 UNREFERENCED_PARAMETER(opcode); in OpcodeEval()
90 PolicyOpcode* opcode = MakeBase(OP_ACTION, options, 0); in MakeOpAction() local
91 if (NULL == opcode) return NULL; in MakeOpAction()
92 opcode->SetArgument(0, action); in MakeOpAction()
93 return opcode; in MakeOpAction()
97 EvalResult OpcodeEval<OP_ACTION>(PolicyOpcode* opcode, in OpcodeEval() argument
[all …]
/external/chromium_org/sdch/open-vcdiff/src/
Dinstruction_map.cc90 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { in ~SecondInstructionMap() local
91 if (second_opcodes_[opcode] != NULL) { in ~SecondInstructionMap()
96 delete[] second_opcodes_[opcode][inst_mode]; in ~SecondInstructionMap()
98 delete[] second_opcodes_[opcode]; in ~SecondInstructionMap()
159 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { in VCDiffInstructionMap() local
160 if (code_table_data.inst2[opcode] == VCD_NOOP) { in VCDiffInstructionMap()
164 first_instruction_map_.Add(code_table_data.inst1[opcode], in VCDiffInstructionMap()
165 code_table_data.size1[opcode], in VCDiffInstructionMap()
166 code_table_data.mode1[opcode], in VCDiffInstructionMap()
167 opcode); in VCDiffInstructionMap()
[all …]
Ddecodetable_test.cc47 int opcode) { in AddExerciseOpcode() argument
48 g_exercise_code_table_->inst1[opcode] = inst1; in AddExerciseOpcode()
49 g_exercise_code_table_->mode1[opcode] = mode1; in AddExerciseOpcode()
50 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1; in AddExerciseOpcode()
51 g_exercise_code_table_->inst2[opcode] = inst2; in AddExerciseOpcode()
52 g_exercise_code_table_->mode2[opcode] = mode2; in AddExerciseOpcode()
53 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2; in AddExerciseOpcode()
58 int opcode = 0; in SetUpTestCase() local
77 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 0, opcode++); in SetUpTestCase()
78 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 255, opcode++); in SetUpTestCase()
[all …]
/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 …]
/external/chromium_org/third_party/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/chromium_org/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/openssl/crypto/perlasm/
Dx86_64-xlate.pl103 { package opcode; # pick up opcodes package
227 die if (opcode->mnemonic() ne "mov");
228 opcode->mnemonic("lea");
274 $sz="q" if ($self->{asterisk} || opcode->mnemonic() eq "movq");
275 $sz="l" if (opcode->mnemonic() eq "movd");
415 if ($nasm && opcode->mnemonic()=~m/^j/) {
428 my %opcode = # lea 2f-1f(%rip),%dst; 1: nop; 2:
447 $line=sprintf "0x%x,0x90000000",$opcode{$1};
653 local *opcode=shift;
658 push @opcode,($rex|0x40) if ($rex);
[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/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/
Dgen_x86_insn.py259 self.opcode = kwargs.pop("opcode")
260 self.opcode_len = len(self.opcode)
316 opcodes_str = ["0x%02X" % x for x in self.opcode]
654 add_group("empty", opcode=[], operands=[])
659 add_group("not64", opcode=[], operands=[], not64=True)
666 opcode=[0x00],
675 opcode=[0x00],
685 opcode=[0x00, 0x00],
693 opcode=[0x00, 0x00, 0x00],
703 opcode=[0x00],
[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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/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 …]

12345678910>>...51