; LLVM IR from vss2sn/cvrp :: src/local_search_inter_intra.ll (ZN29LocalSearchInterIntraSolution5SolveEv)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.20" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.21" = type { ptr }
%class.anon = type { i8 }
%"class.__gnu_cxx::__normal_iterator.22" = type { ptr }
%class.Solution = type { ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %struct.Node, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Node, std::allocator<Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Vehicle, std::allocator<Vehicle>>::_Vector_impl" }
%"struct.std::_Vector_base<Vehicle, std::allocator<Vehicle>>::_Vector_impl" = type { %"struct.std::_Vector_base<Vehicle, std::allocator<Vehicle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Vehicle, std::allocator<Vehicle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Node = type <{ i32, i32, i32, i32, i8, [3 x i8] }>
%struct.Vehicle = type { i32, i32, i32, double, %"class.std::vector.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1

declare noundef zeroext i1 @_ZNK8Solution18CheckSolutionValidEv(ptr noundef nonnull align 8 dereferenceable(104)) #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #1

; 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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN29LocalSearchInterIntraSolution5SolveEv(ptr noundef nonnull align 8 dereferenceable(104) %0) unnamed_addr #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca double, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca double, align 8
  %26 = alloca i32, align 4
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %41 = alloca double, align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %44 = alloca %class.anon, align 1
  %45 = alloca ptr, align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %48 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %49 = load ptr, ptr %2, align 8
  br label %50

50:                                               ; preds = %348, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 -1, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 -1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %51 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #6
  store double %51, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %52 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 2
  store ptr %52, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = call ptr @_ZNSt6vectorI7VehicleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #6
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = call ptr @_ZNSt6vectorI7VehicleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #6
  %58 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  br label %59

59:                                               ; preds = %238, %50
  %60 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7VehicleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %60, label %62, label %61

61:                                               ; preds = %59
  store i32 4, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %240

62:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %63 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  store ptr %63, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 1, ptr %13, align 8, !tbaa !13
  br label %64

64:                                               ; preds = %234, %62
  %65 = load i64, ptr %13, align 8, !tbaa !13
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.Vehicle, ptr %66, i32 0, i32 4
  %68 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #6
  %69 = sub i64 %68, 1
  %70 = icmp ult i64 %65, %69
  br i1 %70, label %72, label %71

71:                                               ; preds = %64
  store i32 6, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %237

72:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.Vehicle, ptr %73, i32 0, i32 4
  %75 = load i64, ptr %13, align 8, !tbaa !13
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %75) #6
  %77 = load i32, ptr %76, align 4, !tbaa !9
  store i32 %77, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %78 = load ptr, ptr %12, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.Vehicle, ptr %78, i32 0, i32 4
  %80 = load i64, ptr %13, align 8, !tbaa !13
  %81 = sub i64 %80, 1
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %81) #6
  %83 = load i32, ptr %82, align 4, !tbaa !9
  store i32 %83, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.Vehicle, ptr %84, i32 0, i32 4
  %86 = load i64, ptr %13, align 8, !tbaa !13
  %87 = add i64 %86, 1
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #6
  %89 = load i32, ptr %88, align 4, !tbaa !9
  store i32 %89, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %90 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 3
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %92) #6
  %94 = load i32, ptr %16, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %95) #6
  %97 = load double, ptr %96, align 8, !tbaa !11
  %98 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 3
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %100) #6
  %102 = load i32, ptr %14, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %103) #6
  %105 = load double, ptr %104, align 8, !tbaa !11
  %106 = fsub double %97, %105
  %107 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 3
  %108 = load i32, ptr %14, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %109) #6
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %112) #6
  %114 = load double, ptr %113, align 8, !tbaa !11
  %115 = fsub double %106, %114
  store double %115, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %116 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 2
  store ptr %116, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %117 = load ptr, ptr %18, align 8, !tbaa !5
  %118 = call ptr @_ZNSt6vectorI7VehicleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %117) #6
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %120 = load ptr, ptr %18, align 8, !tbaa !5
  %121 = call ptr @_ZNSt6vectorI7VehicleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #6
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  br label %123

123:                                              ; preds = %231, %72
  %124 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7VehicleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br i1 %124, label %126, label %125

125:                                              ; preds = %123
  store i32 9, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %233

126:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %127 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  store ptr %127, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  store i64 0, ptr %22, align 8, !tbaa !13
  br label %128

128:                                              ; preds = %227, %126
  %129 = load i64, ptr %22, align 8, !tbaa !13
  %130 = load ptr, ptr %21, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.Vehicle, ptr %130, i32 0, i32 4
  %132 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %131) #6
  %133 = sub i64 %132, 1
  %134 = icmp ult i64 %129, %133
  br i1 %134, label %136, label %135

135:                                              ; preds = %128
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %230

136:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %137 = load ptr, ptr %21, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.Vehicle, ptr %137, i32 0, i32 4
  %139 = load i64, ptr %22, align 8, !tbaa !13
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %139) #6
  %141 = load i32, ptr %140, align 4, !tbaa !9
  store i32 %141, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %142 = load ptr, ptr %21, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.Vehicle, ptr %142, i32 0, i32 4
  %144 = load i64, ptr %22, align 8, !tbaa !13
  %145 = add i64 %144, 1
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #6
  %147 = load i32, ptr %146, align 4, !tbaa !9
  store i32 %147, ptr %24, align 4, !tbaa !9
  %148 = load i32, ptr %23, align 4, !tbaa !9
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = icmp ne i32 %148, %149
  br i1 %150, label %151, label %226

151:                                              ; preds = %136
  %152 = load ptr, ptr %12, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.Vehicle, ptr %152, i32 0, i32 0
  %154 = load i32, ptr %153, align 8, !tbaa !15
  %155 = load ptr, ptr %21, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.Vehicle, ptr %155, i32 0, i32 0
  %157 = load i32, ptr %156, align 8, !tbaa !15
  %158 = icmp ne i32 %154, %157
  br i1 %158, label %163, label %159

159:                                              ; preds = %151
  %160 = load i32, ptr %23, align 4, !tbaa !9
  %161 = load i32, ptr %15, align 4, !tbaa !9
  %162 = icmp ne i32 %160, %161
  br i1 %162, label %163, label %226

163:                                              ; preds = %159, %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %164 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 3
  %165 = load i32, ptr %23, align 4, !tbaa !9
  %166 = sext i32 %165 to i64
  %167 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %164, i64 noundef %166) #6
  %168 = load i32, ptr %14, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %169) #6
  %171 = load double, ptr %170, align 8, !tbaa !11
  %172 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 3
  %173 = load i32, ptr %14, align 4, !tbaa !9
  %174 = sext i32 %173 to i64
  %175 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %172, i64 noundef %174) #6
  %176 = load i32, ptr %24, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %177) #6
  %179 = load double, ptr %178, align 8, !tbaa !11
  %180 = fadd double %171, %179
  %181 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 3
  %182 = load i32, ptr %23, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %181, i64 noundef %183) #6
  %185 = load i32, ptr %24, align 4, !tbaa !9
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef %186) #6
  %188 = load double, ptr %187, align 8, !tbaa !11
  %189 = fsub double %180, %188
  store double %189, ptr %25, align 8, !tbaa !11
  %190 = load double, ptr %25, align 8, !tbaa !11
  %191 = load double, ptr %17, align 8, !tbaa !11
  %192 = fadd double %190, %191
  %193 = load double, ptr %7, align 8, !tbaa !11
  %194 = fcmp olt double %192, %193
  br i1 %194, label %195, label %225

195:                                              ; preds = %163
  %196 = load ptr, ptr %21, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.Vehicle, ptr %196, i32 0, i32 1
  %198 = load i32, ptr %197, align 4, !tbaa !21
  %199 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 1
  %200 = load i32, ptr %14, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt6vectorI4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %201) #6
  %203 = getelementptr inbounds %struct.Node, ptr %202, i32 0, i32 3
  %204 = load i32, ptr %203, align 4, !tbaa !22
  %205 = sub nsw i32 %198, %204
  %206 = icmp sge i32 %205, 0
  br i1 %206, label %215, label %207

207:                                              ; preds = %195
  %208 = load ptr, ptr %12, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.Vehicle, ptr %208, i32 0, i32 0
  %210 = load i32, ptr %209, align 8, !tbaa !15
  %211 = load ptr, ptr %21, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.Vehicle, ptr %211, i32 0, i32 0
  %213 = load i32, ptr %212, align 8, !tbaa !15
  %214 = icmp eq i32 %210, %213
  br i1 %214, label %215, label %225

215:                                              ; preds = %207, %195
  %216 = load double, ptr %25, align 8, !tbaa !11
  %217 = load double, ptr %17, align 8, !tbaa !11
  %218 = fadd double %216, %217
  store double %218, ptr %7, align 8, !tbaa !11
  %219 = load i64, ptr %13, align 8, !tbaa !13
  %220 = trunc i64 %219 to i32
  store i32 %220, ptr %3, align 4, !tbaa !9
  %221 = load i64, ptr %22, align 8, !tbaa !13
  %222 = trunc i64 %221 to i32
  store i32 %222, ptr %4, align 4, !tbaa !9
  %223 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %223, ptr %5, align 8, !tbaa !5
  %224 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %224, ptr %6, align 8, !tbaa !5
  br label %225

225:                                              ; preds = %215, %207, %163
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %226

226:                                              ; preds = %225, %159, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %227

227:                                              ; preds = %226
  %228 = load i64, ptr %22, align 8, !tbaa !13
  %229 = add i64 %228, 1
  store i64 %229, ptr %22, align 8, !tbaa !13
  br label %128, !llvm.loop !25

230:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %231

231:                                              ; preds = %230
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br label %123

233:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %234

