Home
last modified time | relevance | path

Searched refs:spill_costs (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_reg_allocate.cpp381 vec4_visitor::evaluate_spill_costs(float *spill_costs, bool *no_spill) in evaluate_spill_costs() argument
389 spill_costs[i] = 0.0; in evaluate_spill_costs()
406 spill_costs[inst->src[i].nr] += in evaluate_spill_costs()
435 spill_costs[inst->dst.nr] += in evaluate_spill_costs()
490 float spill_costs[this->alloc.count]; in choose_spill_reg() local
493 evaluate_spill_costs(spill_costs, no_spill); in choose_spill_reg()
497 ra_set_node_spill_cost(g, i, spill_costs[i]); in choose_spill_reg()
Dbrw_fs_reg_allocate.cpp982 float spill_costs[fs->alloc.count]; in set_spill_costs() local
986 spill_costs[i] = 0.0; in set_spill_costs()
997 spill_costs[inst->src[i].nr] += regs_read(inst, i) * block_scale; in set_spill_costs()
1001 spill_costs[inst->dst.nr] += regs_written(inst) * block_scale; in set_spill_costs()
1058 float adjusted_cost = spill_costs[i] / logf(live_length); in set_spill_costs()
Dbrw_vec4.h132 void evaluate_spill_costs(float *spill_costs, bool *no_spill);
Dbrw_vec4.cpp2767 float spill_costs[alloc.count]; in run() local
2769 evaluate_spill_costs(spill_costs, no_spill); in run()
/external/mesa3d/src/broadcom/compiler/
Dvir_register_allocate.c79 float spill_costs[c->num_temps]; in v3d_choose_spill_node() local
84 spill_costs[i] = 0.0; in v3d_choose_spill_node()
102 spill_costs[temp] += block_scale; in v3d_choose_spill_node()
106 spill_costs[temp] += (block_scale * in v3d_choose_spill_node()
122 spill_costs[temp] += (block_scale * in v3d_choose_spill_node()
161 ra_set_node_spill_cost(g, node, spill_costs[i]); in v3d_choose_spill_node()
/external/mesa3d/src/gallium/drivers/lima/ir/pp/
Dregalloc.c479 float spill_costs[list_length(&comp->reg_list)]; in ppir_regalloc_choose_spill_node() local
488 spill_costs[reg->regalloc_index] = 0.0f; in ppir_regalloc_choose_spill_node()
495 spill_costs[reg->regalloc_index] = spill_cost; in ppir_regalloc_choose_spill_node()
513 spill_costs[reg->regalloc_index] *= slot_scale; in ppir_regalloc_choose_spill_node()
529 spill_costs[reg->regalloc_index] *= slot_scale; in ppir_regalloc_choose_spill_node()
536 ra_set_node_spill_cost(g, i, spill_costs[i]); in ppir_regalloc_choose_spill_node()