Home
last modified time | relevance | path

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

12345678910>>...80

/external/deqp-deps/SPIRV-Tools/source/opt/
Dreflect.h27 inline bool IsDebug1Inst(SpvOp opcode) { in IsDebug1Inst() argument
28 return (opcode >= SpvOpSourceContinued && opcode <= SpvOpSourceExtension) || in IsDebug1Inst()
29 opcode == SpvOpString; in IsDebug1Inst()
31 inline bool IsDebug2Inst(SpvOp opcode) { in IsDebug2Inst() argument
32 return opcode == SpvOpName || opcode == SpvOpMemberName; in IsDebug2Inst()
34 inline bool IsDebug3Inst(SpvOp opcode) { in IsDebug3Inst() argument
35 return opcode == SpvOpModuleProcessed; in IsDebug3Inst()
37 inline bool IsDebugLineInst(SpvOp opcode) { in IsDebugLineInst() argument
38 return opcode == SpvOpLine || opcode == SpvOpNoLine; in IsDebugLineInst()
40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst() argument
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dreflect.h27 inline bool IsDebug1Inst(SpvOp opcode) { in IsDebug1Inst() argument
28 return (opcode >= SpvOpSourceContinued && opcode <= SpvOpSourceExtension) || in IsDebug1Inst()
29 opcode == SpvOpString; in IsDebug1Inst()
31 inline bool IsDebug2Inst(SpvOp opcode) { in IsDebug2Inst() argument
32 return opcode == SpvOpName || opcode == SpvOpMemberName; in IsDebug2Inst()
34 inline bool IsDebug3Inst(SpvOp opcode) { in IsDebug3Inst() argument
35 return opcode == SpvOpModuleProcessed; in IsDebug3Inst()
37 inline bool IsDebugLineInst(SpvOp opcode) { in IsDebugLineInst() argument
38 return opcode == SpvOpLine || opcode == SpvOpNoLine; in IsDebugLineInst()
40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst() argument
[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/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/swiftshader/third_party/SPIRV-Tools/source/
Dopcode.cpp65 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument
66 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
125 const SpvOp opcode, in spvOpcodeTableValueLookup() argument
133 spv_opcode_desc_t needle = {"", opcode, 0, nullptr, 0, {}, in spvOpcodeTableValueLookup()
137 return lhs.opcode < rhs.opcode; in spvOpcodeTableValueLookup()
146 it != end && it->opcode == opcode; ++it) { in spvOpcodeTableValueLookup()
165 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy() argument
168 pInst->opcode = opcode; in spvInstructionCopy()
176 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy()
182 const char* spvOpcodeString(const SpvOp opcode) { in spvOpcodeString() argument
[all …]
Dopcode.h32 uint32_t spvOpcodeMake(uint16_t word_count, SpvOp opcode);
36 uint16_t* opcode);
48 const SpvOp opcode,
55 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode,
60 const char* spvOpcodeString(const SpvOp opcode);
64 int32_t spvOpcodeIsScalarType(const SpvOp opcode);
68 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode);
72 int32_t spvOpcodeIsConstant(const SpvOp opcode);
75 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode);
78 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode);
[all …]
/external/deqp-deps/SPIRV-Tools/source/
Dopcode.cpp65 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument
66 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
125 const SpvOp opcode, in spvOpcodeTableValueLookup() argument
133 spv_opcode_desc_t needle = {"", opcode, 0, nullptr, 0, {}, in spvOpcodeTableValueLookup()
137 return lhs.opcode < rhs.opcode; in spvOpcodeTableValueLookup()
146 it != end && it->opcode == opcode; ++it) { in spvOpcodeTableValueLookup()
165 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy() argument
168 pInst->opcode = opcode; in spvInstructionCopy()
176 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy()
182 const char* spvOpcodeString(const SpvOp opcode) { in spvOpcodeString() argument
[all …]
Dopcode.h32 uint32_t spvOpcodeMake(uint16_t word_count, SpvOp opcode);
36 uint16_t* opcode);
48 const SpvOp opcode,
55 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode,
60 const char* spvOpcodeString(const SpvOp opcode);
64 int32_t spvOpcodeIsScalarType(const SpvOp opcode);
68 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode);
72 int32_t spvOpcodeIsConstant(const SpvOp opcode);
75 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode);
78 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode);
[all …]
/external/elfutils/tests/
Drun-readelf-line.sh65 [ 35] extended opcode 2: set address to 0x80482f0 <main>
68 [ 3f] special opcode 159: address+10 = 0x80482fa <main+0xa>, line+1 = 17
69 [ 40] special opcode 117: address+7 = 0x8048301 <main+0x11>, line+1 = 18
71 [ 43] special opcode 200: address+13 = 0x804830e <main+0x1e>, line+0 = 9
72 [ 44] special opcode 48: address+2 = 0x8048310 <main+0x20>, line+2 = 11
73 [ 45] special opcode 58: address+3 = 0x8048313 <main+0x23>, line-2 = 9
74 [ 46] special opcode 48: address+2 = 0x8048315 <main+0x25>, line+2 = 11
75 [ 47] special opcode 44: address+2 = 0x8048317 <main+0x27>, line-2 = 9
77 [ 4a] special opcode 46: address+2 = 0x8048319 <main+0x29>, line+0 = 22
79 [ 4d] special opcode 60: address+3 = 0x804831c <main+0x2c>, line+0 = 9
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_atomics.cpp33 const SpvOp opcode = inst->opcode(); in AtomicsPass() local
36 switch (opcode) { in AtomicsPass()
56 (opcode == SpvOpAtomicLoad || opcode == SpvOpAtomicExchange || in AtomicsPass()
57 opcode == SpvOpAtomicCompareExchange)) { in AtomicsPass()
61 << spvOpcodeString(opcode) in AtomicsPass()
64 } else if (opcode == SpvOpAtomicFlagTestAndSet) { in AtomicsPass()
67 << spvOpcodeString(opcode) in AtomicsPass()
70 } else if (opcode == SpvOpAtomicFlagClear || opcode == SpvOpAtomicStore) { in AtomicsPass()
75 << spvOpcodeString(opcode) in AtomicsPass()
80 switch (opcode) { in AtomicsPass()
[all …]
Dvalidate_conversion.cpp29 const SpvOp opcode = inst->opcode(); in ConversionPass() local
32 switch (opcode) { in ConversionPass()
38 << spvOpcodeString(opcode); in ConversionPass()
45 << spvOpcodeString(opcode); in ConversionPass()
50 << spvOpcodeString(opcode); in ConversionPass()
55 << spvOpcodeString(opcode); in ConversionPass()
64 << spvOpcodeString(opcode); in ConversionPass()
71 << spvOpcodeString(opcode); in ConversionPass()
76 << spvOpcodeString(opcode); in ConversionPass()
81 << spvOpcodeString(opcode); in ConversionPass()
[all …]
Dvalidate_arithmetics.cpp31 const SpvOp opcode = inst->opcode(); in ArithmeticsPass() local
34 switch (opcode) { in ArithmeticsPass()
46 << spvOpcodeString(opcode); in ArithmeticsPass()
53 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
65 << spvOpcodeString(opcode); in ArithmeticsPass()
72 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
88 << spvOpcodeString(opcode); in ArithmeticsPass()
100 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
106 << "as Result Type: " << spvOpcodeString(opcode) in ArithmeticsPass()
112 << "as Result Type: " << spvOpcodeString(opcode) in ArithmeticsPass()
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_atomics.cpp33 const SpvOp opcode = inst->opcode(); in AtomicsPass() local
36 switch (opcode) { in AtomicsPass()
56 (opcode == SpvOpAtomicLoad || opcode == SpvOpAtomicExchange || in AtomicsPass()
57 opcode == SpvOpAtomicCompareExchange)) { in AtomicsPass()
61 << spvOpcodeString(opcode) in AtomicsPass()
64 } else if (opcode == SpvOpAtomicFlagTestAndSet) { in AtomicsPass()
67 << spvOpcodeString(opcode) in AtomicsPass()
70 } else if (opcode == SpvOpAtomicFlagClear || opcode == SpvOpAtomicStore) { in AtomicsPass()
75 << spvOpcodeString(opcode) in AtomicsPass()
80 switch (opcode) { in AtomicsPass()
[all …]
Dvalidate_conversion.cpp29 const SpvOp opcode = inst->opcode(); in ConversionPass() local
32 switch (opcode) { in ConversionPass()
38 << spvOpcodeString(opcode); in ConversionPass()
45 << spvOpcodeString(opcode); in ConversionPass()
50 << spvOpcodeString(opcode); in ConversionPass()
55 << spvOpcodeString(opcode); in ConversionPass()
64 << spvOpcodeString(opcode); in ConversionPass()
71 << spvOpcodeString(opcode); in ConversionPass()
76 << spvOpcodeString(opcode); in ConversionPass()
81 << spvOpcodeString(opcode); in ConversionPass()
[all …]
Dvalidate_arithmetics.cpp31 const SpvOp opcode = inst->opcode(); in ArithmeticsPass() local
34 switch (opcode) { in ArithmeticsPass()
46 << spvOpcodeString(opcode); in ArithmeticsPass()
53 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
65 << spvOpcodeString(opcode); in ArithmeticsPass()
72 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
88 << spvOpcodeString(opcode); in ArithmeticsPass()
100 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
106 << "as Result Type: " << spvOpcodeString(opcode) in ArithmeticsPass()
112 << "as Result Type: " << spvOpcodeString(opcode) in ArithmeticsPass()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/GlobalISel/
Dlegalizer-info-validation.mir16 # DEBUG: G_ADD (opcode [[ADD_OPC:[0-9]+]]): 1 type index
19 # DEBUG-NEXT: G_SUB (opcode [[SUB_OPC:[0-9]+]]): 1 type index
20 # DEBUG-NEXT: .. opcode [[SUB_OPC]] is aliased to [[ADD_OPC]]
21 # DEBUG-NEXT: .. opcode [[ADD_OPC]] is aliased to 0
24 # DEBUG-NEXT: G_MUL (opcode {{[0-9]+}}): 1 type index
27 # DEBUG-NEXT: G_SDIV (opcode {{[0-9]+}}): 1 type index
30 # DEBUG-NEXT: G_UDIV (opcode {{[0-9]+}}): 1 type index
33 # DEBUG-NEXT: G_SREM (opcode {{[0-9]+}}): 1 type index
36 # DEBUG-NEXT: G_UREM (opcode {{[0-9]+}}): 1 type index
39 # DEBUG-NEXT: G_AND (opcode {{[0-9]+}}): 1 type index
[all …]
/external/u-boot/post/lib_powerpc/
Dcpu_asm.h112 #define ASM_0(opcode) (opcode) argument
113 #define ASM_1(opcode, rd) ((opcode) + \ argument
115 #define ASM_1C(opcode, cr) ((opcode) + \ argument
117 #define ASM_11(opcode, rd, rs) ((opcode) + \ argument
120 #define ASM_11C(opcode, cd, cs) ((opcode) + \ argument
123 #define ASM_11X(opcode, rd, rs) ((opcode) + \ argument
126 #define ASM_11I(opcode, rd, rs, simm) ((opcode) + \ argument
130 #define ASM_11IF(opcode, rd, rs, simm) ((opcode) + \ argument
134 #define ASM_11S(opcode, rd, rs, sh) ((opcode) + \ argument
138 #define ASM_11IX(opcode, rd, rs, imm) ((opcode) + \ argument
[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 …]
/external/python/cpython3/Lib/test/
Dtest_dis.py444 for opcode, opname in enumerate(dis.opname):
450 if opcode < dis.HAVE_ARGUMENT:
857 …Instruction(opname='LOAD_CONST', opcode=100, arg=8, argval=(3, 4), argrepr='(3, 4)', offset=0, sta…
858 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=0, argval='a', argrepr='a', offset=2, starts_li…
859 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=1, argval='b', argrepr='b', offset=4, starts_li…
860 …Instruction(opname='BUILD_TUPLE', opcode=102, arg=2, argval=2, argrepr='', offset=6, starts_line=N…
861 …Instruction(opname='LOAD_CONST', opcode=100, arg=3, argval=code_object_f, argrepr=repr(code_object…
862 …Instruction(opname='LOAD_CONST', opcode=100, arg=4, argval='outer.<locals>.f', argrepr="'outer.<lo…
863 …Instruction(opname='MAKE_FUNCTION', opcode=132, arg=9, argval=9, argrepr='', offset=12, starts_lin…
864 …Instruction(opname='STORE_FAST', opcode=125, arg=2, argval='f', argrepr='f', offset=14, starts_lin…
[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/python/cpython2/Doc/library/
Ddis.rst13 defined in the file :file:`Include/opcode.h` and used by the compiler and the
151 .. opcode:: STOP_CODE ()
156 .. opcode:: NOP ()
161 .. opcode:: POP_TOP ()
166 .. opcode:: ROT_TWO ()
171 .. opcode:: ROT_THREE ()
177 .. opcode:: ROT_FOUR ()
183 .. opcode:: DUP_TOP ()
191 .. opcode:: UNARY_POSITIVE ()
196 .. opcode:: UNARY_NEGATIVE ()
[all …]
/external/boringssl/src/crypto/perlasm/
Dx86_64-xlate.pl103 { package opcode; # pick up opcodes package
244 die if ($opcode->mnemonic() ne "mov");
245 $opcode->mnemonic("lea");
249 $self->{opcode} = $opcode;
305 my $mnemonic = $self->{opcode}->mnemonic();
332 my ($class, $line, $opcode) = @_;
342 $opcode->size($self->size());
441 my ($class, $line, $opcode) = @_;
454 $self->{opcode} = $opcode;
460 if ($nasm && $self->{opcode}->mnemonic()=~m/^j(?![re]cxz)/) {
[all …]
/external/tcpdump/
Dprint-zephyr.c48 const char *opcode; member
159 z.opcode = 0; in zephyr_print()
190 PARSE_FIELD_STR(z.opcode); in zephyr_print()
218 if (!strcmp(z.opcode, "USER_HIDE")) in zephyr_print()
220 else if (!strcmp(z.opcode, "USER_UNHIDE")) in zephyr_print()
228 ND_PRINT((ndo, " zephyr-admin %s", str_to_lower(z.opcode))); in zephyr_print()
234 if (!strcmp(z.opcode, "SUBSCRIBE") || in zephyr_print()
235 !strcmp(z.opcode, "SUBSCRIBE_NODEFS") || in zephyr_print()
236 !strcmp(z.opcode, "UNSUBSCRIBE")) { in zephyr_print()
238 ND_PRINT((ndo, " %ssub%s", strcmp(z.opcode, "SUBSCRIBE") ? "un" : "", in zephyr_print()
[all …]
/external/v8/tools/turbolizer/src/
Dnode.ts29 opcode: string; property in GNode
52 return this.opcode == 'Parameter' || this.opcode.endsWith('Constant');
58 return this.opcode.startsWith('JS');
62 return this.opcode.endsWith('Phi') ||
63 this.opcode.startsWith('Boolean') ||
64 this.opcode.startsWith('Number') ||
65 this.opcode.startsWith('String') ||
66 this.opcode.startsWith('Change') ||
67 this.opcode.startsWith('Object') ||
68 this.opcode.startsWith('Reference') ||
[all …]

12345678910>>...80