Home
last modified time | relevance | path

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

/openbmc/qemu/include/tcg/
H A Dtcg.h273 typedef struct TCGTemp { struct
287 struct TCGTemp *mem_base; argument
296 } TCGTemp; typedef
369 TCGTemp *frame_temp;
424 TCGTemp temps[TCG_MAX_TEMPS]; /* globals first, temps after */
437 TCGTemp *reg_to_temp[TCG_TARGET_NB_REGS];
446 static inline bool temp_readonly(TCGTemp *ts) in temp_readonly()
479 static inline TCGArg temp_arg(TCGTemp *ts) in temp_arg()
484 static inline TCGTemp *arg_temp(TCGArg a) in arg_temp()
486 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-ldst.c91 static void gen_ldst(TCGOpcode opc, TCGType type, TCGTemp *vl, TCGTemp *vh, in gen_ldst()
92 TCGTemp *addr, MemOpIdx oi) in gen_ldst()
101 static void gen_ldst_i64(TCGOpcode opc, TCGv_i64 v, TCGTemp *addr, MemOpIdx oi) in gen_ldst_i64()
104 TCGTemp *vl = tcgv_i32_temp(TCGV_LOW(v)); in gen_ldst_i64()
105 TCGTemp *vh = tcgv_i32_temp(TCGV_HIGH(v)); in gen_ldst_i64()
122 static TCGv_i64 plugin_maybe_preserve_addr(TCGTemp *addr) in plugin_maybe_preserve_addr()
141 plugin_gen_mem_callbacks(TCGv_i64 copy_addr, TCGTemp *orig_addr, MemOpIdx oi, in plugin_gen_mem_callbacks()
168 TCGv_i64 copy_addr, TCGTemp *orig_addr, in plugin_gen_mem_callbacks_i32()
183 TCGv_i64 copy_addr, TCGTemp *orig_addr, in plugin_gen_mem_callbacks_i64()
198 TCGv_i64 copy_addr, TCGTemp *orig_addr, in plugin_gen_mem_callbacks_i128()
[all …]
H A Dtcg-op-vec.c192 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 Dtcg.c1499 static TCGTemp *tcg_global_reg_new_internal(TCGContext *s, TCGType type,
1506 TCGTemp *ts; in tcg_context_init()
1696 static TCGTemp *tcg_temp_alloc(TCGContext *s) in tcg_temp_alloc()
1703 return memset(&s->temps[n], 0, sizeof(TCGTemp)); in tcg_temp_alloc()
1706 static TCGTemp *tcg_global_alloc(TCGContext *s) in tcg_global_alloc()
1708 TCGTemp *ts; in tcg_global_alloc()
1719 static TCGTemp *tcg_global_reg_new_internal(TCGContext *s, TCGType type, in tcg_global_reg_new_internal()
1722 TCGTemp *ts; in tcg_global_reg_new_internal()
1745 static TCGTemp *tcg_global_mem_new_internal(TCGv_ptr base, intptr_t offset, in tcg_global_mem_new_internal()
1749 TCGTemp *base_ts = tcgv_ptr_temp(base); in tcg_global_mem_new_internal()
[all …]
H A Doptimize.c45 TCGTemp *ts;
51 TCGTemp *prev_copy;
52 TCGTemp *next_copy;
71 static inline TempOptInfo *ts_info(TCGTemp *ts) in ts_info()
96 static inline bool ts_is_const(TCGTemp *ts) in ts_is_const()
101 static inline bool ts_is_const_val(TCGTemp *ts, uint64_t val) in ts_is_const_val()
116 static inline bool ts_is_copy(TCGTemp *ts) in ts_is_copy()
121 static TCGTemp *cmp_better_copy(TCGTemp *a, TCGTemp *b) in cmp_better_copy()
127 static void init_ts_info(OptContext *ctx, TCGTemp *ts) in init_ts_info()
172 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.c1495 TCGTemp *ts = tcgv_i64_temp(arg); in tcg_gen_mov_i64()