/src/sys/external/bsd/sljit/dist/sljit_src/ |
sljitNativeARM_32.c | 54 (sljit_uw*)(((sljit_uw)(ptr) + (CONST_POOL_ALIGNMENT * sizeof(sljit_uw)) - 1) & ~((CONST_POOL_ALIGNMENT * sizeof(sljit_uw)) - 1)) 56 (((max_diff) / (sljit_s32)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1)) 133 sljit_uw* inst; 134 sljit_uw* cpool_ptr; 135 sljit_uw* cpool_end; 143 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)); [all...] |
sljitExecAllocator.c | 86 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) 91 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) 107 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) 129 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) 147 sljit_uw size; 148 sljit_uw prev_size; 155 sljit_uw size; 166 static sljit_uw allocated_size; 167 static sljit_uw total_size; 169 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size [all...] |
sljitLir.h | 276 sljit_uw used_size; 283 sljit_uw addr; 285 sljit_uw size; 290 sljit_uw addr; 293 sljit_uw target; 300 sljit_uw addr; 329 sljit_uw size; 331 sljit_uw executable_offset; 333 sljit_uw executable_size; 350 sljit_uw *cpool [all...] |
sljitUtils.c | 249 SLJIT_API_FUNC_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit, void *allocator_data) 352 sljit_uw aligned_old_limit; 353 sljit_uw aligned_new_limit; 359 aligned_new_limit = (sljit_uw)new_limit & ~sljit_page_align; 360 aligned_old_limit = ((sljit_uw)stack->limit) & ~sljit_page_align; 379 aligned_new_limit = (sljit_uw)new_limit & ~sljit_page_align; 380 aligned_old_limit = ((sljit_uw)stack->limit) & ~sljit_page_align;
|
sljitProtExecAllocator.c | 168 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) 201 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) 218 sljit_uw size; 219 sljit_uw prev_size; 227 sljit_uw size; 238 static sljit_uw allocated_size; 239 static sljit_uw total_size; 241 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) 266 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) 272 sljit_uw chunk_size [all...] |
sljitConfigInternal.h | 39 sljit_sw, sljit_uw : signed and unsigned machine word, enough to store a pointer 40 sljit_p : unsgined pointer value (usually the same as sljit_uw, but 60 SLJIT_WORD_SHIFT : the shift required to apply when accessing a sljit_sw/sljit_uw array by index 359 typedef unsigned long int sljit_uw; typedef in typeref:typename:unsigned long int 368 typedef unsigned int sljit_uw; typedef in typeref:typename:unsigned int 374 typedef unsigned __int64 sljit_uw; typedef in typeref:typename:unsigned __int64 377 typedef unsigned long int sljit_uw; typedef in typeref:typename:unsigned long int 382 typedef sljit_uw sljit_p; 537 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size);
|
sljitNativePPC_64.c | 48 sljit_uw tmp; 49 sljit_uw shift; 50 sljit_uw tmp2; 51 sljit_uw shift2; 382 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) 394 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset)
|
sljitNativeSPARC_32.c | 150 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) 160 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset)
|
sljitNativeARM_64.c | 138 static SLJIT_INLINE sljit_s32 emit_imm64_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) 146 static SLJIT_INLINE void modify_imm64_const(sljit_ins* inst, sljit_uw new_imm) 159 sljit_uw target_addr; 170 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; 216 sljit_uw word_count; 218 sljit_uw addr; 251 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 256 jump->addr = (sljit_uw)(code_ptr - 4); 261 const_->addr = (sljit_uw)code_ptr [all...] |
sljitNativeARM_T2_32.c | 207 static SLJIT_INLINE sljit_s32 emit_imm32_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) 215 static SLJIT_INLINE void modify_imm32_const(sljit_u16 *inst, sljit_uw new_imm) 352 sljit_uw half_count; 385 label->addr = ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset)) | 0x1; 390 jump->addr = (sljit_uw)code_ptr - ((jump->flags & IS_COND) ? 10 : 8); 395 const_->addr = (sljit_uw)code_ptr; 406 label->addr = ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset)) | 0x1; 431 return (void*)((sljit_uw)code | 0x1); 439 static sljit_uw get_imm(sljit_uw imm [all...] |
sljitNativeSPARC_common.c | 207 sljit_uw target_addr; 218 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; 258 jump->addr = (sljit_uw)inst; 272 jump->addr = (sljit_uw)inst; 286 sljit_uw word_count; 288 sljit_uw addr; 321 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 327 jump->addr = (sljit_uw)(code_ptr - 3); 329 jump->addr = (sljit_uw)(code_ptr - 6) [all...] |
sljitNativePPC_32.c | 239 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) 249 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset)
|
sljitLir.c | 370 && (sizeof(sljit_uw) == 4 || sizeof(sljit_uw) == 8), 411 compiler->cpool = (sljit_uw*)SLJIT_MALLOC(CPOOL_SIZE * sizeof(sljit_uw) 478 SLJIT_FREE_EXEC((void*)((sljit_uw)code & ~0x1)); 484 code = (void*)(*(sljit_uw*)code); 503 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_target(struct sljit_jump *jump, sljit_uw target) 528 static void* ensure_buf(struct sljit_compiler *compiler, sljit_uw size) 534 if (compiler->buf->used_size + size <= (BUF_SIZE - (sljit_uw)SLJIT_OFFSETOF(struct sljit_memory_fragment, memory))) { 547 static void* ensure_abuf(struct sljit_compiler *compiler, sljit_uw size [all...] |
sljitNativeX86_32.c | 62 sljit_unaligned_store_sw(code_ptr, jump->u.target - (jump->addr + 4) - (sljit_uw)executable_offset); 164 saveds = (2 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw); 255 saveds = (2 + (scratches > 9 ? (scratches - 9) : 0) + (saveds <= 3 ? saveds : 3)) * sizeof(sljit_uw);
|
sljitNativeMIPS_common.c | 221 sljit_uw target_addr; 237 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; 364 sljit_uw word_count; 366 sljit_uw addr; 398 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 404 jump->addr = (sljit_uw)(code_ptr - 3); 406 jump->addr = (sljit_uw)(code_ptr - 7); 413 const_->addr = (sljit_uw)code_ptr; 424 label->addr = (sljit_uw)code_ptr [all...] |
sljitNativeMIPS_64.c | 37 sljit_uw uimm; 521 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) 533 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset)
|
sljitNativeTILEGX_64.c | 117 typedef sljit_uw sljit_ins; 908 sljit_uw target_addr; 918 target_addr = (sljit_uw)(code + jump->u.label->size); 1005 sljit_uw word_count; 1006 sljit_uw addr; 1036 label->addr = (sljit_uw) code_ptr; 1043 jump->addr = (sljit_uw)(code_ptr - 4); 1045 jump->addr = (sljit_uw)(code_ptr - 3); 1053 const_->addr = (sljit_uw) code_ptr; 1065 label->addr = (sljit_uw) code_ptr [all...] |
sljitNativeMIPS_32.c | 423 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) 433 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset)
|
sljitNativePPC_common.c | 257 sljit_uw target_addr; 272 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; 332 sljit_uw word_count; 334 sljit_uw addr; 374 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 380 jump->addr = (sljit_uw)(code_ptr - 3); 382 jump->addr = (sljit_uw)(code_ptr - 6); 420 const_->addr = (sljit_uw)code_ptr; 431 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset) [all...] |
sljitNativeX86_common.c | 426 sljit_uw label_addr; 429 label_addr = (sljit_uw)(code + jump->u.label->size); 520 jump->addr = (sljit_uw)code_ptr; 533 label->addr = ((sljit_uw)code_ptr) + executable_offset; 538 const_->addr = ((sljit_uw)code_ptr) - sizeof(sljit_sw); 2215 sse2_buffer = (sljit_s32*)(((sljit_uw)sse2_data + 15) & ~0xf); 2859 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset) 2863 sljit_unaligned_store_sw((void*)addr, new_target - (addr + 4) - (sljit_uw)executable_offset); 2869 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset [all...] |
sljitNativeX86_64.c | 55 jump->addr = (sljit_uw)code_ptr; 700 if (sign || ((sljit_uw)srcw <= 0x7fffffff)) {
|
/src/sys/external/bsd/sljit/dist/test_src/ |
sljitTest.c | 568 sljit_emit_op1(compiler, SLJIT_NEG | SLJIT_SET_Z | SLJIT_SET_OVERFLOW, SLJIT_UNUSED, 0, SLJIT_IMM, -(sljit_sw)(~(sljit_uw)0 >> 1) - 1); 585 sljit_emit_op1(compiler, SLJIT_MOV, SLJIT_R0, 0, SLJIT_IMM, -(sljit_sw)(~(sljit_uw)0 >> 1) - 1); 816 sljit_uw const1_addr; 817 sljit_uw const2_addr; 818 sljit_uw const3_addr; 819 sljit_uw const4_addr; 908 sljit_uw jump1_addr; 909 sljit_uw label1_addr; 910 sljit_uw label2_addr; 1357 FAILED((sljit_uw)buf[0] != 0x81818000, "test17 case 1 failed\n") [all...] |
/src/sys/net/ |
bpfjit.c | 1125 static sljit_uw 1126 divide(sljit_uw x, sljit_uw y) 1132 static sljit_uw 1133 modulus(sljit_uw x, sljit_uw y)
|
/src/sys/external/bsd/sljit/dist/regex_src/ |
regexJIT.c | 73 sljit_uw entry_addrs[1]; 1320 sljit_uw head = 0; 1910 compiler_common.machine = (struct regex_machine*)SLJIT_MALLOC(sizeof(struct regex_machine) + (compiler_common.terms_size - 1) * sizeof(sljit_uw), NULL); 1992 compiler_common.machine->entry_addrs[0] = (sljit_uw)label; 2194 compiler_common.machine->entry_addrs[compiler_common.search_states[ind].type] = (sljit_uw)label;
|