; LLVM IR from CMU-SAFARI/prim-benchmarks :: TRNS/baselines/gpu (main)

; 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"

%struct.Params = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.CUDASetup = type { %struct.cudaDeviceProp }
%struct.cudaDeviceProp = type { [256 x i8], %struct.CUuuid_st, [8 x i8], i32, i64, i64, i32, i32, i64, i32, [3 x i32], [3 x i32], i32, i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 x i32], [2 x i32], [3 x i32], [2 x i32], [3 x i32], [3 x i32], i32, [2 x i32], [3 x i32], [2 x i32], i32, [2 x i32], [3 x i32], [2 x i32], [3 x i32], i32, [2 x i32], i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i64 }
%struct.CUuuid_st = type { [16 x i8] }
%struct.Timer = type { %"class.std::map", %"class.std::map", %"class.std::map.0" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, CUevent_st *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, CUevent_st *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, CUevent_st *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, CUevent_st *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.0" = type { %"class.std::_Rb_tree.1" }
%"class.std::_Rb_tree.1" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, float>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, float>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, float>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, float>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"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::allocator.5" = type { i8 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }

@.str = external hidden unnamed_addr constant [11 x i8], align 1
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [140 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10read_inputPlRK6Params(ptr noundef, ptr noundef nonnull align 4 dereferenceable(40)) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.Params, align 4
  %7 = alloca %struct.CUDASetup, align 8
  %8 = alloca %struct.Timer, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.5", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.5", align 1
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator.5", align 1
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.5", align 1
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator.5", align 1
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.5", align 1
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator.5", align 1
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::allocator.5", align 1
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.std::allocator.5", align 1
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca %"class.std::allocator.5", align 1
  %50 = alloca %"class.std::__cxx11::basic_string", align 8
  %51 = alloca %"class.std::allocator.5", align 1
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.std::allocator.5", align 1
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca %"class.std::allocator.5", align 1
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.std::allocator.5", align 1
  %58 = alloca i32, align 4
  %59 = alloca %"class.std::__cxx11::basic_string", align 8
  %60 = alloca %"class.std::allocator.5", align 1
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::allocator.5", align 1
  %63 = alloca %"class.std::__cxx11::basic_string", align 8
  %64 = alloca %"class.std::allocator.5", align 1
  %65 = alloca %"class.std::__cxx11::basic_string", align 8
  %66 = alloca %"class.std::allocator.5", align 1
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"class.std::allocator.5", align 1
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"class.std::allocator.5", align 1
  %71 = alloca %"class.std::__cxx11::basic_string", align 8
  %72 = alloca %"class.std::allocator.5", align 1
  %73 = alloca %"class.std::__cxx11::basic_string", align 8
  %74 = alloca %"class.std::allocator.5", align 1
  %75 = alloca %"class.std::__cxx11::basic_string", align 8
  %76 = alloca %"class.std::allocator.5", align 1
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca %"class.std::allocator.5", align 1
  %79 = alloca %"class.std::__cxx11::basic_string", align 8
  %80 = alloca %"class.std::allocator.5", align 1
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.std::allocator.5", align 1
  %83 = alloca %"class.std::__cxx11::basic_string", align 8
  %84 = alloca %"class.std::allocator.5", align 1
  %85 = alloca %"class.std::__cxx11::basic_string", align 8
  %86 = alloca %"class.std::allocator.5", align 1
  %87 = alloca %"class.std::__cxx11::basic_string", align 8
  %88 = alloca %"class.std::allocator.5", align 1
  %89 = alloca %"class.std::__cxx11::basic_string", align 8
  %90 = alloca %"class.std::allocator.5", align 1
  %91 = alloca %"class.std::__cxx11::basic_string", align 8
  %92 = alloca %"class.std::allocator.5", align 1
  %93 = alloca %"class.std::__cxx11::basic_string", align 8
  %94 = alloca %"class.std::allocator.5", align 1
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #13
  %95 = load i32, ptr %4, align 4, !tbaa !5
  %96 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN6ParamsC2EiPPc(ptr noundef nonnull align 4 dereferenceable(40) %6, i32 noundef %95, ptr noundef %96)
  call void @llvm.lifetime.start.p0(i64 728, ptr %7) #13
  %97 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 0
  %98 = load i32, ptr %97, align 4, !tbaa !11
  call void @_ZN9CUDASetupC2Ei(ptr noundef nonnull align 8 dereferenceable(728) %7, i32 noundef %98)
  call void @llvm.lifetime.start.p0(i64 144, ptr %8) #13
  call void @_ZN5TimerC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %99 unwind label %138

99:                                               ; preds = %2
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %10)
          to label %100 unwind label %142

100:                                              ; preds = %99
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #13
  %101 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 6
  %102 = load i32, ptr %101, align 4, !tbaa !13
  store i32 %102, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #13
  %103 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 7
  %104 = load i32, ptr %103, align 4, !tbaa !14
  store i32 %104, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #13
  %105 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 8
  %106 = load i32, ptr %105, align 4, !tbaa !15
  store i32 %106, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #13
  %107 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 9
  %108 = load i32, ptr %107, align 4, !tbaa !16
  store i32 %108, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #13
  %109 = load i32, ptr %14, align 4, !tbaa !5
  %110 = load i32, ptr %15, align 4, !tbaa !5
  %111 = mul nsw i32 %109, %110
  %112 = load i32, ptr %16, align 4, !tbaa !5
  %113 = mul nsw i32 %111, %112
  %114 = load i32, ptr %17, align 4, !tbaa !5
  %115 = mul nsw i32 %113, %114
  store i32 %115, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #13
  %116 = load i32, ptr %14, align 4, !tbaa !5
  %117 = load i32, ptr %15, align 4, !tbaa !5
  %118 = mul nsw i32 %116, %117
  %119 = load i32, ptr %16, align 4, !tbaa !5
  %120 = mul nsw i32 %118, %119
  store i32 %120, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #13
  %121 = load i32, ptr %18, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = mul i64 %122, 8
  %124 = call noalias ptr @malloc(i64 noundef %123) #14
  store ptr %124, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #13
  %125 = load i32, ptr %19, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = mul i64 4, %126
  %128 = call noalias ptr @malloc(i64 noundef %127) #14
  store ptr %128, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #13
  %129 = load i32, ptr %16, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = mul i64 %130, 4
  %132 = call noalias ptr @malloc(i64 noundef %131) #14
  store ptr %132, ptr %22, align 8, !tbaa !9
  %133 = load ptr, ptr %20, align 8, !tbaa !9
  %134 = icmp eq ptr %133, null
  br i1 %134, label %135, label %147

135:                                              ; preds = %100
  %136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 151) #13
  call void @exit(i32 noundef -1) #15
  unreachable

138:                                              ; preds = %2
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %12, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %13, align 4
  br label %146

142:                                              ; preds = %99
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %12, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #13
  br label %146

146:                                              ; preds = %142, %138
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #13
  br label %961

147:                                              ; preds = %100
  %148 = load ptr, ptr %21, align 8, !tbaa !9
  %149 = icmp eq ptr %148, null
  br i1 %149, label %150, label %153

150:                                              ; preds = %147
  %151 = load ptr, ptr @stderr, align 8, !tbaa !9
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %151, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 151) #13
  call void @exit(i32 noundef -1) #15
  unreachable

153:                                              ; preds = %147
  %154 = load ptr, ptr %22, align 8, !tbaa !9
  %155 = icmp eq ptr %154, null
  br i1 %155, label %156, label %159

156:                                              ; preds = %153
  %157 = load ptr, ptr @stderr, align 8, !tbaa !9
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %157, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 151) #13
  call void @exit(i32 noundef -1) #15
  unreachable

159:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #13
  %160 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 2
  %161 = load i32, ptr %160, align 4, !tbaa !17
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %206

163:                                              ; preds = %159
  %164 = load i32, ptr %18, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = mul i64 %165, 8
  %167 = invoke i32 @cudaMalloc(ptr noundef %23, i64 noundef %166)
          to label %168 unwind label %201

168:                                              ; preds = %163
  store i32 %167, ptr %9, align 4, !tbaa !18
  %169 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 2
  %170 = load i32, ptr %169, align 4, !tbaa !17
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %176

172:                                              ; preds = %168
  %173 = load i32, ptr %19, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = mul i64 4, %174
  br label %177

176:                                              ; preds = %168
  br label %177

177:                                              ; preds = %176, %172
  %178 = phi i64 [ %175, %172 ], [ 0, %176 ]
  %179 = invoke i32 @cudaMalloc(ptr noundef %24, i64 noundef %178)
          to label %180 unwind label %201

180:                                              ; preds = %177
  store i32 %179, ptr %9, align 4, !tbaa !18
  %181 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 2
  %182 = load i32, ptr %181, align 4, !tbaa !17
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %184, label %188

184:                                              ; preds = %180
  %185 = load i32, ptr %16, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = mul i64 %186, 4
  br label %189

188:                                              ; preds = %180
  br label %189

189:                                              ; preds = %188, %184
  %190 = phi i64 [ %187, %184 ], [ 0, %188 ]
  %191 = invoke i32 @cudaMalloc(ptr noundef %25, i64 noundef %190)
          to label %192 unwind label %201

192:                                              ; preds = %189
  store i32 %191, ptr %9, align 4, !tbaa !18
  %193 = load i32, ptr %9, align 4, !tbaa !18
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %205

195:                                              ; preds = %192
  %196 = load ptr, ptr @stderr, align 8, !tbaa !9
  %197 = load i32, ptr %9, align 4, !tbaa !18
  %198 = invoke ptr @cudaGetErrorString(i32 noundef %197)
          to label %199 unwind label %201

199:                                              ; preds = %195
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef @.str.3, ptr noundef %198, ptr noundef @.str.2, i32 noundef 159) #13
  call void @exit(i32 noundef -1) #15
  unreachable

201:                                              ; preds = %195, %189, %177, %163
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %12, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %13, align 4
  br label %960

205:                                              ; preds = %192
  br label %206

206:                                              ; preds = %205, %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #13
  %207 = load i32, ptr %18, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = mul i64 %208, 8
  %210 = call noalias ptr @malloc(i64 noundef %209) #14
  store ptr %210, ptr %26, align 8, !tbaa !9
  %211 = load ptr, ptr %26, align 8, !tbaa !9
  %212 = icmp eq ptr %211, null
  br i1 %212, label %213, label %216

213:                                              ; preds = %206
  %214 = load ptr, ptr @stderr, align 8, !tbaa !9
  %215 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %214, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 162) #13
  call void @exit(i32 noundef -1) #15
  unreachable

216:                                              ; preds = %206
  %217 = invoke i32 @cudaDeviceSynchronize()
          to label %218 unwind label %237

218:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %219 unwind label %241

219:                                              ; preds = %218
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %27)
          to label %220 unwind label %245

220:                                              ; preds = %219
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %221 unwind label %250

221:                                              ; preds = %220
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %29, i32 noundef 1)
          to label %222 unwind label %254

222:                                              ; preds = %221
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %223 unwind label %259

223:                                              ; preds = %222
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %31)
          to label %224 unwind label %263

224:                                              ; preds = %223
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #13
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #13
  %225 = invoke noundef i32 @_ZN9CUDASetup15max_gpu_threadsEv(ptr noundef nonnull align 8 dereferenceable(728) %7)
          to label %226 unwind label %268

226:                                              ; preds = %224
  store i32 %225, ptr %33, align 4, !tbaa !5
  %227 = load ptr, ptr %20, align 8, !tbaa !9
  call void @_Z10read_inputPlRK6Params(ptr noundef %227, ptr noundef nonnull align 4 dereferenceable(40) %6)
  %228 = load ptr, ptr %21, align 8, !tbaa !9
  %229 = load i32, ptr %19, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = mul i64 4, %230
  call void @llvm.memset.p0.i64(ptr align 1 %228, i8 0, i64 %231, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #13
  store i32 0, ptr %34, align 4, !tbaa !5
  br label %232

232:                                              ; preds = %277, %226
  %233 = load i32, ptr %34, align 4, !tbaa !5
  %234 = load i32, ptr %16, align 4, !tbaa !5
  %235 = icmp slt i32 %233, %234
  br i1 %235, label %272, label %236

236:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #13
  br label %280

237:                                              ; preds = %216
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %12, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %13, align 4
  br label %959

241:                                              ; preds = %218
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %12, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %13, align 4
  br label %249

245:                                              ; preds = %219
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %12, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #13
  br label %249

249:                                              ; preds = %245, %241
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #13
  br label %959

250:                                              ; preds = %220
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %12, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %13, align 4
  br label %258

254:                                              ; preds = %221
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %12, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #13
  br label %258

258:                                              ; preds = %254, %250
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #13
  br label %959

259:                                              ; preds = %222
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %12, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %13, align 4
  br label %267

263:                                              ; preds = %223
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %12, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #13
  br label %267

267:                                              ; preds = %263, %259
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #13
  br label %959

268:                                              ; preds = %864, %841, %807, %801, %798, %795, %777, %770, %728, %718, %353, %319, %309, %302, %295, %224
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %12, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %13, align 4
  br label %958

272:                                              ; preds = %232
  %273 = load ptr, ptr %22, align 8, !tbaa !9
  %274 = load i32, ptr %34, align 4, !tbaa !5
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds %"struct.std::atomic", ptr %273, i64 %275
  call void @_ZNSt13__atomic_baseIiE5storeEiSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %276, i32 noundef 0, i32 noundef 5) #13
  br label %277

277:                                              ; preds = %272
  %278 = load i32, ptr %34, align 4, !tbaa !5
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %34, align 4, !tbaa !5
  br label %232, !llvm.loop !20

280:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %281 unwind label %325

281:                                              ; preds = %280
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %35)
          to label %282 unwind label %329

282:                                              ; preds = %281
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %283 unwind label %334

283:                                              ; preds = %282
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %37, i32 noundef 1)
          to label %284 unwind label %338

284:                                              ; preds = %283
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #13
  %285 = load ptr, ptr %26, align 8, !tbaa !9
  %286 = load ptr, ptr %20, align 8, !tbaa !9
  %287 = load i32, ptr %18, align 4, !tbaa !5
  %288 = sext i32 %287 to i64
  %289 = mul i64 %288, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %285, ptr align 8 %286, i64 %289, i1 false)
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %290 unwind label %343

290:                                              ; preds = %284
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %39)
          to label %291 unwind label %347

291:                                              ; preds = %290
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #13
  %292 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 2
  %293 = load i32, ptr %292, align 4, !tbaa !17
  %294 = icmp ne i32 %293, 0
  br i1 %294, label %295, label %353

295:                                              ; preds = %291
  %296 = load ptr, ptr %23, align 8, !tbaa !9
  %297 = load ptr, ptr %26, align 8, !tbaa !9
  %298 = load i32, ptr %18, align 4, !tbaa !5
  %299 = sext i32 %298 to i64
  %300 = mul i64 %299, 8
  %301 = invoke i32 @cudaMemcpy(ptr noundef %296, ptr noundef %297, i64 noundef %300, i32 noundef 1)
          to label %302 unwind label %268

302:                                              ; preds = %295
  store i32 %301, ptr %9, align 4, !tbaa !18
  %303 = load ptr, ptr %24, align 8, !tbaa !9
  %304 = load ptr, ptr %21, align 8, !tbaa !9
  %305 = load i32, ptr %19, align 4, !tbaa !5
  %306 = sext i32 %305 to i64
  %307 = mul i64 4, %306
  %308 = invoke i32 @cudaMemcpy(ptr noundef %303, ptr noundef %304, i64 noundef %307, i32 noundef 1)
          to label %309 unwind label %268

309:                                              ; preds = %302
  store i32 %308, ptr %9, align 4, !tbaa !18
  %310 = load ptr, ptr %25, align 8, !tbaa !9
  %311 = load ptr, ptr %22, align 8, !tbaa !9
  %312 = load i32, ptr %16, align 4, !tbaa !5
  %313 = sext i32 %312 to i64
  %314 = mul i64 %313, 4
  %315 = invoke i32 @cudaMemcpy(ptr noundef %310, ptr noundef %311, i64 noundef %314, i32 noundef 1)
          to label %316 unwind label %268

316:                                              ; preds = %309
  store i32 %315, ptr %9, align 4, !tbaa !18
  %317 = load i32, ptr %9, align 4, !tbaa !18
  %318 = icmp ne i32 %317, 0
  br i1 %318, label %319, label %352

319:                                              ; preds = %316
  %320 = load ptr, ptr @stderr, align 8, !tbaa !9
  %321 = load i32, ptr %9, align 4, !tbaa !18
  %322 = invoke ptr @cudaGetErrorString(i32 noundef %321)
          to label %323 unwind label %268

323:                                              ; preds = %319
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %320, ptr noundef @.str.3, ptr noundef %322, ptr noundef @.str.2, i32 noundef 184) #13
  call void @exit(i32 noundef -1) #15
  unreachable

325:                                              ; preds = %280
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %12, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %13, align 4
  br label %333

329:                                              ; preds = %281
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %12, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #13
  br label %333

333:                                              ; preds = %329, %325
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #13
  br label %958

334:                                              ; preds = %282
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %12, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %13, align 4
  br label %342

338:                                              ; preds = %283
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %12, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #13
  br label %342

342:                                              ; preds = %338, %334
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #13
  br label %958

343:                                              ; preds = %284
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %12, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %13, align 4
  br label %351

347:                                              ; preds = %290
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %12, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #13
  br label %351

351:                                              ; preds = %347, %343
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #13
  br label %958

352:                                              ; preds = %316
  br label %353

353:                                              ; preds = %352, %291
  %354 = invoke i32 @cudaDeviceSynchronize()
          to label %355 unwind label %268

355:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %356 unwind label %369

356:                                              ; preds = %355
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %41)
          to label %357 unwind label %373

357:                                              ; preds = %356
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %358 unwind label %378

358:                                              ; preds = %357
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %43, i32 noundef 1)
          to label %359 unwind label %382

359:                                              ; preds = %358
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #13
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #13
  store i32 0, ptr %45, align 4, !tbaa !5
  br label %360

360:                                              ; preds = %696, %359
  %361 = load i32, ptr %45, align 4, !tbaa !5
  %362 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 4
  %363 = load i32, ptr %362, align 4, !tbaa !22
  %364 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 5
  %365 = load i32, ptr %364, align 4, !tbaa !23
  %366 = add nsw i32 %363, %365
  %367 = icmp slt i32 %361, %366
  br i1 %367, label %387, label %368

368:                                              ; preds = %360
  store i32 5, ptr %46, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #13
  br label %700

369:                                              ; preds = %355
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %12, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %13, align 4
  br label %377

373:                                              ; preds = %356
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %12, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #13
  br label %377

377:                                              ; preds = %373, %369
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #13
  br label %958

378:                                              ; preds = %357
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %12, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %13, align 4
  br label %386

382:                                              ; preds = %358
  %383 = landingpad { ptr, i32 }
          cleanup
  %384 = extractvalue { ptr, i32 } %383, 0
  store ptr %384, ptr %12, align 8
  %385 = extractvalue { ptr, i32 } %383, 1
  store i32 %385, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #13
  br label %386

386:                                              ; preds = %382, %378
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #13
  br label %958

387:                                              ; preds = %360
  %388 = load ptr, ptr %20, align 8, !tbaa !9
  %389 = load ptr, ptr %26, align 8, !tbaa !9
  %390 = load i32, ptr %18, align 4, !tbaa !5
  %391 = sext i32 %390 to i64
  %392 = mul i64 %391, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %388, ptr align 8 %389, i64 %392, i1 false)
  %393 = load ptr, ptr %21, align 8, !tbaa !9
  %394 = load i32, ptr %19, align 4, !tbaa !5
  %395 = sext i32 %394 to i64
  %396 = mul i64 4, %395
  call void @llvm.memset.p0.i64(ptr align 1 %393, i8 0, i64 %396, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #13
  store i32 0, ptr %47, align 4, !tbaa !5
  br label %397

397:                                              ; preds = %407, %387
  %398 = load i32, ptr %47, align 4, !tbaa !5
  %399 = load i32, ptr %16, align 4, !tbaa !5
  %400 = icmp slt i32 %398, %399
  br i1 %400, label %402, label %401

401:                                              ; preds = %397
  store i32 8, ptr %46, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #13
  br label %410

402:                                              ; preds = %397
  %403 = load ptr, ptr %22, align 8, !tbaa !9
  %404 = load i32, ptr %47, align 4, !tbaa !5
  %405 = sext i32 %404 to i64
  %406 = getelementptr inbounds %"struct.std::atomic", ptr %403, i64 %405
  call void @_ZNSt13__atomic_baseIiE5storeEiSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %406, i32 noundef 0, i32 noundef 5) #13
  br label %407

407:                                              ; preds = %402
  %408 = load i32, ptr %47, align 4, !tbaa !5
  %409 = add nsw i32 %408, 1
  store i32 %409, ptr %47, align 4, !tbaa !5
  br label %397, !llvm.loop !24

410:                                              ; preds = %401
  %411 = invoke i32 @cudaDeviceSynchronize()
          to label %412 unwind label %426

412:                                              ; preds = %410
  %413 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 2
  %414 = load i32, ptr %413, align 4, !tbaa !17
  %415 = icmp sgt i32 %414, 0
  br i1 %415, label %416, label %693

416:                                              ; preds = %412
  %417 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 1
  %418 = load i32, ptr %417, align 4, !tbaa !25
  %419 = load i32, ptr %33, align 4, !tbaa !5
  %420 = icmp sle i32 %418, %419
  br i1 %420, label %421, label %422

421:                                              ; preds = %416
  br label %422

422:                                              ; preds = %421, %416
  %423 = phi i1 [ false, %416 ], [ true, %421 ]
  br i1 %423, label %424, label %425

424:                                              ; preds = %422
  br label %431

425:                                              ; preds = %422
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 204, ptr noundef @__PRETTY_FUNCTION__.main) #15
  unreachable

426:                                              ; preds = %693, %597, %587, %580, %557, %538, %498, %478, %455, %445, %438, %431, %410
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %12, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %13, align 4
  br label %699

430:                                              ; No predecessors!
  br label %431

431:                                              ; preds = %430, %424
  %432 = load ptr, ptr %23, align 8, !tbaa !9
  %433 = load ptr, ptr %26, align 8, !tbaa !9
  %434 = load i32, ptr %18, align 4, !tbaa !5
  %435 = sext i32 %434 to i64
  %436 = mul i64 %435, 8
  %437 = invoke i32 @cudaMemcpy(ptr noundef %432, ptr noundef %433, i64 noundef %436, i32 noundef 1)
          to label %438 unwind label %426

438:                                              ; preds = %431
  store i32 %437, ptr %9, align 4, !tbaa !18
  %439 = load ptr, ptr %24, align 8, !tbaa !9
  %440 = load ptr, ptr %21, align 8, !tbaa !9
  %441 = load i32, ptr %19, align 4, !tbaa !5
  %442 = sext i32 %441 to i64
  %443 = mul i64 4, %442
  %444 = invoke i32 @cudaMemcpy(ptr noundef %439, ptr noundef %440, i64 noundef %443, i32 noundef 1)
          to label %445 unwind label %426

445:                                              ; preds = %438
  store i32 %444, ptr %9, align 4, !tbaa !18
  %446 = load ptr, ptr %25, align 8, !tbaa !9
  %447 = load ptr, ptr %22, align 8, !tbaa !9
  %448 = load i32, ptr %16, align 4, !tbaa !5
  %449 = sext i32 %448 to i64
  %450 = mul i64 %449, 4
  %451 = invoke i32 @cudaMemcpy(ptr noundef %446, ptr noundef %447, i64 noundef %450, i32 noundef 1)
          to label %452 unwind label %426

452:                                              ; preds = %445
  store i32 %451, ptr %9, align 4, !tbaa !18
  %453 = load i32, ptr %9, align 4, !tbaa !18
  %454 = icmp ne i32 %453, 0
  br i1 %454, label %455, label %461

455:                                              ; preds = %452
  %456 = load ptr, ptr @stderr, align 8, !tbaa !9
  %457 = load i32, ptr %9, align 4, !tbaa !18
  %458 = invoke ptr @cudaGetErrorString(i32 noundef %457)
          to label %459 unwind label %426

459:                                              ; preds = %455
  %460 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %456, ptr noundef @.str.3, ptr noundef %458, ptr noundef @.str.2, i32 noundef 209) #13
  call void @exit(i32 noundef -1) #15
  unreachable

461:                                              ; preds = %452
  %462 = load i32, ptr %45, align 4, !tbaa !5
  %463 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 4
  %464 = load i32, ptr %463, align 4, !tbaa !22
  %465 = icmp sge i32 %462, %464
  br i1 %465, label %466, label %478

466:                                              ; preds = %461
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %467 unwind label %469

467:                                              ; preds = %466
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %48)
          to label %468 unwind label %473

468:                                              ; preds = %467
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #13
  br label %478

469:                                              ; preds = %466
  %470 = landingpad { ptr, i32 }
          cleanup
  %471 = extractvalue { ptr, i32 } %470, 0
  store ptr %471, ptr %12, align 8
  %472 = extractvalue { ptr, i32 } %470, 1
  store i32 %472, ptr %13, align 4
  br label %477

473:                                              ; preds = %467
  %474 = landingpad { ptr, i32 }
          cleanup
  %475 = extractvalue { ptr, i32 } %474, 0
  store ptr %475, ptr %12, align 8
  %476 = extractvalue { ptr, i32 } %474, 1
  store i32 %476, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #13
  br label %477

477:                                              ; preds = %473, %469
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #13
  br label %699

478:                                              ; preds = %468, %461
  %479 = load i32, ptr %14, align 4, !tbaa !5
  %480 = load i32, ptr %15, align 4, !tbaa !5
  %481 = mul nsw i32 %479, %480
  %482 = load i32, ptr %16, align 4, !tbaa !5
  %483 = mul nsw i32 %481, %482
  %484 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 1
  %485 = load i32, ptr %484, align 4, !tbaa !25
  %486 = load i32, ptr %14, align 4, !tbaa !5
  %487 = load i32, ptr %15, align 4, !tbaa !5
  %488 = mul nsw i32 %486, %487
  %489 = load i32, ptr %16, align 4, !tbaa !5
  %490 = load i32, ptr %17, align 4, !tbaa !5
  %491 = load ptr, ptr %23, align 8, !tbaa !9
  %492 = load ptr, ptr %24, align 8, !tbaa !9
  %493 = load ptr, ptr %25, align 8, !tbaa !9
  %494 = invoke noundef i32 @_Z20call_PTTWAC_soa_astaiiiiiPlPiS0_i(i32 noundef %483, i32 noundef %485, i32 noundef %488, i32 noundef %489, i32 noundef %490, ptr noundef %491, ptr noundef %492, ptr noundef %493, i32 noundef 8)
          to label %495 unwind label %426

495:                                              ; preds = %478
  store i32 %494, ptr %9, align 4, !tbaa !18
  %496 = load i32, ptr %9, align 4, !tbaa !18
  %497 = icmp ne i32 %496, 0
  br i1 %497, label %498, label %504

498:                                              ; preds = %495
  %499 = load ptr, ptr @stderr, align 8, !tbaa !9
  %500 = load i32, ptr %9, align 4, !tbaa !18
  %501 = invoke ptr @cudaGetErrorString(i32 noundef %500)
          to label %502 unwind label %426

