Lines Matching refs:code_ptr
196 static void patch_reloc (uint8_t *code_ptr, int type,
202 reloc_pc14 (code_ptr, value);
205 reloc_pc24 (code_ptr, value);
492 disp = target - (tcg_target_long) s->code_ptr;
641 label1_ptr = s->code_ptr;
670 label2_ptr = s->code_ptr;
675 reloc_pc14 (label1_ptr, (tcg_target_long) s->code_ptr);
760 reloc_pc24 (label2_ptr, (tcg_target_long) s->code_ptr);
787 label1_ptr = s->code_ptr;
799 label2_ptr = s->code_ptr;
804 reloc_pc14 (label1_ptr, (tcg_target_long) s->code_ptr);
859 reloc_pc24 (label2_ptr, (tcg_target_long) s->code_ptr);
884 addr = (uint64_t) s->code_ptr + 24;
886 s->code_ptr += 16; /* skip TOC and environment pointer */
912 tb_ret_addr = s->code_ptr;
1171 tcg_out32 (s, bc | reloc_pc14_val (s->code_ptr, l->u.value));
1173 uint16_t val = *(uint16_t *) &s->code_ptr[2];
1177 tcg_out_reloc (s, s->code_ptr - 4, R_PPC_REL14, label_index, 0);
1194 s.code_ptr = (uint8_t *) jmp_addr;
1196 patch_size = s.code_ptr - (uint8_t *) jmp_addr;
1214 s->tb_jmp_offset[args[0]] = s->code_ptr - s->code_buf;
1215 s->code_ptr += 28;
1220 s->tb_next_offset[args[0]] = s->code_ptr - s->code_buf;
1230 uint32_t val = *(uint32_t *) s->code_ptr;
1234 tcg_out_reloc (s, s->code_ptr - 4, R_PPC_REL24, args[0], 0);