Home
last modified time | relevance | path

Searched refs:TCGContext (Results 1 – 17 of 17) sorted by relevance

/qemu/tcg/loongarch64/
H A Dtcg-insn-defs.c.inc1320 tcg_out_opc_movgr2scr(TCGContext *s, TCGReg td, TCGReg j)
1327 tcg_out_opc_movscr2gr(TCGContext *s, TCGReg d, TCGReg tj)
1334 tcg_out_opc_clz_w(TCGContext *s, TCGReg d, TCGReg j)
1341 tcg_out_opc_ctz_w(TCGContext *s, TCGReg d, TCGReg j)
1348 tcg_out_opc_clz_d(TCGContext *s, TCGReg d, TCGReg j)
1355 tcg_out_opc_ctz_d(TCGContext *s, TCGReg d, TCGReg j)
1362 tcg_out_opc_revb_2h(TCGContext *s, TCGReg d, TCGReg j)
1369 tcg_out_opc_revb_2w(TCGContext *s, TCGReg d, TCGReg j)
1376 tcg_out_opc_revb_d(TCGContext *s, TCGReg d, TCGReg j)
1383 tcg_out_opc_sext_h(TCGContext *s, TCGReg d, TCGReg j)
[all …]
H A Dtcg-target.c.inc304 static void tcg_out_mb(TCGContext *s, unsigned a0)
310 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg)
350 static void tcg_out_movi_i32(TCGContext *s, TCGReg rd, int32_t val)
374 static void tcg_out_movi(TCGContext *s, TCGType type, TCGReg rd,
451 static void tcg_out_addi(TCGContext *s, TCGType type, TCGReg rd,
490 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2)
495 static void tcg_out_addi_ptr(TCGContext *s, TCGReg rd, TCGReg rs,
502 static void tcg_out_ext8u(TCGContext *s, TCGReg ret, TCGReg arg)
507 static void tcg_out_ext16u(TCGContext *s, TCGReg ret, TCGReg arg)
512 static void tcg_out_ext32u(TCGContext *s, TCGReg ret, TCGReg arg)
[all …]
/qemu/tcg/tci/
H A Dtcg-target.c.inc120 static void tcg_out_op_l(TCGContext *s, TCGOpcode op, TCGLabel *l0)
129 static void tcg_out_op_p(TCGContext *s, TCGOpcode op, void *p0)
149 static void tcg_out_op_r(TCGContext *s, TCGOpcode op, TCGReg r0)
158 static void tcg_out_op_v(TCGContext *s, TCGOpcode op)
163 static void tcg_out_op_ri(TCGContext *s, TCGOpcode op, TCGReg r0, int32_t i1)
174 static void tcg_out_op_rl(TCGContext *s, TCGOpcode op, TCGReg r0, TCGLabel *l1)
184 static void tcg_out_op_rr(TCGContext *s, TCGOpcode op, TCGReg r0, TCGReg r1)
194 static void tcg_out_op_rrm(TCGContext *s, TCGOpcode op,
207 static void tcg_out_op_rrr(TCGContext *s, TCGOpcode op,
219 static void tcg_out_op_rrs(TCGContext *s, TCGOpcode op,
[all …]
/qemu/tcg/sparc64/
H A Dtcg-target.c.inc359 static void tcg_out_nop(TCGContext *s)
364 static void tcg_out_arith(TCGContext *s, TCGReg rd, TCGReg rs1,
370 static void tcg_out_arithi(TCGContext *s, TCGReg rd, TCGReg rs1,
376 static void tcg_out_arithc(TCGContext *s, TCGReg rd, TCGReg rs1,
383 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg)
391 static void tcg_out_mov_delay(TCGContext *s, TCGReg ret, TCGReg arg)
400 static void tcg_out_sethi(TCGContext *s, TCGReg ret, uint32_t arg)
406 static void tcg_out_movi_s13(TCGContext *s, TCGReg ret, int32_t arg)
412 static void tcg_out_movi_s32(TCGContext *s, TCGReg ret, int32_t arg)
419 static void tcg_out_movi_u32(TCGContext *s, TCGReg ret, uint32_t arg)
[all …]
/qemu/tcg/arm/
H A Dtcg-target.c.inc547 static void tcg_out_b_imm(TCGContext *s, ARMCond cond, int32_t offset)
553 static void tcg_out_bl_imm(TCGContext *s, ARMCond cond, int32_t offset)
559 static void tcg_out_blx_reg(TCGContext *s, ARMCond cond, TCGReg rn)
564 static void tcg_out_blx_imm(TCGContext *s, int32_t offset)
570 static void tcg_out_dat_reg(TCGContext *s, ARMCond cond, ARMInsn opc,
577 static void tcg_out_mov_reg(TCGContext *s, ARMCond cond, TCGReg rd, TCGReg rm)
585 static void tcg_out_bx_reg(TCGContext *s, ARMCond cond, TCGReg rn)
590 static void tcg_out_b_reg(TCGContext *s, ARMCond cond, TCGReg rn)
599 static void tcg_out_dat_imm(TCGContext *s, ARMCond cond, ARMInsn opc,
606 static void tcg_out_ldstm(TCGContext *s, ARMCond cond, ARMInsn opc,
[all …]
/qemu/tcg/aarch64/
H A Dtcg-target.c.inc654 static inline uint32_t tcg_in32(TCGContext *s)
664 static void tcg_out_insn_3303(TCGContext *s, AArch64Insn insn, bool q,
670 static void tcg_out_insn_3305(TCGContext *s, AArch64Insn insn,
676 static void tcg_out_insn_3306(TCGContext *s, AArch64Insn insn, TCGReg rs,
682 static void tcg_out_insn_3201(TCGContext *s, AArch64Insn insn, TCGType ext,
688 static void tcg_out_insn_3202(TCGContext *s, AArch64Insn insn,
694 static void tcg_out_insn_3205(TCGContext *s, AArch64Insn insn,
702 static void tcg_out_insn_3206(TCGContext *s, AArch64Insn insn, int imm26)
707 static void tcg_out_insn_3207(TCGContext *s, AArch64Insn insn, TCGReg rn)
712 static void tcg_out_insn_3314(TCGContext *s, AArch64Insn insn,
[all …]
/qemu/tcg/
H A Dtcg-internal.h32 extern TCGContext tcg_init_ctx;
33 extern TCGContext **tcg_ctxs;
38 bool tcg_region_alloc(TCGContext *s);
39 void tcg_region_initial_alloc(TCGContext *s);
40 void tcg_region_prologue_set(TCGContext *s);
109 TCGOp *tcg_op_insert_before(TCGContext *s, TCGOp *op,
111 TCGOp *tcg_op_insert_after(TCGContext *s, TCGOp *op,
H A Dtcg.c67 static void tcg_target_init(TCGContext *s);
68 static void tcg_target_qemu_prologue(TCGContext *s);
74 static bool tcg_out_qemu_ld_slow_path(TCGContext *s, TCGLabelQemuLdst *l);
75 static bool tcg_out_qemu_st_slow_path(TCGContext *s, TCGLabelQemuLdst *l);
118 static void tcg_out_tb_start(TCGContext *s);
119 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg1,
121 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg);
122 static void tcg_out_movi(TCGContext *s, TCGType type,
124 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg);
125 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg);
[all …]
H A Dregion.c348 static void tcg_region_assign(TCGContext *s, size_t curr_region) in tcg_region_assign()
360 static bool tcg_region_alloc__locked(TCGContext *s) in tcg_region_alloc__locked()
374 bool tcg_region_alloc(TCGContext *s) in tcg_region_alloc()
393 static void tcg_region_initial_alloc__locked(TCGContext *s) in tcg_region_initial_alloc__locked()
399 void tcg_region_initial_alloc(TCGContext *s) in tcg_region_initial_alloc()
417 TCGContext *s = qatomic_read(&tcg_ctxs[i]); in tcg_region_reset_all()
860 void tcg_region_prologue_set(TCGContext *s) in tcg_region_prologue_set()
891 const TCGContext *s = qatomic_read(&tcg_ctxs[i]); in tcg_code_size()
H A Doptimize.c52 TCGContext *tcg;
1703 TCGContext *s = ctx->tcg; in fold_call()
3005 void tcg_optimize(TCGContext *s) in tcg_optimize()
/qemu/tcg/riscv/
H A Dtcg-target.c.inc561 static void tcg_out_opc_reg(TCGContext *s, RISCVInsn opc,
567 static void tcg_out_opc_imm(TCGContext *s, RISCVInsn opc,
573 static void tcg_out_opc_store(TCGContext *s, RISCVInsn opc,
579 static void tcg_out_opc_branch(TCGContext *s, RISCVInsn opc,
585 static void tcg_out_opc_upper(TCGContext *s, RISCVInsn opc,
591 static void tcg_out_opc_jump(TCGContext *s, RISCVInsn opc,
679 static void tcg_out_opc_vv(TCGContext *s, RISCVInsn opc,
685 static void tcg_out_opc_vx(TCGContext *s, RISCVInsn opc,
691 static void tcg_out_opc_vi(TCGContext *s, RISCVInsn opc,
697 static void tcg_out_opc_vv_vi(TCGContext *s, RISCVInsn o_vv, RISCVInsn o_vi,
[all …]
/qemu/tcg/s390x/
H A Dtcg-target.c.inc652 static void tcg_out_insn_RR(TCGContext *s, S390Opcode op, TCGReg r1, TCGReg r2)
657 static void tcg_out_insn_RRE(TCGContext *s, S390Opcode op,
664 static void tcg_out_insn_RRFa(TCGContext *s, S390Opcode op,
671 static void tcg_out_insn_RRFam(TCGContext *s, S390Opcode op,
677 static void tcg_out_insn_RRFc(TCGContext *s, S390Opcode op,
683 static void tcg_out_insn_RI(TCGContext *s, S390Opcode op, TCGReg r1, int i2)
688 static void tcg_out_insn_RIEd(TCGContext *s, S390Opcode op,
696 static void tcg_out_insn_RIEg(TCGContext *s, S390Opcode op, TCGReg r1,
703 static void tcg_out_insn_RIL(TCGContext *s, S390Opcode op, TCGReg r1, int i2)
709 static void tcg_out_insn_RS(TCGContext *s, S390Opcode op, TCGReg r1,
[all …]
/qemu/tcg/mips/
H A Dtcg-target.c.inc373 static void tcg_out_opc_reg(TCGContext *s, MIPSInsn opc,
388 static void tcg_out_opc_imm(TCGContext *s, MIPSInsn opc,
403 static void tcg_out_opc_bf(TCGContext *s, MIPSInsn opc, TCGReg rt,
416 static void tcg_out_opc_bf64(TCGContext *s, MIPSInsn opc, MIPSInsn opm,
434 static void tcg_out_opc_br(TCGContext *s, MIPSInsn opc, TCGReg rt, TCGReg rs)
442 static void tcg_out_opc_sa(TCGContext *s, MIPSInsn opc,
455 static void tcg_out_opc_sa64(TCGContext *s, MIPSInsn opc1, MIPSInsn opc2,
471 static bool tcg_out_opc_jmp(TCGContext *s, MIPSInsn opc, const void *target)
490 static void tcg_out_nop(TCGContext *s)
500 static void tcg_out_dsll(TCGContext *s, TCGReg rd, TCGReg rt, TCGArg sa)
[all …]
/qemu/include/tcg/
H A Dtcg.h308 typedef struct TCGContext TCGContext; typedef
359 struct TCGContext { struct
467 extern __thread TCGContext *tcg_ctx; argument
649 void *tcg_malloc_internal(TCGContext *s, int size);
650 void tcg_pool_reset(TCGContext *s);
651 TranslationBlock *tcg_tb_alloc(TCGContext *s);
708 TCGContext *s = tcg_ctx; in tcg_malloc()
724 void tcg_func_start(TCGContext *s);
726 int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start);
731 void tcg_set_frame(TCGContext *s, TCGReg reg, intptr_t start, intptr_t size);
[all …]
H A Dtcg-temp-internal.h46 static inline void tcg_temp_ebb_reset_freed(TCGContext *s) in tcg_temp_ebb_reset_freed()
/qemu/tcg/ppc/
H A Dtcg-target.c.inc222 static inline ptrdiff_t ppc_tbrel_diff(TCGContext *s, const void *target)
806 static bool tcg_out_need_prefix_align(TCGContext *s)
811 static void tcg_out_prefix_align(TCGContext *s)
818 static ptrdiff_t tcg_pcrel_diff_for_prefix(TCGContext *s, const void *target)
824 static void tcg_out_8ls_d(TCGContext *s, tcg_insn_unit opc, unsigned rt,
838 static void tcg_out_mls_d(TCGContext *s, tcg_insn_unit opc, unsigned rt,
851 static void tcg_out_mem_long(TCGContext *s, int opi, int opx, TCGReg rt,
854 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg)
898 static void tcg_out_rld_rc(TCGContext *s, int op, TCGReg ra, TCGReg rs,
907 static void tcg_out_rld(TCGContext *s, int op, TCGReg ra, TCGReg rs,
[all …]
/qemu/tcg/i386/
H A Dtcg-target.c.inc574 static void tcg_out_opc(TCGContext *s, int opc, int r, int rm, int x)
622 static void tcg_out_opc(TCGContext *s, int opc)
648 static void tcg_out_modrm(TCGContext *s, int opc, int r, int rm)
654 static void tcg_out_vex_opc(TCGContext *s, int opc, int r, int v,
706 static void tcg_out_evex_opc(TCGContext *s, int opc, int r, int v,
752 static void tcg_out_vex_modrm(TCGContext *s, int opc, int r, int v, int rm)
762 static void tcg_out_vex_modrm_type(TCGContext *s, int opc,
771 static void tcg_out_evex_modrm_type(TCGContext *s, int opc, int r, int v,
786 static void tcg_out_sib_offset(TCGContext *s, int r, int rm, int index,
863 static void tcg_out_modrm_sib_offset(TCGContext *s, int opc, int r, int rm,
[all …]