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()
42 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type) in generate_far_jump_code()
68 static sljit_u8* generate_fixed_jump(sljit_u8 *code_ptr, sljit_sw addr, sljit_s32 type) in generate_fixed_jump()
70 sljit_sw delta = addr - ((sljit_sw)code_ptr + 1 + sizeof(sljit_s32)); in generate_fixed_jump()
90 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
91 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
92 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
94 sljit_s32 i, tmp, size, saved_register_size; in sljit_emit_enter()
175 inst = (sljit_u8*)ensure_buf(compiler, 1 + 4 + (3 + sizeof(sljit_s32))); in sljit_emit_enter()
177 INC_SIZE(4 + (3 + sizeof(sljit_s32))); in sljit_emit_enter()
223 inst += sizeof(sljit_s32); in sljit_emit_enter()
240 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
241 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
242 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
244 sljit_s32 saved_register_size; in sljit_set_context()
256 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
258 sljit_s32 i, tmp, size; in sljit_emit_return()
331 static sljit_s32 emit_do_imm32(struct sljit_compiler *compiler, sljit_u8 rex, sljit_u8 opcode, slji… in emit_do_imm32()
334 sljit_s32 length = 1 + (rex ? 1 : 0) + sizeof(sljit_s32); in emit_do_imm32()
346 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_s32 size, in emit_x86_instruction()
348 sljit_s32 a, sljit_sw imma, in emit_x86_instruction()
350 sljit_s32 b, sljit_sw immb) in emit_x86_instruction()
355 sljit_s32 flags = size & ~0xf; in emit_x86_instruction()
356 sljit_s32 inst_size; in emit_x86_instruction()
403 inst_size += 1 + sizeof(sljit_s32); /* SIB byte required to avoid RIP based addressing. */ in emit_x86_instruction()
413 inst_size += sizeof(sljit_s32); in emit_x86_instruction()
447 inst_size += sizeof(sljit_s32); in emit_x86_instruction()
520 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
537 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
556 static SLJIT_INLINE sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 type) in call_with_args()
592 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32… in sljit_emit_fast_enter()
629 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_return(struct sljit_compiler *compiler, sljit_s3… in sljit_emit_fast_return()
680 inst += sizeof(sljit_s32); in sljit_emit_fast_return()
692 static sljit_s32 emit_mov_int(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_int()
693 sljit_s32 dst, sljit_sw dstw, in emit_mov_int()
694 sljit_s32 src, sljit_sw srcw) in emit_mov_int()
697 sljit_s32 dst_r; in emit_mov_int()
707 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_s32)srcw, dst, dstw); in emit_mov_int()
715 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_s32)srcw, dst, dstw); in emit_mov_int()