Home
last modified time | relevance | path

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

12345678910>>...66

/third_party/skia/third_party/externals/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 IsOpLineInst(SpvOp opcode) { in IsOpLineInst() argument
38 return opcode == SpvOpLine || opcode == SpvOpNoLine; in IsOpLineInst()
40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst() argument
[all …]
/third_party/skia/third_party/externals/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 IsOpLineInst(SpvOp opcode) { in IsOpLineInst() argument
38 return opcode == SpvOpLine || opcode == SpvOpNoLine; in IsOpLineInst()
40 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
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,
61 int32_t spvOpcodeIsScalarType(const SpvOp opcode);
65 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode);
69 int32_t spvOpcodeIsConstant(const SpvOp opcode);
72 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode);
75 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode);
79 int32_t spvOpcodeIsComposite(const SpvOp opcode);
[all …]
Dopcode.cpp67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument
68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
128 const SpvOp opcode, in spvOpcodeTableValueLookup() argument
136 spv_opcode_desc_t needle = {"", opcode, 0, nullptr, 0, {}, in spvOpcodeTableValueLookup()
140 return lhs.opcode < rhs.opcode; in spvOpcodeTableValueLookup()
150 it != end && it->opcode == opcode; ++it) { in spvOpcodeTableValueLookup()
169 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy() argument
172 pInst->opcode = opcode; in spvInstructionCopy()
180 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy()
186 const char* spvOpcodeString(const uint32_t opcode) { in spvOpcodeString() argument
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/
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,
61 int32_t spvOpcodeIsScalarType(const SpvOp opcode);
65 int32_t spvOpcodeIsSpecConstant(const SpvOp opcode);
69 int32_t spvOpcodeIsConstant(const SpvOp opcode);
72 bool spvOpcodeIsConstantOrUndef(const SpvOp opcode);
75 bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode);
79 int32_t spvOpcodeIsComposite(const SpvOp opcode);
[all …]
Dopcode.cpp67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument
68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
128 const SpvOp opcode, in spvOpcodeTableValueLookup() argument
136 spv_opcode_desc_t needle = {"", opcode, 0, nullptr, 0, {}, in spvOpcodeTableValueLookup()
140 return lhs.opcode < rhs.opcode; in spvOpcodeTableValueLookup()
150 it != end && it->opcode == opcode; ++it) { in spvOpcodeTableValueLookup()
169 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy() argument
172 pInst->opcode = opcode; in spvInstructionCopy()
180 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy()
186 const char* spvOpcodeString(const uint32_t opcode) { in spvOpcodeString() argument
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dreflect.h27 inline bool IsDebugInst(SpvOp opcode) { in IsDebugInst() argument
28 return (opcode >= SpvOpSourceContinued && opcode <= SpvOpLine) || in IsDebugInst()
29 opcode == SpvOpNoLine || opcode == SpvOpModuleProcessed; in IsDebugInst()
31 inline bool IsDebugLineInst(SpvOp opcode) { in IsDebugLineInst() argument
32 return opcode == SpvOpLine || opcode == SpvOpNoLine; in IsDebugLineInst()
34 inline bool IsAnnotationInst(SpvOp opcode) { in IsAnnotationInst() argument
35 return opcode >= SpvOpDecorate && opcode <= SpvOpGroupMemberDecorate; in IsAnnotationInst()
37 inline bool IsTypeInst(SpvOp opcode) { in IsTypeInst() argument
38 return (opcode >= SpvOpTypeVoid && opcode <= SpvOpTypeForwardPointer) || in IsTypeInst()
39 opcode == SpvOpTypePipeStorage || opcode == SpvOpTypeNamedBarrier; in IsTypeInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_atomics.cpp50 bool HasReturnType(uint32_t opcode) { in HasReturnType() argument
51 switch (opcode) { in HasReturnType()
61 bool HasOnlyFloatReturnType(uint32_t opcode) { in HasOnlyFloatReturnType() argument
62 switch (opcode) { in HasOnlyFloatReturnType()
73 bool HasOnlyIntReturnType(uint32_t opcode) { in HasOnlyIntReturnType() argument
74 switch (opcode) { in HasOnlyIntReturnType()
95 bool HasIntOrFloatReturnType(uint32_t opcode) { in HasIntOrFloatReturnType() argument
96 switch (opcode) { in HasIntOrFloatReturnType()
106 bool HasOnlyBoolReturnType(uint32_t opcode) { in HasOnlyBoolReturnType() argument
107 switch (opcode) { in HasOnlyBoolReturnType()
[all …]
Dvalidate_arithmetics.cpp31 const SpvOp opcode = inst->opcode(); in ArithmeticsPass() local
34 switch (opcode) { in ArithmeticsPass()
43 (opcode != SpvOpFMul && opcode != SpvOpFRem && opcode != SpvOpFMod); in ArithmeticsPass()
49 << spvOpcodeString(opcode); in ArithmeticsPass()
56 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
64 bool supportsCoopMat = (opcode == SpvOpUDiv); in ArithmeticsPass()
71 << spvOpcodeString(opcode); in ArithmeticsPass()
78 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
92 (opcode != SpvOpIMul && opcode != SpvOpSRem && opcode != SpvOpSMod); in ArithmeticsPass()
97 << spvOpcodeString(opcode); in ArithmeticsPass()
[all …]
Dvalidate_memory_semantics.cpp30 const SpvOp opcode = inst->opcode(); in ValidateMemorySemantics() local
38 << spvOpcodeString(opcode) in ValidateMemorySemantics()
67 << spvOpcodeString(opcode) in ValidateMemorySemantics()
85 << spvOpcodeString(opcode) in ValidateMemorySemantics()
93 << spvOpcodeString(opcode) in ValidateMemorySemantics()
101 << spvOpcodeString(opcode) in ValidateMemorySemantics()
109 << spvOpcodeString(opcode) in ValidateMemorySemantics()
114 if (!spvOpcodeIsAtomicOp(inst->opcode())) { in ValidateMemorySemantics()
124 << spvOpcodeString(opcode) in ValidateMemorySemantics()
144 << spvOpcodeString(opcode) in ValidateMemorySemantics()
[all …]
Dvalidate_conversion.cpp30 const SpvOp opcode = inst->opcode(); in ConversionPass() local
33 switch (opcode) { in ConversionPass()
40 << spvOpcodeString(opcode); in ConversionPass()
48 << spvOpcodeString(opcode); in ConversionPass()
59 << spvOpcodeString(opcode); in ConversionPass()
70 << spvOpcodeString(opcode); in ConversionPass()
78 << spvOpcodeString(opcode); in ConversionPass()
89 << spvOpcodeString(opcode); in ConversionPass()
102 << spvOpcodeString(opcode); in ConversionPass()
110 << spvOpcodeString(opcode); in ConversionPass()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_atomics.cpp50 bool HasReturnType(uint32_t opcode) { in HasReturnType() argument
51 switch (opcode) { in HasReturnType()
61 bool HasOnlyFloatReturnType(uint32_t opcode) { in HasOnlyFloatReturnType() argument
62 switch (opcode) { in HasOnlyFloatReturnType()
73 bool HasOnlyIntReturnType(uint32_t opcode) { in HasOnlyIntReturnType() argument
74 switch (opcode) { in HasOnlyIntReturnType()
95 bool HasIntOrFloatReturnType(uint32_t opcode) { in HasIntOrFloatReturnType() argument
96 switch (opcode) { in HasIntOrFloatReturnType()
106 bool HasOnlyBoolReturnType(uint32_t opcode) { in HasOnlyBoolReturnType() argument
107 switch (opcode) { in HasOnlyBoolReturnType()
[all …]
Dvalidate_arithmetics.cpp31 const SpvOp opcode = inst->opcode(); in ArithmeticsPass() local
34 switch (opcode) { in ArithmeticsPass()
43 (opcode != SpvOpFMul && opcode != SpvOpFRem && opcode != SpvOpFMod); in ArithmeticsPass()
49 << spvOpcodeString(opcode); in ArithmeticsPass()
56 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
64 bool supportsCoopMat = (opcode == SpvOpUDiv); in ArithmeticsPass()
71 << spvOpcodeString(opcode); in ArithmeticsPass()
78 << spvOpcodeString(opcode) << " operand index " in ArithmeticsPass()
92 (opcode != SpvOpIMul && opcode != SpvOpSRem && opcode != SpvOpSMod); in ArithmeticsPass()
97 << spvOpcodeString(opcode); in ArithmeticsPass()
[all …]
Dvalidate_memory_semantics.cpp30 const SpvOp opcode = inst->opcode(); in ValidateMemorySemantics() local
38 << spvOpcodeString(opcode) in ValidateMemorySemantics()
67 << spvOpcodeString(opcode) in ValidateMemorySemantics()
85 << spvOpcodeString(opcode) in ValidateMemorySemantics()
93 << spvOpcodeString(opcode) in ValidateMemorySemantics()
101 << spvOpcodeString(opcode) in ValidateMemorySemantics()
109 << spvOpcodeString(opcode) in ValidateMemorySemantics()
114 if (!spvOpcodeIsAtomicOp(inst->opcode())) { in ValidateMemorySemantics()
124 << spvOpcodeString(opcode) in ValidateMemorySemantics()
144 << spvOpcodeString(opcode) in ValidateMemorySemantics()
[all …]
Dvalidate_conversion.cpp30 const SpvOp opcode = inst->opcode(); in ConversionPass() local
33 switch (opcode) { in ConversionPass()
40 << spvOpcodeString(opcode); in ConversionPass()
48 << spvOpcodeString(opcode); in ConversionPass()
59 << spvOpcodeString(opcode); in ConversionPass()
70 << spvOpcodeString(opcode); in ConversionPass()
78 << spvOpcodeString(opcode); in ConversionPass()
89 << spvOpcodeString(opcode); in ConversionPass()
102 << spvOpcodeString(opcode); in ConversionPass()
110 << spvOpcodeString(opcode); in ConversionPass()
[all …]
Dvalidate_bitwise.cpp29 const SpvOp opcode = inst->opcode(); in BitwisePass() local
32 switch (opcode) { in BitwisePass()
39 << spvOpcodeString(opcode); in BitwisePass()
49 << spvOpcodeString(opcode); in BitwisePass()
54 << "as Result Type: " << spvOpcodeString(opcode); in BitwisePass()
59 << "as Result Type: " << spvOpcodeString(opcode); in BitwisePass()
65 << spvOpcodeString(opcode); in BitwisePass()
70 << "as Result Type: " << spvOpcodeString(opcode); in BitwisePass()
81 << spvOpcodeString(opcode); in BitwisePass()
93 << spvOpcodeString(opcode) << " operand index " in BitwisePass()
[all …]
/third_party/uboot/u-boot-2020.01/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 …]
/third_party/python/Lib/test/
Dtest_dis.py506 for opcode, opname in enumerate(dis.opname):
513 if opcode < dis.HAVE_ARGUMENT:
938 …Instruction(opname='LOAD_CONST', opcode=100, arg=8, argval=(3, 4), argrepr='(3, 4)', offset=0, sta…
939 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=0, argval='a', argrepr='a', offset=2, starts_li…
940 …Instruction(opname='LOAD_CLOSURE', opcode=135, arg=1, argval='b', argrepr='b', offset=4, starts_li…
941 …Instruction(opname='BUILD_TUPLE', opcode=102, arg=2, argval=2, argrepr='', offset=6, starts_line=N…
942 …Instruction(opname='LOAD_CONST', opcode=100, arg=3, argval=code_object_f, argrepr=repr(code_object…
943 …Instruction(opname='LOAD_CONST', opcode=100, arg=4, argval='outer.<locals>.f', argrepr="'outer.<lo…
944 …Instruction(opname='MAKE_FUNCTION', opcode=132, arg=9, argval=9, argrepr='defaults, closure', offs…
945 …Instruction(opname='STORE_FAST', opcode=125, arg=2, argval='f', argrepr='f', offset=14, starts_lin…
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dopcode.cpp67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument
68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
139 const SpvOp opcode, in spvOpcodeTableValueLookup() argument
146 if (opcode == table->entries[opcodeIndex].opcode) { in spvOpcodeTableValueLookup()
156 void spvInstructionCopy(const uint32_t* words, const SpvOp opcode, in spvInstructionCopy() argument
159 pInst->opcode = opcode; in spvInstructionCopy()
167 assert(opcode == static_cast<SpvOp>(thisOpcode) && in spvInstructionCopy()
173 const char* spvOpcodeString(const SpvOp opcode) { in spvOpcodeString() argument
177 if (opcodeTableEntries_1_2[i].opcode == opcode) in spvOpcodeString()
184 int32_t spvOpcodeIsScalarType(const SpvOp opcode) { in spvOpcodeIsScalarType() argument
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Davailable_instructions_test.cpp179 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST()
180 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST()
186 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST()
187 ASSERT_EQ(SpvOpTypePointer, available[3]->opcode()); in TEST()
188 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST()
189 ASSERT_EQ(SpvOpFunctionCall, available[40]->opcode()); in TEST()
190 ASSERT_EQ(SpvOpStore, available[45]->opcode()); in TEST()
196 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST()
197 ASSERT_EQ(SpvOpTypePointer, available[3]->opcode()); in TEST()
198 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Davailable_instructions_test.cpp179 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST()
180 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST()
186 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST()
187 ASSERT_EQ(SpvOpTypePointer, available[3]->opcode()); in TEST()
188 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST()
189 ASSERT_EQ(SpvOpFunctionCall, available[40]->opcode()); in TEST()
190 ASSERT_EQ(SpvOpStore, available[45]->opcode()); in TEST()
196 ASSERT_EQ(SpvOpTypeVoid, available[0]->opcode()); in TEST()
197 ASSERT_EQ(SpvOpTypePointer, available[3]->opcode()); in TEST()
198 ASSERT_EQ(SpvOpVariable, available[15]->opcode()); in TEST()
[all …]
/third_party/openssl/crypto/perlasm/
Dx86_64-xlate.pl108 { package opcode; # pick up opcodes package
246 die if ($opcode->mnemonic() ne "mov");
247 $opcode->mnemonic("lea");
251 $self->{opcode} = $opcode;
307 my $mnemonic = $self->{opcode}->mnemonic();
334 my ($class, $line, $opcode) = @_;
344 $opcode->size($self->size());
443 my ($class, $line, $opcode) = @_;
456 $self->{opcode} = $opcode;
462 if ($nasm && $self->{opcode}->mnemonic()=~m/^j(?![re]cxz)/) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430InstrFormats.td46 class IForm<bits<4> opcode, DestMode ad, bit bw, SourceMode as, int size,
54 let Inst{15-12} = opcode;
63 class IForm8<bits<4> opcode, DestMode dest, SourceMode src, int size,
65 : IForm<opcode, dest, 1, src, size, outs, ins, asmstr, pattern>;
67 class I8rr<bits<4> opcode,
69 : IForm8<opcode, DstReg, SrcReg, 2, outs, ins, asmstr, pattern> {
73 class I8ri<bits<4> opcode,
75 : IForm8<opcode, DstReg, SrcImm, 4, outs, ins, asmstr, pattern> {
82 class I8rc<bits<4> opcode,
91 let Inst{15-12} = opcode;
[all …]
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-internal.h247 #define PARSER_TO_EXT_OPCODE(opcode) ((uint16_t) ((opcode) + 256)) argument
248 #define PARSER_GET_EXT_OPCODE(opcode) ((opcode) - 256) argument
249 #define PARSER_IS_BASIC_OPCODE(opcode) ((opcode) < 256) argument
250 #define PARSER_IS_PUSH_LITERAL(opcode) \ argument
251 ((opcode) == CBC_PUSH_LITERAL \
252 || (opcode) == CBC_PUSH_TWO_LITERALS \
253 || (opcode) == CBC_PUSH_THREE_LITERALS)
254 #define PARSER_IS_PUSH_NUMBER(opcode) \ argument
255 ((opcode) == CBC_PUSH_NUMBER_0 \
256 || (opcode) == CBC_PUSH_NUMBER_POS_BYTE \
[all …]
/third_party/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 …]

12345678910>>...66