Home
last modified time | relevance | path

Searched refs:compiler (Results 1 – 25 of 56) sorted by relevance

123

/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitLir.c423 if (!compiler) in sljit_create_compiler()
449 if (!compiler->buf || !compiler->abuf) { in sljit_create_compiler()
450 if (compiler->buf) in sljit_create_compiler()
452 if (compiler->abuf) in sljit_create_compiler()
482 compiler->cpool_unique = (sljit_u8*)(compiler->cpool + CPOOL_SIZE); in sljit_create_compiler()
504 return compiler; in sljit_create_compiler()
514 buf = compiler->buf; in sljit_free_compiler()
621 ret = compiler->buf->memory + compiler->buf->used_size; in ensure_buf()
640 ret = compiler->abuf->memory + compiler->abuf->used_size; in ensure_abuf()
1175 #define SLJIT_SKIP_CHECKS(compiler) (compiler)->skip_checks = 1 argument
[all …]
H A DsljitNativePPC_32.c113 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
126 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
154 FAIL_IF(push_inst(compiler, CMPI | CRD(0) | A(src1) | compiler->imm)); in emit_single_op()
175 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
196 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
203 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
207 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
214 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
218 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
232 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
[all …]
H A DsljitNativePPC_64.c240 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
254 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
258 FAIL_IF(push_inst(compiler, ADDI | D(dst) | A(src1) | compiler->imm)); in emit_single_op()
327 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
350 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
360 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
364 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
371 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
375 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
389 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
[all …]
H A DsljitNativeX86_32.c354 compiler->args_size = 0; in sljit_emit_enter()
592 size = (sljit_uw)((compiler->scratches > 9 ? (compiler->scratches - 9) : 0) + in emit_stack_frame_release()
593 (compiler->saveds <= 3 ? compiler->saveds : 3) - kept_saveds_count); in emit_stack_frame_release()
798 saved_regs_size = (1 + (compiler->scratches > 9 ? (compiler->scratches - 9) : 0) in tail_call_with_args()
928 if (compiler->saveds > 2 || compiler->scratches > 9) { in tail_call_with_args()
1361 size1 = compiler->size; in sljit_emit_fop1_conv_f64_from_uw()
1384 size1 = compiler->size; in sljit_emit_fop1_conv_f64_from_uw()
1394 size2 = compiler->size; in sljit_emit_fop1_conv_f64_from_uw()
1411 size1 = compiler->size; in sljit_emit_fop1_conv_f64_from_uw()
1619 size += (1 + (compiler->scratches > 9 ? (compiler->scratches - 9) : 0) in skip_frames_before_return()
[all …]
H A DsljitNativeARM_T2_32.c281 compiler->size++; in push_inst16()
291 compiler->size += 2; in push_inst32()
451 reverse_buf(compiler); in sljit_generate_code()
455 buf = compiler->buf; in sljit_generate_code()
462 label = compiler->labels; in sljit_generate_code()
463 jump = compiler->jumps; in sljit_generate_code()
464 const_ = compiler->consts; in sljit_generate_code()
519 jump = compiler->jumps; in sljit_generate_code()
1528 i = compiler->scratches; in emit_stack_frame_release()
2020 …size = GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds - SLJIT_KEPT_SAVEDS_COUNT(co… in sljit_emit_op_dst()
[all …]
H A DsljitNativeX86_common.c695 reverse_buf(compiler); in sljit_generate_code()
700 buf = compiler->buf; in sljit_generate_code()
1098 compiler->mode32 = 1; in adjust_shadow_stack()
1202 size = compiler->size; in emit_cmov_generic()
1347 compiler->mode32 = 0; in emit_mov_byte()
1417 compiler->mode32 = 1; in emit_prefetch()
1443 compiler->mode32 = 0; in emit_mov_half()
2413 compiler->mode32 = 0;
2426 compiler->mode32 = 0;
2973 compiler->mode32 = 1;
[all …]
H A DsljitNativeX86_64.c477 compiler->mode32 = 0; in sljit_emit_enter()
733 compiler->mode32 = 0; in sljit_emit_return_void()
745 compiler->mode32 = 0; in sljit_emit_return_to()
882 compiler->mode32 = 0; in sljit_emit_call()
903 compiler->mode32 = 0; in sljit_emit_icall()
947 compiler->mode32 = 1; in emit_fast_enter()
997 compiler->mode32 = 0; in sljit_emit_get_return_address()
1022 compiler->mode32 = 0; in sljit_emit_mem()
1093 compiler->mode32 = 0; in emit_mov_int()
1148 compiler->mode32 = 0; in sljit_emit_fop1_conv_f64_from_uw()
[all …]
H A DsljitNativeARM_32.c218 if (compiler->last_label && compiler->last_label->size == compiler->size) in push_cpool()
224 compiler->size++; in push_cpool()
256 compiler->size++; in push_inst()
301 compiler->size++; in push_inst_with_literal()
307 compiler->cpool_diff = compiler->size; in push_inst_with_literal()
321 compiler->size++; in push_inst_with_unique_literal()
324 compiler->cpool[compiler->cpool_fill] = literal; in push_inst_with_unique_literal()
325 compiler->cpool_unique[compiler->cpool_fill] = 1; in push_inst_with_unique_literal()
328 compiler->cpool_diff = compiler->size; in push_inst_with_unique_literal()
755 size = compiler->size + (compiler->patches << 1); in sljit_generate_code()
[all …]
H A DsljitNativeMIPS_64.c41 return push_inst(compiler, NOP, UNMOVABLE_INS); in emit_copysign()
164 FAIL_IF(push_inst(compiler, NOP, UNMOVABLE_INS)); in sljit_emit_fset64()
172 FAIL_IF(push_inst(compiler, NOP, UNMOVABLE_INS)); in sljit_emit_fset64()
194 return push_inst(compiler, NOP, UNMOVABLE_INS); in sljit_emit_fcopy()
327 jump->addr = compiler->size; in sljit_emit_call()
331 compiler->size += 6; in sljit_emit_call()
362 FAIL_IF(push_inst(compiler, ins, MOVABLE_INS)); in sljit_emit_icall()
365 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_icall()
366 return sljit_emit_ijump(compiler, type, src, srcw); in sljit_emit_icall()
379 FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_icall()
[all …]
H A DsljitNativeRISCV_common.c161 compiler->size++; in push_inst()
395 reverse_buf(compiler); in sljit_generate_code()
399 buf = compiler->buf; in sljit_generate_code()
982 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
2431 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2526 compiler->size += 1; in sljit_emit_jump()
2528 compiler->size += 5; in sljit_emit_jump()
2643 compiler->size += 1; in sljit_emit_cmp()
2645 compiler->size += 5; in sljit_emit_cmp()
2846 compiler->size++; in sljit_emit_select()
[all …]
H A DsljitNativeRISCV_32.c37 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)(imm & ~0xfff))); in load_immediate()
42 return push_inst(compiler, ADDI | RD(dst_r) | RS1(dst_r) | IMM_I(imm)); in load_immediate()
54 CHECK(check_sljit_emit_fset64(compiler, freg, value)); in sljit_emit_fset64()
59 FAIL_IF(load_immediate(compiler, TMP_REG1, u.imm[0], TMP_REG3)); in sljit_emit_fset64()
61 FAIL_IF(load_immediate(compiler, TMP_REG2, u.imm[1], TMP_REG3)); in sljit_emit_fset64()
66 FAIL_IF(push_inst(compiler, FLD | FRD(freg) | RS1(SLJIT_SP) | IMM_I(8))); in sljit_emit_fset64()
77 CHECK(check_sljit_emit_fcopy(compiler, op, freg, reg)); in sljit_emit_fcopy()
85 return push_inst(compiler, inst); in sljit_emit_fcopy()
107 FAIL_IF(push_inst(compiler, FMV_X_W | FRS1(freg) | RD(reg2))); in sljit_emit_fcopy()
109 FAIL_IF(push_inst(compiler, LW | RD(reg) | RS1(SLJIT_SP) | IMM_I(12))); in sljit_emit_fcopy()
[all …]
H A DsljitNativePPC_common.c309 compiler->size++; in push_inst()
452 reverse_buf(compiler); in sljit_generate_code()
464 buf = compiler->buf; in sljit_generate_code()
472 jump = compiler->jumps; in sljit_generate_code()
574 jump = compiler->jumps; in sljit_generate_code()
2344 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2767 size = compiler->size; in sljit_emit_select()
2771 compiler->size++; in sljit_emit_select()
2813 size = compiler->size; in sljit_emit_fselect()
2817 compiler->size++; in sljit_emit_fselect()
[all …]
H A DsljitNativeLOONGARCH_64.c356 compiler->size++; in push_inst()
515 reverse_buf(compiler); in sljit_generate_code()
519 buf = compiler->buf; in sljit_generate_code()
1064 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= I12_MAX && argw - compiler->cache… in getput_arg()
1067 …if (compiler->cache_arg == SLJIT_MEM && (argw - compiler->cache_argw <= I12_MAX) && (argw - compil… in getput_arg()
2485 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2576 compiler->size += 3; in sljit_emit_jump()
2690 compiler->size += 3; in sljit_emit_cmp()
2721 compiler->size += 3; in sljit_emit_ijump()
2880 compiler->size++; in sljit_emit_select()
[all …]
H A DsljitNativeS390X.c166 compiler->size++; in push_inst()
1070 return load_word(compiler, dst_r, src, srcw, (compiler->mode & SLJIT_32) != 0); in emit_move()
1445 reverse_buf(compiler); in sljit_generate_code()
1448 label = compiler->labels; in sljit_generate_code()
1449 jump = compiler->jumps; in sljit_generate_code()
1529 label = compiler->labels; in sljit_generate_code()
1537 jump = compiler->jumps; in sljit_generate_code()
1907 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_return_to()
3180 …size = GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds - SLJIT_KEPT_SAVEDS_COUNT(co… in sljit_emit_op_dst()
3596 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
[all …]
H A DsljitNativeARM_64.c193 compiler->size++; in push_inst()
295 reverse_buf(compiler); in sljit_generate_code()
299 buf = compiler->buf; in sljit_generate_code()
306 label = compiler->labels; in sljit_generate_code()
307 jump = compiler->jumps; in sljit_generate_code()
308 const_ = compiler->consts; in sljit_generate_code()
364 jump = compiler->jumps; in sljit_generate_code()
1365 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_return_to()
2159 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2164 set_label(label, compiler); in sljit_emit_label()
[all …]
H A DsljitNativeMIPS_common.c471 compiler->size++; in push_inst()
725 reverse_buf(compiler); in sljit_generate_code()
729 buf = compiler->buf; in sljit_generate_code()
1451 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
3238 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
3357 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_jump()
3375 compiler->size += 2; in sljit_emit_jump()
3377 compiler->size += 6; in sljit_emit_jump()
3442 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_cmp()
3524 compiler->size += 2; in sljit_emit_cmp()
[all …]
H A DsljitNativeRISCV_64.c37 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)0x80000000u)); in load_immediate()
38 return push_inst(compiler, XORI | RD(dst_r) | RS1(dst_r) | IMM_I(imm)); in load_immediate()
49 return push_inst(compiler, ADDI | RD(dst_r) | RS1(dst_r) | IMM_I(imm)); in load_immediate()
62 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)0x80000000u)); in load_immediate()
107 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)0x80000000u)); in load_immediate()
126 return push_inst(compiler, XOR | RD(dst_r) | RS1(dst_r) | RS2(tmp_r)); in load_immediate()
138 CHECK(check_sljit_emit_fset64(compiler, freg, value)); in sljit_emit_fset64()
145 FAIL_IF(load_immediate(compiler, TMP_REG1, u.imm, TMP_REG3)); in sljit_emit_fset64()
155 CHECK(check_sljit_emit_fcopy(compiler, op, freg, reg)); in sljit_emit_fcopy()
165 return push_inst(compiler, inst); in sljit_emit_fcopy()
[all …]
H A DsljitNativeMIPS_32.c58 FAIL_IF(push_inst(compiler, NOP, UNMOVABLE_INS)); in emit_copysign()
67 return push_inst(compiler, NOP, UNMOVABLE_INS); in emit_copysign()
107 CHECK(check_sljit_emit_fset64(compiler, freg, value)); in sljit_emit_fset64()
127 FAIL_IF(push_inst(compiler, NOP, UNMOVABLE_INS)); in sljit_emit_fset64()
183 FAIL_IF(push_inst(compiler, mfhc | inst, DR(reg))); in sljit_emit_fcopy()
187 return push_inst(compiler, NOP, UNMOVABLE_INS); in sljit_emit_fcopy()
388 jump->addr = compiler->size; in sljit_emit_call()
392 compiler->size += 2; in sljit_emit_call()
437 FAIL_IF(push_inst(compiler, ins, MOVABLE_INS)); in sljit_emit_icall()
440 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_icall()
[all …]
H A DsljitLir.h594 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler);
601 …LINE sljit_s32 sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error;… in sljit_get_compiler_error() argument
624 …T_INLINE void* sljit_get_allocator_data(struct sljit_compiler *compiler) { return compiler->alloca… in sljit_get_allocator_data() argument
625 …INE void* sljit_get_exec_allocator_data(struct sljit_compiler *compiler) { return compiler->exec_a… in sljit_get_exec_allocator_data() argument
635 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler);
650 …NE sljit_sw sljit_get_executable_offset(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_executable_offset() argument
656 … sljit_uw sljit_get_generated_code_size(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_generated_code_size() argument
792 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler,
809 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler,
1433 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fset32(struct sljit_compiler *compiler,
[all …]
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_jit_simd_inc.h171 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_pair_sse2_compare()
196 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_pair_sse2_compare()
207 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_pair_sse2_compare()
215 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_pair_sse2_compare()
226 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_pair_sse2_compare()
335 sljit_emit_op_custom(compiler, instruction, 3); in fast_forward_char_simd()
356 quit = jump_if_utf_char_start(compiler, TMP1); in fast_forward_char_simd()
463 sljit_emit_op_custom(compiler, instruction, 3); in fast_requested_char_simd()
711 sljit_emit_op_custom(compiler, instruction, 3); in fast_forward_char_pair_simd()
1038 SLJIT_ASSERT(compiler->scratches == 5); in fast_forward_char_pair_simd()
[all …]
H A Dpcre2_jit_compile.c394 struct sljit_compiler *compiler; member
640 struct sljit_compiler *compiler = common->compiler
650 sljit_emit_label(compiler)
652 sljit_emit_jump(compiler, (type))
2350 struct sljit_compiler *compiler; member
2370 status->compiler = common->compiler; in delayed_mem_copy_init()
2376 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_move() local
2400 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_finish() local
14307 if (!compiler) in jit_compile()
14313 common->compiler = compiler; in jit_compile()
[all …]
/php-src/ext/reflection/tests/
H A Dbug64936.phpt16 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
23 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
/php-src/build/
H A Dax_check_compile_flag.m411 # Check whether the given FLAG works with the current language's compiler
20 # force the compiler to issue an error when a bad flag is given.
42 AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
/php-src/ext/phar/tests/files/
H A Dstuboflength1041.phar2 /***stub of length 1041 including the halt compiler*********************************************
H A Dstuboflength1041.phar.inc10 /***stub of length 1041 including the halt compiler*********************************************

Completed in 232 milliseconds

123