; LLVM IR from ermig1979/Simd :: src/Test (TestUtils)

; 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::initializer_list" = type { ptr, i64 }

@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test10SetDstStatEmi26SimdSynetCompatibilityTypeRKNS_6TensorIfEEPfS5_S5_S5_ = external hidden unnamed_addr constant [118 x i8], align 1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Test6TensorIfE6FormatEv(ptr noundef nonnull align 8 dereferenceable(64)) #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef) #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4Simd3AbsIfEET_S1_(float noundef) #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4Test6TensorIfE5CountEv(ptr noundef nonnull align 8 dereferenceable(64)) #0 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64), ptr, i64) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Test10SetDstStatEmi26SimdSynetCompatibilityTypeRKNS_6TensorIfEEPfS5_S5_S5_(i64 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #5 {
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca %"class.std::initializer_list", align 8
  %23 = alloca [4 x i64], align 8
  %24 = alloca %"class.std::initializer_list", align 8
  %25 = alloca [4 x i64], align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca %"class.std::initializer_list", align 8
  %30 = alloca [4 x i64], align 8
  %31 = alloca %"class.std::initializer_list", align 8
  %32 = alloca [4 x i64], align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca %"class.std::initializer_list", align 8
  %37 = alloca [3 x i64], align 8
  %38 = alloca %"class.std::initializer_list", align 8
  %39 = alloca [3 x i64], align 8
  %40 = alloca i64, align 8
  %41 = alloca i64, align 8
  %42 = alloca %"class.std::initializer_list", align 8
  %43 = alloca [3 x i64], align 8
  %44 = alloca %"class.std::initializer_list", align 8
  %45 = alloca [3 x i64], align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i64, align 8
  %51 = alloca float, align 4
  %52 = alloca float, align 4
  %53 = alloca float, align 4
  store i64 %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store i32 %2, ptr %11, align 4, !tbaa !11
  store ptr %3, ptr %12, align 8, !tbaa !13
  store ptr %4, ptr %13, align 8, !tbaa !13
  store ptr %5, ptr %14, align 8, !tbaa !13
  store ptr %6, ptr %15, align 8, !tbaa !13
  store ptr %7, ptr %16, align 8, !tbaa !13
  %54 = load ptr, ptr %13, align 8, !tbaa !13
  %55 = load i64, ptr %9, align 8, !tbaa !5
  call void @_ZN4Test4FillIfEEvPT_mS1_(ptr noundef %54, i64 noundef %55, float noundef 0x47EFFFFFE0000000)
  %56 = load ptr, ptr %14, align 8, !tbaa !13
  %57 = load i64, ptr %9, align 8, !tbaa !5
  call void @_ZN4Test4FillIfEEvPT_mS1_(ptr noundef %56, i64 noundef %57, float noundef 0xC7EFFFFFE0000000)
  %58 = load ptr, ptr %12, align 8, !tbaa !13
  %59 = call noundef i64 @_ZNK4Test6TensorIfE5CountEv(ptr noundef nonnull align 8 dereferenceable(64) %58)
  %60 = icmp eq i64 %59, 4
  br i1 %60, label %61, label %241

61:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store i64 0, ptr %17, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %237, %61
  %63 = load i64, ptr %17, align 8, !tbaa !5
  %64 = load ptr, ptr %12, align 8, !tbaa !13
  %65 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %64, i64 noundef 0)
  %66 = icmp ult i64 %63, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %62
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %240

68:                                               ; preds = %62
  %69 = load ptr, ptr %12, align 8, !tbaa !13
  %70 = call noundef i32 @_ZNK4Test6TensorIfE6FormatEv(ptr noundef nonnull align 8 dereferenceable(64) %69)
  %71 = icmp eq i32 %70, 1
  br i1 %71, label %72, label %154

72:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store i64 0, ptr %19, align 8, !tbaa !5
  br label %73

73:                                               ; preds = %150, %72
  %74 = load i64, ptr %19, align 8, !tbaa !5
  %75 = load ptr, ptr %12, align 8, !tbaa !13
  %76 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %75, i64 noundef 1)
  %77 = icmp ult i64 %74, %76
  br i1 %77, label %79, label %78

78:                                               ; preds = %73
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %153

79:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store i64 0, ptr %20, align 8, !tbaa !5
  br label %80

80:                                               ; preds = %146, %79
  %81 = load i64, ptr %20, align 8, !tbaa !5
  %82 = load ptr, ptr %12, align 8, !tbaa !13
  %83 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %82, i64 noundef 2)
  %84 = icmp ult i64 %81, %83
  br i1 %84, label %86, label %85

85:                                               ; preds = %80
  store i32 8, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %149

86:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  store i64 0, ptr %21, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %142, %86
  %88 = load i64, ptr %21, align 8, !tbaa !5
  %89 = load ptr, ptr %12, align 8, !tbaa !13
  %90 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %89, i64 noundef 3)
  %91 = icmp ult i64 %88, %90
  br i1 %91, label %93, label %92

92:                                               ; preds = %87
  store i32 11, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %145

