/openbmc/qemu/tcg/loongarch64/ |
H A D | tcg-insn-defs.c.inc | 1320 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 D | tcg-target.c.inc | 292 static void tcg_out_mb(TCGContext *s, TCGArg a0) 298 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 338 static void tcg_out_movi_i32(TCGContext *s, TCGReg rd, int32_t val) 362 static void tcg_out_movi(TCGContext *s, TCGType type, TCGReg rd, 439 static void tcg_out_addi(TCGContext *s, TCGType type, TCGReg rd, 478 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2) 483 static void tcg_out_addi_ptr(TCGContext *s, TCGReg rd, TCGReg rs, 490 static void tcg_out_ext8u(TCGContext *s, TCGReg ret, TCGReg arg) 495 static void tcg_out_ext16u(TCGContext *s, TCGReg ret, TCGReg arg) 500 static void tcg_out_ext32u(TCGContext *s, TCGReg ret, TCGReg arg) [all …]
|
/openbmc/qemu/include/tcg/ |
H A D | tcg.h | 403 typedef struct TCGContext TCGContext; typedef 453 struct TCGContext { struct 565 extern __thread TCGContext *tcg_ctx; argument 740 void *tcg_malloc_internal(TCGContext *s, int size); 741 void tcg_pool_reset(TCGContext *s); 742 TranslationBlock *tcg_tb_alloc(TCGContext *s); 758 TCGContext *s = tcg_ctx; in tcg_malloc() 774 void tcg_func_start(TCGContext *s); 776 int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start); 781 void tcg_set_frame(TCGContext *s, TCGReg reg, intptr_t start, intptr_t size); [all …]
|
/openbmc/qemu/tcg/tci/ |
H A D | tcg-target.c.inc | 256 static void tcg_out_op_l(TCGContext *s, TCGOpcode op, TCGLabel *l0) 265 static void tcg_out_op_p(TCGContext *s, TCGOpcode op, void *p0) 285 static void tcg_out_op_r(TCGContext *s, TCGOpcode op, TCGReg r0) 294 static void tcg_out_op_v(TCGContext *s, TCGOpcode op) 299 static void tcg_out_op_ri(TCGContext *s, TCGOpcode op, TCGReg r0, int32_t i1) 310 static void tcg_out_op_rl(TCGContext *s, TCGOpcode op, TCGReg r0, TCGLabel *l1) 320 static void tcg_out_op_rr(TCGContext *s, TCGOpcode op, TCGReg r0, TCGReg r1) 330 static void tcg_out_op_rrm(TCGContext *s, TCGOpcode op, 343 static void tcg_out_op_rrr(TCGContext *s, TCGOpcode op, 355 static void tcg_out_op_rrs(TCGContext *s, TCGOpcode op, [all …]
|
/openbmc/qemu/tcg/arm/ |
H A D | tcg-target.c.inc | 539 static void tcg_out_b_imm(TCGContext *s, ARMCond cond, int32_t offset) 545 static void tcg_out_bl_imm(TCGContext *s, ARMCond cond, int32_t offset) 551 static void tcg_out_blx_reg(TCGContext *s, ARMCond cond, TCGReg rn) 556 static void tcg_out_blx_imm(TCGContext *s, int32_t offset) 562 static void tcg_out_dat_reg(TCGContext *s, ARMCond cond, ARMInsn opc, 569 static void tcg_out_mov_reg(TCGContext *s, ARMCond cond, TCGReg rd, TCGReg rm) 577 static void tcg_out_bx_reg(TCGContext *s, ARMCond cond, TCGReg rn) 582 static void tcg_out_b_reg(TCGContext *s, ARMCond cond, TCGReg rn) 591 static void tcg_out_dat_imm(TCGContext *s, ARMCond cond, ARMInsn opc, 598 static void tcg_out_ldstm(TCGContext *s, ARMCond cond, ARMInsn opc, [all …]
|
/openbmc/qemu/tcg/ |
H A D | tcg.c | 65 static void tcg_target_init(TCGContext *s); 66 static void tcg_target_qemu_prologue(TCGContext *s); 112 static void tcg_out_tb_start(TCGContext *s); 113 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg1, 115 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg); 116 static void tcg_out_movi(TCGContext *s, TCGType type, 118 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg); 119 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg); 120 static void tcg_out_ext8u(TCGContext *s, TCGReg ret, TCGReg arg); 121 static void tcg_out_ext16u(TCGContext *s, TCGReg ret, TCGReg arg); [all …]
|
H A D | tcg-internal.h | 32 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);
|
H A D | tcg-pool.c.inc | 33 static TCGLabelPoolData *new_pool_alloc(TCGContext *s, int nlong, int rtype, 46 static void new_pool_insert(TCGContext *s, TCGLabelPoolData *n) 68 static inline void new_pool_label(TCGContext *s, tcg_target_ulong d, int rtype, 77 static inline void new_pool_l2(TCGContext *s, int rtype, tcg_insn_unit *label, 88 static inline void new_pool_l4(TCGContext *s, int rtype, tcg_insn_unit *label, 102 static inline void new_pool_l8(TCGContext *s, int rtype, tcg_insn_unit *label, 124 static int tcg_out_pool_finalize(TCGContext *s)
|
H A D | tcg-ldst.c.inc | 27 static bool tcg_out_qemu_ld_slow_path(TCGContext *s, TCGLabelQemuLdst *l); 28 static bool tcg_out_qemu_st_slow_path(TCGContext *s, TCGLabelQemuLdst *l); 30 static int tcg_out_ldst_finalize(TCGContext *s) 57 static inline TCGLabelQemuLdst *new_ldst_label(TCGContext *s)
|
H A D | region.c | 348 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() 863 void tcg_region_prologue_set(TCGContext *s) in tcg_region_prologue_set() 894 const TCGContext *s = qatomic_read(&tcg_ctxs[i]); in tcg_code_size()
|
H A D | optimize.c | 59 TCGContext *tcg; 1508 TCGContext *s = ctx->tcg; in fold_call() 2796 void tcg_optimize(TCGContext *s) in tcg_optimize()
|
/openbmc/qemu/tcg/sparc64/ |
H A D | tcg-target.c.inc | 347 static void tcg_out_nop(TCGContext *s) 352 static void tcg_out_arith(TCGContext *s, TCGReg rd, TCGReg rs1, 358 static void tcg_out_arithi(TCGContext *s, TCGReg rd, TCGReg rs1, 364 static void tcg_out_arithc(TCGContext *s, TCGReg rd, TCGReg rs1, 371 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 379 static void tcg_out_mov_delay(TCGContext *s, TCGReg ret, TCGReg arg) 388 static void tcg_out_sethi(TCGContext *s, TCGReg ret, uint32_t arg) 394 static void tcg_out_movi_s13(TCGContext *s, TCGReg ret, int32_t arg) 400 static void tcg_out_movi_s32(TCGContext *s, TCGReg ret, int32_t arg) 407 static void tcg_out_movi_u32(TCGContext *s, TCGReg ret, uint32_t arg) [all …]
|
/openbmc/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 641 static inline uint32_t tcg_in32(TCGContext *s) 651 static void tcg_out_insn_3303(TCGContext *s, AArch64Insn insn, bool q, 657 static void tcg_out_insn_3305(TCGContext *s, AArch64Insn insn, 663 static void tcg_out_insn_3306(TCGContext *s, AArch64Insn insn, TCGReg rs, 669 static void tcg_out_insn_3201(TCGContext *s, AArch64Insn insn, TCGType ext, 675 static void tcg_out_insn_3202(TCGContext *s, AArch64Insn insn, 681 static void tcg_out_insn_3205(TCGContext *s, AArch64Insn insn, 689 static void tcg_out_insn_3206(TCGContext *s, AArch64Insn insn, int imm26) 694 static void tcg_out_insn_3207(TCGContext *s, AArch64Insn insn, TCGReg rn) 699 static void tcg_out_insn_3314(TCGContext *s, AArch64Insn insn, [all …]
|
/openbmc/qemu/tcg/mips/ |
H A D | tcg-target.c.inc | 368 static void tcg_out_opc_reg(TCGContext *s, MIPSInsn opc, 383 static void tcg_out_opc_imm(TCGContext *s, MIPSInsn opc, 398 static void tcg_out_opc_bf(TCGContext *s, MIPSInsn opc, TCGReg rt, 411 static void tcg_out_opc_bf64(TCGContext *s, MIPSInsn opc, MIPSInsn opm, 429 static void tcg_out_opc_br(TCGContext *s, MIPSInsn opc, TCGReg rt, TCGReg rs) 437 static void tcg_out_opc_sa(TCGContext *s, MIPSInsn opc, 450 static void tcg_out_opc_sa64(TCGContext *s, MIPSInsn opc1, MIPSInsn opc2, 466 static bool tcg_out_opc_jmp(TCGContext *s, MIPSInsn opc, const void *target) 485 static void tcg_out_nop(TCGContext *s) 495 static void tcg_out_dsll(TCGContext *s, TCGReg rd, TCGReg rt, TCGArg sa) [all …]
|
/openbmc/qemu/tcg/riscv/ |
H A D | tcg-target.c.inc | 574 static void tcg_out_opc_reg(TCGContext *s, RISCVInsn opc, 580 static void tcg_out_opc_imm(TCGContext *s, RISCVInsn opc, 586 static void tcg_out_opc_store(TCGContext *s, RISCVInsn opc, 592 static void tcg_out_opc_branch(TCGContext *s, RISCVInsn opc, 598 static void tcg_out_opc_upper(TCGContext *s, RISCVInsn opc, 604 static void tcg_out_opc_jump(TCGContext *s, RISCVInsn opc, 692 static void tcg_out_opc_vv(TCGContext *s, RISCVInsn opc, 698 static void tcg_out_opc_vx(TCGContext *s, RISCVInsn opc, 704 static void tcg_out_opc_vi(TCGContext *s, RISCVInsn opc, 710 static void tcg_out_opc_vv_vi(TCGContext *s, RISCVInsn o_vv, RISCVInsn o_vi, [all …]
|
/openbmc/qemu/tcg/s390x/ |
H A D | tcg-target.c.inc | 637 static void tcg_out_insn_RR(TCGContext *s, S390Opcode op, TCGReg r1, TCGReg r2) 642 static void tcg_out_insn_RRE(TCGContext *s, S390Opcode op, 649 static void tcg_out_insn_RRFa(TCGContext *s, S390Opcode op, 656 static void tcg_out_insn_RRFam(TCGContext *s, S390Opcode op, 662 static void tcg_out_insn_RRFc(TCGContext *s, S390Opcode op, 668 static void tcg_out_insn_RI(TCGContext *s, S390Opcode op, TCGReg r1, int i2) 673 static void tcg_out_insn_RIEg(TCGContext *s, S390Opcode op, TCGReg r1, 680 static void tcg_out_insn_RIL(TCGContext *s, S390Opcode op, TCGReg r1, int i2) 686 static void tcg_out_insn_RS(TCGContext *s, S390Opcode op, TCGReg r1, 693 static void tcg_out_insn_RSY(TCGContext *s, S390Opcode op, TCGReg r1, [all …]
|
/openbmc/qemu/tcg/ppc/ |
H A D | tcg-target.c.inc | 223 static inline ptrdiff_t ppc_tbrel_diff(TCGContext *s, const void *target) 804 static bool tcg_out_need_prefix_align(TCGContext *s) 809 static void tcg_out_prefix_align(TCGContext *s) 816 static ptrdiff_t tcg_pcrel_diff_for_prefix(TCGContext *s, const void *target) 822 static void tcg_out_8ls_d(TCGContext *s, tcg_insn_unit opc, unsigned rt, 836 static void tcg_out_mls_d(TCGContext *s, tcg_insn_unit opc, unsigned rt, 849 static void tcg_out_mem_long(TCGContext *s, int opi, int opx, TCGReg rt, 852 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 896 static void tcg_out_rld_rc(TCGContext *s, int op, TCGReg ra, TCGReg rs, 905 static void tcg_out_rld(TCGContext *s, int op, TCGReg ra, TCGReg rs, [all …]
|
/openbmc/qemu/tcg/i386/ |
H A D | tcg-target.c.inc | 556 static void tcg_out_opc(TCGContext *s, int opc, int r, int rm, int x) 604 static void tcg_out_opc(TCGContext *s, int opc) 630 static void tcg_out_modrm(TCGContext *s, int opc, int r, int rm) 636 static void tcg_out_vex_opc(TCGContext *s, int opc, int r, int v, 688 static void tcg_out_evex_opc(TCGContext *s, int opc, int r, int v, 734 static void tcg_out_vex_modrm(TCGContext *s, int opc, int r, int v, int rm) 744 static void tcg_out_vex_modrm_type(TCGContext *s, int opc, 753 static void tcg_out_evex_modrm_type(TCGContext *s, int opc, int r, int v, 768 static void tcg_out_sib_offset(TCGContext *s, int r, int rm, int index, 845 static void tcg_out_modrm_sib_offset(TCGContext *s, int opc, int r, int rm, [all …]
|