• Home
  • Raw
  • Download

Lines Matching refs:sljit_s32

29 static sljit_s32 emit_load_imm64(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm)  in emit_load_imm64()
44 sljit_s32 type = jump->flags >> TYPE_SHIFT; in generate_far_jump_code()
64 sljit_unaligned_store_s32(code_ptr, (sljit_s32)jump->u.target); in generate_far_jump_code()
68 code_ptr += short_addr ? sizeof(sljit_s32) : sizeof(sljit_sw); in generate_far_jump_code()
94 code_ptr += 2 + sizeof(sljit_s32); in generate_put_label_code()
98 code_ptr += 1 + sizeof(sljit_s32); in generate_put_label_code()
121 code_ptr = (sljit_u8*)(put_label->addr - (2 + sizeof(sljit_uw)) + sizeof(sljit_s32)); in generate_put_label_code()
127 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
128 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
129 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
131 sljit_s32 args, i, tmp, size, saved_register_size; in sljit_emit_enter()
279 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
280 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
281 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
283 sljit_s32 saved_register_size; in sljit_set_context()
303 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
305 sljit_s32 i, tmp, size; in sljit_emit_return()
378 static sljit_s32 emit_do_imm32(struct sljit_compiler *compiler, sljit_u8 rex, sljit_u8 opcode, slji… in emit_do_imm32()
381 sljit_s32 length = 1 + (rex ? 1 : 0) + sizeof(sljit_s32); in emit_do_imm32()
393 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_s32 size, in emit_x86_instruction()
395 sljit_s32 a, sljit_sw imma, in emit_x86_instruction()
397 sljit_s32 b, sljit_sw immb) in emit_x86_instruction()
402 sljit_s32 flags = size & ~0xf; in emit_x86_instruction()
403 sljit_s32 inst_size; in emit_x86_instruction()
449 inst_size += 1 + sizeof(sljit_s32); /* SIB byte required to avoid RIP based addressing. */ in emit_x86_instruction()
459 inst_size += sizeof(sljit_s32); in emit_x86_instruction()
497 inst_size += sizeof(sljit_s32); in emit_x86_instruction()
574 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
591 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
612 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *sr… in call_with_args()
614 sljit_s32 src = src_ptr ? (*src_ptr) : 0; in call_with_args()
615 sljit_s32 word_arg_count = 0; in call_with_args()
648 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *sr… in call_with_args()
650 sljit_s32 src = src_ptr ? (*src_ptr) : 0; in call_with_args()
651 sljit_s32 arg_count = 0; in call_with_args()
652 sljit_s32 word_arg_count = 0; in call_with_args()
653 sljit_s32 float_arg_count = 0; in call_with_args()
654 sljit_s32 types = 0; in call_with_args()
655 sljit_s32 data_trandfer = 0; in call_with_args()
732 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_call()
733 sljit_s32 arg_types) in sljit_emit_call()
748 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_icall()
749 sljit_s32 arg_types, in sljit_emit_icall()
750 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall()
765 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 in sljit_emit_fast_enter()
802 static sljit_s32 emit_fast_return(struct sljit_compiler *compiler, sljit_s32 src, sljit_sw srcw) in emit_fast_return()
844 static sljit_s32 emit_mov_int(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_int()
845 sljit_s32 dst, sljit_sw dstw, in emit_mov_int()
846 sljit_s32 src, sljit_sw srcw) in emit_mov_int()
849 sljit_s32 dst_r; in emit_mov_int()
859 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_s32)srcw, dst, dstw); in emit_mov_int()
867 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_s32)srcw, dst, dstw); in emit_mov_int()
901 static sljit_s32 skip_frames_before_return(struct sljit_compiler *compiler) in skip_frames_before_return()
903 sljit_s32 tmp, size; in skip_frames_before_return()