; LLVM IR from jorgemf/c-evolutionary-library :: examples/tsp (AlgorithmTSP)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"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::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.3 }
%union.anon.3 = type { i32 }
%class.AlgorithmTSP = type { ptr, i32, i32, ptr, ptr, i32, double, %"class.std::__cxx11::basic_string", ptr }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [22 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: nounwind
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN12AlgorithmTSP10loadCitiesENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca %"class.std::basic_ifstream", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %17 = load ptr, ptr %3, align 8
  %18 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 9, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  %19 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %20 = load i32, ptr %19, align 4, !tbaa !17
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %22, label %63

22:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 0, ptr %6, align 4, !tbaa !18
  br label %23

23:                                               ; preds = %48, %22
  %24 = load i32, ptr %6, align 4, !tbaa !18
  %25 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %26 = load i32, ptr %25, align 4, !tbaa !17
  %27 = icmp slt i32 %24, %26
  br i1 %27, label %29, label %28

28:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %51

29:                                               ; preds = %23
  %30 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %31 = load ptr, ptr %30, align 8, !tbaa !19
  %32 = load i32, ptr %6, align 4, !tbaa !18
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds ptr, ptr %31, i64 %33
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = icmp eq ptr %35, null
  br i1 %36, label %38, label %37

37:                                               ; preds = %29
  call void @_ZdlPvm(ptr noundef %35, i64 noundef 8) #10
  br label %38

38:                                               ; preds = %37, %29
  %39 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %40 = load ptr, ptr %39, align 8, !tbaa !20
  %41 = load i32, ptr %6, align 4, !tbaa !18
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds ptr, ptr %40, i64 %42
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = icmp eq ptr %44, null
  br i1 %45, label %47, label %46

46:                                               ; preds = %38
  call void @_ZdlPvm(ptr noundef %44, i64 noundef 8) #10
  br label %47

47:                                               ; preds = %46, %38
  br label %48

48:                                               ; preds = %47
  %49 = load i32, ptr %6, align 4, !tbaa !18
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %6, align 4, !tbaa !18
  br label %23, !llvm.loop !21

51:                                               ; preds = %28
  %52 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %53 = load ptr, ptr %52, align 8, !tbaa !19
  %54 = icmp eq ptr %53, null
  br i1 %54, label %56, label %55

55:                                               ; preds = %51
  call void @_ZdlPvm(ptr noundef %53, i64 noundef 8) #10
  br label %56

56:                                               ; preds = %55, %51
  %57 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %58 = load ptr, ptr %57, align 8, !tbaa !20
  %59 = icmp eq ptr %58, null
  br i1 %59, label %61, label %60

60:                                               ; preds = %56
  call void @_ZdlPvm(ptr noundef %58, i64 noundef 8) #10
  br label %61

61:                                               ; preds = %60, %56
  %62 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  store i32 -1, ptr %62, align 4, !tbaa !17
  br label %63

63:                                               ; preds = %61, %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #9
  store i8 0, ptr %7, align 1, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 520, ptr %8) #9
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %8)
          to label %64 unwind label %127

64:                                               ; preds = %63
  %65 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #9
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %8, ptr noundef %65, i32 noundef 8)
          to label %66 unwind label %131

66:                                               ; preds = %64
  %67 = load ptr, ptr %8, align 8, !tbaa !25
  %68 = getelementptr i8, ptr %67, i64 -24
  %69 = load i64, ptr %68, align 8
  %70 = getelementptr inbounds i8, ptr %8, i64 %69
  %71 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %70)
          to label %72 unwind label %131

72:                                               ; preds = %66
  %73 = zext i1 %71 to i8
  store i8 %73, ptr %7, align 1, !tbaa !23
  %74 = load i8, ptr %7, align 1, !tbaa !23, !range !27, !noundef !28
  %75 = trunc i8 %74 to i1
  br i1 %75, label %76, label %465

76:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #9
  store i8 1, ptr %11, align 1, !tbaa !23
  br label %77

77:                                               ; preds = %282, %76
  %78 = load ptr, ptr %8, align 8, !tbaa !25
  %79 = getelementptr i8, ptr %78, i64 -24
  %80 = load i64, ptr %79, align 8
  %81 = getelementptr inbounds i8, ptr %8, i64 %80
  %82 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %81)
          to label %83 unwind label %135

83:                                               ; preds = %77
  br i1 %82, label %90, label %84

84:                                               ; preds = %83
  %85 = load i8, ptr %7, align 1, !tbaa !23, !range !27, !noundef !28
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %90

87:                                               ; preds = %84
  %88 = load i8, ptr %11, align 1, !tbaa !23, !range !27, !noundef !28
  %89 = trunc i8 %88 to i1
  br label %90

90:                                               ; preds = %87, %84, %83
  %91 = phi i1 [ false, %84 ], [ false, %83 ], [ %89, %87 ]
  br i1 %91, label %92, label %283

92:                                               ; preds = %90
  %93 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %94 unwind label %135

94:                                               ; preds = %92
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.12)
          to label %96 unwind label %135

96:                                               ; preds = %94
  %97 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %98 unwind label %135

98:                                               ; preds = %96
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %100 unwind label %135

100:                                              ; preds = %98
  %101 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.13, i64 noundef 0) #9
  %102 = icmp ne i64 %101, -1
  br i1 %102, label %103, label %148

103:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %104 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.14, i64 noundef 0) #9
  %105 = trunc i64 %104 to i32
  store i32 %105, ptr %12, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #9
  %106 = load i32, ptr %12, align 4, !tbaa !18
  %107 = add nsw i32 %106, 1
  %108 = sext i32 %107 to i64
  %109 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  %110 = load i32, ptr %12, align 4, !tbaa !18
  %111 = add nsw i32 %110, 1
  %112 = sext i32 %111 to i64
  %113 = sub i64 %109, %112
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %108, i64 noundef %113)
          to label %114 unwind label %139

114:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  store ptr null, ptr %14, align 8, !tbaa !5
  %115 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  %116 = call i64 @strtol(ptr noundef %115, ptr noundef %14, i32 noundef 10) #9
  %117 = trunc i64 %116 to i32
  %118 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  store i32 %117, ptr %118, align 4, !tbaa !17
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.15)
          to label %120 unwind label %143

120:                                              ; preds = %114
  %121 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %122 = load i32, ptr %121, align 4, !tbaa !17
  %123 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %119, i32 noundef %122)
          to label %124 unwind label %143

124:                                              ; preds = %120
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %126 unwind label %143

126:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %148

127:                                              ; preds = %63
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %9, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %10, align 4
  br label %470

131:                                              ; preds = %465, %66, %64
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %9, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %10, align 4
  br label %469

135:                                              ; preds = %459, %457, %450, %443, %436, %429, %422, %414, %408, %400, %394, %386, %380, %371, %361, %326, %287, %260, %258, %255, %252, %248, %245, %242, %238, %235, %232, %228, %225, %222, %218, %215, %212, %208, %197, %195, %191, %188, %185, %181, %178, %175, %171, %168, %165, %161, %158, %155, %151, %98, %96, %94, %92, %77
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %9, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %10, align 4
  br label %464

139:                                              ; preds = %103
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %9, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %10, align 4
  br label %147

143:                                              ; preds = %124, %120, %114
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %9, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br label %147

147:                                              ; preds = %143, %139
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %464

148:                                              ; preds = %126, %100
  %149 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.16, i64 noundef 0) #9
  %150 = icmp ne i64 %149, -1
  br i1 %150, label %151, label %205

151:                                              ; preds = %148
  %152 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.17, i64 noundef -1)
          to label %153 unwind label %135

153:                                              ; preds = %151
  %154 = icmp ne i64 %152, -1
  br i1 %154, label %155, label %161

155:                                              ; preds = %153
  %156 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 0, ptr %156, align 8, !tbaa !9
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.18)
          to label %158 unwind label %135

158:                                              ; preds = %155
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %157, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %160 unwind label %135

160:                                              ; preds = %158
  br label %204

161:                                              ; preds = %153
  %162 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.19, i64 noundef -1)
          to label %163 unwind label %135

163:                                              ; preds = %161
  %164 = icmp ne i64 %162, -1
  br i1 %164, label %165, label %171

165:                                              ; preds = %163
  %166 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 1, ptr %166, align 8, !tbaa !9
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.20)
          to label %168 unwind label %135

168:                                              ; preds = %165
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %170 unwind label %135

170:                                              ; preds = %168
  br label %203

171:                                              ; preds = %163
  %172 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.21, i64 noundef -1)
          to label %173 unwind label %135

173:                                              ; preds = %171
  %174 = icmp ne i64 %172, -1
  br i1 %174, label %175, label %181

175:                                              ; preds = %173
  %176 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 3, ptr %176, align 8, !tbaa !9
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.22)
          to label %178 unwind label %135

178:                                              ; preds = %175
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %177, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %180 unwind label %135

180:                                              ; preds = %178
  br label %202

181:                                              ; preds = %173
  %182 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.23, i64 noundef -1)
          to label %183 unwind label %135

183:                                              ; preds = %181
  %184 = icmp ne i64 %182, -1
  br i1 %184, label %185, label %191

185:                                              ; preds = %183
  %186 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 2, ptr %186, align 8, !tbaa !9
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.24)
          to label %188 unwind label %135

188:                                              ; preds = %185
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %190 unwind label %135

190:                                              ; preds = %188
  br label %201

191:                                              ; preds = %183
  %192 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.25, i64 noundef -1)
          to label %193 unwind label %135

193:                                              ; preds = %191
  %194 = icmp eq i64 %192, -1
  br i1 %194, label %195, label %200

195:                                              ; preds = %193
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.26)
          to label %197 unwind label %135

197:                                              ; preds = %195
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %199 unwind label %135

199:                                              ; preds = %197
  br label %200

200:                                              ; preds = %199, %193
  br label %201

201:                                              ; preds = %200, %190
  br label %202

202:                                              ; preds = %201, %180
  br label %203

203:                                              ; preds = %202, %170
  br label %204

204:                                              ; preds = %203, %160
  br label %269

205:                                              ; preds = %148
  %206 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.27, i64 noundef 0) #9
  %207 = icmp ne i64 %206, -1
  br i1 %207, label %208, label %268

208:                                              ; preds = %205
  %209 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.28, i64 noundef -1)
          to label %210 unwind label %135

210:                                              ; preds = %208
  %211 = icmp ne i64 %209, -1
  br i1 %211, label %212, label %218

212:                                              ; preds = %210
  %213 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 4, ptr %213, align 8, !tbaa !9
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.29)
          to label %215 unwind label %135

215:                                              ; preds = %212
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %217 unwind label %135

217:                                              ; preds = %215
  br label %267

218:                                              ; preds = %210
  %219 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.30, i64 noundef -1)
          to label %220 unwind label %135

220:                                              ; preds = %218
  %221 = icmp ne i64 %219, -1
  br i1 %221, label %222, label %228

222:                                              ; preds = %220
  %223 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 5, ptr %223, align 8, !tbaa !9
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
          to label %225 unwind label %135

225:                                              ; preds = %222
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %224, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %227 unwind label %135

227:                                              ; preds = %225
  br label %266

228:                                              ; preds = %220
  %229 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.32, i64 noundef -1)
          to label %230 unwind label %135

230:                                              ; preds = %228
  %231 = icmp ne i64 %229, -1
  br i1 %231, label %232, label %238

232:                                              ; preds = %230
  %233 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 6, ptr %233, align 8, !tbaa !9
  %234 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.33)
          to label %235 unwind label %135

235:                                              ; preds = %232
  %236 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %234, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %237 unwind label %135

237:                                              ; preds = %235
  br label %265

238:                                              ; preds = %230
  %239 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.34, i64 noundef -1)
          to label %240 unwind label %135

240:                                              ; preds = %238
  %241 = icmp ne i64 %239, -1
  br i1 %241, label %242, label %248

242:                                              ; preds = %240
  %243 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 7, ptr %243, align 8, !tbaa !9
  %244 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.35)
          to label %245 unwind label %135

245:                                              ; preds = %242
  %246 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %244, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %247 unwind label %135

247:                                              ; preds = %245
  br label %264

248:                                              ; preds = %240
  %249 = invoke noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.36, i64 noundef -1)
          to label %250 unwind label %135

250:                                              ; preds = %248
  %251 = icmp ne i64 %249, -1
  br i1 %251, label %252, label %258

252:                                              ; preds = %250
  %253 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  store i32 8, ptr %253, align 8, !tbaa !9
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.37)
          to label %255 unwind label %135

255:                                              ; preds = %252
  %256 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %254, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %257 unwind label %135

257:                                              ; preds = %255
  br label %263

258:                                              ; preds = %250
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.26)
          to label %260 unwind label %135

260:                                              ; preds = %258
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %262 unwind label %135

262:                                              ; preds = %260
  br label %263

263:                                              ; preds = %262, %257
  br label %264

264:                                              ; preds = %263, %247
  br label %265

265:                                              ; preds = %264, %237
  br label %266

266:                                              ; preds = %265, %227
  br label %267

267:                                              ; preds = %266, %217
  br label %268

268:                                              ; preds = %267, %205
  br label %269

269:                                              ; preds = %268, %204
  %270 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.38, i64 noundef 0) #9
  %271 = icmp ne i64 %270, -1
  br i1 %271, label %281, label %272

272:                                              ; preds = %269
  %273 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.39, i64 noundef 0) #9
  %274 = icmp ne i64 %273, -1
  br i1 %274, label %281, label %275

275:                                              ; preds = %272
  %276 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.40, i64 noundef 0) #9
  %277 = icmp ne i64 %276, -1
  br i1 %277, label %281, label %278

278:                                              ; preds = %275
  %279 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.41, i64 noundef 0) #9
  %280 = icmp ne i64 %279, -1
  br i1 %280, label %281, label %282

281:                                              ; preds = %278, %275, %272, %269
  store i8 0, ptr %11, align 1, !tbaa !23
  br label %282

282:                                              ; preds = %281, %278
  br label %77, !llvm.loop !29

283:                                              ; preds = %90
  %284 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %285 = load i32, ptr %284, align 4, !tbaa !17
  %286 = icmp sgt i32 %285, 0
  br i1 %286, label %287, label %463

287:                                              ; preds = %283
  %288 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %289 = load i32, ptr %288, align 4, !tbaa !17
  %290 = sext i32 %289 to i64
  %291 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %290, i64 8)
  %292 = extractvalue { i64, i1 } %291, 1
  %293 = extractvalue { i64, i1 } %291, 0
  %294 = select i1 %292, i64 -1, i64 %293
  %295 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %294) #11
          to label %296 unwind label %135

296:                                              ; preds = %287
  %297 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  store ptr %295, ptr %297, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  store i32 0, ptr %15, align 4, !tbaa !18
  br label %298

298:                                              ; preds = %319, %296
  %299 = load i32, ptr %15, align 4, !tbaa !18
  %300 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %301 = load i32, ptr %300, align 4, !tbaa !17
  %302 = icmp slt i32 %299, %301
  br i1 %302, label %304, label %303

303:                                              ; preds = %298
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %326

304:                                              ; preds = %298
  %305 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %306 = load i32, ptr %305, align 4, !tbaa !17
  %307 = sext i32 %306 to i64
  %308 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %307, i64 8)
  %309 = extractvalue { i64, i1 } %308, 1
  %310 = extractvalue { i64, i1 } %308, 0
  %311 = select i1 %309, i64 -1, i64 %310
  %312 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %311) #11
          to label %313 unwind label %322

313:                                              ; preds = %304
  %314 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %315 = load ptr, ptr %314, align 8, !tbaa !19
  %316 = load i32, ptr %15, align 4, !tbaa !18
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds ptr, ptr %315, i64 %317
  store ptr %312, ptr %318, align 8, !tbaa !5
  br label %319

319:                                              ; preds = %313
  %320 = load i32, ptr %15, align 4, !tbaa !18
  %321 = add nsw i32 %320, 1
  store i32 %321, ptr %15, align 4, !tbaa !18
  br label %298, !llvm.loop !30

322:                                              ; preds = %304
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %9, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %464

326:                                              ; preds = %303
  %327 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %328 = load i32, ptr %327, align 4, !tbaa !17
  %329 = sext i32 %328 to i64
  %330 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %329, i64 8)
  %331 = extractvalue { i64, i1 } %330, 1
  %332 = extractvalue { i64, i1 } %330, 0
  %333 = select i1 %331, i64 -1, i64 %332
  %334 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %333) #11
          to label %335 unwind label %135

335:                                              ; preds = %326
  %336 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  store ptr %334, ptr %336, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !18
  br label %337

337:                                              ; preds = %351, %335
  %338 = load i32, ptr %16, align 4, !tbaa !18
  %339 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %340 = load i32, ptr %339, align 4, !tbaa !17
  %341 = icmp slt i32 %338, %340
  br i1 %341, label %343, label %342

342:                                              ; preds = %337
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %358