93:                                               ; preds = %87
  %94 = load ptr, ptr %13, align 8, !tbaa !13
  %95 = load i64, ptr %21, align 8, !tbaa !5
  %96 = getelementptr inbounds float, ptr %94, i64 %95
  %97 = load ptr, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #6
  %98 = load i64, ptr %17, align 8, !tbaa !5
  store i64 %98, ptr %23, align 8, !tbaa !5
  %99 = getelementptr inbounds i64, ptr %23, i64 1
  %100 = load i64, ptr %19, align 8, !tbaa !5
  store i64 %100, ptr %99, align 8, !tbaa !5
  %101 = getelementptr inbounds i64, ptr %23, i64 2
  %102 = load i64, ptr %20, align 8, !tbaa !5
  store i64 %102, ptr %101, align 8, !tbaa !5
  %103 = getelementptr inbounds i64, ptr %23, i64 3
  %104 = load i64, ptr %21, align 8, !tbaa !5
  store i64 %104, ptr %103, align 8, !tbaa !5
  %105 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 0
  store ptr %23, ptr %105, align 8, !tbaa !15
  %106 = getelementptr inbounds %"class.std::initializer_list", ptr %22, i32 0, i32 1
  store i64 4, ptr %106, align 8, !tbaa !17
  %107 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8
  %109 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %110 = load i64, ptr %109, align 8
  %111 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %97, ptr %108, i64 %110)
  %112 = getelementptr inbounds float, ptr %111, i64 0
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %96, ptr noundef nonnull align 4 dereferenceable(4) %112)
  %114 = load float, ptr %113, align 4, !tbaa !18
  %115 = load ptr, ptr %13, align 8, !tbaa !13
  %116 = load i64, ptr %21, align 8, !tbaa !5
  %117 = getelementptr inbounds float, ptr %115, i64 %116
  store float %114, ptr %117, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  %118 = load ptr, ptr %14, align 8, !tbaa !13
  %119 = load i64, ptr %21, align 8, !tbaa !5
  %120 = getelementptr inbounds float, ptr %118, i64 %119
  %121 = load ptr, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #6
  %122 = load i64, ptr %17, align 8, !tbaa !5
  store i64 %122, ptr %25, align 8, !tbaa !5
  %123 = getelementptr inbounds i64, ptr %25, i64 1
  %124 = load i64, ptr %19, align 8, !tbaa !5
  store i64 %124, ptr %123, align 8, !tbaa !5
  %125 = getelementptr inbounds i64, ptr %25, i64 2
  %126 = load i64, ptr %20, align 8, !tbaa !5
  store i64 %126, ptr %125, align 8, !tbaa !5
  %127 = getelementptr inbounds i64, ptr %25, i64 3
  %128 = load i64, ptr %21, align 8, !tbaa !5
  store i64 %128, ptr %127, align 8, !tbaa !5
  %129 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 0
  store ptr %25, ptr %129, align 8, !tbaa !15
  %130 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 1
  store i64 4, ptr %130, align 8, !tbaa !17
  %131 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8
  %133 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %134 = load i64, ptr %133, align 8
  %135 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %121, ptr %132, i64 %134)
  %136 = getelementptr inbounds float, ptr %135, i64 0
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %120, ptr noundef nonnull align 4 dereferenceable(4) %136)
  %138 = load float, ptr %137, align 4, !tbaa !18
  %139 = load ptr, ptr %14, align 8, !tbaa !13
  %140 = load i64, ptr %21, align 8, !tbaa !5
  %141 = getelementptr inbounds float, ptr %139, i64 %140
  store float %138, ptr %141, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  br label %142

142:                                              ; preds = %93
  %143 = load i64, ptr %21, align 8, !tbaa !5
  %144 = add i64 %143, 1
  store i64 %144, ptr %21, align 8, !tbaa !5
  br label %87, !llvm.loop !20

145:                                              ; preds = %92
  br label %146

146:                                              ; preds = %145
  %147 = load i64, ptr %20, align 8, !tbaa !5
  %148 = add i64 %147, 1
  store i64 %148, ptr %20, align 8, !tbaa !5
  br label %80, !llvm.loop !22

149:                                              ; preds = %85
  br label %150

150:                                              ; preds = %149
  %151 = load i64, ptr %19, align 8, !tbaa !5
  %152 = add i64 %151, 1
  store i64 %152, ptr %19, align 8, !tbaa !5
  br label %73, !llvm.loop !23

153:                                              ; preds = %78
  br label %236

154:                                              ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store i64 0, ptr %26, align 8, !tbaa !5
  br label %155

155:                                              ; preds = %232, %154
  %156 = load i64, ptr %26, align 8, !tbaa !5
  %157 = load ptr, ptr %12, align 8, !tbaa !13
  %158 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %157, i64 noundef 1)
  %159 = icmp ult i64 %156, %158
  br i1 %159, label %161, label %160

160:                                              ; preds = %155
  store i32 14, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %235

161:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store i64 0, ptr %27, align 8, !tbaa !5
  br label %162

162:                                              ; preds = %228, %161
  %163 = load i64, ptr %27, align 8, !tbaa !5
  %164 = load ptr, ptr %12, align 8, !tbaa !13
  %165 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %164, i64 noundef 2)
  %166 = icmp ult i64 %163, %165
  br i1 %166, label %168, label %167

167:                                              ; preds = %162
  store i32 17, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %231

168:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  store i64 0, ptr %28, align 8, !tbaa !5
  br label %169

169:                                              ; preds = %224, %168
  %170 = load i64, ptr %28, align 8, !tbaa !5
  %171 = load ptr, ptr %12, align 8, !tbaa !13
  %172 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %171, i64 noundef 3)
  %173 = icmp ult i64 %170, %172
  br i1 %173, label %175, label %174

174:                                              ; preds = %169
  store i32 20, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %227

175:                                              ; preds = %169
  %176 = load ptr, ptr %13, align 8, !tbaa !13
  %177 = load i64, ptr %26, align 8, !tbaa !5
  %178 = getelementptr inbounds float, ptr %176, i64 %177
  %179 = load ptr, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  %180 = load i64, ptr %17, align 8, !tbaa !5
  store i64 %180, ptr %30, align 8, !tbaa !5
  %181 = getelementptr inbounds i64, ptr %30, i64 1
  %182 = load i64, ptr %26, align 8, !tbaa !5
  store i64 %182, ptr %181, align 8, !tbaa !5
  %183 = getelementptr inbounds i64, ptr %30, i64 2
  %184 = load i64, ptr %27, align 8, !tbaa !5
  store i64 %184, ptr %183, align 8, !tbaa !5
  %185 = getelementptr inbounds i64, ptr %30, i64 3
  %186 = load i64, ptr %28, align 8, !tbaa !5
  store i64 %186, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 0
  store ptr %30, ptr %187, align 8, !tbaa !15
  %188 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 1
  store i64 4, ptr %188, align 8, !tbaa !17
  %189 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %190 = load ptr, ptr %189, align 8
  %191 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %192 = load i64, ptr %191, align 8
  %193 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %179, ptr %190, i64 %192)
  %194 = getelementptr inbounds float, ptr %193, i64 0
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %178, ptr noundef nonnull align 4 dereferenceable(4) %194)
  %196 = load float, ptr %195, align 4, !tbaa !18
  %197 = load ptr, ptr %13, align 8, !tbaa !13
  %198 = load i64, ptr %26, align 8, !tbaa !5
  %199 = getelementptr inbounds float, ptr %197, i64 %198
  store float %196, ptr %199, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  %200 = load ptr, ptr %14, align 8, !tbaa !13
  %201 = load i64, ptr %26, align 8, !tbaa !5
  %202 = getelementptr inbounds float, ptr %200, i64 %201
  %203 = load ptr, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #6
  %204 = load i64, ptr %17, align 8, !tbaa !5
  store i64 %204, ptr %32, align 8, !tbaa !5
  %205 = getelementptr inbounds i64, ptr %32, i64 1
  %206 = load i64, ptr %26, align 8, !tbaa !5
  store i64 %206, ptr %205, align 8, !tbaa !5
  %207 = getelementptr inbounds i64, ptr %32, i64 2
  %208 = load i64, ptr %27, align 8, !tbaa !5
  store i64 %208, ptr %207, align 8, !tbaa !5
  %209 = getelementptr inbounds i64, ptr %32, i64 3
  %210 = load i64, ptr %28, align 8, !tbaa !5
  store i64 %210, ptr %209, align 8, !tbaa !5
  %211 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 0
  store ptr %32, ptr %211, align 8, !tbaa !15
  %212 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 1
  store i64 4, ptr %212, align 8, !tbaa !17
  %213 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %214 = load ptr, ptr %213, align 8
  %215 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %216 = load i64, ptr %215, align 8
  %217 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %203, ptr %214, i64 %216)
  %218 = getelementptr inbounds float, ptr %217, i64 0
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %202, ptr noundef nonnull align 4 dereferenceable(4) %218)
  %220 = load float, ptr %219, align 4, !tbaa !18
  %221 = load ptr, ptr %14, align 8, !tbaa !13
  %222 = load i64, ptr %26, align 8, !tbaa !5
  %223 = getelementptr inbounds float, ptr %221, i64 %222
  store float %220, ptr %223, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #6
  br label %224

