Lines Matching refs:values

81 	zval *values;  member
150 zval *value = &ctx->values[var]; in set_value()
193 return &ctx->values[ssa_op->op1_use]; in get_op1_value()
203 return &ctx->values[ssa_op->op2_use]; in get_op2_value()
1092 result = &ctx->values[ssa_op->result_use]; in sccp_visit_instr()
1186 zval *result = &ctx->values[ssa_op->result_use]; in sccp_visit_instr()
1662 if (ssa_op->result_def < 0 || IS_BOT(&ctx->values[ssa_op->result_def])) { in sccp_visit_instr()
1693 if (!IS_TOP(&ctx->values[ssa_op->result_def])) { in sccp_visit_instr()
1721 if (ssa_op->result_def < 0 || IS_BOT(&ctx->values[ssa_op->result_def])) { in sccp_visit_instr()
2043 if (!IS_BOT(&ctx->values[phi->ssa_var])) { in sccp_visit_phi()
2056 …join_phi_values(&result, &ctx->values[phi->sources[0]], ssa->vars[phi->ssa_var].escape_state != ES… in sccp_visit_phi()
2063 scp_dump_value(&ctx->values[phi->sources[i]]); in sccp_visit_phi()
2066 …join_phi_values(&result, &ctx->values[phi->sources[i]], ssa->vars[phi->ssa_var].escape_state != ES… in sccp_visit_phi()
2225 && (!value_known(&ctx->values[ssa_op->op2_use]) in try_remove_definition()
2226 || IS_PARTIAL_ARRAY(&ctx->values[ssa_op->op2_use]) in try_remove_definition()
2227 || IS_PARTIAL_OBJECT(&ctx->values[ssa_op->op2_use]))) { in try_remove_definition()
2230 && (!value_known(&ctx->values[ssa_op->op1_use]) in try_remove_definition()
2231 || IS_PARTIAL_ARRAY(&ctx->values[ssa_op->op1_use]) in try_remove_definition()
2232 || IS_PARTIAL_OBJECT(&ctx->values[ssa_op->op1_use]))) { in try_remove_definition()
2276 if ((ssa_op->op2_use >= 0 && !value_known(&ctx->values[ssa_op->op2_use])) in try_remove_definition()
2277 || ((ssa_op+1)->op1_use >= 0 &&!value_known(&ctx->values[(ssa_op+1)->op1_use]))) { in try_remove_definition()
2285 if (ssa_op->op2_use >= 0 && !value_known(&ctx->values[ssa_op->op2_use])) { in try_remove_definition()
2385 if (IS_PARTIAL_ARRAY(&ctx->values[i]) in replace_constant_operands()
2386 || IS_PARTIAL_OBJECT(&ctx->values[i])) { in replace_constant_operands()
2387 if (!Z_DELREF(ctx->values[i])) { in replace_constant_operands()
2388 zend_array_destroy(Z_ARR(ctx->values[i])); in replace_constant_operands()
2390 MAKE_BOT(&ctx->values[i]); in replace_constant_operands()
2395 } else if (value_known(&ctx->values[i])) { in replace_constant_operands()
2396 value = &ctx->values[i]; in replace_constant_operands()
2430 if (value_known(&ctx->values[i])) { in replace_constant_operands()
2442 sccp->values = zend_arena_alloc(&ctx->arena, sizeof(zval) * ssa->vars_count); in sccp_context_init()
2451 MAKE_BOT(&sccp->values[i]); in sccp_context_init()
2455 MAKE_BOT(&sccp->values[i]); in sccp_context_init()
2457 MAKE_TOP(&sccp->values[i]); in sccp_context_init()
2465 zval_ptr_dtor_nogc(&sccp->values[i]); in sccp_context_free()
2488 zval *zv = &sccp.values[i]; in sccp_optimize_op_array()