Lines Matching refs:ops
794 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_rename()
1034 ssa->ops = zend_arena_calloc(arena, op_array->last, sizeof(zend_ssa_op)); in zend_build_ssa()
1035 memset(ssa->ops, 0xff, op_array->last * sizeof(zend_ssa_op)); in zend_build_ssa()
1079 zend_ssa_op *op = ssa->ops + i; in zend_ssa_compute_use_def_chains()
1176 ssa->vars[var].use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain()
1182 if (ssa->ops[use].result_use == var) { in zend_ssa_unlink_use_chain()
1183 if (ssa->ops[use].res_use_chain == op) { in zend_ssa_unlink_use_chain()
1184 ssa->ops[use].res_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain()
1187 use = ssa->ops[use].res_use_chain; in zend_ssa_unlink_use_chain()
1189 } else if (ssa->ops[use].op1_use == var) { in zend_ssa_unlink_use_chain()
1190 if (ssa->ops[use].op1_use_chain == op) { in zend_ssa_unlink_use_chain()
1191 ssa->ops[use].op1_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain()
1194 use = ssa->ops[use].op1_use_chain; in zend_ssa_unlink_use_chain()
1196 } else if (ssa->ops[use].op2_use == var) { in zend_ssa_unlink_use_chain()
1197 if (ssa->ops[use].op2_use_chain == op) { in zend_ssa_unlink_use_chain()
1198 ssa->ops[use].op2_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain()
1201 use = ssa->ops[use].op2_use_chain; in zend_ssa_unlink_use_chain()
1221 if (ssa->ops[use].result_use == var) { in zend_ssa_replace_use_chain()
1222 if (ssa->ops[use].res_use_chain == op) { in zend_ssa_replace_use_chain()
1223 ssa->ops[use].res_use_chain = new_op; in zend_ssa_replace_use_chain()
1226 use = ssa->ops[use].res_use_chain; in zend_ssa_replace_use_chain()
1228 } else if (ssa->ops[use].op1_use == var) { in zend_ssa_replace_use_chain()
1229 if (ssa->ops[use].op1_use_chain == op) { in zend_ssa_replace_use_chain()
1230 ssa->ops[use].op1_use_chain = new_op; in zend_ssa_replace_use_chain()
1233 use = ssa->ops[use].op1_use_chain; in zend_ssa_replace_use_chain()
1235 } else if (ssa->ops[use].op2_use == var) { in zend_ssa_replace_use_chain()
1236 if (ssa->ops[use].op2_use_chain == op) { in zend_ssa_replace_use_chain()
1237 ssa->ops[use].op2_use_chain = new_op; in zend_ssa_replace_use_chain()
1240 use = ssa->ops[use].op2_use_chain; in zend_ssa_replace_use_chain()
1255 zend_ssa_unlink_use_chain(ssa, ssa_op - ssa->ops, ssa_op->result_use); in zend_ssa_remove_instr()
1261 zend_ssa_unlink_use_chain(ssa, ssa_op - ssa->ops, ssa_op->op1_use); in zend_ssa_remove_instr()
1269 zend_ssa_unlink_use_chain(ssa, ssa_op - ssa->ops, ssa_op->op2_use); in zend_ssa_remove_instr()
1408 zend_ssa_op *ssa_op = &ssa->ops[use]; in zend_ssa_remove_uses_of_var()
1493 zend_ssa_remove_defs_of_instr(ssa, &ssa->ops[j]); in zend_ssa_remove_block()
1494 zend_ssa_remove_instr(ssa, &op_array->opcodes[j], &ssa->ops[j]); in zend_ssa_remove_block()
1581 zend_ssa_op *ssa_op = &ssa->ops[use]; in zend_ssa_rename_var_uses()