; LLVM IR from Tiramisu-Compiler/tiramisu :: benchmarks/DNN/blocks/MULTI_GPU_4LSTM_MaxPool_4LSTM (cuda_wrappers)

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

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

@_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE14handle_created = external hidden global i8, align 1
@_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE6handle = external hidden global ptr, align 8
@__FUNCTION__._Z20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbb = external hidden unnamed_addr constant [21 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: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; 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
define dso_local noundef i32 @_Z20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, float noundef %6, float noundef %7, i64 noundef %8, i64 noundef %9, i64 noundef %10, i64 noundef %11, i64 noundef %12, i64 noundef %13, i1 noundef zeroext %14, i1 noundef zeroext %15) #2 personality ptr @__gxx_personality_v0 {
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i8, align 1
  %32 = alloca i8, align 1
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator", align 1
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  store ptr %0, ptr %17, align 8, !tbaa !5
  store ptr %1, ptr %18, align 8, !tbaa !5
  store ptr %2, ptr %19, align 8, !tbaa !5
  store i64 %3, ptr %20, align 8, !tbaa !9
  store i64 %4, ptr %21, align 8, !tbaa !9
  store i64 %5, ptr %22, align 8, !tbaa !9
  store float %6, ptr %23, align 4, !tbaa !11
  store float %7, ptr %24, align 4, !tbaa !11
  store i64 %8, ptr %25, align 8, !tbaa !9
  store i64 %9, ptr %26, align 8, !tbaa !9
  store i64 %10, ptr %27, align 8, !tbaa !9
  store i64 %11, ptr %28, align 8, !tbaa !9
  store i64 %12, ptr %29, align 8, !tbaa !9
  store i64 %13, ptr %30, align 8, !tbaa !9
  %37 = zext i1 %14 to i8
  store i8 %37, ptr %31, align 1, !tbaa !13
  %38 = zext i1 %15 to i8
  store i8 %38, ptr %32, align 1, !tbaa !13
  %39 = load i8, ptr @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE14handle_created, align 1, !tbaa !13, !range !15, !noundef !16
  %40 = trunc i8 %39 to i1
  br i1 %40, label %43, label %41

41:                                               ; preds = %16
  %42 = call i32 @cublasCreate_v2(ptr noundef @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE6handle)
  store i8 1, ptr @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE14handle_created, align 1, !tbaa !13
  br label %43

43:                                               ; preds = %41, %16
  %44 = load i64, ptr %25, align 8, !tbaa !9
  %45 = icmp eq i64 %44, 0
  br i1 %45, label %46, label %55

46:                                               ; preds = %43
  %47 = load i8, ptr %31, align 1, !tbaa !13, !range !15, !noundef !16
  %48 = trunc i8 %47 to i1
  br i1 %48, label %49, label %51

49:                                               ; preds = %46
  %50 = load i64, ptr %20, align 8, !tbaa !9
  br label %53

51:                                               ; preds = %46
  %52 = load i64, ptr %22, align 8, !tbaa !9
  br label %53

53:                                               ; preds = %51, %49
  %54 = phi i64 [ %50, %49 ], [ %52, %51 ]
  store i64 %54, ptr %25, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %53, %43
  %56 = load i64, ptr %26, align 8, !tbaa !9
  %57 = icmp eq i64 %56, 0
  br i1 %57, label %58, label %67

58:                                               ; preds = %55
  %59 = load i8, ptr %32, align 1, !tbaa !13, !range !15, !noundef !16
  %60 = trunc i8 %59 to i1
  br i1 %60, label %61, label %63

61:                                               ; preds = %58
  %62 = load i64, ptr %22, align 8, !tbaa !9
  br label %65

63:                                               ; preds = %58
  %64 = load i64, ptr %21, align 8, !tbaa !9
  br label %65

65:                                               ; preds = %63, %61
  %66 = phi i64 [ %62, %61 ], [ %64, %63 ]
  store i64 %66, ptr %26, align 8, !tbaa !9
  br label %67

67:                                               ; preds = %65, %55
  %68 = load i64, ptr %27, align 8, !tbaa !9
  %69 = icmp eq i64 %68, 0
  br i1 %69, label %70, label %72

70:                                               ; preds = %67
  %71 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %71, ptr %27, align 8, !tbaa !9
  br label %72

