• Home
  • Raw
  • Download

Lines Matching refs:sljit_uw

58 …(sljit_uw*)(((sljit_uw)(ptr) + (CONST_POOL_ALIGNMENT * sizeof(sljit_uw)) - 1) & ~((CONST_POOL_ALIG…
60 (((max_diff) / (sljit_s32)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1))
142 sljit_uw* inst; in push_cpool()
143 sljit_uw* cpool_ptr; in push_cpool()
144 sljit_uw* cpool_end; in push_cpool()
152 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool()
158 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool()
167 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_cpool()
177 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_uw inst) in push_inst()
179 sljit_uw* ptr; in push_inst()
184 ptr = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_inst()
191 static sljit_s32 push_inst_with_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw li… in push_inst_with_literal()
193 sljit_uw* ptr; in push_inst_with_literal()
194 sljit_uw cpool_index = CPOOL_SIZE; in push_inst_with_literal()
195 sljit_uw* cpool_ptr; in push_inst_with_literal()
196 sljit_uw* cpool_end; in push_inst_with_literal()
229 ptr = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_inst_with_literal()
241 …s32 push_inst_with_unique_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw literal) in push_inst_with_unique_literal()
243 sljit_uw* ptr; in push_inst_with_unique_literal()
248 ptr = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_inst_with_unique_literal()
278 static sljit_uw patch_pc_relative_loads(sljit_uw *last_pc_patch, sljit_uw *code_ptr, sljit_uw* cons… in patch_pc_relative_loads()
280 sljit_uw diff; in patch_pc_relative_loads()
281 sljit_uw ind; in patch_pc_relative_loads()
282 sljit_uw counter = 0; in patch_pc_relative_loads()
283 sljit_uw* clear_const_pool = const_pool; in patch_pc_relative_loads()
284 sljit_uw* clear_const_pool_end = const_pool + cpool_size; in patch_pc_relative_loads()
291 *clear_const_pool++ = (sljit_uw)(-1); in patch_pc_relative_loads()
330 …piler, struct future_patch **first_patch, sljit_uw cpool_current_index, sljit_uw *cpool_start_addr… in resolve_const_pool_index()
348 if ((sljit_uw)curr_patch->index == cpool_current_index) { in resolve_const_pool_index()
363 if ((sljit_uw)value > cpool_current_index) { in resolve_const_pool_index()
385 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_uw inst) in push_inst()
387 sljit_uw* ptr; in push_inst()
389 ptr = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); in push_inst()
404 …IT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_uw *code, … in detect_jump_type()
461 static SLJIT_INLINE void inline_set_jump_addr(sljit_uw jump_ptr, sljit_sw executable_offset, sljit_… in inline_set_jump_addr()
464 sljit_uw *ptr = (sljit_uw *)jump_ptr; in inline_set_jump_addr()
465 sljit_uw *inst = (sljit_uw *)ptr[0]; in inline_set_jump_addr()
466 sljit_uw mov_pc = ptr[1]; in inline_set_jump_addr()
481 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_jump_addr()
492 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_jump_addr()
511 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_jump_addr()
518 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_jump_addr()
535 sljit_uw *inst = (sljit_uw*)jump_ptr; in inline_set_jump_addr()
550 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_jump_addr()
556 static sljit_uw get_imm(sljit_uw imm);
558 static SLJIT_INLINE void inline_set_const(sljit_uw addr, sljit_sw executable_offset, sljit_sw new_c… in inline_set_const()
561 sljit_uw *ptr = (sljit_uw*)addr; in inline_set_const()
562 sljit_uw *inst = (sljit_uw*)ptr[0]; in inline_set_const()
563 sljit_uw ldr_literal = ptr[1]; in inline_set_const()
564 sljit_uw src2; in inline_set_const()
578 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_const()
594 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_const()
614 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_const()
629 sljit_uw *inst = (sljit_uw*)addr; in inline_set_const()
644 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in inline_set_const()
653 sljit_uw *code; in sljit_generate_code()
654 sljit_uw *code_ptr; in sljit_generate_code()
655 sljit_uw *buf_ptr; in sljit_generate_code()
656 sljit_uw *buf_end; in sljit_generate_code()
657 sljit_uw size; in sljit_generate_code()
658 sljit_uw word_count; in sljit_generate_code()
659 sljit_uw next_addr; in sljit_generate_code()
663 sljit_uw cpool_size; in sljit_generate_code()
664 sljit_uw cpool_skip_alignment; in sljit_generate_code()
665 sljit_uw cpool_current_index; in sljit_generate_code()
666 sljit_uw *cpool_start_address; in sljit_generate_code()
667 sljit_uw *last_pc_patch; in sljit_generate_code()
688 code = (sljit_uw*)SLJIT_MALLOC_EXEC(size * sizeof(sljit_uw), compiler->exec_allocator_data); in sljit_generate_code()
712 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code, executable_offset); in sljit_generate_code()
717 buf_ptr = (sljit_uw*)buf->memory; in sljit_generate_code()
739 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
762 jump->addr = (sljit_uw)code_ptr; in sljit_generate_code()
764 jump->addr = (sljit_uw)(code_ptr - 2); in sljit_generate_code()
772 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr + 1, executable_offset); in sljit_generate_code()
778 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
780 const_->addr = (sljit_uw)(code_ptr - 1); in sljit_generate_code()
786 put_label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
845 buf_ptr = (sljit_uw *)jump->addr; in sljit_generate_code()
861 jump->addr = (sljit_uw)code_ptr; in sljit_generate_code()
862 code_ptr[0] = (sljit_uw)buf_ptr; in sljit_generate_code()
864 …inline_set_jump_addr((sljit_uw)code_ptr, executable_offset, (jump->flags & JUMP_LABEL) ? jump->u.l… in sljit_generate_code()
867 …inline_set_jump_addr((sljit_uw)buf_ptr, executable_offset, (jump->flags & JUMP_LABEL) ? jump->u.la… in sljit_generate_code()
880 …inline_set_jump_addr((sljit_uw)buf_ptr, executable_offset, (jump->flags & JUMP_LABEL) ? jump->u.la… in sljit_generate_code()
889 buf_ptr = (sljit_uw*)const_->addr; in sljit_generate_code()
890 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
892 code_ptr[0] = (sljit_uw)buf_ptr; in sljit_generate_code()
899 inline_set_const((sljit_uw)code_ptr, executable_offset, *buf_ptr, 0); in sljit_generate_code()
909 buf_ptr = (sljit_uw*)put_label->addr; in sljit_generate_code()
926 compiler->executable_size = (code_ptr - code) * sizeof(sljit_uw); in sljit_generate_code()
928 code = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(code, executable_offset); in sljit_generate_code()
929 code_ptr = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
981 static const sljit_uw data_transfer_insts[16] = {
1021 sljit_uw push; in sljit_emit_enter()
1077 sljit_uw pop; in sljit_emit_return()
1262 static sljit_uw get_imm(sljit_uw imm) in get_imm()
1300 static sljit_s32 generate_int(struct sljit_compiler *compiler, sljit_s32 reg, sljit_uw imm, sljit_s… in generate_int()
1302 sljit_uw mask; in generate_int()
1303 sljit_uw imm1; in generate_int()
1304 sljit_uw imm2; in generate_int()
1411 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_uw imm) in load_immediate()
1413 sljit_uw tmp; in load_immediate()
1447 sljit_uw imm, offset_reg; in emit_op_mem()
1448 sljit_uw is_type1_transfer = IS_TYPE1_TRANSFER(flags); in emit_op_mem()
1908 return push_inst(compiler, *(sljit_uw*)instruction); in sljit_emit_op_custom()
1924 sljit_uw imm; in emit_fop_mem()
2156 static sljit_uw get_cc(sljit_s32 type) in get_cc()
2585 sljit_uw cc, ins; in sljit_emit_op_flags()
2625 sljit_uw cc, tmp; in sljit_emit_cmov()
2644 tmp = (sljit_uw) srcw; in sljit_emit_cmov()
2663 sljit_uw is_type1_transfer, inst; in sljit_emit_mem()
2816 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw exec… in sljit_set_jump_addr()
2821 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw execut… in sljit_set_const()