Home
last modified time | relevance | path

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

123

/PHP-8.2/ext/pcre/pcre2lib/sljit/
H A DsljitLir.c373 if (!compiler) in sljit_create_compiler()
399 if (!compiler->buf || !compiler->abuf) { in sljit_create_compiler()
400 if (compiler->buf) in sljit_create_compiler()
432 compiler->cpool_unique = (sljit_u8*)(compiler->cpool + CPOOL_SIZE); in sljit_create_compiler()
458 return compiler; in sljit_create_compiler()
575 ret = compiler->buf->memory + compiler->buf->used_size; in ensure_buf()
594 ret = compiler->abuf->memory + compiler->abuf->used_size; in ensure_abuf()
819 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_src_mem()
853 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_src()
873 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_dst()
[all …]
H A DsljitNativePPC_32.c104 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
115 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
164 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
185 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
192 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
196 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
203 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
207 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
219 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
223 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
[all …]
H A DsljitNativePPC_64.c228 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
240 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
336 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
346 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
350 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
357 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
361 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
373 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
377 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
394 return push_inst(compiler, RLDI(dst, src1, compiler->imm, 63 - compiler->imm, 1) | RC(flags)); in emit_single_op()
[all …]
H A DsljitNativeX86_32.c577 (compiler->saveds <= 3 ? compiler->saveds : 3)); in emit_stack_frame_release()
583 if (compiler->saveds > 0 || compiler->scratches > 11) in emit_stack_frame_release()
585 if (compiler->saveds > 1 || compiler->scratches > 10) in emit_stack_frame_release()
587 if (compiler->saveds > 2 || compiler->scratches > 9) in emit_stack_frame_release()
611 if (compiler->args_size > 0 && !(compiler->options & SLJIT_ENTER_CDECL)) in sljit_emit_return_void()
857 + (compiler->saveds <= 3 ? compiler->saveds : 3)) * SSIZE_OF(sw); in tail_call_with_args()
1056 if (compiler->saveds > 2 || compiler->scratches > 9) { in tail_call_with_args()
1060 if (compiler->saveds > 1 || compiler->scratches > 10) { in tail_call_with_args()
1064 if (compiler->saveds > 0 || compiler->scratches > 11) { in tail_call_with_args()
1419 size += (1 + (compiler->scratches > 9 ? (compiler->scratches - 9) : 0) in skip_frames_before_return()
[all …]
H A DsljitNativeX86_common.c510 reverse_buf(compiler); in sljit_generate_code()
515 buf = compiler->buf; in sljit_generate_code()
519 jump = compiler->jumps; in sljit_generate_code()
867 compiler->mode32 = 1; in adjust_shadow_stack()
1120 compiler->mode32 = 0; in emit_mov_byte()
1257 compiler->mode32 = 1; in emit_prefetch()
1283 compiler->mode32 = 0; in emit_mov_half()
2508 compiler->mode32 = 1;
2534 compiler->mode32 = 1;
2607 compiler->mode32 = 1;
[all …]
H A DsljitNativeARM_T2_32.c218 compiler->size++; in push_inst16()
228 compiler->size += 2; in push_inst32()
388 reverse_buf(compiler); in sljit_generate_code()
392 buf = compiler->buf; in sljit_generate_code()
399 label = compiler->labels; in sljit_generate_code()
400 jump = compiler->jumps; in sljit_generate_code()
401 const_ = compiler->consts; in sljit_generate_code()
456 jump = compiler->jumps; in sljit_generate_code()
1690 compiler->skip_checks = 1; in sljit_emit_op2u()
2061 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
[all …]
H A DsljitNativeARM_32.c157 if (compiler->last_label && compiler->last_label->size == compiler->size) in push_cpool()
163 compiler->size++; in push_cpool()
195 compiler->size++; in push_inst()
240 compiler->size++; in push_inst_with_literal()
246 compiler->cpool_diff = compiler->size; in push_inst_with_literal()
259 compiler->size++; in push_inst_with_unique_literal()
262 compiler->cpool[compiler->cpool_fill] = literal; in push_inst_with_unique_literal()
263 compiler->cpool_unique[compiler->cpool_fill] = 1; in push_inst_with_unique_literal()
266 compiler->cpool_diff = compiler->size; in push_inst_with_unique_literal()
692 size = compiler->size + (compiler->patches << 1); in sljit_generate_code()
[all …]
H A DsljitNativeSPARC_common.c217 compiler->size++; in push_inst()
316 reverse_buf(compiler); in sljit_generate_code()
320 buf = compiler->buf; in sljit_generate_code()
327 label = compiler->labels; in sljit_generate_code()
328 jump = compiler->jumps; in sljit_generate_code()
390 jump = compiler->jumps; in sljit_generate_code()
767 …if ((compiler->cache_arg == SLJIT_MEM) && (argw - compiler->cache_argw) <= SIMM_MAX && (argw - com… in getput_arg()
797 return compiler->error; in emit_op_mem()
798 compiler->cache_arg = 0; in emit_op_mem()
806 return compiler->error; in emit_op_mem2()
[all …]
H A DsljitNativeARM_64.c147 compiler->size++; in push_inst()
249 reverse_buf(compiler); in sljit_generate_code()
253 buf = compiler->buf; in sljit_generate_code()
260 label = compiler->labels; in sljit_generate_code()
261 jump = compiler->jumps; in sljit_generate_code()
262 const_ = compiler->consts; in sljit_generate_code()
318 jump = compiler->jumps; in sljit_generate_code()
1397 compiler->skip_checks = 1; in sljit_emit_op2u()
1776 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
1799 PTR_FAIL_IF(push_inst(compiler, B_CC | (6 << 5) | get_cc(compiler, type))); in sljit_emit_jump()
[all …]
H A DsljitNativeS390X.c176 compiler->size++; in push_inst()
1036 return load_word(compiler, dst_r, src, srcw, (compiler->mode & SLJIT_32) != 0); in emit_move()
1411 reverse_buf(compiler); in sljit_generate_code()
1414 label = compiler->labels; in sljit_generate_code()
1415 jump = compiler->jumps; in sljit_generate_code()
1495 label = compiler->labels; in sljit_generate_code()
1503 jump = compiler->jumps; in sljit_generate_code()
2739 compiler->skip_checks = 1; in sljit_emit_op2u()
3084 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
3130 compiler->skip_checks = 1; in sljit_emit_call()
[all …]
H A DsljitNativePPC_common.c260 compiler->size++; in push_inst()
403 reverse_buf(compiler); in sljit_generate_code()
414 buf = compiler->buf; in sljit_generate_code()
421 label = compiler->labels; in sljit_generate_code()
422 jump = compiler->jumps; in sljit_generate_code()
423 const_ = compiler->consts; in sljit_generate_code()
524 jump = compiler->jumps; in sljit_generate_code()
1668 compiler->skip_checks = 1; in sljit_emit_op2u()
2035 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2167 compiler->skip_checks = 1; in sljit_emit_call()
[all …]
H A DsljitNativeMIPS_32.c92 return push_inst(compiler, SEB | T(src2) | D(dst), DR(dst)); in emit_single_op()
112 return push_inst(compiler, SEH | T(src2) | D(dst), DR(dst)); in emit_single_op()
374 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
384 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op()
520 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args()
559 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args()
584 set_jump(jump, compiler, type & SLJIT_REWRITABLE_JUMP); in sljit_emit_call()
590 PTR_FAIL_IF(emit_const(compiler, PIC_ADDR_REG, 0)); in sljit_emit_call()
598 jump->addr = compiler->size; in sljit_emit_call()
599 PTR_FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_call()
[all …]
H A DsljitNativeSPARC_32.c30 return push_inst(compiler, OR | D(dst) | S1(0) | IMM(imm), DR(dst)); in load_immediate()
47 return push_inst(compiler, OR | D(dst) | S1(0) | S2(src2), DR(dst)); in emit_single_op()
56 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(24), DR(dst))); in emit_single_op()
57 return push_inst(compiler, SRA | D(dst) | S1(dst) | IMM(24), DR(dst)); in emit_single_op()
82 FAIL_IF(push_inst(compiler, OR | D(dst) | S1(0) | IMM(-1), DR(dst))); in emit_single_op()
91 compiler->status_flags_state = SLJIT_CURRENT_FLAGS_ADD; in emit_single_op()
95 compiler->status_flags_state = SLJIT_CURRENT_FLAGS_ADD; in emit_single_op()
99 compiler->status_flags_state = SLJIT_CURRENT_FLAGS_SUB; in emit_single_op()
103 compiler->status_flags_state = SLJIT_CURRENT_FLAGS_SUB; in emit_single_op()
107 compiler->status_flags_state = 0; in emit_single_op()
[all …]
H A DsljitNativeMIPS_common.c302 compiler->size++; in push_inst()
525 reverse_buf(compiler); in sljit_generate_code()
529 buf = compiler->buf; in sljit_generate_code()
537 jump = compiler->jumps; in sljit_generate_code()
601 jump = compiler->jumps; in sljit_generate_code()
1220 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
1228 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler in getput_arg()
1992 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2099 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_jump()
2173 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_cmp()
[all …]
H A DsljitNativeX86_64.c385 compiler->mode32 = 0; in sljit_emit_enter()
518 compiler->mode32 = 1; in sljit_emit_enter()
584 compiler->mode32 = 1; in emit_stack_frame_release()
787 compiler->mode32 = 0; in sljit_emit_call()
810 compiler->mode32 = 0; in sljit_emit_icall()
864 compiler->mode32 = 1; in sljit_emit_fast_enter()
894 compiler->mode32 = 1; in emit_fast_return()
920 compiler->mode32 = 0; in emit_mov_int()
932 compiler->mode32 = 1; in emit_mov_int()
936 compiler->mode32 = 0; in emit_mov_int()
[all …]
H A DsljitNativeMIPS_64.c489 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
492 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
502 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op()
627 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args()
651 set_jump(jump, compiler, type & SLJIT_REWRITABLE_JUMP); in sljit_emit_call()
660 PTR_FAIL_IF(emit_const(compiler, PIC_ADDR_REG, 0)); in sljit_emit_call()
668 jump->addr = compiler->size; in sljit_emit_call()
669 PTR_FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_call()
695 FAIL_IF(emit_stack_frame_release(compiler, 0, &ins)); in sljit_emit_icall()
697 FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_icall()
[all …]
H A DsljitLir.h541 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler);
548 …LINE sljit_s32 sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error;… in sljit_get_compiler_error() argument
556 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler);
581 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler);
598 …NE sljit_sw sljit_get_executable_offset(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_executable_offset() argument
606 … sljit_uw sljit_get_generated_code_size(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_generated_code_size() argument
693 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler,
707 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler,
716 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_void(struct sljit_compiler *compiler);
1564 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
[all …]
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_jit_simd_inc.h117 sljit_emit_op_custom(compiler, instruction, 4); in load_from_mem_sse2()
123 sljit_emit_op_custom(compiler, instruction, 5); in load_from_mem_sse2()
254 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_simd()
273 sljit_emit_op_custom(compiler, instruction, 5); in fast_forward_char_simd()
297 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_simd()
324 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_simd()
334 sljit_emit_op_custom(compiler, instruction, 3); in fast_forward_char_simd()
413 sljit_emit_op_custom(compiler, instruction, 4); in fast_requested_char_simd()
432 sljit_emit_op_custom(compiler, instruction, 5); in fast_requested_char_simd()
453 sljit_emit_op_custom(compiler, instruction, 4); in fast_requested_char_simd()
[all …]
H A Dpcre2_jit_compile.c373 struct sljit_compiler *compiler; member
614 struct sljit_compiler *compiler = common->compiler
624 sljit_emit_label(compiler)
626 sljit_emit_jump(compiler, (type))
2249 struct sljit_compiler *compiler; member
2269 status->compiler = common->compiler; in delayed_mem_copy_init()
2275 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_move() local
2299 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_finish() local
13916 if (!compiler) in jit_compile()
13922 common->compiler = compiler; in jit_compile()
[all …]
/PHP-8.2/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-8.2/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-8.2/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*********************************************
/PHP-8.2/Zend/tests/
H A Ddeclare_006.phpt2 Use of non-literals in declare ticks values crashes compiler
/PHP-8.2/Zend/tests/type_declarations/
H A Dstatic_type_param.phpt6 // TODO: We could prohibit this case in the compiler instead.

Completed in 201 milliseconds

123