tree duplicate_ssa_name_fn (struct function *fn, tree name, gimple stmt) { tree new_name = copy_ssa_name_fn (fn, name, stmt); struct ptr_info_def *old_ptr_info = SSA_NAME_PTR_INFO (name); if (old_ptr_info) duplicate_ssa_name_ptr_info (new_name, old_ptr_info); return new_name; }
tree duplicate_ssa_name_fn (struct function *fn, tree name, gimple stmt) { tree new_name = copy_ssa_name_fn (fn, name, stmt); if (POINTER_TYPE_P (TREE_TYPE (name))) { struct ptr_info_def *old_ptr_info = SSA_NAME_PTR_INFO (name); if (old_ptr_info) duplicate_ssa_name_ptr_info (new_name, old_ptr_info); } else { struct range_info_def *old_range_info = SSA_NAME_RANGE_INFO (name); if (old_range_info) duplicate_ssa_name_range_info (new_name, old_range_info); } return new_name; }