343:                                              ; preds = %337
  %344 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 24) #11
          to label %345 unwind label %354

345:                                              ; preds = %343
  %346 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %347 = load ptr, ptr %346, align 8, !tbaa !20
  %348 = load i32, ptr %16, align 4, !tbaa !18
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds ptr, ptr %347, i64 %349
  store ptr %344, ptr %350, align 8, !tbaa !5
  br label %351

351:                                              ; preds = %345
  %352 = load i32, ptr %16, align 4, !tbaa !18
  %353 = add nsw i32 %352, 1
  store i32 %353, ptr %16, align 4, !tbaa !18
  br label %337, !llvm.loop !31

354:                                              ; preds = %343
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %9, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %464

358:                                              ; preds = %342
  %359 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 5
  %360 = load i32, ptr %359, align 8, !tbaa !9
  switch i32 %360, label %462 [
    i32 0, label %361
    i32 3, label %380
    i32 1, label %394
    i32 2, label %408
    i32 4, label %422
    i32 5, label %429
    i32 6, label %436
    i32 7, label %443
    i32 8, label %450
    i32 9, label %457
  ]

361:                                              ; preds = %358
  %362 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %363 = load i32, ptr %362, align 4, !tbaa !17
  %364 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %365 = load ptr, ptr %364, align 8, !tbaa !20
  %366 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(256) %8, i32 noundef %363, ptr noundef %365)
          to label %367 unwind label %135

367:                                              ; preds = %361
  %368 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %369 = load i32, ptr %368, align 4, !tbaa !17
  %370 = icmp sle i32 %369, 1024
  br i1 %370, label %371, label %379

371:                                              ; preds = %367
  %372 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %373 = load i32, ptr %372, align 4, !tbaa !17
  %374 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %375 = load ptr, ptr %374, align 8, !tbaa !20
  %376 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %377 = load ptr, ptr %376, align 8, !tbaa !19
  invoke void @_ZN12AlgorithmTSP26calculateEuclideanDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88) %17, i32 noundef %373, ptr noundef %375, ptr noundef %377)
          to label %378 unwind label %135

378:                                              ; preds = %371
  br label %379

379:                                              ; preds = %378, %367
  br label %462

380:                                              ; preds = %358
  %381 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %382 = load i32, ptr %381, align 4, !tbaa !17
  %383 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %384 = load ptr, ptr %383, align 8, !tbaa !20
  %385 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(256) %8, i32 noundef %382, ptr noundef %384)
          to label %386 unwind label %135

386:                                              ; preds = %380
  %387 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %388 = load i32, ptr %387, align 4, !tbaa !17
  %389 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %390 = load ptr, ptr %389, align 8, !tbaa !20
  %391 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %392 = load ptr, ptr %391, align 8, !tbaa !19
  invoke void @_ZN12AlgorithmTSP29calculateGeographicalDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88) %17, i32 noundef %388, ptr noundef %390, ptr noundef %392)
          to label %393 unwind label %135

393:                                              ; preds = %386
  br label %462

394:                                              ; preds = %358
  %395 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %396 = load i32, ptr %395, align 4, !tbaa !17
  %397 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %398 = load ptr, ptr %397, align 8, !tbaa !20
  %399 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(256) %8, i32 noundef %396, ptr noundef %398)
          to label %400 unwind label %135

400:                                              ; preds = %394
  %401 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %402 = load i32, ptr %401, align 4, !tbaa !17
  %403 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %404 = load ptr, ptr %403, align 8, !tbaa !20
  %405 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %406 = load ptr, ptr %405, align 8, !tbaa !19
  invoke void @_ZN12AlgorithmTSP31calculateEuclideanDistanceCeilsEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88) %17, i32 noundef %402, ptr noundef %404, ptr noundef %406)
          to label %407 unwind label %135

407:                                              ; preds = %400
  br label %462

408:                                              ; preds = %358
  %409 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %410 = load i32, ptr %409, align 4, !tbaa !17
  %411 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %412 = load ptr, ptr %411, align 8, !tbaa !20
  %413 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(256) %8, i32 noundef %410, ptr noundef %412)
          to label %414 unwind label %135

414:                                              ; preds = %408
  %415 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %416 = load i32, ptr %415, align 4, !tbaa !17
  %417 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 4
  %418 = load ptr, ptr %417, align 8, !tbaa !20
  %419 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %420 = load ptr, ptr %419, align 8, !tbaa !19
  invoke void @_ZN12AlgorithmTSP20calculateATTDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88) %17, i32 noundef %416, ptr noundef %418, ptr noundef %420)
          to label %421 unwind label %135

421:                                              ; preds = %414
  br label %462

422:                                              ; preds = %358
  %423 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %424 = load i32, ptr %423, align 4, !tbaa !17
  %425 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %426 = load ptr, ptr %425, align 8, !tbaa !19
  %427 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP10readMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(256) %8, i32 noundef %424, ptr noundef %426)
          to label %428 unwind label %135

428:                                              ; preds = %422
  br label %462

429:                                              ; preds = %358
  %430 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %431 = load i32, ptr %430, align 4, !tbaa !17
  %432 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %433 = load ptr, ptr %432, align 8, !tbaa !19
  %434 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readUpperMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(256) %8, i32 noundef %431, ptr noundef %433)
          to label %435 unwind label %135

435:                                              ; preds = %429
  br label %462

436:                                              ; preds = %358
  %437 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %438 = load i32, ptr %437, align 4, !tbaa !17
  %439 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %440 = load ptr, ptr %439, align 8, !tbaa !19
  %441 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readLowerMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(256) %8, i32 noundef %438, ptr noundef %440)
          to label %442 unwind label %135

442:                                              ; preds = %436
  br label %462

