; LLVM IR from NervanaSystems/ngraph :: src/runtime/gpu (gpu_cuda_kernel_builder)

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

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

@.str.26 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph7runtime3gpu5nvrtc7helpersB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8) #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 8 dereferenceable(32)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA33_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(33)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(3)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(5)) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA56_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(56)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(42)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA9_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(9)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416)) #0 align 2

declare void @_ZN6ngraph7runtime3gpu13GPUKernelArgs19get_input_signatureB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(480)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA21_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(21)) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA11_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(11)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(4)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA14_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(14)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(20)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(16)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(22)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA26_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(26)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA40_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(40)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA28_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(28)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(24)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(15)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA35_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(35)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA7_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(7)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA46_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(46)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mm(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(480) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef %5, i64 noundef %6) #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i8, align 1
  %16 = alloca %class.anon.22, align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator", align 1
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator", align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator", align 1
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator", align 1
  %36 = alloca i64, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store i64 %5, ptr %13, align 8, !tbaa !9
  store i64 %6, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 1) #5
  %46 = call noundef zeroext i1 @_ZN6ngraph7runtime3gpu17CudaKernelBuilder23stable_sum_check_helperERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %45)
  %47 = zext i1 %46 to i8
  store i8 %47, ptr %15, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  %48 = getelementptr inbounds %class.anon.22, ptr %16, i32 0, i32 0
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %49, ptr %48, align 8, !tbaa !5
  %50 = getelementptr inbounds %class.anon.22, ptr %16, i32 0, i32 1
  store ptr %15, ptr %50, align 8, !tbaa !5
  %51 = getelementptr inbounds %class.anon.22, ptr %16, i32 0, i32 2
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %52, ptr %51, align 8, !tbaa !5
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  call void @_ZN6ngraph7runtime3gpu5nvrtc7helpersB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17)
  %54 = invoke noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %53, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %55 unwind label %110

55:                                               ; preds = %7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA33_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %56, ptr noundef nonnull align 1 dereferenceable(33) @.str.26)
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %57, ptr noundef nonnull align 8 dereferenceable(32) %58)
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #5
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN6ngraph7runtime3gpu13GPUKernelArgs19get_input_signatureB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef nonnull align 8 dereferenceable(480) %60)
  %61 = invoke noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %59, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %62 unwind label %114

62:                                               ; preds = %55
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %63)
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA56_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %64, ptr noundef nonnull align 1 dereferenceable(56) @.str.31)
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA21_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %66, ptr noundef nonnull align 1 dereferenceable(21) @.str.43)
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %68)
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef @.str.44, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %70 unwind label %118

70:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.152, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %71 unwind label %122

71:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.153, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %72 unwind label %126

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.154, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %73 unwind label %130

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef @.str.155, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %74 unwind label %134

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.156, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %75 unwind label %138

75:                                               ; preds = %74
  %76 = load i64, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef @.str.157, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %77 unwind label %142

77:                                               ; preds = %75
  invoke void @_ZN6ngraph7runtime3gpu17CudaKernelBuilder38collective_coordinate_transform_helperERNS_10CodeWriterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_SA_SA_SA_SA_mbSA_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(416) %69, ptr noundef %22, ptr noundef %24, ptr noundef %26, ptr noundef %28, ptr noundef %30, ptr noundef %32, i64 noundef %76, i1 noundef zeroext true, ptr noundef %34)
          to label %78 unwind label %146

78:                                               ; preds = %77
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA46_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %79, ptr noundef nonnull align 1 dereferenceable(46) @.str.181)
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA40_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %81, ptr noundef nonnull align 1 dereferenceable(40) @.str.128)
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %83 = load i64, ptr %14, align 8, !tbaa !9
  %84 = sub i64 %83, 1
  store i64 %84, ptr %36, align 8, !tbaa !9
  %85 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %82, ptr noundef nonnull align 8 dereferenceable(8) %36)
  %86 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %85, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef 1) #5
  %90 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %87, ptr noundef nonnull align 8 dereferenceable(32) %89)
  %91 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA35_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %90, ptr noundef nonnull align 1 dereferenceable(35) @.str.182)
  %92 = load i8, ptr %15, align 1, !tbaa !11, !range !13, !noundef !14
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %157

94:                                               ; preds = %78
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef 1) #5
  %98 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %95, ptr noundef nonnull align 8 dereferenceable(32) %97)
  %99 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA9_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %98, ptr noundef nonnull align 1 dereferenceable(9) @.str.141)
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef 1) #5
  %103 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %100, ptr noundef nonnull align 8 dereferenceable(32) %102)
  %104 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %103, ptr noundef nonnull align 1 dereferenceable(5) @.str.142)
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef 1) #5
  %108 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %105, ptr noundef nonnull align 8 dereferenceable(32) %107)
  %109 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %108, ptr noundef nonnull align 1 dereferenceable(5) @.str.143)
  br label %157

