/src/sys/external/bsd/drm2/vmwgfx/ |
vmware_pack_begin.h | 1 #include <linux/compiler.h>
|
/src/sys/external/bsd/sljit/dist/test_src/ |
sljitTest.c | 4 * Stack-less Just-In-Time compiler 67 #define CHECK(compiler) \ 69 if (compiler == NULL) { \ 70 printf("Can't create compiler\n"); \ 73 if (sljit_get_compiler_error(compiler) != SLJIT_ERR_COMPILED) { \ 74 printf("Compiler error: %d\n", \ 75 sljit_get_compiler_error(compiler)); \ 76 sljit_free_compiler(compiler); \ 81 static void cond_set(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_s32 type) 87 sljit_emit_op_flags(compiler, SLJIT_MOV, dst, dstw, SLJIT_UNUSED, 0, type) 159 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test1 188 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test2 250 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test3 291 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test4 328 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test5 395 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test6 471 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test7 530 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test8 619 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test9 746 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test10 809 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test11 899 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test12 985 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test13 1073 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test14 1177 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test15 1263 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test16 1328 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test17 1371 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test18 1479 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test19 1531 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test20 1634 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test21 1696 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test22 1810 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test23 1918 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test24 2036 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test25 2106 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test26 2191 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test27 2401 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test28 2461 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test29 2623 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test30 2687 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test31 2782 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test32 2904 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test33 3010 struct sljit_compiler* compiler; local in function:test34 3127 struct sljit_compiler* compiler; local in function:test35 3225 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test36 3354 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test37 3459 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test38 3552 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test39 3609 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test40 3705 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test41 3913 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test42 4143 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test43 4218 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test44 4266 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test45 4380 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test46 4489 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test47 4534 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test48 4682 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test49 4820 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test50 4901 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test51 5030 struct sljit_compiler* compiler; local in function:test52 5120 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test53 5176 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test54 5272 struct sljit_compiler* compiler = sljit_create_compiler(NULL); local in function:test55 [all...] |
sljitMain.c | 4 * Stack-less Just-In-Time compiler 53 struct sljit_compiler *compiler = sljit_create_compiler(NULL); 56 if (!compiler) 64 sljit_compiler_verbose(compiler, stdout); 66 sljit_emit_enter(compiler, 0, 1, 4, 5, 4, 0, 2 * sizeof(sljit_sw)); 68 sljit_emit_return(compiler, SLJIT_MOV, SLJIT_RETURN_REG, 0); 70 code.code = sljit_generate_code(compiler); 71 sljit_free_compiler(compiler);
|
/src/sys/external/bsd/sljit/dist/sljit_src/ |
sljitNativePPC_32.c | 4 * Stack-less Just-In-Time compiler 31 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) 34 return push_inst(compiler, ADDI | D(reg) | A(0) | IMM(imm)); 37 return push_inst(compiler, ORI | S(TMP_ZERO) | A(reg) | IMM(imm)); 39 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16))); 40 return (imm & 0xffff) ? push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)) : SLJIT_SUCCESS; 46 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, 56 return push_inst(compiler, OR | S(src2) | A(dst) | B(src2)); 64 return push_inst(compiler, EXTSB | S(src2) | A(dst)); 65 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 24)) [all...] |
sljitNativePPC_64.c | 4 * Stack-less Just-In-Time compiler 44 push_inst(compiler, RLDI(reg, reg, 63 - shift, shift, 1)) 46 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) 54 return push_inst(compiler, ADDI | D(reg) | A(0) | IMM(imm)); 57 return push_inst(compiler, ORI | S(TMP_ZERO) | A(reg) | IMM(imm)); 60 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16))); 61 return (imm & 0xffff) ? push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)) : SLJIT_SUCCESS; 72 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48))); 78 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(tmp >> 48))); 79 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(tmp >> 32))) [all...] |
sljitLir.c | 4 * Stack-less Just-In-Time compiler 43 if (SLJIT_UNLIKELY(compiler->error)) \ 44 return compiler->error; \ 49 if (SLJIT_UNLIKELY(compiler->error)) \ 56 return compiler->error; \ 68 compiler->error = SLJIT_ERR_ALLOC_FAILED; \ 76 compiler->error = SLJIT_ERR_ALLOC_FAILED; \ 84 compiler->error = SLJIT_ERR_EX_ALLOC_FAILED; \ 294 compiler->error = SLJIT_ERR_BAD_ARGUMENT; \ 302 compiler->error = SLJIT_ERR_BAD_ARGUMENT; 358 struct sljit_compiler *compiler = (struct sljit_compiler*)SLJIT_MALLOC(sizeof(struct sljit_com local in function:sljit_create_compiler [all...] |
sljitNativeARM_64.c | 4 * Stack-less Just-In-Time compiler 129 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) 131 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); 134 compiler->size++; 138 static SLJIT_INLINE sljit_s32 emit_imm64_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) 140 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((imm & 0xffff) << 5))); 141 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 16) & 0xffff) << 5) | (1 << 21))); 142 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 32) & 0xffff) << 5) | (2 << 21))); 143 return push_inst(compiler, MOVK | RD(dst) | ((imm >> 48) << 5) | (3 << 21)); 209 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler) [all...] |
sljitNativeARM_32.c | 4 * Stack-less Just-In-Time compiler 130 static sljit_s32 push_cpool(struct sljit_compiler *compiler) 139 if (compiler->last_label && compiler->last_label->size == compiler->size) 140 compiler->last_label->size += compiler->cpool_fill + (CONST_POOL_ALIGNMENT - 1) + 1; 142 SLJIT_ASSERT(compiler->cpool_fill > 0 && compiler->cpool_fill <= CPOOL_SIZE); 143 inst = (sljit_uw*)ensure_buf(compiler, sizeof(sljit_uw)) [all...] |
sljitNativeX86_32.c | 4 * Stack-less Just-In-Time compiler 31 static sljit_s32 emit_do_imm(struct sljit_compiler *compiler, sljit_u8 opcode, sljit_sw imm) 35 inst = (sljit_u8*)ensure_buf(compiler, 1 + 1 + sizeof(sljit_sw)); 68 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, 76 CHECK(check_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); 77 set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); 79 compiler->args = args; 83 compiler->saveds_offset = 1 * sizeof(sljit_sw); 87 compiler->saveds_offset = 1 * sizeof(sljit_sw); 89 compiler->saveds_offset = ((scratches == 2) ? 2 : 3) * sizeof(sljit_sw) [all...] |
sljitNativeMIPS_common.c | 4 * Stack-less Just-In-Time compiler 201 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_s32 delay_slot) 205 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); 208 compiler->size++; 209 compiler->delay_slot = delay_slot; 357 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler) 373 CHECK_PTR(check_sljit_generate_code(compiler)); 374 reverse_buf(compiler); 376 code = (sljit_ins*)SLJIT_MALLOC_EXEC(compiler->size * sizeof(sljit_ins)); 378 buf = compiler->buf [all...] |
sljitNativeSPARC_common.c | 4 * Stack-less Just-In-Time compiler 190 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_s32 delay_slot) 196 ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); 199 compiler->size++; 200 compiler->delay_slot = delay_slot; 279 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler) 295 CHECK_PTR(check_sljit_generate_code(compiler)); 296 reverse_buf(compiler); 298 code = (sljit_ins*)SLJIT_MALLOC_EXEC(compiler->size * sizeof(sljit_ins)); 300 buf = compiler->buf [all...] |
sljitNativeSPARC_32.c | 4 * Stack-less Just-In-Time compiler 29 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw imm) 32 return push_inst(compiler, OR | D(dst) | S1(0) | IMM(imm), DR(dst)); 34 FAIL_IF(push_inst(compiler, SETHI | D(dst) | ((imm >> 10) & 0x3fffff), DR(dst))); 35 return (imm & 0x3ff) ? push_inst(compiler, OR | D(dst) | S1(dst) | IMM_ARG | (imm & 0x3ff), DR(dst)) : SLJIT_SUCCESS; 40 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, 52 return push_inst(compiler, OR | D(dst) | S1(0) | S2(src2), DR(dst)); 60 return push_inst(compiler, AND | D(dst) | S1(src2) | IMM(0xff), DR(dst)); 61 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(24), DR(dst))); 62 return push_inst(compiler, SRA | D(dst) | S1(dst) | IMM(24), DR(dst)) [all...] |
sljitNativeMIPS_64.c | 4 * Stack-less Just-In-Time compiler 31 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst_ar, sljit_sw imm) 40 return push_inst(compiler, ORI | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); 43 return push_inst(compiler, ADDIU | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); 46 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar)); 47 return (imm & 0xffff) ? push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(imm), dst_ar) : SLJIT_SUCCESS; 81 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(uimm >> 48), dst_ar)); 83 FAIL_IF(push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(uimm >> 32), dst_ar)); 90 FAIL_IF(push_inst(compiler, ins | TA(dst_ar) | DA(dst_ar), dst_ar)); 91 return !(imm & 0xffff) ? SLJIT_SUCCESS : push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(imm), dst_ar) [all...] |
sljitNativeARM_T2_32.c | 4 * Stack-less Just-In-Time compiler 185 static sljit_s32 push_inst16(struct sljit_compiler *compiler, sljit_ins inst) 190 ptr = (sljit_u16*)ensure_buf(compiler, sizeof(sljit_u16)); 193 compiler->size++; 197 static sljit_s32 push_inst32(struct sljit_compiler *compiler, sljit_ins inst) 199 sljit_u16 *ptr = (sljit_u16*)ensure_buf(compiler, sizeof(sljit_ins)); 203 compiler->size += 2; 207 static SLJIT_INLINE sljit_s32 emit_imm32_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) 209 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst) | 211 return push_inst32(compiler, MOVT | RD4(dst) [all...] |
sljitNativeMIPS_32.c | 4 * Stack-less Just-In-Time compiler 31 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst_ar, sljit_sw imm) 34 return push_inst(compiler, ORI | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); 37 return push_inst(compiler, ADDIU | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); 39 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar)); 40 return (imm & 0xffff) ? push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(imm), dst_ar) : SLJIT_SUCCESS; 46 FAIL_IF(push_inst(compiler, op_imm | S(src1) | TA(EQUAL_FLAG) | IMM(src2), EQUAL_FLAG)); \ 48 FAIL_IF(push_inst(compiler, op_imm | S(src1) | T(dst) | IMM(src2), DR(dst))); \ 52 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | DA(EQUAL_FLAG), EQUAL_FLAG)); \ 54 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | D(dst), DR(dst))); [all...] |
sljitNativeX86_common.c | 4 * Stack-less Just-In-Time compiler 77 if (p <= compiler->scratches) \ 78 w = compiler->saveds_offset - ((p) - SLJIT_R2) * (sljit_sw)sizeof(sljit_sw); \ 80 w = compiler->locals_offset + ((p) - SLJIT_S2) * (sljit_sw)sizeof(sljit_sw); \ 264 #define INC_SIZE(s) (*inst++ = (s), compiler->size += (s)) 477 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler) 493 CHECK_PTR(check_sljit_generate_code(compiler)); 494 reverse_buf(compiler); 497 code = (sljit_u8*)SLJIT_MALLOC_EXEC(compiler->size); 499 buf = compiler->buf [all...] |
sljitNativePPC_common.c | 4 * Stack-less Just-In-Time compiler 245 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) 247 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); 250 compiler->size++; 325 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler) 341 CHECK_PTR(check_sljit_generate_code(compiler)); 342 reverse_buf(compiler); 346 compiler->size += (compiler->size & 0x1) + (sizeof(struct sljit_function_context) / sizeof(sljit_ins)); 348 compiler->size += (sizeof(struct sljit_function_context) / sizeof(sljit_ins)) [all...] |
sljitNativeX86_64.c | 4 * Stack-less Just-In-Time compiler 31 static sljit_s32 emit_load_imm64(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) 35 inst = (sljit_u8*)ensure_buf(compiler, 1 + 2 + sizeof(sljit_sw)); 70 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, 78 CHECK(check_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size)); 79 set_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size); 84 compiler->locals_offset = 6 * sizeof(sljit_sw); 86 compiler->locals_offset = ((scratches > 2) ? 4 : 2) * sizeof(sljit_sw); 95 inst = (sljit_u8*)ensure_buf(compiler, 1 + size); 105 inst = (sljit_u8*)ensure_buf(compiler, 1 + size) [all...] |
sljitNativeTILEGX_64.c | 4 * Stack-less Just-In-Time compiler 332 static sljit_s32 push_inst_debug(struct sljit_compiler *compiler, sljit_ins ins, int line) 334 sljit_ins *ptr = (sljit_ins *)ensure_buf(compiler, sizeof(sljit_ins)); 337 compiler->size++; 343 static sljit_s32 push_inst_nodebug(struct sljit_compiler *compiler, sljit_ins ins) 345 sljit_ins *ptr = (sljit_ins *)ensure_buf(compiler, sizeof(sljit_ins)); 348 compiler->size++; 354 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) 356 sljit_ins *ptr = (sljit_ins *)ensure_buf(compiler, sizeof(sljit_ins)); 359 compiler->size++ [all...] |
sljitLir.h | 4 * Stack-less Just-In-Time compiler 34 Stack-Less JIT compiler for multiple architectures (x86, ARM, PowerPC) 53 - The compiler is thread-safe 54 - The compiler is highly configurable through preprocessor macros. 91 /* After the call of sljit_generate_code(), the error code of the compiler 417 /* Creates an sljit compiler. The allocator_data is required by some 427 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler); 430 calls which uses the same compiler argument returns early with the same 434 static SLJIT_INLINE sljit_s32 sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error; [all...] |
/src/sys/net/ |
bpfjit.c | 298 load_buf_buflen(struct sljit_compiler *compiler) 302 status = sljit_emit_op1(compiler, 310 status = sljit_emit_op1(compiler, 357 emit_read8(struct sljit_compiler *compiler, sljit_s32 src, uint32_t k) 360 return sljit_emit_op1(compiler, 370 emit_read16(struct sljit_compiler *compiler, sljit_s32 src, uint32_t k) 377 status = sljit_emit_op1(compiler, 385 status = sljit_emit_op1(compiler, 393 status = sljit_emit_op2(compiler, 402 status = sljit_emit_op2(compiler, 2157 struct sljit_compiler *compiler; local in function:bpfjit_generate_code [all...] |
/src/sys/rump/net/lib/libbpfjit/ |
Makefile | 9 COMMENT=JIT compiler for Berkeley Packet Filter
|
/src/tests/usr.bin/indent/ |
opt_version.c | 11 even might generate syntax errors when given to a C compiler.
|
/src/sys/sys/ |
common_int_types.h | 36 #error Your compiler does not provide exact width type macros.
|
/src/sys/external/bsd/acpica/dist/compiler/ |
prparser.tab.c | 71 #line 1 "C:\\Users\\sdumbre\\testclone\\source\\compiler\\prparser.y" 324 #line 186 "C:\\Users\\sdumbre\\testclone\\source\\compiler\\prparser.y" 466 to allow for a few compiler-allocated temporary stack slots. */ 1605 #line 244 "C:\\Users\\sdumbre\\testclone\\source\\compiler\\prparser.y" 1612 #line 245 "C:\\Users\\sdumbre\\testclone\\source\\compiler\\prparser.y" 1619 #line 252 "C:\\Users\\sdumbre\\testclone\\source\\compiler\\prparser.y" 1626 #line 253 "C:\\Users\\sdumbre\\testclone\\source\\compiler\\prparser.y" 1633 #line 257 "C:\\Users\\sdumbre\\testclone\\source\\compiler\\prparser.y" 1640 #line 258 "C:\\Users\\sdumbre\\testclone\\source\\compiler\\prparser.y" 1647 #line 259 "C:\\Users\\sdumbre\\testclone\\source\\compiler\\prparser.y [all...] |