502:                                              ; preds = %498
  %503 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %499, ptr noundef @.str.3, ptr noundef %501, ptr noundef @.str.2, i32 noundef 217) #13
  call void @exit(i32 noundef -1) #15
  unreachable

504:                                              ; preds = %495
  %505 = load i32, ptr %45, align 4, !tbaa !5
  %506 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 4
  %507 = load i32, ptr %506, align 4, !tbaa !22
  %508 = icmp sge i32 %505, %507
  br i1 %508, label %509, label %521

509:                                              ; preds = %504
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %51)
          to label %510 unwind label %512

510:                                              ; preds = %509
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %50)
          to label %511 unwind label %516

511:                                              ; preds = %510
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #13
  br label %521

512:                                              ; preds = %509
  %513 = landingpad { ptr, i32 }
          cleanup
  %514 = extractvalue { ptr, i32 } %513, 0
  store ptr %514, ptr %12, align 8
  %515 = extractvalue { ptr, i32 } %513, 1
  store i32 %515, ptr %13, align 4
  br label %520

516:                                              ; preds = %510
  %517 = landingpad { ptr, i32 }
          cleanup
  %518 = extractvalue { ptr, i32 } %517, 0
  store ptr %518, ptr %12, align 8
  %519 = extractvalue { ptr, i32 } %517, 1
  store i32 %519, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #13
  br label %520

520:                                              ; preds = %516, %512
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #13
  br label %699

521:                                              ; preds = %511, %504
  %522 = load i32, ptr %45, align 4, !tbaa !5
  %523 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 4
  %524 = load i32, ptr %523, align 4, !tbaa !22
  %525 = icmp sge i32 %522, %524
  br i1 %525, label %526, label %538

526:                                              ; preds = %521
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %527 unwind label %529

527:                                              ; preds = %526
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %52)
          to label %528 unwind label %533

528:                                              ; preds = %527
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #13
  br label %538

529:                                              ; preds = %526
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %12, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %13, align 4
  br label %537

533:                                              ; preds = %527
  %534 = landingpad { ptr, i32 }
          cleanup
  %535 = extractvalue { ptr, i32 } %534, 0
  store ptr %535, ptr %12, align 8
  %536 = extractvalue { ptr, i32 } %534, 1
  store i32 %536, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #13
  br label %537

537:                                              ; preds = %533, %529
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #13
  br label %699

538:                                              ; preds = %528, %521
  %539 = load i32, ptr %14, align 4, !tbaa !5
  %540 = load i32, ptr %16, align 4, !tbaa !5
  %541 = mul nsw i32 %539, %540
  %542 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 1
  %543 = load i32, ptr %542, align 4, !tbaa !25
  %544 = load i32, ptr %15, align 4, !tbaa !5
  %545 = load i32, ptr %17, align 4, !tbaa !5
  %546 = load ptr, ptr %23, align 8, !tbaa !9
  %547 = load i32, ptr %15, align 4, !tbaa !5
  %548 = load i32, ptr %17, align 4, !tbaa !5
  %549 = mul nsw i32 %547, %548
  %550 = sext i32 %549 to i64
  %551 = mul i64 %550, 8
  %552 = trunc i64 %551 to i32
  %553 = invoke noundef i32 @_Z15call_BS_marshaliiiiPli(i32 noundef %541, i32 noundef %543, i32 noundef %544, i32 noundef %545, ptr noundef %546, i32 noundef %552)
          to label %554 unwind label %426

554:                                              ; preds = %538
  store i32 %553, ptr %9, align 4, !tbaa !18
  %555 = load i32, ptr %9, align 4, !tbaa !18
  %556 = icmp ne i32 %555, 0
  br i1 %556, label %557, label %563

557:                                              ; preds = %554
  %558 = load ptr, ptr @stderr, align 8, !tbaa !9
  %559 = load i32, ptr %9, align 4, !tbaa !18
  %560 = invoke ptr @cudaGetErrorString(i32 noundef %559)
          to label %561 unwind label %426

561:                                              ; preds = %557
  %562 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %558, ptr noundef @.str.3, ptr noundef %560, ptr noundef @.str.2, i32 noundef 227) #13
  call void @exit(i32 noundef -1) #15
  unreachable

563:                                              ; preds = %554
  %564 = load i32, ptr %45, align 4, !tbaa !5
  %565 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 4
  %566 = load i32, ptr %565, align 4, !tbaa !22
  %567 = icmp sge i32 %564, %566
  br i1 %567, label %568, label %580

568:                                              ; preds = %563
  call void @llvm.lifetime.start.p0(i64 1, ptr %55) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %55)
          to label %569 unwind label %571

569:                                              ; preds = %568
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %54)
          to label %570 unwind label %575

570:                                              ; preds = %569
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #13
  br label %580

571:                                              ; preds = %568
  %572 = landingpad { ptr, i32 }
          cleanup
  %573 = extractvalue { ptr, i32 } %572, 0
  store ptr %573, ptr %12, align 8
  %574 = extractvalue { ptr, i32 } %572, 1
  store i32 %574, ptr %13, align 4
  br label %579

575:                                              ; preds = %569
  %576 = landingpad { ptr, i32 }
          cleanup
  %577 = extractvalue { ptr, i32 } %576, 0
  store ptr %577, ptr %12, align 8
  %578 = extractvalue { ptr, i32 } %576, 1
  store i32 %578, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #13
  br label %579

579:                                              ; preds = %575, %571
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #13
  br label %699

580:                                              ; preds = %570, %563
  %581 = load ptr, ptr %24, align 8, !tbaa !9
  %582 = load ptr, ptr %21, align 8, !tbaa !9
  %583 = load i32, ptr %19, align 4, !tbaa !5
  %584 = sext i32 %583 to i64
  %585 = mul i64 4, %584
  %586 = invoke i32 @cudaMemcpy(ptr noundef %581, ptr noundef %582, i64 noundef %585, i32 noundef 1)
          to label %587 unwind label %426

587:                                              ; preds = %580
  store i32 %586, ptr %9, align 4, !tbaa !18
  %588 = load ptr, ptr %25, align 8, !tbaa !9
  %589 = load ptr, ptr %22, align 8, !tbaa !9
  %590 = load i32, ptr %16, align 4, !tbaa !5
  %591 = sext i32 %590 to i64
  %592 = mul i64 %591, 4
  %593 = invoke i32 @cudaMemcpy(ptr noundef %588, ptr noundef %589, i64 noundef %592, i32 noundef 1)
          to label %594 unwind label %426

594:                                              ; preds = %587
  store i32 %593, ptr %9, align 4, !tbaa !18
  %595 = load i32, ptr %9, align 4, !tbaa !18
  %596 = icmp ne i32 %595, 0
  br i1 %596, label %597, label %603

597:                                              ; preds = %594
  %598 = load ptr, ptr @stderr, align 8, !tbaa !9
  %599 = load i32, ptr %9, align 4, !tbaa !18
  %600 = invoke ptr @cudaGetErrorString(i32 noundef %599)
          to label %601 unwind label %426

601:                                              ; preds = %597
  %602 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %598, ptr noundef @.str.3, ptr noundef %600, ptr noundef @.str.2, i32 noundef 234) #13
  call void @exit(i32 noundef -1) #15
  unreachable

603:                                              ; preds = %594
  %604 = load i32, ptr %45, align 4, !tbaa !5
  %605 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 4
  %606 = load i32, ptr %605, align 4, !tbaa !22
  %607 = icmp sge i32 %604, %606
  br i1 %607, label %608, label %620

608:                                              ; preds = %603
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %609 unwind label %611

609:                                              ; preds = %608
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %56)
          to label %610 unwind label %615

610:                                              ; preds = %609
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #13
  br label %620

611:                                              ; preds = %608
  %612 = landingpad { ptr, i32 }
          cleanup
  %613 = extractvalue { ptr, i32 } %612, 0
  store ptr %613, ptr %12, align 8
  %614 = extractvalue { ptr, i32 } %612, 1
  store i32 %614, ptr %13, align 4
  br label %619

615:                                              ; preds = %609
  %616 = landingpad { ptr, i32 }
          cleanup
  %617 = extractvalue { ptr, i32 } %616, 0
  store ptr %617, ptr %12, align 8
  %618 = extractvalue { ptr, i32 } %616, 1
  store i32 %618, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #13
  br label %619

619:                                              ; preds = %615, %611
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #13
  br label %699

620:                                              ; preds = %610, %603
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #13
  store i32 0, ptr %58, align 4, !tbaa !5
  br label %621

621:                                              ; preds = %672, %620
  %622 = load i32, ptr %58, align 4, !tbaa !5
  %623 = load i32, ptr %16, align 4, !tbaa !5
  %624 = icmp slt i32 %622, %623
  br i1 %624, label %626, label %625

625:                                              ; preds = %621
  store i32 11, ptr %46, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #13
  br label %675

626:                                              ; preds = %621
  %627 = load i32, ptr %14, align 4, !tbaa !5
  %628 = load i32, ptr %17, align 4, !tbaa !5
  %629 = mul nsw i32 %627, %628
  %630 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 1
  %631 = load i32, ptr %630, align 4, !tbaa !25
  %632 = load i32, ptr %14, align 4, !tbaa !5
  %633 = load i32, ptr %17, align 4, !tbaa !5
  %634 = load i32, ptr %15, align 4, !tbaa !5
  %635 = load ptr, ptr %23, align 8, !tbaa !9
  %636 = load i32, ptr %58, align 4, !tbaa !5
  %637 = load i32, ptr %14, align 4, !tbaa !5
  %638 = mul nsw i32 %636, %637
  %639 = load i32, ptr %17, align 4, !tbaa !5
  %640 = mul nsw i32 %638, %639
  %641 = load i32, ptr %15, align 4, !tbaa !5
  %642 = mul nsw i32 %640, %641
  %643 = sext i32 %642 to i64
  %644 = getelementptr inbounds i64, ptr %635, i64 %643
  %645 = load ptr, ptr %24, align 8, !tbaa !9
  %646 = load i32, ptr %58, align 4, !tbaa !5
  %647 = load i32, ptr %14, align 4, !tbaa !5
  %648 = mul nsw i32 %646, %647
  %649 = load i32, ptr %17, align 4, !tbaa !5
  %650 = mul nsw i32 %648, %649
  %651 = sext i32 %650 to i64
  %652 = getelementptr inbounds i32, ptr %645, i64 %651
  %653 = load ptr, ptr %25, align 8, !tbaa !9
  %654 = load i32, ptr %58, align 4, !tbaa !5
  %655 = sext i32 %654 to i64
  %656 = getelementptr inbounds i32, ptr %653, i64 %655
  %657 = invoke noundef i32 @_Z20call_PTTWAC_soa_astaiiiiiPlPiS0_i(i32 noundef %629, i32 noundef %631, i32 noundef %632, i32 noundef %633, i32 noundef %634, ptr noundef %644, ptr noundef %652, ptr noundef %656, i32 noundef 8)
          to label %658 unwind label %667

658:                                              ; preds = %626
  store i32 %657, ptr %9, align 4, !tbaa !18
  %659 = load i32, ptr %9, align 4, !tbaa !18
  %660 = icmp ne i32 %659, 0
  br i1 %660, label %661, label %671

661:                                              ; preds = %658
  %662 = load ptr, ptr @stderr, align 8, !tbaa !9
  %663 = load i32, ptr %9, align 4, !tbaa !18
  %664 = invoke ptr @cudaGetErrorString(i32 noundef %663)
          to label %665 unwind label %667

665:                                              ; preds = %661
  %666 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %662, ptr noundef @.str.3, ptr noundef %664, ptr noundef @.str.2, i32 noundef 242) #13
  call void @exit(i32 noundef -1) #15
  unreachable

667:                                              ; preds = %661, %626
  %668 = landingpad { ptr, i32 }
          cleanup
  %669 = extractvalue { ptr, i32 } %668, 0
  store ptr %669, ptr %12, align 8
  %670 = extractvalue { ptr, i32 } %668, 1
  store i32 %670, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #13
  br label %699

671:                                              ; preds = %658
  br label %672

672:                                              ; preds = %671
  %673 = load i32, ptr %58, align 4, !tbaa !5
  %674 = add nsw i32 %673, 1
  store i32 %674, ptr %58, align 4, !tbaa !5
  br label %621, !llvm.loop !26

675:                                              ; preds = %625
  %676 = load i32, ptr %45, align 4, !tbaa !5
  %677 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 4
  %678 = load i32, ptr %677, align 4, !tbaa !22
  %679 = icmp sge i32 %676, %678
  br i1 %679, label %680, label %692

680:                                              ; preds = %675
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %60)
          to label %681 unwind label %683

681:                                              ; preds = %680
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %59)
          to label %682 unwind label %687

682:                                              ; preds = %681
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #13
  br label %692

683:                                              ; preds = %680
  %684 = landingpad { ptr, i32 }
          cleanup
  %685 = extractvalue { ptr, i32 } %684, 0
  store ptr %685, ptr %12, align 8
  %686 = extractvalue { ptr, i32 } %684, 1
  store i32 %686, ptr %13, align 4
  br label %691

687:                                              ; preds = %681
  %688 = landingpad { ptr, i32 }
          cleanup
  %689 = extractvalue { ptr, i32 } %688, 0
  store ptr %689, ptr %12, align 8
  %690 = extractvalue { ptr, i32 } %688, 1
  store i32 %690, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #13
  br label %691

691:                                              ; preds = %687, %683
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #13
  br label %699

692:                                              ; preds = %682, %675
  br label %693

693:                                              ; preds = %692, %412
  %694 = invoke i32 @cudaDeviceSynchronize()
          to label %695 unwind label %426

695:                                              ; preds = %693
  br label %696

