; 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] }

@.str.26 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.232 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.237 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.238 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.240 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.241 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.242 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.246 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.248 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.249 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.250 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.251 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.252 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.253 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.254 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.255 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.256 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.257 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.258 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.259 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.261 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.262 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.263 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.264 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.265 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.266 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.267 = external hidden unnamed_addr constant [46 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

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) #0

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(42)) #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)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416)) #2 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 @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(4)) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph7runtime3gpu17CudaKernelBuilder17get_reshape_op_3dERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsESC_RKSt6vectorIjSaIjEESJ_(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(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5) #2 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 ptr, align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = 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 ptr %5, ptr %12, align 8, !tbaa !5
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA33_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %19, ptr noundef nonnull align 1 dereferenceable(33) @.str.26)
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %20, ptr noundef nonnull align 8 dereferenceable(32) %21)
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #4
  %23 = 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 %13, ptr noundef nonnull align 8 dereferenceable(480) %23)
  %24 = invoke 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) %13)
          to label %25 unwind label %79

25:                                               ; preds = %6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %26)
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA12_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %27, ptr noundef nonnull align 1 dereferenceable(12) @.str.229)
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  %30 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %28, ptr noundef nonnull align 8 dereferenceable(32) %29)
  %31 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA7_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %30, ptr noundef nonnull align 1 dereferenceable(7) @.str.230)
  %32 = load ptr, ptr %12, align 8, !tbaa !5
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 2) #4
  %34 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %31, ptr noundef nonnull align 4 dereferenceable(4) %33)
  %35 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %34, ptr noundef nonnull align 1 dereferenceable(3) @.str.231)
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef 1) #4
  %38 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %35, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %39 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %38, ptr noundef nonnull align 1 dereferenceable(3) @.str.231)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %40 = load ptr, ptr %12, align 8, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef 0) #4
  %42 = load i32, ptr %41, align 4, !tbaa !9
  %43 = add i32 %42, 1
  store i32 %43, ptr %16, align 4, !tbaa !9
  %44 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %39, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %45 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %44, ptr noundef nonnull align 1 dereferenceable(4) @.str.232)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA43_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %46, ptr noundef nonnull align 1 dereferenceable(43) @.str.248)
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA43_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %48, ptr noundef nonnull align 1 dereferenceable(43) @.str.249)
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA43_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %50, ptr noundef nonnull align 1 dereferenceable(43) @.str.250)
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA30_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %52, ptr noundef nonnull align 1 dereferenceable(30) @.str.251)
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA30_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %54, ptr noundef nonnull align 1 dereferenceable(30) @.str.252)
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA30_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %56, ptr noundef nonnull align 1 dereferenceable(30) @.str.253)
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %58, ptr noundef nonnull align 1 dereferenceable(24) @.str.254)
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %60, ptr noundef nonnull align 1 dereferenceable(24) @.str.255)
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %62, ptr noundef nonnull align 1 dereferenceable(24) @.str.256)
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA31_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %64, ptr noundef nonnull align 1 dereferenceable(31) @.str.257)
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA31_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %66, ptr noundef nonnull align 1 dereferenceable(31) @.str.237)
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA31_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %68, ptr noundef nonnull align 1 dereferenceable(31) @.str.238)
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %70, ptr noundef nonnull align 1 dereferenceable(42) @.str.258)
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %72)
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA25_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %73, ptr noundef nonnull align 1 dereferenceable(25) @.str.240)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %90, %25
  %76 = load i32, ptr %17, align 4, !tbaa !9
  %77 = icmp slt i32 %76, 3
  br i1 %77, label %83, label %78

78:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %93

79:                                               ; preds = %6
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %14, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  br label %150

83:                                               ; preds = %75
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA27_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %84, ptr noundef nonnull align 1 dereferenceable(27) @.str.241)
  %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) %17)
  %87 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA6_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %86, ptr noundef nonnull align 1 dereferenceable(6) @.str.242)
  %88 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %87, ptr noundef nonnull align 4 dereferenceable(4) %17)
  %89 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %88, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  br label %90