234:                                              ; preds = %233
  %235 = load i64, ptr %13, align 8, !tbaa !13
  %236 = add i64 %235, 1
  store i64 %236, ptr %13, align 8, !tbaa !13
  br label %64, !llvm.loop !27

237:                                              ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %238

238:                                              ; preds = %237
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %59

240:                                              ; preds = %61
  %241 = load double, ptr %7, align 8, !tbaa !11
  %242 = fcmp ogt double %241, -1.000000e-05
  br i1 %242, label %249, label %243

243:                                              ; preds = %240
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = icmp eq ptr %244, null
  br i1 %245, label %249, label %246

246:                                              ; preds = %243
  %247 = load ptr, ptr %5, align 8, !tbaa !5
  %248 = icmp eq ptr %247, null
  br i1 %248, label %249, label %250

249:                                              ; preds = %246, %243, %240
  store i32 3, ptr %11, align 4
  br label %346

250:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %251 = load ptr, ptr %6, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.Vehicle, ptr %251, i32 0, i32 4
  %253 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %252) #6
  %254 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %28, i32 0, i32 0
  store ptr %253, ptr %254, align 8
  %255 = load i32, ptr %3, align 4, !tbaa !9
  %256 = sext i32 %255 to i64
  %257 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %28, i64 noundef %256) #6
  %258 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %27, i32 0, i32 0
  store ptr %257, ptr %258, align 8
  %259 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  %260 = load i32, ptr %259, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  store i32 %260, ptr %26, align 4, !tbaa !9
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.Vehicle, ptr %261, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.Vehicle, ptr %263, i32 0, i32 4
  %265 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %264) #6
  %266 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %31, i32 0, i32 0
  store ptr %265, ptr %266, align 8
  %267 = load i32, ptr %3, align 4, !tbaa !9
  %268 = sext i32 %267 to i64
  %269 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %31, i64 noundef %268) #6
  %270 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %30, i32 0, i32 0
  store ptr %269, ptr %270, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #6
  %271 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %29, i32 0, i32 0
  %272 = load ptr, ptr %271, align 8
  %273 = call ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %262, ptr %272)
  %274 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %32, i32 0, i32 0
  store ptr %273, ptr %274, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 3
  call void @_ZN7Vehicle13CalculateCostERKSt6vectorIS0_IdSaIdEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(48) %275, ptr noundef nonnull align 8 dereferenceable(24) %276)
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.Vehicle, ptr %277, i32 0, i32 0
  %279 = load i32, ptr %278, align 8, !tbaa !15
  %280 = load ptr, ptr %5, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.Vehicle, ptr %280, i32 0, i32 0
  %282 = load i32, ptr %281, align 8, !tbaa !15
  %283 = icmp eq i32 %279, %282
  br i1 %283, label %284, label %305

284:                                              ; preds = %250
  %285 = load i32, ptr %3, align 4, !tbaa !9
  %286 = load i32, ptr %4, align 4, !tbaa !9
  %287 = icmp slt i32 %285, %286
  br i1 %287, label %288, label %305

288:                                              ; preds = %284
  %289 = load ptr, ptr %5, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.Vehicle, ptr %289, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %291 = load ptr, ptr %5, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.Vehicle, ptr %291, i32 0, i32 4
  %293 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %292) #6
  %294 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %35, i32 0, i32 0
  store ptr %293, ptr %294, align 8
  %295 = load i32, ptr %4, align 4, !tbaa !9
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %35, i32 0, i32 0
  %298 = load ptr, ptr %297, align 8
  %299 = call ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr %298, i64 noundef %296)
  %300 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %34, i32 0, i32 0
  store ptr %299, ptr %300, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #6
  %301 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %33, i32 0, i32 0
  %302 = load ptr, ptr %301, align 8
  %303 = call ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24) %290, ptr %302, ptr noundef nonnull align 4 dereferenceable(4) %26)
  %304 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %36, i32 0, i32 0
  store ptr %303, ptr %304, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %323

305:                                              ; preds = %284, %250
  %306 = load ptr, ptr %5, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.Vehicle, ptr %306, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.Vehicle, ptr %308, i32 0, i32 4
  %310 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %309) #6
  %311 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %39, i32 0, i32 0
  store ptr %310, ptr %311, align 8
  %312 = load i32, ptr %4, align 4, !tbaa !9
  %313 = add nsw i32 %312, 1
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %39, i32 0, i32 0
  %316 = load ptr, ptr %315, align 8
  %317 = call ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr %316, i64 noundef %314)
  %318 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %38, i32 0, i32 0
  store ptr %317, ptr %318, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #6
  %319 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.21", ptr %37, i32 0, i32 0
  %320 = load ptr, ptr %319, align 8
  %321 = call ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24) %307, ptr %320, ptr noundef nonnull align 4 dereferenceable(4) %26)
  %322 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %40, i32 0, i32 0
  store ptr %321, ptr %322, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br label %323

