Searched refs:prev_inst (Results 1 – 6 of 6) sorted by relevance
52 backend_instruction *const prev_inst = prev_block->end(); in dead_control_flow_eliminate() local58 prev_inst->opcode == BRW_OPCODE_ELSE) { in dead_control_flow_eliminate()60 backend_instruction *const else_inst = prev_inst; in dead_control_flow_eliminate()65 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()102 prev_inst->opcode == BRW_OPCODE_IF) { in dead_control_flow_eliminate()104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate()
275 for (vec4_instruction *prev_inst = (vec4_instruction *) inst->prev; in can_use_scratch_for_source() local276 !prev_inst->is_head_sentinel(); in can_use_scratch_for_source()277 prev_inst = (vec4_instruction *) prev_inst->prev) { in can_use_scratch_for_source()283 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()284 return (!prev_inst->predicate || prev_inst->opcode == BRW_OPCODE_SEL) && in can_use_scratch_for_source()286 ~prev_inst->dst.writemask) == 0; in can_use_scratch_for_source()293 if (prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_WRITE || in can_use_scratch_for_source()294 prev_inst->opcode == SHADER_OPCODE_GFX4_SCRATCH_READ) in can_use_scratch_for_source()302 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()303 prev_inst->src[n].nr == scratch_reg) { in can_use_scratch_for_source()
3568 fs_inst *prev_inst = last_mrf_move[inst->dst.nr]; in remove_duplicate_mrf_writes() local3569 if (prev_inst && prev_inst->opcode == BRW_OPCODE_MOV && in remove_duplicate_mrf_writes()3570 inst->dst.equals(prev_inst->dst) && in remove_duplicate_mrf_writes()3571 inst->src[0].equals(prev_inst->src[0]) && in remove_duplicate_mrf_writes()3572 inst->saturate == prev_inst->saturate && in remove_duplicate_mrf_writes()3573 inst->predicate == prev_inst->predicate && in remove_duplicate_mrf_writes()3574 inst->conditional_mod == prev_inst->conditional_mod && in remove_duplicate_mrf_writes()3575 inst->exec_size == prev_inst->exec_size) { in remove_duplicate_mrf_writes()
1021 struct schedule_node *prev_inst) in choose_instruction_to_schedule() argument1029 if (prev_inst) { in choose_instruction_to_schedule()1030 if (prev_inst->inst->qpu.sig.thrsw) in choose_instruction_to_schedule()1124 if (prev_inst) { in choose_instruction_to_schedule()1131 if (prev_inst->inst->uniform != -1 && in choose_instruction_to_schedule()1140 if (vir_has_uniform(prev_inst->inst) && in choose_instruction_to_schedule()1145 if ((prev_inst->inst->qpu.sig.ldunifa || in choose_instruction_to_schedule()1146 prev_inst->inst->qpu.sig.ldunifarf) && in choose_instruction_to_schedule()1172 &prev_inst->inst->qpu, inst)) { in choose_instruction_to_schedule()1181 if (prev_inst) in choose_instruction_to_schedule()[all …]
1872 struct qinst *prev_inst = NULL; in try_opt_ldunif() local1895 prev_inst = inst; in try_opt_ldunif()1903 if (!prev_inst) in try_opt_ldunif()1907 list_for_each_entry_from(struct qinst, inst, prev_inst->link.next, in try_opt_ldunif()1909 if (inst->dst.file == prev_inst->dst.file && in try_opt_ldunif()1910 inst->dst.index == prev_inst->dst.index) { in try_opt_ldunif()1915 *unif = prev_inst->dst; in try_opt_ldunif()
552 struct schedule_node *prev_inst) in choose_instruction_to_schedule() argument560 if (prev_inst) { in choose_instruction_to_schedule()561 uint32_t prev_sig = QPU_GET_FIELD(prev_inst->inst->inst, in choose_instruction_to_schedule()602 if (prev_inst) { in choose_instruction_to_schedule()611 if (prev_inst->uniform != -1 && n->uniform != -1) in choose_instruction_to_schedule()622 inst = qpu_merge_inst(prev_inst->inst->inst, inst); in choose_instruction_to_schedule()