Lines Matching defs:prev

671 	struct r600_bytecode_alu *prev[5];
676 r = assign_alu_units(bc, alu_prev, prev);
681 if (prev[i] && alu_writes(prev[i]) && !prev[i]->dst.rel) {
683 if (is_alu_64bit_inst(prev[i])) {
688 gpr[i] = prev[i]->dst.sel;
690 if (is_alu_reduction_inst(bc, prev[i]))
693 chan[i] = prev[i]->dst.chan;
808 struct r600_bytecode_alu *prev[5];
821 r = assign_alu_units(bc, alu_prev, prev);
826 if (prev[i]) {
827 if (prev[i]->pred_sel)
829 if (is_alu_once_inst(prev[i]))
832 if (prev[i]->op == ALU_OP1_INTERP_LOAD_P0)
834 if (prev[i]->op == ALU_OP2_INTERP_X)
836 if (prev[i]->op == ALU_OP2_INTERP_Z)
862 if (prev[i]) {
863 if (r600_bytecode_alu_nliterals(prev[i], literal, &nliteral))
865 if (r600_bytecode_alu_nliterals(prev[i], prev_literal, &prev_nliteral))
867 if (is_alu_mova_inst(prev[i])) {
873 if (alu_uses_rel(prev[i])) {
879 if (alu_uses_lds(prev[i]))
882 num_once_inst += is_alu_once_inst(prev[i]);
888 if (prev[i] && !slots[i]) {
889 result[i] = prev[i];
891 } else if (prev[i] && slots[i]) {
892 if (max_slots == 5 && result[4] == NULL && prev[4] == NULL && slots[4] == NULL) {
895 result[i] = prev[i];
897 } else if (is_alu_any_unit_inst(bc, prev[i])) {
898 if (slots[i]->dst.sel == prev[i]->dst.sel &&
900 alu_writes(prev[i]))
904 result[4] = prev[i];
912 if (max_slots == 5 && slots[i] && prev[4] &&
913 slots[i]->dst.sel == prev[4]->dst.sel &&
914 slots[i]->dst.chan == prev[4]->dst.chan &&
916 alu_writes(prev[4]))
956 if (!prev[j] || !alu_writes(prev[j]))
960 if (prev[j]->dst.chan == alu->src[src].chan &&
961 (prev[j]->dst.sel == alu->src[src].sel ||
962 prev[j]->dst.rel || alu->src[src].rel))
993 list_entry(bc->cf_last->alu.prev, struct r600_bytecode_alu, list)->last = 1;