Lines Matching refs:code_ptr
159 static SLJIT_INLINE sljit_sw detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_i… in detect_jump_type() argument
176 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4) - executable_offset; in detect_jump_type()
181 code_ptr[-5] ^= (jump->flags & IS_CBZ) ? (0x1 << 24) : 0x1; in detect_jump_type()
196 code_ptr[-5] -= (2 << 5); in detect_jump_type()
197 code_ptr[-2] = code_ptr[0]; in detect_jump_type()
203 code_ptr[-5] -= (1 << 5); in detect_jump_type()
205 code_ptr[-1] = code_ptr[0]; in detect_jump_type()
233 sljit_ins *code_ptr; in sljit_generate_code() local
255 code_ptr = code; in sljit_generate_code()
269 *code_ptr = *buf_ptr++; in sljit_generate_code()
278 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
279 label->size = (sljit_uw)(code_ptr - code); in sljit_generate_code()
283 jump->addr = (sljit_uw)(code_ptr - 4); in sljit_generate_code()
284 code_ptr -= detect_jump_type(jump, code_ptr, code, executable_offset); in sljit_generate_code()
288 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
293 put_label->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
294 …code_ptr -= put_label_get_length(put_label, (sljit_uw)(SLJIT_ADD_EXEC_OFFSET(code, executable_offs… in sljit_generate_code()
299 code_ptr ++; in sljit_generate_code()
307 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
308 label->size = (sljit_uw)(code_ptr - code); in sljit_generate_code()
316 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code()
372 compiler->executable_size = (sljit_uw)(code_ptr - code) * sizeof(sljit_ins); in sljit_generate_code()
375 code_ptr = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
377 SLJIT_CACHE_FLUSH(code, code_ptr); in sljit_generate_code()
378 SLJIT_UPDATE_WX_FLAGS(code, code_ptr, 1); in sljit_generate_code()