/PHP-7.3/ext/pcre/pcre2lib/sljit/ |
H A D | sljitLir.c | 370 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() 546 ret = compiler->buf->memory + compiler->buf->used_size; in ensure_buf() 565 ret = compiler->abuf->memory + compiler->abuf->used_size; in ensure_abuf() 710 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_src_mem() 744 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_src() 764 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() 153 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op() 159 return push_inst(compiler, CMPI | CRD(0) | A(src1) | compiler->imm); in emit_single_op() 176 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op() 183 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 187 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 194 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 198 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 210 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op() [all …]
|
H A D | sljitNativePPC_64.c | 244 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op() 256 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op() 325 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op() 335 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 339 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 346 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 350 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 362 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op() 366 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op() 383 return push_inst(compiler, RLDI(dst, src1, compiler->imm, 63 - compiler->imm, 1) | RC(flags)); in emit_single_op() [all …]
|
H A D | sljitNativeX86_32.c | 78 compiler->args = args; in sljit_emit_enter() 88 compiler->saveds_offset = compiler->stack_tmp_size; in sljit_emit_enter() 92 compiler->locals_offset = compiler->saveds_offset; in sljit_emit_enter() 260 compiler->saveds_offset = compiler->stack_tmp_size; in sljit_set_context() 264 compiler->locals_offset = compiler->saveds_offset; in sljit_set_context() 299 EMIT_MOV(compiler, SLJIT_SP, 0, SLJIT_MEM1(SLJIT_SP), compiler->local_size) in sljit_emit_return() 308 size = 2 + (compiler->scratches > 7 ? (compiler->scratches - 7) : 0) + in sljit_emit_return() 309 (compiler->saveds <= 3 ? compiler->saveds : 3); in sljit_emit_return() 322 if (compiler->saveds > 0 || compiler->scratches > 11) in sljit_emit_return() 324 if (compiler->saveds > 1 || compiler->scratches > 10) in sljit_emit_return() [all …]
|
H A D | sljitNativeARM_T2_32.c | 208 compiler->size++; in push_inst16() 218 compiler->size += 2; in push_inst32() 376 reverse_buf(compiler); in sljit_generate_code() 380 buf = compiler->buf; in sljit_generate_code() 386 label = compiler->labels; in sljit_generate_code() 387 jump = compiler->jumps; in sljit_generate_code() 388 const_ = compiler->consts; in sljit_generate_code() 431 jump = compiler->jumps; in sljit_generate_code() 1178 FAIL_IF(push_inst16(compiler, ADD_SP | (compiler->local_size >> 2))); in sljit_emit_return() 1792 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label() [all …]
|
H A D | sljitNativeX86_common.c | 503 reverse_buf(compiler); in sljit_generate_code() 508 buf = compiler->buf; in sljit_generate_code() 512 jump = compiler->jumps; in sljit_generate_code() 899 compiler->mode32 = 0; in emit_mov_byte() 1036 compiler->mode32 = 1; in emit_prefetch() 1062 compiler->mode32 = 0; in emit_mov_half() 2300 compiler->mode32 = 1; 2326 compiler->mode32 = 1; 2399 compiler->mode32 = 1; 2458 if (compiler->last_label && compiler->last_label->size == compiler->size) [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() 607 size = compiler->size + (compiler->patches << 1); in sljit_generate_code() [all …]
|
H A D | sljitNativeARM_64.c | 142 compiler->size++; in push_inst() 236 reverse_buf(compiler); in sljit_generate_code() 240 buf = compiler->buf; in sljit_generate_code() 246 label = compiler->labels; in sljit_generate_code() 247 jump = compiler->jumps; in sljit_generate_code() 248 const_ = compiler->consts; in sljit_generate_code() 291 jump = compiler->jumps; in sljit_generate_code() 1022 saved_regs_size = GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 2); in sljit_emit_return() 1612 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label() 1655 compiler->skip_checks = 1; in sljit_emit_call() [all …]
|
H A D | sljitNativeSPARC_common.c | 213 compiler->size++; in push_inst() 310 reverse_buf(compiler); in sljit_generate_code() 314 buf = compiler->buf; in sljit_generate_code() 320 label = compiler->labels; in sljit_generate_code() 321 jump = compiler->jumps; in sljit_generate_code() 371 jump = compiler->jumps; in sljit_generate_code() 634 …if ((compiler->cache_arg == SLJIT_MEM) && (argw - compiler->cache_argw) <= SIMM_MAX && (argw - com… in getput_arg() 664 return compiler->error; in emit_op_mem() 665 compiler->cache_arg = 0; in emit_op_mem() 673 return compiler->error; in emit_op_mem2() [all …]
|
H A D | sljitNativeX86_64.c | 86 compiler->mode32 = 0; in sljit_emit_enter() 260 if (compiler->fscratches >= 6 || compiler->fsaveds >= 1) { in sljit_emit_return() 564 compiler->mode32 = 0; in call_with_args() 605 compiler->mode32 = 0; in call_with_args() 740 compiler->mode32 = 1; in sljit_emit_fast_enter() 774 compiler->mode32 = 1; in sljit_emit_fast_return() 800 compiler->mode32 = 0; in emit_mov_int() 815 compiler->mode32 = 1; in emit_mov_int() 819 compiler->mode32 = 0; in emit_mov_int() 840 compiler->mode32 = 1; in emit_mov_int() [all …]
|
H A D | sljitNativePPC_common.c | 252 compiler->size++; in push_inst() 344 reverse_buf(compiler); in sljit_generate_code() 355 buf = compiler->buf; in sljit_generate_code() 361 label = compiler->labels; in sljit_generate_code() 362 jump = compiler->jumps; in sljit_generate_code() 363 const_ = compiler->consts; in sljit_generate_code() 447 jump = compiler->jumps; in sljit_generate_code() 700 FAIL_IF(load_immediate(compiler, 0, compiler->local_size)); in sljit_emit_return() 1334 compiler->imm = src2w; in sljit_emit_op2() 1443 compiler->imm = src2w; in sljit_emit_op2() [all …]
|
H A D | sljitNativeMIPS_common.c | 230 compiler->size++; in push_inst() 396 reverse_buf(compiler); in sljit_generate_code() 400 buf = compiler->buf; in sljit_generate_code() 406 label = compiler->labels; in sljit_generate_code() 407 jump = compiler->jumps; in sljit_generate_code() 456 jump = compiler->jumps; in sljit_generate_code() 853 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg() 861 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler… in getput_arg() 1585 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label() 1678 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_jump() [all …]
|
H A D | sljitNativeMIPS_32.c | 375 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op() 380 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op() 528 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args() 566 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args() 628 PTR_FAIL_IF(emit_const(compiler, PIC_ADDR_REG, 0)); in sljit_emit_call() 632 jump->addr = compiler->size; in sljit_emit_call() 633 PTR_FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_call() 635 PTR_FAIL_IF(post_call_with_args(compiler, arg_types)); in sljit_emit_call() 660 FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_icall() 664 FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_icall() [all …]
|
H A D | sljitNativeMIPS_64.c | 466 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op() 469 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op() 474 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op() 602 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args() 626 set_jump(jump, compiler, type & SLJIT_REWRITABLE_JUMP); in sljit_emit_call() 629 PTR_FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_call() 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() 663 FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_icall() [all …]
|
H A D | sljitNativeSPARC_32.c | 30 return push_inst(compiler, OR | D(dst) | S1(0) | IMM(imm), DR(dst)); in load_immediate() 32 FAIL_IF(push_inst(compiler, SETHI | D(dst) | ((imm >> 10) & 0x3fffff), 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() 86 FAIL_IF(push_inst(compiler, OR | D(dst) | S1(0) | IMM(32), UNMOVABLE_INS)); in emit_single_op() 87 FAIL_IF(push_inst(compiler, OR | D(dst) | S1(0) | IMM(-1), DR(dst))); in emit_single_op() 93 return push_inst(compiler, ADD | D(dst) | S1(dst) | IMM(1), UNMOVABLE_INS); in emit_single_op() [all …]
|
H A D | sljitNativeTILEGX_64.c | 335 compiler->size++; in push_inst_debug() 346 compiler->size++; in push_inst_nodebug() 357 compiler->size++; in push_inst() 1012 reverse_buf(compiler); in sljit_generate_code() 1016 buf = compiler->buf; in sljit_generate_code() 1021 jump = compiler->jumps; in sljit_generate_code() 1073 jump = compiler->jumps; in sljit_generate_code() 2300 flush_buffer(compiler); in sljit_emit_label() 2305 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label() 2319 flush_buffer(compiler); in sljit_emit_ijump() [all …]
|
H A D | sljitLir.h | 481 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler); 488 …LINE sljit_s32 sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error;… in sljit_get_compiler_error() argument 496 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler); 521 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler); 538 …NE sljit_sw sljit_get_executable_offset(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_executable_offset() argument 546 … sljit_uw sljit_get_generated_code_size(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_generated_code_size() argument 624 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, 638 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, 1073 SLJIT_API_FUNC_ATTRIBUTE struct sljit_label* sljit_emit_label(struct sljit_compiler *compiler); 1468 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler, [all …]
|
/PHP-7.3/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_compile.c | 370 struct sljit_compiler *compiler; member 591 struct sljit_compiler *compiler = common->compiler 597 sljit_emit_label(compiler) 599 sljit_emit_jump(compiler, (type)) 1825 struct sljit_compiler *compiler; member 1845 status->compiler = common->compiler; in delayed_mem_copy_init() 1851 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_move() local 1875 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_finish() local 12229 if (!compiler) in jit_compile() 12235 common->compiler = compiler; in jit_compile() [all …]
|
/PHP-7.3/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-7.3/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-7.3/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-7.3/Zend/tests/ |
H A D | declare_006.phpt | 2 Use of non-literals in declare ticks values crashes compiler
|
H A D | flexible-heredoc-nowdoc-lineno.phpt | 2 Flexible heredoc lineno: ensure the compiler globals line number is correct
|
H A D | bug69388.phpt | 2 Bug #69388: Use after free on recursive calls to PHP compiler
|