Lines Matching defs:info
88 struct ir3_info *info)
90 struct ir3_shader_variant *v = info->data;
118 info->max_const = MAX2(info->max_const, max >> 2);
123 info->max_reg = MAX2(info->max_reg, max >> 3);
125 info->max_half_reg = MAX2(info->max_half_reg, max >> 2);
128 info->max_reg = MAX2(info->max_reg, max >> 2);
268 struct ir3_info *info = &v->info;
272 memset(info, 0, sizeof(*info));
273 info->data = v;
274 info->max_reg = -1;
275 info->max_half_reg = -1;
276 info->max_const = -1;
277 info->multi_dword_ldp_stp = false;
292 info->size = MAX2(v->instrlen * compiler->instr_align, instr_count + 4) * 8;
293 info->sizedwords = info->size / 4;
303 collect_reg_info(instr, reg, info);
308 collect_reg_info(instr, reg, info);
315 info->multi_dword_ldp_stp = true;
319 info->stp_count += components;
321 info->ldp_count += components;
326 info->last_baryf = info->instrs_count;
342 info->instrs_per_cat[0] += nops_count;
344 info->instrs_per_cat[opc_cat(instr->opc)] += 1 + instr->repeat;
345 info->instrs_per_cat[0] += nops_count;
350 info->mov_count += 1 + instr->repeat;
352 info->cov_count += 1 + instr->repeat;
356 info->instrs_count += instrs_count;
357 info->nops_count += nops_count;
360 info->ss++;
361 info->sstall += sfu_delay;
366 info->sy++;
367 info->systall += mem_delay;
395 info->max_reg + 1 +
396 (compiler->gen >= 6 ? ((info->max_half_reg + 2) / 2) : 0);
398 info->double_threadsize = ir3_should_double_threadsize(v, regs_count);
400 ir3_get_reg_independent_max_waves(v, info->double_threadsize);
402 compiler, regs_count, info->double_threadsize);
403 info->max_waves = MIN2(reg_independent_max_waves, reg_dependent_max_waves);
404 assert(info->max_waves <= v->compiler->max_waves);