Lines Matching refs:src_reg
313 struct ir3_register *src_reg = src->regs[1]; in reg_cp() local
321 reg->array = src_reg->array; in reg_cp()
324 reg->instr = ssa(src_reg); in reg_cp()
338 struct ir3_register *src_reg = src->regs[1]; in reg_cp() local
345 if (lower_immed(ctx, instr, n, src_reg, new_flags)) in reg_cp()
370 if (src_reg->flags & IR3_REG_CONST) { in reg_cp()
374 if ((src_reg->flags & IR3_REG_RELATIV) && in reg_cp()
383 (src_reg->flags & IR3_REG_RELATIV) && in reg_cp()
384 (src_reg->array.offset == 0)) in reg_cp()
398 src_reg = ir3_reg_clone(instr->block->shader, src_reg); in reg_cp()
399 src_reg->flags = new_flags; in reg_cp()
400 instr->regs[n+1] = src_reg; in reg_cp()
402 if (src_reg->flags & IR3_REG_RELATIV) in reg_cp()
408 if ((src_reg->flags & IR3_REG_RELATIV) && in reg_cp()
410 src_reg = ir3_reg_clone(instr->block->shader, src_reg); in reg_cp()
411 src_reg->flags = new_flags; in reg_cp()
412 instr->regs[n+1] = src_reg; in reg_cp()
426 if (src_reg->flags & IR3_REG_IMMED) { in reg_cp()
427 int32_t iim_val = src_reg->iim_val; in reg_cp()
448 src_reg = ir3_reg_clone(instr->block->shader, src_reg); in reg_cp()
449 src_reg->flags = new_flags; in reg_cp()
450 src_reg->iim_val = iim_val; in reg_cp()
451 instr->regs[n+1] = src_reg; in reg_cp()
454 } else if (lower_immed(ctx, instr, n, src_reg, new_flags)) { in reg_cp()