; LLVM IR from ermig1979/Simd :: src/Simd (SimdBaseDetection)

; 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] }>

@.str.35 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [57 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Simd4Base23PrepareThroughColumn32iERKNS_4ViewINS_9AllocatorEEERS3_ = external hidden unnamed_addr constant [65 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: mustprogress uwtable
define dso_local void @_ZN4Simd4Base23PrepareThroughColumn32iERKNS_4ViewINS_9AllocatorEEERS3_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(41) %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = call noundef zeroext i1 @_ZN4Simd10CompatibleINS_9AllocatorES1_EEbRKNS_4ViewIT_EERKNS2_IT0_EE(ptr noundef nonnull align 8 dereferenceable(41) %12, ptr noundef nonnull align 8 dereferenceable(41) %13)
  br i1 %14, label %15, label %20

15:                                               ; preds = %2
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.Simd::View", ptr %16, i32 0, i32 3
  %18 = load i32, ptr %17, align 8, !tbaa !9
  %19 = icmp eq i32 %18, 6
  br label %20

20:                                               ; preds = %15, %2
  %21 = phi i1 [ false, %2 ], [ %19, %15 ]
  br i1 %21, label %22, label %23

22:                                               ; preds = %20
  br label %25

23:                                               ; preds = %20
  call void @__assert_fail(ptr noundef @.str.41, ptr noundef @.str.35, i32 noundef 655, ptr noundef @__PRETTY_FUNCTION__._ZN4Simd4Base23PrepareThroughColumn32iERKNS_4ViewINS_9AllocatorEEERS3_) #4
  unreachable

24:                                               ; No predecessors!
  br label %25

25:                                               ; preds = %24, %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store i64 0, ptr %5, align 8, !tbaa !14
  br label %26

26:                                               ; preds = %88, %25
  %27 = load i64, ptr %5, align 8, !tbaa !14
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.Simd::View", ptr %28, i32 0, i32 1
  %30 = load i64, ptr %29, align 8, !tbaa !15
  %31 = icmp ult i64 %27, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %26
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %91

33:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = load i64, ptr %5, align 8, !tbaa !14
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Simd4ViewINS_9AllocatorEE2AtIjEERKT_mm(ptr noundef nonnull align 8 dereferenceable(41) %34, i64 noundef 0, i64 noundef %35)
  store ptr %36, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = load i64, ptr %5, align 8, !tbaa !14
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIjEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %37, i64 noundef 0, i64 noundef %38)
  store ptr %39, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !14
  br label %40

40:                                               ; preds = %56, %33
  %41 = load i64, ptr %9, align 8, !tbaa !14
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.Simd::View", ptr %42, i32 0, i32 0
  %44 = load i64, ptr %43, align 8, !tbaa !16
  %45 = icmp ult i64 %41, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %40
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %59

47:                                               ; preds = %40
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = load i64, ptr %9, align 8, !tbaa !14
  %50 = getelementptr inbounds i32, ptr %48, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !17
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = load i64, ptr %9, align 8, !tbaa !14
  %54 = lshr i64 %53, 1
  %55 = getelementptr inbounds i32, ptr %52, i64 %54
  store i32 %51, ptr %55, align 4, !tbaa !17
  br label %56

56:                                               ; preds = %47
  %57 = load i64, ptr %9, align 8, !tbaa !14
  %58 = add i64 %57, 2
  store i64 %58, ptr %9, align 8, !tbaa !14
  br label %40, !llvm.loop !19

59:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.Simd::View", ptr %61, i32 0, i32 0
  %63 = load i64, ptr %62, align 8, !tbaa !16
  %64 = add i64 %63, 1
  %65 = lshr i64 %64, 1
  %66 = load i64, ptr %5, align 8, !tbaa !14
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIjEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %60, i64 noundef %65, i64 noundef %66)
  store ptr %67, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 1, ptr %11, align 8, !tbaa !14
  br label %68

68:                                               ; preds = %84, %59
  %69 = load i64, ptr %11, align 8, !tbaa !14
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.Simd::View", ptr %70, i32 0, i32 0
  %72 = load i64, ptr %71, align 8, !tbaa !16
  %73 = icmp ult i64 %69, %72
  br i1 %73, label %75, label %74

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

