/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_replace_branches_from_dead_blocks_with_exits.cpp | 74 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 D | fuzzer_pass_replace_branches_from_dead_blocks_with_exits.cpp | 74 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 D | fuzzer_pass_replace_branches_from_dead_blocks_with_exits.cpp | 74 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 D | aco_builder_h.py | 605 from aco_opcodes import opcodes, Format namespace 608 print(Template(template).render(opcodes=opcodes, Format=Format))
|
H A D | aco_opcodes_cpp.py | 33 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 D | aco_opcodes_h.py | 33 <% 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 D | nir_opcodes_c.py | 26 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 D | nir_opcodes_h.py | 30 <% opcode_names = sorted(opcodes.keys()) %> 42 from nir_opcodes import opcodes namespace 45 print(Template(template).render(opcodes=opcodes))
|
H A D | nir_builder_opcodes_h.py | 38 % 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 D | nir_constant_expressions.py | 2 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 D | nir_opcodes.py | 151 # 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 D | nir_algebraic.py | 35 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 D | agx_opcodes.c.py | 35 % for opcode in opcodes: 37 op = opcodes[opcode] 54 from agx_opcodes import opcodes namespace 56 print(Template(template).render(opcodes=opcodes))
|
H A D | agx_builder.h.py | 37 % for opcode in opcodes: 39 op = opcodes[opcode] 159 from agx_opcodes import opcodes namespace 161 print(Template(template).render(opcodes=opcodes))
|
H A D | agx_opcodes.h.py | 30 /* 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 D | vtn_gather_types_c.py | 83 % 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 D | util.js | 4 const { states, opcodes } = require('./constants') 73 if (type === opcodes.TEXT) { 82 } else if (type === opcodes.BINARY) {
|
H A D | constants.js | 23 const opcodes = { 47 opcodes,
|
H A D | websocket.js | 7 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 D | i915_debug_fp.c | 37 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 D | def_use_test.cpp | 55 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 D | ir_loader_test.cpp | 289 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 D | def_use_test.cpp | 55 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 D | def_use_test.cpp | 54 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 D | test_dtrace.py | 126 """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)
|