Lines Matching refs:ots
5013 static void tcg_reg_alloc_do_movi(TCGContext *s, TCGTemp *ots, in tcg_reg_alloc_do_movi() argument
5018 tcg_debug_assert(!temp_readonly(ots)); in tcg_reg_alloc_do_movi()
5021 set_temp_val_nonreg(s, ots, TEMP_VAL_CONST); in tcg_reg_alloc_do_movi()
5022 ots->val = val; in tcg_reg_alloc_do_movi()
5023 ots->mem_coherent = 0; in tcg_reg_alloc_do_movi()
5025 temp_sync(s, ots, s->reserved_regs, preferred_regs, IS_DEAD_ARG(0)); in tcg_reg_alloc_do_movi()
5027 temp_dead(s, ots); in tcg_reg_alloc_do_movi()
5038 TCGTemp *ts, *ots; in tcg_reg_alloc_mov() local
5044 ots = arg_temp(op->args[0]); in tcg_reg_alloc_mov()
5048 tcg_debug_assert(!temp_readonly(ots)); in tcg_reg_alloc_mov()
5051 otype = ots->type; in tcg_reg_alloc_mov()
5060 tcg_reg_alloc_do_movi(s, ots, val, arg_life, preferred_regs); in tcg_reg_alloc_mov()
5079 if (!ots->mem_allocated) { in tcg_reg_alloc_mov()
5080 temp_allocate_frame(s, ots); in tcg_reg_alloc_mov()
5082 tcg_out_st(s, otype, ireg, ots->mem_base->reg, ots->mem_offset); in tcg_reg_alloc_mov()
5086 temp_dead(s, ots); in tcg_reg_alloc_mov()
5099 if (ots->val_type == TEMP_VAL_REG) { in tcg_reg_alloc_mov()
5100 oreg = ots->reg; in tcg_reg_alloc_mov()
5105 preferred_regs, ots->indirect_base); in tcg_reg_alloc_mov()
5113 assert(!temp_readonly(ots)); in tcg_reg_alloc_mov()
5115 temp_allocate_frame(s, ots); in tcg_reg_alloc_mov()
5117 tcg_out_st(s, ts->type, ireg, ots->mem_base->reg, ots->mem_offset); in tcg_reg_alloc_mov()
5119 ots->mem_coherent = 1; in tcg_reg_alloc_mov()
5123 set_temp_val_reg(s, ots, oreg); in tcg_reg_alloc_mov()
5124 ots->mem_coherent = 0; in tcg_reg_alloc_mov()
5127 temp_sync(s, ots, allocated_regs, 0, 0); in tcg_reg_alloc_mov()
5139 TCGTemp *its, *ots; in tcg_reg_alloc_dup() local
5145 ots = arg_temp(op->args[0]); in tcg_reg_alloc_dup()
5149 tcg_debug_assert(!temp_readonly(ots)); in tcg_reg_alloc_dup()
5161 tcg_reg_alloc_do_movi(s, ots, val, arg_life, output_pref(op, 0)); in tcg_reg_alloc_dup()
5170 if (ots->val_type != TEMP_VAL_REG) { in tcg_reg_alloc_dup()
5179 output_pref(op, 0), ots->indirect_base); in tcg_reg_alloc_dup()
5180 set_temp_val_reg(s, ots, oreg); in tcg_reg_alloc_dup()
5191 if (tcg_out_dup_vec(s, vtype, vece, ots->reg, its->reg)) { in tcg_reg_alloc_dup()
5202 if (tcg_out_mov(s, itype, ots->reg, its->reg)) { in tcg_reg_alloc_dup()
5215 if (tcg_out_dupm_vec(s, vtype, vece, ots->reg, its->mem_base->reg, in tcg_reg_alloc_dup()
5220 tcg_out_ld(s, itype, ots->reg, its->mem_base->reg, its->mem_offset); in tcg_reg_alloc_dup()
5228 ok = tcg_out_dup_vec(s, vtype, vece, ots->reg, ots->reg); in tcg_reg_alloc_dup()
5232 ots->mem_coherent = 0; in tcg_reg_alloc_dup()
5237 temp_sync(s, ots, s->reserved_regs, 0, 0); in tcg_reg_alloc_dup()
5240 temp_dead(s, ots); in tcg_reg_alloc_dup()
5956 TCGTemp *ots, *itsl, *itsh; in tcg_reg_alloc_dup2() local
5963 ots = arg_temp(op->args[0]); in tcg_reg_alloc_dup2()
5968 tcg_debug_assert(!temp_readonly(ots)); in tcg_reg_alloc_dup2()
5971 if (ots->val_type != TEMP_VAL_REG) { in tcg_reg_alloc_dup2()
5985 output_pref(op, 0), ots->indirect_base); in tcg_reg_alloc_dup2()
5986 set_temp_val_reg(s, ots, oreg); in tcg_reg_alloc_dup2()
6002 tcg_out_dupi_vec(s, vtype, vece, ots->reg, val); in tcg_reg_alloc_dup2()
6015 if (tcg_out_dupm_vec(s, vtype, MO_64, ots->reg, in tcg_reg_alloc_dup2()
6025 ots->mem_coherent = 0; in tcg_reg_alloc_dup2()
6033 temp_sync(s, ots, s->reserved_regs, 0, IS_DEAD_ARG(0)); in tcg_reg_alloc_dup2()
6035 temp_dead(s, ots); in tcg_reg_alloc_dup2()