110:                                              ; preds = %7
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %18, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  br label %272

114:                                              ; preds = %55
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %18, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  br label %272

118:                                              ; preds = %62
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %18, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %19, align 4
  br label %156

122:                                              ; preds = %70
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %18, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %19, align 4
  br label %155

126:                                              ; preds = %71
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %18, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %19, align 4
  br label %154

130:                                              ; preds = %72
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %18, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %19, align 4
  br label %153

134:                                              ; preds = %73
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %18, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %19, align 4
  br label %152

138:                                              ; preds = %74
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %18, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %19, align 4
  br label %151

142:                                              ; preds = %75
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %18, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %19, align 4
  br label %150

146:                                              ; preds = %77
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %18, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #5
  br label %150

150:                                              ; preds = %146, %142
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #5
  br label %151

151:                                              ; preds = %150, %138
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #5
  br label %152

152:                                              ; preds = %151, %134
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #5
  br label %153

153:                                              ; preds = %152, %130
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #5
  br label %154

154:                                              ; preds = %153, %126
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #5
  br label %155

155:                                              ; preds = %154, %122
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  br label %156

156:                                              ; preds = %155, %118
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  br label %272

157:                                              ; preds = %94, %78
  %158 = load ptr, ptr %8, align 8, !tbaa !5
  %159 = load ptr, ptr %11, align 8, !tbaa !5
  %160 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef 1) #5
  %161 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %158, ptr noundef nonnull align 8 dereferenceable(32) %160)
  %162 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA11_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %161, ptr noundef nonnull align 1 dereferenceable(11) @.str.119)
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !15
  br label %163

163:                                              ; preds = %182, %157
  %164 = load i32, ptr %37, align 4, !tbaa !15
  %165 = zext i32 %164 to i64
  %166 = load i64, ptr %14, align 8, !tbaa !9
  %167 = sub i64 %166, 1
  %168 = icmp ult i64 %165, %167
  br i1 %168, label %170, label %169

169:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  br label %185

170:                                              ; preds = %163
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA33_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %171, ptr noundef nonnull align 1 dereferenceable(33) @.str.183)
  %173 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %172, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %174 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA25_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %173, ptr noundef nonnull align 1 dereferenceable(25) @.str.184)
  %175 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %174, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %176 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %175, ptr noundef nonnull align 1 dereferenceable(16) @.str.139)
  %177 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %176, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %178 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %177, ptr noundef nonnull align 1 dereferenceable(22) @.str.185)
  %179 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %178, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %180 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %179, ptr noundef nonnull align 1 dereferenceable(5) @.str.124)
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %181)
  br label %182

182:                                              ; preds = %170
  %183 = load i32, ptr %37, align 4, !tbaa !15
  %184 = add i32 %183, 1
  store i32 %184, ptr %37, align 4, !tbaa !15
  br label %163, !llvm.loop !17

185:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 8, ptr %38, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %186 = load i64, ptr %14, align 8, !tbaa !9
  %187 = sub i64 %186, 1
  %188 = trunc i64 %187 to i32
  store i32 %188, ptr %39, align 4, !tbaa !15
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  %190 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %189, ptr noundef nonnull align 1 dereferenceable(42) @.str.186)
  %191 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %191)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %16)
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %192)
  %193 = load ptr, ptr %8, align 8, !tbaa !5
  %194 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %193, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA28_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %195, ptr noundef nonnull align 1 dereferenceable(28) @.str.188)
  %197 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %196, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %198 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA7_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %197, ptr noundef nonnull align 1 dereferenceable(7) @.str.133)
  %199 = load ptr, ptr %8, align 8, !tbaa !5
  %200 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA26_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %199, ptr noundef nonnull align 1 dereferenceable(26) @.str.189)
  %201 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %200, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %202 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %201, ptr noundef nonnull align 1 dereferenceable(4) @.str.135)
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  %203 = load i32, ptr %38, align 4, !tbaa !15
  %204 = sub i32 %203, 1
  store i32 %204, ptr %40, align 4, !tbaa !15
  %205 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %202, ptr noundef nonnull align 4 dereferenceable(4) %40)
  %206 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %205, ptr noundef nonnull align 1 dereferenceable(16) @.str.139)
  %207 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %206, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %208 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %207, ptr noundef nonnull align 1 dereferenceable(22) @.str.185)
  %209 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %208, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %210 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %209, ptr noundef nonnull align 1 dereferenceable(5) @.str.137)
  %211 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %210, ptr noundef nonnull align 4 dereferenceable(4) %38)
  %212 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %211, ptr noundef nonnull align 1 dereferenceable(3) @.str.138)
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  %213 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %213)
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #5
  store i32 0, ptr %41, align 4, !tbaa !15
  br label %214