90:                                               ; preds = %83
  %91 = load i32, ptr %17, align 4, !tbaa !9
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %17, align 4, !tbaa !9
  br label %75, !llvm.loop !11

93:                                               ; preds = %78
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA41_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %94, ptr noundef nonnull align 1 dereferenceable(41) @.str.259)
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %96)
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef 2) #4
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = icmp eq i32 %99, 1
  br i1 %100, label %101, label %106

101:                                              ; preds = %93
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %102, ptr noundef nonnull align 1 dereferenceable(15) @.str.260)
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %104, ptr noundef nonnull align 1 dereferenceable(15) @.str.261)
  br label %117

106:                                              ; preds = %93
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef 2) #4
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = icmp eq i32 %109, 0
  br i1 %110, label %111, label %116

111:                                              ; preds = %106
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %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.262)
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %114, ptr noundef nonnull align 1 dereferenceable(15) @.str.263)
  br label %116

116:                                              ; preds = %111, %106
  br label %117

117:                                              ; preds = %116, %101
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA23_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %118, ptr noundef nonnull align 1 dereferenceable(23) @.str.264)
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA23_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %120, ptr noundef nonnull align 1 dereferenceable(23) @.str.265)
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA23_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %122, ptr noundef nonnull align 1 dereferenceable(23) @.str.266)
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA18_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %124, ptr noundef nonnull align 1 dereferenceable(18) @.str.101)
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %126, ptr noundef nonnull align 1 dereferenceable(42) @.str.258)
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %128)
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA26_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %129, ptr noundef nonnull align 1 dereferenceable(26) @.str.224)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %142, %117
  %132 = load i32, ptr %18, align 4, !tbaa !9
  %133 = icmp slt i32 %132, 3
  br i1 %133, label %135, label %134

134:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %145

135:                                              ; preds = %131
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA28_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %136, ptr noundef nonnull align 1 dereferenceable(28) @.str.246)
  %138 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %137, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %139 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA6_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %138, ptr noundef nonnull align 1 dereferenceable(6) @.str.242)
  %140 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %139, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %141 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %140, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  br label %142

142:                                              ; preds = %135
  %143 = load i32, ptr %18, align 4, !tbaa !9
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %18, align 4, !tbaa !9
  br label %131, !llvm.loop !13

145:                                              ; preds = %134
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA46_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %146, ptr noundef nonnull align 1 dereferenceable(46) @.str.267)
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %148)
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %149)
  ret void

150:                                              ; preds = %79
  %151 = load ptr, ptr %14, align 8
  %152 = load i32, ptr %15, align 4
  %153 = insertvalue { ptr, i32 } poison, ptr %151, 0
  %154 = insertvalue { ptr, i32 } %153, i32 %152, 1
  resume { ptr, i32 } %154
}

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

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

%"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] }

@.str.26 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.232 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.237 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.238 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.240 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.241 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.242 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.246 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.248 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.249 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.250 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.251 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.252 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.253 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.254 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.255 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.256 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.257 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.258 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.259 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.261 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.262 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.263 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.264 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.265 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.266 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.267 = external hidden unnamed_addr constant [46 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

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) #0

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(42)) local_unnamed_addr #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 #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #2 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 @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416), ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph7runtime3gpu17CudaKernelBuilder17get_reshape_op_3dERNS_10CodeWriterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_13GPUKernelArgsESC_RKSt6vectorIjSaIjEESJ_(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(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = 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)
  %12 = tail call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %11, ptr noundef nonnull align 8 dereferenceable(32) %1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  call void @_ZN6ngraph7runtime3gpu13GPUKernelArgs19get_input_signatureB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(480) %2)
  %13 = invoke 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) %7)
          to label %14 unwind label %48

