Lines Matching refs:sljit_sw
29 static sljit_s32 emit_do_imm(struct sljit_compiler *compiler, sljit_u8 opcode, sljit_sw imm) in emit_do_imm()
33 inst = (sljit_u8*)ensure_buf(compiler, 1 + 1 + sizeof(sljit_sw)); in emit_do_imm()
35 INC_SIZE(1 + sizeof(sljit_sw)); in emit_do_imm()
41 …_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type, sljit_sw executable_offset) in generate_far_jump_code()
81 compiler->saveds_offset = 1 * sizeof(sljit_sw); in sljit_emit_enter()
85 compiler->saveds_offset = 1 * sizeof(sljit_sw); in sljit_emit_enter()
87 compiler->saveds_offset = ((scratches == 2) ? 2 : 3) * sizeof(sljit_sw); in sljit_emit_enter()
91 compiler->saveds_offset += ((scratches > (3 + 6)) ? 6 : (scratches - 3)) * sizeof(sljit_sw); in sljit_emit_enter()
96 compiler->locals_offset += (saveds - 3) * sizeof(sljit_sw); in sljit_emit_enter()
138 *inst++ = sizeof(sljit_sw) * (3 + 2); /* saveds >= 3 as well. */ in sljit_emit_enter()
144 *inst++ = sizeof(sljit_sw) * 2; in sljit_emit_enter()
149 *inst++ = sizeof(sljit_sw) * 3; in sljit_emit_enter()
154 *inst++ = sizeof(sljit_sw) * 4; in sljit_emit_enter()
168 …local_size = SLJIT_LOCALS_OFFSET + ((local_size + sizeof(sljit_sw) - 1) & ~(sizeof(sljit_sw) - 1)); in sljit_emit_enter()
179 local_size -= sizeof(sljit_sw); in sljit_emit_enter()
182 SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, sizeof(sljit_sw))); in sljit_emit_enter()
196 SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, local_size + sizeof(sljit_sw))); in sljit_emit_enter()
201 TMP_REG1, 0, TMP_REG1, 0, SLJIT_IMM, sizeof(sljit_sw))); in sljit_emit_enter()
232 compiler->saveds_offset = 1 * sizeof(sljit_sw); in sljit_set_context()
236 compiler->saveds_offset = 1 * sizeof(sljit_sw); in sljit_set_context()
238 compiler->saveds_offset = ((scratches == 2) ? 2 : 3) * sizeof(sljit_sw); in sljit_set_context()
242 compiler->saveds_offset += ((scratches > (3 + 6)) ? 6 : (scratches - 3)) * sizeof(sljit_sw); in sljit_set_context()
247 compiler->locals_offset += (saveds - 3) * sizeof(sljit_sw); in sljit_set_context()
259 …->local_size = SLJIT_LOCALS_OFFSET + ((local_size + sizeof(sljit_sw) - 1) & ~(sizeof(sljit_sw) - 1… in sljit_set_context()
264 …_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw) in sljit_emit_return()
311 RET_I16(sizeof(sljit_sw)); in sljit_emit_return()
328 sljit_s32 a, sljit_sw imma, in emit_x86_instruction()
330 sljit_s32 b, sljit_sw immb) in emit_x86_instruction()
361 inst_size += sizeof(sljit_sw); in emit_x86_instruction()
367 inst_size += sizeof(sljit_sw); in emit_x86_instruction()
397 inst_size += sizeof(sljit_sw); in emit_x86_instruction()
462 buf_ptr += sizeof(sljit_sw); in emit_x86_instruction()
474 buf_ptr += sizeof(sljit_sw); in emit_x86_instruction()
519 *inst++ = sizeof(sljit_sw); in call_with_args()
525 *inst++ = 2 * sizeof(sljit_sw); in call_with_args()
531 …BUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw) in sljit_emit_fast_enter()
562 …UTE sljit_s32 sljit_emit_fast_return(struct sljit_compiler *compiler, sljit_s32 src, sljit_sw srcw) in sljit_emit_fast_return()
597 inst += sizeof(sljit_sw); in sljit_emit_fast_return()