; LLVM IR from NVIDIA/FasterTransformer :: src/fastertransformer/utils/gemm_test (encoder_igemm_func)

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

%"struct.fastertransformer::customMatmulPerf_t" = type { %struct.cublasLtMatmulAlgo_t, i32, float, i64, i32, i32, i32, float }
%struct.cublasLtMatmulAlgo_t = type { [8 x i64] }

@_ZN17fastertransformer11batch_size_E = external dso_local global i32, align 4
@_ZN17fastertransformer8seq_len_E = external dso_local global i32, align 4
@_ZN17fastertransformer9head_num_E = external dso_local global i32, align 4
@_ZN17fastertransformer14size_per_head_E = external dso_local global i32, align 4
@.str.1 = external hidden unnamed_addr constant [134 x i8], align 1
@_ZN17fastertransformerL14matmulTileNameE = external hidden constant [35 x ptr], align 16
@.str.2 = external hidden unnamed_addr constant [58 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

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN17fastertransformer18printPerfStructureEiiiRKNS_18customMatmulPerf_tEP8_IO_FILEi(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef %4, i32 noundef %5) #2 {
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  store i32 %0, ptr %8, align 4, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %23 = load ptr, ptr %11, align 8, !tbaa !9
  %24 = getelementptr inbounds %"struct.fastertransformer::customMatmulPerf_t", ptr %23, i32 0, i32 0
  store ptr %24, ptr %21, align 8, !tbaa !9
  %25 = load ptr, ptr %21, align 8, !tbaa !9
  %26 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef %25, i32 noundef 0, ptr noundef %14, i64 noundef 4, ptr noundef null)
  %27 = load ptr, ptr %21, align 8, !tbaa !9
  %28 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef %27, i32 noundef 1, ptr noundef %15, i64 noundef 4, ptr noundef null)
  %29 = load ptr, ptr %21, align 8, !tbaa !9
  %30 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef %29, i32 noundef 2, ptr noundef %18, i64 noundef 4, ptr noundef null)
  %31 = load ptr, ptr %21, align 8, !tbaa !9
  %32 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef %31, i32 noundef 3, ptr noundef %19, i64 noundef 4, ptr noundef null)
  %33 = load ptr, ptr %21, align 8, !tbaa !9
  %34 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef %33, i32 noundef 4, ptr noundef %16, i64 noundef 4, ptr noundef null)
  %35 = load ptr, ptr %21, align 8, !tbaa !9
  %36 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef %35, i32 noundef 5, ptr noundef %17, i64 noundef 4, ptr noundef null)
  %37 = load ptr, ptr %21, align 8, !tbaa !9
  %38 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef %37, i32 noundef 6, ptr noundef %20, i64 noundef 4, ptr noundef null)
  %39 = load i32, ptr %14, align 4, !tbaa !5
  %40 = load i32, ptr %15, align 4, !tbaa !5
  %41 = load i32, ptr %15, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [35 x ptr], ptr @_ZN17fastertransformerL14matmulTileNameE, i64 0, i64 %42
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = load i32, ptr %18, align 4, !tbaa !5
  %46 = load i32, ptr %19, align 4, !tbaa !5
  %47 = load i32, ptr %16, align 4, !tbaa !5
  %48 = load i32, ptr %17, align 4, !tbaa !5
  %49 = load i32, ptr %20, align 4, !tbaa !5
  %50 = load ptr, ptr %11, align 8, !tbaa !9
  %51 = getelementptr inbounds %"struct.fastertransformer::customMatmulPerf_t", ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 8, !tbaa !11
  %53 = load ptr, ptr %11, align 8, !tbaa !9
  %54 = getelementptr inbounds %"struct.fastertransformer::customMatmulPerf_t", ptr %53, i32 0, i32 2
  %55 = load float, ptr %54, align 4, !tbaa !19
  %56 = fpext float %55 to double
  %57 = load ptr, ptr %11, align 8, !tbaa !9
  %58 = getelementptr inbounds %"struct.fastertransformer::customMatmulPerf_t", ptr %57, i32 0, i32 3
  %59 = load i64, ptr %58, align 8, !tbaa !20
  %60 = trunc i64 %59 to i32
  %61 = load ptr, ptr %11, align 8, !tbaa !9
  %62 = getelementptr inbounds %"struct.fastertransformer::customMatmulPerf_t", ptr %61, i32 0, i32 4
  %63 = load i32, ptr %62, align 8, !tbaa !21
  %64 = load ptr, ptr %11, align 8, !tbaa !9
  %65 = getelementptr inbounds %"struct.fastertransformer::customMatmulPerf_t", ptr %64, i32 0, i32 7
  %66 = load float, ptr %65, align 4, !tbaa !22
  %67 = fpext float %66 to double
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39, i32 noundef %40, ptr noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %52, double noundef %56, i32 noundef %60, i32 noundef %63, double noundef %67)
  %69 = load ptr, ptr %11, align 8, !tbaa !9
  %70 = getelementptr inbounds %"struct.fastertransformer::customMatmulPerf_t", ptr %69, i32 0, i32 3
  %71 = load i64, ptr %70, align 8, !tbaa !20
  %72 = trunc i64 %71 to i32
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %102

