; LLVM IR from ermig1979/Simd :: src/Test/TestRandom.ll (ZN4Test11FillRandom2ERN4Simd4ViewINS0_9AllocatorEEEhhh)

; 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.Simd::View" = type <{ i64, i64, i64, i32, [4 x i8], ptr, i8, [7 x i8] }>
%"struct.Simd::Point" = type { i64, i64 }

@.str.1 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [69 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test11FillRandom2ERN4Simd4ViewINS0_9AllocatorEEEhhh = external hidden unnamed_addr constant [58 x i8], align 1

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4Test6RandomEi(i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Test11FillRandom2ERN4Simd4ViewINS0_9AllocatorEEEhhh(ptr noundef nonnull align 8 dereferenceable(41) %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #3 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %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 i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %"struct.Simd::View", align 8
  %34 = alloca %"struct.Simd::Point", align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i8 %1, ptr %6, align 1, !tbaa !9
  store i8 %2, ptr %7, align 1, !tbaa !9
  store i8 %3, ptr %8, align 1, !tbaa !9
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.Simd::View", ptr %37, i32 0, i32 5
  %39 = load ptr, ptr %38, align 8, !tbaa !10
  %40 = icmp ne ptr %39, null
  br i1 %40, label %41, label %56

41:                                               ; preds = %4
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.Simd::View", ptr %42, i32 0, i32 1
  %44 = load i64, ptr %43, align 8, !tbaa !15
  %45 = icmp ne i64 %44, 0
  br i1 %45, label %46, label %56

46:                                               ; preds = %41
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.Simd::View", ptr %47, i32 0, i32 0
  %49 = load i64, ptr %48, align 8, !tbaa !16
  %50 = icmp ne i64 %49, 0
  br i1 %50, label %51, label %56

51:                                               ; preds = %46
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.Simd::View", ptr %52, i32 0, i32 3
  %54 = load i32, ptr %53, align 8, !tbaa !17
  %55 = icmp eq i32 %54, 1
  br label %56

56:                                               ; preds = %51, %46, %41, %4
  %57 = phi i1 [ false, %46 ], [ false, %41 ], [ false, %4 ], [ %55, %51 ]
  br i1 %57, label %58, label %59

58:                                               ; preds = %56
  br label %61

59:                                               ; preds = %56
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 231, ptr noundef @__PRETTY_FUNCTION__._ZN4Test11FillRandom2ERN4Simd4ViewINS0_9AllocatorEEEhhh) #6
  unreachable

60:                                               ; No predecessors!
  br label %61

61:                                               ; preds = %60, %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store i64 0, ptr %9, align 8, !tbaa !18
  br label %62

62:                                               ; preds = %237, %61
  %63 = load i64, ptr %9, align 8, !tbaa !18
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.Simd::View", ptr %64, i32 0, i32 1
  %66 = load i64, ptr %65, align 8, !tbaa !15
  %67 = icmp ult i64 %63, %66
  br i1 %67, label %69, label %68

68:                                               ; preds = %62
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %240

69:                                               ; preds = %62
  %70 = load i64, ptr %9, align 8, !tbaa !18
  %71 = and i64 %70, 1
  %72 = icmp ne i64 %71, 0
  br i1 %72, label %73, label %157

73:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.Simd::View", ptr %74, i32 0, i32 0
  %76 = load i64, ptr %75, align 8, !tbaa !16
  %77 = sub i64 %76, 1
  store i64 %77, ptr %11, align 8, !tbaa !18
  br label %78

78:                                               ; preds = %153, %73
  %79 = load i64, ptr %11, align 8, !tbaa !18
  %80 = icmp sge i64 %79, 0
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %156

82:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %83 = load i8, ptr %6, align 1, !tbaa !9
  %84 = zext i8 %83 to i32
  store i32 %84, ptr %12, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %85 = load i8, ptr %7, align 1, !tbaa !9
  %86 = zext i8 %85 to i32
  store i32 %86, ptr %13, align 4, !tbaa !19
  %87 = load i64, ptr %9, align 8, !tbaa !18
  %88 = icmp ne i64 %87, 0
  br i1 %88, label %89, label %109

89:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load i64, ptr %11, align 8, !tbaa !18
  %92 = load i64, ptr %9, align 8, !tbaa !18
  %93 = sub i64 %92, 1
  %94 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %90, i64 noundef %91, i64 noundef %93)
  %95 = load i8, ptr %94, align 1, !tbaa !9
  %96 = zext i8 %95 to i32
  store i32 %96, ptr %14, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %97 = load i32, ptr %14, align 4, !tbaa !19
  %98 = load i8, ptr %8, align 1, !tbaa !9
  %99 = zext i8 %98 to i32
  %100 = sub nsw i32 %97, %99
  store i32 %100, ptr %15, align 4, !tbaa !19
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %102 = load i32, ptr %101, align 4, !tbaa !19
  store i32 %102, ptr %12, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %103 = load i32, ptr %14, align 4, !tbaa !19
  %104 = load i8, ptr %8, align 1, !tbaa !9
  %105 = zext i8 %104 to i32
  %106 = add nsw i32 %103, %105
  store i32 %106, ptr %16, align 4, !tbaa !19
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %108 = load i32, ptr %107, align 4, !tbaa !19
  store i32 %108, ptr %13, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %109

109:                                              ; preds = %89, %82
  %110 = load i64, ptr %11, align 8, !tbaa !18
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.Simd::View", ptr %111, i32 0, i32 0
  %113 = load i64, ptr %112, align 8, !tbaa !16
  %114 = sub i64 %113, 1
  %115 = icmp ne i64 %110, %114
  br i1 %115, label %116, label %138

116:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = load i64, ptr %11, align 8, !tbaa !18
  %119 = add nsw i64 %118, 1
  %120 = load i64, ptr %9, align 8, !tbaa !18
  %121 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %117, i64 noundef %119, i64 noundef %120)
  %122 = load i8, ptr %121, align 1, !tbaa !9
  %123 = zext i8 %122 to i32
  store i32 %123, ptr %17, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %124 = load i32, ptr %17, align 4, !tbaa !19
  %125 = load i8, ptr %8, align 1, !tbaa !9
  %126 = zext i8 %125 to i32
  %127 = sdiv i32 %126, 2
  %128 = sub nsw i32 %124, %127
  store i32 %128, ptr %18, align 4, !tbaa !19
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %130 = load i32, ptr %129, align 4, !tbaa !19
  store i32 %130, ptr %12, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %131 = load i32, ptr %17, align 4, !tbaa !19
  %132 = load i8, ptr %8, align 1, !tbaa !9
  %133 = zext i8 %132 to i32
  %134 = sdiv i32 %133, 2
  %135 = add nsw i32 %131, %134
  store i32 %135, ptr %19, align 4, !tbaa !19
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %137 = load i32, ptr %136, align 4, !tbaa !19
  store i32 %137, ptr %13, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %138

