Lines Matching refs:call_info

130 		zend_call_info **call_info = &func_info->callee_info;  in zend_ssa_remove_nops()  local
131 while ((*call_info)) { in zend_ssa_remove_nops()
132 if ((*call_info)->caller_init_opline->opcode == ZEND_NOP) { in zend_ssa_remove_nops()
133 *call_info = (*call_info)->next_callee; in zend_ssa_remove_nops()
135 call_info = &(*call_info)->next_callee; in zend_ssa_remove_nops()
240 zend_call_info *call_info = func_info->callee_info; in zend_ssa_remove_nops() local
241 while (call_info) { in zend_ssa_remove_nops()
242 call_info->caller_init_opline -= in zend_ssa_remove_nops()
243 shiftlist[call_info->caller_init_opline - op_array->opcodes]; in zend_ssa_remove_nops()
244 if (call_info->caller_call_opline) { in zend_ssa_remove_nops()
245 call_info->caller_call_opline -= in zend_ssa_remove_nops()
246 shiftlist[call_info->caller_call_opline - op_array->opcodes]; in zend_ssa_remove_nops()
248 call_info = call_info->next_callee; in zend_ssa_remove_nops()
407 zend_call_info *call_info = func_info->callee_info; in zend_dfa_optimize_calls() local
410 if (call_info->caller_call_opline in zend_dfa_optimize_calls()
411 && call_info->caller_call_opline->opcode == ZEND_DO_ICALL in zend_dfa_optimize_calls()
412 && call_info->callee_func in zend_dfa_optimize_calls()
413 && zend_string_equals_literal(call_info->callee_func->common.function_name, "in_array") in zend_dfa_optimize_calls()
414 && (call_info->caller_init_opline->extended_value == 2 in zend_dfa_optimize_calls()
415 || (call_info->caller_init_opline->extended_value == 3 in zend_dfa_optimize_calls()
416 && (call_info->caller_call_opline - 1)->opcode == ZEND_SEND_VAL in zend_dfa_optimize_calls()
417 && (call_info->caller_call_opline - 1)->op1_type == IS_CONST))) { in zend_dfa_optimize_calls()
422 ZEND_ASSERT(!call_info->is_prototype); in zend_dfa_optimize_calls()
424 if (call_info->caller_init_opline->extended_value == 2) { in zend_dfa_optimize_calls()
425 send_array = call_info->caller_call_opline - 1; in zend_dfa_optimize_calls()
426 send_needly = call_info->caller_call_opline - 2; in zend_dfa_optimize_calls()
428 … if (zend_is_true(CT_CONSTANT_EX(op_array, (call_info->caller_call_opline - 1)->op1.constant))) { in zend_dfa_optimize_calls()
431 send_array = call_info->caller_call_opline - 2; in zend_dfa_optimize_calls()
432 send_needly = call_info->caller_call_opline - 3; in zend_dfa_optimize_calls()
486 op_num = call_info->caller_call_opline - op_array->opcodes; in zend_dfa_optimize_calls()
496 call_info->caller_call_opline->opcode = ZEND_IN_ARRAY; in zend_dfa_optimize_calls()
497 call_info->caller_call_opline->extended_value = strict; in zend_dfa_optimize_calls()
498 call_info->caller_call_opline->op1_type = send_needly->op1_type; in zend_dfa_optimize_calls()
499 call_info->caller_call_opline->op1.num = send_needly->op1.num; in zend_dfa_optimize_calls()
500 call_info->caller_call_opline->op2_type = IS_CONST; in zend_dfa_optimize_calls()
501 call_info->caller_call_opline->op2.constant = zend_optimizer_add_literal(op_array, &tmp); in zend_dfa_optimize_calls()
502 if (call_info->caller_init_opline->extended_value == 3) { in zend_dfa_optimize_calls()
503 MAKE_NOP(call_info->caller_call_opline - 1); in zend_dfa_optimize_calls()
505 MAKE_NOP(call_info->caller_init_opline); in zend_dfa_optimize_calls()
510 op_num = call_info->caller_call_opline - op_array->opcodes; in zend_dfa_optimize_calls()
524 call_info->caller_call_opline->result_type = IS_TMP_VAR; in zend_dfa_optimize_calls()
531 call_info = call_info->next_callee; in zend_dfa_optimize_calls()
532 } while (call_info); in zend_dfa_optimize_calls()