74:                                               ; preds = %6
  %75 = load i32, ptr %13, align 4, !tbaa !5
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %77, label %102

77:                                               ; preds = %74
  %78 = load ptr, ptr %12, align 8, !tbaa !9
  %79 = load i32, ptr @_ZN17fastertransformer11batch_size_E, align 4, !tbaa !5
  %80 = load i32, ptr @_ZN17fastertransformer8seq_len_E, align 4, !tbaa !5
  %81 = load i32, ptr @_ZN17fastertransformer9head_num_E, align 4, !tbaa !5
  %82 = load i32, ptr @_ZN17fastertransformer14size_per_head_E, align 4, !tbaa !5
  %83 = load i32, ptr %8, align 4, !tbaa !5
  %84 = load i32, ptr %9, align 4, !tbaa !5
  %85 = load i32, ptr %10, align 4, !tbaa !5
  %86 = load i32, ptr %14, align 4, !tbaa !5
  %87 = load i32, ptr %17, align 4, !tbaa !5
  %88 = load i32, ptr %15, align 4, !tbaa !5
  %89 = load i32, ptr %18, align 4, !tbaa !5
  %90 = load i32, ptr %16, align 4, !tbaa !5
  %91 = load i32, ptr %19, align 4, !tbaa !5
  %92 = load ptr, ptr %11, align 8, !tbaa !9
  %93 = getelementptr inbounds %"struct.fastertransformer::customMatmulPerf_t", ptr %92, i32 0, i32 3
  %94 = load i64, ptr %93, align 8, !tbaa !20
  %95 = trunc i64 %94 to i32
  %96 = load i32, ptr %20, align 4, !tbaa !5
  %97 = load ptr, ptr %11, align 8, !tbaa !9
  %98 = getelementptr inbounds %"struct.fastertransformer::customMatmulPerf_t", ptr %97, i32 0, i32 2
  %99 = load float, ptr %98, align 4, !tbaa !19
  %100 = fpext float %99 to double
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.2, i32 noundef %79, i32 noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef 3, i32 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %95, i32 noundef %96, double noundef %100) #4
  store i32 1, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %104

102:                                              ; preds = %74, %6
  %103 = load i32, ptr %13, align 4, !tbaa !5
  store i32 %103, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %104

104:                                              ; preds = %102, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  %105 = load i32, ptr %7, align 4
  ret i32 %105
}

declare i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { nounwind "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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !14, i64 64}
!12 = !{!"_ZTSN17fastertransformer18customMatmulPerf_tE", !13, i64 0, !14, i64 64, !15, i64 68, !16, i64 72, !17, i64 80, !18, i64 84, !6, i64 88, !15, i64 92}
!13 = !{!"_ZTS20cublasLtMatmulAlgo_t", !7, i64 0}
!14 = !{!"_ZTS14cublasStatus_t", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTS12cublasMath_t", !7, i64 0}
!18 = !{!"_ZTS25cublasLtReductionScheme_t", !7, i64 0}
!19 = !{!12, !15, i64 68}
!20 = !{!12, !16, i64 72}
!21 = !{!12, !17, i64 80}
!22 = !{!12, !15, i64 92}


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

@_ZN17fastertransformer11batch_size_E = external dso_local local_unnamed_addr global i32, align 4
@_ZN17fastertransformer8seq_len_E = external dso_local local_unnamed_addr global i32, align 4
@_ZN17fastertransformer9head_num_E = external dso_local local_unnamed_addr global i32, align 4
@_ZN17fastertransformer14size_per_head_E = external dso_local local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [134 x i8], align 1
@_ZN17fastertransformerL14matmulTileNameE = external hidden local_unnamed_addr constant [35 x ptr], align 16
@.str.2 = external hidden unnamed_addr constant [58 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: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN17fastertransformer18printPerfStructureEiiiRKNS_18customMatmulPerf_tEP8_IO_FILEi(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr nocapture noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %14 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull %7, i64 noundef 4, ptr noundef null)
  %15 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %8, i64 noundef 4, ptr noundef null)
  %16 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef nonnull %3, i32 noundef 2, ptr noundef nonnull %11, i64 noundef 4, ptr noundef null)
  %17 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef nonnull %3, i32 noundef 3, ptr noundef nonnull %12, i64 noundef 4, ptr noundef null)
  %18 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef nonnull %3, i32 noundef 4, ptr noundef nonnull %9, i64 noundef 4, ptr noundef null)
  %19 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef nonnull %3, i32 noundef 5, ptr noundef nonnull %10, i64 noundef 4, ptr noundef null)
  %20 = call i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef nonnull %3, i32 noundef 6, ptr noundef nonnull %13, i64 noundef 4, ptr noundef null)
  %21 = load i32, ptr %7, align 4, !tbaa !5
  %22 = load i32, ptr %8, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [35 x ptr], ptr @_ZN17fastertransformerL14matmulTileNameE, i64 0, i64 %23
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  %26 = load i32, ptr %11, align 4, !tbaa !5
  %27 = load i32, ptr %12, align 4, !tbaa !5
  %28 = load i32, ptr %9, align 4, !tbaa !5
  %29 = load i32, ptr %10, align 4, !tbaa !5
  %30 = load i32, ptr %13, align 4, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %3, i64 64
  %32 = load i32, ptr %31, align 8, !tbaa !11
  %33 = getelementptr inbounds i8, ptr %3, i64 68
  %34 = load float, ptr %33, align 4, !tbaa !19
  %35 = fpext float %34 to double
  %36 = getelementptr inbounds i8, ptr %3, i64 72
  %37 = load i64, ptr %36, align 8, !tbaa !20
  %38 = trunc i64 %37 to i32
  %39 = getelementptr inbounds i8, ptr %3, i64 80
  %40 = load i32, ptr %39, align 8, !tbaa !21
  %41 = getelementptr inbounds i8, ptr %3, i64 92
  %42 = load float, ptr %41, align 4, !tbaa !22
  %43 = fpext float %42 to double
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %21, i32 noundef %22, ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %32, double noundef %35, i32 noundef %38, i32 noundef %40, double noundef %43)
  %45 = load i64, ptr %36, align 8, !tbaa !20
  %46 = and i64 %45, 4294967295
  %47 = icmp eq i64 %46, 0
  %48 = icmp eq i32 %5, 0
  %or.cond = and i1 %48, %47
  br i1 %or.cond, label %49, label %64

49:                                               ; preds = %6
  %50 = load i32, ptr @_ZN17fastertransformer11batch_size_E, align 4, !tbaa !5
  %51 = load i32, ptr @_ZN17fastertransformer8seq_len_E, align 4, !tbaa !5
  %52 = load i32, ptr @_ZN17fastertransformer9head_num_E, align 4, !tbaa !5
  %53 = load i32, ptr @_ZN17fastertransformer14size_per_head_E, align 4, !tbaa !5
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = load i32, ptr %10, align 4, !tbaa !5
  %56 = load i32, ptr %8, align 4, !tbaa !5
  %57 = load i32, ptr %11, align 4, !tbaa !5
  %58 = load i32, ptr %9, align 4, !tbaa !5
  %59 = load i32, ptr %12, align 4, !tbaa !5
  %60 = load i32, ptr %13, align 4, !tbaa !5
  %61 = load float, ptr %33, align 4, !tbaa !19
  %62 = fpext float %61 to double
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str.2, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef 3, i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef 0, i32 noundef %60, double noundef %62) #4
  br label %64

64:                                               ; preds = %6, %49
  %.0 = phi i32 [ 1, %49 ], [ %5, %6 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  ret i32 %.0
}

declare i32 @cublasLtMatmulAlgoConfigGetAttribute(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nofree nounwind "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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !14, i64 64}
!12 = !{!"_ZTSN17fastertransformer18customMatmulPerf_tE", !13, i64 0, !14, i64 64, !15, i64 68, !16, i64 72, !17, i64 80, !18, i64 84, !6, i64 88, !15, i64 92}
!13 = !{!"_ZTS20cublasLtMatmulAlgo_t", !7, i64 0}
!14 = !{!"_ZTS14cublasStatus_t", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTS12cublasMath_t", !7, i64 0}
!18 = !{!"_ZTS25cublasLtReductionScheme_t", !7, i64 0}
!19 = !{!12, !15, i64 68}
!20 = !{!12, !16, i64 72}
!21 = !{!12, !17, i64 80}
!22 = !{!12, !15, i64 92}


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