; LLVM IR from intel/qpl :: sources/core-sw/src/compression (deflate_histogram)

; 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.deflate_histogram_t = type { [286 x i32], [30 x i32], %struct.deflate_hash_table_t }
%struct.deflate_hash_table_t = type { ptr, ptr, i32, i32, i32, i32, i32 }

; 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: nounwind uwtable
define dso_local void @deflate_histogram_set_statistics(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %9

9:                                                ; preds = %24, %3
  %10 = load i32, ptr %7, align 4, !tbaa !9
  %11 = icmp ult i32 %10, 286
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  br label %27

13:                                               ; preds = %9
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = load i32, ptr %7, align 4, !tbaa !9
  %16 = zext i32 %15 to i64
  %17 = getelementptr inbounds i32, ptr %14, i64 %16
  %18 = load i32, ptr %17, align 4, !tbaa !9
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.deflate_histogram_t, ptr %19, i32 0, i32 0
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = zext i32 %21 to i64
  %23 = getelementptr inbounds [286 x i32], ptr %20, i64 0, i64 %22
  store i32 %18, ptr %23, align 4, !tbaa !9
  br label %24

24:                                               ; preds = %13
  %25 = load i32, ptr %7, align 4, !tbaa !9
  %26 = add i32 %25, 1
  store i32 %26, ptr %7, align 4, !tbaa !9
  br label %9, !llvm.loop !11

27:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %43, %27
  %29 = load i32, ptr %8, align 4, !tbaa !9
  %30 = icmp ult i32 %29, 30
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  br label %46

32:                                               ; preds = %28
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = load i32, ptr %8, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  %36 = getelementptr inbounds i32, ptr %33, i64 %35
  %37 = load i32, ptr %36, align 4, !tbaa !9
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.deflate_histogram_t, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %8, align 4, !tbaa !9
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds [30 x i32], ptr %39, i64 0, i64 %41
  store i32 %37, ptr %42, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %32
  %44 = load i32, ptr %8, align 4, !tbaa !9
  %45 = add i32 %44, 1
  store i32 %45, ptr %8, align 4, !tbaa !9
  br label %28, !llvm.loop !13

46:                                               ; preds = %31
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define dso_local void @deflate_histogram_set_statistics(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
vector.memcheck:
  %3 = ptrtoint ptr %0 to i64
  %4 = ptrtoint ptr %1 to i64
  %5 = sub i64 %3, %4
  %diff.check = icmp ult i64 %5, 32
  br i1 %diff.check, label %scalar.ph.prol.preheader, label %vector.body

scalar.ph.prol.preheader:                         ; preds = %vector.memcheck, %vector.body
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 280, %vector.body ]
  br label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.prol, %scalar.ph.prol.preheader
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.prol.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.prol.preheader ]
  %6 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv.prol
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = getelementptr inbounds [286 x i32], ptr %0, i64 0, i64 %indvars.iv.prol
  store i32 %7, ptr %8, align 4, !tbaa !5
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, 2
  br i1 %prol.iter.cmp.not, label %scalar.ph, label %scalar.ph.prol, !llvm.loop !9

vector.body:                                      ; preds = %vector.memcheck
  %9 = getelementptr inbounds i8, ptr %1, i64 16
  %wide.load = load <4 x i32>, ptr %1, align 4, !tbaa !5
  %wide.load19 = load <4 x i32>, ptr %9, align 4, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  store <4 x i32> %wide.load, ptr %0, align 4, !tbaa !5
  store <4 x i32> %wide.load19, ptr %10, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %1, i64 32
  %12 = getelementptr inbounds i8, ptr %1, i64 48
  %wide.load.1 = load <4 x i32>, ptr %11, align 4, !tbaa !5
  %wide.load19.1 = load <4 x i32>, ptr %12, align 4, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  %14 = getelementptr inbounds i8, ptr %0, i64 48
  store <4 x i32> %wide.load.1, ptr %13, align 4, !tbaa !5
  store <4 x i32> %wide.load19.1, ptr %14, align 4, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %1, i64 64
  %16 = getelementptr inbounds i8, ptr %1, i64 80
  %wide.load.2 = load <4 x i32>, ptr %15, align 4, !tbaa !5
  %wide.load19.2 = load <4 x i32>, ptr %16, align 4, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 64
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  store <4 x i32> %wide.load.2, ptr %17, align 4, !tbaa !5
  store <4 x i32> %wide.load19.2, ptr %18, align 4, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %1, i64 96
  %20 = getelementptr inbounds i8, ptr %1, i64 112
  %wide.load.3 = load <4 x i32>, ptr %19, align 4, !tbaa !5
  %wide.load19.3 = load <4 x i32>, ptr %20, align 4, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %0, i64 96
  %22 = getelementptr inbounds i8, ptr %0, i64 112
  store <4 x i32> %wide.load.3, ptr %21, align 4, !tbaa !5
  store <4 x i32> %wide.load19.3, ptr %22, align 4, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %1, i64 128
  %24 = getelementptr inbounds i8, ptr %1, i64 144
  %wide.load.4 = load <4 x i32>, ptr %23, align 4, !tbaa !5
  %wide.load19.4 = load <4 x i32>, ptr %24, align 4, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %0, i64 128
  %26 = getelementptr inbounds i8, ptr %0, i64 144
  store <4 x i32> %wide.load.4, ptr %25, align 4, !tbaa !5
  store <4 x i32> %wide.load19.4, ptr %26, align 4, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %1, i64 160
  %28 = getelementptr inbounds i8, ptr %1, i64 176
  %wide.load.5 = load <4 x i32>, ptr %27, align 4, !tbaa !5
  %wide.load19.5 = load <4 x i32>, ptr %28, align 4, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %0, i64 160
  %30 = getelementptr inbounds i8, ptr %0, i64 176
  store <4 x i32> %wide.load.5, ptr %29, align 4, !tbaa !5
  store <4 x i32> %wide.load19.5, ptr %30, align 4, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %1, i64 192
  %32 = getelementptr inbounds i8, ptr %1, i64 208
  %wide.load.6 = load <4 x i32>, ptr %31, align 4, !tbaa !5
  %wide.load19.6 = load <4 x i32>, ptr %32, align 4, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %0, i64 192
  %34 = getelementptr inbounds i8, ptr %0, i64 208
  store <4 x i32> %wide.load.6, ptr %33, align 4, !tbaa !5
  store <4 x i32> %wide.load19.6, ptr %34, align 4, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %1, i64 224
  %36 = getelementptr inbounds i8, ptr %1, i64 240
  %wide.load.7 = load <4 x i32>, ptr %35, align 4, !tbaa !5
  %wide.load19.7 = load <4 x i32>, ptr %36, align 4, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %0, i64 224
  %38 = getelementptr inbounds i8, ptr %0, i64 240
  store <4 x i32> %wide.load.7, ptr %37, align 4, !tbaa !5
  store <4 x i32> %wide.load19.7, ptr %38, align 4, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %1, i64 256
  %40 = getelementptr inbounds i8, ptr %1, i64 272
  %wide.load.8 = load <4 x i32>, ptr %39, align 4, !tbaa !5
  %wide.load19.8 = load <4 x i32>, ptr %40, align 4, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %0, i64 256
  %42 = getelementptr inbounds i8, ptr %0, i64 272
  store <4 x i32> %wide.load.8, ptr %41, align 4, !tbaa !5
  store <4 x i32> %wide.load19.8, ptr %42, align 4, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %1, i64 288
  %44 = getelementptr inbounds i8, ptr %1, i64 304
  %wide.load.9 = load <4 x i32>, ptr %43, align 4, !tbaa !5
  %wide.load19.9 = load <4 x i32>, ptr %44, align 4, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %0, i64 288
  %46 = getelementptr inbounds i8, ptr %0, i64 304
  store <4 x i32> %wide.load.9, ptr %45, align 4, !tbaa !5
  store <4 x i32> %wide.load19.9, ptr %46, align 4, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %1, i64 320
  %48 = getelementptr inbounds i8, ptr %1, i64 336
  %wide.load.10 = load <4 x i32>, ptr %47, align 4, !tbaa !5
  %wide.load19.10 = load <4 x i32>, ptr %48, align 4, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %0, i64 320
  %50 = getelementptr inbounds i8, ptr %0, i64 336
  store <4 x i32> %wide.load.10, ptr %49, align 4, !tbaa !5
  store <4 x i32> %wide.load19.10, ptr %50, align 4, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %1, i64 352
  %52 = getelementptr inbounds i8, ptr %1, i64 368
  %wide.load.11 = load <4 x i32>, ptr %51, align 4, !tbaa !5
  %wide.load19.11 = load <4 x i32>, ptr %52, align 4, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %0, i64 352
  %54 = getelementptr inbounds i8, ptr %0, i64 368
  store <4 x i32> %wide.load.11, ptr %53, align 4, !tbaa !5
  store <4 x i32> %wide.load19.11, ptr %54, align 4, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %1, i64 384
  %56 = getelementptr inbounds i8, ptr %1, i64 400
  %wide.load.12 = load <4 x i32>, ptr %55, align 4, !tbaa !5
  %wide.load19.12 = load <4 x i32>, ptr %56, align 4, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %0, i64 384
  %58 = getelementptr inbounds i8, ptr %0, i64 400
  store <4 x i32> %wide.load.12, ptr %57, align 4, !tbaa !5
  store <4 x i32> %wide.load19.12, ptr %58, align 4, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %1, i64 416
  %60 = getelementptr inbounds i8, ptr %1, i64 432
  %wide.load.13 = load <4 x i32>, ptr %59, align 4, !tbaa !5
  %wide.load19.13 = load <4 x i32>, ptr %60, align 4, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %0, i64 416
  %62 = getelementptr inbounds i8, ptr %0, i64 432
  store <4 x i32> %wide.load.13, ptr %61, align 4, !tbaa !5
  store <4 x i32> %wide.load19.13, ptr %62, align 4, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %1, i64 448
  %64 = getelementptr inbounds i8, ptr %1, i64 464
  %wide.load.14 = load <4 x i32>, ptr %63, align 4, !tbaa !5
  %wide.load19.14 = load <4 x i32>, ptr %64, align 4, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %0, i64 448
  %66 = getelementptr inbounds i8, ptr %0, i64 464
  store <4 x i32> %wide.load.14, ptr %65, align 4, !tbaa !5
  store <4 x i32> %wide.load19.14, ptr %66, align 4, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %1, i64 480
  %68 = getelementptr inbounds i8, ptr %1, i64 496
  %wide.load.15 = load <4 x i32>, ptr %67, align 4, !tbaa !5
  %wide.load19.15 = load <4 x i32>, ptr %68, align 4, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %0, i64 480
  %70 = getelementptr inbounds i8, ptr %0, i64 496
  store <4 x i32> %wide.load.15, ptr %69, align 4, !tbaa !5
  store <4 x i32> %wide.load19.15, ptr %70, align 4, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %1, i64 512
  %72 = getelementptr inbounds i8, ptr %1, i64 528
  %wide.load.16 = load <4 x i32>, ptr %71, align 4, !tbaa !5
  %wide.load19.16 = load <4 x i32>, ptr %72, align 4, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %0, i64 512
  %74 = getelementptr inbounds i8, ptr %0, i64 528
  store <4 x i32> %wide.load.16, ptr %73, align 4, !tbaa !5
  store <4 x i32> %wide.load19.16, ptr %74, align 4, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %1, i64 544
  %76 = getelementptr inbounds i8, ptr %1, i64 560
  %wide.load.17 = load <4 x i32>, ptr %75, align 4, !tbaa !5
  %wide.load19.17 = load <4 x i32>, ptr %76, align 4, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %0, i64 544
  %78 = getelementptr inbounds i8, ptr %0, i64 560
  store <4 x i32> %wide.load.17, ptr %77, align 4, !tbaa !5
  store <4 x i32> %wide.load19.17, ptr %78, align 4, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %1, i64 576
  %80 = getelementptr inbounds i8, ptr %1, i64 592
  %wide.load.18 = load <4 x i32>, ptr %79, align 4, !tbaa !5
  %wide.load19.18 = load <4 x i32>, ptr %80, align 4, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %0, i64 576
  %82 = getelementptr inbounds i8, ptr %0, i64 592
  store <4 x i32> %wide.load.18, ptr %81, align 4, !tbaa !5
  store <4 x i32> %wide.load19.18, ptr %82, align 4, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %1, i64 608
  %84 = getelementptr inbounds i8, ptr %1, i64 624
  %wide.load.19 = load <4 x i32>, ptr %83, align 4, !tbaa !5
  %wide.load19.19 = load <4 x i32>, ptr %84, align 4, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %0, i64 608
  %86 = getelementptr inbounds i8, ptr %0, i64 624
  store <4 x i32> %wide.load.19, ptr %85, align 4, !tbaa !5
  store <4 x i32> %wide.load19.19, ptr %86, align 4, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %1, i64 640
  %88 = getelementptr inbounds i8, ptr %1, i64 656
  %wide.load.20 = load <4 x i32>, ptr %87, align 4, !tbaa !5
  %wide.load19.20 = load <4 x i32>, ptr %88, align 4, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %0, i64 640
  %90 = getelementptr inbounds i8, ptr %0, i64 656
  store <4 x i32> %wide.load.20, ptr %89, align 4, !tbaa !5
  store <4 x i32> %wide.load19.20, ptr %90, align 4, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %1, i64 672
  %92 = getelementptr inbounds i8, ptr %1, i64 688
  %wide.load.21 = load <4 x i32>, ptr %91, align 4, !tbaa !5
  %wide.load19.21 = load <4 x i32>, ptr %92, align 4, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %0, i64 672
  %94 = getelementptr inbounds i8, ptr %0, i64 688
  store <4 x i32> %wide.load.21, ptr %93, align 4, !tbaa !5
  store <4 x i32> %wide.load19.21, ptr %94, align 4, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %1, i64 704
  %96 = getelementptr inbounds i8, ptr %1, i64 720
  %wide.load.22 = load <4 x i32>, ptr %95, align 4, !tbaa !5
  %wide.load19.22 = load <4 x i32>, ptr %96, align 4, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %0, i64 704
  %98 = getelementptr inbounds i8, ptr %0, i64 720
  store <4 x i32> %wide.load.22, ptr %97, align 4, !tbaa !5
  store <4 x i32> %wide.load19.22, ptr %98, align 4, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %1, i64 736
  %100 = getelementptr inbounds i8, ptr %1, i64 752
  %wide.load.23 = load <4 x i32>, ptr %99, align 4, !tbaa !5
  %wide.load19.23 = load <4 x i32>, ptr %100, align 4, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %0, i64 736
  %102 = getelementptr inbounds i8, ptr %0, i64 752
  store <4 x i32> %wide.load.23, ptr %101, align 4, !tbaa !5
  store <4 x i32> %wide.load19.23, ptr %102, align 4, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %1, i64 768
  %104 = getelementptr inbounds i8, ptr %1, i64 784
  %wide.load.24 = load <4 x i32>, ptr %103, align 4, !tbaa !5
  %wide.load19.24 = load <4 x i32>, ptr %104, align 4, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %0, i64 768
  %106 = getelementptr inbounds i8, ptr %0, i64 784
  store <4 x i32> %wide.load.24, ptr %105, align 4, !tbaa !5
  store <4 x i32> %wide.load19.24, ptr %106, align 4, !tbaa !5
  %107 = getelementptr inbounds i8, ptr %1, i64 800
  %108 = getelementptr inbounds i8, ptr %1, i64 816
  %wide.load.25 = load <4 x i32>, ptr %107, align 4, !tbaa !5
  %wide.load19.25 = load <4 x i32>, ptr %108, align 4, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %0, i64 800
  %110 = getelementptr inbounds i8, ptr %0, i64 816
  store <4 x i32> %wide.load.25, ptr %109, align 4, !tbaa !5
  store <4 x i32> %wide.load19.25, ptr %110, align 4, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %1, i64 832
  %112 = getelementptr inbounds i8, ptr %1, i64 848
  %wide.load.26 = load <4 x i32>, ptr %111, align 4, !tbaa !5
  %wide.load19.26 = load <4 x i32>, ptr %112, align 4, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %0, i64 832
  %114 = getelementptr inbounds i8, ptr %0, i64 848
  store <4 x i32> %wide.load.26, ptr %113, align 4, !tbaa !5
  store <4 x i32> %wide.load19.26, ptr %114, align 4, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %1, i64 864
  %116 = getelementptr inbounds i8, ptr %1, i64 880
  %wide.load.27 = load <4 x i32>, ptr %115, align 4, !tbaa !5
  %wide.load19.27 = load <4 x i32>, ptr %116, align 4, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %0, i64 864
  %118 = getelementptr inbounds i8, ptr %0, i64 880
  store <4 x i32> %wide.load.27, ptr %117, align 4, !tbaa !5
  store <4 x i32> %wide.load19.27, ptr %118, align 4, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %1, i64 896
  %120 = getelementptr inbounds i8, ptr %1, i64 912
  %wide.load.28 = load <4 x i32>, ptr %119, align 4, !tbaa !5
  %wide.load19.28 = load <4 x i32>, ptr %120, align 4, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %0, i64 896
  %122 = getelementptr inbounds i8, ptr %0, i64 912
  store <4 x i32> %wide.load.28, ptr %121, align 4, !tbaa !5
  store <4 x i32> %wide.load19.28, ptr %122, align 4, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %1, i64 928
  %124 = getelementptr inbounds i8, ptr %1, i64 944
  %wide.load.29 = load <4 x i32>, ptr %123, align 4, !tbaa !5
  %wide.load19.29 = load <4 x i32>, ptr %124, align 4, !tbaa !5
  %125 = getelementptr inbounds i8, ptr %0, i64 928
  %126 = getelementptr inbounds i8, ptr %0, i64 944
  store <4 x i32> %wide.load.29, ptr %125, align 4, !tbaa !5
  store <4 x i32> %wide.load19.29, ptr %126, align 4, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %1, i64 960
  %128 = getelementptr inbounds i8, ptr %1, i64 976
  %wide.load.30 = load <4 x i32>, ptr %127, align 4, !tbaa !5
  %wide.load19.30 = load <4 x i32>, ptr %128, align 4, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %0, i64 960
  %130 = getelementptr inbounds i8, ptr %0, i64 976
  store <4 x i32> %wide.load.30, ptr %129, align 4, !tbaa !5
  store <4 x i32> %wide.load19.30, ptr %130, align 4, !tbaa !5
  %131 = getelementptr inbounds i8, ptr %1, i64 992
  %132 = getelementptr inbounds i8, ptr %1, i64 1008
  %wide.load.31 = load <4 x i32>, ptr %131, align 4, !tbaa !5
  %wide.load19.31 = load <4 x i32>, ptr %132, align 4, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %0, i64 992
  %134 = getelementptr inbounds i8, ptr %0, i64 1008
  store <4 x i32> %wide.load.31, ptr %133, align 4, !tbaa !5
  store <4 x i32> %wide.load19.31, ptr %134, align 4, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %1, i64 1024
  %136 = getelementptr inbounds i8, ptr %1, i64 1040
  %wide.load.32 = load <4 x i32>, ptr %135, align 4, !tbaa !5
  %wide.load19.32 = load <4 x i32>, ptr %136, align 4, !tbaa !5
  %137 = getelementptr inbounds i8, ptr %0, i64 1024
  %138 = getelementptr inbounds i8, ptr %0, i64 1040
  store <4 x i32> %wide.load.32, ptr %137, align 4, !tbaa !5
  store <4 x i32> %wide.load19.32, ptr %138, align 4, !tbaa !5
  %139 = getelementptr inbounds i8, ptr %1, i64 1056
  %140 = getelementptr inbounds i8, ptr %1, i64 1072
  %wide.load.33 = load <4 x i32>, ptr %139, align 4, !tbaa !5
  %wide.load19.33 = load <4 x i32>, ptr %140, align 4, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %0, i64 1056
  %142 = getelementptr inbounds i8, ptr %0, i64 1072
  store <4 x i32> %wide.load.33, ptr %141, align 4, !tbaa !5
  store <4 x i32> %wide.load19.33, ptr %142, align 4, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %1, i64 1088
  %144 = getelementptr inbounds i8, ptr %1, i64 1104
  %wide.load.34 = load <4 x i32>, ptr %143, align 4, !tbaa !5
  %wide.load19.34 = load <4 x i32>, ptr %144, align 4, !tbaa !5
  %145 = getelementptr inbounds i8, ptr %0, i64 1088
  %146 = getelementptr inbounds i8, ptr %0, i64 1104
  store <4 x i32> %wide.load.34, ptr %145, align 4, !tbaa !5
  store <4 x i32> %wide.load19.34, ptr %146, align 4, !tbaa !5
  br label %scalar.ph.prol.preheader

.preheader:                                       ; preds = %scalar.ph
  %147 = getelementptr inbounds i8, ptr %0, i64 1144
  %148 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %148, ptr %147, align 4, !tbaa !5
  %149 = getelementptr inbounds i8, ptr %2, i64 4
  %150 = load i32, ptr %149, align 4, !tbaa !5
  %151 = getelementptr inbounds i8, ptr %0, i64 1148
  store i32 %150, ptr %151, align 4, !tbaa !5
  %152 = getelementptr inbounds i8, ptr %2, i64 8
  %153 = load i32, ptr %152, align 4, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %0, i64 1152
  store i32 %153, ptr %154, align 4, !tbaa !5
  %155 = getelementptr inbounds i8, ptr %2, i64 12
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %157 = getelementptr inbounds i8, ptr %0, i64 1156
  store i32 %156, ptr %157, align 4, !tbaa !5
  %158 = getelementptr inbounds i8, ptr %2, i64 16
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = getelementptr inbounds i8, ptr %0, i64 1160
  store i32 %159, ptr %160, align 4, !tbaa !5
  %161 = getelementptr inbounds i8, ptr %2, i64 20
  %162 = load i32, ptr %161, align 4, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %0, i64 1164
  store i32 %162, ptr %163, align 4, !tbaa !5
  %164 = getelementptr inbounds i8, ptr %2, i64 24
  %165 = load i32, ptr %164, align 4, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %0, i64 1168
  store i32 %165, ptr %166, align 4, !tbaa !5
  %167 = getelementptr inbounds i8, ptr %2, i64 28
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %0, i64 1172
  store i32 %168, ptr %169, align 4, !tbaa !5
  %170 = getelementptr inbounds i8, ptr %2, i64 32
  %171 = load i32, ptr %170, align 4, !tbaa !5
  %172 = getelementptr inbounds i8, ptr %0, i64 1176
  store i32 %171, ptr %172, align 4, !tbaa !5
  %173 = getelementptr inbounds i8, ptr %2, i64 36
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = getelementptr inbounds i8, ptr %0, i64 1180
  store i32 %174, ptr %175, align 4, !tbaa !5
  %176 = getelementptr inbounds i8, ptr %2, i64 40
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = getelementptr inbounds i8, ptr %0, i64 1184
  store i32 %177, ptr %178, align 4, !tbaa !5
  %179 = getelementptr inbounds i8, ptr %2, i64 44
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %0, i64 1188
  store i32 %180, ptr %181, align 4, !tbaa !5
  %182 = getelementptr inbounds i8, ptr %2, i64 48
  %183 = load i32, ptr %182, align 4, !tbaa !5
  %184 = getelementptr inbounds i8, ptr %0, i64 1192
  store i32 %183, ptr %184, align 4, !tbaa !5
  %185 = getelementptr inbounds i8, ptr %2, i64 52
  %186 = load i32, ptr %185, align 4, !tbaa !5
  %187 = getelementptr inbounds i8, ptr %0, i64 1196
  store i32 %186, ptr %187, align 4, !tbaa !5
  %188 = getelementptr inbounds i8, ptr %2, i64 56
  %189 = load i32, ptr %188, align 4, !tbaa !5
  %190 = getelementptr inbounds i8, ptr %0, i64 1200
  store i32 %189, ptr %190, align 4, !tbaa !5
  %191 = getelementptr inbounds i8, ptr %2, i64 60
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %193 = getelementptr inbounds i8, ptr %0, i64 1204
  store i32 %192, ptr %193, align 4, !tbaa !5
  %194 = getelementptr inbounds i8, ptr %2, i64 64
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = getelementptr inbounds i8, ptr %0, i64 1208
  store i32 %195, ptr %196, align 4, !tbaa !5
  %197 = getelementptr inbounds i8, ptr %2, i64 68
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = getelementptr inbounds i8, ptr %0, i64 1212
  store i32 %198, ptr %199, align 4, !tbaa !5
  %200 = getelementptr inbounds i8, ptr %2, i64 72
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %202 = getelementptr inbounds i8, ptr %0, i64 1216
  store i32 %201, ptr %202, align 4, !tbaa !5
  %203 = getelementptr inbounds i8, ptr %2, i64 76
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = getelementptr inbounds i8, ptr %0, i64 1220
  store i32 %204, ptr %205, align 4, !tbaa !5
  %206 = getelementptr inbounds i8, ptr %2, i64 80
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %208 = getelementptr inbounds i8, ptr %0, i64 1224
  store i32 %207, ptr %208, align 4, !tbaa !5
  %209 = getelementptr inbounds i8, ptr %2, i64 84
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = getelementptr inbounds i8, ptr %0, i64 1228
  store i32 %210, ptr %211, align 4, !tbaa !5
  %212 = getelementptr inbounds i8, ptr %2, i64 88
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = getelementptr inbounds i8, ptr %0, i64 1232
  store i32 %213, ptr %214, align 4, !tbaa !5
  %215 = getelementptr inbounds i8, ptr %2, i64 92
  %216 = load i32, ptr %215, align 4, !tbaa !5
  %217 = getelementptr inbounds i8, ptr %0, i64 1236
  store i32 %216, ptr %217, align 4, !tbaa !5
  %218 = getelementptr inbounds i8, ptr %2, i64 96
  %219 = load i32, ptr %218, align 4, !tbaa !5
  %220 = getelementptr inbounds i8, ptr %0, i64 1240
  store i32 %219, ptr %220, align 4, !tbaa !5
  %221 = getelementptr inbounds i8, ptr %2, i64 100
  %222 = load i32, ptr %221, align 4, !tbaa !5
  %223 = getelementptr inbounds i8, ptr %0, i64 1244
  store i32 %222, ptr %223, align 4, !tbaa !5
  %224 = getelementptr inbounds i8, ptr %2, i64 104
  %225 = load i32, ptr %224, align 4, !tbaa !5
  %226 = getelementptr inbounds i8, ptr %0, i64 1248
  store i32 %225, ptr %226, align 4, !tbaa !5
  %227 = getelementptr inbounds i8, ptr %2, i64 108
  %228 = load i32, ptr %227, align 4, !tbaa !5
  %229 = getelementptr inbounds i8, ptr %0, i64 1252
  store i32 %228, ptr %229, align 4, !tbaa !5
  %230 = getelementptr inbounds i8, ptr %2, i64 112
  %231 = load i32, ptr %230, align 4, !tbaa !5
  %232 = getelementptr inbounds i8, ptr %0, i64 1256
  store i32 %231, ptr %232, align 4, !tbaa !5
  %233 = getelementptr inbounds i8, ptr %2, i64 116
  %234 = load i32, ptr %233, align 4, !tbaa !5
  %235 = getelementptr inbounds i8, ptr %0, i64 1260
  store i32 %234, ptr %235, align 4, !tbaa !5
  ret void

scalar.ph:                                        ; preds = %scalar.ph.prol, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %236 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv
  %237 = load i32, ptr %236, align 4, !tbaa !5
  %238 = getelementptr inbounds [286 x i32], ptr %0, i64 0, i64 %indvars.iv
  store i32 %237, ptr %238, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %239 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv.next
  %240 = load i32, ptr %239, align 4, !tbaa !5
  %241 = getelementptr inbounds [286 x i32], ptr %0, i64 0, i64 %indvars.iv.next
  store i32 %240, ptr %241, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %242 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv.next.1
  %243 = load i32, ptr %242, align 4, !tbaa !5
  %244 = getelementptr inbounds [286 x i32], ptr %0, i64 0, i64 %indvars.iv.next.1
  store i32 %243, ptr %244, align 4, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %245 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv.next.2
  %246 = load i32, ptr %245, align 4, !tbaa !5
  %247 = getelementptr inbounds [286 x i32], ptr %0, i64 0, i64 %indvars.iv.next.2
  store i32 %246, ptr %247, align 4, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, 286
  br i1 %exitcond.not.3, label %.preheader, label %scalar.ph, !llvm.loop !11
}

attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) 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" }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.unroll.disable"}
!11 = distinct !{!11, !12, !13}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass