Home
last modified time | relevance | path

Searched refs:inst_table (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py353 def generate_instruction_table(inst_table): argument
364 inst_table = sorted(inst_table, key=lambda k: (k['opcode'], k['opname']))
367 [inst.get('capabilities', []) for inst in inst_table])
369 [inst.get('extensions', []) for inst in inst_table])
371 insts = [generate_instruction(inst, False) for inst in inst_table]
391 inst_table = json_grammar["instructions"]
394 inst_table = sorted(inst_table, key=lambda k: k['opcode'])
395 caps = [inst.get('capabilities', []) for inst in inst_table]
397 insts = [generate_instruction(inst, True) for inst in inst_table]
/external/deqp-deps/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py338 def generate_instruction_table(inst_table): argument
349 inst_table = sorted(inst_table, key=lambda k: (k['opcode'], k['opname']))
352 [inst.get('capabilities', []) for inst in inst_table])
354 [inst.get('extensions', []) for inst in inst_table])
356 insts = [generate_instruction(inst, False) for inst in inst_table]
376 inst_table = json_grammar["instructions"]
379 inst_table = sorted(inst_table, key=lambda k: k['opcode'])
380 caps = [inst.get('capabilities', []) for inst in inst_table]
382 insts = [generate_instruction(inst, True) for inst in inst_table]
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/
Dgenerate_grammar_tables.py353 def generate_instruction_table(inst_table): argument
364 inst_table = sorted(inst_table, key=lambda k: (k['opcode'], k['opname']))
367 [inst.get('capabilities', []) for inst in inst_table])
369 [inst.get('extensions', []) for inst in inst_table])
371 insts = [generate_instruction(inst, False) for inst in inst_table]
391 inst_table = json_grammar["instructions"]
394 inst_table = sorted(inst_table, key=lambda k: k['opcode'])
395 caps = [inst.get('capabilities', []) for inst in inst_table]
397 insts = [generate_instruction(inst, True) for inst in inst_table]
/external/capstone/arch/M680X/
DM680XDisassembler.c925 const inst_pageX *inst_table = NULL; in decode_insn() local
948 inst_table = cpu->inst_pageX_table[i]; in decode_insn()
957 if ((index = binary_search(inst_table, table_size, ir)) < 0) in decode_insn()
961 inst_table[index].handler_id1; in decode_insn()
963 inst_table[index].handler_id2; in decode_insn()
964 insn_description->insn = inst_table[index].insn; in decode_insn()
985 inst_table = cpu->inst_overlay_table[i]; in decode_insn()
988 if ((index = binary_search(inst_table, table_size, in decode_insn()
991 inst_table[index].handler_id1; in decode_insn()
993 inst_table[index].handler_id2; in decode_insn()
[all …]
/external/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c3056 static const struct sm1_op_info inst_table[] = variable
3179 for (i = 0; i < ARRAY_SIZE(inst_table); ++i) { in create_op_info_map()
3180 assert(inst_table[i].sio < ARRAY_SIZE(tx->op_info_map)); in create_op_info_map()
3181 if (inst_table[i].vert_version.min <= version && in create_op_info_map()
3182 inst_table[i].vert_version.max >= version) in create_op_info_map()
3183 tx->op_info_map[inst_table[i].sio] = i; in create_op_info_map()
3186 for (i = 0; i < ARRAY_SIZE(inst_table); ++i) { in create_op_info_map()
3187 assert(inst_table[i].sio < ARRAY_SIZE(tx->op_info_map)); in create_op_info_map()
3188 if (inst_table[i].frag_version.min <= version && in create_op_info_map()
3189 inst_table[i].frag_version.max >= version) in create_op_info_map()
[all …]