Lines Matching refs:addr
176 jump->addr -= sizeof(sljit_ins); in detect_jump_type()
214 sljit_uw addr; in sljit_generate_code() local
242 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
243 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
245 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
249 if (jump && jump->addr == word_count) { in sljit_generate_code()
250 jump->addr = (sljit_uw)(code_ptr - 4); in sljit_generate_code()
254 if (const_ && const_->addr == word_count) { in sljit_generate_code()
255 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
266 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
279 addr = (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u.target; in sljit_generate_code()
280 buf_ptr = (sljit_ins*)jump->addr; in sljit_generate_code()
282 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code()
283 SLJIT_ASSERT((sljit_sw)addr <= 0x1ffffff && (sljit_sw)addr >= -0x2000000); in sljit_generate_code()
284 buf_ptr[0] = ((jump->flags & IS_BL) ? BL : B) | (addr & 0x3ffffff); in sljit_generate_code()
290 addr = (sljit_sw)(addr - jump->addr) >> 2; in sljit_generate_code()
291 SLJIT_ASSERT((sljit_sw)addr <= 0x3ffff && (sljit_sw)addr >= -0x40000); in sljit_generate_code()
292 buf_ptr[0] = (buf_ptr[0] & ~0xffffe0) | ((addr & 0x7ffff) << 5); in sljit_generate_code()
296 SLJIT_ASSERT((jump->flags & (PATCH_ABS48 | PATCH_ABS64)) || addr <= 0xffffffffl); in sljit_generate_code()
297 SLJIT_ASSERT((jump->flags & PATCH_ABS64) || addr <= 0xffffffffffffl); in sljit_generate_code()
300 buf_ptr[0] = MOVZ | dst | ((addr & 0xffff) << 5); in sljit_generate_code()
301 buf_ptr[1] = MOVK | dst | (((addr >> 16) & 0xffff) << 5) | (1 << 21); in sljit_generate_code()
303 buf_ptr[2] = MOVK | dst | (((addr >> 32) & 0xffff) << 5) | (2 << 21); in sljit_generate_code()
305 buf_ptr[3] = MOVK | dst | (((addr >> 48) & 0xffff) << 5) | (3 << 21); in sljit_generate_code()
1900 jump->addr = compiler->size; in sljit_emit_jump()
1935 jump->addr = compiler->size; in emit_cmp_to0()
1963 jump->addr = compiler->size; in sljit_emit_ijump()
2038 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr() argument
2040 sljit_ins* inst = (sljit_ins*)addr; in sljit_set_jump_addr()
2045 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) in sljit_set_const() argument
2047 sljit_ins* inst = (sljit_ins*)addr; in sljit_set_const()