75:                                               ; preds = %68
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = load i64, ptr %11, align 8, !tbaa !14
  %78 = getelementptr inbounds i32, ptr %76, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !17
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = load i64, ptr %11, align 8, !tbaa !14
  %82 = lshr i64 %81, 1
  %83 = getelementptr inbounds i32, ptr %80, i64 %82
  store i32 %79, ptr %83, align 4, !tbaa !17
  br label %84

84:                                               ; preds = %75
  %85 = load i64, ptr %11, align 8, !tbaa !14
  %86 = add i64 %85, 2
  store i64 %86, ptr %11, align 8, !tbaa !14
  br label %68, !llvm.loop !21

87:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %88

88:                                               ; preds = %87
  %89 = load i64, ptr %5, align 8, !tbaa !14
  %90 = add i64 %89, 1
  store i64 %90, ptr %5, align 8, !tbaa !14
  br label %26, !llvm.loop !22

91:                                               ; preds = %32
  ret void
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4Simd10CompatibleINS_9AllocatorES1_EEbRKNS_4ViewIT_EERKNS2_IT0_EE(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41)) #3

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIjEERT_mm(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef, i64 noundef) #3 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { noreturn nounwind }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 24}
!10 = !{!"_ZTSN4Simd4ViewINS_9AllocatorEEE", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !6, i64 32, !13, i64 40}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSN4Simd4ViewINS_9AllocatorEE6FormatE", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !11, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}


; 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.35 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [57 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Simd4Base23PrepareThroughColumn32iERKNS_4ViewINS_9AllocatorEEERS3_ = external hidden unnamed_addr constant [65 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4Simd4Base23PrepareThroughColumn32iERKNS_4ViewINS_9AllocatorEEERS3_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(41) %1) local_unnamed_addr #1 {
  %3 = tail call noundef zeroext i1 @_ZN4Simd10CompatibleINS_9AllocatorES1_EEbRKNS_4ViewIT_EERKNS2_IT0_EE(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(41) %1)
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8
  %6 = icmp eq i32 %5, 6
  %or.cond = select i1 %3, i1 %6, i1 false
  br i1 %or.cond, label %.preheader, label %.critedge

.preheader:                                       ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i64, ptr %7, align 8, !tbaa !5
  %.not = icmp eq i64 %8, 0
  br i1 %.not, label %._crit_edge37, label %.lr.ph36

.critedge:                                        ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.35, i32 noundef 655, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Simd4Base23PrepareThroughColumn32iERKNS_4ViewINS_9AllocatorEEERS3_) #3
  unreachable

._crit_edge37:                                    ; preds = %._crit_edge34, %.preheader
  ret void

.lr.ph36:                                         ; preds = %.preheader, %._crit_edge34
  %.02635 = phi i64 [ %110, %._crit_edge34 ], [ 0, %.preheader ]
  %9 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Simd4ViewINS_9AllocatorEE2AtIjEERKT_mm(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef 0, i64 noundef %.02635)
  %10 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIjEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %1, i64 noundef 0, i64 noundef %.02635)
  %11 = load i64, ptr %0, align 8, !tbaa !13
  %.not38 = icmp eq i64 %11, 0
  br i1 %.not38, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph36
  %12 = add i64 %11, -1
  %13 = lshr i64 %12, 1
  %14 = add nuw i64 %13, 1
  %min.iters.check53 = icmp ult i64 %11, 15
  br i1 %min.iters.check53, label %.lr.ph.preheader65, label %vector.memcheck43

.lr.ph.preheader65:                               ; preds = %middle.block51, %vector.memcheck43, %.lr.ph.preheader
  %.02730.ph = phi i64 [ 0, %vector.memcheck43 ], [ 0, %.lr.ph.preheader ], [ %ind.end57, %middle.block51 ]
  br label %.lr.ph

