/qemu/include/tcg/ |
H A D | tcg.h | 283 typedef struct TCGTemp { struct 297 struct TCGTemp *mem_base; argument 306 } TCGTemp; argument 374 TCGTemp *frame_temp; 434 TCGTemp temps[TCG_MAX_TEMPS]; /* globals first, temps after */ 447 TCGTemp *reg_to_temp[TCG_TARGET_NB_REGS]; 456 static inline bool temp_readonly(TCGTemp *ts) in temp_readonly() 489 static inline TCGArg temp_arg(TCGTemp *ts) in temp_arg() 494 static inline TCGTemp *arg_temp(TCGArg a) in arg_temp() 496 return (TCGTemp *)(uintptr_t)a; in arg_temp() [all …]
|
H A D | tcg-op-common.h | 320 void tcg_gen_qemu_ld_i32_chk(TCGv_i32, TCGTemp *, TCGArg, MemOp, TCGType); 321 void tcg_gen_qemu_st_i32_chk(TCGv_i32, TCGTemp *, TCGArg, MemOp, TCGType); 322 void tcg_gen_qemu_ld_i64_chk(TCGv_i64, TCGTemp *, TCGArg, MemOp, TCGType); 323 void tcg_gen_qemu_st_i64_chk(TCGv_i64, TCGTemp *, TCGArg, MemOp, TCGType); 324 void tcg_gen_qemu_ld_i128_chk(TCGv_i128, TCGTemp *, TCGArg, MemOp, TCGType); 325 void tcg_gen_qemu_st_i128_chk(TCGv_i128, TCGTemp *, TCGArg, MemOp, TCGType); 329 void tcg_gen_atomic_cmpxchg_i32_chk(TCGv_i32, TCGTemp *, TCGv_i32, TCGv_i32, 331 void tcg_gen_atomic_cmpxchg_i64_chk(TCGv_i64, TCGTemp *, TCGv_i64, TCGv_i64, 333 void tcg_gen_atomic_cmpxchg_i128_chk(TCGv_i128, TCGTemp *, TCGv_i128, 336 void tcg_gen_nonatomic_cmpxchg_i32_chk(TCGv_i32, TCGTemp *, TCGv_i32, TCGv_i32, [all …]
|
H A D | tcg-temp-internal.h | 32 void tcg_temp_free_internal(TCGTemp *);
|
/qemu/tcg/ |
H A D | tcg-op-ldst.c | 92 static void gen_ldst1(TCGOpcode opc, TCGType type, TCGTemp *v, in gen_ldst1() 93 TCGTemp *addr, MemOpIdx oi) in gen_ldst1() 99 static void gen_ldst2(TCGOpcode opc, TCGType type, TCGTemp *vl, TCGTemp *vh, in gen_ldst2() 100 TCGTemp *addr, MemOpIdx oi) in gen_ldst2() 107 static void gen_ld_i64(TCGv_i64 v, TCGTemp *addr, MemOpIdx oi) in gen_ld_i64() 118 static void gen_st_i64(TCGv_i64 v, TCGTemp *addr, MemOpIdx oi) in gen_st_i64() 139 static TCGv_i64 plugin_maybe_preserve_addr(TCGTemp *addr) in plugin_maybe_preserve_addr() 158 plugin_gen_mem_callbacks(TCGv_i64 copy_addr, TCGTemp *orig_addr, MemOpIdx oi, in plugin_gen_mem_callbacks() 185 TCGv_i64 copy_addr, TCGTemp *orig_addr, in plugin_gen_mem_callbacks_i32() 200 TCGv_i64 copy_addr, TCGTemp *orig_addr, in plugin_gen_mem_callbacks_i64() [all …]
|
H A D | tcg-op-vec.c | 192 TCGTemp *rt = tcgv_vec_temp(r); in vec_gen_op2() 193 TCGTemp *at = tcgv_vec_temp(a); in vec_gen_op2() 204 TCGTemp *rt = tcgv_vec_temp(r); in vec_gen_op3() 205 TCGTemp *at = tcgv_vec_temp(a); in vec_gen_op3() 206 TCGTemp *bt = tcgv_vec_temp(b); in vec_gen_op3() 224 TCGTemp *rt = tcgv_vec_temp(r); in tcg_gen_dupi_vec() 231 TCGTemp *rt = arg_temp(ri); in tcg_gen_dup_i64_vec() 251 TCGTemp *rt = arg_temp(ri); in tcg_gen_dup_i32_vec() 262 TCGTemp *rt = arg_temp(ri); in tcg_gen_dup_mem_vec() 272 TCGTemp *rt = arg_temp(ri); in vec_gen_ldst() [all …]
|
H A D | tcg.c | 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() [all …]
|
H A D | optimize.c | 37 TCGTemp *ts; 43 TCGTemp *prev_copy; 44 TCGTemp *next_copy; 64 static inline TempOptInfo *ts_info(TCGTemp *ts) in ts_info() 89 static inline bool ts_is_const(TCGTemp *ts) in ts_is_const() 94 static inline bool ts_is_const_val(TCGTemp *ts, uint64_t val) in ts_is_const_val() 109 static inline bool ts_is_copy(TCGTemp *ts) in ts_is_copy() 114 static TCGTemp *cmp_better_copy(TCGTemp *a, TCGTemp *b) in cmp_better_copy() 120 static void init_ts_info(OptContext *ctx, TCGTemp *ts) in init_ts_info() 165 TCGTemp *ts = mc->ts; in remove_mem_copy() [all …]
|
H A D | tcg-internal.h | 86 TCGTemp *tcg_temp_new_internal(TCGType type, TCGTempKind kind); 93 TCGTemp *tcg_constant_internal(TCGType type, int64_t val);
|
H A D | tcg-op.c | 1441 TCGTemp *ts = tcgv_i64_temp(arg); in tcg_gen_mov_i64()
|