Lines Matching refs:src
168 * src and dst that touch multiple adjacent registers.
204 /* For IR3_REG_SSA, src registers contain ptr back to assigning
445 * it's src/dst registers. Beyond that, you need to insert mov's.
516 * but other dependent src instructions cannot be scheduled due
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)
842 unsigned src_type = (src->flags & IR3_REG_HALF);
848 ((dst->flags & IR3_REG_SHARED) && !(src->flags & IR3_REG_SHARED)))
856 * treated as a mov (single src argument).
867 /* If the type of dest reg and src reg are different,
877 /* If the type of dest reg and src reg are different,
1036 * interpolation.. fortunately inloc is the first src
1438 /* neg *may* work on 3rd src.. */
1524 /* Return the src and dst types for the conversion which is already folded
1600 /* iterator for an instructions's sources (reg), also returns src #: */
1657 /* iterator for an instruction's SSA sources (instr), also returns src #: */
1906 /* creates SSA src of correct type (ie. half vs full precision) */
1908 __ssa_src(struct ir3_instruction *instr, struct ir3_instruction *src,
1912 if (src->dsts[0]->flags & IR3_REG_HALF)
1915 reg->def = src->dsts[0];
1916 reg->wrmask = src->dsts[0]->wrmask;
1988 ir3_MOV(struct ir3_block *block, struct ir3_instruction *src, type_t type)
1994 if (src->dsts[0]->flags & IR3_REG_ARRAY) {
1995 struct ir3_register *src_reg = __ssa_src(instr, src, IR3_REG_ARRAY);
1996 src_reg->array = src->dsts[0]->array;
1998 __ssa_src(instr, src, src->dsts[0]->flags & IR3_REG_SHARED);
2000 assert(!(src->dsts[0]->flags & IR3_REG_RELATIV));
2007 ir3_COV(struct ir3_block *block, struct ir3_instruction *src, type_t src_type,
2014 assert((src->dsts[0]->flags & IR3_REG_HALF) == src_flags);
2017 __ssa_src(instr, src, 0);
2020 assert(!(src->dsts[0]->flags & IR3_REG_ARRAY));
2037 ir3_BALLOT_MACRO(struct ir3_block *block, struct ir3_instruction *src,
2047 __ssa_src(instr, src, 0);
2239 /* cat2 instructions, most 2 src but some 1 src: */