; 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.23 = type { ptr, ptr, ptr }

@.str.26 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [3 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.146 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [13 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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 @_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 noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA13_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(13)) #0

; 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 @_ZN6ngraphlsIA30_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(30)) #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 @_ZN6ngraphlsIA37_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(37)) #0

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

; 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 @_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 @_ZN6ngraphlsIA32_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(32)) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA18_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(18)) #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 @_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 @_ZN6ngraphlsIA27_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(27)) #0

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

40:                                               ; preds = %6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA33_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %41, ptr noundef nonnull align 1 dereferenceable(33) @.str.26)
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %42, ptr noundef nonnull align 8 dereferenceable(32) %43)
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #5
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN6ngraph7runtime3gpu13GPUKernelArgs19get_input_signatureB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(480) %45)
  %46 = invoke noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %44, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %47 unwind label %103

47:                                               ; preds = %40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %48)
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA19_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %49, ptr noundef nonnull align 1 dereferenceable(19) @.str.146)
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef 1) #5
  %53 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %50, ptr noundef nonnull align 8 dereferenceable(32) %52)
  %54 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA11_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %53, ptr noundef nonnull align 1 dereferenceable(11) @.str.147)
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA30_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %55, ptr noundef nonnull align 1 dereferenceable(30) @.str.196)
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA30_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %57, ptr noundef nonnull align 1 dereferenceable(30) @.str.150)
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA17_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %59, ptr noundef nonnull align 1 dereferenceable(17) @.str.197)
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA27_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %61, ptr noundef nonnull align 1 dereferenceable(27) @.str.198)
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  %65 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, 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) %63, 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.199)
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef 1) #5
  %71 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %68, ptr noundef nonnull align 8 dereferenceable(32) %70)
  %72 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA11_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %71, ptr noundef nonnull align 1 dereferenceable(11) @.str.119)
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA26_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %73, ptr noundef nonnull align 1 dereferenceable(26) @.str.200)
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %75)
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %76, ptr noundef nonnull align 1 dereferenceable(20) @.str.201)
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %78, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %80)
  %81 = load i8, ptr %13, align 1, !tbaa !11, !range !13, !noundef !14
  %82 = trunc i8 %81 to i1
  br i1 %82, label %83, label %107

83:                                               ; preds = %47
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef 1) #5
  %87 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %84, ptr noundef nonnull align 8 dereferenceable(32) %86)
  %88 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA9_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %87, ptr noundef nonnull align 1 dereferenceable(9) @.str.141)
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef 1) #5
  %92 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %89, ptr noundef nonnull align 8 dereferenceable(32) %91)
  %93 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %92, ptr noundef nonnull align 1 dereferenceable(5) @.str.142)
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef 1) #5
  %97 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %94, ptr noundef nonnull align 8 dereferenceable(32) %96)
  %98 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %97, ptr noundef nonnull align 1 dereferenceable(5) @.str.143)
  br label %107

99:                                               ; preds = %6
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %16, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  br label %215

103:                                              ; preds = %40
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %16, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  br label %215

107:                                              ; preds = %83, %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 8, ptr %19, align 4, !tbaa !9
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA27_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %108, ptr noundef nonnull align 1 dereferenceable(27) @.str.202)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %110 = load i32, ptr %19, align 4, !tbaa !9
  %111 = sub i32 %110, 1
  store i32 %111, ptr %20, align 4, !tbaa !9
  %112 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %109, ptr noundef nonnull align 4 dereferenceable(4) %20)
  %113 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %112, ptr noundef nonnull align 1 dereferenceable(15) @.str.203)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %114)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %123, %107
  %116 = load i32, ptr %21, align 4, !tbaa !9
  %117 = load i32, ptr %19, align 4, !tbaa !9
  %118 = icmp ult i32 %116, %117
  br i1 %118, label %120, label %119

119:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %126

120:                                              ; preds = %115
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %121, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  br label %123

123:                                              ; preds = %120
  %124 = load i32, ptr %21, align 4, !tbaa !9
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %21, align 4, !tbaa !9
  br label %115, !llvm.loop !15

126:                                              ; preds = %119
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %127)
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA29_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %128, ptr noundef nonnull align 1 dereferenceable(29) @.str.204)
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %130)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA20_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %131, ptr noundef nonnull align 1 dereferenceable(20) @.str.187)
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %133)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 16, ptr %22, align 4, !tbaa !9
  br label %134