443:                                              ; preds = %358
  %444 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %445 = load i32, ptr %444, align 4, !tbaa !17
  %446 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %447 = load ptr, ptr %446, align 8, !tbaa !19
  %448 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP19readUpperDiagMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(256) %8, i32 noundef %445, ptr noundef %447)
          to label %449 unwind label %135

449:                                              ; preds = %443
  br label %462

450:                                              ; preds = %358
  %451 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %452 = load i32, ptr %451, align 4, !tbaa !17
  %453 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 3
  %454 = load ptr, ptr %453, align 8, !tbaa !19
  %455 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP19readLowerDiagMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(256) %8, i32 noundef %452, ptr noundef %454)
          to label %456 unwind label %135

456:                                              ; preds = %450
  br label %462

457:                                              ; preds = %358
  %458 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.42)
          to label %459 unwind label %135

459:                                              ; preds = %457
  %460 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %458, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %461 unwind label %135

461:                                              ; preds = %459
  br label %462

462:                                              ; preds = %461, %456, %449, %442, %435, %428, %421, %407, %393, %379, %358
  br label %463

463:                                              ; preds = %462, %283
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  br label %465

464:                                              ; preds = %354, %322, %147, %135
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #9
  br label %469

465:                                              ; preds = %463, %72
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %8)
          to label %466 unwind label %131

466:                                              ; preds = %465
  %467 = getelementptr inbounds %class.AlgorithmTSP, ptr %17, i32 0, i32 2
  %468 = load i32, ptr %467, align 4, !tbaa !17
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %8) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #9
  ret i32 %468

469:                                              ; preds = %464, %131
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %8) #9
  br label %470

470:                                              ; preds = %469, %127
  call void @llvm.lifetime.end.p0(i64 520, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #9
  br label %471

471:                                              ; preds = %470
  %472 = load ptr, ptr %9, align 8
  %473 = load i32, ptr %10, align 4
  %474 = insertvalue { ptr, i32 } poison, ptr %472, 0
  %475 = insertvalue { ptr, i32 } %474, i32 %473, 1
  resume { ptr, i32 } %475
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #5

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) #0 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12AlgorithmTSP26calculateEuclideanDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12AlgorithmTSP29calculateGeographicalDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12AlgorithmTSP31calculateEuclideanDistanceCeilsEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12AlgorithmTSP20calculateATTDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP10readMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP15readUpperMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP15readLowerMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP19readUpperDiagMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP19readLowerDiagMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind "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 = { 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 #4 = { inlinehint 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nobuiltin allocsize(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 #7 = { nobuiltin nounwind "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 #8 = { "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 #9 = { nounwind }
attributes #10 = { builtin nounwind }
attributes #11 = { builtin allocsize(0) }

!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, !12, i64 32}
!10 = !{!"_ZTS12AlgorithmTSP", !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !12, i64 32, !13, i64 40, !14, i64 48, !6, i64 80}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSN12AlgorithmTSP9DATA_TYPEE", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !7, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!10, !11, i64 12}
!18 = !{!11, !11, i64 0}
!19 = !{!10, !6, i64 16}
!20 = !{!10, !6, i64 24}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !24, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"vtable pointer", !8, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = distinct !{!29, !22}
!30 = distinct !{!30, !22}
!31 = distinct !{!31, !22}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"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::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.3 }
%union.anon.3 = type { i32 }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [22 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN12AlgorithmTSP10loadCitiesENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::basic_ifstream", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca ptr, align 8
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 9, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  %8 = getelementptr inbounds i8, ptr %0, i64 12
  %9 = load i32, ptr %8, align 4, !tbaa !16
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph, label %39

.lr.ph:                                           ; preds = %2
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  br label %16

._crit_edge:                                      ; preds = %28
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  %14 = load ptr, ptr %13, align 8, !tbaa !17
  %15 = icmp eq ptr %14, null
  br i1 %15, label %33, label %32

16:                                               ; preds = %.lr.ph, %28
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %28 ]
  %17 = load ptr, ptr %11, align 8, !tbaa !17
  %18 = getelementptr inbounds ptr, ptr %17, i64 %indvars.iv
  %19 = load ptr, ptr %18, align 8, !tbaa !18
  %20 = icmp eq ptr %19, null
  br i1 %20, label %22, label %21

21:                                               ; preds = %16
  call void @_ZdlPvm(ptr noundef nonnull %19, i64 noundef 8) #10
  br label %22

22:                                               ; preds = %21, %16
  %23 = load ptr, ptr %12, align 8, !tbaa !19
  %24 = getelementptr inbounds ptr, ptr %23, i64 %indvars.iv
  %25 = load ptr, ptr %24, align 8, !tbaa !18
  %26 = icmp eq ptr %25, null
  br i1 %26, label %28, label %27

27:                                               ; preds = %22
  call void @_ZdlPvm(ptr noundef nonnull %25, i64 noundef 8) #10
  br label %28

28:                                               ; preds = %22, %27
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = load i32, ptr %8, align 4, !tbaa !16
  %30 = sext i32 %29 to i64
  %31 = icmp slt i64 %indvars.iv.next, %30
  br i1 %31, label %16, label %._crit_edge, !llvm.loop !20

32:                                               ; preds = %._crit_edge
  call void @_ZdlPvm(ptr noundef nonnull %14, i64 noundef 8) #10
  br label %33

33:                                               ; preds = %32, %._crit_edge
  %34 = getelementptr inbounds i8, ptr %0, i64 24
  %35 = load ptr, ptr %34, align 8, !tbaa !19
  %36 = icmp eq ptr %35, null
  br i1 %36, label %38, label %37

37:                                               ; preds = %33
  call void @_ZdlPvm(ptr noundef nonnull %35, i64 noundef 8) #10
  br label %38

