Lines Matching defs:src
49 struct ir3_register *src = instr->srcs[0];
59 if (src->flags & (IR3_REG_RELATIV | IR3_REG_ARRAY))
62 /* Check that the source of the conv matches the type of the src
107 * uses of *all* conv's that used that src to be a simple mov that
112 rewrite_src_uses(struct ir3_instruction *src)
114 foreach_ssa_use (use, src) {
117 if (is_half(src)) {
130 struct ir3_instruction *src;
136 src = ssa(conv->srcs[0]);
137 if (!src)
140 if (!is_alu(src))
144 type_t base_type = ir3_output_conv_type(src, &can_fold);
148 type_t src_type = ir3_output_conv_src_type(src, base_type);
149 type_t dst_type = ir3_output_conv_dst_type(src, base_type);
158 if (!all_uses_safe_conv(src, src_type))
161 ir3_set_dst_type(src, is_half(conv));
162 rewrite_src_uses(src);