Lines Matching refs:ir3_instruction
61 is_eligible_mov(struct ir3_instruction *instr, in is_eligible_mov()
62 struct ir3_instruction *dst_instr, bool allow_flags) in is_eligible_mov()
67 struct ir3_instruction *src_instr = ssa(src); in is_eligible_mov()
100 is_foldable_double_cmp(struct ir3_instruction *cmp) in is_foldable_double_cmp()
102 struct ir3_instruction *cond = ssa(cmp->srcs[0]); in is_foldable_double_cmp()
114 combine_flags(unsigned *dstflags, struct ir3_instruction *src) in combine_flags()
150 struct ir3_instruction *srcsrc = ssa(src->srcs[0]); in combine_flags()
160 lower_immed(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr, unsigned n, in lower_immed()
249 unuse(struct ir3_instruction *instr) in unuse()
274 try_swap_mad_two_srcs(struct ir3_instruction *instr, unsigned new_flags) in try_swap_mad_two_srcs()
314 reg_cp(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr, in reg_cp()
317 struct ir3_instruction *src = ssa(reg); in reg_cp()
494 static struct ir3_instruction *
495 eliminate_output_mov(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr) in eliminate_output_mov()
500 struct ir3_instruction *src_instr = ssa(reg); in eliminate_output_mov()
514 instr_cp(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr) in instr_cp()
527 struct ir3_instruction *src = ssa(reg); in instr_cp()
583 struct ir3_instruction *cond = ssa(instr->srcs[0]); in instr_cp()
617 struct ir3_instruction *samp_tex = ssa(instr->srcs[0]); in instr_cp()