Lines Matching defs:code_ptr
86 static void patch_reloc(uint8_t *code_ptr, int type,
92 value -= (uintptr_t)code_ptr;
96 *(uint32_t *)code_ptr = value;
99 value -= (uintptr_t)code_ptr;
103 *(uint8_t *)code_ptr = value;
425 tcg_target_long pc = (tcg_target_long)s->code_ptr + 5 + ~rm;
722 val = l->u.value - (tcg_target_long)s->code_ptr;
749 tcg_out_reloc(s, s->code_ptr, R_386_PC8, label_index, -1);
750 s->code_ptr += 1;
757 tcg_out_reloc(s, s->code_ptr, R_386_PC32, label_index, -4);
758 s->code_ptr += 4;
873 tcg_out_label(s, label_next, (tcg_target_long)s->code_ptr);
915 tcg_out_label(s, label_true, (tcg_target_long)s->code_ptr);
918 tcg_out_label(s, label_over, (tcg_target_long)s->code_ptr);
932 tcg_out_label(s, label_over, (tcg_target_long)s->code_ptr);
939 tcg_target_long disp = dest - (tcg_target_long)s->code_ptr - 5;
1039 label_ptr[0] = s->code_ptr;
1040 s->code_ptr++;
1048 label_ptr[1] = s->code_ptr;
1049 s->code_ptr++;
1170 label_ptr[2] = s->code_ptr;
1171 s->code_ptr++;
1176 *label_ptr[0] = s->code_ptr - label_ptr[0] - 1;
1178 *label_ptr[1] = s->code_ptr - label_ptr[1] - 1;
1230 *label_ptr[2] = s->code_ptr - label_ptr[2] - 1;
1345 label_ptr[2] = s->code_ptr;
1346 s->code_ptr++;
1351 *label_ptr[0] = s->code_ptr - label_ptr[0] - 1;
1353 *label_ptr[1] = s->code_ptr - label_ptr[1] - 1;
1407 *label_ptr[2] = s->code_ptr - label_ptr[2] - 1;
1456 s->tb_jmp_offset[args[0]] = s->code_ptr - s->code_buf;
1463 s->tb_next_offset[args[0]] = s->code_ptr - s->code_buf;
1942 tb_ret_addr = s->code_ptr;