134:                                              ; preds = %153, %126
  %135 = load i32, ptr %22, align 4, !tbaa !9
  %136 = icmp sge i32 %135, 1
  br i1 %136, label %138, label %137

137:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %156

138:                                              ; preds = %134
  %139 = load i32, ptr %12, align 4, !tbaa !9
  %140 = load i32, ptr %22, align 4, !tbaa !9
  %141 = icmp ugt i32 %139, %140
  br i1 %141, label %142, label %152

142:                                              ; preds = %138
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %143, ptr noundef nonnull align 1 dereferenceable(5) @.str.205)
  %145 = load ptr, ptr %11, align 8, !tbaa !5
  %146 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %144, ptr noundef nonnull align 8 dereferenceable(32) %145)
  %147 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA37_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %146, ptr noundef nonnull align 1 dereferenceable(37) @.str.206)
  %148 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %147, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %149 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %148, ptr noundef nonnull align 1 dereferenceable(3) @.str.28)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 32, ptr %23, align 4, !tbaa !9
  %150 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %149, ptr noundef nonnull align 4 dereferenceable(4) %23)
  %151 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %150, ptr noundef nonnull align 1 dereferenceable(5) @.str.207)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %152

152:                                              ; preds = %142, %138
  br label %153

153:                                              ; preds = %152
  %154 = load i32, ptr %22, align 4, !tbaa !9
  %155 = ashr i32 %154, 1
  store i32 %155, ptr %22, align 4, !tbaa !9
  br label %134, !llvm.loop !17

156:                                              ; preds = %137
  %157 = load i32, ptr %12, align 4, !tbaa !9
  %158 = icmp ugt i32 %157, 32
  br i1 %158, label %159, label %207

159:                                              ; preds = %156
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA27_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %160, ptr noundef nonnull align 1 dereferenceable(27) @.str.208)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  store i32 31, ptr %24, align 4, !tbaa !9
  %162 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %161, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %163 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %162, ptr noundef nonnull align 1 dereferenceable(4) @.str.166)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA32_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %164, ptr noundef nonnull align 1 dereferenceable(32) @.str.209)
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA19_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %166, ptr noundef nonnull align 1 dereferenceable(19) @.str.168)
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %168)
  %169 = load ptr, ptr %7, align 8, !tbaa !5
  %170 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %169, ptr noundef nonnull align 1 dereferenceable(22) @.str.210)
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %171)
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA18_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %172, ptr noundef nonnull align 1 dereferenceable(18) @.str.101)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %174 = load i32, ptr %12, align 4, !tbaa !9
  %175 = lshr i32 %174, 5
  store i32 %175, ptr %25, align 4, !tbaa !9
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA10_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %176, ptr noundef nonnull align 1 dereferenceable(10) @.str.170)
  %178 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %177, ptr noundef nonnull align 4 dereferenceable(4) %25)
  %179 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %178, ptr noundef nonnull align 1 dereferenceable(3) @.str.138)
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %180)
  %181 = load ptr, ptr %7, align 8, !tbaa !5
  %182 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA17_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %181, ptr noundef nonnull align 1 dereferenceable(17) @.str.211)
  %183 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %183)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 16, ptr %26, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %203, %159
  %185 = load i32, ptr %26, align 4, !tbaa !9
  %186 = icmp sge i32 %185, 1
  br i1 %186, label %188, label %187

187:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %206

188:                                              ; preds = %184
  %189 = load i32, ptr %25, align 4, !tbaa !9
  %190 = load i32, ptr %26, align 4, !tbaa !9
  %191 = icmp ugt i32 %189, %190
  br i1 %191, label %192, label %202

192:                                              ; preds = %188
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %193, ptr noundef nonnull align 1 dereferenceable(5) @.str.205)
  %195 = load ptr, ptr %11, align 8, !tbaa !5
  %196 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %194, ptr noundef nonnull align 8 dereferenceable(32) %195)
  %197 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA37_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %196, ptr noundef nonnull align 1 dereferenceable(37) @.str.206)
  %198 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %197, ptr noundef nonnull align 4 dereferenceable(4) %26)
  %199 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %198, ptr noundef nonnull align 1 dereferenceable(3) @.str.28)
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 32, ptr %27, align 4, !tbaa !9
  %200 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %199, ptr noundef nonnull align 4 dereferenceable(4) %27)
  %201 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %200, ptr noundef nonnull align 1 dereferenceable(5) @.str.207)
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %202

