Lines Matching refs:ains
195 mir_is_scalar(midgard_instruction *ains) in mir_is_scalar() argument
198 if (!is_single_component_mask(ains->mask)) in mir_is_scalar()
203 unsigned szd = nir_alu_type_get_type_size(ains->dest_type); in mir_is_scalar()
204 unsigned sz0 = nir_alu_type_get_type_size(ains->src_types[0]); in mir_is_scalar()
205 unsigned sz1 = nir_alu_type_get_type_size(ains->src_types[1]); in mir_is_scalar()
210 if (ains->src[0] != ~0) in mir_is_scalar()
213 if (ains->src[1] != ~0) in mir_is_scalar()
216 if (midgard_is_integer_out_op(ains->op) && ains->outmod != midgard_outmod_int_wrap) in mir_is_scalar()
225 bytes_for_instruction(midgard_instruction *ains) in bytes_for_instruction() argument
227 if (ains->unit & UNITS_ANY_VECTOR) in bytes_for_instruction()
229 else if (ains->unit == ALU_ENAB_BRANCH) in bytes_for_instruction()
231 else if (ains->compact_branch) in bytes_for_instruction()