; LLVM IR from facebook/redex :: service/copy-propagation (AliasedRegisters)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.aliased_registers::AliasedRegisters" = type { %"class.aliased_registers::AliasGraph", %"class.sparta::PatriciaTreeMap" }
%"class.aliased_registers::AliasGraph" = type { %"class.std::shared_ptr.4", %class.UnorderedMap, %class.UnorderedMap.12, i64 }
%"class.std::shared_ptr.4" = type { %"class.std::__shared_ptr.5" }
%"class.std::__shared_ptr.5" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%class.UnorderedMap.12 = type { %"class.std::unordered_map.14" }
%"class.std::unordered_map.14" = type { %"class.std::_Hashtable.15" }
%"class.std::_Hashtable.15" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.sparta::PatriciaTreeMap" = type { %"class.sparta::pt_core::PatriciaTreeCore" }
%"class.sparta::pt_core::PatriciaTreeCore" = type { %"class.boost::intrusive_ptr" }
%"class.boost::intrusive_ptr" = type { ptr }

@.str.9 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [94 x i8], align 1
@__PRETTY_FUNCTION__._ZN17aliased_registers16AliasedRegisters4moveERKNS_5ValueES3_ = external hidden unnamed_addr constant [77 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17aliased_registers16AliasedRegisters4moveERKNS_5ValueES3_(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca i1, align 1
  %9 = alloca i1, align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca i1, align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i1, align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %"class.std::vector", align 8
  %22 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZNK17aliased_registers5Value7is_noneEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
  store i1 false, ptr %8, align 1
  store i1 false, ptr %9, align 1
  store i1 false, ptr %11, align 1
  store i1 false, ptr %14, align 1
  br i1 %25, label %30, label %26

26:                                               ; preds = %3
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = call noundef zeroext i1 @_ZNK17aliased_registers5Value7is_noneEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  br label %47

30:                                               ; preds = %26, %3
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #4
  store i1 true, ptr %8, align 1
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK17aliased_registers5Value3strB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %31)
  store i1 true, ptr %9, align 1
  %32 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #4
  store i1 true, ptr %11, align 1
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK17aliased_registers5Value3strB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %34 unwind label %37

34:                                               ; preds = %30
  store i1 true, ptr %14, align 1
  %35 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #4
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 76, ptr noundef @__PRETTY_FUNCTION__._ZN17aliased_registers16AliasedRegisters4moveERKNS_5ValueES3_, i32 noundef 2, ptr noundef @.str.11, ptr noundef %32, ptr noundef %35) #5
          to label %36 unwind label %41

36:                                               ; preds = %34
  unreachable

37:                                               ; preds = %30
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %12, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %13, align 4
  br label %66

41:                                               ; preds = %34
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %12, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %13, align 4
  %45 = load i1, ptr %14, align 1
  br i1 %45, label %64, label %65

46:                                               ; No predecessors!
  br label %47

47:                                               ; preds = %46, %29
  %48 = load i1, ptr %14, align 1
  br i1 %48, label %49, label %50

49:                                               ; preds = %47
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #4
  br label %50

50:                                               ; preds = %49, %47
  %51 = load i1, ptr %11, align 1
  br i1 %51, label %52, label %53

52:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #4
  br label %53

53:                                               ; preds = %52, %50
  %54 = load i1, ptr %9, align 1
  br i1 %54, label %55, label %56

55:                                               ; preds = %53
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  br label %56

56:                                               ; preds = %55, %53
  %57 = load i1, ptr %8, align 1
  br i1 %57, label %58, label %59

58:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #4
  br label %59

59:                                               ; preds = %58, %56
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = call noundef zeroext i1 @_ZNK17aliased_registers5ValueeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 8 dereferenceable(16) %61)
  br i1 %62, label %63, label %76

63:                                               ; preds = %59
  br label %129

64:                                               ; preds = %41
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #4
  br label %65

65:                                               ; preds = %64, %41
  br label %66

66:                                               ; preds = %65, %37
  %67 = load i1, ptr %11, align 1
  br i1 %67, label %68, label %69

68:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #4
  br label %69

69:                                               ; preds = %68, %66
  %70 = load i1, ptr %9, align 1
  br i1 %70, label %71, label %72

71:                                               ; preds = %69
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  br label %72

72:                                               ; preds = %71, %69
  %73 = load i1, ptr %8, align 1
  br i1 %73, label %74, label %75

74:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #4
  br label %75

75:                                               ; preds = %74, %72
  br label %131

76:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %77 = getelementptr inbounds %"class.aliased_registers::AliasedRegisters", ptr %23, i32 0, i32 0
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = call noundef i32 @_ZNK17aliased_registers10AliasGraph10get_vertexERKNS_5ValueE(ptr noundef nonnull align 8 dereferenceable(136) %77, ptr noundef nonnull align 8 dereferenceable(16) %78)
  store i32 %79, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %80 = getelementptr inbounds %"class.aliased_registers::AliasedRegisters", ptr %23, i32 0, i32 0
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = call noundef i32 @_ZNK17aliased_registers10AliasGraph10get_vertexERKNS_5ValueE(ptr noundef nonnull align 8 dereferenceable(136) %80, ptr noundef nonnull align 8 dereferenceable(16) %81)
  store i32 %82, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = call noundef i32 @_ZNK17aliased_registers16AliasedRegisters9find_rootEj(ptr noundef nonnull align 8 dereferenceable(144) %23, i32 noundef %83)
  store i32 %84, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = call noundef i32 @_ZNK17aliased_registers16AliasedRegisters9find_rootEj(ptr noundef nonnull align 8 dereferenceable(144) %23, i32 noundef %85)
  store i32 %86, ptr %18, align 4, !tbaa !9
  %87 = load i32, ptr %18, align 4, !tbaa !9
  %88 = load i32, ptr %17, align 4, !tbaa !9
  %89 = icmp eq i32 %87, %88
  br i1 %89, label %90, label %91

90:                                               ; preds = %76
  store i32 1, ptr %19, align 4
  br label %127

91:                                               ; preds = %76
  %92 = load i32, ptr %15, align 4, !tbaa !9
  call void @_ZN17aliased_registers16AliasedRegisters17maybe_change_rootEj(ptr noundef nonnull align 8 dereferenceable(144) %23, i32 noundef %92)
  %93 = getelementptr inbounds %"class.aliased_registers::AliasedRegisters", ptr %23, i32 0, i32 0
  %94 = load i32, ptr %15, align 4, !tbaa !9
  call void @_ZN17aliased_registers10AliasGraph12clear_vertexEj(ptr noundef nonnull align 8 dereferenceable(136) %93, i32 noundef %94)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #4
  %95 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZNK17aliased_registers16AliasedRegisters17vertices_in_groupEj(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %21, ptr noundef nonnull align 8 dereferenceable(144) %23, i32 noundef %95)
  store ptr %21, ptr %20, align 8, !tbaa !5
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = load i32, ptr %16, align 4, !tbaa !9
  %100 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN17aliased_registers16AliasedRegisters18track_insert_orderERKNS_5ValueEjS3_jRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(144) %23, ptr noundef nonnull align 8 dereferenceable(16) %96, i32 noundef %97, ptr noundef nonnull align 8 dereferenceable(16) %98, i32 noundef %99, ptr noundef nonnull align 8 dereferenceable(24) %100)
          to label %101 unwind label %118

101:                                              ; preds = %91
  %102 = getelementptr inbounds %"class.aliased_registers::AliasedRegisters", ptr %23, i32 0, i32 0
  %103 = load i32, ptr %15, align 4, !tbaa !9
  %104 = load i32, ptr %17, align 4, !tbaa !9
  invoke void @_ZN17aliased_registers10AliasGraph8add_edgeEjj(ptr noundef nonnull align 8 dereferenceable(136) %102, i32 noundef %103, i32 noundef %104)
          to label %105 unwind label %118

105:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %106 = getelementptr inbounds %"class.aliased_registers::AliasedRegisters", ptr %23, i32 0, i32 0
  %107 = load i32, ptr %17, align 4, !tbaa !9
  %108 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK17aliased_registers10AliasGraphixEj(ptr noundef nonnull align 8 dereferenceable(136) %106, i32 noundef %107)
          to label %109 unwind label %122

109:                                              ; preds = %105
  store ptr %108, ptr %22, align 8, !tbaa !5
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = load ptr, ptr %22, align 8, !tbaa !5
  %112 = invoke noundef zeroext i1 @_ZNK17aliased_registers5ValueltERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %110, ptr noundef nonnull align 8 dereferenceable(16) %111)
          to label %113 unwind label %122

113:                                              ; preds = %109
  br i1 %112, label %114, label %126

114:                                              ; preds = %113
  %115 = load i32, ptr %17, align 4, !tbaa !9
  %116 = load i32, ptr %15, align 4, !tbaa !9
  invoke void @_ZN17aliased_registers16AliasedRegisters14change_root_toEjj(ptr noundef nonnull align 8 dereferenceable(144) %23, i32 noundef %115, i32 noundef %116)
          to label %117 unwind label %122

117:                                              ; preds = %114
  br label %126

118:                                              ; preds = %101, %91
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %12, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %13, align 4
  br label %130

122:                                              ; preds = %114, %109, %105
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %12, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %130

126:                                              ; preds = %117, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  store i32 0, ptr %19, align 4
  br label %127

127:                                              ; preds = %126, %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  %128 = load i32, ptr %19, align 4
  switch i32 %128, label %136 [
    i32 0, label %129
    i32 1, label %129
  ]

129:                                              ; preds = %127, %127, %63
  ret void

130:                                              ; preds = %122, %118
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %131

131:                                              ; preds = %130, %75
  %132 = load ptr, ptr %12, align 8
  %133 = load i32, ptr %13, align 4
  %134 = insertvalue { ptr, i32 } poison, ptr %132, 0
  %135 = insertvalue { ptr, i32 } %134, i32 %133, 1
  resume { ptr, i32 } %135