214:                                              ; preds = %221, %185
  %215 = load i32, ptr %41, align 4, !tbaa !15
  %216 = icmp ult i32 %215, 8
  br i1 %216, label %218, label %217

217:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #5
  br label %224

218:                                              ; preds = %214
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %16)
  %219 = load ptr, ptr %8, align 8, !tbaa !5
  %220 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %219, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  br label %221

221:                                              ; preds = %218
  %222 = load i32, ptr %41, align 4, !tbaa !15
  %223 = add i32 %222, 1
  store i32 %223, ptr %41, align 4, !tbaa !15
  br label %214, !llvm.loop !19

224:                                              ; preds = %217
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %225)
  %226 = load ptr, ptr %8, align 8, !tbaa !5
  %227 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA26_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %226, ptr noundef nonnull align 1 dereferenceable(26) @.str.189)
  %228 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %227, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %229 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %228, ptr noundef nonnull align 1 dereferenceable(16) @.str.139)
  %230 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %229, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %231 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %230, ptr noundef nonnull align 1 dereferenceable(22) @.str.185)
  %232 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %231, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %233 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %232, ptr noundef nonnull align 1 dereferenceable(5) @.str.124)
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %234)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %16)
  %235 = load ptr, ptr %8, align 8, !tbaa !5
  %236 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %235, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  %237 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %237)
  %238 = load ptr, ptr %8, align 8, !tbaa !5
  %239 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA14_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %238, ptr noundef nonnull align 1 dereferenceable(14) @.str.190)
  %240 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %239, ptr noundef nonnull align 1 dereferenceable(20) @.str.191)
  %241 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %240, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %242 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %241, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #5
  %243 = load i64, ptr %14, align 8, !tbaa !9
  %244 = sub i64 %243, 2
  %245 = trunc i64 %244 to i32
  store i32 %245, ptr %42, align 4, !tbaa !15
  br label %246

246:                                              ; preds = %264, %224
  %247 = load i32, ptr %42, align 4, !tbaa !15
  %248 = icmp sge i32 %247, 0
  br i1 %248, label %250, label %249

249:                                              ; preds = %246
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #5
  br label %267

250:                                              ; preds = %246
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  %252 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA14_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %251, ptr noundef nonnull align 1 dereferenceable(14) @.str.192)
  %253 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %252, ptr noundef nonnull align 1 dereferenceable(24) @.str.193)
  %254 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %253, ptr noundef nonnull align 4 dereferenceable(4) %42)
  %255 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %254, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  %256 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %256)
  %257 = load ptr, ptr %8, align 8, !tbaa !5
  %258 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA14_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %257, ptr noundef nonnull align 1 dereferenceable(14) @.str.190)
  %259 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %258, ptr noundef nonnull align 1 dereferenceable(24) @.str.193)
  %260 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %259, ptr noundef nonnull align 4 dereferenceable(4) %42)
  %261 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %260, ptr noundef nonnull align 1 dereferenceable(16) @.str.194)
  %262 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %261, ptr noundef nonnull align 4 dereferenceable(4) %42)
  %263 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %262, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  br label %264

264:                                              ; preds = %250
  %265 = load i32, ptr %42, align 4, !tbaa !15
  %266 = add nsw i32 %265, -1
  store i32 %266, ptr %42, align 4, !tbaa !15
  br label %246, !llvm.loop !20

267:                                              ; preds = %249
  %268 = load ptr, ptr %8, align 8, !tbaa !5
  %269 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %268, ptr noundef nonnull align 1 dereferenceable(15) @.str.195)
  %270 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %270)
  %271 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %271)
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  ret void

272:                                              ; preds = %156, %114, %110
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %273

273:                                              ; preds = %272
  %274 = load ptr, ptr %18, align 8
  %275 = load i32, ptr %19, align 4
  %276 = insertvalue { ptr, i32 } poison, ptr %274, 0
  %277 = insertvalue { ptr, i32 } %276, i32 %275, 1
  resume { ptr, i32 } %277
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA25_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(25)) #0

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}


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

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

@.str.26 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph7runtime3gpu5nvrtc7helpersB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8) 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA33_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(33)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(5)) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA56_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(56)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(42)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA9_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(9)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #0 align 2

