Lines Matching refs:opcodes
353 && var->use_chain == (opline - ctx->op_array->opcodes)) { in try_remove_var_def()
354 zend_op *def_opline = &ctx->op_array->opcodes[def]; in try_remove_var_def()
442 zend_bitset_excl(ctx->instr_dead, opline - ctx->op_array->opcodes); in dce_instr()
581 if (op_array->opcodes[i].opcode == ZEND_OP_DATA) { in dce_optimize_op_array()
588 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
590 add_operands_to_worklists(&ctx, &op_array->opcodes[op_data], &ssa->ops[op_data], ssa, 0); in dce_optimize_op_array()
592 …} else if (may_have_side_effects(op_array, ssa, &op_array->opcodes[i], &ssa->ops[i], ctx.reorder_d… in dce_optimize_op_array()
593 || (zend_may_throw(&op_array->opcodes[i], &ssa->ops[i], op_array, ssa) in dce_optimize_op_array()
594 && !may_throw_dce_exception(&op_array->opcodes[i])) in dce_optimize_op_array()
596 if (op_array->opcodes[i].opcode == ZEND_NEW in dce_optimize_op_array()
597 && op_array->opcodes[i+1].opcode == ZEND_DO_FCALL in dce_optimize_op_array()
603 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
605 add_operands_to_worklists(&ctx, &op_array->opcodes[op_data], &ssa->ops[op_data], ssa, 0); in dce_optimize_op_array()
623 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array()
625 && (op_array->opcodes[i+1].opcode == ZEND_OP_DATA in dce_optimize_op_array()
626 || (op_array->opcodes[i].opcode == ZEND_NEW in dce_optimize_op_array()
627 && op_array->opcodes[i+1].opcode == ZEND_DO_FCALL))) { in dce_optimize_op_array()
629 add_operands_to_worklists(&ctx, &op_array->opcodes[i+1], &ssa->ops[i+1], ssa, 1); in dce_optimize_op_array()
641 removed_ops += dce_instr(&ctx, &op_array->opcodes[i], &ssa->ops[i]); in dce_optimize_op_array()