Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 168) sorted by relevance

1234567

/php-src/Zend/tests/asymmetric_visibility/
H A Dvariation.phpt95 $op($test);
107 Init: 1, scope: 1, op: r: 1
108 Init: 1, scope: 1, op: w: done
109 Init: 1, scope: 1, op: rw: done
110 Init: 1, scope: 1, op: im: done
111 Init: 1, scope: 1, op: is: 1
114 Init: 1, scope: 0, op: r: 1
118 Init: 1, scope: 0, op: is: 1
122 Init: 0, scope: 1, op: w: done
125 Init: 0, scope: 1, op: is: 0
[all …]
H A Dvariation_nested.phpt59 echo 'Init: ' . ((int) $init) . ', op: ' . $op . ": ";
61 $op($test);
71 Init: 1, op: r: 1
72 Init: 1, op: w: done
73 Init: 1, op: rw: done
74 Init: 1, op: im: done
75 Init: 1, op: is: 1
76 Init: 1, op: us: done
77 Init: 1, op: us_dim: done
82 Init: 0, op: is: 0
[all …]
/php-src/Zend/tests/readonly_props/
H A Dvariation.phpt90 echo 'Init: ' . ((int) $init) . ', scope: ' . ((int) $scope) . ', op: ' . $op . ": ";
93 $test->{$op}();
95 $op($test);
107 Init: 1, scope: 1, op: r: 1
111 Init: 1, scope: 1, op: is: 1
114 Init: 1, scope: 0, op: r: 1
118 Init: 1, scope: 0, op: is: 1
122 Init: 0, scope: 1, op: w: done
125 Init: 0, scope: 1, op: is: 0
126 Init: 0, scope: 1, op: us: done
[all …]
H A Dvariation_nested.phpt59 echo 'Init: ' . ((int) $init) . ', op: ' . $op . ": ";
61 $op($test);
71 Init: 1, op: r: 1
72 Init: 1, op: w: done
73 Init: 1, op: rw: done
74 Init: 1, op: im: done
75 Init: 1, op: is: 1
76 Init: 1, op: us: done
77 Init: 1, op: us_dim: done
82 Init: 0, op: is: 0
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir_check.c98 if (insn->op >= IR_LAST_OP) { in ir_check()
103 flags = ir_op_flags[insn->op]; in ir_check()
130 && !(insn->op == IR_PHI && ctx->ir_base[insn->op1].op == IR_LOOP_BEGIN)) { in ir_check()
135 switch (insn->op) { in ir_check()
195 && insn->op != IR_PHI in ir_check()
222 if (merge_insn->op != IR_MERGE && merge_insn->op != IR_LOOP_BEGIN) { in ir_check()
239 } else if ((insn->op == IR_RETURN || insn->op == IR_UNREACHABLE) && j == 2) { in ir_check()
256 switch (insn->op) { in ir_check()
309 switch (insn->op) { in ir_check()
353 if ((insn->op == IR_LOOP_END || insn->op == IR_END) && count == 2) { in ir_check()
[all …]
H A Dir_sccp.c1109 ir_op op = insn->op; in ir_try_promote_ext() local
1125 if ((op_insn->op != IR_ADD && op_insn->op != IR_SUB && op_insn->op != IR_MUL) in ir_try_promote_ext()
1441 is_cmp = (cond->op == IR_LT || cond->op == IR_LE || cond->op == IR_GT || cond->op == IR_GE || in ir_optimize_phi()
1442 cond->op == IR_ULT || cond->op == IR_ULE || cond->op == IR_UGT || cond->op == IR_UGE); in ir_optimize_phi()
1446 is_cmp = (cond->op == IR_LT || cond->op == IR_LE || cond->op == IR_GT || cond->op == IR_GE); in ir_optimize_phi()
1450 … is_cmp = (cond->op == IR_ULT || cond->op == IR_ULE || cond->op == IR_UGT || cond->op == IR_UGE); in ir_optimize_phi()
1962 if (cond->op >= IR_EQ && cond->op <= IR_UGT in ir_try_split_if_cmp()
2258 if (insn->op == IR_FP2FP || insn->op == IR_FP2INT || insn->op == IR_TRUNC in ir_sccp()
2259 || insn->op == IR_ZEXT || insn->op == IR_SEXT || insn->op == IR_EQ || insn->op == IR_NE) { in ir_sccp()
2267 if (insn->op == IR_FP2FP || insn->op == IR_FP2INT || insn->op == IR_TRUNC in ir_sccp()
[all …]
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_arm64.lua505 op = op + parse_reg_base(p1a)
509 op = op + parse_imm_load(imm, scale)
512 op = op + parse_reg(p2b, 16) + 0x00200800
518 op = op + 0x6000
522 op = op + 0x1000
543 op = op + 0x01000000
569 op = op + 0x00800000
933 op = op + 0x80000000
940 op = op + 0x00400000
968 op = op + parse_imm12(q); n = n + 1
[all …]
H A Ddasm_arm.lua752 op = op + shl(parse_gpr(p1), 16)
771 op = op + m + (ext and 0x00400000 or 0)
779 op = op + parse_shift(p3)
844 op = op + parse_gpr(q); n = n + 1
854 op = op + parse_imm12(imm) + 0x02000000
856 op = op + parse_gpr(q)
864 op = op + parse_vload(q)
870 op = op + parse_gpr(q)
888 op = op + parse_vrlist(q); n = n + 1
890 op = op + parse_imm16(q); n = n + 1
[all …]
H A Ddasm_mips.lua961 op = op + shl(parse_gpr(params[n]), 11); n = n + 1
963 op = op + shl(parse_gpr(params[n]), 16); n = n + 1
965 op = op + shl(parse_gpr(params[n]), 21); n = n + 1
967 op = op + shl(parse_fpr(params[n]), 6); n = n + 1
969 op = op + shl(parse_fpr(params[n]), 11); n = n + 1
971 op = op + shl(parse_fpr(params[n]), 16); n = n + 1
973 op = op + shl(parse_fpr(params[n]), 21); n = n + 1
975 op = op + parse_imm(params[n], 16, 0, 0, true); n = n + 1
979 op = op + parse_disp(params[n]); n = n + 1
981 op = op + parse_index(params[n]); n = n + 1
[all …]
H A Ddasm_ppc.lua1672 op = op + shl(band(vs, 31), rs) + shr(band(vs, 32), sh)
1675 op = op + shl(band(vs, 31), 21) + shr(band(vs, 32), 5)
1685 op = op + parse_disp(params[n]); n = n + 1
1687 op = op + parse_u5disp(params[n], 1); n = n + 1
1689 op = op + parse_u5disp(params[n], 2); n = n + 1
1691 op = op + parse_u5disp(params[n], 3); n = n + 1
1717 op = op + parse_cr(params[n]); n = n + 1
1721 op = op + parse_shiftmask(params[n], true); n = n + 1
1723 op = op + parse_shiftmask(params[n], false); n = n + 1
1734 op = op + shl(t, rs)
[all …]
/php-src/ext/standard/
H A Dversioning.c207 zend_string *op = NULL; in PHP_FUNCTION() local
215 Z_PARAM_STR_OR_NULL(op) in PHP_FUNCTION()
219 if (!op) { in PHP_FUNCTION()
222 if (zend_string_equals_literal(op, "<") || zend_string_equals_literal(op, "lt")) { in PHP_FUNCTION()
225 if (zend_string_equals_literal(op, "<=") || zend_string_equals_literal(op, "le")) { in PHP_FUNCTION()
228 if (zend_string_equals_literal(op, ">") || zend_string_equals_literal(op, "gt")) { in PHP_FUNCTION()
231 if (zend_string_equals_literal(op, ">=") || zend_string_equals_literal(op, "ge")) { in PHP_FUNCTION()
234 …if (zend_string_equals_literal(op, "==") || zend_string_equals_literal(op, "=") || zend_string_equ… in PHP_FUNCTION()
237 …if (zend_string_equals_literal(op, "!=") || zend_string_equals_literal(op, "<>") || zend_string_eq… in PHP_FUNCTION()
/php-src/Zend/
H A Dzend_operators.h318 return EXPECTED(Z_TYPE_P(op) == IS_LONG) ? Z_LVAL_P(op) : zval_get_long_func(op, false); in zval_get_long()
321 return EXPECTED(Z_TYPE_P(op) == IS_LONG) ? Z_LVAL_P(op) : zval_get_long_func(op, is_strict); in zval_get_long_ex()
324 return EXPECTED(Z_TYPE_P(op) == IS_DOUBLE) ? Z_DVAL_P(op) : zval_get_double_func(op); in zval_get_double()
378 #define _zval_get_long(op) zval_get_long(op) argument
379 #define _zval_get_double(op) zval_get_double(op) argument
380 #define _zval_get_string(op) zval_get_string(op) argument
381 #define _zval_get_long_func(op) zval_get_long_func(op) argument
385 #define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); } argument
414 if (Z_STRLEN_P(op) > 1 || (Z_STRLEN_P(op) && Z_STRVAL_P(op)[0] != '0')) { in i_zend_is_true()
436 op = Z_REFVAL_P(op); in i_zend_is_true()
[all …]
H A Dzend_operators.c320 return op; in _zendi_convert_scalar_to_number_silent()
561 ZVAL_LONG(op, zend_dval_to_lval(Z_DVAL_P(op))); in convert_to_long()
566 ZVAL_LONG(op, zval_get_long(op)); in convert_to_long()
617 ZVAL_DOUBLE(op, (double) Z_LVAL_P(op)); in convert_to_double()
683 ZVAL_BOOL(op, Z_LVAL_P(op) ? 1 : 0); in convert_to_boolean()
686 ZVAL_BOOL(op, Z_DVAL_P(op) ? 1 : 0); in convert_to_boolean()
750 ZVAL_STR(op, zend_long_to_str(Z_LVAL_P(op))); in _convert_to_string()
753 ZVAL_NEW_STR(op, zend_double_to_str(Z_DVAL_P(op))); in _convert_to_string()
963 op = Z_REFVAL_P(op); in zval_get_long_func()
1002 op = Z_REFVAL_P(op); in zval_get_double_func()
[all …]
H A Dzend_vm_trace_handlers.h21 #define VM_TRACE(op) zend_vm_trace(#op, sizeof(#op)-1); argument
27 static void zend_vm_trace(const char *op, size_t op_len) in zend_vm_trace() argument
39 memcpy(buf + last_len + 1, op, op_len + 1); in zend_vm_trace()
50 last = op; in zend_vm_trace()
/php-src/Zend/Optimizer/
H A Descape_analysis.c106 if (op->op1_def >= 0) { in zend_build_equi_escape_sets()
107 if (op->op1_use >= 0) { in zend_build_equi_escape_sets()
109 union_find_unite(parent, size, op->op1_def, op->op1_use); in zend_build_equi_escape_sets()
113 union_find_unite(parent, size, op->op1_def, op->op2_use); in zend_build_equi_escape_sets()
116 if (op->op2_def >= 0) { in zend_build_equi_escape_sets()
117 if (op->op2_use >= 0) { in zend_build_equi_escape_sets()
118 union_find_unite(parent, size, op->op2_def, op->op2_use); in zend_build_equi_escape_sets()
124 union_find_unite(parent, size, op->result_def, op->result_use); in zend_build_equi_escape_sets()
128 union_find_unite(parent, size, op->result_def, op->op1_use); in zend_build_equi_escape_sets()
131 union_find_unite(parent, size, op->result_def, op->op2_use); in zend_build_equi_escape_sets()
[all …]
H A Dzend_optimizer_internal.h38 #define INV_COND(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ : ZEND_JMPZ) argument
39 #define INV_EX_COND(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ : ZEND_JMPZ) argument
40 #define INV_COND_EX(op) ((op) == ZEND_JMPZ ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX) argument
41 #define INV_EX_COND_EX(op) ((op) == ZEND_JMPZ_EX ? ZEND_JMPNZ_EX : ZEND_JMPZ_EX) argument
43 #define RESULT_UNUSED(op) (op->result_type == IS_UNUSED) argument
54 #define LITERAL_LONG(op, val) do { \ argument
57 op.constant = zend_optimizer_add_literal(op_array, &_c); \
60 #define LITERAL_BOOL(op, val) do { \ argument
63 op.constant = zend_optimizer_add_literal(op_array, &_c); \
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitLir.c98 #define GET_FLAG_TYPE(op) ((op) >> VARIABLE_FLAG_SHIFT) argument
111 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S32)
114 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S16)
1408 CHECK_ARGUMENT(op >= SLJIT_MOV && op <= SLJIT_MOV_S32); in check_sljit_emit_return()
1411 CHECK_ARGUMENT(op == SLJIT_MOV32 || (op >= SLJIT_MOV32_U8 && op <= SLJIT_MOV32_S16)); in check_sljit_emit_return()
1556 if (op == SLJIT_MOV32_U8 || op == SLJIT_MOV32_U16) { in check_sljit_emit_atomic_load()
2116 switch (op) { in check_sljit_emit_fcopy()
2385 CHECK_ARGUMENT(op == SLJIT_MOV || op == SLJIT_MOV32 in check_sljit_emit_op_flags()
3168 …if (src == SLJIT_RETURN_REG && (op == SLJIT_MOV || op == SLJIT_MOV_U32 || op == SLJIT_MOV_S32 || o… in emit_mov_before_return()
3507 sljit_s32 op, in sljit_emit_atomic_load() argument
[all …]
H A DsljitNativeX86_common.c1395 op = GET_OPCODE(op); in sljit_emit_op0()
1750 if (op == SLJIT_REV_U32 || op == SLJIT_REV_S32) in emit_bswap()
1850 op = GET_OPCODE(op); in sljit_emit_op1()
1852 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) { in sljit_emit_op1()
3082 SLJIT_ASSERT((op & EX86_SSE2) && ((op & VEX_OP_0F38) || (op & VEX_OP_0F3A)));
3840 op = 2;
4130 if (op == SHUFPS_x_xm || op == PSHUFD_x_xm)
4162 op = 3;
4188 op = opcode | ((op == 3) ? VEX_OP_0F3A : 0);
4230 op = 2;
[all …]
H A DsljitNativeS390X.c952 #define EVAL(op, r, addr) op(r, addr.offset, addr.index, addr.base) argument
1267 sljit_ins op; member
1284 ins12 = forms->op; in emit_commutative()
1890 op = GET_OPCODE(op) | (op & SLJIT_32); in sljit_emit_op0()
1891 switch (op) { in sljit_emit_op0()
2327 op |= SLJIT_32; in sljit_emit_op1()
2733 if (op & SLJIT_32) in sljit_emit_bitwise()
3066 if (GET_OPCODE(op) == SLJIT_MSHL || GET_OPCODE(op) == SLJIT_MLSHR) { in sljit_emit_shift_into()
3127 switch (op) { in sljit_emit_op_src()
3159 switch (op) { in sljit_emit_op_dst()
[all …]
H A DsljitNativePPC_common.c1315 if (op >= SLJIT_MOV && op <= SLJIT_MOV_P) in emit_op()
1369 op = GET_OPCODE(op); in sljit_emit_op0()
1419 op = GET_OPCODE(op); in emit_rev()
1424 if (op == SLJIT_REV_U16 || op == SLJIT_REV_S16) { in emit_rev()
1474 if (op != SLJIT_REV_U16 && op != SLJIT_REV_S16) { in emit_rev()
1511 if (op == SLJIT_REV_U16 || op == SLJIT_REV_S16) { in emit_rev()
1578 op = GET_OPCODE(op); in sljit_emit_op1()
1898 if (!HAS_FLAGS(op) || GET_OPCODE(op) == SLJIT_AND) { in sljit_emit_op2()
1916 if (!HAS_FLAGS(op) && GET_OPCODE(op) != SLJIT_AND) { in sljit_emit_op2()
2191 op = GET_OPCODE(op); in sljit_emit_fop1_conv_sw_from_f64()
[all …]
H A DsljitNativeLOONGARCH_64.c1816 op = SLJIT_MOV; in emit_op()
1907 if (op & SLJIT_32) in sljit_emit_op1()
1966 if (op & SLJIT_32) { in sljit_emit_op2()
2131 switch (op) { in sljit_emit_op_src()
2172 switch (op) { in sljit_emit_op_dst()
2236 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_32) >> 7)) argument
2433 op ^= SLJIT_32; in sljit_emit_fop1()
2460 op ^= SLJIT_32; in sljit_emit_fop1()
2915 op = GET_OPCODE(op); in sljit_emit_op_flags()
3599 sljit_s32 op, in sljit_emit_atomic_load() argument
[all …]
H A DsljitNativeRISCV_common.c1808 op = SLJIT_MOV; in emit_op()
1904 if (op & SLJIT_32) in sljit_emit_op1()
2152 switch (op) { in sljit_emit_op_src()
2181 switch (op) { in sljit_emit_op_dst()
2228 #define FLOAT_DATA(op) (DOUBLE_DATA | ((op & SLJIT_32) >> 7)) argument
2229 #define FMT(op) ((sljit_ins)((op & SLJIT_32) ^ SLJIT_32) << 17) argument
2296 if (op & SLJIT_32) in sljit_emit_fop1_conv_f64_from_sw()
2318 if (op & SLJIT_32) in sljit_emit_fop1_conv_f64_from_uw()
2401 op ^= SLJIT_32; in sljit_emit_fop1()
2428 op ^= SLJIT_32; in sljit_emit_fop1()
[all …]
/php-src/ext/standard/tests/versioning/
H A Dversion_compare_op_abbrev.phpt6 foreach ($abbrevs as $op) {
8 version_compare('1', '2', $op);
9 echo "'$op' succeeded\n";
11 echo "'$op' failed\n";
/php-src/ext/standard/tests/strings/
H A Dstr_shuffle_basic.phpt24 $op = str_shuffle($ip);
26 if (!is_string($op) || strlen($op) != $len_ip) {
31 if (empty($a[$op])) {
33 $a[$op] = 0;
37 $a[$op]++;
/php-src/Zend/tests/lazy_objects/
H A Dtyped_properties_003.phpt2 Typed property assign op cached
10 function op($obj, $prop) {
25 op($obj, 'prop');
26 op($obj, 'prop');

Completed in 160 milliseconds

1234567