/src/sys/external/bsd/sljit/dist/sljit_src/ |
sljitProtExecAllocator.c | 220 sljit_sw executable_offset; member in struct:block_header 273 sljit_sw executable_offset; local in function:sljit_malloc_exec 290 header->executable_offset = free_block->header.executable_offset; 315 executable_offset = (sljit_sw)((sljit_u8*)chunk_header->executable - (sljit_u8*)chunk_header); 323 header->executable_offset = executable_offset; 332 free_block->header.executable_offset = executable_offset; 344 next_header->executable_offset = executable_offset [all...] |
sljitNativeARM_32.c | 393 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_uw *code, sljit_sw executable_offset) 405 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset); 430 diff = ((sljit_sw)jump->u.target - (sljit_sw)code_ptr - executable_offset); 450 static SLJIT_INLINE void inline_set_jump_addr(sljit_uw jump_ptr, sljit_sw executable_offset, sljit_uw new_addr, sljit_s32 flush_cache) 457 sljit_sw diff = (sljit_sw)(((sljit_sw)new_addr - (sljit_sw)(inst + 2) - executable_offset) >> 2); 464 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); 471 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); 486 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); 492 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); 505 inst = (sljit_uw *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); 575 sljit_sw executable_offset; local in function:sljit_generate_code [all...] |
sljitNativeARM_T2_32.c | 225 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_u16 *code_ptr, sljit_u16 *code, sljit_sw executable_offset) 236 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset) >> 1; 280 static SLJIT_INLINE void set_jump_instruction(struct sljit_jump *jump, sljit_sw executable_offset) 294 diff = ((sljit_sw)jump->u.target - (sljit_sw)(jump->addr + sizeof(sljit_u32)) - executable_offset) >> 1; 298 diff = ((sljit_sw)(jump->u.label->addr) - (sljit_sw)(jump->addr + sizeof(sljit_u32)) - executable_offset) >> 1; 353 sljit_sw executable_offset; local in function:sljit_generate_code 369 executable_offset = SLJIT_EXEC_OFFSET(code); 385 label->addr = ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset)) | 0x1; 391 code_ptr -= detect_jump_type(jump, code_ptr, code, executable_offset); 406 label->addr = ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset)) | 0x1 [all...] |
sljitNativePPC_common.c | 254 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) 272 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; 280 diff = ((sljit_sw)target_addr - (sljit_sw)(code_ptr) - executable_offset) & ~0x3l; 333 sljit_sw executable_offset; local in function:sljit_generate_code 357 executable_offset = SLJIT_EXEC_OFFSET(code); 374 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 384 if (detect_jump_type(jump, code_ptr, code, executable_offset)) { 431 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 454 addr -= (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset); 465 addr -= (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset); [all...] |
sljitNativeSPARC_common.c | 204 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) 218 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; 244 diff = ((sljit_sw)target_addr - (sljit_sw)(inst - 1) - executable_offset) >> 2; 287 sljit_sw executable_offset; local in function:sljit_generate_code 304 executable_offset = SLJIT_EXEC_OFFSET(code); 321 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 331 code_ptr = detect_jump_type(jump, code_ptr, code, executable_offset); 347 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 364 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; 370 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2 [all...] |
sljitNativeX86_common.c | 418 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type, sljit_sw executable_offset); 423 static sljit_u8* generate_near_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_u8 *code, sljit_s32 type, sljit_sw executable_offset) 431 label_addr = jump->u.target - executable_offset; 485 sljit_sw executable_offset; local in function:sljit_generate_code 505 executable_offset = SLJIT_EXEC_OFFSET(code); 522 code_ptr = generate_near_jump_code(jump, code_ptr, code, *buf_ptr - 2, executable_offset); 525 code_ptr = generate_far_jump_code(jump, code_ptr, *buf_ptr - 2, executable_offset); 533 label->addr = ((sljit_uw)code_ptr) + executable_offset; 554 jump_addr = jump->addr + executable_offset; 588 compiler->executable_offset = executable_offset [all...] |
sljitNativeARM_64.c | 156 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) 170 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; 173 diff = (sljit_sw)target_addr - (sljit_sw)(code_ptr + 4) - executable_offset; 217 sljit_sw executable_offset; local in function:sljit_generate_code 235 executable_offset = SLJIT_EXEC_OFFSET(code); 251 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 257 code_ptr -= detect_jump_type(jump, code_ptr, code, executable_offset); 272 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 289 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2; 297 addr = (sljit_sw)(addr - (sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset)) >> 2 [all...] |
sljitNativeMIPS_common.c | 218 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code, sljit_sw executable_offset) 237 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; 251 diff = ((sljit_sw)target_addr - (sljit_sw)inst - executable_offset) >> 2; 269 diff = ((sljit_sw)target_addr - (sljit_sw)(inst + 1) - executable_offset) >> 2; 365 sljit_sw executable_offset; local in function:sljit_generate_code 382 executable_offset = SLJIT_EXEC_OFFSET(code); 398 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); 408 code_ptr = detect_jump_type(jump, code_ptr, code, executable_offset); 441 addr = (sljit_sw)(addr - ((sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset) + sizeof(sljit_ins))) >> 2; 447 SLJIT_ASSERT((addr & ~0xfffffff) == (((sljit_uw)SLJIT_ADD_EXEC_OFFSET(buf_ptr, executable_offset) + sizeof(sljit_ins)) & ~0xfffffff)) [all...] |
sljitLir.h | 331 sljit_uw executable_offset; member in struct:sljit_compiler 484 static SLJIT_INLINE sljit_sw sljit_get_executable_offset(struct sljit_compiler *compiler) { return compiler->executable_offset; } 1212 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_target, sljit_sw executable_offset); 1213 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant, sljit_sw executable_offset);
|
/src/sys/external/bsd/sljit/dist/test_src/ |
sljitTest.c | 815 sljit_sw executable_offset; local in function:test11 869 executable_offset = sljit_get_executable_offset(compiler); 881 sljit_set_const(const1_addr, -1, executable_offset); 882 sljit_set_const(const2_addr, word_value2, executable_offset); 883 sljit_set_const(const3_addr, 0xbab0fea1, executable_offset); 884 sljit_set_const(const4_addr, -60089, executable_offset); 906 sljit_sw executable_offset; local in function:test12 957 executable_offset = sljit_get_executable_offset(compiler); 969 sljit_set_jump_addr(jump1_addr, label2_addr, executable_offset); 973 sljit_set_jump_addr(jump1_addr, label1_addr, executable_offset); 1637 sljit_sw executable_offset; local in function:test21 3130 sljit_sw executable_offset; local in function:test35 [all...] |