/PHP-8.1/ext/pcre/pcre2lib/sljit/ |
H A D | sljitLir.c | 369 if (!compiler) in sljit_create_compiler() 397 if (!compiler->buf || !compiler->abuf) { in sljit_create_compiler() 398 if (compiler->buf) in sljit_create_compiler() 430 compiler->cpool_unique = (sljit_u8*)(compiler->cpool + CPOOL_SIZE); in sljit_create_compiler() 449 return compiler; in sljit_create_compiler() 566 ret = compiler->buf->memory + compiler->buf->used_size; in ensure_buf() 585 ret = compiler->abuf->memory + compiler->abuf->used_size; in ensure_abuf() 770 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_src_mem() 804 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_src() 824 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_dst() [all …]
|
H A D | sljitNativePPC_32.c | 109 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op() 120 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op() 167 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op() 182 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op() 189 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 193 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 200 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 204 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 216 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 220 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() [all …]
|
H A D | sljitNativeX86_32.c | 83 compiler->args = args; in sljit_emit_enter() 93 compiler->saveds_offset = compiler->stack_tmp_size; in sljit_emit_enter() 97 compiler->locals_offset = compiler->saveds_offset; in sljit_emit_enter() 265 compiler->saveds_offset = compiler->stack_tmp_size; in sljit_set_context() 269 compiler->locals_offset = compiler->saveds_offset; in sljit_set_context() 313 size = 2 + (compiler->scratches > 9 ? (compiler->scratches - 9) : 0) + in sljit_emit_return() 314 (compiler->saveds <= 3 ? compiler->saveds : 3); in sljit_emit_return() 324 if (compiler->saveds > 0 || compiler->scratches > 11) in sljit_emit_return() 326 if (compiler->saveds > 1 || compiler->scratches > 10) in sljit_emit_return() 328 if (compiler->saveds > 2 || compiler->scratches > 9) in sljit_emit_return() [all …]
|
H A D | sljitNativePPC_64.c | 241 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op() 253 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op() 334 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op() 344 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 348 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 355 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 359 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 371 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 375 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 392 return push_inst(compiler, RLDI(dst, src1, compiler->imm, 63 - compiler->imm, 1) | RC(flags)); in emit_single_op() [all …]
|
H A D | sljitNativeARM_32.c | 148 if (compiler->last_label && compiler->last_label->size == compiler->size) in push_cpool() 154 compiler->size++; in push_cpool() 186 compiler->size++; in push_inst() 231 compiler->size++; in push_inst_with_literal() 237 compiler->cpool_diff = compiler->size; in push_inst_with_literal() 250 compiler->size++; in push_inst_with_unique_literal() 253 compiler->cpool[compiler->cpool_fill] = literal; in push_inst_with_unique_literal() 254 compiler->cpool_unique[compiler->cpool_fill] = 1; in push_inst_with_unique_literal() 257 compiler->cpool_diff = compiler->size; in push_inst_with_unique_literal() 682 size = compiler->size + (compiler->patches << 1); in sljit_generate_code() [all …]
|
H A D | sljitNativeX86_common.c | 504 reverse_buf(compiler); in sljit_generate_code() 509 buf = compiler->buf; in sljit_generate_code() 513 jump = compiler->jumps; in sljit_generate_code() 844 compiler->mode32 = 1; in adjust_shadow_stack() 1101 compiler->mode32 = 0; in emit_mov_byte() 1238 compiler->mode32 = 1; in emit_prefetch() 1264 compiler->mode32 = 0; in emit_mov_half() 2527 compiler->mode32 = 1; 2553 compiler->mode32 = 1; 2626 compiler->mode32 = 1; [all …]
|
H A D | sljitNativeARM_T2_32.c | 208 compiler->size++; in push_inst16() 218 compiler->size += 2; in push_inst32() 378 reverse_buf(compiler); in sljit_generate_code() 382 buf = compiler->buf; in sljit_generate_code() 389 label = compiler->labels; in sljit_generate_code() 390 jump = compiler->jumps; in sljit_generate_code() 391 const_ = compiler->consts; in sljit_generate_code() 446 jump = compiler->jumps; in sljit_generate_code() 1207 FAIL_IF(push_inst16(compiler, ADD_SP | (compiler->local_size >> 2))); in sljit_emit_return() 1834 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label() [all …]
|
H A D | sljitNativeSPARC_common.c | 213 compiler->size++; in push_inst() 312 reverse_buf(compiler); in sljit_generate_code() 316 buf = compiler->buf; in sljit_generate_code() 323 label = compiler->labels; in sljit_generate_code() 324 jump = compiler->jumps; in sljit_generate_code() 386 jump = compiler->jumps; in sljit_generate_code() 668 …if ((compiler->cache_arg == SLJIT_MEM) && (argw - compiler->cache_argw) <= SIMM_MAX && (argw - com… in getput_arg() 698 return compiler->error; in emit_op_mem() 699 compiler->cache_arg = 0; in emit_op_mem() 707 return compiler->error; in emit_op_mem2() [all …]
|
H A D | sljitNativeARM_64.c | 142 compiler->size++; in push_inst() 244 reverse_buf(compiler); in sljit_generate_code() 248 buf = compiler->buf; in sljit_generate_code() 255 label = compiler->labels; in sljit_generate_code() 256 jump = compiler->jumps; in sljit_generate_code() 257 const_ = compiler->consts; in sljit_generate_code() 313 jump = compiler->jumps; in sljit_generate_code() 1674 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label() 1697 PTR_FAIL_IF(push_inst(compiler, B_CC | (6 << 5) | get_cc(compiler, type))); in sljit_emit_jump() 1717 compiler->skip_checks = 1; in sljit_emit_call() [all …]
|
H A D | sljitNativeMIPS_common.c | 298 compiler->size++; in push_inst() 521 reverse_buf(compiler); in sljit_generate_code() 525 buf = compiler->buf; in sljit_generate_code() 533 jump = compiler->jumps; in sljit_generate_code() 597 jump = compiler->jumps; in sljit_generate_code() 1013 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg() 1021 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler… in getput_arg() 1790 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label() 1895 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_jump() 1969 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_cmp() [all …]
|
H A D | sljitNativeX86_64.c | 141 compiler->mode32 = 0; in sljit_emit_enter() 315 if (compiler->fscratches >= 6 || compiler->fsaveds >= 1) { in sljit_emit_return() 619 compiler->mode32 = 0; in call_with_args() 660 compiler->mode32 = 0; in call_with_args() 795 compiler->mode32 = 1; in sljit_emit_fast_enter() 825 compiler->mode32 = 1; in emit_fast_return() 851 compiler->mode32 = 0; in emit_mov_int() 866 compiler->mode32 = 1; in emit_mov_int() 870 compiler->mode32 = 0; in emit_mov_int() 891 compiler->mode32 = 1; in emit_mov_int() [all …]
|
H A D | sljitNativeMIPS_64.c | 468 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op() 471 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op() 481 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op() 606 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args() 630 set_jump(jump, compiler, type & SLJIT_REWRITABLE_JUMP); in sljit_emit_call() 633 PTR_FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_call() 637 PTR_FAIL_IF(emit_const(compiler, PIC_ADDR_REG, 0)); in sljit_emit_call() 641 jump->addr = compiler->size; in sljit_emit_call() 642 PTR_FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_call() 667 FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_icall() [all …]
|
H A D | sljitNativeMIPS_32.c | 375 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op() 385 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op() 533 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args() 571 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args() 633 PTR_FAIL_IF(emit_const(compiler, PIC_ADDR_REG, 0)); in sljit_emit_call() 637 jump->addr = compiler->size; in sljit_emit_call() 638 PTR_FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_call() 640 PTR_FAIL_IF(post_call_with_args(compiler, arg_types)); in sljit_emit_call() 665 FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_icall() 669 FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_icall() [all …]
|
H A D | sljitNativeS390X.c | 150 compiler->size++; in push_inst() 1023 return load_word(compiler, dst_r, src, srcw, (compiler->mode & SLJIT_I32_OP) != 0); in emit_move() 1385 reverse_buf(compiler); in sljit_generate_code() 1388 label = compiler->labels; in sljit_generate_code() 1389 jump = compiler->jumps; in sljit_generate_code() 1469 label = compiler->labels; in sljit_generate_code() 1477 jump = compiler->jumps; in sljit_generate_code() 2759 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label() 2764 set_label(label, compiler); in sljit_emit_label() 2800 compiler->skip_checks = 1; in sljit_emit_call() [all …]
|
H A D | sljitNativePPC_common.c | 255 compiler->size++; in push_inst() 398 reverse_buf(compiler); in sljit_generate_code() 409 buf = compiler->buf; in sljit_generate_code() 416 label = compiler->labels; in sljit_generate_code() 417 jump = compiler->jumps; in sljit_generate_code() 418 const_ = compiler->consts; in sljit_generate_code() 519 jump = compiler->jumps; in sljit_generate_code() 791 FAIL_IF(load_immediate(compiler, 0, compiler->local_size)); in sljit_emit_return() 1569 compiler->imm = src2w; in sljit_emit_op2() 1940 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label() [all …]
|
H A D | sljitNativeSPARC_32.c | 30 return push_inst(compiler, OR | D(dst) | S1(0) | IMM(imm), DR(dst)); in load_immediate() 50 return push_inst(compiler, OR | D(dst) | S1(0) | S2(src2), DR(dst)); in emit_single_op() 58 return push_inst(compiler, AND | D(dst) | S1(src2) | IMM(0xff), DR(dst)); in emit_single_op() 59 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(24), DR(dst))); in emit_single_op() 60 return push_inst(compiler, SRA | D(dst) | S1(dst) | IMM(24), DR(dst)); in emit_single_op() 70 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(16), DR(dst))); in emit_single_op() 87 FAIL_IF(push_inst(compiler, OR | D(dst) | S1(0) | IMM(-1), DR(dst))); in emit_single_op() 96 compiler->status_flags_state = SLJIT_CURRENT_FLAGS_ADD_SUB; in emit_single_op() 103 compiler->status_flags_state = SLJIT_CURRENT_FLAGS_ADD_SUB; in emit_single_op() 110 compiler->status_flags_state = 0; in emit_single_op() [all …]
|
H A D | sljitLir.h | 507 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler); 514 …LINE sljit_s32 sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error;… in sljit_get_compiler_error() argument 522 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler); 547 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler); 564 …NE sljit_sw sljit_get_executable_offset(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_executable_offset() argument 572 … sljit_uw sljit_get_generated_code_size(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_generated_code_size() argument 654 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, 668 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, 1142 SLJIT_API_FUNC_ATTRIBUTE struct sljit_label* sljit_emit_label(struct sljit_compiler *compiler); 1518 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler, [all …]
|
/PHP-8.1/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_simd_inc.h | 117 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 D | pcre2_jit_compile.c | 373 struct sljit_compiler *compiler; member 611 struct sljit_compiler *compiler = common->compiler 619 sljit_emit_label(compiler) 621 sljit_emit_jump(compiler, (type)) 2244 struct sljit_compiler *compiler; member 2264 status->compiler = common->compiler; in delayed_mem_copy_init() 2270 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_move() local 2294 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_finish() local 13687 if (!compiler) in jit_compile() 13693 common->compiler = compiler; in jit_compile() [all …]
|
/PHP-8.1/ext/reflection/tests/ |
H A D | bug64936.phpt | 16 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.1/build/ |
H A D | ax_check_compile_flag.m4 | 11 # 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.1/ext/phar/tests/files/ |
H A D | stuboflength1041.phar | 2 /***stub of length 1041 including the halt compiler*********************************************
|
H A D | stuboflength1041.phar.inc | 10 /***stub of length 1041 including the halt compiler*********************************************
|
/PHP-8.1/Zend/tests/ |
H A D | declare_006.phpt | 2 Use of non-literals in declare ticks values crashes compiler
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | static_type_param.phpt | 6 // TODO: We could prohibit this case in the compiler instead.
|