Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 62) sorted by relevance

123

/PHP-5.5/ext/opcache/Optimizer/
H A Dpass3.c42 switch (opline->opcode) {
201 } else if (op_array->opcodes[target].opcode == opline->opcode &&
207 } else if (op_array->opcodes[target].opcode == opline->opcode + 3 &&
214 } else if (op_array->opcodes[target].opcode == INV_COND(opline->opcode) &&
220 } else if (op_array->opcodes[target].opcode == INV_COND_EX(opline->opcode) &&
225 opline->opcode += 3;
261 if (SAME_OPCODE_EX(opline->opcode, op_array->opcodes[target].opcode) &&
264 if (op_array->opcodes[target].opcode == opline->opcode) {
282 } else if ((op_array->opcodes[target].opcode == INV_EX_COND_EX(opline->opcode) ||
283 op_array->opcodes[target].opcode == INV_EX_COND(opline->opcode)) &&
[all …]
H A Dblock_pass.c672 opline->opcode != ZEND_CASE && opline->opcode != ZEND_FREE) { in zend_optimize_block()
685 if ((opline->opcode == ZEND_ECHO || opline->opcode == ZEND_PRINT) && in zend_optimize_block()
793 opline->opcode = in zend_optimize_block()
800 opline->opcode = in zend_optimize_block()
1510 } else if (target->opcode == INV_COND(last_op->opcode) && in zend_jmp_optimization()
1521 } else if (target->opcode == INV_COND_EX(last_op->opcode) && in zend_jmp_optimization()
1534 target->opcode == last_op->opcode && in zend_jmp_optimization()
1659 target->opcode == last_op->opcode-3 && in zend_jmp_optimization()
1668 target->opcode == INV_EX_COND(last_op->opcode) && in zend_jmp_optimization()
1677 target->opcode == INV_EX_COND_EX(last_op->opcode) && in zend_jmp_optimization()
[all …]
H A Dpass2.c13 switch (opline->opcode) {
88 opline->opcode -= 3;
93 if (opline->opcode == ZEND_JMPZ_EX) {
97 opline->opcode = ZEND_QM_ASSIGN;
108 if (opline->opcode == ZEND_JMPZ) {
114 opline->opcode = ZEND_JMP;
128 if (opline->opcode == ZEND_JMPZ) {
134 opline->opcode = ZEND_JMPZNZ;
151 opline->opcode = ZEND_JMP;
194 switch (opline->opcode) {
[all …]
H A Doptimize_temp_vars_5.c98 if (!(op_const_means_class[opline->opcode] & RESULT_IS_UNUSED)) {
119 …|| ((op_const_means_class[opline->opcode] & OP1_CONST_IS_CLASS) && ZEND_OP1_TYPE(opline) == IS_CON…
132 if (opline->opcode == ZEND_OP_DATA &&
133 (opline-1)->opcode == ZEND_ASSIGN_DIM) {
140 …|| ((op_const_means_class[opline->opcode] & OP2_CONST_IS_CLASS) && ZEND_OP2_TYPE(opline) == IS_CON…
153 if ((op_const_means_class[opline->opcode] & EXT_CONST_IS_CLASS)) {
155 if (opline->opcode == ZEND_DECLARE_INHERITED_CLASS ||
156 opline->opcode == ZEND_DECLARE_INHERITED_CLASS_DELAYED) {
168 if (opline->opcode == ZEND_ASSIGN_DIM &&
169 (opline + 1)->opcode == ZEND_OP_DATA &&
[all …]
H A Dzend_optimizer.c118 if (opline->opcode == ZEND_FREE) { in update_op1_const()
125 switch (opline->opcode) { in update_op1_const()
165 switch (opline->opcode) { in update_op2_const()
225 if ((opline-1)->opcode == ZEND_ASSIGN_DIM || in update_op2_const()
228 (opline-1)->opcode == ZEND_ASSIGN_SUB || in update_op2_const()
229 (opline-1)->opcode == ZEND_ASSIGN_MUL || in update_op2_const()
232 (opline-1)->opcode == ZEND_ASSIGN_SL || in update_op2_const()
233 (opline-1)->opcode == ZEND_ASSIGN_SR || in update_op2_const()
294 if (opline->opcode == ZEND_CASE || opline->opcode == ZEND_FREE) { in replace_tmp_by_const()
317 if (m->opcode == ZEND_CASE) { in replace_tmp_by_const()
[all …]
H A Dpass1_5.c15 switch (opline->opcode) {
42 if (opline->opcode == ZEND_DIV &&
101 opline->opcode = ZEND_BOOL;
150 while (next_op->opcode == ZEND_ADD_STRING || next_op->opcode == ZEND_ADD_CHAR) {
154 if (next_op->opcode == ZEND_ADD_CHAR) {
174 opline->opcode = ZEND_ADD_STRING;
187 if (next_op->opcode == ZEND_ADD_STRING) {
201 (opline + 1)->opcode = ZEND_JMP;
255 (opline + 1)->opcode = ZEND_DO_FCALL;
289 if (op->opcode == ZEND_BEGIN_SILENCE) {
[all …]
H A Dnop_removal.c20 if (opline->opcode == ZEND_GOTO && in nop_removal()
29 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) { in nop_removal()
33 while (target->opcode == ZEND_NOP) { in nop_removal()
38 opline->opcode = ZEND_NOP; in nop_removal()
43 if (opline->opcode == ZEND_NOP) { in nop_removal()
59 switch (opline->opcode) { in nop_removal()
H A Dzend_optimizer_internal.h44 # define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(opline->res…
49 # define MAKE_NOP(opline) { opline->opcode = ZEND_NOP; memset(&opline->result,0,sizeof(znode)); me…
/PHP-5.5/Zend/
H A Dzend_vm_opcodes.c191 ZEND_API const char* zend_get_opcode_name(zend_uchar opcode) { in zend_get_opcode_name() argument
192 return zend_vm_opcodes_map[opcode]; in zend_get_opcode_name()
H A DREADME.ZEND_VM4 ZEND_VM architecture allows specializing opcode handlers according to op_type
13 find opcode handlers and helpers. The typical opcode handler template looks
21 <OPCODE-NUMBER> is a opcode number (0, 1, ...)
22 <OPCODE> is an opcode name (ZEN_NOP, ZEND_ADD, :)
28 same as in old zend_execute.c, but now it uses macros to access opcode operands
90 zend_vm_execute.h. The first file is a list of opcode definitions. It is
95 different opcode threading model using --with-vm-kind=CALL|SWITCH|GOTO. You can
96 disable opcode specialization using --without-specializer. You can include or
H A Dzend_compile.c580 opline->opcode = op; in zend_do_binary_op()
593 opline->opcode = op; in zend_do_unary_op()
622 last_op->opcode = op; in zend_do_binary_assign_op()
644 opline->opcode = op; in zend_do_binary_assign_op()
1188 opline->opcode = op; in zend_do_pre_incdec()
1215 opline->opcode = op; in zend_do_post_incdec()
1457 …while (opline->opcode == ZEND_END_SILENCE || opline->opcode == ZEND_EXT_FCALL_END || opline->opcod… in zend_do_free()
1872 opline->opcode = op; in zend_do_receive_arg()
2647 opline->opcode = op; in zend_do_pass_param()
3330 if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT) in zend_get_function_declaration()
[all …]
H A Dzend_opcode.c467 if (opline->opcode == ZEND_EXT_STMT) { in zend_update_extended_info()
470 opline->opcode = ZEND_NOP; in zend_update_extended_info()
478 opline->opcode = ZEND_NOP; in zend_update_extended_info()
584 opline->opcode = ZEND_FAST_CALL; in zend_resolve_finally_call()
596 opline->opcode = ZEND_FAST_CALL; in zend_resolve_finally_call()
615 opline->opcode = ZEND_FAST_CALL; in zend_resolve_finally_call()
628 opline->opcode = ZEND_JMP; in zend_resolve_finally_call()
673 switch (opline->opcode) { in zend_resolve_finally_calls()
759 switch (opline->opcode) { in pass_two()
807 switch (opcode) { in get_unary_op()
[all …]
H A Dzend_vm.h27 ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode);
/PHP-5.5/ext/xml/tests/
H A Dbug30266.phpt2 Bug #30266 (Invalid opcode 137/1/8)
13 Fatal error: Invalid opcode 137/1/8. in /home/hartmut/projects/php/dev/head/ext/xml/tests/bug30266.…
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c7051 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_matchingpath()
7068 else if (opcode == OP_ONCE || opcode == OP_SBRA || opcode == OP_SCOND) in compile_bracket_matchingpath()
7109 if (opcode == OP_ONCE || opcode >= OP_SBRA) in compile_bracket_matchingpath()
7272 if (opcode == OP_COND || opcode == OP_SCOND) in compile_bracket_matchingpath()
7810 if (*opcode >= OP_STAR && *opcode <= OP_POSUPTO) in get_iterator_parameters()
7841 SLJIT_ASSERT(*opcode == OP_CLASS || *opcode == OP_NCLASS || *opcode == OP_XCLASS); in get_iterator_parameters()
7878 if (*opcode == OP_UPTO || *opcode == OP_MINUPTO || *opcode == OP_EXACT || *opcode == OP_POSUPTO) in get_iterator_parameters()
7972 if (opcode == OP_STAR || opcode == OP_UPTO) in compile_iterator_matchingpath()
8219 if (opcode == OP_PRUNE_ARG || opcode == OP_SKIP_ARG || opcode == OP_THEN_ARG) in compile_control_verb_matchingpath()
8909 if (opcode == OP_CBRA || opcode == OP_SCBRA) in compile_bracket_backtrackingpath()
[all …]
H A DHACKING149 variable length. The first unit in an item contains an opcode, and the length
150 of the item is either implicit in the opcode or contained in the data that
223 The OP_CHAR opcode is followed by a single character that is to be matched
277 that instead of a character, the opcode for the type is stored in the data
373 opcode to see if it is one of
406 this way, using the single opcode OP_CBRA.
411 the next one, or to the OP_KET opcode. For capturing brackets, the bracket
418 bracket opcode.
459 These are just like other subpatterns, but they start with the opcode
492 subpattern using the opcode OP_CREF followed by a count containing the
[all …]
/PHP-5.5/Zend/tests/
H A Dbug32833.phpt2 Bug #32833 (Invalid opcode with $a[] .= '')
H A Dbug33318.phpt2 Bug #33318 (throw 1; results in Invalid opcode 108/1/8)
H A Dbug41351.phpt2 Bug #41351 (Invalid opcode with foreach ($a[] as $b))
H A Dbug41351_2.phpt2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 2
H A Dbug41351_3.phpt2 Bug #41351 (Invalid opcode with foreach ($a[] as $b)) - 3
H A Dbug34064.phpt2 Bug #34064 (arr[] as param to function in class gives invalid opcode)
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitNativeTILEGX_64.c385 #define PB2(opcode, dst, src) \ argument
530 opcode = &tilegx_opcodes[opc]; in insert_nop()
531 inst_buf[0].opcode = opcode; in insert_nop()
542 inst_buf[0].opcode->pipes, in compute_format()
543 inst_buf[1].opcode->pipes, in compute_format()
610 const struct tilegx_opcode* opcode = inst->opcode; in get_bundle_bit() local
750 inst_buf[inst_buf_index].opcode = opcode; in push_4_buffer()
770 inst_buf[inst_buf_index].opcode = opcode; in push_3_buffer()
831 inst_buf[inst_buf_index].opcode = opcode; in push_2_buffer()
876 inst_buf[inst_buf_index].opcode = opcode; in push_0_buffer()
[all …]
/PHP-5.5/ext/standard/tests/array/
H A Dbug30266.phpt2 Bug #30266 (Invalid opcode 137/1/8) and array_walk
/PHP-5.5/sapi/cli/tests/
H A Dbug64529.phpt2 Bug #64529 (Ran out of opcode space)

Completed in 99 milliseconds

123