Lines Matching refs:addr
238 inst = (sljit_ins*)jump->addr; in detect_jump_type()
247 jump->addr -= sizeof(sljit_ins); in detect_jump_type()
276 jump->addr = (sljit_uw)inst; in detect_jump_type()
290 jump->addr = (sljit_uw)inst; in detect_jump_type()
307 sljit_sw addr; in sljit_generate_code() local
339 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
340 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
341 SLJIT_ASSERT(!put_label || put_label->addr >= word_count); in sljit_generate_code()
346 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
350 if (jump && jump->addr == word_count) { in sljit_generate_code()
352 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
354 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code()
359 if (const_ && const_->addr == word_count) { in sljit_generate_code()
361 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
364 if (put_label && put_label->addr == word_count) { in sljit_generate_code()
366 put_label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
379 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
393 addr = (sljit_sw)((jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u.target); in sljit_generate_code()
394 buf_ptr = (sljit_ins *)jump->addr; in sljit_generate_code()
397 addr = (addr - (sljit_sw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code()
398 SLJIT_ASSERT(addr <= 0x1fffffff && addr >= -0x20000000); in sljit_generate_code()
399 buf_ptr[0] = CALL | ((sljit_ins)addr & 0x3fffffff); in sljit_generate_code()
403 addr = (addr - (sljit_sw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; in sljit_generate_code()
404 SLJIT_ASSERT(addr <= MAX_DISP && addr >= MIN_DISP); in sljit_generate_code()
405 buf_ptr[0] = (buf_ptr[0] & ~DISP_MASK) | ((sljit_ins)addr & DISP_MASK); in sljit_generate_code()
412 buf_ptr[0] |= (sljit_ins)(addr >> 10) & 0x3fffff; in sljit_generate_code()
413 buf_ptr[1] |= (sljit_ins)addr & 0x3ff; in sljit_generate_code()
423 addr = (sljit_sw)put_label->label->addr; in sljit_generate_code()
424 buf_ptr = (sljit_ins *)put_label->addr; in sljit_generate_code()
428 buf_ptr[0] |= (addr >> 10) & 0x3fffff; in sljit_generate_code()
429 buf_ptr[1] |= addr & 0x3ff; in sljit_generate_code()
1492 jump->addr = compiler->size; in sljit_emit_jump()
1546 jump->addr = compiler->size; in sljit_emit_ijump()