Searched refs:scan_inst (Results 1 – 2 of 2) sorted by relevance
1289 for (fs_inst *scan_inst = (fs_inst *)inst->next; in propagate_constants() local1290 !scan_inst->is_tail_sentinel(); in propagate_constants()1291 scan_inst = (fs_inst *)scan_inst->next) { in propagate_constants()1292 if (scan_inst->opcode == BRW_OPCODE_DO || in propagate_constants()1293 scan_inst->opcode == BRW_OPCODE_WHILE || in propagate_constants()1294 scan_inst->opcode == BRW_OPCODE_ELSE || in propagate_constants()1295 scan_inst->opcode == BRW_OPCODE_ENDIF) { in propagate_constants()1300 if (scan_inst->src[i].file != GRF || in propagate_constants()1301 scan_inst->src[i].reg != inst->dst.reg || in propagate_constants()1302 scan_inst->src[i].reg_offset != inst->dst.reg_offset) in propagate_constants()[all …]
756 vec4_instruction *scan_inst; in opt_compute_to_mrf() local757 for (scan_inst = (vec4_instruction *)inst->prev; in opt_compute_to_mrf()758 scan_inst->prev != NULL; in opt_compute_to_mrf()759 scan_inst = (vec4_instruction *)scan_inst->prev) { in opt_compute_to_mrf()760 if (scan_inst->dst.file == GRF && in opt_compute_to_mrf()761 scan_inst->dst.reg == inst->src[0].reg && in opt_compute_to_mrf()762 scan_inst->dst.reg_offset == inst->src[0].reg_offset) { in opt_compute_to_mrf()768 if (scan_inst->mlen) in opt_compute_to_mrf()775 if (scan_inst->is_math()) { in opt_compute_to_mrf()781 if (!scan_inst->predicate) { in opt_compute_to_mrf()[all …]