Lines Matching refs:addr

227 …unction_context(void** func_ptr, struct sljit_function_context* context, sljit_sw addr, void* func)  in sljit_set_function_context()  argument
233 context->addr = addr ? addr : ptrs[0]; in sljit_set_function_context()
325 sljit_uw addr; in sljit_generate_code() local
357 SLJIT_ASSERT(!jump || jump->addr >= word_count); in sljit_generate_code()
358 SLJIT_ASSERT(!const_ || const_->addr >= word_count); in sljit_generate_code()
362 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
366 if (jump && jump->addr == word_count) { in sljit_generate_code()
368 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
370 jump->addr = (sljit_uw)(code_ptr - 6); in sljit_generate_code()
400 jump->addr += sizeof(sljit_ins); in sljit_generate_code()
407 if (const_ && const_->addr == word_count) { in sljit_generate_code()
408 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
419 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
436 addr = (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u.target; in sljit_generate_code()
437 buf_ptr = (sljit_ins*)jump->addr; in sljit_generate_code()
441 addr = addr - jump->addr; in sljit_generate_code()
442 SLJIT_ASSERT((sljit_sw)addr <= 0x7fff && (sljit_sw)addr >= -0x8000); in sljit_generate_code()
443 *buf_ptr = BCx | (addr & 0xfffc) | ((*buf_ptr) & 0x03ff0001); in sljit_generate_code()
446 SLJIT_ASSERT(addr <= 0xffff); in sljit_generate_code()
447 *buf_ptr = BCx | (addr & 0xfffc) | 0x2 | ((*buf_ptr) & 0x03ff0001); in sljit_generate_code()
452 addr = addr - jump->addr; in sljit_generate_code()
453 SLJIT_ASSERT((sljit_sw)addr <= 0x01ffffff && (sljit_sw)addr >= -0x02000000); in sljit_generate_code()
454 *buf_ptr = Bx | (addr & 0x03fffffc) | ((*buf_ptr) & 0x1); in sljit_generate_code()
457 SLJIT_ASSERT(addr <= 0x03ffffff); in sljit_generate_code()
458 *buf_ptr = Bx | (addr & 0x03fffffc) | 0x2 | ((*buf_ptr) & 0x1); in sljit_generate_code()
465 buf_ptr[0] = (buf_ptr[0] & 0xffff0000) | ((addr >> 16) & 0xffff); in sljit_generate_code()
466 buf_ptr[1] = (buf_ptr[1] & 0xffff0000) | (addr & 0xffff); in sljit_generate_code()
469 SLJIT_ASSERT(addr <= 0x7fffffff); in sljit_generate_code()
470 buf_ptr[0] = (buf_ptr[0] & 0xffff0000) | ((addr >> 16) & 0xffff); in sljit_generate_code()
471 buf_ptr[1] = (buf_ptr[1] & 0xffff0000) | (addr & 0xffff); in sljit_generate_code()
475 SLJIT_ASSERT(addr <= 0x7fffffffffff); in sljit_generate_code()
476 buf_ptr[0] = (buf_ptr[0] & 0xffff0000) | ((addr >> 32) & 0xffff); in sljit_generate_code()
477 buf_ptr[1] = (buf_ptr[1] & 0xffff0000) | ((addr >> 16) & 0xffff); in sljit_generate_code()
478 buf_ptr[3] = (buf_ptr[3] & 0xffff0000) | (addr & 0xffff); in sljit_generate_code()
481 buf_ptr[0] = (buf_ptr[0] & 0xffff0000) | ((addr >> 48) & 0xffff); in sljit_generate_code()
482 buf_ptr[1] = (buf_ptr[1] & 0xffff0000) | ((addr >> 32) & 0xffff); in sljit_generate_code()
483 buf_ptr[3] = (buf_ptr[3] & 0xffff0000) | ((addr >> 16) & 0xffff); in sljit_generate_code()
484 buf_ptr[4] = (buf_ptr[4] & 0xffff0000) | (addr & 0xffff); in sljit_generate_code()
2158 jump->addr = compiler->size; in sljit_emit_jump()
2202 jump->addr = compiler->size; in sljit_emit_ijump()