Lines Matching refs:ssa_ops

1184 	zend_ssa_op *ssa_ops, *op;  in zend_jit_trace_build_tssa()  local
1368 tssa->ops = ssa_ops = zend_arena_alloc(&CG(arena), ssa_ops_count * sizeof(zend_ssa_op)); in zend_jit_trace_build_tssa()
1369 memset(ssa_ops, -1, ssa_ops_count * sizeof(zend_ssa_op)); in zend_jit_trace_build_tssa()
1402 …ssa_vars_count = zend_ssa_rename_op(op_array, opline, idx, build_flags, ssa_vars_count, ssa_ops, (… in zend_jit_trace_build_tssa()
1409 …unt = zend_ssa_rename_op(op_array, opline, idx, build_flags, ssa_vars_count, ssa_ops, (int*)stack); in zend_jit_trace_build_tssa()
1488 op = ssa_ops + idx; in zend_jit_trace_build_tssa()
1989 ZEND_ASSERT(ssa_ops[idx].op1_use >= 0); in zend_jit_trace_build_tssa()
1990 info = ssa_var_info[ssa_ops[idx].op1_use].type & ~MAY_BE_GUARD; in zend_jit_trace_build_tssa()
2027 ZEND_ASSERT(ssa_ops[idx].op1_use >= 0); in zend_jit_trace_build_tssa()
2028 return_value_info = ssa_var_info[ssa_ops[idx].op1_use]; in zend_jit_trace_build_tssa()
2122 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2123 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2125 if (ssa_ops[idx].op2_def >= 0) { in zend_jit_trace_build_tssa()
2126 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op2_def); in zend_jit_trace_build_tssa()
2128 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2129 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2132 if (ssa_ops[idx+1].op1_def >= 0) { in zend_jit_trace_build_tssa()
2133 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx+1].op1_def); in zend_jit_trace_build_tssa()
2135 if (ssa_ops[idx+1].op2_def >= 0) { in zend_jit_trace_build_tssa()
2136 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx+1].op2_def); in zend_jit_trace_build_tssa()
2138 if (ssa_ops[idx+1].result_def >= 0) { in zend_jit_trace_build_tssa()
2139 … zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx+1].result_def); in zend_jit_trace_build_tssa()
2143 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2144 …ssa_vars[ssa_ops[idx].op1_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opline-… in zend_jit_trace_build_tssa()
2145 if (ssa_ops[idx].op1_use < 0 || !(ssa_var_info[ssa_ops[idx].op1_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2146 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2149 if (ssa_ops[idx].op2_def >= 0) { in zend_jit_trace_build_tssa()
2150 …ssa_vars[ssa_ops[idx].op2_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opline-… in zend_jit_trace_build_tssa()
2151 if (ssa_ops[idx].op2_use < 0 || !(ssa_var_info[ssa_ops[idx].op2_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2152 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].op2_def); in zend_jit_trace_build_tssa()
2155 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2156 …ssa_vars[ssa_ops[idx].result_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opli… in zend_jit_trace_build_tssa()
2157 … if (ssa_ops[idx].result_use < 0 || !(ssa_var_info[ssa_ops[idx].result_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2158 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2162 if (ssa_ops[idx+1].op1_def >= 0) { in zend_jit_trace_build_tssa()
2163 …ssa_vars[ssa_ops[idx+1].op1_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM((opli… in zend_jit_trace_build_tssa()
2164 if (ssa_ops[idx+1].op1_use < 0 || !(ssa_var_info[ssa_ops[idx+1].op1_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2165 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx+1].op1_def); in zend_jit_trace_build_tssa()
2168 if (ssa_ops[idx+1].op2_def >= 0) { in zend_jit_trace_build_tssa()
2169 …ssa_vars[ssa_ops[idx+1].op2_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM((opli… in zend_jit_trace_build_tssa()
2170 if (ssa_ops[idx+1].op2_use < 0 || !(ssa_var_info[ssa_ops[idx+1].op2_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2171 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx+1].op2_def); in zend_jit_trace_build_tssa()
2174 if (ssa_ops[idx+1].result_def >= 0) { in zend_jit_trace_build_tssa()
2175 …ssa_vars[ssa_ops[idx+1].result_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM((o… in zend_jit_trace_build_tssa()
2176 …if (ssa_ops[idx+1].result_use < 0 || !(ssa_var_info[ssa_ops[idx+1].result_use].type & MAY_BE_REF))… in zend_jit_trace_build_tssa()
2177 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx+1].result_def); in zend_jit_trace_build_tssa()
2185 ssa_var_info[ssa_ops[idx].result_def].type = _const_op_type(RT_CONSTANT(opline, opline->op2)); in zend_jit_trace_build_tssa()
2188 if (ssa_ops[idx].op2_use >= 0 && ssa_ops[idx].op2_def >= 0) { in zend_jit_trace_build_tssa()
2189 ssa_var_info[ssa_ops[idx].op2_def] = ssa_var_info[ssa_ops[idx].op2_use]; in zend_jit_trace_build_tssa()
2192 …if (zend_update_type_info(op_array, tssa, script, (zend_op*)opline, ssa_ops + idx, ssa_opcodes, op… in zend_jit_trace_build_tssa()
2197 && ssa_ops[idx].op1_def > 0 in zend_jit_trace_build_tssa()
2206 zend_ssa_var_info *info = &ssa_var_info[ssa_ops[idx].op1_def]; in zend_jit_trace_build_tssa()
2213 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2219 ssa_var_info[ssa_ops[idx].op1_def] = ssa_var_info[ssa_ops[idx].op1_use]; in zend_jit_trace_build_tssa()
2220 ssa_var_info[ssa_ops[idx].op1_def].type &= ~MAY_BE_GUARD; in zend_jit_trace_build_tssa()
2221 if (ssa_var_info[ssa_ops[idx].op1_def].type & MAY_BE_RC1) { in zend_jit_trace_build_tssa()
2222 ssa_var_info[ssa_ops[idx].op1_def].type |= MAY_BE_RCN; in zend_jit_trace_build_tssa()
2225 zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2228 if (ssa_ops[idx].op2_def >= 0) { in zend_jit_trace_build_tssa()
2231 zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op2_def); in zend_jit_trace_build_tssa()
2234 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2235 … zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2244 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2245 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2247 if (ssa_ops[idx].op2_def >= 0) { in zend_jit_trace_build_tssa()
2248 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op2_def); in zend_jit_trace_build_tssa()
2250 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2251 zend_jit_trace_copy_ssa_var_range(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2254 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2255 …ssa_vars[ssa_ops[idx].op1_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opline-… in zend_jit_trace_build_tssa()
2256 if (ssa_ops[idx].op1_use < 0 || !(ssa_var_info[ssa_ops[idx].op1_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2257 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2260 if (ssa_ops[idx].op2_def >= 0) { in zend_jit_trace_build_tssa()
2261 …ssa_vars[ssa_ops[idx].op2_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opline-… in zend_jit_trace_build_tssa()
2262 if (ssa_ops[idx].op2_use < 0 || !(ssa_var_info[ssa_ops[idx].op2_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2263 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].op2_def); in zend_jit_trace_build_tssa()
2266 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2267 …ssa_vars[ssa_ops[idx].result_def].alias = zend_jit_var_may_alias(op_array, ssa, EX_VAR_TO_NUM(opli… in zend_jit_trace_build_tssa()
2268 … if (ssa_ops[idx].result_use < 0 || !(ssa_var_info[ssa_ops[idx].result_use].type & MAY_BE_REF)) { in zend_jit_trace_build_tssa()
2269 zend_jit_trace_propagate_range(op_array, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2276 ssa_var_info[ssa_ops[idx].result_def].type = _const_op_type(RT_CONSTANT(opline, opline->op2)); in zend_jit_trace_build_tssa()
2278 …if (zend_update_type_info(op_array, tssa, script, (zend_op*)opline, ssa_ops + idx, ssa_opcodes, op… in zend_jit_trace_build_tssa()
2286 if (ssa_ops[idx].op1_def >= 0) { in zend_jit_trace_build_tssa()
2287 zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op1_def); in zend_jit_trace_build_tssa()
2289 if (ssa_ops[idx].op2_def >= 0) { in zend_jit_trace_build_tssa()
2290 zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].op2_def); in zend_jit_trace_build_tssa()
2292 if (ssa_ops[idx].result_def >= 0) { in zend_jit_trace_build_tssa()
2293 … zend_jit_trace_restrict_ssa_var_info(op_array, ssa, ssa_opcodes, tssa, ssa_ops[idx].result_def); in zend_jit_trace_build_tssa()
2321 TRACE_FRAME_SET_RETURN_SSA_VAR(call, find_return_ssa_var(p - 1, ssa_ops + (idx - 1))); in zend_jit_trace_build_tssa()
2494 && ssa_ops[idx-1].result_def >= 0 in zend_jit_trace_build_tssa()
2508 ssa_var_info[ssa_ops[idx-1].result_def].type &= ret_type; in zend_jit_trace_build_tssa()