202:                                              ; preds = %192, %188
  br label %203

203:                                              ; preds = %202
  %204 = load i32, ptr %26, align 4, !tbaa !9
  %205 = ashr i32 %204, 1
  store i32 %205, ptr %26, align 4, !tbaa !9
  br label %184, !llvm.loop !18

206:                                              ; preds = %187
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %207

207:                                              ; preds = %206, %156
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %209 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA14_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %208, ptr noundef nonnull align 1 dereferenceable(14) @.str.172)
  %210 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %210)
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA13_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %211, ptr noundef nonnull align 1 dereferenceable(13) @.str.212)
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %213)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %214)
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  ret void

215:                                              ; preds = %103, %99
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  br label %216

216:                                              ; preds = %215
  %217 = load ptr, ptr %16, align 8
  %218 = load i32, ptr %17, align 4
  %219 = insertvalue { ptr, i32 } poison, ptr %217, 0
  %220 = insertvalue { ptr, i32 } %219, i32 %218, 1
  resume { ptr, i32 } %220
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}


; 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.23 = type { ptr, ptr, ptr }

@.str.26 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [3 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.146 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [13 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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 @_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 noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA13_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(13)) local_unnamed_addr #0

; 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 @_ZN6ngraphlsIA30_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(30)) 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 @_ZN6ngraphlsIA37_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(37)) local_unnamed_addr #0

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

; 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 @_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 @_ZN6ngraphlsIA32_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(32)) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA18_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(18)) 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 @_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 @_ZN6ngraphlsIA27_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(27)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA10_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(10)) 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 @_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
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
define dso_local void @_ZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_j(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, i32 noundef %5) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca i8, align 1
  %8 = alloca %class.anon.23, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  %18 = 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
  %19 = 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) %18)
  %20 = zext i1 %19 to i8
  store i8 %20, ptr %7, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  store ptr %0, ptr %8, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %7, ptr %21, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %8, i64 16
  store ptr %4, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @_ZN6ngraph7runtime3gpu5nvrtc7helpersB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9)
  %23 = 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) %9)
          to label %24 unwind label %58

24:                                               ; preds = %6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  %25 = 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)
  %26 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %25, ptr noundef nonnull align 8 dereferenceable(32) %1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @_ZN6ngraph7runtime3gpu13GPUKernelArgs19get_input_signatureB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(480) %2)
  %27 = invoke noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %26, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %28 unwind label %60

28:                                               ; preds = %24
  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
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %29 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA19_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(19) @.str.146)
  %30 = 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
  %31 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %29, ptr noundef nonnull align 8 dereferenceable(32) %30)
  %32 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA11_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %31, ptr noundef nonnull align 1 dereferenceable(11) @.str.147)
  %33 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA30_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(30) @.str.196)
  %34 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA30_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(30) @.str.150)
  %35 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA17_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(17) @.str.197)
  %36 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA27_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(27) @.str.198)
  %37 = 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
  %38 = 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) %37)
  %39 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA9_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %38, ptr noundef nonnull align 1 dereferenceable(9) @.str.199)
  %40 = 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
  %41 = 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) %40)
  %42 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA11_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %41, ptr noundef nonnull align 1 dereferenceable(11) @.str.119)
  %43 = 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.200)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %44 = 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.201)
  %45 = 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)
  %46 = load i8, ptr %7, align 1, !tbaa !5, !range !11, !noundef !12
  %47 = trunc nuw i8 %46 to i1
  br i1 %47, label %48, label %62

48:                                               ; preds = %28
  %49 = 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
  %50 = 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) %49)
  %51 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA9_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %50, ptr noundef nonnull align 1 dereferenceable(9) @.str.141)
  %52 = 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
  %53 = 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) %52)
  %54 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %53, ptr noundef nonnull align 1 dereferenceable(5) @.str.142)
  %55 = 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
  %56 = 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) %55)
  %57 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %56, ptr noundef nonnull align 1 dereferenceable(5) @.str.143)
  br label %62

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

60:                                               ; preds = %24
  %61 = 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 %124

62:                                               ; preds = %48, %28
  %63 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA27_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(27) @.str.202)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 7, ptr %11, align 4, !tbaa !13
  %64 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %63, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %65 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %64, ptr noundef nonnull align 1 dereferenceable(15) @.str.203)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %66 = 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 @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %67 = 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 @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %68 = 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 @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %69 = 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 @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %70 = 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 @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %71 = 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 @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %72 = 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 @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %73 = 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)
  %74 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA29_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(29) @.str.204)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %75 = 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)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  store i32 16, ptr %12, align 4, !tbaa !13
  br label %78

76:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  %77 = icmp ugt i32 %5, 32
  br i1 %77, label %92, label %121

78:                                               ; preds = %62, %88
  %storemerge74 = phi i32 [ 16, %62 ], [ %90, %88 ]
  %79 = icmp ult i32 %storemerge74, %5
  br i1 %79, label %80, label %88

80:                                               ; preds = %78
  %81 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(5) @.str.205)
  %82 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %81, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %83 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA37_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %82, ptr noundef nonnull align 1 dereferenceable(37) @.str.206)
  %84 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %83, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %85 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %84, ptr noundef nonnull align 1 dereferenceable(3) @.str.28)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  store i32 32, ptr %13, align 4, !tbaa !13
  %86 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %85, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %87 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %86, ptr noundef nonnull align 1 dereferenceable(5) @.str.207)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  %.pre = load i32, ptr %12, align 4, !tbaa !13
  br label %88

88:                                               ; preds = %78, %80
  %89 = phi i32 [ %storemerge74, %78 ], [ %.pre, %80 ]
  %90 = ashr i32 %89, 1
  store i32 %90, ptr %12, align 4, !tbaa !13
  %91 = icmp sgt i32 %90, 0
  br i1 %91, label %78, label %76, !llvm.loop !15

92:                                               ; preds = %76
  %93 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA27_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(27) @.str.208)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  store i32 31, ptr %14, align 4, !tbaa !13
  %94 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %93, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %95 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %94, ptr noundef nonnull align 1 dereferenceable(4) @.str.166)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  %96 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA32_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(32) @.str.209)
  %97 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA19_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(19) @.str.168)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %98 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(22) @.str.210)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %99 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA18_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(18) @.str.101)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  %100 = lshr i32 %5, 5
  store i32 %100, ptr %15, align 4, !tbaa !13
  %101 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA10_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(10) @.str.170)
  %102 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %101, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %103 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %102, ptr noundef nonnull align 1 dereferenceable(3) @.str.138)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %104 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA17_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(17) @.str.211)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #5
  store i32 16, ptr %16, align 4, !tbaa !13
  br label %106

105:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  br label %121

106:                                              ; preds = %92, %117
  %storemerge7275 = phi i32 [ 16, %92 ], [ %119, %117 ]
  %107 = load i32, ptr %15, align 4, !tbaa !13
  %108 = icmp ugt i32 %107, %storemerge7275
  br i1 %108, label %109, label %117

109:                                              ; preds = %106
  %110 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(5) @.str.205)
  %111 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %110, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %112 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA37_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %111, ptr noundef nonnull align 1 dereferenceable(37) @.str.206)
  %113 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %112, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %114 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %113, ptr noundef nonnull align 1 dereferenceable(3) @.str.28)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  store i32 32, ptr %17, align 4, !tbaa !13
  %115 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %114, ptr noundef nonnull align 4 dereferenceable(4) %17)
  %116 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %115, ptr noundef nonnull align 1 dereferenceable(5) @.str.207)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  %.pre76 = load i32, ptr %16, align 4, !tbaa !13
  br label %117

117:                                              ; preds = %106, %109
  %118 = phi i32 [ %storemerge7275, %106 ], [ %.pre76, %109 ]
  %119 = ashr i32 %118, 1
  store i32 %119, ptr %16, align 4, !tbaa !13
  %120 = icmp sgt i32 %119, 0
  br i1 %120, label %106, label %105, !llvm.loop !17

121:                                              ; preds = %105, %76
  %122 = 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.172)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %123 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA13_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(13) @.str.212)
  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 %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  ret void

124:                                              ; preds = %60, %58
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  resume { ptr, i32 } %.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN6ngraph7runtime3gpu17CudaKernelBuilder23get_reduce_to_scalar_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsERKSt6vectorISA_SaISA_EESC_jENK3$_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 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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