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

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_vec4_reg_allocate.cpp291 * - When we call this function from spill_reg(), we pass in scratch_reg the
298 * In either case, we check if the previous instructions read scratch_reg until
300 * scratch_reg at all.
304 unsigned scratch_reg)
309 /* See if any previous source in the same instructions reads scratch_reg */
311 if (inst->src[n].file == VGRF && inst->src[n].nr == scratch_reg)
315 /* Now check if previous instructions read/write scratch_reg */
320 /* If the previous instruction writes to scratch_reg then we can reuse
324 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) {
331 * other registers (that won't read/write scratch_reg) d
303 can_use_scratch_for_source(const vec4_instruction * inst,unsigned i,unsigned scratch_reg) argument
512 unsigned scratch_reg = ~0u; local in function:brw::vec4_visitor::spill_reg
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_vec4_reg_allocate.cpp250 * - When we call this function from spill_reg(), we pass in scratch_reg the
257 * In either case, we check if the previous instructions read scratch_reg until
259 * scratch_reg at all.
263 unsigned scratch_reg)
268 /* See if any previous source in the same instructions reads scratch_reg */
270 if (inst->src[n].file == VGRF && inst->src[n].nr == scratch_reg)
274 /* Now check if previous instructions read/write scratch_reg */
279 /* If the previous instruction writes to scratch_reg then we can reuse
283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) {
290 * other registers (that won't read/write scratch_reg) d
262 can_use_scratch_for_source(const vec4_instruction * inst,unsigned i,unsigned scratch_reg) argument
472 unsigned scratch_reg = ~0u; local in function:brw::vec4_visitor::spill_reg
[all...]

Completed in 3 milliseconds