323:                                              ; preds = %305, %288
  %324 = load ptr, ptr %5, align 8, !tbaa !5
  %325 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 3
  call void @_ZN7Vehicle13CalculateCostERKSt6vectorIS0_IdSaIdEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(48) %324, ptr noundef nonnull align 8 dereferenceable(24) %325)
  %326 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 1
  %327 = load i32, ptr %26, align 4, !tbaa !9
  %328 = sext i32 %327 to i64
  %329 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt6vectorI4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %326, i64 noundef %328) #6
  %330 = getelementptr inbounds %struct.Node, ptr %329, i32 0, i32 3
  %331 = load i32, ptr %330, align 4, !tbaa !22
  %332 = load ptr, ptr %6, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.Vehicle, ptr %332, i32 0, i32 1
  %334 = load i32, ptr %333, align 4, !tbaa !21
  %335 = add nsw i32 %334, %331
  store i32 %335, ptr %333, align 4, !tbaa !21
  %336 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 1
  %337 = load i32, ptr %26, align 4, !tbaa !9
  %338 = sext i32 %337 to i64
  %339 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt6vectorI4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %336, i64 noundef %338) #6
  %340 = getelementptr inbounds %struct.Node, ptr %339, i32 0, i32 3
  %341 = load i32, ptr %340, align 4, !tbaa !22
  %342 = load ptr, ptr %5, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.Vehicle, ptr %342, i32 0, i32 1
  %344 = load i32, ptr %343, align 4, !tbaa !21
  %345 = sub nsw i32 %344, %341
  store i32 %345, ptr %343, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  store i32 0, ptr %11, align 4
  br label %346

346:                                              ; preds = %323, %249
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  %347 = load i32, ptr %11, align 4
  switch i32 %347, label %395 [
    i32 0, label %348
    i32 3, label %349
  ]

348:                                              ; preds = %346
  br label %50, !llvm.loop !28

349:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %350 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 2
  %351 = call ptr @_ZSt5beginISt6vectorI7VehicleSaIS1_EEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(24) %350)
  %352 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  store ptr %351, ptr %352, align 8
  %353 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 2
  %354 = call ptr @_ZSt3endISt6vectorI7VehicleSaIS1_EEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(24) %353)
  %355 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %43, i32 0, i32 0
  store ptr %354, ptr %355, align 8
  %356 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  %357 = load ptr, ptr %356, align 8
  %358 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %43, i32 0, i32 0
  %359 = load ptr, ptr %358, align 8
  %360 = call noundef double @"_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS2_SaIS2_EEEEdZN29LocalSearchInterIntraSolution5SolveEvE3$_0ET0_T_SB_SA_T1_"(ptr %357, ptr %359, double noundef 0.000000e+00)
  store double %360, ptr %41, align 8, !tbaa !11
  %361 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  %362 = load double, ptr %41, align 8, !tbaa !11
  %363 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %361, double noundef %362)
  %364 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %363, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  %365 = getelementptr inbounds %class.Solution, ptr %49, i32 0, i32 1
  store ptr %365, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  %366 = load ptr, ptr %45, align 8, !tbaa !5
  %367 = call ptr @_ZNSt6vectorI4NodeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %366) #6
  %368 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %46, i32 0, i32 0
  store ptr %367, ptr %368, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  %369 = load ptr, ptr %45, align 8, !tbaa !5
  %370 = call ptr @_ZNSt6vectorI4NodeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %369) #6
  %371 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %47, i32 0, i32 0
  store ptr %370, ptr %371, align 8
  br label %372

372:                                              ; preds = %388, %349
  %373 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4NodeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %47) #6
  br i1 %373, label %375, label %374

374:                                              ; preds = %372
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  br label %390

375:                                              ; preds = %372
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #6
  %376 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4NodeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  store ptr %376, ptr %48, align 8, !tbaa !5
  %377 = load ptr, ptr %48, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.Node, ptr %377, i32 0, i32 4
  %379 = load i8, ptr %378, align 4, !tbaa !29, !range !30, !noundef !31
  %380 = trunc i8 %379 to i1
  br i1 %380, label %387, label %381

381:                                              ; preds = %375
  %382 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  %383 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %382, i8 noundef signext 10)
  %384 = load ptr, ptr %48, align 8, !tbaa !5
  %385 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK4Node(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 4 dereferenceable(17) %384)
  %386 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %385, i8 noundef signext 10)
  br label %387

387:                                              ; preds = %381, %375
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  br label %388

388:                                              ; preds = %387
  %389 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4NodeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  br label %372

390:                                              ; preds = %374
  %391 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %392 = call noundef zeroext i1 @_ZNK8Solution18CheckSolutionValidEv(ptr noundef nonnull align 8 dereferenceable(104) %49)
  %393 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %391, i1 noundef zeroext %392)
  %394 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %393, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  ret void

395:                                              ; preds = %346
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorI7VehicleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorI7VehicleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP7VehicleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt6vectorI4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEplEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

