Home
last modified time | relevance | path

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

12345678910>>...41

/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/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/v8/src/wasm/
Dwasm-opcodes.cc15 const char* WasmOpcodes::OpcodeName(WasmOpcode opcode) { in OpcodeName() argument
16 switch (opcode) { in OpcodeName()
17 #define DECLARE_NAME_CASE(name, opcode, sig) \ in OpcodeName() argument
28 const char* WasmOpcodes::ShortOpcodeName(WasmOpcode opcode) { in ShortOpcodeName() argument
29 switch (opcode) { in ShortOpcodeName()
30 #define DECLARE_NAME_CASE(name, opcode, sig) \ in ShortOpcodeName() argument
41 bool WasmOpcodes::IsPrefixOpcode(WasmOpcode opcode) { in IsPrefixOpcode() argument
42 switch (opcode) { in IsPrefixOpcode()
43 #define CHECK_PREFIX(name, opcode) \ in IsPrefixOpcode() argument
95 #define SET_SIG_TABLE(name, opcode, sig) \ in InitSigTables() argument
[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/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/boringssl/src/crypto/perlasm/
Dx86_64-xlate.pl103 { package opcode; # pick up opcodes package
240 die if ($opcode->mnemonic() ne "mov");
241 $opcode->mnemonic("lea");
245 $self->{opcode} = $opcode;
301 my $mnemonic = $self->{opcode}->mnemonic();
328 my ($class, $line, $opcode) = @_;
338 $opcode->size($self->size());
437 my ($class, $line, $opcode) = @_;
450 $self->{opcode} = $opcode;
456 if ($nasm && $self->{opcode}->mnemonic()=~m/^j(?![re]cxz)/) {
[all …]
/external/v8/tools/turbolizer/
Dnode.js20 return this.opcode == 'Parameter' || this.opcode.endsWith('Constant');
26 return this.opcode.startsWith('JS');
30 return this.opcode.endsWith('Phi') ||
31 this.opcode.startsWith('Boolean') ||
32 this.opcode.startsWith('Number') ||
33 this.opcode.startsWith('String') ||
34 this.opcode.startsWith('Change') ||
35 this.opcode.startsWith('Object') ||
36 this.opcode.startsWith('Reference') ||
37 this.opcode.startsWith('Any') ||
[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/swiftshader/third_party/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/swiftshader/src/Shader/
DShader.cpp115 Shader::Instruction::Instruction(Opcode opcode) : opcode(opcode), analysis(0) in Instruction() argument
137 if(opcode == OPCODE_IF || in Instruction()
138 opcode == OPCODE_IFC || in Instruction()
139 opcode == OPCODE_LOOP || in Instruction()
140 opcode == OPCODE_REP || in Instruction()
141 opcode == OPCODE_BREAKC || in Instruction()
142 opcode == OPCODE_BREAKP) // No destination operand in Instruction()
149 else if(opcode == OPCODE_DCL) in Instruction()
205 if(opcode != OPCODE_DCL) in string()
520 opcode = (Opcode)token; in parseOperationToken()
[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/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 HasFrameStateInput()
121 Operator::Opcode const opcode = op->opcode(); in IsBasicBlockBegin() local
122 return opcode == IrOpcode::kStart || opcode == IrOpcode::kEnd || in IsBasicBlockBegin()
123 opcode == IrOpcode::kDead || opcode == IrOpcode::kLoop || in IsBasicBlockBegin()
124 opcode == IrOpcode::kMerge || opcode == IrOpcode::kIfTrue || in IsBasicBlockBegin()
125 opcode == IrOpcode::kIfFalse || opcode == IrOpcode::kIfSuccess || in IsBasicBlockBegin()
126 opcode == IrOpcode::kIfException || opcode == IrOpcode::kIfValue || in IsBasicBlockBegin()
127 opcode == IrOpcode::kIfDefault; in IsBasicBlockBegin()
Dcommon-operator-reducer.cc23 switch (cond->opcode()) { in DecideCondition()
51 switch (node->opcode()) { in Reduce()
75 DCHECK_EQ(IrOpcode::kBranch, node->opcode()); in ReduceBranch()
82 if (cond->opcode() == IrOpcode::kBooleanNot || in ReduceBranch()
83 (cond->opcode() == IrOpcode::kSelect && in ReduceBranch()
87 switch (use->opcode()) { in ReduceBranch()
111 switch (use->opcode()) { in ReduceBranch()
126 DCHECK(node->opcode() == IrOpcode::kDeoptimizeIf || in ReduceDeoptimizeConditional()
127 node->opcode() == IrOpcode::kDeoptimizeUnless); in ReduceDeoptimizeConditional()
128 bool condition_is_true = node->opcode() == IrOpcode::kDeoptimizeUnless; in ReduceDeoptimizeConditional()
[all …]
/external/v8/src/x64/
Ddisasm-x64.cc471 const char* TwoByteMnemonic(byte opcode);
882 byte opcode = *data; in AVXInstruction() local
887 switch (opcode) { in AVXInstruction()
955 opcode) \ in AVXInstruction() argument
956 case 0x##opcode: { \ in AVXInstruction()
972 switch (opcode) { in AVXInstruction()
1018 switch (opcode) { in AVXInstruction()
1085 switch (opcode) { in AVXInstruction()
1167 switch (opcode) { in AVXInstruction()
1210 switch (opcode) { in AVXInstruction()
[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/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCInstrFormats.td14 class I<bits<6> opcode, dag OOL, dag IOL, string asmstr, InstrItinClass itin>
21 let Inst{0-5} = opcode;
56 class IForm<bits<6> opcode, bit aa, bit lk, dag OOL, dag IOL, string asmstr,
58 : I<opcode, OOL, IOL, asmstr, itin> {
68 class BForm<bits<6> opcode, bit aa, bit lk, dag OOL, dag IOL, string asmstr>
69 : I<opcode, OOL, IOL, asmstr, BrB> {
87 class DForm_base<bits<6> opcode, dag OOL, dag IOL, string asmstr,
89 : I<opcode, OOL, IOL, asmstr, itin> {
101 class DForm_1<bits<6> opcode, dag OOL, dag IOL, string asmstr,
103 : I<opcode, OOL, IOL, asmstr, itin> {
[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/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/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUInstrFormats.td29 class RRForm<bits<11> opcode, dag OOL, dag IOL, string asmstr,
38 let Inst{0-10} = opcode;
46 class RRForm_1<bits<11> opcode, dag OOL, dag IOL, string asmstr,
48 : RRForm<opcode, OOL, IOL, asmstr, itin, pattern>
54 class RRForm_2<bits<11> opcode, dag OOL, dag IOL, string asmstr,
56 : RRForm<opcode, OOL, IOL, asmstr, itin, pattern>
64 class RRForm_3<bits<11> opcode, dag OOL, dag IOL, string asmstr,
66 : RRForm<opcode, OOL, IOL, asmstr, itin, pattern>
71 class RRRForm<bits<4> opcode, dag OOL, dag IOL, string asmstr,
82 let Inst{0-3} = opcode;
[all …]

12345678910>>...41