Home
last modified time | relevance | path

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

123

/PHP-7.2/ext/pcre/pcrelib/sljit/
H A DsljitLir.c355 if (!compiler) in sljit_create_compiler()
382 if (!compiler->buf || !compiler->abuf) { in sljit_create_compiler()
383 if (compiler->buf) in sljit_create_compiler()
385 if (compiler->abuf) in sljit_create_compiler()
403 compiler->args = -1; in sljit_create_compiler()
415 compiler->cpool_unique = (sljit_u8*)(compiler->cpool + CPOOL_SIZE); in sljit_create_compiler()
434 return compiler; in sljit_create_compiler()
444 buf = compiler->buf; in sljit_free_compiler()
531 ret = compiler->buf->memory + compiler->buf->used_size; in ensure_buf()
550 ret = compiler->abuf->memory + compiler->abuf->used_size; in ensure_abuf()
[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 DsljitNativePPC_64.c244 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 DsljitNativeARM_T2_32.c195 compiler->size++; in push_inst16()
205 compiler->size += 2; in push_inst32()
363 reverse_buf(compiler); in sljit_generate_code()
367 buf = compiler->buf; in sljit_generate_code()
373 label = compiler->labels; in sljit_generate_code()
374 jump = compiler->jumps; in sljit_generate_code()
375 const_ = compiler->consts; in sljit_generate_code()
418 jump = compiler->jumps; in sljit_generate_code()
1160 FAIL_IF(push_inst16(compiler, ADD_SP | (compiler->local_size >> 2))); in sljit_emit_return()
1371 compiler->skip_checks = 1; in sljit_emit_op1()
[all …]
H A DsljitNativeARM_64.c133 compiler->size++; in push_inst()
226 reverse_buf(compiler); in sljit_generate_code()
230 buf = compiler->buf; in sljit_generate_code()
236 label = compiler->labels; in sljit_generate_code()
237 jump = compiler->jumps; in sljit_generate_code()
238 const_ = compiler->consts; in sljit_generate_code()
281 jump = compiler->jumps; in sljit_generate_code()
1073 return compiler->error; in emit_op_mem()
1619 if (compiler->cache_arg == SLJIT_MEM && argw != compiler->cache_argw) { in emit_fop_mem()
1629 if (compiler->cache_arg != SLJIT_MEM || argw != compiler->cache_argw) { in emit_fop_mem()
[all …]
H A DsljitNativeARM_32.c138 if (compiler->last_label && compiler->last_label->size == compiler->size) in push_cpool()
144 compiler->size++; in push_cpool()
176 compiler->size++; in push_inst()
221 compiler->size++; in push_inst_with_literal()
227 compiler->cpool_diff = compiler->size; in push_inst_with_literal()
240 compiler->size++; in push_inst_with_unique_literal()
243 compiler->cpool[compiler->cpool_fill] = literal; in push_inst_with_unique_literal()
244 compiler->cpool_unique[compiler->cpool_fill] = 1; in push_inst_with_unique_literal()
247 compiler->cpool_diff = compiler->size; in push_inst_with_unique_literal()
595 size = compiler->size + (compiler->patches << 1); in sljit_generate_code()
[all …]
H A DsljitNativeX86_32.c77 compiler->args = args; in sljit_emit_enter()
93 compiler->locals_offset = compiler->saveds_offset; in sljit_emit_enter()
228 compiler->args = args; in sljit_set_context()
244 compiler->locals_offset = compiler->saveds_offset; in sljit_set_context()
279 EMIT_MOV(compiler, SLJIT_SP, 0, SLJIT_MEM1(SLJIT_SP), compiler->local_size) in sljit_emit_return()
288 size = 2 + (compiler->scratches > 7 ? (compiler->scratches - 7) : 0) + in sljit_emit_return()
289 (compiler->saveds <= 3 ? compiler->saveds : 3); in sljit_emit_return()
291 if (compiler->args > 2) in sljit_emit_return()
302 if (compiler->saveds > 0 || compiler->scratches > 11) in sljit_emit_return()
304 if (compiler->saveds > 1 || compiler->scratches > 10) in sljit_emit_return()
[all …]
H A DsljitNativeMIPS_common.c212 compiler->size++; in push_inst()
378 reverse_buf(compiler); in sljit_generate_code()
382 buf = compiler->buf; in sljit_generate_code()
389 jump = compiler->jumps; in sljit_generate_code()
438 jump = compiler->jumps; in sljit_generate_code()
841 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler in getput_arg()
858 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
866 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler in getput_arg()
1607 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
1700 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_jump()
[all …]
H A DsljitNativeX86_common.c492 reverse_buf(compiler); in sljit_generate_code()
497 buf = compiler->buf; in sljit_generate_code()
501 jump = compiler->jumps; in sljit_generate_code()
550 jump = compiler->jumps; in sljit_generate_code()
900 compiler->mode32 = 0; in emit_mov_byte()
1037 compiler->mode32 = 1; in emit_prefetch()
1063 compiler->mode32 = 0; in emit_mov_half()
2333 compiler->mode32 = 1;
2358 compiler->mode32 = 1;
2431 compiler->mode32 = 1;
[all …]
H A DsljitNativePPC_common.c249 compiler->size++; in push_inst()
341 reverse_buf(compiler); in sljit_generate_code()
352 buf = compiler->buf; in sljit_generate_code()
358 label = compiler->labels; in sljit_generate_code()
359 jump = compiler->jumps; in sljit_generate_code()
360 const_ = compiler->consts; in sljit_generate_code()
444 jump = compiler->jumps; in sljit_generate_code()
701 FAIL_IF(load_immediate(compiler, 0, compiler->local_size)); in sljit_emit_return()
1147 return compiler->error; in emit_op_mem2()
1722 compiler->imm = src2w; in sljit_emit_op2()
[all …]
H A DsljitNativeMIPS_32.c32 return push_inst(compiler, ORI | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); in load_immediate()
35 return push_inst(compiler, ADDIU | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); in load_immediate()
37 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar)); in load_immediate()
81 return push_inst(compiler, ADDU | S(src2) | TA(0) | D(dst), DR(dst)); in emit_single_op()
90 return push_inst(compiler, SEB | T(src2) | D(dst), DR(dst)); in emit_single_op()
109 return push_inst(compiler, SEH | T(src2) | D(dst), DR(dst)); in emit_single_op()
374 FAIL_IF(push_inst(compiler, MULT | S(src1) | T(src2), MOVABLE_INS)); in emit_single_op()
375 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
378 FAIL_IF(push_inst(compiler, MULT | S(src1) | T(src2), MOVABLE_INS)); in emit_single_op()
379 FAIL_IF(push_inst(compiler, MFHI | DA(EQUAL_FLAG), EQUAL_FLAG)); in emit_single_op()
[all …]
H A DsljitNativeSPARC_common.c197 compiler->size++; in push_inst()
294 reverse_buf(compiler); in sljit_generate_code()
298 buf = compiler->buf; in sljit_generate_code()
304 label = compiler->labels; in sljit_generate_code()
305 jump = compiler->jumps; in sljit_generate_code()
355 jump = compiler->jumps; in sljit_generate_code()
621 …if ((compiler->cache_arg == SLJIT_MEM) && (argw - compiler->cache_argw) <= SIMM_MAX && (argw - com… in getput_arg()
654 return compiler->error; in emit_op_mem()
655 compiler->cache_arg = 0; in emit_op_mem()
663 return compiler->error; in emit_op_mem2()
[all …]
H A DsljitNativeMIPS_64.c38 return push_inst(compiler, ORI | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); in load_immediate()
41 return push_inst(compiler, ADDIU | SA(0) | TA(dst_ar) | IMM(imm), dst_ar); in load_immediate()
44 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar)); in load_immediate()
79 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(uimm >> 48), dst_ar)); in load_immediate()
88 FAIL_IF(push_inst(compiler, ins | TA(dst_ar) | DA(dst_ar), dst_ar)); in load_immediate()
211 return push_inst(compiler, SLL | T(src2) | D(dst) | SH_IMM(0), DR(dst)); in emit_single_op()
465 FAIL_IF(push_inst(compiler, DMULT | S(src1) | T(src2), MOVABLE_INS)); in emit_single_op()
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()
473 FAIL_IF(push_inst(compiler, MFHI | DA(EQUAL_FLAG), EQUAL_FLAG)); in emit_single_op()
[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 DsljitNativeX86_64.c261 if (compiler->fscratches >= 6 || compiler->fsaveds >= 1) { in sljit_emit_return()
291 tmp = compiler->scratches; in sljit_emit_return()
617 compiler->mode32 = 1; in sljit_emit_fast_enter()
656 compiler->mode32 = 1; in sljit_emit_fast_return()
694 compiler->mode32 = 0; in emit_mov_int()
709 compiler->mode32 = 1; in emit_mov_int()
713 compiler->mode32 = 0; in emit_mov_int()
727 compiler->mode32 = 1; in emit_mov_int()
729 compiler->mode32 = 0; in emit_mov_int()
734 compiler->mode32 = 1; in emit_mov_int()
[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()
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 DsljitLir.h422 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler);
429 …LINE sljit_s32 sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error;… in sljit_get_compiler_error() argument
437 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler);
462 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler);
479 …NE sljit_sw sljit_get_executable_offset(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_executable_offset() argument
487 … sljit_uw sljit_get_generated_code_size(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_generated_code_size() argument
568 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler,
582 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler,
1057 SLJIT_API_FUNC_ATTRIBUTE struct sljit_label* sljit_emit_label(struct sljit_compiler *compiler);
1383 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
[all …]
/PHP-7.2/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c334 struct sljit_compiler *compiler; member
536 struct sljit_compiler *compiler = common->compiler
542 sljit_emit_label(compiler)
544 sljit_emit_jump(compiler, (type))
10805 struct sljit_compiler *compiler; in PRIV() local
11025 if (!compiler) in PRIV()
11031 common->compiler = compiler; in PRIV()
11118 sljit_free_compiler(compiler); in PRIV()
11158 sljit_free_compiler(compiler); in PRIV()
11237 sljit_free_compiler(compiler); in PRIV()
[all …]
/PHP-7.2/ext/reflection/tests/
H A Dbug64936.phpt18 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
25 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
/PHP-7.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-7.2/Zend/tests/
H A Ddeclare_006.phpt2 Use of non-literals in declare ticks values crashes compiler
H A Dbug69388.phpt2 Bug #69388: Use after free on recursive calls to PHP compiler
H A Dbug55007.phpt2 Bug #55007 (compiler fail after previous fail)
/PHP-7.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.
63 AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [

Completed in 193 milliseconds

123