declare void @_ZN7Vehicle13CalculateCostERKSt6vectorIS0_IdSaIdEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24)) #0

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr, i64 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef double @"_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS2_SaIS2_EEEEdZN29LocalSearchInterIntraSolution5SolveEvE3$_0ET0_T_SB_SA_T1_"(ptr, ptr, double noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @_ZSt5beginISt6vectorI7VehicleSaIS1_EEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(24)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @_ZSt3endISt6vectorI7VehicleSaIS1_EEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(24)) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorI4NodeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorI4NodeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP4NodeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4NodeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK4Node(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(17)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4NodeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"_ZTS7Vehicle", !10, i64 0, !10, i64 4, !10, i64 8, !12, i64 16, !17, i64 24}
!17 = !{!"_ZTSSt6vectorIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!16, !10, i64 4}
!22 = !{!23, !10, i64 12}
!23 = !{!"_ZTS4Node", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !24, i64 16}
!24 = !{!"bool", !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !26}
!29 = !{!23, !24, i64 16}
!30 = !{i8 0, i8 2}
!31 = !{}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.20" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.21" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.22" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1

declare noundef zeroext i1 @_ZNK8Solution18CheckSolutionValidEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #1

; 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 #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN29LocalSearchInterIntraSolution5SolveEv(ptr noundef nonnull align 8 dereferenceable(104) %0) unnamed_addr #2 align 2 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.21", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %18 = getelementptr inbounds i8, ptr %0, i64 32
  %19 = getelementptr inbounds i8, ptr %0, i64 56
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  %21 = tail call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %22 = tail call ptr @_ZNSt6vectorI7VehicleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  store ptr %22, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %23 = tail call ptr @_ZNSt6vectorI7VehicleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  store ptr %23, ptr %3, align 8
  %24 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7VehicleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %24, label %.lr.ph167, label %._crit_edge168.thread

._crit_edge168.thread:                            ; preds = %140, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  br label %.loopexit

._crit_edge168:                                   ; preds = %._crit_edge155
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %25 = fcmp ogt double %.1107.lcssa, -1.000000e-05
  %26 = icmp eq ptr %.1101.lcssa, null
  %or.cond = select i1 %25, i1 true, i1 %26
  %27 = icmp eq ptr %.195.lcssa, null
  %or.cond3 = select i1 %or.cond, i1 true, i1 %27
  br i1 %or.cond3, label %.loopexit, label %111

.lr.ph167:                                        ; preds = %1, %.lr.ph167.backedge
  %.0165 = phi i32 [ %.0165.be, %.lr.ph167.backedge ], [ -1, %1 ]
  %.088164 = phi i32 [ %.088164.be, %.lr.ph167.backedge ], [ -1, %1 ]
  %.094163 = phi ptr [ %.094163.be, %.lr.ph167.backedge ], [ null, %1 ]
  %.0100162 = phi ptr [ %.0100162.be, %.lr.ph167.backedge ], [ null, %1 ]
  %.0106161 = phi double [ %.0106161.be, %.lr.ph167.backedge ], [ %21, %1 ]
  %28 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  %29 = getelementptr inbounds i8, ptr %28, i64 24
  %30 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %31 = add i64 %30, -3
  %32 = icmp ult i64 %31, -2
  br i1 %32, label %.lr.ph154, label %._crit_edge155

._crit_edge155:                                   ; preds = %._crit_edge141, %.lr.ph167
  %.1107.lcssa = phi double [ %.0106161, %.lr.ph167 ], [ %.2108.lcssa, %._crit_edge141 ]
  %.1101.lcssa = phi ptr [ %.0100162, %.lr.ph167 ], [ %.2102.lcssa, %._crit_edge141 ]
  %.195.lcssa = phi ptr [ %.094163, %.lr.ph167 ], [ %.296.lcssa, %._crit_edge141 ]
  %.189.lcssa = phi i32 [ %.088164, %.lr.ph167 ], [ %.290.lcssa, %._crit_edge141 ]
  %.1.lcssa = phi i32 [ %.0165, %.lr.ph167 ], [ %.2.lcssa, %._crit_edge141 ]
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  %34 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7VehicleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %34, label %.lr.ph167.backedge, label %._crit_edge168

.lr.ph167.backedge:                               ; preds = %._crit_edge155, %140
  %.0165.be = phi i32 [ %.1.lcssa, %._crit_edge155 ], [ -1, %140 ]
  %.088164.be = phi i32 [ %.189.lcssa, %._crit_edge155 ], [ -1, %140 ]
  %.094163.be = phi ptr [ %.195.lcssa, %._crit_edge155 ], [ null, %140 ]
  %.0100162.be = phi ptr [ %.1101.lcssa, %._crit_edge155 ], [ null, %140 ]
  %.0106161.be = phi double [ %.1107.lcssa, %._crit_edge155 ], [ %157, %140 ]
  br label %.lr.ph167

.lr.ph154:                                        ; preds = %.lr.ph167, %._crit_edge141
  %.1152 = phi i32 [ %.2.lcssa, %._crit_edge141 ], [ %.0165, %.lr.ph167 ]
  %.189151 = phi i32 [ %.290.lcssa, %._crit_edge141 ], [ %.088164, %.lr.ph167 ]
  %.195150 = phi ptr [ %.296.lcssa, %._crit_edge141 ], [ %.094163, %.lr.ph167 ]
  %.1101149 = phi ptr [ %.2102.lcssa, %._crit_edge141 ], [ %.0100162, %.lr.ph167 ]
  %.1107148 = phi double [ %.2108.lcssa, %._crit_edge141 ], [ %.0106161, %.lr.ph167 ]
  %.0113147 = phi i64 [ %40, %._crit_edge141 ], [ 1, %.lr.ph167 ]
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %.0113147) #6
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = add i64 %.0113147, -1
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %37) #6
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = add nuw i64 %.0113147, 1
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %40) #6
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = sext i32 %39 to i64
  %44 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %43) #6
  %45 = sext i32 %42 to i64
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %45) #6
  %47 = load double, ptr %46, align 8, !tbaa !9
  %48 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %43) #6
  %49 = sext i32 %36 to i64
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %49) #6
  %51 = load double, ptr %50, align 8, !tbaa !9
  %52 = fsub double %47, %51
  %53 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %49) #6
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %45) #6
  %55 = load double, ptr %54, align 8, !tbaa !9
  %56 = fsub double %52, %55
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %57 = call ptr @_ZNSt6vectorI7VehicleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  store ptr %57, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %58 = call ptr @_ZNSt6vectorI7VehicleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  store ptr %58, ptr %5, align 8
  %59 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7VehicleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %59, label %.lr.ph140, label %._crit_edge141

.lr.ph140:                                        ; preds = %.lr.ph154
  %60 = trunc i64 %.0113147 to i32
  br label %64

._crit_edge141:                                   ; preds = %._crit_edge, %.lr.ph154
  %.2108.lcssa = phi double [ %.1107148, %.lr.ph154 ], [ %.3109.lcssa, %._crit_edge ]
  %.2102.lcssa = phi ptr [ %.1101149, %.lr.ph154 ], [ %.3103.lcssa, %._crit_edge ]
  %.296.lcssa = phi ptr [ %.195150, %.lr.ph154 ], [ %.397.lcssa, %._crit_edge ]
  %.290.lcssa = phi i32 [ %.189151, %.lr.ph154 ], [ %.391.lcssa, %._crit_edge ]
  %.2.lcssa = phi i32 [ %.1152, %.lr.ph154 ], [ %.3.lcssa, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %61 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  %62 = add i64 %61, -1
  %63 = icmp ult i64 %40, %62
  br i1 %63, label %.lr.ph154, label %._crit_edge155, !llvm.loop !11

64:                                               ; preds = %.lr.ph140, %._crit_edge
  %.2138 = phi i32 [ %.1152, %.lr.ph140 ], [ %.3.lcssa, %._crit_edge ]
  %.290137 = phi i32 [ %.189151, %.lr.ph140 ], [ %.391.lcssa, %._crit_edge ]
  %.296136 = phi ptr [ %.195150, %.lr.ph140 ], [ %.397.lcssa, %._crit_edge ]
  %.2102135 = phi ptr [ %.1101149, %.lr.ph140 ], [ %.3103.lcssa, %._crit_edge ]
  %.2108134 = phi double [ %.1107148, %.lr.ph140 ], [ %.3109.lcssa, %._crit_edge ]
  %65 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %66 = getelementptr inbounds i8, ptr %65, i64 24
  %67 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %.not177 = icmp eq i64 %67, 1
  br i1 %.not177, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %64
  %68 = getelementptr inbounds i8, ptr %65, i64 4
  br label %71

._crit_edge:                                      ; preds = %107, %64
  %.3109.lcssa = phi double [ %.2108134, %64 ], [ %.5111, %107 ]
  %.3103.lcssa = phi ptr [ %.2102135, %64 ], [ %.5105, %107 ]
  %.397.lcssa = phi ptr [ %.296136, %64 ], [ %.599, %107 ]
  %.391.lcssa = phi i32 [ %.290137, %64 ], [ %.593, %107 ]
  %.3.lcssa = phi i32 [ %.2138, %64 ], [ %.5, %107 ]
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %70 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7VehicleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %70, label %64, label %._crit_edge141

71:                                               ; preds = %.lr.ph, %107
  %.3129 = phi i32 [ %.2138, %.lr.ph ], [ %.5, %107 ]
  %.391128 = phi i32 [ %.290137, %.lr.ph ], [ %.593, %107 ]
  %.397127 = phi ptr [ %.296136, %.lr.ph ], [ %.599, %107 ]
  %.3103126 = phi ptr [ %.2102135, %.lr.ph ], [ %.5105, %107 ]
  %.3109125 = phi double [ %.2108134, %.lr.ph ], [ %.5111, %107 ]
  %.0114124 = phi i64 [ 0, %.lr.ph ], [ %74, %107 ]
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %.0114124) #6
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = add nuw i64 %.0114124, 1
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %74) #6
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %.not = icmp eq i32 %73, %36
  br i1 %.not, label %107, label %77

