Home
last modified time | relevance | path

Searched refs:opcodes (Results 1 - 25 of 52) sorted by relevance

123

/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dfuzzer_pass_replace_branches_from_dead_blocks_with_exits.cpp74 std::vector<SpvOp> opcodes = {SpvOpUnreachable}; in Apply() local
76 opcodes.emplace_back(SpvOpKill); in Apply()
81 opcodes.emplace_back(SpvOpReturn); in Apply()
87 opcodes.emplace_back(SpvOpReturnValue); in Apply()
89 // Choose one of the available terminator opcodes at random and create a in Apply()
91 auto opcode = opcodes[GetFuzzerContext()->RandomIndex(opcodes)]; in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dfuzzer_pass_replace_branches_from_dead_blocks_with_exits.cpp74 std::vector<SpvOp> opcodes = {SpvOpUnreachable}; in Apply() local
76 opcodes.emplace_back(SpvOpKill); in Apply()
81 opcodes.emplace_back(SpvOpReturn); in Apply()
87 opcodes.emplace_back(SpvOpReturnValue); in Apply()
89 // Choose one of the available terminator opcodes at random and create a in Apply()
91 auto opcode = opcodes[GetFuzzerContext()->RandomIndex(opcodes)]; in Apply()
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_pass_replace_branches_from_dead_blocks_with_exits.cpp74 std::vector<spv::Op> opcodes = {spv::Op::OpUnreachable}; in Apply() local
76 opcodes.emplace_back(spv::Op::OpKill); in Apply()
81 opcodes.emplace_back(spv::Op::OpReturn); in Apply()
87 opcodes.emplace_back(spv::Op::OpReturnValue); in Apply()
89 // Choose one of the available terminator opcodes at random and create a in Apply()
91 auto opcode = opcodes[GetFuzzerContext()->RandomIndex(opcodes)]; in Apply()
/third_party/mesa3d/src/amd/compiler/
H A Daco_builder_h.py605 from aco_opcodes import opcodes, Format namespace
608 print(Template(template).render(opcodes=opcodes, Format=Format))
H A Daco_opcodes_cpp.py33 opcode_names = sorted(opcodes.keys())
34 can_use_input_modifiers = "".join([opcodes[name].input_mod for name in reversed(opcode_names)])
35 can_use_output_modifiers = "".join([opcodes[name].output_mod for name in reversed(opcode_names)])
36 is_atomic = "".join([opcodes[name].is_atomic for name in reversed(opcode_names)])
42 ${opcodes[name].opcode_gfx7},
47 ${opcodes[name].opcode_gfx9},
52 ${opcodes[name].opcode_gfx10},
65 aco::Format::${str(opcodes[name].format.name)},
70 ${opcodes[name].operand_size},
75 (instr_class)${opcodes[nam
83 from aco_opcodes import opcodes global() namespace
[all...]
H A Daco_opcodes_h.py33 <% opcode_names = sorted(opcodes.keys()) %>
45 from aco_opcodes import opcodes namespace
48 print(Template(template).render(opcodes=opcodes))
/third_party/mesa3d/src/compiler/nir/
H A Dnir_opcodes_c.py26 from nir_opcodes import opcodes, type_sizes namespace
106 % for name, opcode in sorted(opcodes.items()):
128 print(template.render(opcodes=opcodes, type_sizes=type_sizes))
H A Dnir_opcodes_h.py30 <% opcode_names = sorted(opcodes.keys()) %>
42 from nir_opcodes import opcodes namespace
45 print(Template(template).render(opcodes=opcodes))
H A Dnir_builder_opcodes_h.py38 % for name, opcode in sorted(opcodes.items()):
167 from nir_opcodes import opcodes namespace
171 print(Template(template).render(opcodes=opcodes, INTR_OPCODES=INTR_OPCODES, WRITE_MASK=WRITE_MASK, ALIGN_MUL=ALIGN_MUL))
H A Dnir_constant_expressions.py2 from nir_opcodes import opcodes namespace
458 % for name, op in sorted(opcodes.items()):
501 % for name in sorted(opcodes.keys()):
513 print(Template(template).render(opcodes=opcodes, type_sizes=type_sizes,
H A Dnir_opcodes.py151 # global dictionary of opcodes
152 opcodes = {} variable
156 assert name not in opcodes
157 opcodes[name] = Opcode(name, output_size, output_type, input_sizes,
227 # Generate all of the numeric conversion opcodes
289 unop_numeric_convert("f2fmp", tfloat16, tfloat32, opcodes["f2f16"].const_expr)
290 unop_numeric_convert("i2imp", tint16, tint32, opcodes["i2i16"].const_expr)
292 unop_numeric_convert("f2imp", tint16, tfloat32, opcodes["f2i16"].const_expr)
293 unop_numeric_convert("f2ump", tuint16, tfloat32, opcodes["f2u16"].const_expr)
294 unop_numeric_convert("i2fmp", tfloat16, tint32, opcodes["i2f1
[all...]
H A Dnir_algebraic.py35 from nir_opcodes import opcodes, type_sizes namespace
40 # These opcodes are only employed by nir_search. This provides a mapping from
443 "2src_commutative" in opcodes[self.opcode].algebraic_properties and \
658 nir_op = opcodes[val.opcode]
807 classical NFA to DFA construction. At the moment, it only matches opcodes
881 # This the set of opcodes for parents of this item. Used to speed up
896 # The set of all opcodes used by the patterns. Used later to avoid
897 # building and emitting all the tables for opcodes that aren't used.
898 self.opcodes = self.IndexMap()
902 and "2src_commutative" in opcodes[opcod
[all...]
/third_party/mesa3d/src/asahi/compiler/
H A Dagx_opcodes.c.py35 % for opcode in opcodes:
37 op = opcodes[opcode]
54 from agx_opcodes import opcodes namespace
56 print(Template(template).render(opcodes=opcodes))
H A Dagx_builder.h.py37 % for opcode in opcodes:
39 op = opcodes[opcode]
159 from agx_opcodes import opcodes namespace
161 print(Template(template).render(opcodes=opcodes))
H A Dagx_opcodes.h.py30 /* Listing of opcodes */
33 % for op in opcodes:
80 from agx_opcodes import opcodes, immediates, enums namespace
82 print(Template(template).render(opcodes=opcodes, immediates=immediates,
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_gather_types_c.py83 % for opcode in opcodes:
115 opcodes = list(find_result_types(spirv_info)) variable
119 f.write(TEMPLATE.render(opcodes=opcodes))
/third_party/node/deps/undici/src/lib/websocket/
H A Dutil.js4 const { states, opcodes } = require('./constants')
73 if (type === opcodes.TEXT) {
82 } else if (type === opcodes.BINARY) {
H A Dconstants.js23 const opcodes = {
47 opcodes,
H A Dwebsocket.js7 const { staticPropertyDescriptors, states, opcodes, emptyBuffer } = require('./constants')
232 socket.write(frame.createFrame(opcodes.CLOSE), (err) => {
292 const buffer = frame.createFrame(opcodes.TEXT)
313 const buffer = frame.createFrame(opcodes.BINARY)
335 const buffer = frame.createFrame(opcodes.BINARY)
358 const buffer = frame.createFrame(opcodes.BINARY)
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_debug_fp.c37 static const char *opcodes[0x20] = { variable
202 PRINTF(stream, "%s ", opcodes[opcode]); in print_arith_op()
224 PRINTF(stream, "%s ", opcodes[opcode]); in print_tex_op()
248 PRINTF(stream, "%s ", opcodes[opcode]); in print_dcl_op()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Ddef_use_test.cpp55 std::vector<SpvOp> opcodes; in GetUseOpcodes() local
57 id, [&opcodes](Instruction* user, uint32_t) { in GetUseOpcodes()
58 opcodes.push_back(user->opcode()); in GetUseOpcodes()
60 return opcodes; in GetUseOpcodes()
1301 std::vector<SpvOp> opcodes = GetUseOpcodes(context, 6u); in TEST() local
1302 EXPECT_THAT(opcodes, UnorderedElementsAre(SpvOpSwitch, SpvOpReturnValue)); in TEST()
1306 std::vector<SpvOp> opcodes = GetUseOpcodes(context, 7u); in TEST() local
1308 EXPECT_THAT(opcodes, UnorderedElementsAre(SpvOpSelectionMerge, SpvOpBranch, in TEST()
H A Dir_loader_test.cpp289 std::vector<SpvOp> opcodes; in TEST() local
293 [&opcodes](spvtools::opt::Instruction* sub_inst) { in TEST()
294 opcodes.push_back(sub_inst->opcode()); in TEST()
299 EXPECT_THAT(opcodes, in TEST()
336 std::vector<SpvOp> opcodes; in TEST() local
340 [&opcodes](spvtools::opt::Instruction* sub_inst) { in TEST()
341 opcodes.push_back(sub_inst->opcode()); in TEST()
346 EXPECT_THAT(opcodes, ContainerEq(std::vector<SpvOp>{ in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Ddef_use_test.cpp55 std::vector<SpvOp> opcodes; in GetUseOpcodes() local
57 id, [&opcodes](Instruction* user, uint32_t) { in GetUseOpcodes()
58 opcodes.push_back(user->opcode()); in GetUseOpcodes()
60 return opcodes; in GetUseOpcodes()
1301 std::vector<SpvOp> opcodes = GetUseOpcodes(context, 6u); in TEST() local
1302 EXPECT_THAT(opcodes, UnorderedElementsAre(SpvOpSwitch, SpvOpReturnValue)); in TEST()
1306 std::vector<SpvOp> opcodes = GetUseOpcodes(context, 7u); in TEST() local
1308 EXPECT_THAT(opcodes, UnorderedElementsAre(SpvOpSelectionMerge, SpvOpBranch, in TEST()
/third_party/spirv-tools/test/opt/
H A Ddef_use_test.cpp54 std::vector<spv::Op> opcodes; in GetUseOpcodes() local
56 id, [&opcodes](Instruction* user, uint32_t) { in GetUseOpcodes()
57 opcodes.push_back(user->opcode()); in GetUseOpcodes()
59 return opcodes; in GetUseOpcodes()
1300 std::vector<spv::Op> opcodes = GetUseOpcodes(context, 6u); in TEST() local
1301 EXPECT_THAT(opcodes, UnorderedElementsAre(spv::Op::OpSwitch, in TEST()
1306 std::vector<spv::Op> opcodes = GetUseOpcodes(context, 7u); in TEST() local
1308 EXPECT_THAT(opcodes, UnorderedElementsAre( in TEST()
/third_party/python/Lib/test/
H A Dtest_dtrace.py126 """Ensure our call stack test hits all function call opcodes"""
128 opcodes = set(["CALL_FUNCTION", "CALL_FUNCTION_EX", "CALL_FUNCTION_KW"])
146 opcodes.discard(instruction.opname)
148 self.assertEqual(set(), opcodes)

Completed in 15 milliseconds

123