Lines Matching refs:buf_ptr
318 …atch **first_patch, sljit_uw cpool_current_index, sljit_uw *cpool_start_address, sljit_uw *buf_ptr) in resolve_const_pool_index() argument
364 cpool_start_address[value] = *buf_ptr; in resolve_const_pool_index()
559 sljit_uw *buf_ptr; in sljit_generate_code() local
615 buf_ptr = (sljit_uw*)buf->memory; in sljit_generate_code()
616 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
622 buf_ptr++; in sljit_generate_code()
626 …IKELY(resolve_const_pool_index(&first_patch, cpool_current_index, cpool_start_address, buf_ptr))) { in sljit_generate_code()
631 buf_ptr++; in sljit_generate_code()
644 else if ((*buf_ptr & 0xff000000) != PUSH_POOL) { in sljit_generate_code()
646 *code_ptr = *buf_ptr++; in sljit_generate_code()
682 cpool_size = *buf_ptr++ & ~PUSH_POOL; in sljit_generate_code()
696 } while (buf_ptr < buf_end); in sljit_generate_code()
712 buf_ptr = compiler->cpool; in sljit_generate_code()
713 buf_end = buf_ptr + compiler->cpool_fill; in sljit_generate_code()
715 while (buf_ptr < buf_end) { in sljit_generate_code()
716 …IKELY(resolve_const_pool_index(&first_patch, cpool_current_index, cpool_start_address, buf_ptr))) { in sljit_generate_code()
721 buf_ptr++; in sljit_generate_code()
730 buf_ptr = (sljit_uw*)jump->addr; in sljit_generate_code()
735 …w)jump->u.label->addr - (sljit_sw)(buf_ptr + 2)) <= 0x01ffffff && ((sljit_sw)jump->u.label->addr -… in sljit_generate_code()
736 *buf_ptr |= (((sljit_sw)jump->u.label->addr - (sljit_sw)(buf_ptr + 2)) >> 2) & 0x00ffffff; in sljit_generate_code()
739 …(sljit_sw)jump->u.target - (sljit_sw)(buf_ptr + 2)) <= 0x01ffffff && ((sljit_sw)jump->u.target - (… in sljit_generate_code()
740 *buf_ptr |= (((sljit_sw)jump->u.target - (sljit_sw)(buf_ptr + 2)) >> 2) & 0x00ffffff; in sljit_generate_code()
746 code_ptr[0] = (sljit_uw)buf_ptr; in sljit_generate_code()
747 code_ptr[1] = *buf_ptr; in sljit_generate_code()
751 …inline_set_jump_addr((sljit_uw)buf_ptr, (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u… in sljit_generate_code()
757 buf_ptr--; in sljit_generate_code()
758 if (*buf_ptr & (1 << 23)) in sljit_generate_code()
759 buf_ptr += ((*buf_ptr & 0xfff) >> 2) + 2; in sljit_generate_code()
761 buf_ptr += 1; in sljit_generate_code()
762 *buf_ptr = (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u.target; in sljit_generate_code()
764 …inline_set_jump_addr((sljit_uw)buf_ptr, (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u… in sljit_generate_code()
773 buf_ptr = (sljit_uw*)const_->addr; in sljit_generate_code()
776 code_ptr[0] = (sljit_uw)buf_ptr; in sljit_generate_code()
777 code_ptr[1] = *buf_ptr; in sljit_generate_code()
778 if (*buf_ptr & (1 << 23)) in sljit_generate_code()
779 buf_ptr += ((*buf_ptr & 0xfff) >> 2) + 2; in sljit_generate_code()
781 buf_ptr += 1; in sljit_generate_code()
783 inline_set_const((sljit_uw)code_ptr, *buf_ptr, 0); in sljit_generate_code()