696:                                              ; preds = %695
  %697 = load i32, ptr %45, align 4, !tbaa !5
  %698 = add nsw i32 %697, 1
  store i32 %698, ptr %45, align 4, !tbaa !5
  br label %360, !llvm.loop !27

699:                                              ; preds = %691, %667, %619, %579, %537, %520, %477, %426
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #13
  br label %958

700:                                              ; preds = %368
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %701 unwind label %734

701:                                              ; preds = %700
  %702 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 5
  %703 = load i32, ptr %702, align 4, !tbaa !23
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %61, i32 noundef %703)
          to label %704 unwind label %738

704:                                              ; preds = %701
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %705 unwind label %743

705:                                              ; preds = %704
  %706 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 5
  %707 = load i32, ptr %706, align 4, !tbaa !23
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %63, i32 noundef %707)
          to label %708 unwind label %747

708:                                              ; preds = %705
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %66) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %66)
          to label %709 unwind label %752

709:                                              ; preds = %708
  %710 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 5
  %711 = load i32, ptr %710, align 4, !tbaa !23
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %65, i32 noundef %711)
          to label %712 unwind label %756

712:                                              ; preds = %709
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %68) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %713 unwind label %761

713:                                              ; preds = %712
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %67)
          to label %714 unwind label %765

714:                                              ; preds = %713
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #13
  %715 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 2
  %716 = load i32, ptr %715, align 4, !tbaa !17
  %717 = icmp ne i32 %716, 0
  br i1 %717, label %718, label %773

718:                                              ; preds = %714
  %719 = load ptr, ptr %20, align 8, !tbaa !9
  %720 = load ptr, ptr %23, align 8, !tbaa !9
  %721 = load i32, ptr %18, align 4, !tbaa !5
  %722 = sext i32 %721 to i64
  %723 = mul i64 %722, 8
  %724 = invoke i32 @cudaMemcpy(ptr noundef %719, ptr noundef %720, i64 noundef %723, i32 noundef 2)
          to label %725 unwind label %268

725:                                              ; preds = %718
  store i32 %724, ptr %9, align 4, !tbaa !18
  %726 = load i32, ptr %9, align 4, !tbaa !18
  %727 = icmp ne i32 %726, 0
  br i1 %727, label %728, label %770

728:                                              ; preds = %725
  %729 = load ptr, ptr @stderr, align 8, !tbaa !9
  %730 = load i32, ptr %9, align 4, !tbaa !18
  %731 = invoke ptr @cudaGetErrorString(i32 noundef %730)
          to label %732 unwind label %268

732:                                              ; preds = %728
  %733 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %729, ptr noundef @.str.3, ptr noundef %731, ptr noundef @.str.2, i32 noundef 261) #13
  call void @exit(i32 noundef -1) #15
  unreachable

734:                                              ; preds = %700
  %735 = landingpad { ptr, i32 }
          cleanup
  %736 = extractvalue { ptr, i32 } %735, 0
  store ptr %736, ptr %12, align 8
  %737 = extractvalue { ptr, i32 } %735, 1
  store i32 %737, ptr %13, align 4
  br label %742

738:                                              ; preds = %701
  %739 = landingpad { ptr, i32 }
          cleanup
  %740 = extractvalue { ptr, i32 } %739, 0
  store ptr %740, ptr %12, align 8
  %741 = extractvalue { ptr, i32 } %739, 1
  store i32 %741, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #13
  br label %742

742:                                              ; preds = %738, %734
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #13
  br label %958

743:                                              ; preds = %704
  %744 = landingpad { ptr, i32 }
          cleanup
  %745 = extractvalue { ptr, i32 } %744, 0
  store ptr %745, ptr %12, align 8
  %746 = extractvalue { ptr, i32 } %744, 1
  store i32 %746, ptr %13, align 4
  br label %751

747:                                              ; preds = %705
  %748 = landingpad { ptr, i32 }
          cleanup
  %749 = extractvalue { ptr, i32 } %748, 0
  store ptr %749, ptr %12, align 8
  %750 = extractvalue { ptr, i32 } %748, 1
  store i32 %750, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #13
  br label %751

751:                                              ; preds = %747, %743
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #13
  br label %958

752:                                              ; preds = %708
  %753 = landingpad { ptr, i32 }
          cleanup
  %754 = extractvalue { ptr, i32 } %753, 0
  store ptr %754, ptr %12, align 8
  %755 = extractvalue { ptr, i32 } %753, 1
  store i32 %755, ptr %13, align 4
  br label %760

756:                                              ; preds = %709
  %757 = landingpad { ptr, i32 }
          cleanup
  %758 = extractvalue { ptr, i32 } %757, 0
  store ptr %758, ptr %12, align 8
  %759 = extractvalue { ptr, i32 } %757, 1
  store i32 %759, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #13
  br label %760

760:                                              ; preds = %756, %752
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #13
  br label %958

761:                                              ; preds = %712
  %762 = landingpad { ptr, i32 }
          cleanup
  %763 = extractvalue { ptr, i32 } %762, 0
  store ptr %763, ptr %12, align 8
  %764 = extractvalue { ptr, i32 } %762, 1
  store i32 %764, ptr %13, align 4
  br label %769

765:                                              ; preds = %713
  %766 = landingpad { ptr, i32 }
          cleanup
  %767 = extractvalue { ptr, i32 } %766, 0
  store ptr %767, ptr %12, align 8
  %768 = extractvalue { ptr, i32 } %766, 1
  store i32 %768, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #13
  br label %769

769:                                              ; preds = %765, %761
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #13
  br label %958

770:                                              ; preds = %725
  %771 = invoke i32 @cudaDeviceSynchronize()
          to label %772 unwind label %268

772:                                              ; preds = %770
  br label %773

773:                                              ; preds = %772, %714
  call void @llvm.lifetime.start.p0(i64 1, ptr %70) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %70)
          to label %774 unwind label %813

774:                                              ; preds = %773
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %69)
          to label %775 unwind label %817

775:                                              ; preds = %774
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %72) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %72)
          to label %776 unwind label %822

776:                                              ; preds = %775
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %71, i32 noundef 1)
          to label %777 unwind label %826

777:                                              ; preds = %776
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #13
  %778 = load ptr, ptr %20, align 8, !tbaa !9
  %779 = load ptr, ptr %26, align 8, !tbaa !9
  %780 = load i32, ptr %14, align 4, !tbaa !5
  %781 = load i32, ptr %15, align 4, !tbaa !5
  %782 = mul nsw i32 %780, %781
  %783 = load i32, ptr %16, align 4, !tbaa !5
  %784 = load i32, ptr %17, align 4, !tbaa !5
  %785 = mul nsw i32 %783, %784
  invoke void @_Z6verifyPlS_iii(ptr noundef %778, ptr noundef %779, i32 noundef %782, i32 noundef %785, i32 noundef 1)
          to label %786 unwind label %268

786:                                              ; preds = %777
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %74)
          to label %787 unwind label %831

787:                                              ; preds = %786
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %73)
          to label %788 unwind label %835

788:                                              ; preds = %787
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #13
  %789 = load ptr, ptr %20, align 8, !tbaa !9
  call void @free(ptr noundef %789) #13
  %790 = load ptr, ptr %21, align 8, !tbaa !9
  call void @free(ptr noundef %790) #13
  %791 = load ptr, ptr %22, align 8, !tbaa !9
  call void @free(ptr noundef %791) #13
  %792 = getelementptr inbounds %struct.Params, ptr %6, i32 0, i32 2
  %793 = load i32, ptr %792, align 4, !tbaa !17
  %794 = icmp ne i32 %793, 0
  br i1 %794, label %795, label %841

795:                                              ; preds = %788
  %796 = load ptr, ptr %23, align 8, !tbaa !9
  %797 = invoke i32 @cudaFree(ptr noundef %796)
          to label %798 unwind label %268

798:                                              ; preds = %795
  store i32 %797, ptr %9, align 4, !tbaa !18
  %799 = load ptr, ptr %24, align 8, !tbaa !9
  %800 = invoke i32 @cudaFree(ptr noundef %799)
          to label %801 unwind label %268

801:                                              ; preds = %798
  store i32 %800, ptr %9, align 4, !tbaa !18
  %802 = load ptr, ptr %25, align 8, !tbaa !9
  %803 = invoke i32 @cudaFree(ptr noundef %802)
          to label %804 unwind label %268

804:                                              ; preds = %801
  store i32 %803, ptr %9, align 4, !tbaa !18
  %805 = load i32, ptr %9, align 4, !tbaa !18
  %806 = icmp ne i32 %805, 0
  br i1 %806, label %807, label %840

807:                                              ; preds = %804
  %808 = load ptr, ptr @stderr, align 8, !tbaa !9
  %809 = load i32, ptr %9, align 4, !tbaa !18
  %810 = invoke ptr @cudaGetErrorString(i32 noundef %809)
          to label %811 unwind label %268

811:                                              ; preds = %807
  %812 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %808, ptr noundef @.str.3, ptr noundef %810, ptr noundef @.str.2, i32 noundef 279) #13
  call void @exit(i32 noundef -1) #15
  unreachable

813:                                              ; preds = %773
  %814 = landingpad { ptr, i32 }
          cleanup
  %815 = extractvalue { ptr, i32 } %814, 0
  store ptr %815, ptr %12, align 8
  %816 = extractvalue { ptr, i32 } %814, 1
  store i32 %816, ptr %13, align 4
  br label %821

817:                                              ; preds = %774
  %818 = landingpad { ptr, i32 }
          cleanup
  %819 = extractvalue { ptr, i32 } %818, 0
  store ptr %819, ptr %12, align 8
  %820 = extractvalue { ptr, i32 } %818, 1
  store i32 %820, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #13
  br label %821

821:                                              ; preds = %817, %813
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #13
  br label %958

822:                                              ; preds = %775
  %823 = landingpad { ptr, i32 }
          cleanup
  %824 = extractvalue { ptr, i32 } %823, 0
  store ptr %824, ptr %12, align 8
  %825 = extractvalue { ptr, i32 } %823, 1
  store i32 %825, ptr %13, align 4
  br label %830

826:                                              ; preds = %776
  %827 = landingpad { ptr, i32 }
          cleanup
  %828 = extractvalue { ptr, i32 } %827, 0
  store ptr %828, ptr %12, align 8
  %829 = extractvalue { ptr, i32 } %827, 1
  store i32 %829, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #13
  br label %830

830:                                              ; preds = %826, %822
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #13
  br label %958

831:                                              ; preds = %786
  %832 = landingpad { ptr, i32 }
          cleanup
  %833 = extractvalue { ptr, i32 } %832, 0
  store ptr %833, ptr %12, align 8
  %834 = extractvalue { ptr, i32 } %832, 1
  store i32 %834, ptr %13, align 4
  br label %839

835:                                              ; preds = %787
  %836 = landingpad { ptr, i32 }
          cleanup
  %837 = extractvalue { ptr, i32 } %836, 0
  store ptr %837, ptr %12, align 8
  %838 = extractvalue { ptr, i32 } %836, 1
  store i32 %838, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #13
  br label %839

839:                                              ; preds = %835, %831
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #13
  br label %958

840:                                              ; preds = %804
  br label %841

841:                                              ; preds = %840, %788
  %842 = load ptr, ptr %26, align 8, !tbaa !9
  call void @free(ptr noundef %842) #13
  %843 = invoke i32 @cudaDeviceSynchronize()
          to label %844 unwind label %268

844:                                              ; preds = %841
  call void @llvm.lifetime.start.p0(i64 1, ptr %76) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %76)
          to label %845 unwind label %868

845:                                              ; preds = %844
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %75)
          to label %846 unwind label %872

846:                                              ; preds = %845
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %78) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %78)
          to label %847 unwind label %877

847:                                              ; preds = %846
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %77, i32 noundef 1)
          to label %848 unwind label %881

848:                                              ; preds = %847
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %80) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %80)
          to label %849 unwind label %886

849:                                              ; preds = %848
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %79)
          to label %850 unwind label %890

850:                                              ; preds = %849
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %82) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %82)
          to label %851 unwind label %895

851:                                              ; preds = %850
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %81)
          to label %852 unwind label %899

852:                                              ; preds = %851
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %84) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %83, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %84)
          to label %853 unwind label %904

853:                                              ; preds = %852
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %83)
          to label %854 unwind label %908

854:                                              ; preds = %853
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %86) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %86)
          to label %855 unwind label %913

855:                                              ; preds = %854
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %85)
          to label %856 unwind label %917

856:                                              ; preds = %855
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %88) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %88)
          to label %857 unwind label %922

857:                                              ; preds = %856
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %87)
          to label %858 unwind label %926

858:                                              ; preds = %857
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %90) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %90)
          to label %859 unwind label %931

859:                                              ; preds = %858
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %89)
          to label %860 unwind label %935

860:                                              ; preds = %859
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %92) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %92) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %92)
          to label %861 unwind label %940

861:                                              ; preds = %860
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %91)
          to label %862 unwind label %944

862:                                              ; preds = %861
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %91) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %92) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %92) #13
  call void @llvm.lifetime.start.p0(i64 1, ptr %94) #13
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %94) #13
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %93, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %94)
          to label %863 unwind label %949

863:                                              ; preds = %862
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %8, ptr noundef %93)
          to label %864 unwind label %953

864:                                              ; preds = %863
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #13
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %94) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %94) #13
  %865 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.13)
          to label %866 unwind label %268

866:                                              ; preds = %864
  store i32 0, ptr %3, align 4
  store i32 1, ptr %46, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #13
  call void @_ZN5TimerD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #13
  call void @llvm.lifetime.end.p0(i64 144, ptr %8) #13
  call void @llvm.lifetime.end.p0(i64 728, ptr %7) #13
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #13
  %867 = load i32, ptr %3, align 4
  ret i32 %867

868:                                              ; preds = %844
  %869 = landingpad { ptr, i32 }
          cleanup
  %870 = extractvalue { ptr, i32 } %869, 0
  store ptr %870, ptr %12, align 8
  %871 = extractvalue { ptr, i32 } %869, 1
  store i32 %871, ptr %13, align 4
  br label %876

872:                                              ; preds = %845
  %873 = landingpad { ptr, i32 }
          cleanup
  %874 = extractvalue { ptr, i32 } %873, 0
  store ptr %874, ptr %12, align 8
  %875 = extractvalue { ptr, i32 } %873, 1
  store i32 %875, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #13
  br label %876

876:                                              ; preds = %872, %868
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #13
  br label %958

877:                                              ; preds = %846
  %878 = landingpad { ptr, i32 }
          cleanup
  %879 = extractvalue { ptr, i32 } %878, 0
  store ptr %879, ptr %12, align 8
  %880 = extractvalue { ptr, i32 } %878, 1
  store i32 %880, ptr %13, align 4
  br label %885

881:                                              ; preds = %847
  %882 = landingpad { ptr, i32 }
          cleanup
  %883 = extractvalue { ptr, i32 } %882, 0
  store ptr %883, ptr %12, align 8
  %884 = extractvalue { ptr, i32 } %882, 1
  store i32 %884, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #13
  br label %885

885:                                              ; preds = %881, %877
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #13
  br label %958

886:                                              ; preds = %848
  %887 = landingpad { ptr, i32 }
          cleanup
  %888 = extractvalue { ptr, i32 } %887, 0
  store ptr %888, ptr %12, align 8
  %889 = extractvalue { ptr, i32 } %887, 1
  store i32 %889, ptr %13, align 4
  br label %894

890:                                              ; preds = %849
  %891 = landingpad { ptr, i32 }
          cleanup
  %892 = extractvalue { ptr, i32 } %891, 0
  store ptr %892, ptr %12, align 8
  %893 = extractvalue { ptr, i32 } %891, 1
  store i32 %893, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #13
  br label %894

894:                                              ; preds = %890, %886
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #13
  br label %958

895:                                              ; preds = %850
  %896 = landingpad { ptr, i32 }
          cleanup
  %897 = extractvalue { ptr, i32 } %896, 0
  store ptr %897, ptr %12, align 8
  %898 = extractvalue { ptr, i32 } %896, 1
  store i32 %898, ptr %13, align 4
  br label %903

899:                                              ; preds = %851
  %900 = landingpad { ptr, i32 }
          cleanup
  %901 = extractvalue { ptr, i32 } %900, 0
  store ptr %901, ptr %12, align 8
  %902 = extractvalue { ptr, i32 } %900, 1
  store i32 %902, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #13
  br label %903

903:                                              ; preds = %899, %895
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #13
  br label %958

904:                                              ; preds = %852
  %905 = landingpad { ptr, i32 }
          cleanup
  %906 = extractvalue { ptr, i32 } %905, 0
  store ptr %906, ptr %12, align 8
  %907 = extractvalue { ptr, i32 } %905, 1
  store i32 %907, ptr %13, align 4
  br label %912

908:                                              ; preds = %853
  %909 = landingpad { ptr, i32 }
          cleanup
  %910 = extractvalue { ptr, i32 } %909, 0
  store ptr %910, ptr %12, align 8
  %911 = extractvalue { ptr, i32 } %909, 1
  store i32 %911, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #13
  br label %912

912:                                              ; preds = %908, %904
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %84) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %84) #13
  br label %958

913:                                              ; preds = %854
  %914 = landingpad { ptr, i32 }
          cleanup
  %915 = extractvalue { ptr, i32 } %914, 0
  store ptr %915, ptr %12, align 8
  %916 = extractvalue { ptr, i32 } %914, 1
  store i32 %916, ptr %13, align 4
  br label %921

917:                                              ; preds = %855
  %918 = landingpad { ptr, i32 }
          cleanup
  %919 = extractvalue { ptr, i32 } %918, 0
  store ptr %919, ptr %12, align 8
  %920 = extractvalue { ptr, i32 } %918, 1
  store i32 %920, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #13
  br label %921

921:                                              ; preds = %917, %913
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #13
  br label %958

922:                                              ; preds = %856
  %923 = landingpad { ptr, i32 }
          cleanup
  %924 = extractvalue { ptr, i32 } %923, 0
  store ptr %924, ptr %12, align 8
  %925 = extractvalue { ptr, i32 } %923, 1
  store i32 %925, ptr %13, align 4
  br label %930

926:                                              ; preds = %857
  %927 = landingpad { ptr, i32 }
          cleanup
  %928 = extractvalue { ptr, i32 } %927, 0
  store ptr %928, ptr %12, align 8
  %929 = extractvalue { ptr, i32 } %927, 1
  store i32 %929, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #13
  br label %930

930:                                              ; preds = %926, %922
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #13
  br label %958

931:                                              ; preds = %858
  %932 = landingpad { ptr, i32 }
          cleanup
  %933 = extractvalue { ptr, i32 } %932, 0
  store ptr %933, ptr %12, align 8
  %934 = extractvalue { ptr, i32 } %932, 1
  store i32 %934, ptr %13, align 4
  br label %939

935:                                              ; preds = %859
  %936 = landingpad { ptr, i32 }
          cleanup
  %937 = extractvalue { ptr, i32 } %936, 0
  store ptr %937, ptr %12, align 8
  %938 = extractvalue { ptr, i32 } %936, 1
  store i32 %938, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #13
  br label %939

939:                                              ; preds = %935, %931
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #13
  br label %958

940:                                              ; preds = %860
  %941 = landingpad { ptr, i32 }
          cleanup
  %942 = extractvalue { ptr, i32 } %941, 0
  store ptr %942, ptr %12, align 8
  %943 = extractvalue { ptr, i32 } %941, 1
  store i32 %943, ptr %13, align 4
  br label %948

944:                                              ; preds = %861
  %945 = landingpad { ptr, i32 }
          cleanup
  %946 = extractvalue { ptr, i32 } %945, 0
  store ptr %946, ptr %12, align 8
  %947 = extractvalue { ptr, i32 } %945, 1
  store i32 %947, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %91) #13
  br label %948

948:                                              ; preds = %944, %940
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %92) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %92) #13
  br label %958

949:                                              ; preds = %862
  %950 = landingpad { ptr, i32 }
          cleanup
  %951 = extractvalue { ptr, i32 } %950, 0
  store ptr %951, ptr %12, align 8
  %952 = extractvalue { ptr, i32 } %950, 1
  store i32 %952, ptr %13, align 4
  br label %957

953:                                              ; preds = %863
  %954 = landingpad { ptr, i32 }
          cleanup
  %955 = extractvalue { ptr, i32 } %954, 0
  store ptr %955, ptr %12, align 8
  %956 = extractvalue { ptr, i32 } %954, 1
  store i32 %956, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #13
  br label %957

957:                                              ; preds = %953, %949
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %94) #13
  call void @llvm.lifetime.end.p0(i64 1, ptr %94) #13
  br label %958

958:                                              ; preds = %957, %948, %939, %930, %921, %912, %903, %894, %885, %876, %839, %830, %821, %769, %760, %751, %742, %699, %386, %377, %351, %342, %333, %268
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #13
  br label %959

959:                                              ; preds = %958, %267, %258, %249, %237
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #13
  br label %960

960:                                              ; preds = %959, %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #13
  br label %961

961:                                              ; preds = %960, %146
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #13
  call void @_ZN5TimerD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #13
  call void @llvm.lifetime.end.p0(i64 144, ptr %8) #13
  call void @llvm.lifetime.end.p0(i64 728, ptr %7) #13
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #13
  br label %962

962:                                              ; preds = %961
  %963 = load ptr, ptr %12, align 8
  %964 = load i32, ptr %13, align 4
  %965 = insertvalue { ptr, i32 } poison, ptr %963, 0
  %966 = insertvalue { ptr, i32 } %965, i32 %964, 1
  resume { ptr, i32 } %966
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ParamsC2EiPPc(ptr noundef nonnull align 4 dereferenceable(40), i32 noundef, ptr noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9CUDASetupC2Ei(ptr noundef nonnull align 8 dereferenceable(728), i32 noundef) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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 nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #5

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #6

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #7

declare i32 @cudaMalloc(ptr noundef, i64 noundef) #8

declare ptr @cudaGetErrorString(i32 noundef) #8

declare i32 @cudaDeviceSynchronize() #8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN9CUDASetup15max_gpu_threadsEv(ptr noundef nonnull align 8 dereferenceable(728)) #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNSt13__atomic_baseIiE5storeEiSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, i32 noundef) #10 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #11

declare i32 @cudaMemcpy(ptr noundef, ptr noundef, i64 noundef, i32 noundef) #8

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #7

declare noundef i32 @_Z20call_PTTWAC_soa_astaiiiiiPlPiS0_i(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #8

declare noundef i32 @_Z15call_BS_marshaliiiiPli(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z6verifyPlS_iii(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #12

; Function Attrs: nounwind
declare void @free(ptr noundef) #6

declare i32 @cudaFree(ptr noundef) #8

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

declare i32 @printf(ptr noundef, ...) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5TimerD2Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4 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 = { mustprogress norecurse 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 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 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 = { nounwind 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 = { 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 = { noreturn 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { alwaysinline 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 #11 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #12 = { 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 #13 = { nounwind }
attributes #14 = { nounwind allocsize(0) }
attributes #15 = { noreturn 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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS6Params", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36}
!13 = !{!12, !6, i64 24}
!14 = !{!12, !6, i64 28}
!15 = !{!12, !6, i64 32}
!16 = !{!12, !6, i64 36}
!17 = !{!12, !6, i64 8}
!18 = !{!19, !19, i64 0}
!19 = !{!"_ZTS9cudaError", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!12, !6, i64 16}
!23 = !{!12, !6, i64 20}
!24 = distinct !{!24, !21}
!25 = !{!12, !6, i64 4}
!26 = distinct !{!26, !21}
!27 = distinct !{!27, !21}


; 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"

%struct.Params = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.CUDASetup = type { %struct.cudaDeviceProp }
%struct.cudaDeviceProp = type { [256 x i8], %struct.CUuuid_st, [8 x i8], i32, i64, i64, i32, i32, i64, i32, [3 x i32], [3 x i32], i32, i64, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 x i32], [2 x i32], [3 x i32], [2 x i32], [3 x i32], [3 x i32], i32, [2 x i32], [3 x i32], [2 x i32], i32, [2 x i32], [3 x i32], [2 x i32], [3 x i32], i32, [2 x i32], i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i64 }
%struct.CUuuid_st = type { [16 x i8] }
%struct.Timer = type { %"class.std::map", %"class.std::map", %"class.std::map.0" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, CUevent_st *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, CUevent_st *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, CUevent_st *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, CUevent_st *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.0" = type { %"class.std::_Rb_tree.1" }
%"class.std::_Rb_tree.1" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, float>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, float>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, float>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, float>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"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::allocator.5" = type { i8 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }

@.str = external hidden unnamed_addr constant [11 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [140 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10read_inputPlRK6Params(ptr noundef, ptr noundef nonnull align 4 dereferenceable(40)) local_unnamed_addr #0

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

; 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 norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.Params, align 4
  %4 = alloca %struct.CUDASetup, align 8
  %5 = alloca %struct.Timer, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator.5", align 1
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.5", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.5", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.5", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.5", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.5", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.5", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.5", align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.5", align 1
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.5", align 1
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator.5", align 1
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.5", align 1
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator.5", align 1
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator.5", align 1
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.5", align 1
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator.5", align 1
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::allocator.5", align 1
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.std::allocator.5", align 1
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca %"class.std::allocator.5", align 1
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator.5", align 1
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator.5", align 1
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator.5", align 1
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::allocator.5", align 1
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.5", align 1
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %"class.std::allocator.5", align 1
  %59 = alloca %"class.std::__cxx11::basic_string", align 8
  %60 = alloca %"class.std::allocator.5", align 1
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::allocator.5", align 1
  %63 = alloca %"class.std::__cxx11::basic_string", align 8
  %64 = alloca %"class.std::allocator.5", align 1
  %65 = alloca %"class.std::__cxx11::basic_string", align 8
  %66 = alloca %"class.std::allocator.5", align 1
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"class.std::allocator.5", align 1
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"class.std::allocator.5", align 1
  %71 = alloca %"class.std::__cxx11::basic_string", align 8
  %72 = alloca %"class.std::allocator.5", align 1
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #14
  call void @_ZN6ParamsC2EiPPc(ptr noundef nonnull align 4 dereferenceable(40) %3, i32 noundef %0, ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 728, ptr nonnull %4) #14
  %73 = load i32, ptr %3, align 4, !tbaa !5
  call void @_ZN9CUDASetupC2Ei(ptr noundef nonnull align 8 dereferenceable(728) %4, i32 noundef %73)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %5) #14
  call void @_ZN5TimerC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %74 unwind label %100

74:                                               ; preds = %2
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %6)
          to label %75 unwind label %102

75:                                               ; preds = %74
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #14
  %76 = getelementptr inbounds i8, ptr %3, i64 24
  %77 = load i32, ptr %76, align 4, !tbaa !10
  %78 = getelementptr inbounds i8, ptr %3, i64 28
  %79 = load i32, ptr %78, align 4, !tbaa !11
  %80 = getelementptr inbounds i8, ptr %3, i64 32
  %81 = load i32, ptr %80, align 4, !tbaa !12
  %82 = getelementptr inbounds i8, ptr %3, i64 36
  %83 = load i32, ptr %82, align 4, !tbaa !13
  %84 = mul nsw i32 %79, %77
  %85 = mul nsw i32 %84, %81
  %86 = mul nsw i32 %85, %83
  %87 = sext i32 %86 to i64
  %88 = shl nsw i64 %87, 3
  %89 = call noalias ptr @malloc(i64 noundef %88) #15
  %90 = sext i32 %85 to i64
  %91 = shl nsw i64 %90, 2
  %92 = call noalias ptr @malloc(i64 noundef %91) #15
  %93 = sext i32 %81 to i64
  %94 = shl nsw i64 %93, 2
  %95 = call noalias ptr @malloc(i64 noundef %94) #15
  %96 = icmp eq ptr %89, null
  br i1 %96, label %97, label %105

97:                                               ; preds = %75
  %98 = load ptr, ptr @stderr, align 8, !tbaa !14
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 151) #16
  call void @exit(i32 noundef -1) #17
  unreachable

100:                                              ; preds = %2
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %104

102:                                              ; preds = %74
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #14
  br label %104

104:                                              ; preds = %102, %100
  %.pn = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #14
  br label %540

105:                                              ; preds = %75
  %106 = icmp eq ptr %92, null
  br i1 %106, label %107, label %110

107:                                              ; preds = %105
  %108 = load ptr, ptr @stderr, align 8, !tbaa !14
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 151) #16
  call void @exit(i32 noundef -1) #17
  unreachable

110:                                              ; preds = %105
  %111 = icmp eq ptr %95, null
  br i1 %111, label %112, label %115

112:                                              ; preds = %110
  %113 = load ptr, ptr @stderr, align 8, !tbaa !14
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 151) #16
  call void @exit(i32 noundef -1) #17
  unreachable

115:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #14
  %116 = getelementptr inbounds i8, ptr %3, i64 8
  %117 = load i32, ptr %116, align 4, !tbaa !16
  %.not = icmp eq i32 %117, 0
  br i1 %.not, label %136, label %118

118:                                              ; preds = %115
  %119 = invoke i32 @cudaMalloc(ptr noundef nonnull %8, i64 noundef %88)
          to label %120 unwind label %134

120:                                              ; preds = %118
  %121 = load i32, ptr %116, align 4, !tbaa !16
  %.not183 = icmp eq i32 %121, 0
  %122 = select i1 %.not183, i64 0, i64 %91
  %123 = invoke i32 @cudaMalloc(ptr noundef nonnull %9, i64 noundef %122)
          to label %124 unwind label %134

124:                                              ; preds = %120
  %125 = load i32, ptr %116, align 4, !tbaa !16
  %.not184 = icmp eq i32 %125, 0
  %126 = select i1 %.not184, i64 0, i64 %94
  %127 = invoke i32 @cudaMalloc(ptr noundef nonnull %10, i64 noundef %126)
          to label %128 unwind label %134

128:                                              ; preds = %124
  %.not185 = icmp eq i32 %127, 0
  br i1 %.not185, label %136, label %129

129:                                              ; preds = %128
  %130 = load ptr, ptr @stderr, align 8, !tbaa !14
  %131 = invoke ptr @cudaGetErrorString(i32 noundef %127)
          to label %132 unwind label %134

132:                                              ; preds = %129
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef nonnull @.str.3, ptr noundef %131, ptr noundef nonnull @.str.2, i32 noundef 159) #16
  call void @exit(i32 noundef -1) #17
  unreachable

134:                                              ; preds = %129, %124, %120, %118
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %539

136:                                              ; preds = %128, %115
  %137 = call noalias ptr @malloc(i64 noundef %88) #15
  %138 = icmp eq ptr %137, null
  br i1 %138, label %139, label %142

139:                                              ; preds = %136
  %140 = load ptr, ptr @stderr, align 8, !tbaa !14
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %140, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 162) #16
  call void @exit(i32 noundef -1) #17
  unreachable

142:                                              ; preds = %136
  %143 = invoke i32 @cudaDeviceSynchronize()
          to label %144 unwind label %153

144:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %145 unwind label %155

145:                                              ; preds = %144
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %11)
          to label %146 unwind label %157

146:                                              ; preds = %145
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %147 unwind label %160

147:                                              ; preds = %146
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %13, i32 noundef 1)
          to label %148 unwind label %162

148:                                              ; preds = %147
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %149 unwind label %165

149:                                              ; preds = %148
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %15)
          to label %150 unwind label %167

150:                                              ; preds = %149
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #14
  %151 = call noundef i32 @_ZN9CUDASetup15max_gpu_threadsEv(ptr noundef nonnull align 8 dereferenceable(728) %4)
  call void @_Z10read_inputPlRK6Params(ptr noundef nonnull %89, ptr noundef nonnull align 4 dereferenceable(40) %3)
  call void @llvm.memset.p0.i64(ptr nonnull align 1 %92, i8 0, i64 %91, i1 false)
  %152 = icmp sgt i32 %81, 0
  br i1 %152, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %150
  %wide.trip.count = zext nneg i32 %81 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %150
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %173 unwind label %195

153:                                              ; preds = %142
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %539

155:                                              ; preds = %144
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %159

157:                                              ; preds = %145
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #14
  br label %159

159:                                              ; preds = %157, %155
  %.pn186 = phi { ptr, i32 } [ %158, %157 ], [ %156, %155 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #14
  br label %539

160:                                              ; preds = %146
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %164

162:                                              ; preds = %147
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #14
  br label %164

164:                                              ; preds = %162, %160
  %.pn188 = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #14
  br label %539

165:                                              ; preds = %148
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

167:                                              ; preds = %149
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #14
  br label %169

169:                                              ; preds = %167, %165
  %.pn190 = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #14
  br label %539

170:                                              ; preds = %465, %445, %441, %438, %435, %429, %423, %398, %394, %210, %190, %186, %183, %180
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %539

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %172 = getelementptr inbounds %"struct.std::atomic", ptr %95, i64 %indvars.iv
  call void @_ZNSt13__atomic_baseIiE5storeEiSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %172, i32 noundef 0, i32 noundef 5) #14
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !17

173:                                              ; preds = %._crit_edge
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %17)
          to label %174 unwind label %197

174:                                              ; preds = %173
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %175 unwind label %200

175:                                              ; preds = %174
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %19, i32 noundef 1)
          to label %176 unwind label %202

176:                                              ; preds = %175
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #14
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %137, ptr nonnull align 8 %89, i64 %88, i1 false)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %177 unwind label %205

177:                                              ; preds = %176
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %21)
          to label %178 unwind label %207

178:                                              ; preds = %177
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #14
  %179 = load i32, ptr %116, align 4, !tbaa !16
  %.not198 = icmp eq i32 %179, 0
  br i1 %.not198, label %210, label %180

180:                                              ; preds = %178
  %181 = load ptr, ptr %8, align 8, !tbaa !14
  %182 = invoke i32 @cudaMemcpy(ptr noundef %181, ptr noundef nonnull %137, i64 noundef %88, i32 noundef 1)
          to label %183 unwind label %170

183:                                              ; preds = %180
  %184 = load ptr, ptr %9, align 8, !tbaa !14
  %185 = invoke i32 @cudaMemcpy(ptr noundef %184, ptr noundef nonnull %92, i64 noundef %91, i32 noundef 1)
          to label %186 unwind label %170

186:                                              ; preds = %183
  %187 = load ptr, ptr %10, align 8, !tbaa !14
  %188 = invoke i32 @cudaMemcpy(ptr noundef %187, ptr noundef nonnull %95, i64 noundef %94, i32 noundef 1)
          to label %189 unwind label %170

189:                                              ; preds = %186
  %.not199 = icmp eq i32 %188, 0
  br i1 %.not199, label %210, label %190

190:                                              ; preds = %189
  %191 = load ptr, ptr @stderr, align 8, !tbaa !14
  %192 = invoke ptr @cudaGetErrorString(i32 noundef %188)
          to label %193 unwind label %170

193:                                              ; preds = %190
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef nonnull @.str.3, ptr noundef %192, ptr noundef nonnull @.str.2, i32 noundef 184) #16
  call void @exit(i32 noundef -1) #17
  unreachable

195:                                              ; preds = %._crit_edge
  %196 = landingpad { ptr, i32 }
          cleanup
  br label %199

197:                                              ; preds = %173
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #14
  br label %199

199:                                              ; preds = %197, %195
  %.pn192 = phi { ptr, i32 } [ %198, %197 ], [ %196, %195 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #14
  br label %539

200:                                              ; preds = %174
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %204

202:                                              ; preds = %175
  %203 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #14
  br label %204

204:                                              ; preds = %202, %200
  %.pn194 = phi { ptr, i32 } [ %203, %202 ], [ %201, %200 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #14
  br label %539

205:                                              ; preds = %176
  %206 = landingpad { ptr, i32 }
          cleanup
  br label %209

207:                                              ; preds = %177
  %208 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #14
  br label %209

209:                                              ; preds = %207, %205
  %.pn196 = phi { ptr, i32 } [ %208, %207 ], [ %206, %205 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #14
  br label %539

210:                                              ; preds = %189, %178
  %211 = invoke i32 @cudaDeviceSynchronize()
          to label %212 unwind label %170

212:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %213 unwind label %226

213:                                              ; preds = %212
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %23)
          to label %214 unwind label %228

214:                                              ; preds = %213
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %215 unwind label %231

215:                                              ; preds = %214
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %25, i32 noundef 1)
          to label %216 unwind label %233

216:                                              ; preds = %215
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #14
  %217 = getelementptr inbounds i8, ptr %3, i64 16
  %218 = getelementptr inbounds i8, ptr %3, i64 20
  %219 = load i32, ptr %217, align 4, !tbaa !19
  %220 = load i32, ptr %218, align 4, !tbaa !20
  %221 = add nsw i32 %220, %219
  %222 = icmp sgt i32 %221, 0
  br i1 %222, label %.lr.ph361, label %._crit_edge362

.lr.ph361:                                        ; preds = %216
  %factor.op.mul = mul i32 %79, %83
  %223 = getelementptr inbounds i8, ptr %3, i64 4
  %224 = mul nsw i32 %81, %77
  %.reass = shl i32 %factor.op.mul, 3
  %225 = mul i32 %83, %77
  %wide.trip.count418 = zext nneg i32 %81 to i64
  %wide.trip.count423 = zext nneg i32 %81 to i64
  br label %236

._crit_edge362:                                   ; preds = %376, %216
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %40) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %382 unwind label %403

226:                                              ; preds = %212
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %230

228:                                              ; preds = %213
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #14
  br label %230

230:                                              ; preds = %228, %226
  %.pn200 = phi { ptr, i32 } [ %229, %228 ], [ %227, %226 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #14
  br label %539

231:                                              ; preds = %214
  %232 = landingpad { ptr, i32 }
          cleanup
  br label %235

233:                                              ; preds = %215
  %234 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #14
  br label %235

235:                                              ; preds = %233, %231
  %.pn202 = phi { ptr, i32 } [ %234, %233 ], [ %232, %231 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #14
  br label %539

236:                                              ; preds = %.lr.ph361, %376
  %.0128359 = phi i32 [ 0, %.lr.ph361 ], [ %377, %376 ]
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %89, ptr nonnull align 8 %137, i64 %88, i1 false)
  call void @llvm.memset.p0.i64(ptr nonnull align 1 %92, i8 0, i64 %91, i1 false)
  br i1 %152, label %.lr.ph353, label %._crit_edge354

._crit_edge354:                                   ; preds = %.lr.ph353, %236
  %237 = invoke i32 @cudaDeviceSynchronize()
          to label %239 unwind label %.loopexit274

.lr.ph353:                                        ; preds = %236, %.lr.ph353
  %indvars.iv415 = phi i64 [ %indvars.iv.next416, %.lr.ph353 ], [ 0, %236 ]
  %238 = getelementptr inbounds %"struct.std::atomic", ptr %95, i64 %indvars.iv415
  call void @_ZNSt13__atomic_baseIiE5storeEiSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %238, i32 noundef 0, i32 noundef 5) #14
  %indvars.iv.next416 = add nuw nsw i64 %indvars.iv415, 1
  %exitcond419.not = icmp eq i64 %indvars.iv.next416, %wide.trip.count418
  br i1 %exitcond419.not, label %._crit_edge354, label %.lr.ph353, !llvm.loop !21

239:                                              ; preds = %._crit_edge354
  %240 = load i32, ptr %116, align 4, !tbaa !16
  %241 = icmp sgt i32 %240, 0
  br i1 %241, label %242, label %374

242:                                              ; preds = %239
  %243 = load i32, ptr %223, align 4, !tbaa !22
  %.not242 = icmp sgt i32 %243, %151
  br i1 %.not242, label %244, label %245

244:                                              ; preds = %242
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 204, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #17
  unreachable

.loopexit274:                                     ; preds = %._crit_edge354, %245, %248, %251, %270, %302, %322, %325, %374
  %lpad.loopexit276 = landingpad { ptr, i32 }
          cleanup
  br label %539

.loopexit.split-lp275:                            ; preds = %255, %277, %307, %329
  %lpad.loopexit.split-lp277 = landingpad { ptr, i32 }
          cleanup
  br label %539

245:                                              ; preds = %242
  %246 = load ptr, ptr %8, align 8, !tbaa !14
  %247 = invoke i32 @cudaMemcpy(ptr noundef %246, ptr noundef nonnull %137, i64 noundef %88, i32 noundef 1)
          to label %248 unwind label %.loopexit274

248:                                              ; preds = %245
  %249 = load ptr, ptr %9, align 8, !tbaa !14
  %250 = invoke i32 @cudaMemcpy(ptr noundef %249, ptr noundef nonnull %92, i64 noundef %91, i32 noundef 1)
          to label %251 unwind label %.loopexit274

251:                                              ; preds = %248
  %252 = load ptr, ptr %10, align 8, !tbaa !14
  %253 = invoke i32 @cudaMemcpy(ptr noundef %252, ptr noundef nonnull %95, i64 noundef %94, i32 noundef 1)
          to label %254 unwind label %.loopexit274

254:                                              ; preds = %251
  %.not243 = icmp eq i32 %253, 0
  br i1 %.not243, label %260, label %255

255:                                              ; preds = %254
  %256 = load ptr, ptr @stderr, align 8, !tbaa !14
  %257 = invoke ptr @cudaGetErrorString(i32 noundef %253)
          to label %258 unwind label %.loopexit.split-lp275

258:                                              ; preds = %255
  %259 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %256, ptr noundef nonnull @.str.3, ptr noundef %257, ptr noundef nonnull @.str.2, i32 noundef 209) #16
  call void @exit(i32 noundef -1) #17
  unreachable

260:                                              ; preds = %254
  %261 = load i32, ptr %217, align 4, !tbaa !19
  %.not244 = icmp slt i32 %.0128359, %261
  br i1 %.not244, label %270, label %262

262:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %263 unwind label %265

263:                                              ; preds = %262
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %27)
          to label %264 unwind label %267

264:                                              ; preds = %263
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #14
  br label %270

265:                                              ; preds = %262
  %266 = landingpad { ptr, i32 }
          cleanup
  br label %269

267:                                              ; preds = %263
  %268 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #14
  br label %269

269:                                              ; preds = %267, %265
  %.pn245 = phi { ptr, i32 } [ %268, %267 ], [ %266, %265 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #14
  br label %539

270:                                              ; preds = %264, %260
  %271 = load i32, ptr %223, align 4, !tbaa !22
  %272 = load ptr, ptr %8, align 8, !tbaa !14
  %273 = load ptr, ptr %9, align 8, !tbaa !14
  %274 = load ptr, ptr %10, align 8, !tbaa !14
  %275 = invoke noundef i32 @_Z20call_PTTWAC_soa_astaiiiiiPlPiS0_i(i32 noundef %85, i32 noundef %271, i32 noundef %84, i32 noundef %81, i32 noundef %83, ptr noundef %272, ptr noundef %273, ptr noundef %274, i32 noundef 8)
          to label %276 unwind label %.loopexit274

276:                                              ; preds = %270
  %.not247 = icmp eq i32 %275, 0
  br i1 %.not247, label %282, label %277

277:                                              ; preds = %276
  %278 = load ptr, ptr @stderr, align 8, !tbaa !14
  %279 = invoke ptr @cudaGetErrorString(i32 noundef %275)
          to label %280 unwind label %.loopexit.split-lp275

280:                                              ; preds = %277
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.3, ptr noundef %279, ptr noundef nonnull @.str.2, i32 noundef 217) #16
  call void @exit(i32 noundef -1) #17
  unreachable

282:                                              ; preds = %276
  %283 = load i32, ptr %217, align 4, !tbaa !19
  %.not248 = icmp slt i32 %.0128359, %283
  br i1 %.not248, label %292, label %284

284:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %285 unwind label %287

285:                                              ; preds = %284
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %29)
          to label %286 unwind label %289

286:                                              ; preds = %285
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #14
  %.pre = load i32, ptr %217, align 4, !tbaa !19
  br label %292

287:                                              ; preds = %284
  %288 = landingpad { ptr, i32 }
          cleanup
  br label %291

289:                                              ; preds = %285
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #14
  br label %291

291:                                              ; preds = %289, %287
  %.pn249 = phi { ptr, i32 } [ %290, %289 ], [ %288, %287 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #14
  br label %539

292:                                              ; preds = %286, %282
  %293 = phi i32 [ %.pre, %286 ], [ %283, %282 ]
  %.not251 = icmp slt i32 %.0128359, %293
  br i1 %.not251, label %302, label %294

294:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %295 unwind label %297

295:                                              ; preds = %294
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %31)
          to label %296 unwind label %299

296:                                              ; preds = %295
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #14
  br label %302

297:                                              ; preds = %294
  %298 = landingpad { ptr, i32 }
          cleanup
  br label %301

299:                                              ; preds = %295
  %300 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #14
  br label %301

301:                                              ; preds = %299, %297
  %.pn252 = phi { ptr, i32 } [ %300, %299 ], [ %298, %297 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #14
  br label %539

302:                                              ; preds = %296, %292
  %303 = load i32, ptr %223, align 4, !tbaa !22
  %304 = load ptr, ptr %8, align 8, !tbaa !14
  %305 = invoke noundef i32 @_Z15call_BS_marshaliiiiPli(i32 noundef %224, i32 noundef %303, i32 noundef %79, i32 noundef %83, ptr noundef %304, i32 noundef %.reass)
          to label %306 unwind label %.loopexit274

306:                                              ; preds = %302
  %.not254 = icmp eq i32 %305, 0
  br i1 %.not254, label %312, label %307

307:                                              ; preds = %306
  %308 = load ptr, ptr @stderr, align 8, !tbaa !14
  %309 = invoke ptr @cudaGetErrorString(i32 noundef %305)
          to label %310 unwind label %.loopexit.split-lp275

310:                                              ; preds = %307
  %311 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %308, ptr noundef nonnull @.str.3, ptr noundef %309, ptr noundef nonnull @.str.2, i32 noundef 227) #16
  call void @exit(i32 noundef -1) #17
  unreachable

312:                                              ; preds = %306
  %313 = load i32, ptr %217, align 4, !tbaa !19
  %.not255 = icmp slt i32 %.0128359, %313
  br i1 %.not255, label %322, label %314

314:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %315 unwind label %317

315:                                              ; preds = %314
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %33)
          to label %316 unwind label %319

316:                                              ; preds = %315
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #14
  br label %322

317:                                              ; preds = %314
  %318 = landingpad { ptr, i32 }
          cleanup
  br label %321

319:                                              ; preds = %315
  %320 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #14
  br label %321

321:                                              ; preds = %319, %317
  %.pn256 = phi { ptr, i32 } [ %320, %319 ], [ %318, %317 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #14
  br label %539

322:                                              ; preds = %316, %312
  %323 = load ptr, ptr %9, align 8, !tbaa !14
  %324 = invoke i32 @cudaMemcpy(ptr noundef %323, ptr noundef nonnull %92, i64 noundef %91, i32 noundef 1)
          to label %325 unwind label %.loopexit274

325:                                              ; preds = %322
  %326 = load ptr, ptr %10, align 8, !tbaa !14
  %327 = invoke i32 @cudaMemcpy(ptr noundef %326, ptr noundef nonnull %95, i64 noundef %94, i32 noundef 1)
          to label %328 unwind label %.loopexit274

328:                                              ; preds = %325
  %.not258 = icmp eq i32 %327, 0
  br i1 %.not258, label %334, label %329

329:                                              ; preds = %328
  %330 = load ptr, ptr @stderr, align 8, !tbaa !14
  %331 = invoke ptr @cudaGetErrorString(i32 noundef %327)
          to label %332 unwind label %.loopexit.split-lp275

332:                                              ; preds = %329
  %333 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %330, ptr noundef nonnull @.str.3, ptr noundef %331, ptr noundef nonnull @.str.2, i32 noundef 234) #16
  call void @exit(i32 noundef -1) #17
  unreachable

334:                                              ; preds = %328
  %335 = load i32, ptr %217, align 4, !tbaa !19
  %.not259 = icmp slt i32 %.0128359, %335
  br i1 %.not259, label %344, label %336

336:                                              ; preds = %334
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %36) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %337 unwind label %339

337:                                              ; preds = %336
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %35)
          to label %338 unwind label %341

338:                                              ; preds = %337
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #14
  br label %344

339:                                              ; preds = %336
  %340 = landingpad { ptr, i32 }
          cleanup
  br label %343

341:                                              ; preds = %337
  %342 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #14
  br label %343

343:                                              ; preds = %341, %339
  %.pn260 = phi { ptr, i32 } [ %342, %341 ], [ %340, %339 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #14
  br label %539

344:                                              ; preds = %338, %334
  br i1 %152, label %.lr.ph357, label %._crit_edge358

345:                                              ; preds = %360
  %indvars.iv.next421 = add nuw nsw i64 %indvars.iv420, 1
  %exitcond424.not = icmp eq i64 %indvars.iv.next421, %wide.trip.count423
  br i1 %exitcond424.not, label %._crit_edge358, label %.lr.ph357, !llvm.loop !23

._crit_edge358:                                   ; preds = %345, %344
  %346 = load i32, ptr %217, align 4, !tbaa !19
  %.not262 = icmp slt i32 %.0128359, %346
  br i1 %.not262, label %374, label %366

.lr.ph357:                                        ; preds = %344, %345
  %indvars.iv420 = phi i64 [ %indvars.iv.next421, %345 ], [ 0, %344 ]
  %347 = load i32, ptr %223, align 4, !tbaa !22
  %348 = load ptr, ptr %8, align 8, !tbaa !14
  %349 = trunc nuw nsw i64 %indvars.iv420 to i32
  %350 = mul i32 %225, %349
  %351 = mul nsw i32 %350, %79
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds i64, ptr %348, i64 %352
  %354 = load ptr, ptr %9, align 8, !tbaa !14
  %355 = sext i32 %350 to i64
  %356 = getelementptr inbounds i32, ptr %354, i64 %355
  %357 = load ptr, ptr %10, align 8, !tbaa !14
  %358 = getelementptr inbounds i32, ptr %357, i64 %indvars.iv420
  %359 = invoke noundef i32 @_Z20call_PTTWAC_soa_astaiiiiiPlPiS0_i(i32 noundef %225, i32 noundef %347, i32 noundef %77, i32 noundef %83, i32 noundef %79, ptr noundef %353, ptr noundef %356, ptr noundef %358, i32 noundef 8)
          to label %360 unwind label %.loopexit

360:                                              ; preds = %.lr.ph357
  %.not265 = icmp eq i32 %359, 0
  br i1 %.not265, label %345, label %361

361:                                              ; preds = %360
  %362 = load ptr, ptr @stderr, align 8, !tbaa !14
  %363 = invoke ptr @cudaGetErrorString(i32 noundef %359)
          to label %364 unwind label %.loopexit.split-lp

364:                                              ; preds = %361
  %365 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %362, ptr noundef nonnull @.str.3, ptr noundef %363, ptr noundef nonnull @.str.2, i32 noundef 242) #16
  call void @exit(i32 noundef -1) #17
  unreachable

.loopexit:                                        ; preds = %.lr.ph357
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %539

.loopexit.split-lp:                               ; preds = %361
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %539

366:                                              ; preds = %._crit_edge358
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %367 unwind label %369

367:                                              ; preds = %366
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %37)
          to label %368 unwind label %371

368:                                              ; preds = %367
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #14
  br label %374

369:                                              ; preds = %366
  %370 = landingpad { ptr, i32 }
          cleanup
  br label %373

371:                                              ; preds = %367
  %372 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #14
  br label %373

373:                                              ; preds = %371, %369
  %.pn263 = phi { ptr, i32 } [ %372, %371 ], [ %370, %369 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #14
  br label %539

374:                                              ; preds = %._crit_edge358, %368, %239
  %375 = invoke i32 @cudaDeviceSynchronize()
          to label %376 unwind label %.loopexit274

376:                                              ; preds = %374
  %377 = add nuw nsw i32 %.0128359, 1
  %378 = load i32, ptr %217, align 4, !tbaa !19
  %379 = load i32, ptr %218, align 4, !tbaa !20
  %380 = add nsw i32 %379, %378
  %381 = icmp slt i32 %377, %380
  br i1 %381, label %236, label %._crit_edge362, !llvm.loop !24

382:                                              ; preds = %._crit_edge362
  %383 = load i32, ptr %218, align 4, !tbaa !20
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %39, i32 noundef %383)
          to label %384 unwind label %405

384:                                              ; preds = %382
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %42) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %385 unwind label %408

385:                                              ; preds = %384
  %386 = load i32, ptr %218, align 4, !tbaa !20
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %41, i32 noundef %386)
          to label %387 unwind label %410

387:                                              ; preds = %385
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %42) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %44) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %388 unwind label %413

388:                                              ; preds = %387
  %389 = load i32, ptr %218, align 4, !tbaa !20
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %43, i32 noundef %389)
          to label %390 unwind label %415

390:                                              ; preds = %388
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %46) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %391 unwind label %418

391:                                              ; preds = %390
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %45)
          to label %392 unwind label %420

392:                                              ; preds = %391
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #14
  %393 = load i32, ptr %116, align 4, !tbaa !16
  %.not212 = icmp eq i32 %393, 0
  br i1 %.not212, label %425, label %394

394:                                              ; preds = %392
  %395 = load ptr, ptr %8, align 8, !tbaa !14
  %396 = invoke i32 @cudaMemcpy(ptr noundef nonnull %89, ptr noundef %395, i64 noundef %88, i32 noundef 2)
          to label %397 unwind label %170

397:                                              ; preds = %394
  %.not213 = icmp eq i32 %396, 0
  br i1 %.not213, label %423, label %398

398:                                              ; preds = %397
  %399 = load ptr, ptr @stderr, align 8, !tbaa !14
  %400 = invoke ptr @cudaGetErrorString(i32 noundef %396)
          to label %401 unwind label %170

401:                                              ; preds = %398
  %402 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %399, ptr noundef nonnull @.str.3, ptr noundef %400, ptr noundef nonnull @.str.2, i32 noundef 261) #16
  call void @exit(i32 noundef -1) #17
  unreachable

403:                                              ; preds = %._crit_edge362
  %404 = landingpad { ptr, i32 }
          cleanup
  br label %407

405:                                              ; preds = %382
  %406 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #14
  br label %407

