Lines Matching defs:instr
29 is_safe_conv(struct ir3_instruction *instr, type_t src_type, opc_t *src_opc)
31 if (instr->opc != OPC_MOV)
37 if (type_size(instr->cat1.src_type) == type_size(instr->cat1.dst_type) ||
38 full_type(instr->cat1.src_type) != full_type(instr->cat1.dst_type))
45 type_size(instr->cat1.src_type) == 16)
48 struct ir3_register *dst = instr->dsts[0];
49 struct ir3_register *src = instr->srcs[0];
54 if (instr->cat1.round != ROUND_ZERO)
65 if (src_type == instr->cat1.src_type)
71 if (type_float(src_type) != type_float(instr->cat1.src_type))
77 if (type_size(instr->cat1.dst_type) < type_size(instr->cat1.src_type))
176 foreach_instr (instr, &block->instr_list) {
177 progress |= try_conversion_folding(instr);