vector.memcheck43:                                ; preds = %.lr.ph.preheader
  %scevgep44 = getelementptr inbounds i8, ptr %10, i64 4
  %15 = add i64 %11, -1
  %16 = lshr i64 %15, 1
  %17 = shl i64 %16, 2
  %scevgep45 = getelementptr i8, ptr %scevgep44, i64 %17
  %scevgep46 = getelementptr inbounds i8, ptr %9, i64 4
  %18 = shl i64 %16, 3
  %scevgep47 = getelementptr i8, ptr %scevgep46, i64 %18
  %bound048 = icmp ult ptr %10, %scevgep47
  %bound149 = icmp ult ptr %9, %scevgep45
  %found.conflict50 = and i1 %bound048, %bound149
  br i1 %found.conflict50, label %.lr.ph.preheader65, label %vector.ph54

vector.ph54:                                      ; preds = %vector.memcheck43
  %n.vec56 = and i64 %14, -8
  %ind.end57 = shl i64 %n.vec56, 1
  br label %vector.body59

vector.body59:                                    ; preds = %vector.body59, %vector.ph54
  %index60 = phi i64 [ 0, %vector.ph54 ], [ %index.next62, %vector.body59 ]
  %offset.idx61 = shl i64 %index60, 1
  %19 = or disjoint i64 %offset.idx61, 2
  %20 = or disjoint i64 %offset.idx61, 4
  %21 = or disjoint i64 %offset.idx61, 6
  %22 = or disjoint i64 %offset.idx61, 8
  %23 = or disjoint i64 %offset.idx61, 10
  %24 = or disjoint i64 %offset.idx61, 12
  %25 = or disjoint i64 %offset.idx61, 14
  %26 = getelementptr inbounds i32, ptr %9, i64 %offset.idx61
  %27 = getelementptr inbounds i32, ptr %9, i64 %19
  %28 = getelementptr inbounds i32, ptr %9, i64 %20
  %29 = getelementptr inbounds i32, ptr %9, i64 %21
  %30 = getelementptr inbounds i32, ptr %9, i64 %22
  %31 = getelementptr inbounds i32, ptr %9, i64 %23
  %32 = getelementptr inbounds i32, ptr %9, i64 %24
  %33 = getelementptr inbounds i32, ptr %9, i64 %25
  %34 = load i32, ptr %26, align 4, !tbaa !14, !alias.scope !16
  %35 = load i32, ptr %27, align 4, !tbaa !14, !alias.scope !16
  %36 = load i32, ptr %28, align 4, !tbaa !14, !alias.scope !16
  %37 = load i32, ptr %29, align 4, !tbaa !14, !alias.scope !16
  %38 = insertelement <4 x i32> poison, i32 %34, i64 0
  %39 = insertelement <4 x i32> %38, i32 %35, i64 1
  %40 = insertelement <4 x i32> %39, i32 %36, i64 2
  %41 = insertelement <4 x i32> %40, i32 %37, i64 3
  %42 = load i32, ptr %30, align 4, !tbaa !14, !alias.scope !16
  %43 = load i32, ptr %31, align 4, !tbaa !14, !alias.scope !16
  %44 = load i32, ptr %32, align 4, !tbaa !14, !alias.scope !16
  %45 = load i32, ptr %33, align 4, !tbaa !14, !alias.scope !16
  %46 = insertelement <4 x i32> poison, i32 %42, i64 0
  %47 = insertelement <4 x i32> %46, i32 %43, i64 1
  %48 = insertelement <4 x i32> %47, i32 %44, i64 2
  %49 = insertelement <4 x i32> %48, i32 %45, i64 3
  %50 = and i64 %index60, 9223372036854775800
  %51 = getelementptr inbounds i32, ptr %10, i64 %50
  %52 = getelementptr inbounds i8, ptr %51, i64 16
  store <4 x i32> %41, ptr %51, align 4, !tbaa !14, !alias.scope !19, !noalias !16
  store <4 x i32> %49, ptr %52, align 4, !tbaa !14, !alias.scope !19, !noalias !16
  %index.next62 = add nuw i64 %index60, 8
  %53 = icmp eq i64 %index.next62, %n.vec56
  br i1 %53, label %middle.block51, label %vector.body59, !llvm.loop !21

