Lines Matching defs:code_ptr
99 static void patch_reloc(uint8_t *code_ptr, int type,
105 value -= (uintptr_t)code_ptr;
109 *(uint32_t *)code_ptr = value;
112 value -= (uintptr_t)code_ptr;
116 *(uint8_t *)code_ptr = value;
486 tcg_target_long pc = (tcg_target_long)s->code_ptr
489 tcg_target_long pc = (tcg_target_long)s->code_ptr + 5 + ~rm;
497 Assert(pc == (tcg_target_long)s->code_ptr);
800 val = l->u.value - (tcg_target_long)s->code_ptr;
827 tcg_out_reloc(s, s->code_ptr, R_386_PC8, label_index, -1);
828 s->code_ptr += 1;
835 tcg_out_reloc(s, s->code_ptr, R_386_PC32, label_index, -4);
836 s->code_ptr += 4;
951 tcg_out_label(s, label_next, (tcg_target_long)s->code_ptr);
993 tcg_out_label(s, label_true, (tcg_target_long)s->code_ptr);
996 tcg_out_label(s, label_over, (tcg_target_long)s->code_ptr);
1010 tcg_out_label(s, label_over, (tcg_target_long)s->code_ptr);
1018 tcg_target_long disp = dest - (tcg_target_long)s->code_ptr
1022 tcg_target_long disp = dest - (tcg_target_long)s->code_ptr - 5;
1126 label_ptr[0] = s->code_ptr;
1127 s->code_ptr++;
1135 label_ptr[1] = s->code_ptr;
1136 s->code_ptr++;
1250 disp = (uintptr_t)dst - (uintptr_t)s->code_ptr - 5;
1353 label_ptr[2] = s->code_ptr;
1354 s->code_ptr++;
1359 *label_ptr[0] = s->code_ptr - label_ptr[0] - 1;
1361 *label_ptr[1] = s->code_ptr - label_ptr[1] - 1;
1413 *label_ptr[2] = s->code_ptr - label_ptr[2] - 1;
1536 label_ptr[2] = s->code_ptr;
1537 s->code_ptr++;
1542 *label_ptr[0] = s->code_ptr - label_ptr[0] - 1;
1544 *label_ptr[1] = s->code_ptr - label_ptr[1] - 1;
1626 *label_ptr[2] = s->code_ptr - label_ptr[2] - 1;
1678 s->tb_jmp_offset[args[0]] = s->code_ptr - s->code_buf;
1685 s->tb_next_offset[args[0]] = s->code_ptr - s->code_buf;
2187 tb_ret_addr = s->code_ptr;