Lines Matching refs:opcodes

293 				&& var->use_chain == (opline - ctx->op_array->opcodes)) {  in try_remove_var_def()
294 zend_op *def_opline = &ctx->op_array->opcodes[def]; in try_remove_var_def()
371 zend_bitset_excl(ctx->instr_dead, opline - ctx->op_array->opcodes); in dce_instr()
402 zend_op *opline = &op_array->opcodes[block->start + block->len - 1]; in simplify_jumps()
566 if ((op_array->opcodes[def].result_type == IS_UNUSED) && in dce_live_ranges()
567 (UNEXPECTED(op_array->opcodes[def].opcode == ZEND_EXT_STMT) || in dce_live_ranges()
568 UNEXPECTED(op_array->opcodes[def].opcode == ZEND_EXT_FCALL_END) || in dce_live_ranges()
569 UNEXPECTED(op_array->opcodes[def].opcode == ZEND_END_SILENCE))) { in dce_live_ranges()
573 if (op_array->opcodes[def].result_type == IS_UNUSED) { in dce_live_ranges()
574 if (op_array->opcodes[def].opcode == ZEND_DO_FCALL) { in dce_live_ranges()
578 if ((op_array->opcodes[def].result_type & (IS_TMP_VAR|IS_VAR)) in dce_live_ranges()
579 && op_array->opcodes[def].result.var == var) { in dce_live_ranges()
580 ZEND_ASSERT(op_array->opcodes[def].opcode == ZEND_NEW); in dce_live_ranges()
584 } else if (op_array->opcodes[def].opcode == ZEND_OP_DATA) { in dce_live_ranges()
590 ZEND_ASSERT(op_array->opcodes[def].result_type & (IS_TMP_VAR|IS_VAR)); in dce_live_ranges()
591 ZEND_ASSERT(op_array->opcodes[def].result.var == var); in dce_live_ranges()
594 if (!(op_array->opcodes[def].result_type & (IS_TMP_VAR|IS_VAR)) in dce_live_ranges()
595 || op_array->opcodes[def].result.var != var in dce_live_ranges()
669 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], 0); in dce_optimize_op_array()
670 …} else if (may_have_side_effects(op_array, ssa, &op_array->opcodes[i], &ssa->ops[i], ctx.reorder_d… in dce_optimize_op_array()
671 || zend_may_throw(&op_array->opcodes[i], op_array, ssa) in dce_optimize_op_array()
673 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], 0); in dce_optimize_op_array()
686 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], 1); in dce_optimize_op_array()
701 removed_ops += dce_instr(&ctx, &op_array->opcodes[i], &ssa->ops[i]); in dce_optimize_op_array()