38:                                               ; preds = %37, %33
  store i32 -1, ptr %8, align 4, !tbaa !16
  br label %39

39:                                               ; preds = %38, %2
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %4) #9
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %4)
          to label %40 unwind label %81

40:                                               ; preds = %39
  %41 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #9
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %4, ptr noundef %41, i32 noundef 8)
          to label %42 unwind label %83

42:                                               ; preds = %40
  %43 = load ptr, ptr %4, align 8, !tbaa !22
  %44 = getelementptr i8, ptr %43, i64 -24
  %45 = load i64, ptr %44, align 8
  %46 = getelementptr inbounds i8, ptr %4, i64 %45
  %47 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %46)
  br i1 %47, label %.preheader.outer, label %200

.preheader.outer:                                 ; preds = %42, %127
  %.019.not = phi i1 [ true, %127 ], [ false, %42 ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.outer, %125
  %48 = load ptr, ptr %4, align 8, !tbaa !22
  %49 = getelementptr i8, ptr %48, i64 -24
  %50 = load i64, ptr %49, align 8
  %51 = getelementptr inbounds i8, ptr %4, i64 %50
  %52 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %51)
          to label %53 unwind label %.loopexit

53:                                               ; preds = %.preheader
  %brmerge = or i1 %52, %.019.not
  br i1 %brmerge, label %.critedge, label %54

54:                                               ; preds = %53
  %55 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %56 unwind label %.loopexit

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.12)
          to label %58 unwind label %.loopexit

58:                                               ; preds = %56
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %60 unwind label %.loopexit

60:                                               ; preds = %58
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %62 unwind label %.loopexit

62:                                               ; preds = %60
  %63 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.13, i64 noundef 0) #9
  %.not = icmp eq i64 %63, -1
  br i1 %.not, label %90, label %64

64:                                               ; preds = %62
  %65 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.14, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #9
  %66 = shl i64 %65, 32
  %sext = add i64 %66, 4294967296
  %67 = ashr exact i64 %sext, 32
  %68 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  %69 = sub i64 %68, %67
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %67, i64 noundef %69)
          to label %70 unwind label %85

70:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  store ptr null, ptr %6, align 8, !tbaa !18
  %71 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  %72 = call i64 @strtol(ptr noundef %71, ptr noundef nonnull %6, i32 noundef 10) #9
  %73 = trunc i64 %72 to i32
  store i32 %73, ptr %8, align 4, !tbaa !16
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.15)
          to label %75 unwind label %87

75:                                               ; preds = %70
  %76 = load i32, ptr %8, align 4, !tbaa !16
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %74, i32 noundef %76)
          to label %78 unwind label %87

78:                                               ; preds = %75
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %80 unwind label %87

80:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  br label %90

81:                                               ; preds = %39
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %204

83:                                               ; preds = %200, %40
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %203

.loopexit:                                        ; preds = %.invoke75, %.invoke, %.preheader, %54, %56, %58, %60
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %203

.loopexit.split-lp:                               ; preds = %130, %._crit_edge61, %151, %160, %167, %174, %181, %184, %187, %190, %193, %196, %198
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %203

85:                                               ; preds = %64
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %89

87:                                               ; preds = %78, %75, %70
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  br label %89

89:                                               ; preds = %87, %85
  %.pn = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  br label %203

90:                                               ; preds = %80, %62
  %91 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.16, i64 noundef 0) #9
  %.not37 = icmp eq i64 %91, -1
  br i1 %.not37, label %107, label %92

92:                                               ; preds = %90
  %93 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.17, i64 noundef -1)
  %.not44 = icmp eq i64 %93, -1
  br i1 %.not44, label %98, label %.invoke75.sink.split

.invoke75.sink.split:                             ; preds = %92, %117, %115, %113, %111, %109, %102, %100, %98
  %.sink = phi i32 [ 1, %98 ], [ 3, %100 ], [ 2, %102 ], [ 4, %109 ], [ 5, %111 ], [ 6, %113 ], [ 7, %115 ], [ 8, %117 ], [ 0, %92 ]
  %.ph = phi ptr [ @.str.20, %98 ], [ @.str.22, %100 ], [ @.str.24, %102 ], [ @.str.29, %109 ], [ @.str.31, %111 ], [ @.str.33, %113 ], [ @.str.35, %115 ], [ @.str.37, %117 ], [ @.str.18, %92 ]
  store i32 %.sink, ptr %7, align 8, !tbaa !5
  br label %.invoke75

.invoke75:                                        ; preds = %.invoke75.sink.split, %117, %104
  %94 = phi ptr [ @_ZSt4cerr, %104 ], [ @_ZSt4cerr, %117 ], [ @_ZSt4cout, %.invoke75.sink.split ]
  %95 = phi ptr [ @.str.26, %104 ], [ @.str.26, %117 ], [ %.ph, %.invoke75.sink.split ]
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull %95)
          to label %.invoke unwind label %.loopexit

.invoke:                                          ; preds = %.invoke75
  %97 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %119 unwind label %.loopexit

98:                                               ; preds = %92
  %99 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.19, i64 noundef -1)
  %.not45 = icmp eq i64 %99, -1
  br i1 %.not45, label %100, label %.invoke75.sink.split

100:                                              ; preds = %98
  %101 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.21, i64 noundef -1)
  %.not46 = icmp eq i64 %101, -1
  br i1 %.not46, label %102, label %.invoke75.sink.split

102:                                              ; preds = %100
  %103 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.23, i64 noundef -1)
  %.not47 = icmp eq i64 %103, -1
  br i1 %.not47, label %104, label %.invoke75.sink.split

104:                                              ; preds = %102
  %105 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.25, i64 noundef -1)
  %106 = icmp eq i64 %105, -1
  br i1 %106, label %.invoke75, label %119