136:                                              ; preds = %127
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK17aliased_registers5Value7is_noneEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK17aliased_registers5Value3strB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK17aliased_registers5ValueeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK17aliased_registers10AliasGraph10get_vertexERKNS_5ValueE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK17aliased_registers16AliasedRegisters9find_rootEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers16AliasedRegisters17maybe_change_rootEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers10AliasGraph12clear_vertexEj(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK17aliased_registers16AliasedRegisters17vertices_in_groupEj(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers16AliasedRegisters18track_insert_orderERKNS_5ValueEjS3_jRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers10AliasGraph8add_edgeEjj(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK17aliased_registers10AliasGraphixEj(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK17aliased_registers5ValueltERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers16AliasedRegisters14change_root_toEjj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.9 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [94 x i8], align 1
@__PRETTY_FUNCTION__._ZN17aliased_registers16AliasedRegisters4moveERKNS_5ValueES3_ = external hidden unnamed_addr constant [77 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [31 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17aliased_registers16AliasedRegisters4moveERKNS_5ValueES3_(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = tail call noundef zeroext i1 @_ZNK17aliased_registers5Value7is_noneEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  br i1 %7, label %10, label %8

8:                                                ; preds = %3
  %9 = tail call noundef zeroext i1 @_ZNK17aliased_registers5Value7is_noneEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  br i1 %9, label %10, label %19

10:                                               ; preds = %8, %3
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
  call void @_ZNK17aliased_registers5Value3strB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull align 8 dereferenceable(16) %1)
  %11 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  invoke void @_ZNK17aliased_registers5Value3strB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %12 unwind label %15

12:                                               ; preds = %10
  %13 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10, i32 noundef 76, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17aliased_registers16AliasedRegisters4moveERKNS_5ValueES3_, i32 noundef 2, ptr noundef nonnull @.str.11, ptr noundef %11, ptr noundef %13) #5
          to label %14 unwind label %17

14:                                               ; preds = %12
  unreachable

15:                                               ; preds = %10
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %21

17:                                               ; preds = %12
  %18 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  br label %21

19:                                               ; preds = %8
  %20 = tail call noundef zeroext i1 @_ZNK17aliased_registers5ValueeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %2)
  br i1 %20, label %41, label %22

21:                                               ; preds = %15, %17
  %.pn42 = phi { ptr, i32 } [ %18, %17 ], [ %16, %15 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  br label %43

22:                                               ; preds = %19
  %23 = tail call noundef i32 @_ZNK17aliased_registers10AliasGraph10get_vertexERKNS_5ValueE(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull align 8 dereferenceable(16) %1)
  %24 = tail call noundef i32 @_ZNK17aliased_registers10AliasGraph10get_vertexERKNS_5ValueE(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull align 8 dereferenceable(16) %2)
  %25 = tail call noundef i32 @_ZNK17aliased_registers16AliasedRegisters9find_rootEj(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %24)
  %26 = tail call noundef i32 @_ZNK17aliased_registers16AliasedRegisters9find_rootEj(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %23)
  %27 = icmp eq i32 %26, %25
  br i1 %27, label %41, label %28

28:                                               ; preds = %22
  tail call void @_ZN17aliased_registers16AliasedRegisters17maybe_change_rootEj(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %23)
  tail call void @_ZN17aliased_registers10AliasGraph12clear_vertexEj(ptr noundef nonnull align 8 dereferenceable(136) %0, i32 noundef %23)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
  call void @_ZNK17aliased_registers16AliasedRegisters17vertices_in_groupEj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %6, ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %25)
  invoke void @_ZN17aliased_registers16AliasedRegisters18track_insert_orderERKNS_5ValueEjS3_jRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %23, ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %24, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %29 unwind label %36

29:                                               ; preds = %28
  invoke void @_ZN17aliased_registers10AliasGraph8add_edgeEjj(ptr noundef nonnull align 8 dereferenceable(136) %0, i32 noundef %23, i32 noundef %25)
          to label %30 unwind label %36

30:                                               ; preds = %29
  %31 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK17aliased_registers10AliasGraphixEj(ptr noundef nonnull align 8 dereferenceable(136) %0, i32 noundef %25)
          to label %32 unwind label %38

32:                                               ; preds = %30
  %33 = invoke noundef zeroext i1 @_ZNK17aliased_registers5ValueltERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %34 unwind label %38

34:                                               ; preds = %32
  br i1 %33, label %35, label %40

35:                                               ; preds = %34
  invoke void @_ZN17aliased_registers16AliasedRegisters14change_root_toEjj(ptr noundef nonnull align 8 dereferenceable(144) %0, i32 noundef %25, i32 noundef %23)
          to label %40 unwind label %38

36:                                               ; preds = %29, %28
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %42

38:                                               ; preds = %35, %32, %30
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %42

40:                                               ; preds = %35, %34
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  br label %41

41:                                               ; preds = %40, %22, %19
  ret void

42:                                               ; preds = %38, %36
  %.pn = phi { ptr, i32 } [ %39, %38 ], [ %37, %36 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  br label %43

43:                                               ; preds = %21, %42
  %.pn42.pn = phi { ptr, i32 } [ %.pn42, %21 ], [ %.pn, %42 ]
  resume { ptr, i32 } %.pn42.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK17aliased_registers5Value7is_noneEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK17aliased_registers5Value3strB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK17aliased_registers5ValueeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK17aliased_registers10AliasGraph10get_vertexERKNS_5ValueE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK17aliased_registers16AliasedRegisters9find_rootEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers16AliasedRegisters17maybe_change_rootEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers10AliasGraph12clear_vertexEj(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK17aliased_registers16AliasedRegisters17vertices_in_groupEj(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers16AliasedRegisters18track_insert_orderERKNS_5ValueEjS3_jRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers10AliasGraph8add_edgeEjj(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK17aliased_registers10AliasGraphixEj(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK17aliased_registers5ValueltERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17aliased_registers16AliasedRegisters14change_root_toEjj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass