Home
last modified time | relevance | path

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

/qemu/tcg/
H A Dtcg-internal.h95 TCGOp *tcg_gen_op1(TCGOpcode, TCGType, TCGArg);
96 TCGOp *tcg_gen_op2(TCGOpcode, TCGType, TCGArg, TCGArg);
97 TCGOp *tcg_gen_op3(TCGOpcode, TCGType, TCGArg, TCGArg, TCGArg);
98 TCGOp *tcg_gen_op4(TCGOpcode, TCGType, TCGArg, TCGArg, TCGArg, TCGArg);
99 TCGOp *tcg_gen_op5(TCGOpcode, TCGType, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg);
100 TCGOp *tcg_gen_op6(TCGOpcode, TCGType, TCGArg, TCGArg,
101 TCGArg, TCGArg, TCGArg, TCGArg);
103 void vec_gen_2(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg);
104 void vec_gen_3(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg);
105 void vec_gen_4(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg, TCGArg);
[all …]
H A Dtcg-op-vec.c144 void vec_gen_2(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, TCGArg a) in vec_gen_2()
154 TCGArg r, TCGArg a, TCGArg b) in vec_gen_3()
165 TCGArg r, TCGArg a, TCGArg b, TCGArg c) in vec_gen_4()
176 void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, in vec_gen_6()
177 TCGArg a, TCGArg b, TCGArg c, TCGArg d, TCGArg e) in vec_gen_6()
230 TCGArg ri = tcgv_vec_arg(r); in tcg_gen_dup_i64_vec()
235 TCGArg ai = tcgv_i64_arg(a); in tcg_gen_dup_i64_vec()
238 TCGArg al = tcgv_i32_arg(TCGV_LOW(a)); in tcg_gen_dup_i64_vec()
239 TCGArg ah = tcgv_i32_arg(TCGV_HIGH(a)); in tcg_gen_dup_i64_vec()
242 TCGArg ai = tcgv_i32_arg(TCGV_LOW(a)); in tcg_gen_dup_i64_vec()
[all …]
H A Dtcg-op-ldst.c232 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i32_int()
272 void tcg_gen_qemu_ld_i32_chk(TCGv_i32 val, TCGTemp *addr, TCGArg idx, in tcg_gen_qemu_ld_i32_chk()
281 TCGArg idx, MemOp memop) in tcg_gen_qemu_st_i32_int()
315 void tcg_gen_qemu_st_i32_chk(TCGv_i32 val, TCGTemp *addr, TCGArg idx, in tcg_gen_qemu_st_i32_chk()
324 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i64_int()
378 void tcg_gen_qemu_ld_i64_chk(TCGv_i64 val, TCGTemp *addr, TCGArg idx, in tcg_gen_qemu_ld_i64_chk()
387 TCGArg idx, MemOp memop) in tcg_gen_qemu_st_i64_int()
429 void tcg_gen_qemu_st_i64_chk(TCGv_i64 val, TCGTemp *addr, TCGArg idx, in tcg_gen_qemu_st_i64_chk()
529 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i128_int()
625 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.c69 static inline TempOptInfo *arg_info(TCGArg arg) in arg_info()
99 static inline bool arg_is_const(TCGArg arg) in arg_is_const()
104 static inline bool arg_is_const_val(TCGArg arg, uint64_t val) in arg_is_const_val()
250 static void reset_temp(OptContext *ctx, TCGArg arg) in reset_temp()
301 static bool args_are_copies(TCGArg arg1, TCGArg arg2) in args_are_copies()
318 static TCGArg arg_new_constant(OptContext *ctx, uint64_t val) in arg_new_constant()
333 static TCGArg arg_new_temp(OptContext *ctx) in arg_new_temp()
352 static bool tcg_opt_gen_mov(OptContext *ctx, TCGOp *op, TCGArg dst, TCGArg src) in tcg_opt_gen_mov()
409 TCGArg dst, uint64_t val) in tcg_opt_gen_movi()
686 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, TCGType type, TCGArg a1) in tcg_gen_op1()
48 TCGOp * NI tcg_gen_op2(TCGOpcode opc, TCGType type, TCGArg a1, TCGArg a2) in tcg_gen_op2()
57 TCGOp * NI tcg_gen_op3(TCGOpcode opc, TCGType type, TCGArg a1, in tcg_gen_op3()
58 TCGArg a2, TCGArg a3) in tcg_gen_op3()
68 TCGOp * NI tcg_gen_op4(TCGOpcode opc, TCGType type, TCGArg a1, TCGArg a2, in tcg_gen_op4()
69 TCGArg a3, TCGArg a4) in tcg_gen_op4()
80 TCGOp * NI tcg_gen_op5(TCGOpcode opc, TCGType type, TCGArg a1, TCGArg a2, in tcg_gen_op5()
81 TCGArg a3, TCGArg a4, TCGArg a5) in tcg_gen_op5()
93 TCGOp * NI tcg_gen_op6(TCGOpcode opc, TCGType type, TCGArg a1, TCGArg a2, in tcg_gen_op6()
94 TCGArg a3, TCGArg a4, TCGArg a5, TCGArg a6) in tcg_gen_op6()
[all …]
H A Dtcg.c151 const TCGArg args[TCG_MAX_OP_ARGS],
171 const TCGArg args[TCG_MAX_OP_ARGS], in tcg_out_vec_op()
183 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1015 TCGArg bl, bool const_bl,
1016 TCGArg bh, bool const_bh, TCGLabel *l);
1062 TCGReg ret, TCGReg c1, TCGArg c2, bool const_c2,
1063 TCGArg vt, bool const_vt, TCGArg vf, bool consf_vf);
1100 TCGArg bl, bool const_bl, TCGArg bh, bool const_bh);
2837 int buf_size, TCGArg arg) in tcg_get_arg_str()
2983 TCGArg arg = op->args[nb_oargs + i]; in tcg_dump_ops()
[all …]
/qemu/include/tcg/
H A Dtcg-op-common.h320 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);
330 TCGArg, MemOp, TCGType);
332 TCGArg, MemOp, TCGType);
334 TCGv_i128, TCGArg, MemOp, TCGType);
337 TCGArg, MemOp, TCGType);
[all …]
H A Dtcg.h180 typedef tcg_target_ulong TCGArg; typedef
341 TCGArg args[];
489 static inline TCGArg temp_arg(TCGTemp *ts) in temp_arg()
494 static inline TCGTemp *arg_temp(TCGArg a) in arg_temp()
539 static inline TCGArg tcgv_i32_arg(TCGv_i32 v) in tcgv_i32_arg()
544 static inline TCGArg tcgv_i64_arg(TCGv_i64 v) in tcgv_i64_arg()
549 static inline TCGArg tcgv_i128_arg(TCGv_i128 v) in tcgv_i128_arg()
554 static inline TCGArg tcgv_ptr_arg(TCGv_ptr v) in tcgv_ptr_arg()
559 static inline TCGArg tcgv_vec_arg(TCGv_vec v) in tcgv_vec_arg()
595 static inline TCGArg tcg_get_insn_param(TCGOp *op, unsigned arg) in tcg_get_insn_param()
[all …]
H A Dtcg-op.h82 tcg_gen_qemu_ld_i32(TCGv_i32 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_ld_i32()
88 tcg_gen_qemu_st_i32(TCGv_i32 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_st_i32()
94 tcg_gen_qemu_ld_i64(TCGv_i64 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_ld_i64()
100 tcg_gen_qemu_st_i64(TCGv_i64 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_st_i64()
106 tcg_gen_qemu_ld_i128(TCGv_i128 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_ld_i128()
112 tcg_gen_qemu_st_i128(TCGv_i128 v, TCGv a, TCGArg i, MemOp m) in tcg_gen_qemu_st_i128()
119 TCGArg i, MemOp m) \
124 TCGv_##S n, TCGArg i, MemOp m) \
/qemu/tcg/i386/
H A Dtcg-target.c.inc1290 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1554 static int tcg_out_cmp(TCGContext *s, TCGCond cond, TCGArg arg1,
1555 TCGArg arg2, int const_arg2, int rexw)
1644 TCGArg arg1, TCGArg arg2, int const_arg2,
1672 TCGReg ah, TCGArg bl, bool blconst,
1673 TCGArg bh, bool bhconst,
1704 TCGReg ah, TCGArg bl, bool blconst,
1705 TCGArg bh, bool bhconst, TCGLabel *l)
1719 TCGReg dest, TCGReg arg1, TCGArg arg2,
1871 TCGArg bl, bool const_bl,
[all …]
/qemu/tcg/tci/
H A Dtcg-target.c.inc195 TCGReg r0, TCGReg r1, TCGArg m2)
1036 TCGReg ret, TCGReg c1, TCGArg c2, bool const_c2,
1037 TCGArg vt, bool const_vt, TCGArg vf, bool consf_vf)
1051 TCGArg bl, bool const_bl,
1052 TCGArg bh, bool const_bh, TCGLabel *l)
1069 TCGArg bl, bool const_bl,
1070 TCGArg bh, bool const_bh)
1249 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
/qemu/tcg/arm/
H A Dtcg-target.c.inc866 TCGReg dst, TCGReg lhs, TCGArg rhs, int rhs_is_const)
880 ARMInsn opinv, TCGReg dst, TCGReg lhs, TCGArg rhs)
891 ARMInsn opinv, TCGReg dst, TCGReg lhs, TCGArg rhs,
902 ARMInsn opneg, TCGReg dst, TCGReg lhs, TCGArg rhs)
913 ARMInsn opneg, TCGReg dst, TCGReg lhs, TCGArg rhs,
1170 static TCGCond tgen_cmpi(TCGContext *s, TCGCond cond, TCGReg a, TCGArg b)
1195 TCGArg b, int b_const)
1205 TCGArg bl, bool const_bl, TCGArg bh, bool const_bh)
2488 TCGReg ret, TCGReg c1, TCGArg c2, bool const_c2,
2489 TCGArg vt, bool const_vt, TCGArg vf, bool consf_vf)
[all …]
/qemu/tcg/ppc/
H A Dtcg-target.c.inc1631 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1641 static void tcg_out_test(TCGContext *s, TCGReg dest, TCGReg arg1, TCGArg arg2,
1678 static void tcg_out_cmp(TCGContext *s, int cond, TCGArg arg1, TCGArg arg2,
1794 static TCGReg tcg_gen_setcond_xor(TCGContext *s, TCGReg arg1, TCGArg arg2,
1811 TCGReg arg0, TCGReg arg1, TCGArg arg2,
2042 TCGReg dest, TCGReg c1, TCGArg c2, bool const_c2,
2043 TCGArg v1, bool const_v1, TCGArg v2, bool const_v2)
2095 TCGArg a0, TCGArg a1, TCGArg a2, bool const_a2)
2121 TCGArg bl, bool blconst, TCGArg bh, bool bhconst)
2190 TCGArg bl, bool const_bl,
[all …]
/qemu/tcg/mips/
H A Dtcg-target.c.inc389 TCGReg rt, TCGReg rs, TCGArg imm)
443 TCGReg rd, TCGReg rt, TCGArg sa)
456 TCGReg rd, TCGReg rt, TCGArg sa)
500 static void tcg_out_dsll(TCGContext *s, TCGReg rd, TCGReg rt, TCGArg sa)
505 static void tcg_out_dsrl(TCGContext *s, TCGReg rd, TCGReg rt, TCGArg sa)
510 static void tcg_out_dsra(TCGContext *s, TCGReg rd, TCGReg rt, TCGArg sa)
755 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
959 TCGArg bl, bool const_bl,
960 TCGArg bh, bool const_bh)
975 TCGArg bl, bool const_bl,
[all …]
/qemu/tcg/s390x/
H A Dtcg-target.c.inc1119 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1289 TCGArg c2, bool c2const, bool need_carry, int *inv_cc)
1391 TCGArg c2, bool c2const, bool need_carry)
1398 TCGReg dest, TCGReg c1, TCGArg c2,
1528 TCGArg v3, int v3const, TCGReg v4,
1568 TCGReg dest, TCGReg c1, TCGArg c2, bool c2const,
1569 TCGArg v3, bool v3const, TCGArg v4, bool v4const)
1718 TCGReg r1, TCGArg c2, int c2const, TCGLabel *l)
2429 TCGArg a2, int a2const)
3314 TCGReg c1, TCGReg c2, TCGArg v3,
[all …]
/qemu/tcg/loongarch64/
H A Dtcg-target.c.inc727 TCGReg ret, TCGReg c1, TCGArg c2, bool const_c2,
728 TCGArg v1, bool const_v1, TCGArg v2, bool const_v2)
967 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
2133 TCGArg a0, TCGArg a1, TCGArg a2,
2184 const TCGArg args[TCG_MAX_OP_ARGS],
2189 TCGArg a0, a1, a2, a3;
2379 TCGArg t;
2530 TCGArg a0, ...)
/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_atomic.c.inc49 void (*func)(TCGv, TCGv, TCGv, TCGArg, MemOp),
/qemu/tcg/riscv/
H A Dtcg-target.c.inc546 TCGArg rs1, uint32_t vtype)
568 TCGReg rd, TCGReg rs1, TCGArg imm)
698 TCGReg vd, TCGReg vs2, TCGArg vi1, int c_vi1)
1066 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
1450 TCGReg ret, TCGReg cmp1, TCGArg cmp2, bool c_cmp2,
1451 TCGArg val1, bool c_val1,
1452 TCGArg val2, bool c_val2)
1510 TCGArg temp = val1;
2647 const TCGArg args[TCG_MAX_OP_ARGS],
2651 TCGArg a0, a1, a2;
[all …]
/qemu/tcg/sparc64/
H A Dtcg-target.c.inc592 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
841 TCGReg arg1, TCGArg arg2, bool const_arg2,
871 TCGArg c2, bool c2const, bool neg)
917 TCGReg ret, TCGReg c1, TCGArg c2, bool c2const,
918 TCGArg v1, bool v1const, TCGArg v2, bool v2consf)
1540 TCGReg a0, TCGReg a1, TCGArg a2, bool c2)
1578 TCGReg a0, TCGReg a1, TCGArg a2, bool c2)
/qemu/tcg/aarch64/
H A Dtcg-target.c.inc1318 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val,
2712 TCGReg ret, TCGReg c1, TCGArg c2, bool const_c2,
2713 TCGArg vt, bool const_vt, TCGArg vf, bool const_vf)
2898 const TCGArg args[TCG_MAX_OP_ARGS],
2933 TCGArg a0, a1, a2, a3;
3179 TCGArg t;
3189 TCGArg t;
3266 TCGArg a0, ...)
3270 TCGArg a2;
3274 v1 = temp_tcgv_vec(arg_temp(va_arg(va, TCGArg)));
[all …]
/qemu/target/arm/tcg/
H A Dtranslate.h659 typedef void AtomicThreeOpFn(TCGv_i64, TCGv_i64, TCGv_i64, TCGArg, MemOp);
/qemu/target/riscv/
H A Dtranslate.c1129 void(*func)(TCGv, TCGv, TCGv, TCGArg, MemOp), in gen_amo() argument