declare void @_ZN6ngraph7runtime3gpu13GPUKernelArgs19get_input_signatureB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(480)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA21_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(21)) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA11_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(11)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA14_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(14)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(20)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(16)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(22)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA26_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(26)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA40_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(40)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA28_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(28)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(15)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA35_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(35)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA7_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(7)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA46_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(46)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mm(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(480) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca i8, align 1
  %9 = alloca %class.anon.22, align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca i64, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  %33 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #5
  %34 = tail call noundef zeroext i1 @_ZN6ngraph7runtime3gpu17CudaKernelBuilder23stable_sum_check_helperERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %33)
  %35 = zext i1 %34 to i8
  store i8 %35, ptr %8, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  store ptr %0, ptr %9, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %8, ptr %36, align 8, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr %4, ptr %37, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @_ZN6ngraph7runtime3gpu5nvrtc7helpersB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10)
  %38 = invoke noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %39 unwind label %74

39:                                               ; preds = %7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  %40 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA33_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(33) @.str.26)
  %41 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %40, ptr noundef nonnull align 8 dereferenceable(32) %1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  call void @_ZN6ngraph7runtime3gpu13GPUKernelArgs19get_input_signatureB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(480) %2)
  %42 = invoke noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %41, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %43 unwind label %76

43:                                               ; preds = %39
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %44 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA56_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(56) @.str.31)
  %45 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA21_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(21) @.str.43)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.44, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %46 unwind label %78

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.152, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %47 unwind label %80

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.153, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %48 unwind label %82

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.154, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %49 unwind label %84

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.155, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %50 unwind label %86

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @.str.156, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %51 unwind label %88

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.157, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %52 unwind label %90

52:                                               ; preds = %51
  invoke void @_ZN6ngraph7runtime3gpu17CudaKernelBuilder38collective_coordinate_transform_helperERNS_10CodeWriterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_SA_SA_SA_SA_mbSA_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull %13, ptr noundef nonnull %15, ptr noundef nonnull %17, ptr noundef nonnull %19, ptr noundef nonnull %21, ptr noundef nonnull %23, i64 noundef %5, i1 noundef zeroext true, ptr noundef nonnull %25)
          to label %53 unwind label %92

53:                                               ; preds = %52
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  %54 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA46_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(46) @.str.181)
  %55 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA40_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(40) @.str.128)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #5
  %56 = add i64 %6, -1
  store i64 %56, ptr %27, align 8, !tbaa !11
  %57 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %55, ptr noundef nonnull align 8 dereferenceable(8) %27)
  %58 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %57, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  %59 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #5
  %60 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %59)
  %61 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA35_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %60, ptr noundef nonnull align 1 dereferenceable(35) @.str.182)
  %62 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %63 = trunc nuw i8 %62 to i1
  br i1 %63, label %64, label %101

64:                                               ; preds = %53
  %65 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #5
  %66 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %65)
  %67 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA9_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %66, ptr noundef nonnull align 1 dereferenceable(9) @.str.141)
  %68 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #5
  %69 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %68)
  %70 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %69, ptr noundef nonnull align 1 dereferenceable(5) @.str.142)
  %71 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #5
  %72 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %71)
  %73 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %72, ptr noundef nonnull align 1 dereferenceable(5) @.str.143)
  br label %101

74:                                               ; preds = %7
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  br label %172

76:                                               ; preds = %39
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  br label %172

78:                                               ; preds = %43
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %100

80:                                               ; preds = %46
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %99

82:                                               ; preds = %47
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %98

84:                                               ; preds = %48
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %97

86:                                               ; preds = %49
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %96

88:                                               ; preds = %50
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %95

90:                                               ; preds = %51
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %52
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #5
  br label %94

94:                                               ; preds = %92, %90
  %.pn = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %95

