Home
last modified time | relevance | path

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

123

/PHP-8.3/ext/pcre/pcre2lib/sljit/
H A DsljitLir.c377 if (!compiler) in sljit_create_compiler()
403 if (!compiler->buf || !compiler->abuf) { in sljit_create_compiler()
436 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()
856 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_src()
873 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_dst()
887 if (compiler->scratches == -1 || compiler->saveds == -1) in function_fcheck()
[all …]
H A DsljitNativePPC_32.c117 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
130 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
158 FAIL_IF(push_inst(compiler, CMPI | CRD(0) | A(src1) | compiler->imm)); in emit_single_op()
179 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
200 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
207 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
211 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
218 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
222 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
236 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 DsljitNativeARM_T2_32.c223 compiler->size++; in push_inst16()
233 compiler->size += 2; in push_inst32()
393 reverse_buf(compiler); in sljit_generate_code()
397 buf = compiler->buf; in sljit_generate_code()
404 label = compiler->labels; in sljit_generate_code()
405 jump = compiler->jumps; in sljit_generate_code()
406 const_ = compiler->consts; in sljit_generate_code()
461 jump = compiler->jumps; in sljit_generate_code()
1433 i = compiler->scratches; in emit_stack_frame_release()
1964 FAIL_IF(compiler->error); in emit_fop_mem()
[all …]
H A DsljitNativeX86_32.c300 compiler->args_size = 0; in sljit_emit_enter()
538 size = (sljit_uw)((compiler->scratches > 9 ? (compiler->scratches - 9) : 0) + in emit_stack_frame_release()
539 (compiler->saveds <= 3 ? compiler->saveds : 3) - kept_saveds_count); in emit_stack_frame_release()
561 saveds = compiler->saveds; in emit_stack_frame_release()
750 saved_regs_size = (1 + (compiler->scratches > 9 ? (compiler->scratches - 9) : 0) in tail_call_with_args()
880 if (compiler->saveds > 2 || compiler->scratches > 9) { in tail_call_with_args()
986 if ((compiler->saveds > 0 && kept_saveds_count == 0) || compiler->scratches > 11) in tail_call_reg_arg_with_args()
988 if ((compiler->saveds > 1 && kept_saveds_count <= 1) || compiler->scratches > 10) in tail_call_reg_arg_with_args()
990 if ((compiler->saveds > 2 && kept_saveds_count <= 2) || compiler->scratches > 9) in tail_call_reg_arg_with_args()
1294 size += (1 + (compiler->scratches > 9 ? (compiler->scratches - 9) : 0) in skip_frames_before_return()
[all …]
H A DsljitNativeX86_common.c601 reverse_buf(compiler); in sljit_generate_code()
606 buf = compiler->buf; in sljit_generate_code()
985 compiler->mode32 = 1; in adjust_shadow_stack()
1238 compiler->mode32 = 0; in emit_mov_byte()
1375 compiler->mode32 = 1; in emit_prefetch()
1401 compiler->mode32 = 0; in emit_mov_half()
2344 compiler->mode32 = 0;
2357 compiler->mode32 = 0;
2621 compiler->mode32 = 0;
2803 compiler->mode32 = 1;
[all …]
H A DsljitNativeARM_32.c161 if (compiler->last_label && compiler->last_label->size == compiler->size) in push_cpool()
167 compiler->size++; in push_cpool()
199 compiler->size++; in push_inst()
244 compiler->size++; in push_inst_with_literal()
250 compiler->cpool_diff = compiler->size; in push_inst_with_literal()
263 compiler->size++; in push_inst_with_unique_literal()
266 compiler->cpool[compiler->cpool_fill] = literal; in push_inst_with_unique_literal()
267 compiler->cpool_unique[compiler->cpool_fill] = 1; in push_inst_with_unique_literal()
270 compiler->cpool_diff = compiler->size; in push_inst_with_unique_literal()
697 size = compiler->size + (compiler->patches << 1); in sljit_generate_code()
[all …]
H A DsljitNativeARM_64.c149 compiler->size++; in push_inst()
251 reverse_buf(compiler); in sljit_generate_code()
255 buf = compiler->buf; in sljit_generate_code()
262 label = compiler->labels; in sljit_generate_code()
263 jump = compiler->jumps; in sljit_generate_code()
264 const_ = compiler->consts; in sljit_generate_code()
320 jump = compiler->jumps; in sljit_generate_code()
1282 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_return_to()
1945 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
1950 set_label(label, compiler); in sljit_emit_label()
[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 DsljitNativeS390X.c173 compiler->size++; in push_inst()
1067 return load_word(compiler, dst_r, src, srcw, (compiler->mode & SLJIT_32) != 0); in emit_move()
1442 reverse_buf(compiler); in sljit_generate_code()
1445 label = compiler->labels; in sljit_generate_code()
1446 jump = compiler->jumps; in sljit_generate_code()
1526 label = compiler->labels; in sljit_generate_code()
1534 jump = compiler->jumps; in sljit_generate_code()
1881 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_return_to()
2929 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_op2u()
3386 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
[all …]
H A DsljitNativeRISCV_common.c157 compiler->size++; in push_inst()
392 reverse_buf(compiler); in sljit_generate_code()
396 buf = compiler->buf; in sljit_generate_code()
958 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
2275 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2369 compiler->size += 1; in sljit_emit_jump()
2371 compiler->size += 5; in sljit_emit_jump()
2486 compiler->size += 1; in sljit_emit_cmp()
2488 compiler->size += 5; in sljit_emit_cmp()
2522 compiler->size += 1; in sljit_emit_ijump()
[all …]
H A DsljitNativeMIPS_common.c335 compiler->size++; in push_inst()
589 reverse_buf(compiler); in sljit_generate_code()
593 buf = compiler->buf; in sljit_generate_code()
1296 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
2842 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2961 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_jump()
2979 compiler->size += 2; in sljit_emit_jump()
2981 compiler->size += 6; in sljit_emit_jump()
3046 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_cmp()
3129 compiler->size += 2; in sljit_emit_cmp()
[all …]
H A DsljitNativeMIPS_64.c212 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args()
236 set_jump(jump, compiler, type & SLJIT_REWRITABLE_JUMP); in sljit_emit_call()
259 jump->addr = compiler->size; in sljit_emit_call()
260 PTR_FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_call()
263 compiler->size += 6; in sljit_emit_call()
294 FAIL_IF(push_inst(compiler, ins, MOVABLE_INS)); in sljit_emit_icall()
297 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_icall()
298 return sljit_emit_ijump(compiler, type, src, srcw); in sljit_emit_icall()
309 FAIL_IF(emit_stack_frame_release(compiler, 0, &ins)); in sljit_emit_icall()
311 FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_icall()
[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 DsljitNativePPC_common.c280 compiler->size++; in push_inst()
423 reverse_buf(compiler); in sljit_generate_code()
434 buf = compiler->buf; in sljit_generate_code()
441 label = compiler->labels; in sljit_generate_code()
442 jump = compiler->jumps; in sljit_generate_code()
443 const_ = compiler->consts; in sljit_generate_code()
544 jump = compiler->jumps; in sljit_generate_code()
974 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_return_to()
2197 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2202 set_label(label, compiler); in sljit_emit_label()
[all …]
H A DsljitNativeX86_64.c398 compiler->mode32 = 0; in sljit_emit_enter()
531 compiler->mode32 = 1; in sljit_emit_enter()
597 compiler->mode32 = 1; in emit_stack_frame_release()
615 compiler->mode32 = 0; in emit_stack_frame_release()
664 compiler->mode32 = 0; in sljit_emit_return_void()
681 compiler->mode32 = 0; in sljit_emit_return_to()
818 compiler->mode32 = 0; in sljit_emit_call()
839 compiler->mode32 = 0; in sljit_emit_icall()
892 compiler->mode32 = 1; in sljit_emit_fast_enter()
957 compiler->mode32 = 0; in sljit_emit_mem()
[all …]
H A DsljitNativeMIPS_32.c143 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args()
182 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args()
207 set_jump(jump, compiler, type & SLJIT_REWRITABLE_JUMP); in sljit_emit_call()
230 jump->addr = compiler->size; in sljit_emit_call()
231 PTR_FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_call()
234 compiler->size += 2; in sljit_emit_call()
276 FAIL_IF(emit_stack_frame_release(compiler, 0, &ins)); in sljit_emit_icall()
279 FAIL_IF(push_inst(compiler, ins, MOVABLE_INS)); in sljit_emit_icall()
282 SLJIT_SKIP_CHECKS(compiler); in sljit_emit_icall()
283 return sljit_emit_ijump(compiler, type, src, srcw); in sljit_emit_icall()
[all …]
H A DsljitNativeRISCV_64.c39 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)0x80000000u)); in load_immediate()
40 return push_inst(compiler, XORI | RD(dst_r) | RS1(dst_r) | IMM_I(imm)); in load_immediate()
51 return push_inst(compiler, ADDI | RD(dst_r) | RS1(dst_r) | IMM_I(imm)); in load_immediate()
64 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)0x80000000u)); in load_immediate()
76 FAIL_IF(push_inst(compiler, SLLI | RD(dst_r) | RS1(dst_r) | IMM_I(12))); in load_immediate()
79 return push_inst(compiler, XORI | RD(dst_r) | RS1(dst_r) | IMM_I(imm)); in load_immediate()
91 FAIL_IF(push_inst(compiler, LUI | RD(tmp_r) | (sljit_ins)(high << 12))); 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()
148 FAIL_IF(push_inst(compiler, XOR | RD(dst) | RS1(dst) | RS2(TMP_REG3))); in emit_const()
[all …]
H A DsljitNativeRISCV_32.c27 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst_r, sljit_sw imm, slj… in load_immediate() argument
33 return push_inst(compiler, ADDI | RD(dst_r) | RS1(TMP_ZERO) | IMM_I(imm)); in load_immediate()
38 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)(imm & ~0xfff))); in load_immediate()
43 return push_inst(compiler, ADDI | RD(dst_r) | RS1(dst_r) | IMM_I(imm)); in load_immediate()
46 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw i… in emit_const() argument
51 FAIL_IF(push_inst(compiler, LUI | RD(dst) | (sljit_ins)(init_value & ~0xfff))); in emit_const()
52 return push_inst(compiler, last_ins | RS1(dst) | IMM_I(init_value)); in emit_const()
H A DsljitLir.h544 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler);
551 …LINE sljit_s32 sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error;… in sljit_get_compiler_error() argument
584 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler);
601 …NE sljit_sw sljit_get_executable_offset(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_executable_offset() argument
609 … sljit_uw sljit_get_generated_code_size(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_generated_code_size() argument
726 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler,
743 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler,
754 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_void(struct sljit_compiler *compiler);
767 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_to(struct sljit_compiler *compiler,
1694 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
[all …]
/PHP-8.3/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.3/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.3/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.3/ext/phar/tests/files/
H A Dstuboflength1041.phar2 /***stub of length 1041 including the halt compiler*********************************************

Completed in 228 milliseconds

123