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 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
69 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
70 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
72 sljit_s32 i, tmp, size, saved_register_size; in sljit_emit_enter()
159 inst = (sljit_u8*)ensure_buf(compiler, 1 + 4 + (3 + sizeof(sljit_s32))); in sljit_emit_enter()
161 INC_SIZE(4 + (3 + sizeof(sljit_s32))); in sljit_emit_enter()
207 inst += sizeof(sljit_s32); in sljit_emit_enter()
225 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
226 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
227 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
229 sljit_s32 saved_register_size; in sljit_set_context()
249 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
251 sljit_s32 i, tmp, size; in sljit_emit_return()
324 static sljit_s32 emit_do_imm32(struct sljit_compiler *compiler, sljit_u8 rex, sljit_u8 opcode, slji… in emit_do_imm32()
327 sljit_s32 length = 1 + (rex ? 1 : 0) + sizeof(sljit_s32); in emit_do_imm32()
339 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_s32 size, in emit_x86_instruction()
341 sljit_s32 a, sljit_sw imma, in emit_x86_instruction()
343 sljit_s32 b, sljit_sw immb) in emit_x86_instruction()
348 sljit_s32 flags = size & ~0xf; in emit_x86_instruction()
349 sljit_s32 inst_size; in emit_x86_instruction()
395 inst_size += 1 + sizeof(sljit_s32); /* SIB byte required to avoid RIP based addressing. */ in emit_x86_instruction()
405 inst_size += sizeof(sljit_s32); in emit_x86_instruction()
439 inst_size += sizeof(sljit_s32); in emit_x86_instruction()
512 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
529 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
548 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 type) in call_with_args()
587 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32… in sljit_emit_fast_enter()
624 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_return(struct sljit_compiler *compiler, sljit_s3… in sljit_emit_fast_return()
675 inst += sizeof(sljit_s32); in sljit_emit_fast_return()
687 static sljit_s32 emit_mov_int(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_int()
688 sljit_s32 dst, sljit_sw dstw, in emit_mov_int()
689 sljit_s32 src, sljit_sw srcw) in emit_mov_int()
692 sljit_s32 dst_r; in emit_mov_int()
702 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_s32)srcw, dst, dstw); in emit_mov_int()
710 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_s32)srcw, dst, dstw); in emit_mov_int()