77:                                               ; preds = %71
  %78 = load i32, ptr %28, align 8, !tbaa !13
  %79 = load i32, ptr %65, align 8, !tbaa !13
  %.not117 = icmp eq i32 %78, %79
  %.not118 = icmp eq i32 %73, %39
  %or.cond120 = select i1 %.not117, i1 %.not118, i1 false
  br i1 %or.cond120, label %107, label %80

80:                                               ; preds = %77
  %81 = sext i32 %73 to i64
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %81) #6
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %49) #6
  %84 = load double, ptr %83, align 8, !tbaa !9
  %85 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %49) #6
  %86 = sext i32 %76 to i64
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %86) #6
  %88 = load double, ptr %87, align 8, !tbaa !9
  %89 = fadd double %84, %88
  %90 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %81) #6
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %86) #6
  %92 = load double, ptr %91, align 8, !tbaa !9
  %93 = fsub double %89, %92
  %94 = fadd double %56, %93
  %95 = fcmp olt double %94, %.3109125
  br i1 %95, label %96, label %107

96:                                               ; preds = %80
  %97 = load i32, ptr %68, align 4, !tbaa !20
  %98 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt6vectorI4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %49) #6
  %99 = getelementptr inbounds i8, ptr %98, i64 12
  %100 = load i32, ptr %99, align 4, !tbaa !21
  %.not119 = icmp slt i32 %97, %100
  br i1 %.not119, label %101, label %105

101:                                              ; preds = %96
  %102 = load i32, ptr %28, align 8, !tbaa !13
  %103 = load i32, ptr %65, align 8, !tbaa !13
  %104 = icmp eq i32 %102, %103
  br i1 %104, label %105, label %107

105:                                              ; preds = %101, %96
  %106 = trunc i64 %.0114124 to i32
  br label %107

107:                                              ; preds = %80, %101, %105, %77, %71
  %.5111 = phi double [ %.3109125, %71 ], [ %.3109125, %77 ], [ %94, %105 ], [ %.3109125, %101 ], [ %.3109125, %80 ]
  %.5105 = phi ptr [ %.3103126, %71 ], [ %.3103126, %77 ], [ %28, %105 ], [ %.3103126, %101 ], [ %.3103126, %80 ]
  %.599 = phi ptr [ %.397127, %71 ], [ %.397127, %77 ], [ %65, %105 ], [ %.397127, %101 ], [ %.397127, %80 ]
  %.593 = phi i32 [ %.391128, %71 ], [ %.391128, %77 ], [ %106, %105 ], [ %.391128, %101 ], [ %.391128, %80 ]
  %.5 = phi i32 [ %.3129, %71 ], [ %.3129, %77 ], [ %60, %105 ], [ %.3129, %101 ], [ %.3129, %80 ]
  %108 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %109 = add i64 %108, -1
  %110 = icmp ult i64 %74, %109
  br i1 %110, label %71, label %._crit_edge, !llvm.loop !24

111:                                              ; preds = %._crit_edge168
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %112 = getelementptr inbounds i8, ptr %.1101.lcssa, i64 24
  %113 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #6
  store ptr %113, ptr %8, align 8
  %114 = sext i32 %.1.lcssa to i64
  %115 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %114) #6
  store ptr %115, ptr %7, align 8
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %117 = load i32, ptr %116, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  store i32 %117, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %118 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #6
  store ptr %118, ptr %11, align 8
  %119 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %114) #6
  store ptr %119, ptr %10, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %120 = load ptr, ptr %9, align 8
  %121 = call ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %112, ptr %120)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @_ZN7Vehicle13CalculateCostERKSt6vectorIS0_IdSaIdEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(48) %.1101.lcssa, ptr noundef nonnull align 8 dereferenceable(24) %19)
  %122 = load i32, ptr %.1101.lcssa, align 8, !tbaa !13
  %123 = load i32, ptr %.195.lcssa, align 8, !tbaa !13
  %124 = icmp eq i32 %122, %123
  %125 = icmp slt i32 %.1.lcssa, %.189.lcssa
  %or.cond121 = select i1 %124, i1 %125, i1 false
  %126 = getelementptr inbounds i8, ptr %.195.lcssa, i64 24
  br i1 %or.cond121, label %127, label %133

127:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %128 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #6
  %129 = sext i32 %.189.lcssa to i64
  %130 = call ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr %128, i64 noundef %129)
  store ptr %130, ptr %13, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %131 = load ptr, ptr %12, align 8
  %132 = call ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24) %126, ptr %131, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %140

133:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %134 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #6
  %135 = add nsw i32 %.189.lcssa, 1
  %136 = sext i32 %135 to i64
  %137 = call ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr %134, i64 noundef %136)
  store ptr %137, ptr %15, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %138 = load ptr, ptr %14, align 8
  %139 = call ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24) %126, ptr %138, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %140

140:                                              ; preds = %127, %133
  call void @_ZN7Vehicle13CalculateCostERKSt6vectorIS0_IdSaIdEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(48) %.195.lcssa, ptr noundef nonnull align 8 dereferenceable(24) %19)
  %141 = load i32, ptr %6, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  %143 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt6vectorI4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %142) #6
  %144 = getelementptr inbounds i8, ptr %143, i64 12
  %145 = load i32, ptr %144, align 4, !tbaa !21
  %146 = getelementptr inbounds i8, ptr %.1101.lcssa, i64 4
  %147 = load i32, ptr %146, align 4, !tbaa !20
  %148 = add nsw i32 %147, %145
  store i32 %148, ptr %146, align 4, !tbaa !20
  %149 = load i32, ptr %6, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt6vectorI4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %150) #6
  %152 = getelementptr inbounds i8, ptr %151, i64 12
  %153 = load i32, ptr %152, align 4, !tbaa !21
  %154 = getelementptr inbounds i8, ptr %.195.lcssa, i64 4
  %155 = load i32, ptr %154, align 4, !tbaa !20
  %156 = sub nsw i32 %155, %153
  store i32 %156, ptr %154, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %157 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %158 = call ptr @_ZNSt6vectorI7VehicleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  store ptr %158, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %159 = call ptr @_ZNSt6vectorI7VehicleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  store ptr %159, ptr %3, align 8
  %160 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP7VehicleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %160, label %.lr.ph167.backedge, label %._crit_edge168.thread

.loopexit:                                        ; preds = %._crit_edge168, %._crit_edge168.thread
  %161 = call ptr @_ZSt5beginISt6vectorI7VehicleSaIS1_EEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(24) %18)
  %162 = call ptr @_ZSt3endISt6vectorI7VehicleSaIS1_EEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(24) %18)
  %163 = call noundef double @"_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS2_SaIS2_EEEEdZN29LocalSearchInterIntraSolution5SolveEvE3$_0ET0_T_SB_SA_T1_"(ptr %161, ptr %162, double noundef 0.000000e+00)
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %164, double noundef %163)
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %165, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %167 = call ptr @_ZNSt6vectorI4NodeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  store ptr %167, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %168 = call ptr @_ZNSt6vectorI4NodeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  store ptr %168, ptr %17, align 8
  %169 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4NodeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %169, label %.lr.ph175, label %._crit_edge176

._crit_edge176:                                   ; preds = %183, %.loopexit
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %171 = call noundef zeroext i1 @_ZNK8Solution18CheckSolutionValidEv(ptr noundef nonnull align 8 dereferenceable(104) %0)
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %170, i1 noundef zeroext %171)
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %172, i8 noundef signext 10)
  ret void

.lr.ph175:                                        ; preds = %.loopexit, %183
  %174 = call noundef nonnull align 4 dereferenceable(17) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4NodeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %175 = getelementptr inbounds i8, ptr %174, i64 16
  %176 = load i8, ptr %175, align 4, !tbaa !25, !range !26, !noundef !27
  %177 = trunc nuw i8 %176 to i1
  br i1 %177, label %183, label %178

178:                                              ; preds = %.lr.ph175
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
  %180 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %179, i8 noundef signext 10)
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK4Node(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 4 dereferenceable(17) %174)
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %181, i8 noundef signext 10)
  br label %183

183:                                              ; preds = %178, %.lr.ph175
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4NodeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %185 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4NodeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %185, label %.lr.ph175, label %._crit_edge176
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorI7VehicleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorI7VehicleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP7VehicleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZNSt6vectorI4NodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEplEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

declare void @_ZN7Vehicle13CalculateCostERKSt6vectorIS0_IdSaIdEESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr, i64 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef double @"_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIP7VehicleSt6vectorIS2_SaIS2_EEEEdZN29LocalSearchInterIntraSolution5SolveEvE3$_0ET0_T_SB_SA_T1_"(ptr, ptr, double noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @_ZSt5beginISt6vectorI7VehicleSaIS1_EEEDTcldtfp_5beginEERT_(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @_ZSt3endISt6vectorI7VehicleSaIS1_EEEDTcldtfp_3endEERT_(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorI4NodeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorI4NodeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP4NodeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(17) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4NodeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK4Node(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(17)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4NodeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTS7Vehicle", !6, i64 0, !6, i64 4, !6, i64 8, !10, i64 16, !15, i64 24}
!15 = !{!"_ZTSSt6vectorIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !7, i64 0}
!20 = !{!14, !6, i64 4}
!21 = !{!22, !6, i64 12}
!22 = !{!"_ZTS4Node", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !23, i64 16}
!23 = !{!"bool", !7, i64 0}
!24 = distinct !{!24, !12}
!25 = !{!22, !23, i64 16}
!26 = !{i8 0, i8 2}
!27 = !{}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass