/external/qemu/tcg/ |
D | tcg.h | 269 typedef struct TCGContext TCGContext; typedef 271 struct TCGContext { struct 332 extern TCGContext tcg_ctx; argument 340 void *tcg_malloc_internal(TCGContext *s, int size); 341 void tcg_pool_reset(TCGContext *s); 342 void tcg_pool_delete(TCGContext *s); 346 TCGContext *s = &tcg_ctx; in tcg_malloc() 359 void tcg_context_init(TCGContext *s); 360 void tcg_prologue_init(TCGContext *s); 361 void tcg_func_start(TCGContext *s); [all …]
|
D | tcg.c | 66 static void tcg_target_init(TCGContext *s); 67 static void tcg_target_qemu_prologue(TCGContext *s); 94 static inline void tcg_out8(TCGContext *s, uint8_t v) in tcg_out8() 99 static inline void tcg_out16(TCGContext *s, uint16_t v) in tcg_out16() 105 static inline void tcg_out32(TCGContext *s, uint32_t v) in tcg_out32() 113 static void tcg_out_reloc(TCGContext *s, uint8_t *code_ptr, int type, in tcg_out_reloc() 136 static void tcg_out_label(TCGContext *s, int label_index, in tcg_out_label() 156 TCGContext *s = &tcg_ctx; in gen_new_label() 172 void *tcg_malloc_internal(TCGContext *s, int size) in tcg_malloc_internal() 214 void tcg_pool_reset(TCGContext *s) in tcg_pool_reset() [all …]
|
/external/qemu/tcg/arm/ |
D | tcg-target.c | 342 static inline void tcg_out_bx(TCGContext *s, int cond, int rn) in tcg_out_bx() 347 static inline void tcg_out_b(TCGContext *s, int cond, int32_t offset) in tcg_out_b() 353 static inline void tcg_out_b_noaddr(TCGContext *s, int cond) in tcg_out_b_noaddr() 367 static inline void tcg_out_bl(TCGContext *s, int cond, int32_t offset) in tcg_out_bl() 373 static inline void tcg_out_blx(TCGContext *s, int cond, int rn) in tcg_out_blx() 378 static inline void tcg_out_blx_imm(TCGContext *s, int32_t offset) in tcg_out_blx_imm() 384 static inline void tcg_out_dat_reg(TCGContext *s, in tcg_out_dat_reg() 391 static inline void tcg_out_dat_reg2(TCGContext *s, in tcg_out_dat_reg2() 410 static inline void tcg_out_dat_imm(TCGContext *s, in tcg_out_dat_imm() 417 static inline void tcg_out_movi32(TCGContext *s, in tcg_out_movi32() [all …]
|
/external/qemu/tcg/hppa/ |
D | tcg-target.c | 341 static void tcg_out_mov(TCGContext *s, TCGType type, int ret, int arg) in tcg_out_mov() 351 static void tcg_out_movi(TCGContext *s, TCGType type, in tcg_out_movi() 370 static void tcg_out_ldst(TCGContext *s, int ret, int addr, in tcg_out_ldst() 396 static inline void tcg_out_ld(TCGContext *s, TCGType type, int ret, in tcg_out_ld() 403 static inline void tcg_out_st(TCGContext *s, TCGType type, int ret, in tcg_out_st() 409 static void tcg_out_ldst_index(TCGContext *s, int data, in tcg_out_ldst_index() 415 static inline void tcg_out_addi2(TCGContext *s, int ret, int arg1, in tcg_out_addi2() 422 static inline void tcg_out_addi(TCGContext *s, int reg, tcg_target_long val) in tcg_out_addi() 427 static inline void tcg_out_arith(TCGContext *s, int t, int r1, int r2, int op) in tcg_out_arith() 432 static inline void tcg_out_arithi(TCGContext *s, int t, int r1, in tcg_out_arithi() [all …]
|
/external/qemu/tcg/i386/ |
D | tcg-target.c | 351 static void tcg_out_opc(TCGContext *s, int opc, int r, int rm, int x) in tcg_out_opc() 388 static void tcg_out_opc(TCGContext *s, int opc) in tcg_out_opc() 404 static void tcg_out_modrm(TCGContext *s, int opc, int r, int rm) in tcg_out_modrm() 415 static void tcg_out_modrm_sib_offset(TCGContext *s, int opc, int r, int rm, in tcg_out_modrm_sib_offset() 499 static inline void tcg_out_modrm_offset(TCGContext *s, int opc, int r, in tcg_out_modrm_offset() 506 static inline void tgen_arithr(TCGContext *s, int subop, int dest, int src) in tgen_arithr() 515 static inline void tcg_out_mov(TCGContext *s, TCGType type, int ret, int arg) in tcg_out_mov() 523 static void tcg_out_movi(TCGContext *s, TCGType type, in tcg_out_movi() 542 static inline void tcg_out_pushi(TCGContext *s, tcg_target_long val) in tcg_out_pushi() 555 static inline void tcg_out_push(TCGContext *s, int reg) in tcg_out_push() [all …]
|
/external/qemu/tcg/sparc/ |
D | tcg-target.c | 286 static inline void tcg_out_arith(TCGContext *s, int rd, int rs1, int rs2, in tcg_out_arith() 293 static inline void tcg_out_arithi(TCGContext *s, int rd, int rs1, in tcg_out_arithi() 300 static void tcg_out_arithc(TCGContext *s, int rd, int rs1, in tcg_out_arithc() 307 static inline void tcg_out_mov(TCGContext *s, TCGType type, int ret, int arg) in tcg_out_mov() 312 static inline void tcg_out_sethi(TCGContext *s, int ret, uint32_t arg) in tcg_out_sethi() 317 static inline void tcg_out_movi_imm13(TCGContext *s, int ret, uint32_t arg) in tcg_out_movi_imm13() 322 static inline void tcg_out_movi_imm32(TCGContext *s, int ret, uint32_t arg) in tcg_out_movi_imm32() 333 static inline void tcg_out_movi(TCGContext *s, TCGType type, in tcg_out_movi() 357 static inline void tcg_out_ld_raw(TCGContext *s, int ret, in tcg_out_ld_raw() 365 static inline void tcg_out_ld_ptr(TCGContext *s, int ret, in tcg_out_ld_ptr() [all …]
|
/external/qemu/tcg/x86_64/ |
D | tcg-target.c | 238 static void tcg_out_opc(TCGContext *s, int opc, int r, int rm, int x) in tcg_out_opc() 264 static inline void tcg_out_modrm(TCGContext *s, int opc, int r, int rm) in tcg_out_modrm() 271 static inline void tcg_out_modrm_offset(TCGContext *s, int opc, int r, int rm, in tcg_out_modrm_offset() 320 static void tcg_out_modrm_offset2(TCGContext *s, int opc, int r, int rm, in tcg_out_modrm_offset2() 357 static inline void tcg_out_mov(TCGContext *s, int ret, int arg) in tcg_out_mov() 362 static inline void tcg_out_movi(TCGContext *s, TCGType type, in tcg_out_movi() 380 static void tcg_out_goto(TCGContext *s, int call, uint8_t *target) in tcg_out_goto() 394 static inline void tcg_out_ld(TCGContext *s, TCGType type, int ret, in tcg_out_ld() 403 static inline void tcg_out_st(TCGContext *s, TCGType type, int arg, in tcg_out_st() 412 static inline void tgen_arithi32(TCGContext *s, int c, int r0, int32_t val) in tgen_arithi32() [all …]
|
/external/qemu/tcg/ppc64/ |
D | tcg-target.c | 438 static void tcg_out_mov (TCGContext *s, TCGType type, int ret, int arg) in tcg_out_mov() 443 static void tcg_out_rld (TCGContext *s, int op, int ra, int rs, int sh, int mb) in tcg_out_rld() 450 static void tcg_out_movi32 (TCGContext *s, int ret, int32_t arg) in tcg_out_movi32() 461 static void tcg_out_movi (TCGContext *s, TCGType type, in tcg_out_movi() 488 static void tcg_out_b (TCGContext *s, int mask, tcg_target_long target) in tcg_out_b() 502 static void tcg_out_call (TCGContext *s, tcg_target_long arg, int const_arg) in tcg_out_call() 529 static void tcg_out_ldst (TCGContext *s, int ret, int addr, in tcg_out_ldst() 540 static void tcg_out_ldsta (TCGContext *s, int ret, int addr, in tcg_out_ldsta() 569 static void tcg_out_tlb_read (TCGContext *s, int r0, int r1, int r2, in tcg_out_tlb_read() 617 static void tcg_out_qemu_ld (TCGContext *s, const TCGArg *args, int opc) in tcg_out_qemu_ld() [all …]
|
/external/qemu/tcg/ppc/ |
D | tcg-target.c | 440 static void tcg_out_mov(TCGContext *s, TCGType type, int ret, int arg) in tcg_out_mov() 445 static void tcg_out_movi(TCGContext *s, TCGType type, in tcg_out_movi() 457 static void tcg_out_ldst (TCGContext *s, int ret, int addr, in tcg_out_ldst() 468 static void tcg_out_b (TCGContext *s, int mask, tcg_target_long target) in tcg_out_b() 482 static void tcg_out_call (TCGContext *s, tcg_target_long arg, int const_arg) in tcg_out_call() 527 static void tcg_out_qemu_ld (TCGContext *s, const TCGArg *args, int opc) in tcg_out_qemu_ld() 724 static void tcg_out_qemu_st (TCGContext *s, const TCGArg *args, int opc) in tcg_out_qemu_st() 903 static void tcg_target_qemu_prologue (TCGContext *s) in tcg_target_qemu_prologue() 959 static void tcg_out_ld (TCGContext *s, TCGType type, int ret, int arg1, in tcg_out_ld() 965 static void tcg_out_st (TCGContext *s, TCGType type, int arg, int arg1, in tcg_out_st() [all …]
|
/external/qemu/ |
D | translate-all.c | 35 TCGContext tcg_ctx; 101 TCGContext *s = &tcg_ctx; in cpu_gen_code() 176 TCGContext *s = &tcg_ctx; in cpu_restore_state()
|