72:                                               ; preds = %70, %67
  %73 = load ptr, ptr @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE6handle, align 8, !tbaa !5
  %74 = call i32 @cublasSetStream_v2(ptr noundef %73, ptr noundef inttoptr (i64 2 to ptr))
  %75 = load ptr, ptr @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE6handle, align 8, !tbaa !5
  %76 = load i8, ptr %32, align 1, !tbaa !13, !range !15, !noundef !16
  %77 = trunc i8 %76 to i1
  %78 = zext i1 %77 to i64
  %79 = select i1 %77, i32 1, i32 0
  %80 = load i8, ptr %31, align 1, !tbaa !13, !range !15, !noundef !16
  %81 = trunc i8 %80 to i1
  %82 = zext i1 %81 to i64
  %83 = select i1 %81, i32 1, i32 0
  %84 = load i64, ptr %21, align 8, !tbaa !9
  %85 = trunc i64 %84 to i32
  %86 = load i64, ptr %20, align 8, !tbaa !9
  %87 = trunc i64 %86 to i32
  %88 = load i64, ptr %22, align 8, !tbaa !9
  %89 = trunc i64 %88 to i32
  %90 = load ptr, ptr %18, align 8, !tbaa !5
  %91 = load i64, ptr %29, align 8, !tbaa !9
  %92 = getelementptr inbounds float, ptr %90, i64 %91
  %93 = load i64, ptr %26, align 8, !tbaa !9
  %94 = trunc i64 %93 to i32
  %95 = load ptr, ptr %17, align 8, !tbaa !5
  %96 = load i64, ptr %28, align 8, !tbaa !9
  %97 = getelementptr inbounds float, ptr %95, i64 %96
  %98 = load i64, ptr %25, align 8, !tbaa !9
  %99 = trunc i64 %98 to i32
  %100 = load ptr, ptr %19, align 8, !tbaa !5
  %101 = load i64, ptr %30, align 8, !tbaa !9
  %102 = getelementptr inbounds float, ptr %100, i64 %101
  %103 = load i64, ptr %27, align 8, !tbaa !9
  %104 = trunc i64 %103 to i32
  %105 = call i32 @cublasSgemm_v2(ptr noundef %75, i32 noundef %79, i32 noundef %83, i32 noundef %85, i32 noundef %87, i32 noundef %89, ptr noundef %23, ptr noundef %92, i32 noundef %94, ptr noundef %97, i32 noundef %99, ptr noundef %24, ptr noundef %102, i32 noundef %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef @__FUNCTION__._Z20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbb, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %106 unwind label %108

106:                                              ; preds = %72
  invoke void @_ZN12_GLOBAL__N_119handle_cublas_errorE14cublasStatus_tRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i32 noundef %105, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %107 unwind label %112

107:                                              ; preds = %106
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #5
  ret i32 0

108:                                              ; preds = %72
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %35, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %36, align 4
  br label %116

112:                                              ; preds = %106
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %35, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %36, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #5
  br label %116

116:                                              ; preds = %112, %108
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #5
  br label %117

117:                                              ; preds = %116
  %118 = load ptr, ptr %35, align 8
  %119 = load i32, ptr %36, align 4
  %120 = insertvalue { ptr, i32 } poison, ptr %118, 0
  %121 = insertvalue { ptr, i32 } %120, i32 %119, 1
  resume { ptr, i32 } %121
}

declare i32 @cublasCreate_v2(ptr noundef) #3

declare i32 @cublasSetStream_v2(ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_119handle_cublas_errorE14cublasStatus_tRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #4

declare i32 @cublasSgemm_v2(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


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

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

@_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE14handle_created = external hidden local_unnamed_addr global i8, align 1
@_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE6handle = external hidden global ptr, align 8
@__FUNCTION__._Z20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbb = external hidden unnamed_addr constant [21 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 nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; 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
define dso_local noundef i32 @_Z20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, float noundef %6, float noundef %7, i64 noundef %8, i64 noundef %9, i64 noundef %10, i64 noundef %11, i64 noundef %12, i64 noundef %13, i1 noundef zeroext %14, i1 noundef zeroext %15) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  store float %6, ptr %17, align 4, !tbaa !5
  store float %7, ptr %18, align 4, !tbaa !5
  %21 = load i8, ptr @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE14handle_created, align 1, !tbaa !9, !range !11, !noundef !12
  %22 = trunc nuw i8 %21 to i1
  br i1 %22, label %25, label %23

23:                                               ; preds = %16
  %24 = tail call i32 @cublasCreate_v2(ptr noundef nonnull @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE6handle)
  store i8 1, ptr @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE14handle_created, align 1, !tbaa !9
  br label %25

25:                                               ; preds = %23, %16
  %26 = icmp eq i64 %8, 0
  %27 = select i1 %14, i64 %3, i64 %5
  %spec.select = select i1 %26, i64 %27, i64 %8
  %28 = icmp eq i64 %9, 0
  %29 = select i1 %15, i64 %5, i64 %4
  %.027 = select i1 %28, i64 %29, i64 %9
  %30 = icmp eq i64 %10, 0
  %.028 = select i1 %30, i64 %4, i64 %10
  %31 = load ptr, ptr @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE6handle, align 8, !tbaa !13
  %32 = tail call i32 @cublasSetStream_v2(ptr noundef %31, ptr noundef nonnull inttoptr (i64 2 to ptr))
  %33 = load ptr, ptr @_ZZ20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbbE6handle, align 8, !tbaa !13
  %34 = zext i1 %15 to i32
  %35 = zext i1 %14 to i32
  %36 = trunc i64 %4 to i32
  %37 = trunc i64 %3 to i32
  %38 = trunc i64 %5 to i32
  %39 = getelementptr inbounds float, ptr %1, i64 %12
  %40 = trunc i64 %.027 to i32
  %41 = getelementptr inbounds float, ptr %0, i64 %11
  %42 = trunc i64 %spec.select to i32
  %43 = getelementptr inbounds float, ptr %2, i64 %13
  %44 = trunc i64 %.028 to i32
  %45 = call i32 @cublasSgemm_v2(ptr noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38, ptr noundef nonnull %17, ptr noundef %39, i32 noundef %40, ptr noundef %41, i32 noundef %42, ptr noundef nonnull %18, ptr noundef %43, i32 noundef %44)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @__FUNCTION__._Z20wrapper_cublas_sgemmPfS_S_mmmffmmmmmmbb, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %46 unwind label %48

46:                                               ; preds = %25
  invoke void @_ZN12_GLOBAL__N_119handle_cublas_errorE14cublasStatus_tRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i32 noundef %45, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %47 unwind label %50

47:                                               ; preds = %46
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #5
  ret i32 0

48:                                               ; preds = %25
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %52

50:                                               ; preds = %46
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %52

52:                                               ; preds = %50, %48
  %.pn = phi { ptr, i32 } [ %51, %50 ], [ %49, %48 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #5
  resume { ptr, i32 } %.pn
}

declare i32 @cublasCreate_v2(ptr noundef) local_unnamed_addr #3

declare i32 @cublasSetStream_v2(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_119handle_cublas_errorE14cublasStatus_tRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

declare i32 @cublasSgemm_v2(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


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