224:                                              ; preds = %175
  %225 = load i64, ptr %28, align 8, !tbaa !5
  %226 = add i64 %225, 1
  store i64 %226, ptr %28, align 8, !tbaa !5
  br label %169, !llvm.loop !24

227:                                              ; preds = %174
  br label %228

228:                                              ; preds = %227
  %229 = load i64, ptr %27, align 8, !tbaa !5
  %230 = add i64 %229, 1
  store i64 %230, ptr %27, align 8, !tbaa !5
  br label %162, !llvm.loop !25

231:                                              ; preds = %167
  br label %232

232:                                              ; preds = %231
  %233 = load i64, ptr %26, align 8, !tbaa !5
  %234 = add i64 %233, 1
  store i64 %234, ptr %26, align 8, !tbaa !5
  br label %155, !llvm.loop !26

235:                                              ; preds = %160
  br label %236

236:                                              ; preds = %235, %153
  br label %237

237:                                              ; preds = %236
  %238 = load i64, ptr %17, align 8, !tbaa !5
  %239 = add i64 %238, 1
  store i64 %239, ptr %17, align 8, !tbaa !5
  br label %62, !llvm.loop !27

240:                                              ; preds = %67
  br label %397

241:                                              ; preds = %8
  %242 = load ptr, ptr %12, align 8, !tbaa !13
  %243 = call noundef i64 @_ZNK4Test6TensorIfE5CountEv(ptr noundef nonnull align 8 dereferenceable(64) %242)
  %244 = icmp eq i64 %243, 3
  br i1 %244, label %245, label %395

245:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  store i64 0, ptr %33, align 8, !tbaa !5
  br label %246

246:                                              ; preds = %391, %245
  %247 = load i64, ptr %33, align 8, !tbaa !5
  %248 = load ptr, ptr %12, align 8, !tbaa !13
  %249 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %248, i64 noundef 0)
  %250 = icmp ult i64 %247, %249
  br i1 %250, label %252, label %251

251:                                              ; preds = %246
  store i32 23, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %394

252:                                              ; preds = %246
  %253 = load ptr, ptr %12, align 8, !tbaa !13
  %254 = call noundef i32 @_ZNK4Test6TensorIfE6FormatEv(ptr noundef nonnull align 8 dereferenceable(64) %253)
  %255 = icmp eq i32 %254, 1
  br i1 %255, label %256, label %323

256:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  store i64 0, ptr %34, align 8, !tbaa !5
  br label %257

257:                                              ; preds = %319, %256
  %258 = load i64, ptr %34, align 8, !tbaa !5
  %259 = load ptr, ptr %12, align 8, !tbaa !13
  %260 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %259, i64 noundef 1)
  %261 = icmp ult i64 %258, %260
  br i1 %261, label %263, label %262

262:                                              ; preds = %257
  store i32 26, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %322

263:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  store i64 0, ptr %35, align 8, !tbaa !5
  br label %264

264:                                              ; preds = %315, %263
  %265 = load i64, ptr %35, align 8, !tbaa !5
  %266 = load ptr, ptr %12, align 8, !tbaa !13
  %267 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %266, i64 noundef 2)
  %268 = icmp ult i64 %265, %267
  br i1 %268, label %270, label %269

269:                                              ; preds = %264
  store i32 29, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %318

270:                                              ; preds = %264
  %271 = load ptr, ptr %13, align 8, !tbaa !13
  %272 = load i64, ptr %35, align 8, !tbaa !5
  %273 = getelementptr inbounds float, ptr %271, i64 %272
  %274 = load ptr, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #6
  %275 = load i64, ptr %33, align 8, !tbaa !5
  store i64 %275, ptr %37, align 8, !tbaa !5
  %276 = getelementptr inbounds i64, ptr %37, i64 1
  %277 = load i64, ptr %34, align 8, !tbaa !5
  store i64 %277, ptr %276, align 8, !tbaa !5
  %278 = getelementptr inbounds i64, ptr %37, i64 2
  %279 = load i64, ptr %35, align 8, !tbaa !5
  store i64 %279, ptr %278, align 8, !tbaa !5
  %280 = getelementptr inbounds %"class.std::initializer_list", ptr %36, i32 0, i32 0
  store ptr %37, ptr %280, align 8, !tbaa !15
  %281 = getelementptr inbounds %"class.std::initializer_list", ptr %36, i32 0, i32 1
  store i64 3, ptr %281, align 8, !tbaa !17
  %282 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 0
  %283 = load ptr, ptr %282, align 8
  %284 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 1
  %285 = load i64, ptr %284, align 8
  %286 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %274, ptr %283, i64 %285)
  %287 = getelementptr inbounds float, ptr %286, i64 0
  %288 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %273, ptr noundef nonnull align 4 dereferenceable(4) %287)
  %289 = load float, ptr %288, align 4, !tbaa !18
  %290 = load ptr, ptr %13, align 8, !tbaa !13
  %291 = load i64, ptr %35, align 8, !tbaa !5
  %292 = getelementptr inbounds float, ptr %290, i64 %291
  store float %289, ptr %292, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  %293 = load ptr, ptr %14, align 8, !tbaa !13
  %294 = load i64, ptr %35, align 8, !tbaa !5
  %295 = getelementptr inbounds float, ptr %293, i64 %294
  %296 = load ptr, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #6
  %297 = load i64, ptr %33, align 8, !tbaa !5
  store i64 %297, ptr %39, align 8, !tbaa !5
  %298 = getelementptr inbounds i64, ptr %39, i64 1
  %299 = load i64, ptr %34, align 8, !tbaa !5
  store i64 %299, ptr %298, align 8, !tbaa !5
  %300 = getelementptr inbounds i64, ptr %39, i64 2
  %301 = load i64, ptr %35, align 8, !tbaa !5
  store i64 %301, ptr %300, align 8, !tbaa !5
  %302 = getelementptr inbounds %"class.std::initializer_list", ptr %38, i32 0, i32 0
  store ptr %39, ptr %302, align 8, !tbaa !15
  %303 = getelementptr inbounds %"class.std::initializer_list", ptr %38, i32 0, i32 1
  store i64 3, ptr %303, align 8, !tbaa !17
  %304 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 0
  %305 = load ptr, ptr %304, align 8
  %306 = getelementptr inbounds { ptr, i64 }, ptr %38, i32 0, i32 1
  %307 = load i64, ptr %306, align 8
  %308 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %296, ptr %305, i64 %307)
  %309 = getelementptr inbounds float, ptr %308, i64 0
  %310 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %295, ptr noundef nonnull align 4 dereferenceable(4) %309)
  %311 = load float, ptr %310, align 4, !tbaa !18
  %312 = load ptr, ptr %14, align 8, !tbaa !13
  %313 = load i64, ptr %35, align 8, !tbaa !5
  %314 = getelementptr inbounds float, ptr %312, i64 %313
  store float %311, ptr %314, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #6
  br label %315