middle.block51:                                   ; preds = %vector.body59
  %cmp.n63 = icmp eq i64 %14, %n.vec56
  br i1 %cmp.n63, label %._crit_edge, label %.lr.ph.preheader65

._crit_edge:                                      ; preds = %.lr.ph, %middle.block51, %.lr.ph36
  %54 = load i64, ptr %1, align 8, !tbaa !13
  %55 = add i64 %54, 1
  %56 = lshr i64 %55, 1
  %57 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Simd4ViewINS_9AllocatorEE2AtIjEERT_mm(ptr noundef nonnull align 8 dereferenceable(41) %1, i64 noundef %56, i64 noundef %.02635)
  %58 = load i64, ptr %0, align 8, !tbaa !13
  %59 = icmp ugt i64 %58, 1
  br i1 %59, label %.lr.ph33.preheader, label %._crit_edge34

.lr.ph33.preheader:                               ; preds = %._crit_edge
  %60 = add i64 %58, -2
  %61 = lshr i64 %60, 1
  %62 = add nuw i64 %61, 1
  %min.iters.check = icmp ult i64 %60, 14
  br i1 %min.iters.check, label %.lr.ph33.preheader64, label %vector.memcheck

.lr.ph33.preheader64:                             ; preds = %middle.block, %vector.memcheck, %.lr.ph33.preheader
  %.031.ph = phi i64 [ 1, %vector.memcheck ], [ 1, %.lr.ph33.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph33

vector.memcheck:                                  ; preds = %.lr.ph33.preheader
  %scevgep = getelementptr inbounds i8, ptr %57, i64 4
  %63 = add i64 %58, -2
  %64 = lshr i64 %63, 1
  %65 = shl i64 %64, 2
  %scevgep39 = getelementptr i8, ptr %scevgep, i64 %65
  %scevgep40 = getelementptr inbounds i8, ptr %9, i64 4
  %scevgep41 = getelementptr i8, ptr %9, i64 8
  %66 = shl i64 %64, 3
  %scevgep42 = getelementptr i8, ptr %scevgep41, i64 %66
  %bound0 = icmp ult ptr %57, %scevgep42
  %bound1 = icmp ult ptr %scevgep40, %scevgep39
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph33.preheader64, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %62, -8
  %67 = shl i64 %n.vec, 1
  %ind.end = or disjoint i64 %67, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %68 = shl i64 %index, 1
  %offset.idx = or disjoint i64 %68, 1
  %69 = or disjoint i64 %68, 3
  %70 = or disjoint i64 %68, 5
  %71 = or disjoint i64 %68, 7
  %72 = or disjoint i64 %68, 9
  %73 = or disjoint i64 %68, 11
  %74 = or disjoint i64 %68, 13
  %75 = or disjoint i64 %68, 15
  %76 = getelementptr inbounds i32, ptr %9, i64 %offset.idx
  %77 = getelementptr inbounds i32, ptr %9, i64 %69
  %78 = getelementptr inbounds i32, ptr %9, i64 %70
  %79 = getelementptr inbounds i32, ptr %9, i64 %71
  %80 = getelementptr inbounds i32, ptr %9, i64 %72
  %81 = getelementptr inbounds i32, ptr %9, i64 %73
  %82 = getelementptr inbounds i32, ptr %9, i64 %74
  %83 = getelementptr inbounds i32, ptr %9, i64 %75
  %84 = load i32, ptr %76, align 4, !tbaa !14, !alias.scope !25
  %85 = load i32, ptr %77, align 4, !tbaa !14, !alias.scope !25
  %86 = load i32, ptr %78, align 4, !tbaa !14, !alias.scope !25
  %87 = load i32, ptr %79, align 4, !tbaa !14, !alias.scope !25
  %88 = insertelement <4 x i32> poison, i32 %84, i64 0
  %89 = insertelement <4 x i32> %88, i32 %85, i64 1
  %90 = insertelement <4 x i32> %89, i32 %86, i64 2
  %91 = insertelement <4 x i32> %90, i32 %87, i64 3
  %92 = load i32, ptr %80, align 4, !tbaa !14, !alias.scope !25
  %93 = load i32, ptr %81, align 4, !tbaa !14, !alias.scope !25
  %94 = load i32, ptr %82, align 4, !tbaa !14, !alias.scope !25
  %95 = load i32, ptr %83, align 4, !tbaa !14, !alias.scope !25
  %96 = insertelement <4 x i32> poison, i32 %92, i64 0
  %97 = insertelement <4 x i32> %96, i32 %93, i64 1
  %98 = insertelement <4 x i32> %97, i32 %94, i64 2
  %99 = insertelement <4 x i32> %98, i32 %95, i64 3
  %100 = and i64 %index, 9223372036854775800
  %101 = getelementptr inbounds i32, ptr %57, i64 %100
  %102 = getelementptr inbounds i8, ptr %101, i64 16
  store <4 x i32> %91, ptr %101, align 4, !tbaa !14, !alias.scope !28, !noalias !25
  store <4 x i32> %99, ptr %102, align 4, !tbaa !14, !alias.scope !28, !noalias !25
  %index.next = add nuw i64 %index, 8
  %103 = icmp eq i64 %index.next, %n.vec
  br i1 %103, label %middle.block, label %vector.body, !llvm.loop !30

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %62, %n.vec
  br i1 %cmp.n, label %._crit_edge34, label %.lr.ph33.preheader64

.lr.ph:                                           ; preds = %.lr.ph.preheader65, %.lr.ph
  %.02730 = phi i64 [ %108, %.lr.ph ], [ %.02730.ph, %.lr.ph.preheader65 ]
  %104 = getelementptr inbounds i32, ptr %9, i64 %.02730
  %105 = load i32, ptr %104, align 4, !tbaa !14
  %106 = lshr exact i64 %.02730, 1
  %107 = getelementptr inbounds i32, ptr %10, i64 %106
  store i32 %105, ptr %107, align 4, !tbaa !14
  %108 = add nuw i64 %.02730, 2
  %109 = icmp ult i64 %108, %11
  br i1 %109, label %.lr.ph, label %._crit_edge, !llvm.loop !31

._crit_edge34:                                    ; preds = %.lr.ph33, %middle.block, %._crit_edge
  %110 = add nuw i64 %.02635, 1
  %111 = load i64, ptr %7, align 8, !tbaa !5
  %112 = icmp ult i64 %110, %111
  br i1 %112, label %.lr.ph36, label %._crit_edge37, !llvm.loop !32

.lr.ph33:                                         ; preds = %.lr.ph33.preheader64, %.lr.ph33
  %.031 = phi i64 [ %117, %.lr.ph33 ], [ %.031.ph, %.lr.ph33.preheader64 ]
  %113 = getelementptr inbounds i32, ptr %9, i64 %.031
  %114 = load i32, ptr %113, align 4, !tbaa !14
  %115 = lshr i64 %.031, 1
  %116 = getelementptr inbounds i32, ptr %57, i64 %115
  store i32 %114, ptr %116, align 4, !tbaa !14
  %117 = add nuw i64 %.031, 2
  %118 = icmp ult i64 %117, %58
  br i1 %118, label %.lr.ph33, label %._crit_edge34, !llvm.loop !33
}

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

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

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

attributes #0 = { 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 #1 = { 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 #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 = { 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, !7, i64 8}
!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 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17}
!17 = distinct !{!17, !18}
!18 = distinct !{!18, !"LVerDomain"}
!19 = !{!20}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !22, !23, !24}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!"llvm.loop.isvectorized", i32 1}
!24 = !{!"llvm.loop.unroll.runtime.disable"}
!25 = !{!26}
!26 = distinct !{!26, !27}
!27 = distinct !{!27, !"LVerDomain"}
!28 = !{!29}
!29 = distinct !{!29, !27}
!30 = distinct !{!30, !22, !23, !24}
!31 = distinct !{!31, !22, !23}
!32 = distinct !{!32, !22}
!33 = distinct !{!33, !22, !23}


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