; LLVM IR from jingweizhanghuai/Morn :: src/deep_learning (morn_tensor_activation)

; 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.MLayer = type { [32 x i8], i32, ptr, ptr, ptr, i32 }
%struct.TensorActivationPara = type { ptr, i32, ptr, [4 x float] }
%struct.MTensor = type { i32, i32, i32, i32, ptr, i32 }

@.str.8 = external hidden unnamed_addr constant [98 x i8], align 1
@__FUNCTION__.TensorActivationSet = external hidden unnamed_addr constant [20 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@morn_network_flag = external global i32, align 4

; 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 void @m_Exception(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
define dso_local ptr @TensorActivationSet(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %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
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.MLayer, ptr %14, i32 0, i32 4
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  store ptr %16, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.TensorActivationPara, ptr %17, i32 0, i32 0
  %19 = load ptr, ptr %18, align 8, !tbaa !12
  %20 = getelementptr inbounds %struct.MLayer, ptr %19, i32 0, i32 2
  %21 = load ptr, ptr %20, align 8, !tbaa !14
  store ptr %21, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.TensorActivationPara, ptr %22, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !12
  %25 = getelementptr inbounds %struct.MLayer, ptr %24, i32 0, i32 3
  %26 = load ptr, ptr %25, align 8, !tbaa !15
  store ptr %26, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.MLayer, ptr %27, i32 0, i32 2
  %29 = load ptr, ptr %28, align 8, !tbaa !14
  store ptr %29, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store ptr null, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.MLayer, ptr %30, i32 0, i32 5
  %32 = load i32, ptr %31, align 8, !tbaa !16
  %33 = icmp ne i32 %32, -1
  br i1 %33, label %34, label %36

34:                                               ; preds = %1
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %35, ptr %2, align 8
  store i32 1, ptr %9, align 4
  br label %202

36:                                               ; preds = %1
  br label %37

37:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 5, ptr %10, align 4, !tbaa !17
  %38 = load i32, ptr %10, align 4, !tbaa !17
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %40, label %45

40:                                               ; preds = %37
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.MTensor, ptr %42, i32 0, i32 4
  %44 = load ptr, ptr %43, align 8, !tbaa !18
  call void @TensorRedefine(ptr noundef %41, i32 noundef -1, i32 noundef -1, i32 noundef -1, i32 noundef -1, ptr noundef %44, i32 noundef -1)
  br label %114

45:                                               ; preds = %37
  %46 = load i32, ptr %10, align 4, !tbaa !17
  %47 = icmp eq i32 %46, 4
  br i1 %47, label %48, label %66

48:                                               ; preds = %45
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.MTensor, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !20
  %53 = add nsw i32 %52, 0
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.MTensor, ptr %54, i32 0, i32 1
  %56 = load i32, ptr %55, align 4, !tbaa !21
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.MTensor, ptr %57, i32 0, i32 2
  %59 = load i32, ptr %58, align 8, !tbaa !22
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.MTensor, ptr %60, i32 0, i32 3
  %62 = load i32, ptr %61, align 4, !tbaa !23
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.MTensor, ptr %63, i32 0, i32 4
  %65 = load ptr, ptr %64, align 8, !tbaa !18
  call void @TensorRedefine(ptr noundef %49, i32 noundef %53, i32 noundef %56, i32 noundef %59, i32 noundef %62, ptr noundef %65, i32 noundef -1)
  br label %113

66:                                               ; preds = %45
  %67 = load i32, ptr %10, align 4, !tbaa !17
  %68 = icmp eq i32 %67, 5
  br i1 %68, label %69, label %84

69:                                               ; preds = %66
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.MTensor, ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !20
  %74 = add nsw i32 %73, 0
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.MTensor, ptr %75, i32 0, i32 1
  %77 = load i32, ptr %76, align 4, !tbaa !21
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.MTensor, ptr %78, i32 0, i32 2
  %80 = load i32, ptr %79, align 8, !tbaa !22
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.MTensor, ptr %81, i32 0, i32 3
  %83 = load i32, ptr %82, align 4, !tbaa !23
  call void @TensorRedefine(ptr noundef %70, i32 noundef %74, i32 noundef %77, i32 noundef %80, i32 noundef %83, ptr noundef null, i32 noundef -1)
  br label %112

84:                                               ; preds = %66
  %85 = load i32, ptr %10, align 4, !tbaa !17
  %86 = icmp eq i32 %85, 6
  br i1 %86, label %87, label %102

87:                                               ; preds = %84
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.MTensor, ptr %89, i32 0, i32 0
  %91 = load i32, ptr %90, align 8, !tbaa !20
  %92 = add nsw i32 %91, 0
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.MTensor, ptr %93, i32 0, i32 1
  %95 = load i32, ptr %94, align 4, !tbaa !21
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.MTensor, ptr %96, i32 0, i32 2
  %98 = load i32, ptr %97, align 8, !tbaa !22
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.MTensor, ptr %99, i32 0, i32 3
  %101 = load i32, ptr %100, align 4, !tbaa !23
  call void @TensorRedefine(ptr noundef %88, i32 noundef %92, i32 noundef %95, i32 noundef %98, i32 noundef %101, ptr noundef null, i32 noundef -1)
  br label %111

102:                                              ; preds = %84
  br label %103

103:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 1, ptr %11, align 4, !tbaa !17
  %104 = load i32, ptr %11, align 4, !tbaa !17
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %108

106:                                              ; preds = %103
  %107 = load i32, ptr %11, align 4, !tbaa !17
  call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef %107, i32 noundef -1, ptr noundef @.str.8, i32 noundef 289, ptr noundef @__FUNCTION__.TensorActivationSet, ptr noundef @.str.18)
  br label %108

108:                                              ; preds = %106, %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %109

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110, %87
  br label %112

112:                                              ; preds = %111, %69
  br label %113

113:                                              ; preds = %112, %48
  br label %114

114:                                              ; preds = %113, %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %115

115:                                              ; preds = %114
  br label %116

116:                                              ; preds = %115
  %117 = load i32, ptr @morn_network_flag, align 4, !tbaa !17
  %118 = icmp eq i32 %117, 1
  br i1 %118, label %119, label %200

119:                                              ; preds = %116
  br label %120

120:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 5, ptr %12, align 4, !tbaa !17
  %121 = load i32, ptr %12, align 4, !tbaa !17
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %128

123:                                              ; preds = %120
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.MTensor, ptr %125, i32 0, i32 4
  %127 = load ptr, ptr %126, align 8, !tbaa !18
  call void @TensorRedefine(ptr noundef %124, i32 noundef -1, i32 noundef -1, i32 noundef -1, i32 noundef -1, ptr noundef %127, i32 noundef -1)
  br label %197

128:                                              ; preds = %120
  %129 = load i32, ptr %12, align 4, !tbaa !17
  %130 = icmp eq i32 %129, 4
  br i1 %130, label %131, label %149

131:                                              ; preds = %128
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.MTensor, ptr %133, i32 0, i32 0
  %135 = load i32, ptr %134, align 8, !tbaa !20
  %136 = add nsw i32 %135, 0
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.MTensor, ptr %137, i32 0, i32 1
  %139 = load i32, ptr %138, align 4, !tbaa !21
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.MTensor, ptr %140, i32 0, i32 2
  %142 = load i32, ptr %141, align 8, !tbaa !22
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.MTensor, ptr %143, i32 0, i32 3
  %145 = load i32, ptr %144, align 4, !tbaa !23
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.MTensor, ptr %146, i32 0, i32 4
  %148 = load ptr, ptr %147, align 8, !tbaa !18
  call void @TensorRedefine(ptr noundef %132, i32 noundef %136, i32 noundef %139, i32 noundef %142, i32 noundef %145, ptr noundef %148, i32 noundef -1)
  br label %196

149:                                              ; preds = %128
  %150 = load i32, ptr %12, align 4, !tbaa !17
  %151 = icmp eq i32 %150, 5
  br i1 %151, label %152, label %167

152:                                              ; preds = %149
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.MTensor, ptr %154, i32 0, i32 0
  %156 = load i32, ptr %155, align 8, !tbaa !20
  %157 = add nsw i32 %156, 0
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.MTensor, ptr %158, i32 0, i32 1
  %160 = load i32, ptr %159, align 4, !tbaa !21
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.MTensor, ptr %161, i32 0, i32 2
  %163 = load i32, ptr %162, align 8, !tbaa !22
  %164 = load ptr, ptr %5, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.MTensor, ptr %164, i32 0, i32 3
  %166 = load i32, ptr %165, align 4, !tbaa !23
  call void @TensorRedefine(ptr noundef %153, i32 noundef %157, i32 noundef %160, i32 noundef %163, i32 noundef %166, ptr noundef null, i32 noundef -1)
  br label %195

167:                                              ; preds = %149
  %168 = load i32, ptr %12, align 4, !tbaa !17
  %169 = icmp eq i32 %168, 6
  br i1 %169, label %170, label %185

170:                                              ; preds = %167
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = load ptr, ptr %5, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.MTensor, ptr %172, i32 0, i32 0
  %174 = load i32, ptr %173, align 8, !tbaa !20
  %175 = add nsw i32 %174, 0
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.MTensor, ptr %176, i32 0, i32 1
  %178 = load i32, ptr %177, align 4, !tbaa !21
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.MTensor, ptr %179, i32 0, i32 2
  %181 = load i32, ptr %180, align 8, !tbaa !22
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.MTensor, ptr %182, i32 0, i32 3
  %184 = load i32, ptr %183, align 4, !tbaa !23
  call void @TensorRedefine(ptr noundef %171, i32 noundef %175, i32 noundef %178, i32 noundef %181, i32 noundef %184, ptr noundef null, i32 noundef -1)
  br label %194

185:                                              ; preds = %167
  br label %186

186:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 1, ptr %13, align 4, !tbaa !17
  %187 = load i32, ptr %13, align 4, !tbaa !17
  %188 = icmp ne i32 %187, 0
  br i1 %188, label %189, label %191

189:                                              ; preds = %186
  %190 = load i32, ptr %13, align 4, !tbaa !17
  call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef %190, i32 noundef -1, ptr noundef @.str.8, i32 noundef 291, ptr noundef @__FUNCTION__.TensorActivationSet, ptr noundef @.str.18)
  br label %191

191:                                              ; preds = %189, %186
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %192

192:                                              ; preds = %191
  br label %193

193:                                              ; preds = %192
  br label %194

194:                                              ; preds = %193, %170
  br label %195

195:                                              ; preds = %194, %152
  br label %196

196:                                              ; preds = %195, %131
  br label %197

197:                                              ; preds = %196, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %198

198:                                              ; preds = %197
  br label %199

199:                                              ; preds = %198
  br label %200

200:                                              ; preds = %199, %116
  %201 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %201, ptr %2, align 8
  store i32 1, ptr %9, align 4
  br label %202

202:                                              ; preds = %200, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %203 = load ptr, ptr %2, align 8
  ret ptr %203
}