315:                                              ; preds = %270
  %316 = load i64, ptr %35, align 8, !tbaa !5
  %317 = add i64 %316, 1
  store i64 %317, ptr %35, align 8, !tbaa !5
  br label %264, !llvm.loop !28

318:                                              ; preds = %269
  br label %319

319:                                              ; preds = %318
  %320 = load i64, ptr %34, align 8, !tbaa !5
  %321 = add i64 %320, 1
  store i64 %321, ptr %34, align 8, !tbaa !5
  br label %257, !llvm.loop !29

322:                                              ; preds = %262
  br label %390

323:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  store i64 0, ptr %40, align 8, !tbaa !5
  br label %324

324:                                              ; preds = %386, %323
  %325 = load i64, ptr %40, align 8, !tbaa !5
  %326 = load ptr, ptr %12, align 8, !tbaa !13
  %327 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %326, i64 noundef 1)
  %328 = icmp ult i64 %325, %327
  br i1 %328, label %330, label %329

329:                                              ; preds = %324
  store i32 32, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %389

330:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  store i64 0, ptr %41, align 8, !tbaa !5
  br label %331

331:                                              ; preds = %382, %330
  %332 = load i64, ptr %41, align 8, !tbaa !5
  %333 = load ptr, ptr %12, align 8, !tbaa !13
  %334 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %333, i64 noundef 2)
  %335 = icmp ult i64 %332, %334
  br i1 %335, label %337, label %336

336:                                              ; preds = %331
  store i32 35, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  br label %385

337:                                              ; preds = %331
  %338 = load ptr, ptr %13, align 8, !tbaa !13
  %339 = load i64, ptr %40, align 8, !tbaa !5
  %340 = getelementptr inbounds float, ptr %338, i64 %339
  %341 = load ptr, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #6
  %342 = load i64, ptr %33, align 8, !tbaa !5
  store i64 %342, ptr %43, align 8, !tbaa !5
  %343 = getelementptr inbounds i64, ptr %43, i64 1
  %344 = load i64, ptr %40, align 8, !tbaa !5
  store i64 %344, ptr %343, align 8, !tbaa !5
  %345 = getelementptr inbounds i64, ptr %43, i64 2
  %346 = load i64, ptr %41, align 8, !tbaa !5
  store i64 %346, ptr %345, align 8, !tbaa !5
  %347 = getelementptr inbounds %"class.std::initializer_list", ptr %42, i32 0, i32 0
  store ptr %43, ptr %347, align 8, !tbaa !15
  %348 = getelementptr inbounds %"class.std::initializer_list", ptr %42, i32 0, i32 1
  store i64 3, ptr %348, align 8, !tbaa !17
  %349 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 0
  %350 = load ptr, ptr %349, align 8
  %351 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 1
  %352 = load i64, ptr %351, align 8
  %353 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %341, ptr %350, i64 %352)
  %354 = getelementptr inbounds float, ptr %353, i64 0
  %355 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %340, ptr noundef nonnull align 4 dereferenceable(4) %354)
  %356 = load float, ptr %355, align 4, !tbaa !18
  %357 = load ptr, ptr %13, align 8, !tbaa !13
  %358 = load i64, ptr %40, align 8, !tbaa !5
  %359 = getelementptr inbounds float, ptr %357, i64 %358
  store float %356, ptr %359, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #6
  %360 = load ptr, ptr %14, align 8, !tbaa !13
  %361 = load i64, ptr %40, align 8, !tbaa !5
  %362 = getelementptr inbounds float, ptr %360, i64 %361
  %363 = load ptr, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #6
  %364 = load i64, ptr %33, align 8, !tbaa !5
  store i64 %364, ptr %45, align 8, !tbaa !5
  %365 = getelementptr inbounds i64, ptr %45, i64 1
  %366 = load i64, ptr %40, align 8, !tbaa !5
  store i64 %366, ptr %365, align 8, !tbaa !5
  %367 = getelementptr inbounds i64, ptr %45, i64 2
  %368 = load i64, ptr %41, align 8, !tbaa !5
  store i64 %368, ptr %367, align 8, !tbaa !5
  %369 = getelementptr inbounds %"class.std::initializer_list", ptr %44, i32 0, i32 0
  store ptr %45, ptr %369, align 8, !tbaa !15
  %370 = getelementptr inbounds %"class.std::initializer_list", ptr %44, i32 0, i32 1
  store i64 3, ptr %370, align 8, !tbaa !17
  %371 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 0
  %372 = load ptr, ptr %371, align 8
  %373 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 1
  %374 = load i64, ptr %373, align 8
  %375 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %363, ptr %372, i64 %374)
  %376 = getelementptr inbounds float, ptr %375, i64 0
  %377 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %362, ptr noundef nonnull align 4 dereferenceable(4) %376)
  %378 = load float, ptr %377, align 4, !tbaa !18
  %379 = load ptr, ptr %14, align 8, !tbaa !13
  %380 = load i64, ptr %40, align 8, !tbaa !5
  %381 = getelementptr inbounds float, ptr %379, i64 %380
  store float %378, ptr %381, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #6
  br label %382

382:                                              ; preds = %337
  %383 = load i64, ptr %41, align 8, !tbaa !5
  %384 = add i64 %383, 1
  store i64 %384, ptr %41, align 8, !tbaa !5
  br label %331, !llvm.loop !30

385:                                              ; preds = %336
  br label %386

386:                                              ; preds = %385
  %387 = load i64, ptr %40, align 8, !tbaa !5
  %388 = add i64 %387, 1
  store i64 %388, ptr %40, align 8, !tbaa !5
  br label %324, !llvm.loop !31

389:                                              ; preds = %329
  br label %390

390:                                              ; preds = %389, %322
  br label %391

391:                                              ; preds = %390
  %392 = load i64, ptr %33, align 8, !tbaa !5
  %393 = add i64 %392, 1
  store i64 %393, ptr %33, align 8, !tbaa !5
  br label %246, !llvm.loop !32

394:                                              ; preds = %251
  br label %396

395:                                              ; preds = %241
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 149, ptr noundef @__PRETTY_FUNCTION__._ZN4Test10SetDstStatEmi26SimdSynetCompatibilityTypeRKNS_6TensorIfEEPfS5_S5_S5_) #7
  unreachable

396:                                              ; preds = %394
  br label %397

397:                                              ; preds = %396, %240
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %398 = load i32, ptr %11, align 4, !tbaa !11
  %399 = call noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef %398)
  %400 = zext i1 %399 to i64
  %401 = select i1 %399, i32 0, i32 0
  store i32 %401, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #6
  %402 = load i32, ptr %11, align 4, !tbaa !11
  %403 = call noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef %402)
  %404 = zext i1 %403 to i64
  %405 = select i1 %403, i32 180, i32 255
  store i32 %405, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #6
  %406 = load i32, ptr %11, align 4, !tbaa !11
  %407 = call noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef %406)
  %408 = zext i1 %407 to i64
  %409 = select i1 %407, i32 -90, i32 -128
  store i32 %409, ptr %48, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #6
  %410 = load i32, ptr %11, align 4, !tbaa !11
  %411 = call noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef %410)
  %412 = zext i1 %411 to i64
  %413 = select i1 %411, i32 90, i32 127
  store i32 %413, ptr %49, align 4, !tbaa !9
  %414 = load ptr, ptr %15, align 8, !tbaa !13
  %415 = icmp ne ptr %414, null
  br i1 %415, label %416, label %473

416:                                              ; preds = %397
  %417 = load ptr, ptr %16, align 8, !tbaa !13
  %418 = icmp ne ptr %417, null
  br i1 %418, label %419, label %473

419:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #6
  store i64 0, ptr %50, align 8, !tbaa !5
  br label %420

420:                                              ; preds = %469, %419
  %421 = load i64, ptr %50, align 8, !tbaa !5
  %422 = load i64, ptr %9, align 8, !tbaa !5
  %423 = icmp ult i64 %421, %422
  br i1 %423, label %425, label %424

424:                                              ; preds = %420
  store i32 38, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  br label %472

425:                                              ; preds = %420
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  %426 = load ptr, ptr %13, align 8, !tbaa !13
  %427 = load i64, ptr %50, align 8, !tbaa !5
  %428 = getelementptr inbounds float, ptr %426, i64 %427
  %429 = load float, ptr %428, align 4, !tbaa !18
  %430 = call noundef float @_ZN4Simd3AbsIfEET_S1_(float noundef %429)
  store float %430, ptr %52, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  %431 = load ptr, ptr %14, align 8, !tbaa !13
  %432 = load i64, ptr %50, align 8, !tbaa !5
  %433 = getelementptr inbounds float, ptr %431, i64 %432
  %434 = load float, ptr %433, align 4, !tbaa !18
  %435 = call noundef float @_ZN4Simd3AbsIfEET_S1_(float noundef %434)
  store float %435, ptr %53, align 4, !tbaa !18
  %436 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %53)
  %437 = load float, ptr %436, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #6
  store float %437, ptr %51, align 4, !tbaa !18
  %438 = load float, ptr %51, align 4, !tbaa !18
  %439 = load i32, ptr %10, align 4, !tbaa !9
  %440 = icmp ne i32 %439, 0
  br i1 %440, label %441, label %443

441:                                              ; preds = %425
  %442 = load i32, ptr %49, align 4, !tbaa !9
  br label %445

443:                                              ; preds = %425
  %444 = load i32, ptr %47, align 4, !tbaa !9
  br label %445

445:                                              ; preds = %443, %441
  %446 = phi i32 [ %442, %441 ], [ %444, %443 ]
  %447 = sitofp i32 %446 to float
  %448 = fdiv float %438, %447
  %449 = load ptr, ptr %15, align 8, !tbaa !13
  %450 = load i64, ptr %50, align 8, !tbaa !5
  %451 = getelementptr inbounds float, ptr %449, i64 %450
  store float %448, ptr %451, align 4, !tbaa !18
  %452 = load i32, ptr %10, align 4, !tbaa !9
  %453 = icmp ne i32 %452, 0
  br i1 %453, label %454, label %456

454:                                              ; preds = %445
  %455 = load i32, ptr %48, align 4, !tbaa !9
  br label %458

456:                                              ; preds = %445
  %457 = load i32, ptr %46, align 4, !tbaa !9
  br label %458

458:                                              ; preds = %456, %454
  %459 = phi i32 [ %455, %454 ], [ %457, %456 ]
  %460 = sitofp i32 %459 to float
  %461 = load ptr, ptr %15, align 8, !tbaa !13
  %462 = load i64, ptr %50, align 8, !tbaa !5
  %463 = getelementptr inbounds float, ptr %461, i64 %462
  %464 = load float, ptr %463, align 4, !tbaa !18
  %465 = fmul float %460, %464
  %466 = load ptr, ptr %16, align 8, !tbaa !13
  %467 = load i64, ptr %50, align 8, !tbaa !5
  %468 = getelementptr inbounds float, ptr %466, i64 %467
  store float %465, ptr %468, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  br label %469

469:                                              ; preds = %458
  %470 = load i64, ptr %50, align 8, !tbaa !5
  %471 = add i64 %470, 1
  store i64 %471, ptr %50, align 8, !tbaa !5
  br label %420, !llvm.loop !33

472:                                              ; preds = %424
  br label %473

