Lines Matching refs:opcodes
339 && var->use_chain == (opline - ctx->op_array->opcodes)) { in try_remove_var_def()
340 zend_op *def_opline = &ctx->op_array->opcodes[def]; in try_remove_var_def()
415 zend_bitset_excl(ctx->instr_dead, opline - ctx->op_array->opcodes); in dce_instr()
554 if (op_array->opcodes[i].opcode == ZEND_OP_DATA) { in dce_optimize_op_array()
561 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
563 add_operands_to_worklists(&ctx, &op_array->opcodes[op_data], &ssa->ops[op_data], ssa, 0); in dce_optimize_op_array()
565 …} else if (may_have_side_effects(op_array, ssa, &op_array->opcodes[i], &ssa->ops[i], ctx.reorder_d… in dce_optimize_op_array()
566 || (zend_may_throw(&op_array->opcodes[i], &ssa->ops[i], op_array, ssa) in dce_optimize_op_array()
567 && !may_throw_dce_exception(&op_array->opcodes[i])) in dce_optimize_op_array()
569 if (op_array->opcodes[i].opcode == ZEND_NEW in dce_optimize_op_array()
570 && op_array->opcodes[i+1].opcode == ZEND_DO_FCALL in dce_optimize_op_array()
576 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
578 add_operands_to_worklists(&ctx, &op_array->opcodes[op_data], &ssa->ops[op_data], ssa, 0); in dce_optimize_op_array()
596 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array()
598 && (op_array->opcodes[i+1].opcode == ZEND_OP_DATA in dce_optimize_op_array()
599 || (op_array->opcodes[i].opcode == ZEND_NEW in dce_optimize_op_array()
600 && op_array->opcodes[i+1].opcode == ZEND_DO_FCALL))) { in dce_optimize_op_array()
602 add_operands_to_worklists(&ctx, &op_array->opcodes[i+1], &ssa->ops[i+1], ssa, 1); in dce_optimize_op_array()
614 removed_ops += dce_instr(&ctx, &op_array->opcodes[i], &ssa->ops[i]); in dce_optimize_op_array()