Lines Matching refs:code_ptr
154 static SLJIT_INLINE sljit_si detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_i… in detect_jump_type() argument
170 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4); in detect_jump_type()
175 code_ptr[-5] ^= (jump->flags & IS_CBZ) ? (0x1 << 24) : 0x1; in detect_jump_type()
190 code_ptr[-5] -= (2 << 5); in detect_jump_type()
191 code_ptr[-2] = code_ptr[0]; in detect_jump_type()
196 code_ptr[-5] -= (1 << 5); in detect_jump_type()
198 code_ptr[-1] = code_ptr[0]; in detect_jump_type()
210 sljit_ins *code_ptr; in sljit_generate_code() local
229 code_ptr = code; in sljit_generate_code()
239 *code_ptr = *buf_ptr++; in sljit_generate_code()
245 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
246 label->size = code_ptr - code; in sljit_generate_code()
250 jump->addr = (sljit_uw)(code_ptr - 4); in sljit_generate_code()
251 code_ptr -= detect_jump_type(jump, code_ptr, code); in sljit_generate_code()
255 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
258 code_ptr ++; in sljit_generate_code()
266 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
267 label->size = code_ptr - code; in sljit_generate_code()
274 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code()
311 compiler->executable_size = (code_ptr - code) * sizeof(sljit_ins); in sljit_generate_code()
312 SLJIT_CACHE_FLUSH(code, code_ptr); in sljit_generate_code()