Lines Matching refs:ir3_instruction
56 static bool is_eligible_mov(struct ir3_instruction *instr, in is_eligible_mov()
57 struct ir3_instruction *dst_instr, bool allow_flags) in is_eligible_mov()
62 struct ir3_instruction *src_instr = ssa(src); in is_eligible_mov()
106 static void combine_flags(unsigned *dstflags, struct ir3_instruction *src) in combine_flags()
142 struct ir3_instruction *srcsrc = ssa(src->regs[1]); in combine_flags()
152 lower_immed(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr, unsigned n, in lower_immed()
241 unuse(struct ir3_instruction *instr) in unuse()
266 try_swap_mad_two_srcs(struct ir3_instruction *instr, unsigned new_flags) in try_swap_mad_two_srcs()
306 reg_cp(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr, in reg_cp()
309 struct ir3_instruction *src = ssa(reg); in reg_cp()
469 static struct ir3_instruction *
470 eliminate_output_mov(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr) in eliminate_output_mov()
475 struct ir3_instruction *src_instr = ssa(reg); in eliminate_output_mov()
489 instr_cp(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr) in instr_cp()
502 struct ir3_instruction *src = ssa(reg); in instr_cp()
525 struct ir3_instruction *src = ssa(instr->regs[0]); in instr_cp()
550 struct ir3_instruction *cond = ssa(instr->regs[1]); in instr_cp()
583 struct ir3_instruction *samp_tex = ssa(instr->regs[1]); in instr_cp()
587 struct ir3_instruction *samp = ssa(samp_tex->regs[1]); in instr_cp()
588 struct ir3_instruction *tex = ssa(samp_tex->regs[2]); in instr_cp()