Searched refs:type_args (Results 1 – 2 of 2) sorted by relevance
30 struct type_args { struct35 static struct type_args argument39 case SpvOpUndef: return (struct type_args){ 1, 0 }; in result_type_args_for_opcode()40 case SpvOpString: return (struct type_args){ 0, -1 }; in result_type_args_for_opcode()41 case SpvOpExtInstImport: return (struct type_args){ 0, -1 }; in result_type_args_for_opcode()42 case SpvOpExtInst: return (struct type_args){ 1, 0 }; in result_type_args_for_opcode()43 case SpvOpTypeVoid: return (struct type_args){ 0, -1 }; in result_type_args_for_opcode()44 case SpvOpTypeBool: return (struct type_args){ 0, -1 }; in result_type_args_for_opcode()45 case SpvOpTypeInt: return (struct type_args){ 0, -1 }; in result_type_args_for_opcode()46 case SpvOpTypeFloat: return (struct type_args){ 0, -1 }; in result_type_args_for_opcode()[all …]
315 let type_args = ty.args().unwrap_or_default().into_iter(); in args_from_ty_and_cursor() localVariable329 .zip(type_args.map(Some).chain(std::iter::repeat(None))) in args_from_ty_and_cursor()