Lines Matching refs:op1
641 VAR_SOURCE(opline->op1) && in zend_optimize_block()
642 VAR_SOURCE(opline->op1)->opcode == ZEND_QM_ASSIGN && in zend_optimize_block()
643 ZEND_OP1_TYPE(VAR_SOURCE(opline->op1)) == IS_CONST && in zend_optimize_block()
649 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
651 VAR_UNSET(opline->op1); in zend_optimize_block()
674 VAR_SOURCE(opline->op1) && in zend_optimize_block()
675 VAR_SOURCE(opline->op1)->opcode == ZEND_PRINT && in zend_optimize_block()
678 LITERAL_LONG(opline->op1, 1); in zend_optimize_block()
691 VAR_SOURCE(opline->op1) && in zend_optimize_block()
692 VAR_SOURCE(opline->op1)->opcode == ZEND_CAST && in zend_optimize_block()
693 VAR_SOURCE(opline->op1)->extended_value == IS_STRING) { in zend_optimize_block()
694 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
695 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
702 VAR_SOURCE(opline->op1)) { in zend_optimize_block()
703 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
714 VAR_SOURCE(opline->op1)) { in zend_optimize_block()
715 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
737 VAR_SOURCE(opline->op1) && VAR_SOURCE(opline->op1)->opcode == ZEND_DO_CF_FCALL && in zend_optimize_block()
738 VAR_SOURCE(opline->op1)->extended_value == 1) { in zend_optimize_block()
739 zend_op *fcall = VAR_SOURCE(opline->op1); in zend_optimize_block()
754 LITERAL_BOOL(opline->op1, 1); in zend_optimize_block()
765 LITERAL_BOOL(opline->op1, 1); in zend_optimize_block()
783 LITERAL_BOOL(opline->op1, 1); in zend_optimize_block()
803 COPY_NODE(opline->op1, opline->op2); in zend_optimize_block()
820 VAR_SOURCE(opline->op1) != NULL && in zend_optimize_block()
822 VAR_SOURCE(opline->op1)->opcode == ZEND_BOOL_NOT) { in zend_optimize_block()
824 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
826 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
862 VAR_UNSET(opline->op1); in zend_optimize_block()
871 VAR_SOURCE(opline->op1) != NULL && in zend_optimize_block()
872 VAR_SOURCE(opline->op1)->opcode == ZEND_BOOL_NOT && in zend_optimize_block()
875 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
881 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
895 VAR_SOURCE(opline->op1) != NULL && in zend_optimize_block()
899 (VAR_SOURCE(opline->op1)->opcode == ZEND_BOOL || in zend_optimize_block()
900 VAR_SOURCE(opline->op1)->opcode == ZEND_QM_ASSIGN)) { in zend_optimize_block()
901 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
902 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
904 VAR_UNSET(opline->op1); in zend_optimize_block()
947 VAR_SOURCE(opline->op1) && in zend_optimize_block()
948 (VAR_SOURCE(opline->op1)->opcode == ZEND_CONCAT || in zend_optimize_block()
949 VAR_SOURCE(opline->op1)->opcode == ZEND_ADD_STRING) && in zend_optimize_block()
950 ZEND_OP2_TYPE(VAR_SOURCE(opline->op1)) == IS_CONST && in zend_optimize_block()
951 ZEND_RESULT(VAR_SOURCE(opline->op1)).var == ZEND_OP1(opline).var) { in zend_optimize_block()
953 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
963 VAR_UNSET(opline->op1); in zend_optimize_block()
968 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
1021 int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC) = get_binary_op(opline->opcode); in zend_optimize_block()
1075 VAR_SOURCE(opline->op1) && in zend_optimize_block()
1076 VAR_SOURCE(opline->op1)->opcode == ZEND_QM_ASSIGN) { in zend_optimize_block()
1078 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
1079 VAR_UNSET(opline->op1); in zend_optimize_block()
1080 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
1085 VAR_SOURCE(opline->op1) && in zend_optimize_block()
1086 VAR_SOURCE(opline->op1)->opcode == ZEND_INIT_STRING) { in zend_optimize_block()
1091 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
1092 VAR_UNSET(opline->op1); in zend_optimize_block()
1093 COPY_NODE(opline->op1, opline->op2); in zend_optimize_block()
1106 VAR_SOURCE(opline->op1) && in zend_optimize_block()
1107 VAR_SOURCE(opline->op1)->opcode == ZEND_CONCAT && in zend_optimize_block()
1108 ZEND_OP2_TYPE(VAR_SOURCE(opline->op1)) == IS_CONST && in zend_optimize_block()
1109 Z_TYPE(ZEND_OP2_LITERAL(VAR_SOURCE(opline->op1))) == IS_STRING && in zend_optimize_block()
1110 Z_STRLEN(ZEND_OP2_LITERAL(VAR_SOURCE(opline->op1))) == 0) { in zend_optimize_block()
1112 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
1113 VAR_UNSET(opline->op1); in zend_optimize_block()
1114 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
1124 VAR_SOURCE(opline->op1) && in zend_optimize_block()
1125 VAR_SOURCE(opline->op1)->opcode == ZEND_INIT_STRING) { in zend_optimize_block()
1127 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
1128 VAR_UNSET(opline->op1); in zend_optimize_block()
1129 COPY_NODE(opline->op1, opline->op2); in zend_optimize_block()
1139 VAR_SOURCE(opline->op1) && in zend_optimize_block()
1140 VAR_SOURCE(opline->op1)->opcode == ZEND_CAST && in zend_optimize_block()
1141 VAR_SOURCE(opline->op1)->extended_value == IS_STRING) { in zend_optimize_block()
1143 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
1144 VAR_UNSET(opline->op1); in zend_optimize_block()
1145 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
1160 VAR_SOURCE(opline->op1) && in zend_optimize_block()
1161 (VAR_SOURCE(opline->op1)->opcode == ZEND_IS_EQUAL || in zend_optimize_block()
1162 VAR_SOURCE(opline->op1)->opcode == ZEND_IS_NOT_EQUAL || in zend_optimize_block()
1163 VAR_SOURCE(opline->op1)->opcode == ZEND_IS_SMALLER || in zend_optimize_block()
1164 VAR_SOURCE(opline->op1)->opcode == ZEND_IS_SMALLER_OR_EQUAL || in zend_optimize_block()
1165 VAR_SOURCE(opline->op1)->opcode == ZEND_BOOL || in zend_optimize_block()
1166 VAR_SOURCE(opline->op1)->opcode == ZEND_IS_IDENTICAL || in zend_optimize_block()
1167 VAR_SOURCE(opline->op1)->opcode == ZEND_IS_NOT_IDENTICAL || in zend_optimize_block()
1168 VAR_SOURCE(opline->op1)->opcode == ZEND_ISSET_ISEMPTY_VAR || in zend_optimize_block()
1169 VAR_SOURCE(opline->op1)->opcode == ZEND_ISSET_ISEMPTY_DIM_OBJ) && in zend_optimize_block()
1172 zend_op *src = VAR_SOURCE(opline->op1); in zend_optimize_block()
1373 last_op->op1.constant = zend_optimizer_add_literal(op_array, &zv TSRMLS_CC); in zend_jmp_optimization()
1409 last_op->op1.constant = zend_optimizer_add_literal(op_array, &zv TSRMLS_CC); in zend_jmp_optimization()
1485 COPY_NODE(last_op->op1, last_op->op2); in zend_jmp_optimization()
1501 zend_uint same_var = VAR_NUM_EX(last_op->op1); in zend_jmp_optimization()
1521 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1531 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1544 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1562 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1652 same_t[VAR_NUM_EX(last_op->op1)] |= ZEND_OP1_TYPE(last_op); in zend_jmp_optimization()
1668 (same_t[VAR_NUM_EX(target->op1)] & ZEND_OP1_TYPE(target)) != 0 && in zend_jmp_optimization()
1677 (same_t[VAR_NUM_EX(target->op1)] & ZEND_OP1_TYPE(target)) != 0 && in zend_jmp_optimization()
1686 (same_t[VAR_NUM_EX(target->op1)] & ZEND_OP1_TYPE(target)) != 0 && in zend_jmp_optimization()
1696 (same_t[VAR_NUM_EX(target->op1)] & ZEND_OP1_TYPE(target)) != 0 && in zend_jmp_optimization()
1714 (same_t[VAR_NUM_EX(target->op1)] & ZEND_OP1_TYPE(target)) != 0 && in zend_jmp_optimization()
1746 SET_UNUSED(last_op->op1); in zend_jmp_optimization()
1759 SET_UNUSED(last_op->op1); in zend_jmp_optimization()
1772 SET_UNUSED(last_op->op1); in zend_jmp_optimization()
1797 zend_uchar same_var = VAR_NUM_EX(last_op->op1); in zend_jmp_optimization()
1816 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1825 same_var == VAR_NUM_EX(target->op1) && in zend_jmp_optimization()
1901 T_USAGE(opline->op1); in zend_t_usage()