Lines Matching refs:ots

4573 static void tcg_reg_alloc_do_movi(TCGContext *s, TCGTemp *ots,  in tcg_reg_alloc_do_movi()  argument
4578 tcg_debug_assert(!temp_readonly(ots)); in tcg_reg_alloc_do_movi()
4581 set_temp_val_nonreg(s, ots, TEMP_VAL_CONST); in tcg_reg_alloc_do_movi()
4582 ots->val = val; in tcg_reg_alloc_do_movi()
4583 ots->mem_coherent = 0; in tcg_reg_alloc_do_movi()
4585 temp_sync(s, ots, s->reserved_regs, preferred_regs, IS_DEAD_ARG(0)); in tcg_reg_alloc_do_movi()
4587 temp_dead(s, ots); in tcg_reg_alloc_do_movi()
4598 TCGTemp *ts, *ots; in tcg_reg_alloc_mov() local
4604 ots = arg_temp(op->args[0]); in tcg_reg_alloc_mov()
4608 tcg_debug_assert(!temp_readonly(ots)); in tcg_reg_alloc_mov()
4611 otype = ots->type; in tcg_reg_alloc_mov()
4620 tcg_reg_alloc_do_movi(s, ots, val, arg_life, preferred_regs); in tcg_reg_alloc_mov()
4639 if (!ots->mem_allocated) { in tcg_reg_alloc_mov()
4640 temp_allocate_frame(s, ots); in tcg_reg_alloc_mov()
4642 tcg_out_st(s, otype, ireg, ots->mem_base->reg, ots->mem_offset); in tcg_reg_alloc_mov()
4646 temp_dead(s, ots); in tcg_reg_alloc_mov()
4659 if (ots->val_type == TEMP_VAL_REG) { in tcg_reg_alloc_mov()
4660 oreg = ots->reg; in tcg_reg_alloc_mov()
4665 preferred_regs, ots->indirect_base); in tcg_reg_alloc_mov()
4673 assert(!temp_readonly(ots)); in tcg_reg_alloc_mov()
4675 temp_allocate_frame(s, ots); in tcg_reg_alloc_mov()
4677 tcg_out_st(s, ts->type, ireg, ots->mem_base->reg, ots->mem_offset); in tcg_reg_alloc_mov()
4679 ots->mem_coherent = 1; in tcg_reg_alloc_mov()
4683 set_temp_val_reg(s, ots, oreg); in tcg_reg_alloc_mov()
4684 ots->mem_coherent = 0; in tcg_reg_alloc_mov()
4687 temp_sync(s, ots, allocated_regs, 0, 0); in tcg_reg_alloc_mov()
4698 TCGTemp *its, *ots; in tcg_reg_alloc_dup() local
4704 ots = arg_temp(op->args[0]); in tcg_reg_alloc_dup()
4708 tcg_debug_assert(!temp_readonly(ots)); in tcg_reg_alloc_dup()
4720 tcg_reg_alloc_do_movi(s, ots, val, arg_life, output_pref(op, 0)); in tcg_reg_alloc_dup()
4728 if (ots->val_type != TEMP_VAL_REG) { in tcg_reg_alloc_dup()
4737 output_pref(op, 0), ots->indirect_base); in tcg_reg_alloc_dup()
4738 set_temp_val_reg(s, ots, oreg); in tcg_reg_alloc_dup()
4749 if (tcg_out_dup_vec(s, vtype, vece, ots->reg, its->reg)) { in tcg_reg_alloc_dup()
4760 if (tcg_out_mov(s, itype, ots->reg, its->reg)) { in tcg_reg_alloc_dup()
4773 if (tcg_out_dupm_vec(s, vtype, vece, ots->reg, its->mem_base->reg, in tcg_reg_alloc_dup()
4778 tcg_out_ld(s, itype, ots->reg, its->mem_base->reg, its->mem_offset); in tcg_reg_alloc_dup()
4786 ok = tcg_out_dup_vec(s, vtype, vece, ots->reg, ots->reg); in tcg_reg_alloc_dup()
4790 ots->mem_coherent = 0; in tcg_reg_alloc_dup()
4795 temp_sync(s, ots, s->reserved_regs, 0, 0); in tcg_reg_alloc_dup()
4798 temp_dead(s, ots); in tcg_reg_alloc_dup()
5205 TCGTemp *ots, *itsl, *itsh; in tcg_reg_alloc_dup2() local
5212 ots = arg_temp(op->args[0]); in tcg_reg_alloc_dup2()
5217 tcg_debug_assert(!temp_readonly(ots)); in tcg_reg_alloc_dup2()
5220 if (ots->val_type != TEMP_VAL_REG) { in tcg_reg_alloc_dup2()
5235 output_pref(op, 0), ots->indirect_base); in tcg_reg_alloc_dup2()
5236 set_temp_val_reg(s, ots, oreg); in tcg_reg_alloc_dup2()
5252 tcg_out_dupi_vec(s, vtype, vece, ots->reg, val); in tcg_reg_alloc_dup2()
5265 if (tcg_out_dupm_vec(s, vtype, MO_64, ots->reg, in tcg_reg_alloc_dup2()
5275 ots->mem_coherent = 0; in tcg_reg_alloc_dup2()
5283 temp_sync(s, ots, s->reserved_regs, 0, IS_DEAD_ARG(0)); in tcg_reg_alloc_dup2()
5285 temp_dead(s, ots); in tcg_reg_alloc_dup2()