138:                                              ; preds = %116, %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %139 = load i32, ptr %13, align 4, !tbaa !19
  %140 = load i32, ptr %12, align 4, !tbaa !19
  %141 = sub nsw i32 %139, %140
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %20, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %143 = load i32, ptr %12, align 4, !tbaa !19
  %144 = load i32, ptr %20, align 4, !tbaa !19
  %145 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %144)
  %146 = add nsw i32 %143, %145
  store i32 %146, ptr %21, align 4, !tbaa !19
  %147 = load i32, ptr %21, align 4, !tbaa !19
  %148 = trunc i32 %147 to i8
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = load i64, ptr %11, align 8, !tbaa !18
  %151 = load i64, ptr %9, align 8, !tbaa !18
  %152 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %149, i64 noundef %150, i64 noundef %151)
  store i8 %148, ptr %152, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %153

153:                                              ; preds = %138
  %154 = load i64, ptr %11, align 8, !tbaa !18
  %155 = add nsw i64 %154, -1
  store i64 %155, ptr %11, align 8, !tbaa !18
  br label %78, !llvm.loop !21

156:                                              ; preds = %81
  br label %236

157:                                              ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  store i64 0, ptr %22, align 8, !tbaa !18
  br label %158

158:                                              ; preds = %232, %157
  %159 = load i64, ptr %22, align 8, !tbaa !18
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.Simd::View", ptr %160, i32 0, i32 0
  %162 = load i64, ptr %161, align 8, !tbaa !16
  %163 = icmp ult i64 %159, %162
  br i1 %163, label %165, label %164

164:                                              ; preds = %158
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %235

165:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %166 = load i8, ptr %6, align 1, !tbaa !9
  %167 = zext i8 %166 to i32
  store i32 %167, ptr %23, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %168 = load i8, ptr %7, align 1, !tbaa !9
  %169 = zext i8 %168 to i32
  store i32 %169, ptr %24, align 4, !tbaa !19
  %170 = load i64, ptr %9, align 8, !tbaa !18
  %171 = icmp ne i64 %170, 0
  br i1 %171, label %172, label %192

172:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = load i64, ptr %22, align 8, !tbaa !18
  %175 = load i64, ptr %9, align 8, !tbaa !18
  %176 = sub i64 %175, 1
  %177 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %173, i64 noundef %174, i64 noundef %176)
  %178 = load i8, ptr %177, align 1, !tbaa !9
  %179 = zext i8 %178 to i32
  store i32 %179, ptr %25, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %180 = load i32, ptr %25, align 4, !tbaa !19
  %181 = load i8, ptr %8, align 1, !tbaa !9
  %182 = zext i8 %181 to i32
  %183 = sub nsw i32 %180, %182
  store i32 %183, ptr %26, align 4, !tbaa !19
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %23)
  %185 = load i32, ptr %184, align 4, !tbaa !19
  store i32 %185, ptr %23, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %186 = load i32, ptr %25, align 4, !tbaa !19
  %187 = load i8, ptr %8, align 1, !tbaa !9
  %188 = zext i8 %187 to i32
  %189 = add nsw i32 %186, %188
  store i32 %189, ptr %27, align 4, !tbaa !19
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %191 = load i32, ptr %190, align 4, !tbaa !19
  store i32 %191, ptr %24, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %192

192:                                              ; preds = %172, %165
  %193 = load i64, ptr %22, align 8, !tbaa !18
  %194 = icmp ne i64 %193, 0
  br i1 %194, label %195, label %217

195:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %196 = load ptr, ptr %5, align 8, !tbaa !5
  %197 = load i64, ptr %22, align 8, !tbaa !18
  %198 = sub i64 %197, 1
  %199 = load i64, ptr %9, align 8, !tbaa !18
  %200 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %196, i64 noundef %198, i64 noundef %199)
  %201 = load i8, ptr %200, align 1, !tbaa !9
  %202 = zext i8 %201 to i32
  store i32 %202, ptr %28, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %203 = load i32, ptr %28, align 4, !tbaa !19
  %204 = load i8, ptr %8, align 1, !tbaa !9
  %205 = zext i8 %204 to i32
  %206 = sdiv i32 %205, 2
  %207 = sub nsw i32 %203, %206
  store i32 %207, ptr %29, align 4, !tbaa !19
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %23)
  %209 = load i32, ptr %208, align 4, !tbaa !19
  store i32 %209, ptr %23, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %210 = load i32, ptr %28, align 4, !tbaa !19
  %211 = load i8, ptr %8, align 1, !tbaa !9
  %212 = zext i8 %211 to i32
  %213 = sdiv i32 %212, 2
  %214 = add nsw i32 %210, %213
  store i32 %214, ptr %30, align 4, !tbaa !19
  %215 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %216 = load i32, ptr %215, align 4, !tbaa !19
  store i32 %216, ptr %24, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %217

217:                                              ; preds = %195, %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %218 = load i32, ptr %24, align 4, !tbaa !19
  %219 = load i32, ptr %23, align 4, !tbaa !19
  %220 = sub nsw i32 %218, %219
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %31, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  %222 = load i32, ptr %23, align 4, !tbaa !19
  %223 = load i32, ptr %31, align 4, !tbaa !19
  %224 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %223)
  %225 = add nsw i32 %222, %224
  store i32 %225, ptr %32, align 4, !tbaa !19
  %226 = load i32, ptr %32, align 4, !tbaa !19
  %227 = trunc i32 %226 to i8
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = load i64, ptr %22, align 8, !tbaa !18
  %230 = load i64, ptr %9, align 8, !tbaa !18
  %231 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %228, i64 noundef %229, i64 noundef %230)
  store i8 %227, ptr %231, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %232

232:                                              ; preds = %217
  %233 = load i64, ptr %22, align 8, !tbaa !18
  %234 = add i64 %233, 1
  store i64 %234, ptr %22, align 8, !tbaa !18
  br label %158, !llvm.loop !23

235:                                              ; preds = %164
  br label %236

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

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

