Home
last modified time | relevance | path

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

123

/PHP-7.1/ext/pcre/pcrelib/sljit/
H A DsljitNativePPC_32.c101 return push_inst(compiler, ADDI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
106 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
110 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
115 …return push_inst(compiler, ADDIS | D(dst) | A(dst) | (((compiler->imm >> 16) & 0xffff) + ((compile… in emit_single_op()
133 return push_inst(compiler, SUBFIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
167 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
174 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
178 return push_inst(compiler, ANDIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
185 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
189 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
[all …]
H A DsljitLir.c331 if (!compiler) in sljit_create_compiler()
356 if (!compiler->buf || !compiler->abuf) { in sljit_create_compiler()
357 if (compiler->buf) in sljit_create_compiler()
359 if (compiler->abuf) in sljit_create_compiler()
377 compiler->args = -1; in sljit_create_compiler()
389 compiler->cpool_unique = (sljit_ub*)(compiler->cpool + CPOOL_SIZE); in sljit_create_compiler()
408 return compiler; in sljit_create_compiler()
418 buf = compiler->buf; in sljit_free_compiler()
493 ret = compiler->buf->memory + compiler->buf->used_size; in ensure_buf()
512 ret = compiler->abuf->memory + compiler->abuf->used_size; in ensure_abuf()
[all …]
H A DsljitNativePPC_64.c220 return push_inst(compiler, ADDI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
225 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); in emit_single_op()
230 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm); in emit_single_op()
235 …return push_inst(compiler, ADDIS | D(dst) | A(dst) | (((compiler->imm >> 16) & 0xffff) + ((compile… in emit_single_op()
291 return push_inst(compiler, MULLI | D(dst) | A(src1) | compiler->imm); in emit_single_op()
301 return push_inst(compiler, ANDI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
312 return push_inst(compiler, ORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
316 return push_inst(compiler, ORIS | S(src1) | A(dst) | compiler->imm); in emit_single_op()
328 return push_inst(compiler, XORI | S(src1) | A(dst) | compiler->imm); in emit_single_op()
350 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.c192 compiler->size++; in push_inst16()
202 compiler->size += 2; in push_inst32()
357 reverse_buf(compiler); in sljit_generate_code()
361 buf = compiler->buf; in sljit_generate_code()
365 label = compiler->labels; in sljit_generate_code()
366 jump = compiler->jumps; in sljit_generate_code()
410 jump = compiler->jumps; in sljit_generate_code()
1113 return compiler->error; in emit_op_mem()
1114 compiler->cache_arg = 0; in emit_op_mem()
1202 FAIL_IF(push_inst16(compiler, ADD_SP | (compiler->local_size >> 2))); in sljit_emit_return()
[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()
584 size = compiler->size + (compiler->patches << 1); in sljit_generate_code()
[all …]
H A DsljitNativeX86_common.c463 reverse_buf(compiler); in sljit_generate_code()
468 buf = compiler->buf; in sljit_generate_code()
472 jump = compiler->jumps; in sljit_generate_code()
526 jump = compiler->jumps; in sljit_generate_code()
885 compiler->mode32 = 0; in emit_mov_byte()
1027 compiler->mode32 = 0; in emit_mov_half()
1201 compiler->mode32 = 0; in emit_clz()
2375 compiler->mode32 = 1;
2401 compiler->mode32 = 1;
2474 compiler->mode32 = 1;
[all …]
H A DsljitNativeARM_64.c132 compiler->size++; in push_inst()
223 reverse_buf(compiler); in sljit_generate_code()
227 buf = compiler->buf; in sljit_generate_code()
231 label = compiler->labels; in sljit_generate_code()
232 jump = compiler->jumps; in sljit_generate_code()
233 const_ = compiler->consts; in sljit_generate_code()
276 jump = compiler->jumps; in sljit_generate_code()
1046 return compiler->error; in emit_op_mem()
1582 if (compiler->cache_arg == SLJIT_MEM && argw != compiler->cache_argw) { in emit_fop_mem()
1592 if (compiler->cache_arg != SLJIT_MEM || argw != compiler->cache_argw) { in emit_fop_mem()
[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()
79 return push_inst(compiler, ADDU | S(src2) | TA(0) | D(dst), DR(dst)); in emit_single_op()
88 return push_inst(compiler, SEB | T(src2) | D(dst), DR(dst)); in emit_single_op()
106 return push_inst(compiler, SEH | T(src2) | D(dst), DR(dst)); in emit_single_op()
305 FAIL_IF(push_inst(compiler, MULT | S(src1) | T(src2), MOVABLE_INS)); in emit_single_op()
306 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
309 FAIL_IF(push_inst(compiler, MULT | S(src1) | T(src2), MOVABLE_INS)); in emit_single_op()
310 FAIL_IF(push_inst(compiler, MFHI | DA(ULESS_FLAG), ULESS_FLAG)); in emit_single_op()
[all …]
H A DsljitNativeMIPS_common.c211 compiler->size++; in push_inst()
375 reverse_buf(compiler); in sljit_generate_code()
379 buf = compiler->buf; in sljit_generate_code()
384 jump = compiler->jumps; in sljit_generate_code()
433 jump = compiler->jumps; in sljit_generate_code()
833 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler in getput_arg()
850 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
858 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler in getput_arg()
1584 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
1693 …if (compiler->delay_slot == MOVABLE_INS || (compiler->delay_slot != UNMOVABLE_INS && compiler->del… in sljit_emit_jump()
[all …]
H A DsljitNativePPC_common.c244 compiler->size++; in push_inst()
333 reverse_buf(compiler); in sljit_generate_code()
344 buf = compiler->buf; in sljit_generate_code()
348 label = compiler->labels; in sljit_generate_code()
349 jump = compiler->jumps; in sljit_generate_code()
350 const_ = compiler->consts; in sljit_generate_code()
433 jump = compiler->jumps; in sljit_generate_code()
663 FAIL_IF(load_immediate(compiler, 0, compiler->local_size)); in sljit_emit_return()
1113 return compiler->error; in emit_op_mem2()
1650 compiler->imm = src2w; in sljit_emit_op2()
[all …]
H A DsljitNativeSPARC_common.c193 compiler->size++; in push_inst()
287 reverse_buf(compiler); in sljit_generate_code()
291 buf = compiler->buf; in sljit_generate_code()
295 label = compiler->labels; in sljit_generate_code()
296 jump = compiler->jumps; in sljit_generate_code()
345 jump = compiler->jumps; in sljit_generate_code()
586 …if ((compiler->cache_arg == SLJIT_MEM) && (argw - compiler->cache_argw) <= SIMM_MAX && (argw - com… in getput_arg()
619 return compiler->error; in emit_op_mem()
620 compiler->cache_arg = 0; in emit_op_mem()
628 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()
208 return push_inst(compiler, SLL | T(src2) | D(dst) | SH_IMM(0), DR(dst)); in emit_single_op()
397 FAIL_IF(push_inst(compiler, DMULT | S(src1) | T(src2), MOVABLE_INS)); in emit_single_op()
398 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
401 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
405 FAIL_IF(push_inst(compiler, MFHI | DA(ULESS_FLAG), ULESS_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, BICC | DA(0x1) | (7 & DISP_MASK), UNMOVABLE_INS)); in emit_single_op()
88 FAIL_IF(push_inst(compiler, OR | D(dst) | S1(0) | IMM(-1), DR(dst))); in emit_single_op()
93 FAIL_IF(push_inst(compiler, BICC | DA(0xe) | (-2 & DISP_MASK), UNMOVABLE_INS)); in emit_single_op()
[all …]
H A DsljitNativeX86_32.c77 compiler->args = args; in sljit_emit_enter()
78 compiler->flags_saved = 0; in sljit_emit_enter()
194 compiler->args = args; in sljit_set_context()
236 size = 2 + (compiler->scratches > 7 ? (compiler->scratches - 7) : 0) + in sljit_emit_return()
237 (compiler->saveds <= 3 ? compiler->saveds : 3); in sljit_emit_return()
239 if (compiler->args > 2) in sljit_emit_return()
242 if (compiler->args > 0) in sljit_emit_return()
250 if (compiler->saveds > 0 || compiler->scratches > 9) in sljit_emit_return()
252 if (compiler->saveds > 1 || compiler->scratches > 8) in sljit_emit_return()
254 if (compiler->saveds > 2 || compiler->scratches > 7) in sljit_emit_return()
[all …]
H A DsljitNativeX86_64.c101 compiler->flags_saved = 0; in sljit_emit_enter()
269 if (compiler->fscratches >= 6 || compiler->fsaveds >= 1) { in sljit_emit_return()
622 compiler->mode32 = 1; in sljit_emit_fast_enter()
661 compiler->mode32 = 1; in sljit_emit_fast_return()
699 compiler->mode32 = 0; in emit_mov_int()
714 compiler->mode32 = 1; in emit_mov_int()
718 compiler->mode32 = 0; in emit_mov_int()
732 compiler->mode32 = 1; in emit_mov_int()
734 compiler->mode32 = 0; in emit_mov_int()
739 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()
2301 flush_buffer(compiler); in sljit_emit_label()
2306 if (compiler->last_label && compiler->last_label->size == compiler->size) in sljit_emit_label()
2320 flush_buffer(compiler); in sljit_emit_ijump()
[all …]
H A DsljitLir.h423 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler);
430 …NLINE sljit_si sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error;… in sljit_get_compiler_error() argument
438 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler);
458 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler);
469 … sljit_uw sljit_get_generated_code_size(struct sljit_compiler *compiler) { return compiler->execut… in sljit_get_generated_code_size() argument
521 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_enter(struct sljit_compiler *compiler,
535 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_set_context(struct sljit_compiler *compiler,
813 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op,
867 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op,
1218 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op_custom(struct sljit_compiler *compiler,
[all …]
/PHP-7.1/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c320 struct sljit_compiler *compiler; member
518 struct sljit_compiler *compiler = common->compiler
524 sljit_emit_label(compiler)
526 sljit_emit_jump(compiler, (type))
9794 struct sljit_compiler *compiler; in PRIV() local
10013 if (!compiler) in PRIV()
10019 common->compiler = compiler; in PRIV()
10106 sljit_free_compiler(compiler); in PRIV()
10146 sljit_free_compiler(compiler); in PRIV()
10226 sljit_free_compiler(compiler); in PRIV()
[all …]
/PHP-7.1/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.1/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.1/Zend/tests/use_function/
H A Dconditional_function_declaration.phpt2 function that is conditionally defined at runtime should not cause compiler error
/PHP-7.1/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)

Completed in 159 milliseconds

123