Home
last modified time | relevance | path

Searched refs:TCGTemp (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/include/tcg/
H A Dtcg.h378 typedef struct TCGTemp { struct
392 struct TCGTemp *mem_base; argument
401 } TCGTemp; typedef
473 TCGTemp *frame_temp;
532 TCGTemp temps[TCG_MAX_TEMPS]; /* globals first, temps after */
545 TCGTemp *reg_to_temp[TCG_TARGET_NB_REGS];
554 static inline bool temp_readonly(TCGTemp *ts) in temp_readonly()
587 static inline TCGArg temp_arg(TCGTemp *ts) in temp_arg()
592 static inline TCGTemp *arg_temp(TCGArg a) in arg_temp()
594 return (TCGTemp *)(uintptr_t)a; in arg_temp()
[all …]
H A Dtcg-op-common.h315 void tcg_gen_qemu_ld_i32_chk(TCGv_i32, TCGTemp *, TCGArg, MemOp, TCGType);
316 void tcg_gen_qemu_st_i32_chk(TCGv_i32, TCGTemp *, TCGArg, MemOp, TCGType);
317 void tcg_gen_qemu_ld_i64_chk(TCGv_i64, TCGTemp *, TCGArg, MemOp, TCGType);
318 void tcg_gen_qemu_st_i64_chk(TCGv_i64, TCGTemp *, TCGArg, MemOp, TCGType);
319 void tcg_gen_qemu_ld_i128_chk(TCGv_i128, TCGTemp *, TCGArg, MemOp, TCGType);
320 void tcg_gen_qemu_st_i128_chk(TCGv_i128, TCGTemp *, TCGArg, MemOp, TCGType);
324 void tcg_gen_atomic_cmpxchg_i32_chk(TCGv_i32, TCGTemp *, TCGv_i32, TCGv_i32,
326 void tcg_gen_atomic_cmpxchg_i64_chk(TCGv_i64, TCGTemp *, TCGv_i64, TCGv_i64,
328 void tcg_gen_atomic_cmpxchg_i128_chk(TCGv_i128, TCGTemp *, TCGv_i128,
331 void tcg_gen_nonatomic_cmpxchg_i32_chk(TCGv_i32, TCGTemp *, TCGv_i32, TCGv_i32,
[all …]
H A Dtcg-temp-internal.h32 void tcg_temp_free_internal(TCGTemp *);
/openbmc/qemu/tcg/
H A Dtcg-op-vec.c191 TCGTemp *rt = tcgv_vec_temp(r); in vec_gen_op2()
192 TCGTemp *at = tcgv_vec_temp(a); in vec_gen_op2()
203 TCGTemp *rt = tcgv_vec_temp(r); in vec_gen_op3()
204 TCGTemp *at = tcgv_vec_temp(a); in vec_gen_op3()
205 TCGTemp *bt = tcgv_vec_temp(b); in vec_gen_op3()
223 TCGTemp *rt = tcgv_vec_temp(r); in tcg_gen_dupi_vec()
230 TCGTemp *rt = arg_temp(ri); in tcg_gen_dup_i64_vec()
250 TCGTemp *rt = arg_temp(ri); in tcg_gen_dup_i32_vec()
261 TCGTemp *rt = arg_temp(ri); in tcg_gen_dup_mem_vec()
271 TCGTemp *rt = arg_temp(ri); in vec_gen_ldst()
[all …]
H A Dtcg-op-ldst.c90 static void gen_ldst(TCGOpcode opc, TCGTemp *vl, TCGTemp *vh, in gen_ldst()
91 TCGTemp *addr, MemOpIdx oi) in gen_ldst()
101 TCGTemp *al = addr + HOST_BIG_ENDIAN; in gen_ldst()
102 TCGTemp *ah = addr + !HOST_BIG_ENDIAN; in gen_ldst()
113 static void gen_ldst_i64(TCGOpcode opc, TCGv_i64 v, TCGTemp *addr, MemOpIdx oi) in gen_ldst_i64()
116 TCGTemp *vl = tcgv_i32_temp(TCGV_LOW(v)); in gen_ldst_i64()
117 TCGTemp *vh = tcgv_i32_temp(TCGV_HIGH(v)); in gen_ldst_i64()
134 static TCGv_i64 plugin_maybe_preserve_addr(TCGTemp *addr) in plugin_maybe_preserve_addr()
153 plugin_gen_mem_callbacks(TCGv_i64 copy_addr, TCGTemp *orig_addr, MemOpIdx oi, in plugin_gen_mem_callbacks()
180 TCGv_i64 copy_addr, TCGTemp *orig_addr, in plugin_gen_mem_callbacks_i32()
[all …]
H A Dtcg.c1297 static TCGTemp *tcg_global_reg_new_internal(TCGContext *s, TCGType type,
1306 TCGTemp *ts; in tcg_context_init()
1520 static TCGTemp *tcg_temp_alloc(TCGContext *s) in tcg_temp_alloc()
1527 return memset(&s->temps[n], 0, sizeof(TCGTemp)); in tcg_temp_alloc()
1530 static TCGTemp *tcg_global_alloc(TCGContext *s) in tcg_global_alloc()
1532 TCGTemp *ts; in tcg_global_alloc()
1543 static TCGTemp *tcg_global_reg_new_internal(TCGContext *s, TCGType type, in tcg_global_reg_new_internal()
1546 TCGTemp *ts; in tcg_global_reg_new_internal()
1569 static TCGTemp *tcg_global_mem_new_internal(TCGv_ptr base, intptr_t offset, in tcg_global_mem_new_internal()
1573 TCGTemp *base_ts = tcgv_ptr_temp(base); in tcg_global_mem_new_internal()
[all …]
H A Doptimize.c44 TCGTemp *ts;
50 TCGTemp *prev_copy;
51 TCGTemp *next_copy;
112 static inline TempOptInfo *ts_info(TCGTemp *ts) in ts_info()
122 static inline bool ts_is_const(TCGTemp *ts) in ts_is_const()
127 static inline bool ts_is_const_val(TCGTemp *ts, uint64_t val) in ts_is_const_val()
143 static inline bool ts_is_copy(TCGTemp *ts) in ts_is_copy()
148 static TCGTemp *cmp_better_copy(TCGTemp *a, TCGTemp *b) in cmp_better_copy()
154 static void init_ts_info(OptContext *ctx, TCGTemp *ts) in init_ts_info()
199 TCGTemp *ts = mc->ts; in remove_mem_copy()
[all …]
H A Dtcg-internal.h86 TCGTemp *tcg_temp_new_internal(TCGType type, TCGTempKind kind);
93 TCGTemp *tcg_constant_internal(TCGType type, int64_t val);
H A Dtcg-op.c1485 TCGTemp *ts = tcgv_i64_temp(arg); in tcg_gen_mov_i64()