declare void @TensorRedefine(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1

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 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !6, i64 56}
!10 = !{!"MLayer", !7, i64 0, !11, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !11, i64 64}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TensorActivationPara", !6, i64 0, !11, i64 8, !6, i64 16, !7, i64 24}
!14 = !{!10, !6, i64 40}
!15 = !{!10, !6, i64 48}
!16 = !{!10, !11, i64 64}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !6, i64 16}
!19 = !{!"MTensor", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !11, i64 24}
!20 = !{!19, !11, i64 0}
!21 = !{!19, !11, i64 4}
!22 = !{!19, !11, i64 8}
!23 = !{!19, !11, 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"

@morn_network_flag = external local_unnamed_addr global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local noalias noundef ptr @TensorActivationSet(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 56
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %3, align 8, !tbaa !11
  %5 = getelementptr inbounds i8, ptr %4, i64 40
  %6 = load ptr, ptr %5, align 8, !tbaa !13
  %7 = getelementptr inbounds i8, ptr %4, i64 48
  %8 = load ptr, ptr %7, align 8, !tbaa !14
  %9 = getelementptr inbounds i8, ptr %0, i64 64
  %10 = load i32, ptr %9, align 8, !tbaa !15
  %.not = icmp eq i32 %10, -1
  br i1 %.not, label %11, label %28

11:                                               ; preds = %1
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = load ptr, ptr %12, align 8, !tbaa !13
  %14 = load i32, ptr %6, align 8, !tbaa !16
  %15 = getelementptr inbounds i8, ptr %6, i64 4
  %16 = load i32, ptr %15, align 4, !tbaa !18
  %17 = getelementptr inbounds i8, ptr %6, i64 8
  %18 = load i32, ptr %17, align 8, !tbaa !19
  %19 = getelementptr inbounds i8, ptr %6, i64 12
  %20 = load i32, ptr %19, align 4, !tbaa !20
  tail call void @TensorRedefine(ptr noundef %13, i32 noundef %14, i32 noundef %16, i32 noundef %18, i32 noundef %20, ptr noundef null, i32 noundef -1) #2
  %21 = load i32, ptr @morn_network_flag, align 4, !tbaa !21
  %22 = icmp eq i32 %21, 1
  br i1 %22, label %23, label %28

23:                                               ; preds = %11
  %24 = load i32, ptr %6, align 8, !tbaa !16
  %25 = load i32, ptr %15, align 4, !tbaa !18
  %26 = load i32, ptr %17, align 8, !tbaa !19
  %27 = load i32, ptr %19, align 4, !tbaa !20
  tail call void @TensorRedefine(ptr noundef %8, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef null, i32 noundef -1) #2
  br label %28

28:                                               ; preds = %11, %23, %1
  ret ptr null
}

declare void @TensorRedefine(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { 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 #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 = { 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, !10, i64 56}
!6 = !{!"MLayer", !7, i64 0, !9, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !9, i64 64}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TensorActivationPara", !10, i64 0, !9, i64 8, !10, i64 16, !7, i64 24}
!13 = !{!6, !10, i64 40}
!14 = !{!6, !10, i64 48}
!15 = !{!6, !9, i64 64}
!16 = !{!17, !9, i64 0}
!17 = !{!"MTensor", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !10, i64 16, !9, i64 24}
!18 = !{!17, !9, i64 4}
!19 = !{!17, !9, i64 8}
!20 = !{!17, !9, i64 12}
!21 = !{!9, !9, i64 0}


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