14:                                               ; preds = %6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %15 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA12_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(12) @.str.229)
  %16 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNS_10CodeWriterES8_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %15, ptr noundef nonnull align 8 dereferenceable(32) %3)
  %17 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA7_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %16, ptr noundef nonnull align 1 dereferenceable(7) @.str.230)
  %18 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #4
  %19 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %20 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %19, ptr noundef nonnull align 1 dereferenceable(3) @.str.231)
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #4
  %22 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %20, ptr noundef nonnull align 4 dereferenceable(4) %21)
  %23 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %22, ptr noundef nonnull align 1 dereferenceable(3) @.str.231)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #4
  %25 = load i32, ptr %24, align 4, !tbaa !5
  %26 = add i32 %25, 1
  store i32 %26, ptr %8, align 4, !tbaa !5
  %27 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIjEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %23, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %28 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA4_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %27, ptr noundef nonnull align 1 dereferenceable(4) @.str.232)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  %29 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA43_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(43) @.str.248)
  %30 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA43_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(43) @.str.249)
  %31 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA43_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(43) @.str.250)
  %32 = 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.251)
  %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.252)
  %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.253)
  %35 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(24) @.str.254)
  %36 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(24) @.str.255)
  %37 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA24_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(24) @.str.256)
  %38 = 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.257)
  %39 = 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.237)
  %40 = 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.238)
  %41 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(42) @.str.258)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %42 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA25_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(25) @.str.240)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %50

43:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  %44 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA41_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(41) @.str.259)
  call void @_ZN6ngraph10CodeWriter9block_endEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 2) #4
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = icmp eq i32 %46, 1
  br i1 %47, label %.sink.split, label %59

48:                                               ; preds = %6
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  resume { ptr, i32 } %49

50:                                               ; preds = %14, %50
  %51 = 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.241)
  %52 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %51, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %53 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA6_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %52, ptr noundef nonnull align 1 dereferenceable(6) @.str.242)
  %54 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %53, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %55 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %54, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  %56 = load i32, ptr %9, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %9, align 4, !tbaa !5
  %58 = icmp slt i32 %56, 2
  br i1 %58, label %50, label %43, !llvm.loop !9

59:                                               ; preds = %43
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 2) #4
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = icmp eq i32 %61, 0
  br i1 %62, label %.sink.split, label %65

.sink.split:                                      ; preds = %59, %43
  %.str.262.sink = phi ptr [ @.str.260, %43 ], [ @.str.262, %59 ]
  %.str.263.sink = phi ptr [ @.str.261, %43 ], [ @.str.263, %59 ]
  %63 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(15) %.str.262.sink)
  %64 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA15_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(15) %.str.263.sink)
  br label %65

65:                                               ; preds = %.sink.split, %59
  %66 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA23_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(23) @.str.264)
  %67 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA23_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(23) @.str.265)
  %68 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA23_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(23) @.str.266)
  %69 = 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)
  %70 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA42_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(42) @.str.258)
  call void @_ZN6ngraph10CodeWriter11block_beginEv(ptr noundef nonnull align 8 dereferenceable(416) %0)
  %71 = 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.224)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %74

72:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  %73 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA46_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(46) @.str.267)
  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

74:                                               ; preds = %65, %74
  %75 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA28_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %0, ptr noundef nonnull align 1 dereferenceable(28) @.str.246)
  %76 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %75, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %77 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA6_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %76, ptr noundef nonnull align 1 dereferenceable(6) @.str.242)
  %78 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIiEERNS_10CodeWriterES2_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %77, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %79 = call noundef nonnull align 8 dereferenceable(416) ptr @_ZN6ngraphlsIA3_cEERNS_10CodeWriterES3_RKT_(ptr noundef nonnull align 8 dereferenceable(416) %78, ptr noundef nonnull align 1 dereferenceable(3) @.str.71)
  %80 = load i32, ptr %10, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %10, align 4, !tbaa !5
  %82 = icmp slt i32 %80, 2
  br i1 %82, label %74, label %72, !llvm.loop !11
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


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