407:                                              ; preds = %405, %403
  %.pn204 = phi { ptr, i32 } [ %406, %405 ], [ %404, %403 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #14
  br label %539

408:                                              ; preds = %384
  %409 = landingpad { ptr, i32 }
          cleanup
  br label %412

410:                                              ; preds = %385
  %411 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #14
  br label %412

412:                                              ; preds = %410, %408
  %.pn206 = phi { ptr, i32 } [ %411, %410 ], [ %409, %408 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %42) #14
  br label %539

413:                                              ; preds = %387
  %414 = landingpad { ptr, i32 }
          cleanup
  br label %417

415:                                              ; preds = %388
  %416 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #14
  br label %417

417:                                              ; preds = %415, %413
  %.pn208 = phi { ptr, i32 } [ %416, %415 ], [ %414, %413 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #14
  br label %539

418:                                              ; preds = %390
  %419 = landingpad { ptr, i32 }
          cleanup
  br label %422

420:                                              ; preds = %391
  %421 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #14
  br label %422

422:                                              ; preds = %420, %418
  %.pn210 = phi { ptr, i32 } [ %421, %420 ], [ %419, %418 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #14
  br label %539

423:                                              ; preds = %397
  %424 = invoke i32 @cudaDeviceSynchronize()
          to label %425 unwind label %170

425:                                              ; preds = %423, %392
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %48) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %426 unwind label %450

426:                                              ; preds = %425
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %47)
          to label %427 unwind label %452

427:                                              ; preds = %426
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %50) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %428 unwind label %455

428:                                              ; preds = %427
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %49, i32 noundef 1)
          to label %429 unwind label %457

429:                                              ; preds = %428
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #14
  %430 = mul nsw i32 %83, %81
  invoke void @_Z6verifyPlS_iii(ptr noundef nonnull %89, ptr noundef nonnull %137, i32 noundef %84, i32 noundef %430, i32 noundef 1)
          to label %431 unwind label %170

431:                                              ; preds = %429
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %52) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %432 unwind label %460

432:                                              ; preds = %431
  invoke void @_ZN5Timer5startENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %51)
          to label %433 unwind label %462

433:                                              ; preds = %432
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #14
  call void @free(ptr noundef %89) #14
  call void @free(ptr noundef %92) #14
  call void @free(ptr noundef %95) #14
  %434 = load i32, ptr %116, align 4, !tbaa !16
  %.not220 = icmp eq i32 %434, 0
  br i1 %.not220, label %465, label %435

435:                                              ; preds = %433
  %436 = load ptr, ptr %8, align 8, !tbaa !14
  %437 = invoke i32 @cudaFree(ptr noundef %436)
          to label %438 unwind label %170

438:                                              ; preds = %435
  %439 = load ptr, ptr %9, align 8, !tbaa !14
  %440 = invoke i32 @cudaFree(ptr noundef %439)
          to label %441 unwind label %170

441:                                              ; preds = %438
  %442 = load ptr, ptr %10, align 8, !tbaa !14
  %443 = invoke i32 @cudaFree(ptr noundef %442)
          to label %444 unwind label %170

444:                                              ; preds = %441
  %.not221 = icmp eq i32 %443, 0
  br i1 %.not221, label %465, label %445

445:                                              ; preds = %444
  %446 = load ptr, ptr @stderr, align 8, !tbaa !14
  %447 = invoke ptr @cudaGetErrorString(i32 noundef %443)
          to label %448 unwind label %170

448:                                              ; preds = %445
  %449 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %446, ptr noundef nonnull @.str.3, ptr noundef %447, ptr noundef nonnull @.str.2, i32 noundef 279) #16
  call void @exit(i32 noundef -1) #17
  unreachable

450:                                              ; preds = %425
  %451 = landingpad { ptr, i32 }
          cleanup
  br label %454

452:                                              ; preds = %426
  %453 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #14
  br label %454

454:                                              ; preds = %452, %450
  %.pn214 = phi { ptr, i32 } [ %453, %452 ], [ %451, %450 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #14
  br label %539

455:                                              ; preds = %427
  %456 = landingpad { ptr, i32 }
          cleanup
  br label %459

457:                                              ; preds = %428
  %458 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #14
  br label %459

459:                                              ; preds = %457, %455
  %.pn216 = phi { ptr, i32 } [ %458, %457 ], [ %456, %455 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #14
  br label %539

460:                                              ; preds = %431
  %461 = landingpad { ptr, i32 }
          cleanup
  br label %464

462:                                              ; preds = %432
  %463 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #14
  br label %464

464:                                              ; preds = %462, %460
  %.pn218 = phi { ptr, i32 } [ %463, %462 ], [ %461, %460 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #14
  br label %539

465:                                              ; preds = %444, %433
  call void @free(ptr noundef %137) #14
  %466 = invoke i32 @cudaDeviceSynchronize()
          to label %467 unwind label %170

467:                                              ; preds = %465
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %54) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %468 unwind label %489

468:                                              ; preds = %467
  invoke void @_ZN5Timer4stopENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %53)
          to label %469 unwind label %491

469:                                              ; preds = %468
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %56) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %470 unwind label %494

470:                                              ; preds = %469
  invoke void @_ZN5Timer5printENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %55, i32 noundef 1)
          to label %471 unwind label %496

471:                                              ; preds = %470
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %58) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %58)
          to label %472 unwind label %499

472:                                              ; preds = %471
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %57)
          to label %473 unwind label %501

473:                                              ; preds = %472
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %60) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %60)
          to label %474 unwind label %504

474:                                              ; preds = %473
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %59)
          to label %475 unwind label %506

475:                                              ; preds = %474
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %60) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %62) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %476 unwind label %509

476:                                              ; preds = %475
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %61)
          to label %477 unwind label %511

477:                                              ; preds = %476
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %64) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %478 unwind label %514

478:                                              ; preds = %477
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %63)
          to label %479 unwind label %516

479:                                              ; preds = %478
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %64) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %66) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %66)
          to label %480 unwind label %519

480:                                              ; preds = %479
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %65)
          to label %481 unwind label %521

481:                                              ; preds = %480
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %66) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %68) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %482 unwind label %524

482:                                              ; preds = %481
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %67)
          to label %483 unwind label %526

483:                                              ; preds = %482
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %70) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %70)
          to label %484 unwind label %529

484:                                              ; preds = %483
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %69)
          to label %485 unwind label %531

485:                                              ; preds = %484
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %70) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %72) #14
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #14
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %72)
          to label %486 unwind label %534

486:                                              ; preds = %485
  invoke void @_ZN5Timer7releaseENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(144) %5, ptr noundef nonnull %71)
          to label %487 unwind label %536

487:                                              ; preds = %486
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #14
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %72) #14
  %488 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #14
  call void @_ZN5TimerD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #14
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #14
  call void @llvm.lifetime.end.p0(i64 728, ptr nonnull %4) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #14
  ret i32 0

489:                                              ; preds = %467
  %490 = landingpad { ptr, i32 }
          cleanup
  br label %493

491:                                              ; preds = %468
  %492 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #14
  br label %493

493:                                              ; preds = %491, %489
  %.pn222 = phi { ptr, i32 } [ %492, %491 ], [ %490, %489 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #14
  br label %539

494:                                              ; preds = %469
  %495 = landingpad { ptr, i32 }
          cleanup
  br label %498

496:                                              ; preds = %470
  %497 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #14
  br label %498

498:                                              ; preds = %496, %494
  %.pn224 = phi { ptr, i32 } [ %497, %496 ], [ %495, %494 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #14
  br label %539

499:                                              ; preds = %471
  %500 = landingpad { ptr, i32 }
          cleanup
  br label %503

501:                                              ; preds = %472
  %502 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #14
  br label %503

503:                                              ; preds = %501, %499
  %.pn226 = phi { ptr, i32 } [ %502, %501 ], [ %500, %499 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #14
  br label %539

504:                                              ; preds = %473
  %505 = landingpad { ptr, i32 }
          cleanup
  br label %508

506:                                              ; preds = %474
  %507 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #14
  br label %508

508:                                              ; preds = %506, %504
  %.pn228 = phi { ptr, i32 } [ %507, %506 ], [ %505, %504 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %60) #14
  br label %539

509:                                              ; preds = %475
  %510 = landingpad { ptr, i32 }
          cleanup
  br label %513

511:                                              ; preds = %476
  %512 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #14
  br label %513

513:                                              ; preds = %511, %509
  %.pn230 = phi { ptr, i32 } [ %512, %511 ], [ %510, %509 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #14
  br label %539

514:                                              ; preds = %477
  %515 = landingpad { ptr, i32 }
          cleanup
  br label %518

516:                                              ; preds = %478
  %517 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #14
  br label %518

518:                                              ; preds = %516, %514
  %.pn232 = phi { ptr, i32 } [ %517, %516 ], [ %515, %514 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %64) #14
  br label %539

519:                                              ; preds = %479
  %520 = landingpad { ptr, i32 }
          cleanup
  br label %523

521:                                              ; preds = %480
  %522 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #14
  br label %523

523:                                              ; preds = %521, %519
  %.pn234 = phi { ptr, i32 } [ %522, %521 ], [ %520, %519 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %66) #14
  br label %539

524:                                              ; preds = %481
  %525 = landingpad { ptr, i32 }
          cleanup
  br label %528

526:                                              ; preds = %482
  %527 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #14
  br label %528

528:                                              ; preds = %526, %524
  %.pn236 = phi { ptr, i32 } [ %527, %526 ], [ %525, %524 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #14
  br label %539

529:                                              ; preds = %483
  %530 = landingpad { ptr, i32 }
          cleanup
  br label %533

531:                                              ; preds = %484
  %532 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #14
  br label %533

533:                                              ; preds = %531, %529
  %.pn238 = phi { ptr, i32 } [ %532, %531 ], [ %530, %529 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %70) #14
  br label %539

534:                                              ; preds = %485
  %535 = landingpad { ptr, i32 }
          cleanup
  br label %538

536:                                              ; preds = %486
  %537 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #14
  br label %538

538:                                              ; preds = %536, %534
  %.pn240 = phi { ptr, i32 } [ %537, %536 ], [ %535, %534 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %72) #14
  br label %539

539:                                              ; preds = %.loopexit, %.loopexit.split-lp, %.loopexit274, %.loopexit.split-lp275, %153, %159, %164, %169, %269, %291, %301, %321, %343, %373, %538, %533, %528, %523, %518, %513, %508, %503, %498, %493, %464, %459, %454, %422, %417, %412, %407, %235, %230, %209, %204, %199, %170, %134
  %.pn271 = phi { ptr, i32 } [ %135, %134 ], [ %.pn190, %169 ], [ %.pn188, %164 ], [ %.pn186, %159 ], [ %154, %153 ], [ %171, %170 ], [ %.pn240, %538 ], [ %.pn238, %533 ], [ %.pn236, %528 ], [ %.pn234, %523 ], [ %.pn232, %518 ], [ %.pn230, %513 ], [ %.pn228, %508 ], [ %.pn226, %503 ], [ %.pn224, %498 ], [ %.pn222, %493 ], [ %.pn218, %464 ], [ %.pn216, %459 ], [ %.pn214, %454 ], [ %.pn210, %422 ], [ %.pn208, %417 ], [ %.pn206, %412 ], [ %.pn204, %407 ], [ %.pn202, %235 ], [ %.pn200, %230 ], [ %.pn196, %209 ], [ %.pn194, %204 ], [ %.pn192, %199 ], [ %.pn263, %373 ], [ %.pn260, %343 ], [ %.pn256, %321 ], [ %.pn252, %301 ], [ %.pn249, %291 ], [ %.pn245, %269 ], [ %lpad.loopexit276, %.loopexit274 ], [ %lpad.loopexit.split-lp277, %.loopexit.split-lp275 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #14
  br label %540

540:                                              ; preds = %539, %104
  %.pn271.pn = phi { ptr, i32 } [ %.pn271, %539 ], [ %.pn, %104 ]
  call void @_ZN5TimerD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %5) #14
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #14
  call void @llvm.lifetime.end.p0(i64 728, ptr nonnull %4) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #14
  resume { ptr, i32 } %.pn271.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ParamsC2EiPPc(ptr noundef nonnull align 4 dereferenceable(40), i32 noundef, ptr noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9CUDASetupC2Ei(ptr noundef nonnull align 8 dereferenceable(728), i32 noundef) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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 nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #7

declare i32 @cudaMalloc(ptr noundef, i64 noundef) local_unnamed_addr #8

declare ptr @cudaGetErrorString(i32 noundef) local_unnamed_addr #8

declare i32 @cudaDeviceSynchronize() local_unnamed_addr #8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN9CUDASetup15max_gpu_threadsEv(ptr noundef nonnull align 8 dereferenceable(728)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNSt13__atomic_baseIiE5storeEiSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, i32 noundef) local_unnamed_addr #10 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #11

declare i32 @cudaMemcpy(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #8

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #7

declare noundef i32 @_Z20call_PTTWAC_soa_astaiiiiiPlPiS0_i(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #8

declare noundef i32 @_Z15call_BS_marshaliiiiPli(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z6verifyPlS_iii(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #12

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #13

declare i32 @cudaFree(ptr noundef) local_unnamed_addr #8

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5TimerD2Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress norecurse 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 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 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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nofree 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 = { noreturn 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { alwaysinline 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 #11 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #12 = { 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 #13 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #14 = { nounwind }
attributes #15 = { nounwind allocsize(0) }
attributes #16 = { cold nounwind }
attributes #17 = { noreturn 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, !7, i64 0}
!6 = !{!"_ZTS6Params", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 24}
!11 = !{!6, !7, i64 28}
!12 = !{!6, !7, i64 32}
!13 = !{!6, !7, i64 36}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!6, !7, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!6, !7, i64 16}
!20 = !{!6, !7, i64 20}
!21 = distinct !{!21, !18}
!22 = !{!6, !7, i64 4}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}


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