Lines Matching refs:inst
324 def generate_instruction(inst, is_ext_inst):
328 - inst: a dict containing information about a SPIR-V instruction
329 - is_ext_inst: a bool indicating whether |inst| is an extended
336 opname = inst.get('opname')
337 opcode = inst.get('opcode')
338 caps = inst.get('capabilities', [])
339 exts = inst.get('extensions', [])
340 operands = inst.get('operands', {})
342 min_version = inst.get('version', None)
343 max_version = inst.get('lastVersion', None)
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]
395 caps = [inst.get('capabilities', []) for inst in inst_table]
397 insts = [generate_instruction(inst, True) for inst in inst_table]