Lines Matching refs:TCGTemp
1799 static TCGTemp *tcg_global_reg_new_internal(TCGContext *s, TCGType type,
1806 TCGTemp *ts; in tcg_context_init()
1995 static TCGTemp *tcg_temp_alloc(TCGContext *s) in tcg_temp_alloc()
2002 return memset(&s->temps[n], 0, sizeof(TCGTemp)); in tcg_temp_alloc()
2005 static TCGTemp *tcg_global_alloc(TCGContext *s) in tcg_global_alloc()
2007 TCGTemp *ts; in tcg_global_alloc()
2018 static TCGTemp *tcg_global_reg_new_internal(TCGContext *s, TCGType type, in tcg_global_reg_new_internal()
2021 TCGTemp *ts; in tcg_global_reg_new_internal()
2044 static TCGTemp *tcg_global_mem_new_internal(TCGv_ptr base, intptr_t offset, in tcg_global_mem_new_internal()
2048 TCGTemp *base_ts = tcgv_ptr_temp(base); in tcg_global_mem_new_internal()
2049 TCGTemp *ts = tcg_global_alloc(s); in tcg_global_mem_new_internal()
2068 TCGTemp *ts2 = tcg_global_alloc(s); in tcg_global_mem_new_internal()
2106 TCGTemp *ts = tcg_global_mem_new_internal(reg, off, name, TCG_TYPE_I32); in tcg_global_mem_new_i32()
2112 TCGTemp *ts = tcg_global_mem_new_internal(reg, off, name, TCG_TYPE_I64); in tcg_global_mem_new_i64()
2118 TCGTemp *ts = tcg_global_mem_new_internal(reg, off, name, TCG_TYPE_PTR); in tcg_global_mem_new_ptr()
2122 TCGTemp *tcg_temp_new_internal(TCGType type, TCGTempKind kind) in tcg_temp_new_internal()
2125 TCGTemp *ts; in tcg_temp_new_internal()
2173 TCGTemp *ts2 = tcg_temp_alloc(s); in tcg_temp_new_internal()
2228 TCGTemp *t; in tcg_temp_new_vec()
2253 TCGTemp *t = tcgv_vec_temp(match); in tcg_temp_new_vec_matching()
2261 void tcg_temp_free_internal(TCGTemp *ts) in tcg_temp_free_internal()
2306 TCGTemp *tcg_constant_internal(TCGType type, int64_t val) in tcg_constant_internal()
2310 TCGTemp *ts; in tcg_constant_internal()
2324 TCGTemp *ts2 = tcg_temp_alloc(s); in tcg_constant_internal()
2389 TCGTemp *t = tcgv_vec_temp(match); in tcg_constant_vec_matching()
2396 size_t temp_idx(TCGTemp *ts) in temp_idx()
2403 TCGTemp *tcgv_i32_temp(TCGv_i32 v) in tcgv_i32_temp()
2407 assert(o < sizeof(TCGTemp) * tcg_ctx->nb_temps); in tcgv_i32_temp()
2408 assert(o % sizeof(TCGTemp) == 0); in tcgv_i32_temp()
2618 TCGTemp *ret, TCGTemp **args) in tcg_gen_callN()
2665 TCGTemp *ts = args[loc->arg_idx] + loc->tmp_subindex; in tcg_gen_callN()
2710 void tcg_gen_call0(void *func, TCGHelperInfo *info, TCGTemp *ret) in tcg_gen_call0()
2715 void tcg_gen_call1(void *func, TCGHelperInfo *info, TCGTemp *ret, TCGTemp *t1) in tcg_gen_call1()
2720 void tcg_gen_call2(void *func, TCGHelperInfo *info, TCGTemp *ret, in tcg_gen_call2()
2721 TCGTemp *t1, TCGTemp *t2) in tcg_gen_call2()
2723 TCGTemp *args[2] = { t1, t2 }; in tcg_gen_call2()
2727 void tcg_gen_call3(void *func, TCGHelperInfo *info, TCGTemp *ret, in tcg_gen_call3()
2728 TCGTemp *t1, TCGTemp *t2, TCGTemp *t3) in tcg_gen_call3()
2730 TCGTemp *args[3] = { t1, t2, t3 }; in tcg_gen_call3()
2734 void tcg_gen_call4(void *func, TCGHelperInfo *info, TCGTemp *ret, in tcg_gen_call4()
2735 TCGTemp *t1, TCGTemp *t2, TCGTemp *t3, TCGTemp *t4) in tcg_gen_call4()
2737 TCGTemp *args[4] = { t1, t2, t3, t4 }; in tcg_gen_call4()
2741 void tcg_gen_call5(void *func, TCGHelperInfo *info, TCGTemp *ret, TCGTemp *t1, in tcg_gen_call5()
2742 TCGTemp *t2, TCGTemp *t3, TCGTemp *t4, TCGTemp *t5) in tcg_gen_call5()
2744 TCGTemp *args[5] = { t1, t2, t3, t4, t5 }; in tcg_gen_call5()
2748 void tcg_gen_call6(void *func, TCGHelperInfo *info, TCGTemp *ret, in tcg_gen_call6()
2749 TCGTemp *t1, TCGTemp *t2, TCGTemp *t3, in tcg_gen_call6()
2750 TCGTemp *t4, TCGTemp *t5, TCGTemp *t6) in tcg_gen_call6()
2752 TCGTemp *args[6] = { t1, t2, t3, t4, t5, t6 }; in tcg_gen_call6()
2756 void tcg_gen_call7(void *func, TCGHelperInfo *info, TCGTemp *ret, TCGTemp *t1, in tcg_gen_call7()
2757 TCGTemp *t2, TCGTemp *t3, TCGTemp *t4, in tcg_gen_call7()
2758 TCGTemp *t5, TCGTemp *t6, TCGTemp *t7) in tcg_gen_call7()
2760 TCGTemp *args[7] = { t1, t2, t3, t4, t5, t6, t7 }; in tcg_gen_call7()
2769 TCGTemp *ts = &s->temps[i]; in tcg_reg_alloc_start()
2797 TCGTemp *ts) in tcg_get_arg_str_ptr()
3773 static inline TCGRegSet *la_temp_pref(TCGTemp *ts) in la_temp_pref()
3781 static inline void la_reset_pref(TCGTemp *ts) in la_reset_pref()
3810 TCGTemp *ts = &s->temps[i]; in la_bb_end()
3856 TCGTemp *ts = &s->temps[i]; in la_bb_sync()
3895 TCGTemp *ts = &s->temps[i]; in la_cross_call()
3954 TCGTemp *ts = arg_temp(op->args[i]); in liveness_pass_0()
3972 TCGTemp *ts = &s->temps[i]; in liveness_pass_0()
4014 TCGTemp *ts; in liveness_pass_1()
4390 TCGTemp *its = &s->temps[i]; in liveness_pass_2()
4392 TCGTemp *dts = tcg_temp_alloc(s); in liveness_pass_2()
4405 TCGTemp *its = &s->temps[i]; in liveness_pass_2()
4415 TCGTemp *arg_ts, *dir_ts; in liveness_pass_2()
4510 TCGTemp *out_ts = dir_ts; in liveness_pass_2()
4562 static void temp_allocate_frame(TCGContext *s, TCGTemp *ts) in temp_allocate_frame()
4632 static void set_temp_val_reg(TCGContext *s, TCGTemp *ts, TCGReg reg) in set_temp_val_reg()
4649 static void set_temp_val_nonreg(TCGContext *s, TCGTemp *ts, TCGTempVal type) in set_temp_val_nonreg()
4660 static void temp_load(TCGContext *, TCGTemp *, TCGRegSet, TCGRegSet, TCGRegSet);
4664 static void temp_free_or_dead(TCGContext *s, TCGTemp *ts, int free_or_dead) in temp_free_or_dead()
4688 static inline void temp_dead(TCGContext *s, TCGTemp *ts) in temp_dead()
4697 static void temp_sync(TCGContext *s, TCGTemp *ts, TCGRegSet allocated_regs, in temp_sync()
4740 TCGTemp *ts = s->reg_to_temp[reg]; in tcg_reg_free()
4866 static void temp_load(TCGContext *s, TCGTemp *ts, TCGRegSet desired_regs, in temp_load()
4918 static void temp_save(TCGContext *s, TCGTemp *ts, TCGRegSet allocated_regs) in temp_save()
4945 TCGTemp *ts = &s->temps[i]; in sync_globals()
4958 TCGTemp *ts = &s->temps[i]; in tcg_reg_alloc_bb_end()
4992 TCGTemp *ts = &s->temps[i]; in tcg_reg_alloc_cbranch()
5013 static void tcg_reg_alloc_do_movi(TCGContext *s, TCGTemp *ots, in tcg_reg_alloc_do_movi()
5038 TCGTemp *ts, *ots; in tcg_reg_alloc_mov()
5139 TCGTemp *its, *ots; in tcg_reg_alloc_dup()
5255 TCGTemp *ts; in tcg_reg_alloc_op()
5304 TCGTemp *ts2; in tcg_reg_alloc_op()
5956 TCGTemp *ots, *itsl, *itsh; in tcg_reg_alloc_dup2()
6010 TCGTemp *its = itsl - HOST_BIG_ENDIAN; in tcg_reg_alloc_dup2()
6040 static void load_arg_reg(TCGContext *s, TCGReg reg, TCGTemp *ts, in load_arg_reg()
6065 static void load_arg_stk(TCGContext *s, unsigned arg_slot, TCGTemp *ts, in load_arg_stk()
6079 TCGTemp *ts, TCGRegSet *allocated_regs) in load_arg_normal()
6124 TCGTemp *ts = arg_temp(op->args[nb_oargs + i]); in tcg_reg_alloc_call()
6177 TCGTemp *ts = arg_temp(op->args[0]); in tcg_reg_alloc_call()
6191 TCGTemp *ts = arg_temp(op->args[i]); in tcg_reg_alloc_call()
6204 TCGTemp *ts = arg_temp(op->args[0]); in tcg_reg_alloc_call()
6220 TCGTemp *ts = arg_temp(op->args[i]); in tcg_reg_alloc_call()
6231 TCGTemp *ts = arg_temp(op->args[i]); in tcg_reg_alloc_call()