Lines Matching refs:gen_code_buf
2005 static inline int tcg_gen_code_common(TCGContext *s, uint8_t *gen_code_buf,
2042 s->code_buf = gen_code_buf;
2043 s->code_ptr = gen_code_buf;
2116 if (search_pc >= 0 && search_pc < s->code_ptr - gen_code_buf) {
2128 int tcg_gen_code(TCGContext *s, uint8_t *gen_code_buf)
2144 tcg_gen_code_common(s, gen_code_buf, -1);
2147 flush_icache_range((uintptr_t)gen_code_buf,
2149 return s->code_ptr - gen_code_buf;
2153 offset bytes from the start of the TB. The contents of gen_code_buf must
2156 int tcg_gen_code_search_pc(TCGContext *s, uint8_t *gen_code_buf, intptr_t offset)
2158 return tcg_gen_code_common(s, gen_code_buf, offset);