Lines Matching defs:args
400 retval = type_list_equal(&lhs->function_def.args, &rhs->function_def.args);
898 type->function_def.args.types = ralloc_array(type,
901 if (!type->function_def.args.types)
904 memcpy(type->function_def.args.types, arg_types,
906 type->function_def.args.num_types = num_arg_types;
1444 assert(type->function_def.args.num_types < ARRAY_SIZE(temp) - 3);
1450 for (int i = 0; i < type->function_def.args.num_types; ++i) {
1451 assert(type->function_def.args.types[i]->id >= 0);
1452 temp[3 + i] = type->function_def.args.types[i]->id;
1456 temp, 3 + type->function_def.args.num_types);
2776 const struct dxil_value **args, size_t num_args)
2778 assert(num_args == func->type->function_def.args.num_types);
2780 assert(types_equal(func->type->function_def.args.types[i], args[i]->type));
2786 instr->call.args = ralloc_array(instr, struct dxil_value *, num_args);
2787 if (!args)
2789 memcpy(instr->call.args, args, sizeof(struct dxil_value *) * num_args);
2798 const struct dxil_value **args, size_t num_args)
2802 struct dxil_instr *instr = create_call_instr(m, func, args, num_args);
2813 const struct dxil_value **args, size_t num_args)
2817 struct dxil_instr *instr = create_call_instr(m, func, args, num_args);
3178 assert(instr->call.args[i]->id >= 0);
3179 data[4 + i] = instr->value.id - instr->call.args[i]->id;