95:                                               ; preds = %94, %88
  %.pn.pn = phi { ptr, i32 } [ %.pn, %94 ], [ %89, %88 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %96

96:                                               ; preds = %95, %86
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %95 ], [ %87, %86 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %97

97:                                               ; preds = %96, %84
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %96 ], [ %85, %84 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %98

98:                                               ; preds = %97, %82
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %97 ], [ %83, %82 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %99

99:                                               ; preds = %98, %80
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %98 ], [ %81, %80 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %100

100:                                              ; preds = %99, %78
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %99 ], [ %79, %78 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  br label %172

101:                                              ; preds = %64, %53
  %102 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #5
  %103 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %102)
  %104 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA11_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %103, ptr noundef nonnull align 1 dereferenceable(11) @.str.119)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #5
  store i32 0, ptr %28, align 4, !tbaa !15
  %.not = icmp eq i64 %56, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #5
  store i32 8, ptr %29, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #5
  %105 = trunc nuw i64 %56 to i32
  store i32 %105, ptr %30, align 4, !tbaa !15
  %106 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(42) @.str.186)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %107 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  %108 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA28_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(28) @.str.188)
  %109 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %108, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %110 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA7_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %109, ptr noundef nonnull align 1 dereferenceable(7) @.str.133)
  %111 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA26_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(26) @.str.189)
  %112 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %111, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %113 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %112, ptr noundef nonnull align 1 dereferenceable(4) @.str.135)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #5
  store i32 7, ptr %31, align 4, !tbaa !15
  %114 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %113, ptr noundef nonnull align 4 dereferenceable(4) %31)
  %115 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %114, ptr noundef nonnull align 1 dereferenceable(16) @.str.139)
  %116 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %115, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %117 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %116, ptr noundef nonnull align 1 dereferenceable(22) @.str.185)
  %118 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %117, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %119 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %118, ptr noundef nonnull align 1 dereferenceable(5) @.str.137)
  %120 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %119, ptr noundef nonnull align 4 dereferenceable(4) %29)
  %121 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %120, ptr noundef nonnull align 1 dereferenceable(3) @.str.138)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %122 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %123 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %124 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %125 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %126 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %127 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %128 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %129 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %130 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA26_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(26) @.str.189)
  %131 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %130, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %132 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %131, ptr noundef nonnull align 1 dereferenceable(16) @.str.139)
  %133 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %132, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %134 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %133, ptr noundef nonnull align 1 dereferenceable(22) @.str.185)
  %135 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %134, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %136 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %135, ptr noundef nonnull align 1 dereferenceable(5) @.str.124)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %137 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %138 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA14_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(14) @.str.190)
  %139 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %138, ptr noundef nonnull align 1 dereferenceable(20) @.str.191)
  %140 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %139, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %141 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %140, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #5
  %142 = trunc i64 %6 to i32
  %143 = add i32 %142, -2
  store i32 %143, ptr %32, align 4, !tbaa !15
  %144 = icmp sgt i32 %143, -1
  br i1 %144, label %.lr.ph76, label %._crit_edge77

.lr.ph:                                           ; preds = %101, %.lr.ph
  %145 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA33_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(33) @.str.183)
  %146 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %145, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %147 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA25_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %146, ptr noundef nonnull align 1 dereferenceable(25) @.str.184)
  %148 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %147, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %149 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %148, ptr noundef nonnull align 1 dereferenceable(16) @.str.139)
  %150 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %149, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %151 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %150, ptr noundef nonnull align 1 dereferenceable(22) @.str.185)
  %152 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %151, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %153 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %152, ptr noundef nonnull align 1 dereferenceable(5) @.str.124)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %154 = load i32, ptr %28, align 4, !tbaa !15
  %155 = add i32 %154, 1
  store i32 %155, ptr %28, align 4, !tbaa !15
  %156 = zext i32 %155 to i64
  %157 = icmp ugt i64 %56, %156
  br i1 %157, label %.lr.ph, label %._crit_edge, !llvm.loop !17

._crit_edge77:                                    ; preds = %.lr.ph76, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #5
  %158 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(15) @.str.195)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  ret void

.lr.ph76:                                         ; preds = %._crit_edge, %.lr.ph76
  %159 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA14_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(14) @.str.192)
  %160 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %159, ptr noundef nonnull align 1 dereferenceable(24) @.str.193)
  %161 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %160, ptr noundef nonnull align 4 dereferenceable(4) %32)
  %162 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %161, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %163 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA14_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(14) @.str.190)
  %164 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %163, ptr noundef nonnull align 1 dereferenceable(24) @.str.193)
  %165 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %164, ptr noundef nonnull align 4 dereferenceable(4) %32)
  %166 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA16_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %165, ptr noundef nonnull align 1 dereferenceable(16) @.str.194)
  %167 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %166, ptr noundef nonnull align 4 dereferenceable(4) %32)
  %168 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %167, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  %169 = load i32, ptr %32, align 4, !tbaa !15
  %170 = add nsw i32 %169, -1
  store i32 %170, ptr %32, align 4, !tbaa !15
  %171 = icmp sgt i32 %169, 0
  br i1 %171, label %.lr.ph76, label %._crit_edge77, !llvm.loop !19

172:                                              ; preds = %100, %76, %74
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %100 ], [ %77, %76 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA25_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(25)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder19get_reduce_to_nd_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_mmENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"bool", !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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass