Home | History | Annotate | Download | only in tcg

Lines Matching refs:gen_code_buf

2455 static inline int tcg_gen_code_common(TCGContext *s, uint8_t *gen_code_buf,
2501 s->code_buf = gen_code_buf;
2502 s->code_ptr = gen_code_buf;
2570 if (search_pc >= 0 && search_pc < s->code_ptr - gen_code_buf) {
2584 int tcg_gen_code(TCGContext *s, uint8_t *gen_code_buf)
2600 tcg_gen_code_common(s, gen_code_buf, -1);
2603 flush_icache_range((uintptr_t)gen_code_buf, (uintptr_t)s->code_ptr);
2605 return s->code_ptr - gen_code_buf;
2609 offset bytes from the start of the TB. The contents of gen_code_buf must
2612 int tcg_gen_code_search_pc(TCGContext *s, uint8_t *gen_code_buf, long offset)
2614 return tcg_gen_code_common(s, gen_code_buf, offset);