Lines Matching refs:ssa_op

295 		const zend_script *script, zend_op_array *op_array, zend_ssa *ssa, zend_ssa_op *ssa_op) {  in can_elide_return_type_check()  argument
297 zend_ssa_var_info *use_info = &ssa->var_info[ssa_op->op1_use]; in can_elide_return_type_check()
386 const zend_ssa_op *ssa_op = &ssa->ops[start]; in variable_defined_or_used_in_range() local
387 if ((ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].var == var) || in variable_defined_or_used_in_range()
388 (ssa_op->op2_def >= 0 && ssa->vars[ssa_op->op2_def].var == var) || in variable_defined_or_used_in_range()
389 (ssa_op->result_def >= 0 && ssa->vars[ssa_op->result_def].var == var) || in variable_defined_or_used_in_range()
390 (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].var == var) || in variable_defined_or_used_in_range()
391 (ssa_op->op2_use >= 0 && ssa->vars[ssa_op->op2_use].var == var) || in variable_defined_or_used_in_range()
392 (ssa_op->result_use >= 0 && ssa->vars[ssa_op->result_use].var == var) in variable_defined_or_used_in_range()
475 zend_ssa_op *ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls() local
477 if (ssa_op->op1_use >= 0) { in zend_dfa_optimize_calls()
479 int var_num = ssa_op->op1_use; in zend_dfa_optimize_calls()
482 ZEND_ASSERT(ssa_op->op1_def < 0); in zend_dfa_optimize_calls()
483 zend_ssa_unlink_use_chain(ssa, op_num, ssa_op->op1_use); in zend_dfa_optimize_calls()
484 ssa_op->op1_use = -1; in zend_dfa_optimize_calls()
485 ssa_op->op1_use_chain = -1; in zend_dfa_optimize_calls()
487 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls()
488 ssa_op->op1_use = var_num; in zend_dfa_optimize_calls()
489 ssa_op->op1_use_chain = var->use_chain; in zend_dfa_optimize_calls()
511 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls()
512 if (ssa_op->result_def >= 0) { in zend_dfa_optimize_calls()
513 int var = ssa_op->result_def; in zend_dfa_optimize_calls()
769 zend_ssa_op *ssa_op; in zend_dfa_optimize_jmps() local
783 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_jmps()
815 zend_ssa_remove_instr(ssa, opline, ssa_op); in zend_dfa_optimize_jmps()
846 zend_ssa_remove_instr(ssa, opline, ssa_op); in zend_dfa_optimize_jmps()
857 if (ssa->vars[ssa_op->result_def].use_chain < 0 in zend_dfa_optimize_jmps()
858 && ssa->vars[ssa_op->result_def].phi_use_chain == NULL) { in zend_dfa_optimize_jmps()
861 zend_ssa_remove_result_def(ssa, ssa_op); in zend_dfa_optimize_jmps()
871 if (ssa->vars[ssa_op->result_def].use_chain < 0 in zend_dfa_optimize_jmps()
872 && ssa->vars[ssa_op->result_def].phi_use_chain == NULL) { in zend_dfa_optimize_jmps()
875 zend_ssa_remove_result_def(ssa, ssa_op); in zend_dfa_optimize_jmps()
885 if (ssa->vars[ssa_op->result_def].use_chain < 0 in zend_dfa_optimize_jmps()
886 && ssa->vars[ssa_op->result_def].phi_use_chain == NULL) { in zend_dfa_optimize_jmps()
889 zend_ssa_remove_result_def(ssa, ssa_op); in zend_dfa_optimize_jmps()
896 zend_ssa_remove_result_def(ssa, ssa_op); in zend_dfa_optimize_jmps()
903 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_dfa_optimize_jmps()
907 zend_ssa_remove_result_def(ssa, ssa_op); in zend_dfa_optimize_jmps()
915 zend_ssa_remove_result_def(ssa, ssa_op); in zend_dfa_optimize_jmps()
925 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_dfa_optimize_jmps()
931 zend_ssa_remove_result_def(ssa, ssa_op); in zend_dfa_optimize_jmps()
936 zend_ssa_remove_result_def(ssa, ssa_op); in zend_dfa_optimize_jmps()
1104 zend_ssa_op *ssa_op; in zend_dfa_optimize_op_array() local
1160 ssa_op = &ssa->ops[op_1]; in zend_dfa_optimize_op_array()