473:                                              ; preds = %472, %416, %397
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Test4FillIfEEvPT_mS1_(ptr noundef, i64 noundef, float noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

attributes #0 = { alwaysinline 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 #1 = { noreturn 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { alwaysinline 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 = { 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 #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"_ZTSSt16initializer_listImE", !14, i64 0, !6, i64 8}
!17 = !{!16, !6, i64 8}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21}
!26 = distinct !{!26, !21}
!27 = distinct !{!27, !21}
!28 = distinct !{!28, !21}
!29 = distinct !{!29, !21}
!30 = distinct !{!30, !21}
!31 = distinct !{!31, !21}
!32 = distinct !{!32, !21}
!33 = distinct !{!33, !21}


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

@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test10SetDstStatEmi26SimdSynetCompatibilityTypeRKNS_6TensorIfEEPfS5_S5_S5_ = external hidden unnamed_addr constant [118 x i8], align 1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Test6TensorIfE6FormatEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4Simd3AbsIfEET_S1_(float noundef) local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4Test6TensorIfE5CountEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #0 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64), ptr, i64) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Test10SetDstStatEmi26SimdSynetCompatibilityTypeRKNS_6TensorIfEEPfS5_S5_S5_(i64 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef %4, ptr noundef %5, ptr noundef writeonly %6, ptr noundef writeonly %7) local_unnamed_addr #5 {
  %9 = alloca [4 x i64], align 8
  %10 = alloca [4 x i64], align 8
  %11 = alloca [4 x i64], align 8
  %12 = alloca [4 x i64], align 8
  %13 = alloca [3 x i64], align 8
  %14 = alloca [3 x i64], align 8
  %15 = alloca [3 x i64], align 8
  %16 = alloca [3 x i64], align 8
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  tail call void @_ZN4Test4FillIfEEvPT_mS1_(ptr noundef %4, i64 noundef %0, float noundef 0x47EFFFFFE0000000)
  tail call void @_ZN4Test4FillIfEEvPT_mS1_(ptr noundef %5, i64 noundef %0, float noundef 0xC7EFFFFFE0000000)
  %19 = tail call noundef i64 @_ZNK4Test6TensorIfE5CountEv(ptr noundef nonnull align 8 dereferenceable(64) %3)
  %20 = icmp eq i64 %19, 4
  br i1 %20, label %.preheader174, label %79

.preheader174:                                    ; preds = %8
  %21 = tail call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 0)
  %.not216 = icmp eq i64 %21, 0
  br i1 %.not216, label %.loopexit175, label %.lr.ph207

.lr.ph207:                                        ; preds = %.preheader174
  %22 = getelementptr inbounds i8, ptr %11, i64 8
  %23 = getelementptr inbounds i8, ptr %11, i64 16
  %24 = getelementptr inbounds i8, ptr %11, i64 24
  %25 = getelementptr inbounds i8, ptr %12, i64 8
  %26 = getelementptr inbounds i8, ptr %12, i64 16
  %27 = getelementptr inbounds i8, ptr %12, i64 24
  %28 = getelementptr inbounds i8, ptr %9, i64 8
  %29 = getelementptr inbounds i8, ptr %9, i64 16
  %30 = getelementptr inbounds i8, ptr %9, i64 24
  %31 = getelementptr inbounds i8, ptr %10, i64 8
  %32 = getelementptr inbounds i8, ptr %10, i64 16
  %33 = getelementptr inbounds i8, ptr %10, i64 24
  br label %34

34:                                               ; preds = %.lr.ph207, %.loopexit171
  %.0205 = phi i64 [ 0, %.lr.ph207 ], [ %76, %.loopexit171 ]
  %35 = call noundef i32 @_ZNK4Test6TensorIfE6FormatEv(ptr noundef nonnull align 8 dereferenceable(64) %3)
  %36 = icmp eq i32 %35, 1
  %37 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 1)
  %.not220 = icmp eq i64 %37, 0
  br i1 %36, label %.preheader170, label %.preheader172

.preheader172:                                    ; preds = %34
  br i1 %.not220, label %.loopexit171, label %.preheader169

.preheader170:                                    ; preds = %34
  br i1 %.not220, label %.loopexit171, label %.preheader168

.preheader168:                                    ; preds = %.preheader170, %._crit_edge203
  %.0153204 = phi i64 [ %40, %._crit_edge203 ], [ 0, %.preheader170 ]
  %38 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 2)
  %.not221 = icmp eq i64 %38, 0
  br i1 %.not221, label %._crit_edge203, label %.preheader166

.preheader166:                                    ; preds = %.preheader168, %._crit_edge201
  %.0154202 = phi i64 [ %43, %._crit_edge201 ], [ 0, %.preheader168 ]
  %39 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 3)
  %.not222 = icmp eq i64 %39, 0
  br i1 %.not222, label %._crit_edge201, label %.lr.ph200

._crit_edge203:                                   ; preds = %._crit_edge201, %.preheader168
  %40 = add nuw i64 %.0153204, 1
  %41 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 1)
  %42 = icmp ult i64 %40, %41
  br i1 %42, label %.preheader168, label %.loopexit171, !llvm.loop !5

._crit_edge201:                                   ; preds = %.lr.ph200, %.preheader166
  %43 = add nuw i64 %.0154202, 1
  %44 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 2)
  %45 = icmp ult i64 %43, %44
  br i1 %45, label %.preheader166, label %._crit_edge203, !llvm.loop !7

.lr.ph200:                                        ; preds = %.preheader166, %.lr.ph200
  %.0155199 = phi i64 [ %54, %.lr.ph200 ], [ 0, %.preheader166 ]
  %46 = getelementptr inbounds float, ptr %4, i64 %.0155199
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  store i64 %.0205, ptr %9, align 8, !tbaa !8
  store i64 %.0153204, ptr %28, align 8, !tbaa !8
  store i64 %.0154202, ptr %29, align 8, !tbaa !8
  store i64 %.0155199, ptr %30, align 8, !tbaa !8
  %47 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %3, ptr nonnull %9, i64 4)
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 4 dereferenceable(4) %47)
  %49 = load float, ptr %48, align 4, !tbaa !12
  store float %49, ptr %46, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  %50 = getelementptr inbounds float, ptr %5, i64 %.0155199
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  store i64 %.0205, ptr %10, align 8, !tbaa !8
  store i64 %.0153204, ptr %31, align 8, !tbaa !8
  store i64 %.0154202, ptr %32, align 8, !tbaa !8
  store i64 %.0155199, ptr %33, align 8, !tbaa !8
  %51 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %3, ptr nonnull %10, i64 4)
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %51)
  %53 = load float, ptr %52, align 4, !tbaa !12
  store float %53, ptr %50, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  %54 = add nuw i64 %.0155199, 1
  %55 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 3)
  %56 = icmp ult i64 %54, %55
  br i1 %56, label %.lr.ph200, label %._crit_edge201, !llvm.loop !14

.preheader169:                                    ; preds = %.preheader172, %._crit_edge197
  %.0156198 = phi i64 [ %61, %._crit_edge197 ], [ 0, %.preheader172 ]
  %57 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 2)
  %.not218 = icmp eq i64 %57, 0
  br i1 %.not218, label %._crit_edge197, label %.preheader167.lr.ph

.preheader167.lr.ph:                              ; preds = %.preheader169
  %58 = getelementptr inbounds float, ptr %4, i64 %.0156198
  %59 = getelementptr inbounds float, ptr %5, i64 %.0156198
  br label %.preheader167

.preheader167:                                    ; preds = %.preheader167.lr.ph, %._crit_edge195
  %.0157196 = phi i64 [ 0, %.preheader167.lr.ph ], [ %64, %._crit_edge195 ]
  %60 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 3)
  %.not219 = icmp eq i64 %60, 0
  br i1 %.not219, label %._crit_edge195, label %.lr.ph194

._crit_edge197:                                   ; preds = %._crit_edge195, %.preheader169
  %61 = add nuw i64 %.0156198, 1
  %62 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 1)
  %63 = icmp ult i64 %61, %62
  br i1 %63, label %.preheader169, label %.loopexit171, !llvm.loop !15

._crit_edge195:                                   ; preds = %.lr.ph194, %.preheader167
  %64 = add nuw i64 %.0157196, 1
  %65 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 2)
  %66 = icmp ult i64 %64, %65
  br i1 %66, label %.preheader167, label %._crit_edge197, !llvm.loop !16

.lr.ph194:                                        ; preds = %.preheader167, %.lr.ph194
  %.0158193 = phi i64 [ %73, %.lr.ph194 ], [ 0, %.preheader167 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  store i64 %.0205, ptr %11, align 8, !tbaa !8
  store i64 %.0156198, ptr %22, align 8, !tbaa !8
  store i64 %.0157196, ptr %23, align 8, !tbaa !8
  store i64 %.0158193, ptr %24, align 8, !tbaa !8
  %67 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %3, ptr nonnull %11, i64 4)
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %67)
  %69 = load float, ptr %68, align 4, !tbaa !12
  store float %69, ptr %58, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  store i64 %.0205, ptr %12, align 8, !tbaa !8
  store i64 %.0156198, ptr %25, align 8, !tbaa !8
  store i64 %.0157196, ptr %26, align 8, !tbaa !8
  store i64 %.0158193, ptr %27, align 8, !tbaa !8
  %70 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %3, ptr nonnull %12, i64 4)
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 4 dereferenceable(4) %70)
  %72 = load float, ptr %71, align 4, !tbaa !12
  store float %72, ptr %59, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  %73 = add nuw i64 %.0158193, 1
  %74 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 3)
  %75 = icmp ult i64 %73, %74
  br i1 %75, label %.lr.ph194, label %._crit_edge195, !llvm.loop !17

.loopexit171:                                     ; preds = %._crit_edge197, %._crit_edge203, %.preheader172, %.preheader170
  %76 = add nuw i64 %.0205, 1
  %77 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 0)
  %78 = icmp ult i64 %76, %77
  br i1 %78, label %34, label %.loopexit175, !llvm.loop !18

79:                                               ; preds = %8
  %80 = tail call noundef i64 @_ZNK4Test6TensorIfE5CountEv(ptr noundef nonnull align 8 dereferenceable(64) %3)
  %81 = icmp eq i64 %80, 3
  br i1 %81, label %.preheader182, label %129

.preheader182:                                    ; preds = %79
  %82 = tail call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 0)
  %.not211 = icmp eq i64 %82, 0
  br i1 %.not211, label %.loopexit175, label %.lr.ph192

.lr.ph192:                                        ; preds = %.preheader182
  %83 = getelementptr inbounds i8, ptr %15, i64 8
  %84 = getelementptr inbounds i8, ptr %15, i64 16
  %85 = getelementptr inbounds i8, ptr %16, i64 8
  %86 = getelementptr inbounds i8, ptr %16, i64 16
  %87 = getelementptr inbounds i8, ptr %13, i64 8
  %88 = getelementptr inbounds i8, ptr %13, i64 16
  %89 = getelementptr inbounds i8, ptr %14, i64 8
  %90 = getelementptr inbounds i8, ptr %14, i64 16
  br label %91

91:                                               ; preds = %.lr.ph192, %.loopexit179
  %.0159190 = phi i64 [ 0, %.lr.ph192 ], [ %126, %.loopexit179 ]
  %92 = call noundef i32 @_ZNK4Test6TensorIfE6FormatEv(ptr noundef nonnull align 8 dereferenceable(64) %3)
  %93 = icmp eq i32 %92, 1
  %94 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 1)
  %.not214 = icmp eq i64 %94, 0
  br i1 %93, label %.preheader178, label %.preheader180

.preheader180:                                    ; preds = %91
  br i1 %.not214, label %.loopexit179, label %.preheader177

.preheader178:                                    ; preds = %91
  br i1 %.not214, label %.loopexit179, label %.preheader176

.preheader176:                                    ; preds = %.preheader178, %._crit_edge188
  %.0162189 = phi i64 [ %96, %._crit_edge188 ], [ 0, %.preheader178 ]
  %95 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 2)
  %.not215 = icmp eq i64 %95, 0
  br i1 %.not215, label %._crit_edge188, label %.lr.ph187

._crit_edge188:                                   ; preds = %.lr.ph187, %.preheader176
  %96 = add nuw i64 %.0162189, 1
  %97 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 1)
  %98 = icmp ult i64 %96, %97
  br i1 %98, label %.preheader176, label %.loopexit179, !llvm.loop !19

.lr.ph187:                                        ; preds = %.preheader176, %.lr.ph187
  %.0163186 = phi i64 [ %107, %.lr.ph187 ], [ 0, %.preheader176 ]
  %99 = getelementptr inbounds float, ptr %4, i64 %.0163186
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  store i64 %.0159190, ptr %13, align 8, !tbaa !8
  store i64 %.0162189, ptr %87, align 8, !tbaa !8
  store i64 %.0163186, ptr %88, align 8, !tbaa !8
  %100 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %3, ptr nonnull %13, i64 3)
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %99, ptr noundef nonnull align 4 dereferenceable(4) %100)
  %102 = load float, ptr %101, align 4, !tbaa !12
  store float %102, ptr %99, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  %103 = getelementptr inbounds float, ptr %5, i64 %.0163186
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  store i64 %.0159190, ptr %14, align 8, !tbaa !8
  store i64 %.0162189, ptr %89, align 8, !tbaa !8
  store i64 %.0163186, ptr %90, align 8, !tbaa !8
  %104 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %3, ptr nonnull %14, i64 3)
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %103, ptr noundef nonnull align 4 dereferenceable(4) %104)
  %106 = load float, ptr %105, align 4, !tbaa !12
  store float %106, ptr %103, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  %107 = add nuw i64 %.0163186, 1
  %108 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 2)
  %109 = icmp ult i64 %107, %108
  br i1 %109, label %.lr.ph187, label %._crit_edge188, !llvm.loop !20

.preheader177:                                    ; preds = %.preheader180, %._crit_edge
  %.0161185 = phi i64 [ %113, %._crit_edge ], [ 0, %.preheader180 ]
  %110 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 2)
  %.not213 = icmp eq i64 %110, 0
  br i1 %.not213, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader177
  %111 = getelementptr inbounds float, ptr %4, i64 %.0161185
  %112 = getelementptr inbounds float, ptr %5, i64 %.0161185
  br label %116

._crit_edge:                                      ; preds = %116, %.preheader177
  %113 = add nuw i64 %.0161185, 1
  %114 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 1)
  %115 = icmp ult i64 %113, %114
  br i1 %115, label %.preheader177, label %.loopexit179, !llvm.loop !21

116:                                              ; preds = %.lr.ph, %116
  %.0160184 = phi i64 [ 0, %.lr.ph ], [ %123, %116 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  store i64 %.0159190, ptr %15, align 8, !tbaa !8
  store i64 %.0161185, ptr %83, align 8, !tbaa !8
  store i64 %.0160184, ptr %84, align 8, !tbaa !8
  %117 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %3, ptr nonnull %15, i64 3)
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %111, ptr noundef nonnull align 4 dereferenceable(4) %117)
  %119 = load float, ptr %118, align 4, !tbaa !12
  store float %119, ptr %111, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  store i64 %.0159190, ptr %16, align 8, !tbaa !8
  store i64 %.0161185, ptr %85, align 8, !tbaa !8
  store i64 %.0160184, ptr %86, align 8, !tbaa !8
  %120 = call noundef ptr @_ZNK4Test6TensorIfE4DataESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(64) %3, ptr nonnull %16, i64 3)
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %112, ptr noundef nonnull align 4 dereferenceable(4) %120)
  %122 = load float, ptr %121, align 4, !tbaa !12
  store float %122, ptr %112, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  %123 = add nuw i64 %.0160184, 1
  %124 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 2)
  %125 = icmp ult i64 %123, %124
  br i1 %125, label %116, label %._crit_edge, !llvm.loop !22

.loopexit179:                                     ; preds = %._crit_edge, %._crit_edge188, %.preheader180, %.preheader178
  %126 = add nuw i64 %.0159190, 1
  %127 = call noundef i64 @_ZNK4Test6TensorIfE4AxisEl(ptr noundef nonnull align 8 dereferenceable(64) %3, i64 noundef 0)
  %128 = icmp ult i64 %126, %127
  br i1 %128, label %91, label %.loopexit175, !llvm.loop !23

129:                                              ; preds = %79
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 149, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Test10SetDstStatEmi26SimdSynetCompatibilityTypeRKNS_6TensorIfEEPfS5_S5_S5_) #7
  unreachable

.loopexit175:                                     ; preds = %.loopexit179, %.loopexit171, %.preheader182, %.preheader174
  %130 = call noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef %2)
  %131 = call noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef %2)
  %132 = call noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef %2)
  %133 = call noundef zeroext i1 @_ZN4Simd4Base8NarrowedE26SimdSynetCompatibilityType(i32 noundef %2)
  %134 = icmp ne ptr %6, null
  %135 = icmp ne ptr %7, null
  %or.cond = and i1 %134, %135
  %136 = icmp ne i64 %0, 0
  %or.cond210 = and i1 %or.cond, %136
  br i1 %or.cond210, label %.lr.ph209, label %.loopexit

.lr.ph209:                                        ; preds = %.loopexit175
  %137 = select i1 %133, i32 90, i32 127
  %138 = select i1 %132, i32 -90, i32 -128
  %139 = select i1 %131, i32 180, i32 255
  %.not = icmp eq i32 %1, 0
  %140 = select i1 %.not, i32 %139, i32 %137
  %141 = uitofp nneg i32 %140 to float
  %142 = select i1 %.not, i32 0, i32 %138
  %143 = sitofp i32 %142 to float
  br label %144

144:                                              ; preds = %.lr.ph209, %144
  %.0152208 = phi i64 [ 0, %.lr.ph209 ], [ %157, %144 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  %145 = getelementptr inbounds float, ptr %4, i64 %.0152208
  %146 = load float, ptr %145, align 4, !tbaa !12
  %147 = call noundef float @_ZN4Simd3AbsIfEET_S1_(float noundef %146)
  store float %147, ptr %17, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  %148 = getelementptr inbounds float, ptr %5, i64 %.0152208
  %149 = load float, ptr %148, align 4, !tbaa !12
  %150 = call noundef float @_ZN4Simd3AbsIfEET_S1_(float noundef %149)
  store float %150, ptr %18, align 4, !tbaa !12
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %152 = load float, ptr %151, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  %153 = fdiv float %152, %141
  %154 = getelementptr inbounds float, ptr %6, i64 %.0152208
  store float %153, ptr %154, align 4, !tbaa !12
  %155 = fmul float %153, %143
  %156 = getelementptr inbounds float, ptr %7, i64 %.0152208
  store float %155, ptr %156, align 4, !tbaa !12
  %157 = add nuw i64 %.0152208, 1
  %exitcond.not = icmp eq i64 %157, %0
  br i1 %exitcond.not, label %.loopexit, label %144, !llvm.loop !24

.loopexit:                                        ; preds = %144, %.loopexit175
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Test4FillIfEEvPT_mS1_(ptr noundef, i64 noundef, float noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

attributes #0 = { alwaysinline 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 #1 = { noreturn 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { alwaysinline 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 = { 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 #6 = { nounwind }
attributes #7 = { noreturn 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !10, i64 0}
!14 = distinct !{!14, !6}
!15 = distinct !{!15, !6}
!16 = distinct !{!16, !6}
!17 = distinct !{!17, !6}
!18 = distinct !{!18, !6}
!19 = distinct !{!19, !6}
!20 = distinct !{!20, !6}
!21 = distinct !{!21, !6}
!22 = distinct !{!22, !6}
!23 = distinct !{!23, !6}
!24 = distinct !{!24, !6}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass