Lines Matching defs:dst
168 * src and dst that touch multiple adjacent registers.
199 /* For IR3_REG_SSA, dst registers contain pointer back to the instruction
445 * it's src/dst registers. Beyond that, you need to insert mov's.
728 ir3_reg_tie(struct ir3_register *dst, struct ir3_register *src)
730 assert(!dst->tied && !src->tied);
731 dst->tied = src;
732 src->tied = dst;
839 is_same_type_reg(struct ir3_register *dst, struct ir3_register *src)
841 unsigned dst_type = (dst->flags & IR3_REG_HALF);
848 ((dst->flags & IR3_REG_SHARED) && !(src->flags & IR3_REG_SHARED)))
861 struct ir3_register *dst;
889 dst = instr->dsts[0];
892 if (dst->num == regid(REG_P0, 0))
894 if (reg_num(dst) == REG_A0)
897 if (dst->flags & (IR3_REG_RELATIV | IR3_REG_ARRAY))
1167 /* is dst a normal temp register: */
1169 is_dest_gpr(struct ir3_register *dst)
1171 if (dst->wrmask == 0)
1173 if ((reg_num(dst) == REG_A0) || (dst->num == regid(REG_P0, 0)))
1191 struct ir3_register *dst = instr->dsts[0];
1192 return dst->num == regid(REG_A0, 0);
1202 struct ir3_register *dst = instr->dsts[0];
1203 return dst->num == regid(REG_A0, 1);
1213 struct ir3_register *dst = instr->dsts[0];
1214 return reg_num(dst) == REG_P0;
1524 /* Return the src and dst types for the conversion which is already folded
1612 /* iterator for an instructions's destinations (reg), also returns dst #: */
1743 foreach_dst (dst, instr) {
1744 if (dst->flags & IR3_REG_SHARED)
2029 struct ir3_register *dst = __ssa_dst(instr);
2030 dst->flags |= IR3_REG_SHARED;
2031 dst->wrmask = (1 << components) - 1;
2043 struct ir3_register *dst = __ssa_dst(instr);
2044 dst->flags |= IR3_REG_SHARED;
2045 dst->wrmask = (1 << components) - 1;
2545 regmask_or(regmask_t *dst, regmask_t *a, regmask_t *b)
2547 assert(dst->mergedregs == a->mergedregs);
2548 assert(dst->mergedregs == b->mergedregs);
2550 for (unsigned i = 0; i < ARRAY_SIZE(dst->mask); i++)
2551 dst->mask[i] = a->mask[i] | b->mask[i];
2555 regmask_or_shared(regmask_t *dst, regmask_t *a, regmask_t *b)
2566 for (unsigned i = 0; i < ARRAY_SIZE(dst->mask); i++)
2567 dst->mask[i] = a->mask[i] | (b->mask[i] & shared_mask[i]);