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

@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.268 = external hidden unnamed_addr constant [159 x i8], align 1
@.str.269 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.270 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.271 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.272 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.273 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.274 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.275 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.276 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.277 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.278 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.279 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.280 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.281 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph7runtime3gpu17CudaKernelBuilder13get_concat_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESC_m(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i64 %3, ptr %8, align 8, !tbaa !9
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA33_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %11, ptr noundef nonnull align 1 dereferenceable(33) @.str.26)
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  %14 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %12, ptr noundef nonnull align 8 dereferenceable(32) %13)
  %15 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA2_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %14, ptr noundef nonnull align 1 dereferenceable(2) @.str.11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %16

16:                                               ; preds = %28, %4
  %17 = load i64, ptr %9, align 8, !tbaa !9
  %18 = load i64, ptr %8, align 8, !tbaa !9
  %19 = icmp ult i64 %17, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  br label %31

21:                                               ; preds = %16
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %22, ptr noundef nonnull align 8 dereferenceable(32) %23)
  %25 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %24, ptr noundef nonnull align 1 dereferenceable(5) @.str.27)
  %26 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %25, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %27 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %26, ptr noundef nonnull align 1 dereferenceable(3) @.str.28)
  br label %28

28:                                               ; preds = %21
  %29 = load i64, ptr %9, align 8, !tbaa !9
  %30 = add i64 %29, 1
  store i64 %30, ptr %9, align 8, !tbaa !9
  br label %16, !llvm.loop !11

31:                                               ; preds = %20
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %32, ptr noundef nonnull align 8 dereferenceable(32) %33)
  %35 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA159_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %34, ptr noundef nonnull align 1 dereferenceable(159) @.str.268)
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %36)
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA55_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %37, ptr noundef nonnull align 1 dereferenceable(55) @.str.218)
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA13_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %39, ptr noundef nonnull align 1 dereferenceable(13) @.str.269)
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %41)
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA48_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %42, ptr noundef nonnull align 1 dereferenceable(48) @.str.270)
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA49_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %44, ptr noundef nonnull align 1 dereferenceable(49) @.str.271)
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA89_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %46, ptr noundef nonnull align 1 dereferenceable(89) @.str.272)
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA22_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %48, ptr noundef nonnull align 1 dereferenceable(22) @.str.273)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %50

50:                                               ; preds = %74, %31
  %51 = load i64, ptr %10, align 8, !tbaa !9
  %52 = load i64, ptr %8, align 8, !tbaa !9
  %53 = icmp ult i64 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  br label %77

55:                                               ; preds = %50
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA31_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %56, ptr noundef nonnull align 1 dereferenceable(31) @.str.274)
  %58 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %57, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %59 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA19_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %58, ptr noundef nonnull align 1 dereferenceable(19) @.str.275)
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %60)
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA21_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %61, ptr noundef nonnull align 1 dereferenceable(21) @.str.276)
  %63 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %62, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %64 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA28_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %63, ptr noundef nonnull align 1 dereferenceable(28) @.str.277)
  %65 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %64, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %66 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA32_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %65, ptr noundef nonnull align 1 dereferenceable(32) @.str.278)
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA9_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %67, ptr noundef nonnull align 1 dereferenceable(9) @.str.279)
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %69)
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA29_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %70, ptr noundef nonnull align 1 dereferenceable(29) @.str.280)
  %72 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %71, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %73 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA19_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %72, ptr noundef nonnull align 1 dereferenceable(19) @.str.281)
  br label %74

74:                                               ; preds = %55
  %75 = load i64, ptr %10, align 8, !tbaa !9
  %76 = add i64 %75, 1
  store i64 %76, ptr %10, align 8, !tbaa !9
  br label %50, !llvm.loop !13

77:                                               ; preds = %54
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %78)
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %79)
  ret void
}

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

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

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

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


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

@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.268 = external hidden unnamed_addr constant [159 x i8], align 1
@.str.269 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.270 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.271 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.272 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.273 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.274 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.275 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.276 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.277 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.278 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.279 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.280 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.281 = external hidden unnamed_addr constant [19 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph7runtime3gpu17CudaKernelBuilder13get_concat_opERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESC_m(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = tail 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)
  %8 = tail call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %7, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %9 = tail call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA2_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %8, ptr noundef nonnull align 1 dereferenceable(2) @.str.11)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #2
  store i64 0, ptr %5, align 8, !tbaa !5
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #2
  %10 = 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) %2)
  %11 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA159_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %10, ptr noundef nonnull align 1 dereferenceable(159) @.str.268)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %12 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA55_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(55) @.str.218)
  %13 = 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.269)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %14 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA48_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(48) @.str.270)
  %15 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA49_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(49) @.str.271)
  %16 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA89_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(89) @.str.272)
  %17 = 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.273)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #2
  store i64 0, ptr %6, align 8, !tbaa !5
  br i1 %.not, label %._crit_edge26, label %.lr.ph25

.lr.ph:                                           ; preds = %4, %.lr.ph
  %18 = 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) %2)
  %19 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA5_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %18, ptr noundef nonnull align 1 dereferenceable(5) @.str.27)
  %20 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %19, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %21 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %20, ptr noundef nonnull align 1 dereferenceable(3) @.str.28)
  %22 = load i64, ptr %5, align 8, !tbaa !5
  %23 = add i64 %22, 1
  store i64 %23, ptr %5, align 8, !tbaa !5
  %24 = icmp ult i64 %23, %3
  br i1 %24, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge26:                                    ; preds = %.lr.ph25, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #2
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  ret void

.lr.ph25:                                         ; preds = %._crit_edge, %.lr.ph25
  %25 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA31_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(31) @.str.274)
  %26 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %25, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %27 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA19_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %26, ptr noundef nonnull align 1 dereferenceable(19) @.str.275)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %28 = 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.276)
  %29 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %28, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %30 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA28_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %29, ptr noundef nonnull align 1 dereferenceable(28) @.str.277)
  %31 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %30, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %32 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA32_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %31, ptr noundef nonnull align 1 dereferenceable(32) @.str.278)
  %33 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA9_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(9) @.str.279)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %34 = 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.280)
  %35 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsImEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %34, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %36 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA19_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %35, ptr noundef nonnull align 1 dereferenceable(19) @.str.281)
  %37 = load i64, ptr %6, align 8, !tbaa !5
  %38 = add i64 %37, 1
  store i64 %38, ptr %6, align 8, !tbaa !5
  %39 = icmp ult i64 %38, %3
  br i1 %39, label %.lr.ph25, label %._crit_edge26, !llvm.loop !11
}

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


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