; LLVM IR from huawei-noah/bolt :: compute/tensor/src/matmul.ll (Z30matmul_infer_forward_tmp_bytes6TensorbS_bS_PjP8ArchInfo)

; 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.TensorDesc = type { i32, i32, i32, [20 x i32] }
%struct.ArchInfo = type { i32, ptr }

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor8get_descEv(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z27mmm_infer_forward_tmp_bytesPjjj10DataFormatS0_10TensorDescS1_4Arch(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef byval(%struct.TensorDesc) align 8, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z30matmul_infer_forward_tmp_bytes6TensorbS_bS_PjP8ArchInfo(ptr noundef %0, i1 noundef zeroext %1, ptr noundef %2, i1 noundef zeroext %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #2 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %struct.TensorDesc, align 4
  %17 = alloca %struct.TensorDesc, align 4
  %18 = alloca %struct.TensorDesc, align 4
  %19 = alloca i32, align 4
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %struct.TensorDesc, align 8
  %29 = alloca %struct.TensorDesc, align 8
  %30 = alloca %struct.TensorDesc, align 8
  %31 = alloca %struct.TensorDesc, align 8
  %32 = alloca %struct.TensorDesc, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  %33 = zext i1 %1 to i8
  store i8 %33, ptr %10, align 1, !tbaa !9
  store ptr %2, ptr %11, align 8, !tbaa !5
  %34 = zext i1 %3 to i8
  store i8 %34, ptr %12, align 1, !tbaa !9
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  %36 = icmp eq ptr %35, null
  br i1 %36, label %37, label %38

37:                                               ; preds = %7
  store i32 1, ptr %8, align 4
  br label %105

38:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 92, ptr %16) #5
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %16, ptr noundef nonnull align 8 dereferenceable(32) %0)
  call void @llvm.lifetime.start.p0(i64 92, ptr %17) #5
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %17, ptr noundef nonnull align 8 dereferenceable(32) %2)
  call void @llvm.lifetime.start.p0(i64 92, ptr %18) #5
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %18, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %39 = load ptr, ptr %15, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ArchInfo, ptr %39, i32 0, i32 0
  %41 = load i32, ptr %40, align 8, !tbaa !11
  %42 = icmp eq i32 %41, 2
  br i1 %42, label %48, label %43

43:                                               ; preds = %38
  %44 = load ptr, ptr %15, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ArchInfo, ptr %44, i32 0, i32 0
  %46 = load i32, ptr %45, align 8, !tbaa !11
  %47 = icmp eq i32 %46, 7
  br i1 %47, label %48, label %49

48:                                               ; preds = %43, %38
  store i32 51, ptr %8, align 4
  store i32 1, ptr %19, align 4
  br label %104

49:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  store i8 0, ptr %20, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  store i8 0, ptr %21, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  store i8 0, ptr %22, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %50 = load i8, ptr %10, align 1, !tbaa !9, !range !16, !noundef !17
  %51 = trunc i8 %50 to i1
  br i1 %51, label %52, label %53

52:                                               ; preds = %49
  store i32 1, ptr %24, align 4, !tbaa !18
  store i32 13, ptr %26, align 4, !tbaa !20
  br label %54

53:                                               ; preds = %49
  store i32 0, ptr %24, align 4, !tbaa !18
  store i32 14, ptr %26, align 4, !tbaa !20
  br label %54

54:                                               ; preds = %53, %52
  %55 = load i8, ptr %12, align 1, !tbaa !9, !range !16, !noundef !17
  %56 = trunc i8 %55 to i1
  br i1 %56, label %57, label %58

57:                                               ; preds = %54
  store i32 0, ptr %25, align 4, !tbaa !18
  store i32 13, ptr %27, align 4, !tbaa !20
  br label %59

58:                                               ; preds = %54
  store i32 1, ptr %25, align 4, !tbaa !18
  store i32 14, ptr %27, align 4, !tbaa !20
  br label %59

59:                                               ; preds = %58, %57
  %60 = load ptr, ptr %14, align 8, !tbaa !5
  %61 = load i32, ptr %24, align 4, !tbaa !18
  %62 = load i32, ptr %25, align 4, !tbaa !18
  %63 = load i32, ptr %26, align 4, !tbaa !20
  %64 = load i32, ptr %27, align 4, !tbaa !20
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %16, i64 92, i1 false), !tbaa.struct !22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %17, i64 92, i1 false), !tbaa.struct !22
  %65 = load ptr, ptr %15, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ArchInfo, ptr %65, i32 0, i32 0
  %67 = load i32, ptr %66, align 8, !tbaa !11
  %68 = call noundef i32 @_Z27mmm_infer_forward_tmp_bytesPjjj10DataFormatS0_10TensorDescS1_4Arch(ptr noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64, ptr noundef byval(%struct.TensorDesc) align 8 %28, ptr noundef byval(%struct.TensorDesc) align 8 %29, i32 noundef %67)
  %69 = load i8, ptr %20, align 1, !tbaa !9, !range !16, !noundef !17
  %70 = trunc i8 %69 to i1
  br i1 %70, label %76, label %71

71:                                               ; preds = %59
  %72 = getelementptr inbounds %struct.TensorDesc, ptr %16, i32 0, i32 1
  %73 = load i32, ptr %72, align 4, !tbaa !26
  %74 = call noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef %73, i32 noundef 0)
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %81, label %76

76:                                               ; preds = %71, %59
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %16, i64 92, i1 false), !tbaa.struct !22
  %77 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %30)
  %78 = load ptr, ptr %14, align 8, !tbaa !5
  %79 = load i32, ptr %78, align 4, !tbaa !18
  %80 = add i32 %79, %77
  store i32 %80, ptr %78, align 4, !tbaa !18
  br label %81

81:                                               ; preds = %76, %71
  %82 = load i8, ptr %21, align 1, !tbaa !9, !range !16, !noundef !17
  %83 = trunc i8 %82 to i1
  br i1 %83, label %89, label %84

84:                                               ; preds = %81
  %85 = getelementptr inbounds %struct.TensorDesc, ptr %17, i32 0, i32 1
  %86 = load i32, ptr %85, align 4, !tbaa !26
  %87 = call noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef %86, i32 noundef 0)
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %94, label %89

89:                                               ; preds = %84, %81
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %17, i64 92, i1 false), !tbaa.struct !22
  %90 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %31)
  %91 = load ptr, ptr %14, align 8, !tbaa !5
  %92 = load i32, ptr %91, align 4, !tbaa !18
  %93 = add i32 %92, %90
  store i32 %93, ptr %91, align 4, !tbaa !18
  br label %94

94:                                               ; preds = %89, %84
  %95 = load i8, ptr %22, align 1, !tbaa !9, !range !16, !noundef !17
  %96 = trunc i8 %95 to i1
  br i1 %96, label %97, label %102

97:                                               ; preds = %94
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %18, i64 92, i1 false), !tbaa.struct !22
  %98 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %32)
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = load i32, ptr %99, align 4, !tbaa !18
  %101 = add i32 %100, %98
  store i32 %101, ptr %99, align 4, !tbaa !18
  br label %102

102:                                              ; preds = %97, %94
  %103 = load i32, ptr %23, align 4, !tbaa !14
  store i32 %103, ptr %8, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  br label %104

104:                                              ; preds = %102, %48
  call void @llvm.lifetime.end.p0(i64 92, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 92, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 92, ptr %16) #5
  br label %105

105:                                              ; preds = %104, %37
  %106 = load i32, ptr %8, align 4
  ret i32 %106
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint 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 #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 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS8ArchInfo", !13, i64 0, !6, i64 8}
!13 = !{!"_ZTS4Arch", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"_ZTS2EE", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTS10DataFormat", !7, i64 0}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !20, i64 8, i64 4, !18, i64 12, i64 80, !25}
!23 = !{!24, !24, i64 0}
!24 = !{!"_ZTS8DataType", !7, i64 0}
!25 = !{!7, !7, i64 0}
!26 = !{!27, !21, i64 4}
!27 = !{!"_ZTS10TensorDesc", !24, i64 0, !21, i64 4, !19, i64 8, !7, i64 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"

%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor8get_descEv(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z27mmm_infer_forward_tmp_bytesPjjj10DataFormatS0_10TensorDescS1_4Arch(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef byval(%struct.TensorDesc) align 8, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 52) i32 @_Z30matmul_infer_forward_tmp_bytes6TensorbS_bS_PjP8ArchInfo(ptr noundef %0, i1 noundef zeroext %1, ptr noundef %2, i1 noundef zeroext %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef readonly %6) local_unnamed_addr #1 {
  %8 = alloca %struct.TensorDesc, align 8
  %9 = alloca %struct.TensorDesc, align 8
  %10 = alloca %struct.TensorDesc, align 4
  %11 = icmp eq ptr %5, null
  br i1 %11, label %32, label %12

12:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %8) #4
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %8, ptr noundef nonnull align 8 dereferenceable(32) %0)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %9) #4
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %9, ptr noundef nonnull align 8 dereferenceable(32) %2)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %10) #4
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %10, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %13 = load i32, ptr %6, align 8, !tbaa !5
  switch i32 %13, label %14 [
    i32 2, label %31
    i32 7, label %31
  ]

14:                                               ; preds = %12
  %. = zext i1 %1 to i32
  %.25 = select i1 %1, i32 13, i32 14
  %not. = xor i1 %3, true
  %.019 = zext i1 %not. to i32
  %.0 = select i1 %3, i32 13, i32 14
  %15 = call noundef i32 @_Z27mmm_infer_forward_tmp_bytesPjjj10DataFormatS0_10TensorDescS1_4Arch(ptr noundef nonnull %5, i32 noundef %., i32 noundef %.019, i32 noundef %.25, i32 noundef %.0, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %9, i32 noundef %13)
  %16 = getelementptr inbounds i8, ptr %8, i64 4
  %17 = load i32, ptr %16, align 4, !tbaa !11
  %18 = call noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef %17, i32 noundef 0)
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %19, label %23

19:                                               ; preds = %14
  %20 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
  %21 = load i32, ptr %5, align 4, !tbaa !16
  %22 = add i32 %21, %20
  store i32 %22, ptr %5, align 4, !tbaa !16
  br label %23

23:                                               ; preds = %14, %19
  %24 = getelementptr inbounds i8, ptr %9, i64 4
  %25 = load i32, ptr %24, align 4, !tbaa !11
  %26 = call noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef %25, i32 noundef 0)
  %.not24 = icmp eq i32 %26, 0
  br i1 %.not24, label %27, label %31

27:                                               ; preds = %23
  %28 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %9)
  %29 = load i32, ptr %5, align 4, !tbaa !16
  %30 = add i32 %29, %28
  store i32 %30, ptr %5, align 4, !tbaa !16
  br label %31

31:                                               ; preds = %27, %23, %12, %12
  %.021 = phi i32 [ 51, %12 ], [ 51, %12 ], [ 0, %23 ], [ 0, %27 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #4
  br label %32

32:                                               ; preds = %7, %31
  %.1 = phi i32 [ %.021, %31 ], [ 1, %7 ]
  ret i32 %.1
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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, !7, i64 0}
!6 = !{!"_ZTS8ArchInfo", !7, i64 0, !10, i64 8}
!7 = !{!"_ZTS4Arch", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !14, i64 4}
!12 = !{!"_ZTS10TensorDesc", !13, i64 0, !14, i64 4, !15, i64 8, !8, i64 12}
!13 = !{!"_ZTS8DataType", !8, i64 0}
!14 = !{!"_ZTS10DataFormat", !8, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!15, !15, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,PromotePass,SROAPass,SimplifyCFGPass