107:                                              ; preds = %90
  %108 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.27, i64 noundef 0) #9
  %.not38 = icmp eq i64 %108, -1
  br i1 %.not38, label %119, label %109

109:                                              ; preds = %107
  %110 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.28, i64 noundef -1)
  %.not39 = icmp eq i64 %110, -1
  br i1 %.not39, label %111, label %.invoke75.sink.split

111:                                              ; preds = %109
  %112 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.30, i64 noundef -1)
  %.not40 = icmp eq i64 %112, -1
  br i1 %.not40, label %113, label %.invoke75.sink.split

113:                                              ; preds = %111
  %114 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.32, i64 noundef -1)
  %.not41 = icmp eq i64 %114, -1
  br i1 %.not41, label %115, label %.invoke75.sink.split

115:                                              ; preds = %113
  %116 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.34, i64 noundef -1)
  %.not42 = icmp eq i64 %116, -1
  br i1 %.not42, label %117, label %.invoke75.sink.split

117:                                              ; preds = %115
  %118 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.36, i64 noundef -1)
  %.not43 = icmp eq i64 %118, -1
  br i1 %.not43, label %.invoke75, label %.invoke75.sink.split

119:                                              ; preds = %.invoke, %107, %104
  %120 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.38, i64 noundef 0) #9
  %.not48 = icmp eq i64 %120, -1
  br i1 %.not48, label %121, label %127

121:                                              ; preds = %119
  %122 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.39, i64 noundef 0) #9
  %.not49 = icmp eq i64 %122, -1
  br i1 %.not49, label %123, label %127

123:                                              ; preds = %121
  %124 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.40, i64 noundef 0) #9
  %.not50 = icmp eq i64 %124, -1
  br i1 %.not50, label %125, label %127

125:                                              ; preds = %123
  %126 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.41, i64 noundef 0) #9
  %.not51 = icmp eq i64 %126, -1
  br i1 %.not51, label %.preheader, label %127, !llvm.loop !24

127:                                              ; preds = %125, %123, %121, %119
  br label %.preheader.outer, !llvm.loop !24

.critedge:                                        ; preds = %53
  %128 = load i32, ptr %8, align 4, !tbaa !16
  %129 = icmp sgt i32 %128, 0
  br i1 %129, label %130, label %200

130:                                              ; preds = %.critedge
  %131 = zext nneg i32 %128 to i64
  %132 = shl nuw nsw i64 %131, 3
  %133 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %132) #11
          to label %.lr.ph60 unwind label %.loopexit.split-lp

.lr.ph60:                                         ; preds = %130
  %134 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %133, ptr %134, align 8, !tbaa !17
  br label %136

._crit_edge61:                                    ; preds = %138
  %135 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %132) #11
          to label %.lr.ph64.preheader unwind label %.loopexit.split-lp

136:                                              ; preds = %.lr.ph60, %138
  %indvars.iv67 = phi i64 [ 0, %.lr.ph60 ], [ %indvars.iv.next68, %138 ]
  %137 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %132) #11
          to label %138 unwind label %141

138:                                              ; preds = %136
  %139 = load ptr, ptr %134, align 8, !tbaa !17
  %140 = getelementptr inbounds ptr, ptr %139, i64 %indvars.iv67
  store ptr %137, ptr %140, align 8, !tbaa !18
  %indvars.iv.next68 = add nuw nsw i64 %indvars.iv67, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next68, %131
  br i1 %exitcond.not, label %._crit_edge61, label %136, !llvm.loop !25

141:                                              ; preds = %136
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %203

.lr.ph64.preheader:                               ; preds = %._crit_edge61
  %143 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %135, ptr %143, align 8, !tbaa !19
  %smax = call i32 @llvm.smax.i32(i32 %128, i32 1)
  %wide.trip.count73 = zext nneg i32 %smax to i64
  br label %.lr.ph64

._crit_edge65:                                    ; preds = %146
  %144 = load i32, ptr %7, align 8, !tbaa !5
  switch i32 %144, label %200 [
    i32 0, label %151
    i32 3, label %160
    i32 1, label %167
    i32 2, label %174
    i32 4, label %181
    i32 5, label %184
    i32 6, label %187
    i32 7, label %190
    i32 8, label %193
    i32 9, label %196
  ]

.lr.ph64:                                         ; preds = %.lr.ph64.preheader, %146
  %indvars.iv70 = phi i64 [ 0, %.lr.ph64.preheader ], [ %indvars.iv.next71, %146 ]
  %145 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znam(i64 noundef 24) #11
          to label %146 unwind label %149

146:                                              ; preds = %.lr.ph64
  %147 = load ptr, ptr %143, align 8, !tbaa !19
  %148 = getelementptr inbounds ptr, ptr %147, i64 %indvars.iv70
  store ptr %145, ptr %148, align 8, !tbaa !18
  %indvars.iv.next71 = add nuw nsw i64 %indvars.iv70, 1
  %exitcond74.not = icmp eq i64 %indvars.iv.next71, %wide.trip.count73
  br i1 %exitcond74.not, label %._crit_edge65, label %.lr.ph64, !llvm.loop !26

149:                                              ; preds = %.lr.ph64
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %203

151:                                              ; preds = %._crit_edge65
  %152 = load ptr, ptr %143, align 8, !tbaa !19
  %153 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(256) %4, i32 noundef %128, ptr noundef %152)
          to label %154 unwind label %.loopexit.split-lp

154:                                              ; preds = %151
  %155 = load i32, ptr %8, align 4, !tbaa !16
  %156 = icmp slt i32 %155, 1025
  br i1 %156, label %157, label %200

