Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_reg_allocate.cpp303 unsigned scratch_reg) in can_use_scratch_for_source() argument
310 if (inst->src[n].file == VGRF && inst->src[n].nr == scratch_reg) in can_use_scratch_for_source()
323 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
343 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
511 unsigned scratch_reg = ~0u; in spill_reg() local
515 if (scratch_reg == ~0u || in spill_reg()
516 !can_use_scratch_for_source(inst, i, scratch_reg)) { in spill_reg()
522 scratch_reg = alloc.allocate(alloc.sizes[spill_reg_nr]); in spill_reg()
524 temp.nr = scratch_reg; in spill_reg()
531 assert(scratch_reg != ~0u); in spill_reg()
[all …]