Lines Matching refs:op_num

301 static bool ir_has_tmp(ir_ctx *ctx, ir_ref ref, int32_t op_num)  in ir_has_tmp()  argument
307 if (ival->tmp_ref == ref && ival->tmp_op_num == op_num) { in ir_has_tmp()
352 IR_ALWAYS_INLINE void ir_add_use(ir_ctx *ctx, ir_live_interval *ival, int op_num, ir_live_pos pos, … in ir_add_use() argument
357 use_pos->op_num = op_num; in ir_add_use()
373 static void ir_add_phi_use(ir_ctx *ctx, ir_live_interval *ival, int op_num, ir_live_pos pos, ir_ref… in ir_add_phi_use() argument
379 use_pos->op_num = op_num; in ir_add_phi_use()
421 if (use_pos->op_num == 0) { in ir_hint_propagation()
451 if (use_pos->op_num) { in ir_add_osr_entry_loads()
453 ref = ops[use_pos->op_num]; in ir_add_osr_entry_loads()
1107 if (use_pos->op_num) { in ir_add_osr_entry_loads()
1109 ref = ops[use_pos->op_num]; in ir_add_osr_entry_loads()
1608 (use_pos->op_num == 0 || (*prev)->op_num < use_pos->op_num)))) { in ir_vregs_join()
1736 p->op_num = 1; in ir_swap_operands()
1770 p->op_num = 2; in ir_swap_operands()
2334 if (p && p->pos == pos && p->op_num != 0) { in ir_first_use_pos_after()
3196 IR_ASSERT(ival->use_pos && ival->use_pos->op_num == 0); in ir_allocate_blocked_reg()
3278 IR_ASSERT(ival->use_pos && ival->use_pos->op_num == 0); in ir_allocate_blocked_reg()
3403 IR_ASSERT(!ival->next && use_pos && use_pos->op_num == 0); in ir_ival_spill_for_fuse_load()
3844 && use_pos->op_num == 1 in needs_spill_load()
3850 return use_pos->next && use_pos->next->op_num != 0; in needs_spill_load()
3892 ir_set_alocated_reg(ctx, ref, use_pos->op_num, reg); in assign_regs()
3917 ir_set_alocated_reg(ctx, ref, use_pos->op_num, reg); in assign_regs()
3936 if (use_pos->op_num == 0) { in assign_regs()
3943 ir_set_alocated_reg(ctx, ref, use_pos->op_num, reg); in assign_regs()
3981 && use_pos->op_num == 1 in assign_regs()
3988 ir_set_alocated_reg(ctx, ref, use_pos->op_num, reg); in assign_regs()
4007 … && (old_reg = ir_get_alocated_reg(ctx, -use_pos->hint_ref, use_pos->op_num)) != IR_REG_NONE) { in assign_regs()
4016 ir_set_fused_reg(ctx, ref, -use_pos->hint_ref * sizeof(ir_ref) + use_pos->op_num, reg); in assign_regs()
4030 … && (old_reg = ir_get_alocated_reg(ctx, -use_pos->hint_ref, use_pos->op_num)) != IR_REG_NONE) { in assign_regs()
4034 ir_set_fused_reg(ctx, ref, -use_pos->hint_ref * sizeof(ir_ref) + use_pos->op_num, reg); in assign_regs()
4044 ir_set_alocated_reg(ctx, ref, use_pos->op_num, reg); in assign_regs()
4056 ir_set_alocated_reg(ctx, ref, use_pos->op_num, reg); in assign_regs()