Searched refs:opcode (Results 1 - 25 of 57) sorted by relevance

123

/PHP_TRUNK/ext/opcache/Optimizer/
H A Doptimize_func_calls.c56 switch (opline->opcode) {
85 if (fcall->opcode == ZEND_INIT_FCALL_BY_NAME) {
86 fcall->opcode = ZEND_INIT_FCALL;
91 opline->opcode = zend_get_call_op(ZEND_INIT_FCALL, call_stack[call].func);
92 } else if (fcall->opcode == ZEND_INIT_NS_FCALL_BY_NAME) {
93 fcall->opcode = ZEND_INIT_FCALL;
99 opline->opcode = zend_get_call_op(ZEND_INIT_FCALL, call_stack[call].func);
113 opline->opcode -= 9;
116 opline->opcode -= 12;
126 opline->opcode
[all...]
H A Dpass2.c43 switch (opline->opcode) {
119 opline->opcode -= 3;
124 if (opline->opcode == ZEND_JMPZ_EX) {
128 opline->opcode = ZEND_QM_ASSIGN;
139 if (opline->opcode == ZEND_JMPZ) {
145 opline->opcode = ZEND_JMP;
152 if ((opline + 1)->opcode == ZEND_JMP) {
159 if (opline->opcode == ZEND_JMPZ) {
165 opline->opcode = ZEND_JMPZNZ;
181 opline->opcode
[all...]
H A Dpass3.c72 switch (opline->opcode) {
88 while (next_opline < end && next_opline->opcode == ZEND_NOP) {
92 if (next_opline >= end || next_opline->opcode != ZEND_ASSIGN) {
98 (opline->opcode == ZEND_ADD ||
99 opline->opcode == ZEND_MUL ||
100 opline->opcode == ZEND_BW_OR ||
101 opline->opcode == ZEND_BW_AND ||
102 opline->opcode == ZEND_BW_XOR)) {
109 if (opline->opcode != ZEND_ADD || ZEND_OP1_TYPE(opline) == IS_CONST) {
118 switch (opline->opcode) {
[all...]
H A Dnop_removal.c48 if (opline->opcode == ZEND_JMP && ZEND_OP1(opline).opline_num > i) {
52 while (target->opcode == ZEND_NOP) {
57 opline->opcode = ZEND_NOP;
62 if (opline->opcode == ZEND_NOP) {
78 switch (opline->opcode) {
H A Dpass1_5.c48 switch (opline->opcode) {
72 binary_op_type binary_op = get_binary_op(opline->opcode);
77 if ((opline->opcode == ZEND_DIV || opline->opcode == ZEND_MOD) &&
81 } else if ((opline->opcode == ZEND_SL || opline->opcode == ZEND_SR) &&
138 opline->opcode = ZEND_BOOL;
147 unary_op_type unary_op = get_unary_op(opline->opcode);
172 int requires_conversion = (opline->opcode == ZEND_ADD_CHAR? 1 : 0);
183 while (next_op->opcode
[all...]
H A Dzend_optimizer.c91 if (opline->opcode == ZEND_DECLARE_INHERITED_CLASS ||
92 opline->opcode == ZEND_DECLARE_ANON_INHERITED_CLASS ||
93 opline->opcode == ZEND_DECLARE_INHERITED_CLASS_DELAYED) {
124 if (opline->opcode == ZEND_FREE) {
130 switch (opline->opcode) {
150 if (opline->opcode == ZEND_CONCAT ||
151 opline->opcode == ZEND_FAST_CONCAT) {
164 if (opline->opcode == ZEND_INIT_FCALL) {
171 } else if (opline->opcode == ZEND_ROPE_INIT ||
172 opline->opcode
[all...]
H A Dzend_optimizer_internal.h41 (opline)->opcode = ZEND_NOP; \
H A Doptimize_temp_vars_5.c84 if (opline->opcode == ZEND_ROPE_END) {
111 (opline->opcode == ZEND_RETURN ||
112 opline->opcode == ZEND_RETURN_BY_REF ||
113 opline->opcode == ZEND_FREE ||
114 opline->opcode == ZEND_FE_FREE)) {
118 if (curr->opcode == ZEND_FAST_CALL) {
121 } else if (curr->opcode != ZEND_FREE &&
122 curr->opcode != ZEND_FE_FREE &&
123 curr->opcode != ZEND_VERIFY_RETURN_TYPE &&
124 curr->opcode !
[all...]
H A Dblock_pass.c126 switch((unsigned)opline->opcode) {
206 (op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FREE ||
207 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FE_FREE ||
208 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_ROPE_END ||
209 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_END_SILENCE)) {
214 (op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_FREE ||
215 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_FE_FREE ||
216 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode != ZEND_ROPE_END ||
217 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_END_SILENCE)) {
231 (op_array->opcodes[op_array->brk_cont_array[i].brk].opcode
[all...]
/PHP_TRUNK/Zend/
H A Dzend_vm.h27 ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode);
H A Dzend_ast.h261 static zend_always_inline zend_ast *zend_ast_create_binary_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { argument
262 return zend_ast_create_ex(ZEND_AST_BINARY_OP, opcode, op0, op1);
264 static zend_always_inline zend_ast *zend_ast_create_assign_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { argument
265 return zend_ast_create_ex(ZEND_AST_ASSIGN_OP, opcode, op0, op1);
H A Dzend_vm_opcodes.c200 ZEND_API const char* zend_get_opcode_name(zend_uchar opcode) { argument
201 return zend_vm_opcodes_map[opcode];
H A Dzend_vm_opcodes.h33 ZEND_API const char *zend_get_opcode_name(zend_uchar opcode);
H A Dzend_builtin_functions.c2304 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL &&
2305 skip->prev_execute_data->opline->opcode != ZEND_DO_ICALL &&
2306 skip->prev_execute_data->opline->opcode != ZEND_DO_UCALL &&
2307 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL_BY_NAME &&
2308 skip->prev_execute_data->opline->opcode != ZEND_INCLUDE_OR_EVAL) {
2314 if (skip->opline->opcode == ZEND_HANDLE_EXCEPTION) {
2369 if (!ptr->func || !ZEND_USER_CODE(ptr->func->common.type) || ptr->opline->opcode != ZEND_INCLUDE_OR_EVAL) {
2473 if (ptr->func && ZEND_USER_CODE(ptr->func->common.type) && (ptr->opline->opcode == ZEND_NEW)) {
2498 skip->prev_execute_data->opline->opcode != ZEND_DO_FCALL &&
2499 skip->prev_execute_data->opline->opcode !
[all...]
H A Dzend_compile.c58 zend_uchar opcode; member in struct:_zend_loop_var
582 info.opcode = free_opcode;
588 info.opcode = ZEND_NOP;
615 opline->opcode = ZEND_FREE;
621 while (opline->opcode == ZEND_END_SILENCE || opline->opcode == ZEND_EXT_FCALL_END || opline->opcode == ZEND_OP_DATA) {
626 if (opline->opcode == ZEND_FETCH_R ||
627 opline->opcode == ZEND_FETCH_DIM_R ||
628 opline->opcode
1857 zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1881 zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1939 zend_emit_cond_jump(zend_uchar opcode, znode *cond, uint32_t opnum_target) argument
1973 zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
2622 uint32_t opcode = ast->attr; local
2678 zend_uchar opcode; local
4437 zend_uchar opcode; local
5773 zend_try_ct_eval_binary_op(zval *result, uint32_t opcode, zval *op1, zval *op2) argument
5791 zend_ct_eval_unary_op(zval *result, uint32_t opcode, zval *op) argument
5889 uint32_t opcode = ast->attr; local
5975 uint32_t opcode = ast->attr; local
[all...]
H A Dzend_execute.c2381 if (UNEXPECTED(opline->opcode == ZEND_INIT_FCALL ||
2382 opline->opcode == ZEND_INIT_FCALL_BY_NAME ||
2383 opline->opcode == ZEND_INIT_DYNAMIC_CALL ||
2384 opline->opcode == ZEND_INIT_METHOD_CALL ||
2385 opline->opcode == ZEND_INIT_STATIC_METHOD_CALL)) {
2398 switch (opline->opcode) {
2447 switch (opline->opcode) {
2509 if (brk_opline->opcode == ZEND_FREE) {
2511 } else if (brk_opline->opcode == ZEND_FE_FREE) {
2517 } else if (brk_opline->opcode
2653 zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler) argument
2668 zend_get_user_opcode_handler(zend_uchar opcode) argument
[all...]
H A Dzend_execute.h302 #define ZEND_USER_OPCODE_CONTINUE 0 /* execute next opcode */
304 #define ZEND_USER_OPCODE_DISPATCH 2 /* call original opcode handler */
308 #define ZEND_USER_OPCODE_DISPATCH_TO 0x100 /* call original handler of returned opcode */
310 ZEND_API int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler);
311 ZEND_API user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode);
359 while (UNEXPECTED((opline)->opcode >= ZEND_EXT_STMT \
360 && (opline)->opcode <= ZEND_TICKS)) { \
H A Dzend_opcode.c462 if (opline->opcode == ZEND_EXT_STMT) {
464 if ((opline+1)->opcode == ZEND_EXT_STMT) {
465 opline->opcode = ZEND_NOP;
473 opline->opcode = ZEND_NOP;
526 ZEND_ASSERT(op_array->opcodes[finally_op_num - 2].opcode == ZEND_FAST_CALL);
571 return opline->opcode == ZEND_BRK ? jmp_to->brk : jmp_to->cont;
603 switch (opline->opcode) {
627 opline->opcode = ZEND_JMP;
675 opline->opcode = ZEND_GENERATOR_RETURN;
700 ZEND_API unary_op_type get_unary_op(int opcode) argument
712 get_binary_op(int opcode) argument
[all...]
H A Dzend_operators.h753 #define ZEND_TRY_BINARY_OP1_OBJECT_OPERATION(opcode, binary_op) \
768 if (EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op1, do_operation)(opcode, result, op1, op2))) { \
773 #define ZEND_TRY_BINARY_OP2_OBJECT_OPERATION(opcode) \
776 && EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op2, do_operation)(opcode, result, op1, op2))) { \
780 #define ZEND_TRY_BINARY_OBJECT_OPERATION(opcode, binary_op) \
781 ZEND_TRY_BINARY_OP1_OBJECT_OPERATION(opcode, binary_op) \
783 ZEND_TRY_BINARY_OP2_OBJECT_OPERATION(opcode)
785 #define ZEND_TRY_UNARY_OBJECT_OPERATION(opcode) \
788 && EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op1, do_operation)(opcode, result, op1, NULL))) { \
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c292 /* Points to the starting opcode. */
308 /* Points to the starting opcode. */
323 /* Maps private data offset to each opcode. */
486 /* These two locals can be used by the current opcode. */
809 /* Only AUTO_CALLOUT can insert this opcode. We do
6430 pcre_uchar opcode; local
6461 opcode = *cc;
6462 SLJIT_ASSERT(opcode >= OP_ASSERT && opcode <= OP_ASSERTBACK_NOT);
6463 found = (opcode
6948 pcre_uchar opcode; local
7489 pcre_uchar opcode; local
7763 get_iterator_parameters(compiler_common *common, pcre_uchar *cc, pcre_uchar *opcode, pcre_uchar *type, int *max, int *min, pcre_uchar **end) argument
7865 pcre_uchar opcode; local
8174 pcre_uchar opcode = *cc; local
8561 pcre_uchar opcode; local
8822 int opcode, stacksize, alt_count, alt_max; local
9345 pcre_uchar opcode = *current->cc; local
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeTILEGX_64.c123 const struct tilegx_opcode* opcode; member in struct:jit_instr
387 #define PB3(opcode, dst, srca, srcb) \
388 push_3_buffer(compiler, opcode, dst, srca, srcb, __LINE__)
390 #define PB2(opcode, dst, src) \
391 push_2_buffer(compiler, opcode, dst, src, __LINE__)
517 tilegx_pipeline get_any_valid_pipe(const struct tilegx_opcode* opcode) argument
521 for (pipe = 0; ((opcode->pipes & (1 << pipe)) == 0 && pipe < TILEGX_NUM_PIPELINE_ENCODINGS); pipe++)
528 const struct tilegx_opcode* opcode = NULL; local
532 opcode = &tilegx_opcodes[opc];
533 inst_buf[0].opcode
612 const struct tilegx_opcode* opcode = inst->opcode; local
750 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
770 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
830 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
875 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
891 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_print.c61 uint32_t opcode = 0, local
87 opcode,
91 } while (opcode++ < end);
H A Dphpdbg_opcode.c30 static inline const char *phpdbg_decode_opcode(zend_uchar opcode) /* {{{ */ argument
32 const char *ret = zend_get_opcode_name(opcode);
67 const char *opcode_name = phpdbg_decode_opcode(op->opcode);
71 switch (op->opcode) {
86 switch (op->opcode) {
105 switch (op->opcode) {
144 switch (op->opcode) {
H A Dphpdbg_prompt.c529 || opline->opcode == ZEND_RETURN
530 || opline->opcode == ZEND_FAST_RET
531 || opline->opcode == ZEND_GENERATOR_RETURN
532 || opline->opcode == ZEND_EXIT
533 || opline->opcode == ZEND_YIELD
534 || opline->opcode == ZEND_YIELD_FROM
573 switch (opline->opcode) {
1433 && (backup_opline->opcode == ZEND_HANDLE_EXCEPTION || backup_opline->opcode == ZEND_CATCH)) { \
1601 if ((execute_data->opline->opcode
[all...]
H A Dphpdbg.c307 instructs phpdbg to insert a breakpoint at the next opcode */
446 if (op_array->last >= 1 && (end - 1)->opcode == ZEND_RETURN
447 && ((op_array->last > 1 && ((end - 2)->opcode == ZEND_RETURN || (end - 2)->opcode == ZEND_GENERATOR_RETURN || (end - 2)->opcode == ZEND_THROW))
453 if (cur->opcode == ZEND_NOP || cur->opcode == ZEND_OP_DATA || cur->opcode == ZEND_FE_FREE || cur->opcode == ZEND_FREE || cur->opcode
[all...]

Completed in 68 milliseconds

123