157:                                              ; preds = %154
  %158 = load ptr, ptr %143, align 8, !tbaa !19
  %159 = load ptr, ptr %134, align 8, !tbaa !17
  call void @_ZN12AlgorithmTSP26calculateEuclideanDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef %155, ptr noundef %158, ptr noundef %159)
  br label %200

160:                                              ; preds = %._crit_edge65
  %161 = load ptr, ptr %143, align 8, !tbaa !19
  %162 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(256) %4, i32 noundef %128, ptr noundef %161)
          to label %163 unwind label %.loopexit.split-lp

163:                                              ; preds = %160
  %164 = load i32, ptr %8, align 4, !tbaa !16
  %165 = load ptr, ptr %143, align 8, !tbaa !19
  %166 = load ptr, ptr %134, align 8, !tbaa !17
  call void @_ZN12AlgorithmTSP29calculateGeographicalDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef %164, ptr noundef %165, ptr noundef %166)
  br label %200

167:                                              ; preds = %._crit_edge65
  %168 = load ptr, ptr %143, align 8, !tbaa !19
  %169 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(256) %4, i32 noundef %128, ptr noundef %168)
          to label %170 unwind label %.loopexit.split-lp

170:                                              ; preds = %167
  %171 = load i32, ptr %8, align 4, !tbaa !16
  %172 = load ptr, ptr %143, align 8, !tbaa !19
  %173 = load ptr, ptr %134, align 8, !tbaa !17
  call void @_ZN12AlgorithmTSP31calculateEuclideanDistanceCeilsEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef %171, ptr noundef %172, ptr noundef %173)
  br label %200

174:                                              ; preds = %._crit_edge65
  %175 = load ptr, ptr %143, align 8, !tbaa !19
  %176 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(256) %4, i32 noundef %128, ptr noundef %175)
          to label %177 unwind label %.loopexit.split-lp

177:                                              ; preds = %174
  %178 = load i32, ptr %8, align 4, !tbaa !16
  %179 = load ptr, ptr %143, align 8, !tbaa !19
  %180 = load ptr, ptr %134, align 8, !tbaa !17
  call void @_ZN12AlgorithmTSP20calculateATTDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef %178, ptr noundef %179, ptr noundef %180)
  br label %200

181:                                              ; preds = %._crit_edge65
  %182 = load ptr, ptr %134, align 8, !tbaa !17
  %183 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP10readMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(256) %4, i32 noundef %128, ptr noundef %182)
          to label %200 unwind label %.loopexit.split-lp

184:                                              ; preds = %._crit_edge65
  %185 = load ptr, ptr %134, align 8, !tbaa !17
  %186 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readUpperMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(256) %4, i32 noundef %128, ptr noundef %185)
          to label %200 unwind label %.loopexit.split-lp

187:                                              ; preds = %._crit_edge65
  %188 = load ptr, ptr %134, align 8, !tbaa !17
  %189 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP15readLowerMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(256) %4, i32 noundef %128, ptr noundef %188)
          to label %200 unwind label %.loopexit.split-lp

190:                                              ; preds = %._crit_edge65
  %191 = load ptr, ptr %134, align 8, !tbaa !17
  %192 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP19readUpperDiagMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(256) %4, i32 noundef %128, ptr noundef %191)
          to label %200 unwind label %.loopexit.split-lp

193:                                              ; preds = %._crit_edge65
  %194 = load ptr, ptr %134, align 8, !tbaa !17
  %195 = invoke noundef zeroext i1 @_ZN12AlgorithmTSP19readLowerDiagMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(256) %4, i32 noundef %128, ptr noundef %194)
          to label %200 unwind label %.loopexit.split-lp

196:                                              ; preds = %._crit_edge65
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.42)
          to label %198 unwind label %.loopexit.split-lp

198:                                              ; preds = %196
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %200 unwind label %.loopexit.split-lp

200:                                              ; preds = %.critedge, %198, %193, %190, %187, %184, %181, %154, %157, %177, %170, %163, %._crit_edge65, %42
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %4)
          to label %201 unwind label %83

201:                                              ; preds = %200
  %202 = load i32, ptr %8, align 4, !tbaa !16
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %4) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %4) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  ret i32 %202

203:                                              ; preds = %.loopexit, %.loopexit.split-lp, %89, %141, %149, %83
  %.pn52.pn = phi { ptr, i32 } [ %84, %83 ], [ %142, %141 ], [ %150, %149 ], [ %.pn, %89 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %4) #9
  br label %204

204:                                              ; preds = %203, %81
  %.pn52.pn.pn = phi { ptr, i32 } [ %.pn52.pn, %203 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %4) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn52.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #5

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) local_unnamed_addr #0 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP15readCoordinatesERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12AlgorithmTSP26calculateEuclideanDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12AlgorithmTSP29calculateGeographicalDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12AlgorithmTSP31calculateEuclideanDistanceCeilsEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12AlgorithmTSP20calculateATTDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP10readMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP15readUpperMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP15readLowerMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP19readUpperDiagMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN12AlgorithmTSP19readLowerDiagMatrixERSt14basic_ifstreamIcSt11char_traitsIcEEiPPd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(256), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #8

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn "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 = { 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 #4 = { inlinehint 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 #5 = { nobuiltin allocsize(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 #6 = { nobuiltin nounwind "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 #7 = { "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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { builtin nounwind }
attributes #11 = { builtin allocsize(0) }

!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, !11, i64 32}
!6 = !{!"_ZTS12AlgorithmTSP", !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !11, i64 32, !12, i64 40, !13, i64 48, !10, i64 80}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTSN12AlgorithmTSP9DATA_TYPEE", !8, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !8, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!6, !7, i64 12}
!17 = !{!6, !10, i64 16}
!18 = !{!10, !10, i64 0}
!19 = !{!6, !10, i64 24}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !9, i64 0}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21}
!26 = distinct !{!26, !21}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass