Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitLir.c372 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()
451 return compiler; in sljit_create_compiler()
554 ret = compiler->buf->memory + compiler->buf->used_size; in ensure_buf()
573 ret = compiler->abuf->memory + compiler->abuf->used_size; in ensure_abuf()
755 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_src_mem()
789 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_src()
809 if (compiler->scratches == -1 || compiler->saveds == -1) in function_check_dst()
[all …]
H A DsljitNativePPC_32.c109 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 DsljitNativeX86_32.c83 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 DsljitNativePPC_64.c241 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()
322 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
332 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
336 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
343 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
347 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
359 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
363 return push_inst(compiler, XORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
380 return push_inst(compiler, RLDI(dst, src1, compiler->imm, 63 - compiler->imm, 1) | RC(flags)); in emit_single_op()
[all …]
H A DsljitNativeX86_common.c506 reverse_buf(compiler); in sljit_generate_code()
511 buf = compiler->buf; in sljit_generate_code()
515 jump = compiler->jumps; in sljit_generate_code()
847 compiler->mode32 = 1; in adjust_shadow_stack()
1104 compiler->mode32 = 0; in emit_mov_byte()
1241 compiler->mode32 = 1; in emit_prefetch()
1267 compiler->mode32 = 0; in emit_mov_half()
2530 compiler->mode32 = 1;
2556 compiler->mode32 = 1;
2629 compiler->mode32 = 1;
[all …]
H A DsljitNativeARM_32.c148 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()
609 size = compiler->size + (compiler->patches << 1); in sljit_generate_code()
[all …]
H A DsljitNativeARM_64.c142 compiler->size++; in push_inst()
254 reverse_buf(compiler); in sljit_generate_code()
258 buf = compiler->buf; in sljit_generate_code()
265 label = compiler->labels; in sljit_generate_code()
266 jump = compiler->jumps; in sljit_generate_code()
267 const_ = compiler->consts; in sljit_generate_code()
323 jump = compiler->jumps; in sljit_generate_code()
1072 saved_regs_size = GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 2); in sljit_emit_return()
1674 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
1717 compiler->skip_checks = 1; in sljit_emit_call()
[all …]
H A DsljitNativeARM_T2_32.c208 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()
1200 FAIL_IF(push_inst16(compiler, ADD_SP | (compiler->local_size >> 2))); in sljit_emit_return()
1823 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
[all …]
H A DsljitNativeSPARC_common.c213 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()
667 …if ((compiler->cache_arg == SLJIT_MEM) && (argw - compiler->cache_argw) <= SIMM_MAX && (argw - com… in getput_arg()
697 return compiler->error; in emit_op_mem()
698 compiler->cache_arg = 0; in emit_op_mem()
706 return compiler->error; in emit_op_mem2()
[all …]
H A DsljitNativeX86_64.c141 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 DsljitNativeMIPS_64.c468 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()
610 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args()
634 set_jump(jump, compiler, type & SLJIT_REWRITABLE_JUMP); in sljit_emit_call()
637 PTR_FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_call()
641 PTR_FAIL_IF(emit_const(compiler, PIC_ADDR_REG, 0)); in sljit_emit_call()
645 jump->addr = compiler->size; in sljit_emit_call()
646 PTR_FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_call()
671 FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_icall()
[all …]
H A DsljitNativeMIPS_32.c375 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()
536 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args()
574 FAIL_IF(push_inst(compiler, prev_ins, MOVABLE_INS)); in call_with_args()
636 PTR_FAIL_IF(emit_const(compiler, PIC_ADDR_REG, 0)); in sljit_emit_call()
640 jump->addr = compiler->size; in sljit_emit_call()
641 PTR_FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_call()
643 PTR_FAIL_IF(post_call_with_args(compiler, arg_types)); in sljit_emit_call()
668 FAIL_IF(call_with_args(compiler, arg_types, &ins)); in sljit_emit_icall()
672 FAIL_IF(push_inst(compiler, ins, UNMOVABLE_INS)); in sljit_emit_icall()
[all …]
H A DsljitNativeMIPS_common.c298 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()
1012 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
1020 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler in getput_arg()
1785 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
1892 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_jump()
1966 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_cmp()
[all …]
H A DsljitNativePPC_common.c255 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()
790 FAIL_IF(load_immediate(compiler, 0, compiler->local_size)); in sljit_emit_return()
1529 compiler->imm = src2w; in sljit_emit_op2()
1896 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
[all …]
H A DsljitNativeSPARC_32.c30 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 DsljitNativeTILEGX_64.c335 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()
2308 flush_buffer(compiler); in sljit_emit_label()
2313 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2327 flush_buffer(compiler); in sljit_emit_ijump()
[all …]
H A DsljitLir.h494 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler);
501 …LINE sljit_s32 sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error;… in sljit_get_compiler_error() argument
509 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler);
534 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler);
551 …NE sljit_sw sljit_get_executable_offset(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_executable_offset() argument
559 … sljit_uw sljit_get_generated_code_size(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_generated_code_size() argument
641 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler,
655 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler,
1126 SLJIT_API_FUNC_ATTRIBUTE struct sljit_label* sljit_emit_label(struct sljit_compiler *compiler);
1528 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
[all …]
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_jit_simd_inc.h91 sljit_emit_op_custom(compiler, instruction, 4); in load_from_mem_sse2()
97 sljit_emit_op_custom(compiler, instruction, 5); in load_from_mem_sse2()
234 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_simd()
253 sljit_emit_op_custom(compiler, instruction, 5); in fast_forward_char_simd()
277 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_simd()
304 sljit_emit_op_custom(compiler, instruction, 4); in fast_forward_char_simd()
314 sljit_emit_op_custom(compiler, instruction, 3); in fast_forward_char_simd()
393 sljit_emit_op_custom(compiler, instruction, 4); in fast_requested_char_simd()
412 sljit_emit_op_custom(compiler, instruction, 5); in fast_requested_char_simd()
433 sljit_emit_op_custom(compiler, instruction, 4); in fast_requested_char_simd()
[all …]
H A Dpcre2_jit_compile.c373 struct sljit_compiler *compiler; member
611 struct sljit_compiler *compiler = common->compiler
619 sljit_emit_label(compiler)
621 sljit_emit_jump(compiler, (type))
2248 struct sljit_compiler *compiler; member
2268 status->compiler = common->compiler; in delayed_mem_copy_init()
2274 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_move() local
2298 struct sljit_compiler *compiler = status->compiler; in delayed_mem_copy_finish() local
13608 if (!compiler) in jit_compile()
13614 common->compiler = compiler; in jit_compile()
[all …]
/PHP-7.4/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-7.4/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-7.4/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-7.4/Zend/tests/
H A Ddeclare_006.phpt2 Use of non-literals in declare ticks values crashes compiler
H A Dflexible-heredoc-nowdoc-lineno.phpt2 Flexible heredoc lineno: ensure the compiler globals line number is correct

Completed in 167 milliseconds

12