240:                                              ; preds = %68
  call void @llvm.lifetime.start.p0(i64 48, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #7
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind writable sret(%"struct.Simd::Point") align 8 %34, ptr noundef nonnull align 8 dereferenceable(41) %241)
  invoke void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41) %33, ptr noundef nonnull align 8 dereferenceable(16) %34, i32 noundef 1)
          to label %242 unwind label %247

242:                                              ; preds = %240
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  %243 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN4Simd15GaussianBlur3x3INS_9AllocatorEEEvRKNS_4ViewIT_EERS4_(ptr noundef nonnull align 8 dereferenceable(41) %243, ptr noundef nonnull align 8 dereferenceable(41) %33)
          to label %244 unwind label %251

244:                                              ; preds = %242
  %245 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN4Simd4ViewINS_9AllocatorEE4SwapERS2_(ptr noundef nonnull align 8 dereferenceable(41) %245, ptr noundef nonnull align 8 dereferenceable(41) %33)
          to label %246 unwind label %251

246:                                              ; preds = %244
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %33) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #7
  ret void

247:                                              ; preds = %240
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %35, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %36, align 4
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  br label %255

251:                                              ; preds = %244, %242
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %35, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %36, align 4
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %33) #7
  br label %255

255:                                              ; preds = %251, %247
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #7
  br label %256

256:                                              ; preds = %255
  %257 = load ptr, ptr %35, align 8
  %258 = load i32, ptr %36, align 4
  %259 = insertvalue { ptr, i32 } poison, ptr %257, 0
  %260 = insertvalue { ptr, i32 } %259, i32 %258, 1
  resume { ptr, i32 } %260
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef, i64 noundef) #2 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind noalias writable sret(%"struct.Simd::Point") align 8, ptr noundef nonnull align 8 dereferenceable(41)) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #5 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd15GaussianBlur3x3INS_9AllocatorEEEvRKNS_4ViewIT_EERS4_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41)) #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEE4SwapERS2_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41)) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { 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 = { 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 #5 = { 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 #6 = { noreturn nounwind }
attributes #7 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 32}
!11 = !{!"_ZTSN4Simd4ViewINS_9AllocatorEEE", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !6, i64 32, !14, i64 40}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN4Simd4ViewINS_9AllocatorEE6FormatE", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!11, !12, i64 8}
!16 = !{!11, !12, i64 0}
!17 = !{!11, !13, i64 24}
!18 = !{!12, !12, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}


; 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.Simd::View" = type <{ i64, i64, i64, i32, [4 x i8], ptr, i8, [7 x i8] }>
%"struct.Simd::Point" = type { i64, i64 }

@.str.1 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [69 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test11FillRandom2ERN4Simd4ViewINS0_9AllocatorEEEhhh = external hidden unnamed_addr constant [58 x i8], align 1

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4Test6RandomEi(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Test11FillRandom2ERN4Simd4ViewINS0_9AllocatorEEEhhh(ptr noundef nonnull align 8 dereferenceable(41) %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"struct.Simd::View", align 8
  %18 = alloca %"struct.Simd::Point", align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 32
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %.not = icmp eq ptr %20, null
  br i1 %.not, label %.critedge, label %21

21:                                               ; preds = %4
  %22 = getelementptr inbounds i8, ptr %0, i64 8
  %23 = load i64, ptr %22, align 8, !tbaa !13
  %.not69 = icmp ne i64 %23, 0
  %24 = load i64, ptr %0, align 8
  %.not70 = icmp ne i64 %24, 0
  %or.cond.not80 = select i1 %.not69, i1 %.not70, i1 false
  %25 = getelementptr inbounds i8, ptr %0, i64 24
  %26 = load i32, ptr %25, align 8
  %27 = icmp eq i32 %26, 1
  %or.cond79 = select i1 %or.cond.not80, i1 %27, i1 false
  br i1 %or.cond79, label %.lr.ph91, label %.critedge

.lr.ph91:                                         ; preds = %21
  %28 = zext i8 %1 to i32
  %29 = zext i8 %2 to i32
  %30 = zext i8 %3 to i32
  %31 = lshr i8 %3, 1
  %32 = zext nneg i8 %31 to i32
  br label %33

.critedge:                                        ; preds = %21, %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 231, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Test11FillRandom2ERN4Simd4ViewINS0_9AllocatorEEEhhh) #6
  unreachable

._crit_edge:                                      ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #7
  call void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::Point") align 8 %18, ptr noundef nonnull align 8 dereferenceable(41) %0)
  invoke void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41) %17, ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef 1)
          to label %124 unwind label %126

33:                                               ; preds = %.lr.ph91, %.loopexit
  %.06689 = phi i64 [ 0, %.lr.ph91 ], [ %121, %.loopexit ]
  %34 = and i64 %.06689, 1
  %.not72 = icmp eq i64 %34, 0
  %35 = load i64, ptr %0, align 8, !tbaa !14
  br i1 %.not72, label %.preheader, label %56

.preheader:                                       ; preds = %33
  %.not93 = icmp eq i64 %35, 0
  br i1 %.not93, label %.loopexit, label %.lr.ph88

.lr.ph88:                                         ; preds = %.preheader
  %.not73 = icmp eq i64 %.06689, 0
  %36 = add i64 %.06689, -1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 %28, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  store i32 %29, ptr %12, align 4, !tbaa !15
  br i1 %.not73, label %._crit_edge96, label %37

37:                                               ; preds = %.lr.ph88
  %38 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef 0, i64 noundef %36)
  %39 = load i8, ptr %38, align 1, !tbaa !17
  %40 = zext i8 %39 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %41 = sub nsw i32 %40, %30
  store i32 %41, ptr %13, align 4, !tbaa !15
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %43 = load i32, ptr %42, align 4, !tbaa !15
  store i32 %43, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  %44 = add nuw nsw i32 %40, %30
  store i32 %44, ptr %14, align 4, !tbaa !15
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %46 = load i32, ptr %45, align 4, !tbaa !15
  store i32 %46, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  br label %._crit_edge96

._crit_edge96:                                    ; preds = %37, %.lr.ph88
  %47 = phi i32 [ %46, %37 ], [ %29, %.lr.ph88 ]
  %.pre = load i32, ptr %11, align 4, !tbaa !15
  %48 = add i32 %47, 1
  %49 = sub i32 %48, %.pre
  %50 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %49)
  %51 = add nsw i32 %50, %.pre
  %52 = trunc i32 %51 to i8
  %53 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef 0, i64 noundef %.06689)
  store i8 %52, ptr %53, align 1, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %54 = load i64, ptr %0, align 8, !tbaa !14
  %55 = icmp ugt i64 %54, 1
  br i1 %55, label %.peel.next, label %.loopexit

56:                                               ; preds = %33
  %.06784 = add i64 %35, -1
  %57 = icmp sgt i64 %.06784, -1
  br i1 %57, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %56
  %58 = add nsw i64 %.06689, -1
  br label %59

59:                                               ; preds = %.lr.ph, %80
  %.06786 = phi i64 [ %.06784, %.lr.ph ], [ %.067, %80 ]
  %.067.in85 = phi i64 [ %35, %.lr.ph ], [ %.06786, %80 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store i32 %28, ptr %5, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 %29, ptr %6, align 4, !tbaa !15
  %60 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %.06786, i64 noundef %58)
  %61 = load i8, ptr %60, align 1, !tbaa !17
  %62 = zext i8 %61 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %63 = sub nsw i32 %62, %30
  store i32 %63, ptr %7, align 4, !tbaa !15
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %65 = load i32, ptr %64, align 4, !tbaa !15
  store i32 %65, ptr %5, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  %66 = add nuw nsw i32 %62, %30
  store i32 %66, ptr %8, align 4, !tbaa !15
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %68 = load i32, ptr %67, align 4, !tbaa !15
  store i32 %68, ptr %6, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  %69 = load i64, ptr %0, align 8, !tbaa !14
  %.not76 = icmp eq i64 %.067.in85, %69
  br i1 %.not76, label %80, label %70

70:                                               ; preds = %59
  %71 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %.067.in85, i64 noundef %.06689)
  %72 = load i8, ptr %71, align 1, !tbaa !17
  %73 = zext i8 %72 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  %74 = sub nsw i32 %73, %32
  store i32 %74, ptr %9, align 4, !tbaa !15
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %76 = load i32, ptr %75, align 4, !tbaa !15
  store i32 %76, ptr %5, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %77 = add nuw nsw i32 %73, %32
  store i32 %77, ptr %10, align 4, !tbaa !15
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %79 = load i32, ptr %78, align 4, !tbaa !15
  store i32 %79, ptr %6, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %80

80:                                               ; preds = %70, %59
  %81 = phi i32 [ %79, %70 ], [ %68, %59 ]
  %82 = load i32, ptr %5, align 4, !tbaa !15
  %83 = add i32 %81, 1
  %84 = sub i32 %83, %82
  %85 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %84)
  %86 = add nsw i32 %85, %82
  %87 = trunc i32 %86 to i8
  %88 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %.06786, i64 noundef %.06689)
  store i8 %87, ptr %88, align 1, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  %.067 = add nsw i64 %.06786, -1
  %89 = icmp sgt i64 %.06786, 0
  br i1 %89, label %59, label %.loopexit, !llvm.loop !18

.peel.next:                                       ; preds = %._crit_edge96, %100
  %.06887 = phi i64 [ %118, %100 ], [ 1, %._crit_edge96 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 %28, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  store i32 %29, ptr %12, align 4, !tbaa !15
  br i1 %.not73, label %100, label %90

90:                                               ; preds = %.peel.next
  %91 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %.06887, i64 noundef %36)
  %92 = load i8, ptr %91, align 1, !tbaa !17
  %93 = zext i8 %92 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %94 = sub nsw i32 %93, %30
  store i32 %94, ptr %13, align 4, !tbaa !15
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %96 = load i32, ptr %95, align 4, !tbaa !15
  store i32 %96, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  %97 = add nuw nsw i32 %93, %30
  store i32 %97, ptr %14, align 4, !tbaa !15
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %99 = load i32, ptr %98, align 4, !tbaa !15
  store i32 %99, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  br label %100

100:                                              ; preds = %90, %.peel.next
  %101 = add i64 %.06887, -1
  %102 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %101, i64 noundef %.06689)
  %103 = load i8, ptr %102, align 1, !tbaa !17
  %104 = zext i8 %103 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  %105 = sub nsw i32 %104, %32
  store i32 %105, ptr %15, align 4, !tbaa !15
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %107 = load i32, ptr %106, align 4, !tbaa !15
  store i32 %107, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  %108 = add nuw nsw i32 %104, %32
  store i32 %108, ptr %16, align 4, !tbaa !15
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %110 = load i32, ptr %109, align 4, !tbaa !15
  store i32 %110, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  %111 = load i32, ptr %11, align 4, !tbaa !15
  %112 = add i32 %110, 1
  %113 = sub i32 %112, %111
  %114 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %113)
  %115 = add nsw i32 %114, %111
  %116 = trunc i32 %115 to i8
  %117 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %.06887, i64 noundef %.06689)
  store i8 %116, ptr %117, align 1, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %118 = add nuw i64 %.06887, 1
  %119 = load i64, ptr %0, align 8, !tbaa !14
  %120 = icmp ult i64 %118, %119
  br i1 %120, label %.peel.next, label %.loopexit, !llvm.loop !20

.loopexit:                                        ; preds = %80, %100, %._crit_edge96, %56, %.preheader
  %121 = add nuw i64 %.06689, 1
  %122 = load i64, ptr %22, align 8, !tbaa !13
  %123 = icmp ult i64 %121, %122
  br i1 %123, label %33, label %._crit_edge, !llvm.loop !22

124:                                              ; preds = %._crit_edge
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  invoke void @_ZN4Simd15GaussianBlur3x3INS_9AllocatorEEEvRKNS_4ViewIT_EERS4_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(41) %17)
          to label %125 unwind label %128

125:                                              ; preds = %124
  call void @_ZN4Simd4ViewINS_9AllocatorEE4SwapERS2_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(41) %17)
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %17) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #7
  ret void

126:                                              ; preds = %._crit_edge
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  br label %130

128:                                              ; preds = %124
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %17) #7
  br label %130

130:                                              ; preds = %128, %126
  %.pn = phi { ptr, i32 } [ %129, %128 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #7
  resume { ptr, i32 } %.pn
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIhEERT_mm(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef, i64 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind noalias writable sret(%"struct.Simd::Point") align 8, ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #5 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd15GaussianBlur3x3INS_9AllocatorEEEvRKNS_4ViewIT_EERS4_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEE4SwapERS2_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #2 align 2

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


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