Home
last modified time | relevance | path

Searched refs:TCGArg (Results 1 – 22 of 22) sorted by relevance

/openbmc/qemu/tcg/
H A Dtcg-internal.h95 TCGOp *tcg_gen_op1(TCGOpcode, TCGArg);
96 TCGOp *tcg_gen_op2(TCGOpcode, TCGArg, TCGArg);
97 TCGOp *tcg_gen_op3(TCGOpcode, TCGArg, TCGArg, TCGArg);
98 TCGOp *tcg_gen_op4(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg);
99 TCGOp *tcg_gen_op5(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg);
100 TCGOp *tcg_gen_op6(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg);
102 void vec_gen_2(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg);
103 void vec_gen_3(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg);
104 void vec_gen_4(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg, TCGArg);
105 void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r,
[all …]
H A Dtcg-op-vec.c143 void vec_gen_2(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, TCGArg a) in vec_gen_2()
153 TCGArg r, TCGArg a, TCGArg b) in vec_gen_3()
164 TCGArg r, TCGArg a, TCGArg b, TCGArg c) in vec_gen_4()
175 void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, in vec_gen_6()
176 TCGArg a, TCGArg b, TCGArg c, TCGArg d, TCGArg e) in vec_gen_6()
229 TCGArg ri = tcgv_vec_arg(r); in tcg_gen_dup_i64_vec()
234 TCGArg ai = tcgv_i64_arg(a); in tcg_gen_dup_i64_vec()
237 TCGArg al = tcgv_i32_arg(TCGV_LOW(a)); in tcg_gen_dup_i64_vec()
238 TCGArg ah = tcgv_i32_arg(TCGV_HIGH(a)); in tcg_gen_dup_i64_vec()
241 TCGArg ai = tcgv_i32_arg(TCGV_LOW(a)); in tcg_gen_dup_i64_vec()
[all …]
H A Dtcg-op-ldst.c227 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i32_int()
273 void tcg_gen_qemu_ld_i32_chk(TCGv_i32 val, TCGTemp *addr, TCGArg idx, in tcg_gen_qemu_ld_i32_chk()
282 TCGArg idx, MemOp memop) in tcg_gen_qemu_st_i32_int()
330 void tcg_gen_qemu_st_i32_chk(TCGv_i32 val, TCGTemp *addr, TCGArg idx, in tcg_gen_qemu_st_i32_chk()
339 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i64_int()
399 void tcg_gen_qemu_ld_i64_chk(TCGv_i64 val, TCGTemp *addr, TCGArg idx, in tcg_gen_qemu_ld_i64_chk()
408 TCGArg idx, MemOp memop) in tcg_gen_qemu_st_i64_int()
456 void tcg_gen_qemu_st_i64_chk(TCGv_i64 val, TCGTemp *addr, TCGArg idx, in tcg_gen_qemu_st_i64_chk()
556 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i128_int()
663 void tcg_gen_qemu_ld_i128_chk(TCGv_i128 val, TCGTemp *addr, TCGArg idx, in tcg_gen_qemu_ld_i128_chk()
[all …]
H A Doptimize.c117 static inline TempOptInfo *arg_info(TCGArg arg) in arg_info()
133 static inline bool arg_is_const(TCGArg arg) in arg_is_const()
138 static inline bool arg_is_const_val(TCGArg arg, uint64_t val) in arg_is_const_val()
284 static void reset_temp(OptContext *ctx, TCGArg arg) in reset_temp()
335 static bool args_are_copies(TCGArg arg1, TCGArg arg2) in args_are_copies()
352 static TCGArg arg_new_constant(OptContext *ctx, uint64_t val) in arg_new_constant()
367 static TCGArg arg_new_temp(OptContext *ctx) in arg_new_temp()
374 static bool tcg_opt_gen_mov(OptContext *ctx, TCGOp *op, TCGArg dst, TCGArg src) in tcg_opt_gen_mov()
433 TCGArg dst, uint64_t val) in tcg_opt_gen_movi()
709 static int do_constant_folding_cond(TCGType type, TCGArg x, in do_constant_folding_cond()
[all …]
H A Dtcg-op.c40 TCGOp * NI tcg_gen_op1(TCGOpcode opc, TCGArg a1) in tcg_gen_op1()
47 TCGOp * NI tcg_gen_op2(TCGOpcode opc, TCGArg a1, TCGArg a2) in tcg_gen_op2()
55 TCGOp * NI tcg_gen_op3(TCGOpcode opc, TCGArg a1, TCGArg a2, TCGArg a3) in tcg_gen_op3()
64 TCGOp * NI tcg_gen_op4(TCGOpcode opc, TCGArg a1, TCGArg a2, in tcg_gen_op4()
65 TCGArg a3, TCGArg a4) in tcg_gen_op4()
75 TCGOp * NI tcg_gen_op5(TCGOpcode opc, TCGArg a1, TCGArg a2, in tcg_gen_op5()
76 TCGArg a3, TCGArg a4, TCGArg a5) in tcg_gen_op5()
87 TCGOp * NI tcg_gen_op6(TCGOpcode opc, TCGArg a1, TCGArg a2, TCGArg a3, in tcg_gen_op6()
88 TCGArg a4, TCGArg a5, TCGArg a6) in tcg_gen_op6()
120 static TCGOp * DNI tcg_gen_op1i(TCGOpcode opc, TCGArg a1) in tcg_gen_op1i()
[all …]
H A Dtcg.c132 const TCGArg args[TCG_MAX_OP_ARGS],
143 const TCGArg args[TCG_MAX_OP_ARGS],
163 const TCGArg args[TCG_MAX_OP_ARGS], in tcg_out_vec_op()
171 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
2461 int buf_size, TCGArg arg) in tcg_get_arg_str()
2607 TCGArg arg = op->args[nb_oargs + i]; in tcg_dump_ops()
2699 TCGArg flags = op->args[k]; in tcg_dump_ops()
2716 TCGArg from = op->args[k++]; in tcg_dump_ops()
3221 op = tcg_malloc(sizeof(TCGOp) + sizeof(TCGArg) * nargs); in tcg_op_alloc()
4810 TCGArg arg; in tcg_reg_alloc_op()
[all …]
/openbmc/qemu/include/tcg/
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);
325 TCGArg, MemOp, TCGType);
327 TCGArg, MemOp, TCGType);
329 TCGv_i128, TCGArg, MemOp, TCGType);
332 TCGArg, MemOp, TCGType);
[all …]
H A Dtcg.h284 typedef tcg_target_ulong TCGArg; typedef
436 TCGArg args[];
587 static inline TCGArg temp_arg(TCGTemp *ts) in temp_arg()
592 static inline TCGTemp *arg_temp(TCGArg a) in arg_temp()
637 static inline TCGArg tcgv_i32_arg(TCGv_i32 v) in tcgv_i32_arg()
642 static inline TCGArg tcgv_i64_arg(TCGv_i64 v) in tcgv_i64_arg()
647 static inline TCGArg tcgv_i128_arg(TCGv_i128 v) in tcgv_i128_arg()
652 static inline TCGArg tcgv_ptr_arg(TCGv_ptr v) in tcgv_ptr_arg()
657 static inline TCGArg tcgv_vec_arg(TCGv_vec v) in tcgv_vec_arg()
688 static inline TCGArg tcg_get_insn_param(TCGOp *op, int arg) in tcg_get_insn_param()
[all …]
H A Dtcg-op.h70 tcg_gen_qemu_ld_i32(TCGv_i32 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_ld_i32()
76 tcg_gen_qemu_st_i32(TCGv_i32 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_st_i32()
82 tcg_gen_qemu_ld_i64(TCGv_i64 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_ld_i64()
88 tcg_gen_qemu_st_i64(TCGv_i64 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_st_i64()
94 tcg_gen_qemu_ld_i128(TCGv_i128 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_ld_i128()
100 tcg_gen_qemu_st_i128(TCGv_i128 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_st_i128()
107 TCGArg i, MemOp m) \
112 TCGv_##S n, TCGArg i, MemOp m) \
/openbmc/qemu/tcg/i386/
H A Dtcg-target.c.inc1153 static inline void tcg_out_mb(TCGContext *s, TCGArg a0)
1272 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1516 static int tcg_out_cmp(TCGContext *s, TCGCond cond, TCGArg arg1,
1517 TCGArg arg2, int const_arg2, int rexw)
1606 TCGArg arg1, TCGArg arg2, int const_arg2,
1614 static void tcg_out_brcond2(TCGContext *s, const TCGArg *args,
1700 TCGArg dest, TCGArg arg1, TCGArg arg2,
1814 static void tcg_out_setcond2(TCGContext *s, const TCGArg *args,
1817 TCGArg new_args[6];
1820 memcpy(new_args, args+1, 5*sizeof(TCGArg));
[all …]
/openbmc/qemu/tcg/ppc/
H A Dtcg-target.c.inc1734 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1744 static void tcg_out_test(TCGContext *s, TCGReg dest, TCGReg arg1, TCGArg arg2,
1781 static void tcg_out_cmp(TCGContext *s, int cond, TCGArg arg1, TCGArg arg2,
1914 static TCGReg tcg_gen_setcond_xor(TCGContext *s, TCGReg arg1, TCGArg arg2,
1931 TCGArg arg0, TCGArg arg1, TCGArg arg2,
2094 TCGArg arg1, TCGArg arg2, int const_arg2,
2102 TCGArg dest, TCGArg c1, TCGArg c2, TCGArg v1,
2103 TCGArg v2, bool const_c2)
2150 TCGArg a0, TCGArg a1, TCGArg a2, bool const_a2)
2175 static void tcg_out_cmp2(TCGContext *s, const TCGArg *args,
[all …]
/openbmc/qemu/tcg/tci/
H A Dtcg-target.c.inc331 TCGReg r0, TCGReg r1, TCGArg m2)
699 const TCGArg args[TCG_MAX_OP_ARGS],
766 TCGArg pos = args[3], len = args[4];
767 TCGArg max = opc == INDEX_op_deposit_i32 ? 32 : 64;
779 TCGArg pos = args[2], len = args[3];
780 TCGArg max = tcg_op_defs[opc].flags & TCG_OPF_64BIT ? 64 : 32;
909 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
/openbmc/qemu/tcg/arm/
H A Dtcg-target.c.inc864 TCGReg dst, TCGReg lhs, TCGArg rhs, int rhs_is_const)
878 ARMInsn opinv, TCGReg dst, TCGReg lhs, TCGArg rhs,
894 ARMInsn opneg, TCGReg dst, TCGReg lhs, TCGArg rhs,
1019 TCGArg a1, int ofs, int len, bool const_a1)
1185 static void tcg_out_mb(TCGContext *s, TCGArg a0)
1195 TCGArg b, int b_const)
1221 static TCGCond tcg_out_cmp2(TCGContext *s, const TCGArg *args,
1226 TCGArg bl = args[2];
1227 TCGArg bh = args[3];
1803 const TCGArg args[TCG_MAX_OP_ARGS],
[all …]
/openbmc/qemu/tcg/loongarch64/
H A Dtcg-target.c.inc292 static void tcg_out_mb(TCGContext *s, TCGArg a0)
910 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1274 const TCGArg args[TCG_MAX_OP_ARGS],
1277 TCGArg a0 = args[0];
1278 TCGArg a1 = args[1];
1279 TCGArg a2 = args[2];
1280 TCGArg a3 = args[3];
1778 TCGArg a0, TCGArg a1, TCGArg a2,
1829 const TCGArg args[TCG_MAX_OP_ARGS],
1834 TCGArg a0, a1, a2, a3;
[all …]
/openbmc/qemu/tcg/aarch64/
H A Dtcg-target.c.inc1305 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1440 static void tcg_out_brcond(TCGContext *s, TCGType ext, TCGCond c, TCGArg a,
1441 TCGArg b, bool b_const, TCGLabel *l)
1644 static inline void tcg_out_mb(TCGContext *s, TCGArg a0)
1657 TCGReg a0, TCGArg b, bool const_b, bool is_ctz)
2108 const TCGArg args[TCG_MAX_OP_ARGS],
2116 TCGArg a0 = args[0];
2117 TCGArg a1 = args[1];
2118 TCGArg a2 = args[2];
2516 const TCGArg args[TCG_MAX_OP_ARGS],
[all …]
/openbmc/qemu/tcg/riscv/
H A Dtcg-target.c.inc559 TCGArg rs1, uint32_t vtype)
581 TCGReg rd, TCGReg rs1, TCGArg imm)
711 TCGReg vd, TCGReg vs2, TCGArg vi1, int c_vi1)
1079 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1092 TCGArg bl, TCGArg bh,
1532 TCGArg temp = val1;
1613 static void tcg_out_mb(TCGContext *s, TCGArg a0)
1958 const TCGArg args[TCG_MAX_OP_ARGS],
1961 TCGArg a0 = args[0];
1962 TCGArg a1 = args[1];
[all …]
/openbmc/qemu/tcg/mips/
H A Dtcg-target.c.inc384 TCGReg rt, TCGReg rs, TCGArg imm)
438 TCGReg rd, TCGReg rt, TCGArg sa)
451 TCGReg rd, TCGReg rt, TCGArg sa)
495 static void tcg_out_dsll(TCGContext *s, TCGReg rd, TCGReg rt, TCGArg sa)
500 static void tcg_out_dsrl(TCGContext *s, TCGReg rd, TCGReg rt, TCGArg sa)
505 static void tcg_out_dsra(TCGContext *s, TCGReg rd, TCGReg rt, TCGArg sa)
816 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
827 TCGReg ah, TCGArg bl, TCGArg bh, bool cbl,
1562 static void tcg_out_mb(TCGContext *s, TCGArg a0)
1579 int width, TCGReg a0, TCGReg a1, TCGArg a2)
[all …]
/openbmc/qemu/tcg/s390x/
H A Dtcg-target.c.inc1089 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1259 TCGArg c2, bool c2const, bool need_carry, int *inv_cc)
1361 TCGArg c2, bool c2const, bool need_carry)
1368 TCGReg dest, TCGReg c1, TCGArg c2,
1462 TCGArg v3, int v3const, TCGReg v4,
1502 TCGReg c1, TCGArg c2, int c2const,
1503 TCGArg v3, int v3const, TCGReg v4)
1512 TCGArg a2, int a2const)
1617 TCGReg r1, TCGArg c2, int c2const, TCGLabel *l)
2115 const TCGArg args[TCG_MAX_OP_ARGS],
[all …]
/openbmc/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_atomic.c.inc49 void (*func)(TCGv, TCGv, TCGv, TCGArg, MemOp),
/openbmc/qemu/tcg/sparc64/
H A Dtcg-target.c.inc580 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
934 static void tcg_out_mb(TCGContext *s, TCGArg a0)
1285 const TCGArg args[TCG_MAX_OP_ARGS],
1288 TCGArg a0, a1, a2;
/openbmc/qemu/target/arm/tcg/
H A Dtranslate.h616 typedef void AtomicThreeOpFn(TCGv_i64, TCGv_i64, TCGv_i64, TCGArg, MemOp);
/openbmc/qemu/target/riscv/
H A Dtranslate.c1089 void(*func)(TCGv, TCGv, TCGv, TCGArg, MemOp), in gen_amo() argument