Lines Matching refs:opcodes

329 				&& var->use_chain == (opline - ctx->op_array->opcodes)) {  in try_remove_var_def()
330 zend_op *def_opline = &ctx->op_array->opcodes[def]; in try_remove_var_def()
405 zend_bitset_excl(ctx->instr_dead, opline - ctx->op_array->opcodes); in dce_instr()
534 if (op_array->opcodes[i].opcode == ZEND_OP_DATA) { in dce_optimize_op_array()
541 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
543 add_operands_to_worklists(&ctx, &op_array->opcodes[op_data], &ssa->ops[op_data], ssa, 0); in dce_optimize_op_array()
545 …} else if (may_have_side_effects(op_array, ssa, &op_array->opcodes[i], &ssa->ops[i], ctx.reorder_d… in dce_optimize_op_array()
546 || zend_may_throw(&op_array->opcodes[i], op_array, ssa) in dce_optimize_op_array()
548 if (op_array->opcodes[i].opcode == ZEND_NEW in dce_optimize_op_array()
549 && op_array->opcodes[i+1].opcode == ZEND_DO_FCALL in dce_optimize_op_array()
555 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
557 add_operands_to_worklists(&ctx, &op_array->opcodes[op_data], &ssa->ops[op_data], ssa, 0); in dce_optimize_op_array()
575 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array()
576 if (i < op_array->last && op_array->opcodes[i+1].opcode == ZEND_OP_DATA) { in dce_optimize_op_array()
578 add_operands_to_worklists(&ctx, &op_array->opcodes[i+1], &ssa->ops[i+1], ssa, 1); in dce_optimize_op_array()
590 removed_ops += dce_instr(&ctx, &op_array->opcodes[i], &ssa->ops[i]); in dce_optimize_op_array()