; LLVM IR from lichen-community-systems/signaletic :: hosts/daisy/vendor/libDaisy/Drivers/STM32H7xx_HAL_Driver/Src (ConfigCLUT)

; 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.LTDC_HandleTypeDef = type { ptr, %struct.LTDC_InitTypeDef, [2 x %struct.LTDC_LayerCfgTypeDef], i32, i32, i32 }
%struct.LTDC_InitTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.LTDC_ColorTypeDef }
%struct.LTDC_ColorTypeDef = type { i8, i8, i8, i8 }
%struct.LTDC_LayerCfgTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.LTDC_ColorTypeDef }
%struct.LTDC_Layer_TypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, [2 x i32], i32, i32, i32, [3 x 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 i32 @HAL_LTDC_ConfigCLUT(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #1 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %14, ptr %12, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %4
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.LTDC_HandleTypeDef, ptr %16, i32 0, i32 3
  %18 = load i32, ptr %17, align 4, !tbaa !11
  %19 = icmp eq i32 %18, 1
  br i1 %19, label %20, label %21

20:                                               ; preds = %15
  store i32 2, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %101

21:                                               ; preds = %15
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.LTDC_HandleTypeDef, ptr %22, i32 0, i32 3
  store i32 1, ptr %23, align 4, !tbaa !11
  br label %24

24:                                               ; preds = %21
  br label %25

25:                                               ; preds = %24
  br label %26

26:                                               ; preds = %25
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.LTDC_HandleTypeDef, ptr %27, i32 0, i32 4
  store volatile i32 2, ptr %28, align 8, !tbaa !15
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %90, %26
  %30 = load i32, ptr %11, align 4, !tbaa !9
  %31 = load i32, ptr %8, align 4, !tbaa !9
  %32 = icmp ult i32 %30, %31
  br i1 %32, label %33, label %93

33:                                               ; preds = %29
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.LTDC_HandleTypeDef, ptr %34, i32 0, i32 2
  %36 = load i32, ptr %9, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds [2 x %struct.LTDC_LayerCfgTypeDef], ptr %35, i64 0, i64 %37
  %39 = getelementptr inbounds %struct.LTDC_LayerCfgTypeDef, ptr %38, i32 0, i32 4
  %40 = load i32, ptr %39, align 4, !tbaa !16
  %41 = icmp eq i32 %40, 6
  br i1 %41, label %42, label %60

42:                                               ; preds = %33
  %43 = load i32, ptr %11, align 4, !tbaa !9
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = mul i32 16, %44
  %46 = add i32 %43, %45
  %47 = shl i32 %46, 24
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  %49 = load i32, ptr %48, align 4, !tbaa !9
  %50 = and i32 %49, 255
  %51 = or i32 %47, %50
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = and i32 %53, 65280
  %55 = or i32 %51, %54
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = load i32, ptr %56, align 4, !tbaa !9
  %58 = and i32 %57, 16711680
  %59 = or i32 %55, %58
  store i32 %59, ptr %10, align 4, !tbaa !9
  br label %75

60:                                               ; preds = %33
  %61 = load i32, ptr %11, align 4, !tbaa !9
  %62 = shl i32 %61, 24
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = and i32 %64, 255
  %66 = or i32 %62, %65
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = load i32, ptr %67, align 4, !tbaa !9
  %69 = and i32 %68, 65280
  %70 = or i32 %66, %69
  %71 = load ptr, ptr %12, align 8, !tbaa !5
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = and i32 %72, 16711680
  %74 = or i32 %70, %73
  store i32 %74, ptr %10, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %60, %42
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = getelementptr inbounds i32, ptr %76, i32 1
  store ptr %77, ptr %12, align 8, !tbaa !5
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.LTDC_HandleTypeDef, ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !17
  %82 = ptrtoint ptr %81 to i32
  %83 = add i32 %82, 132
  %84 = load i32, ptr %9, align 4, !tbaa !9
  %85 = mul i32 128, %84
  %86 = add i32 %83, %85
  %87 = zext i32 %86 to i64
  %88 = inttoptr i64 %87 to ptr
  %89 = getelementptr inbounds %struct.LTDC_Layer_TypeDef, ptr %88, i32 0, i32 13
  store volatile i32 %78, ptr %89, align 4, !tbaa !18
  br label %90

90:                                               ; preds = %75
  %91 = load i32, ptr %11, align 4, !tbaa !9
  %92 = add i32 %91, 1
  store i32 %92, ptr %11, align 4, !tbaa !9
  br label %29, !llvm.loop !20

93:                                               ; preds = %29
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.LTDC_HandleTypeDef, ptr %94, i32 0, i32 4
  store volatile i32 1, ptr %95, align 8, !tbaa !15
  br label %96

96:                                               ; preds = %93
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.LTDC_HandleTypeDef, ptr %97, i32 0, i32 3
  store i32 0, ptr %98, align 4, !tbaa !11
  br label %99

99:                                               ; preds = %96
  br label %100

100:                                              ; preds = %99
  store i32 0, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %101

101:                                              ; preds = %100, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #2
  %102 = load i32, ptr %5, align 4
  ret i32 %102
}

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 = !{!12, !10, i64 164}
!12 = !{!"", !6, i64 0, !13, i64 8, !7, i64 60, !10, i64 164, !10, i64 168, !10, i64 172}
!13 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !14, i64 48}
!14 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3}
!15 = !{!12, !10, i64 168}
!16 = !{!13, !10, i64 16}
!17 = !{!12, !6, i64 0}
!18 = !{!19, !10, i64 64}
!19 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !7, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 52, !10, i64 64}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


; 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.LTDC_LayerCfgTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.LTDC_ColorTypeDef }
%struct.LTDC_ColorTypeDef = type { i8, i8, i8, i8 }

; Function Attrs: nofree norecurse nounwind uwtable
define dso_local range(i32 0, 3) i32 @HAL_LTDC_ConfigCLUT(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %0, i64 164
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %7 = icmp eq i32 %6, 1
  br i1 %7, label %86, label %8

8:                                                ; preds = %4
  store i32 1, ptr %5, align 4, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 168
  store volatile i32 2, ptr %9, align 8, !tbaa !13
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %8
  %10 = getelementptr inbounds i8, ptr %0, i64 60
  %11 = zext i32 %3 to i64
  %12 = getelementptr inbounds [2 x %struct.LTDC_LayerCfgTypeDef], ptr %10, i64 0, i64 %11, i32 4
  %13 = load i32, ptr %12, align 4, !tbaa !14
  %14 = icmp eq i32 %13, 6
  %15 = load ptr, ptr %0, align 8, !tbaa !15
  %16 = ptrtoint ptr %15 to i64
  %17 = trunc i64 %16 to i32
  %18 = shl i32 %3, 7
  %19 = add i32 %18, 132
  %20 = add i32 %19, %17
  %21 = zext i32 %20 to i64
  %22 = inttoptr i64 %21 to ptr
  %23 = getelementptr inbounds i8, ptr %22, i64 64
  br i1 %14, label %.lr.ph.split.us.preheader, label %.lr.ph.split.preheader

.lr.ph.split.preheader:                           ; preds = %.lr.ph
  %xtraiter = and i32 %2, 3
  %24 = icmp ult i32 %2, 4
  br i1 %24, label %._crit_edge.loopexit33.unr-lcssa, label %.lr.ph.split.preheader.new

.lr.ph.split.preheader.new:                       ; preds = %.lr.ph.split.preheader
  %unroll_iter = and i32 %2, -4
  br label %.lr.ph.split

.lr.ph.split.us.preheader:                        ; preds = %.lr.ph
  %xtraiter34 = and i32 %2, 3
  %25 = icmp ult i32 %2, 4
  br i1 %25, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.split.us.preheader.new

.lr.ph.split.us.preheader.new:                    ; preds = %.lr.ph.split.us.preheader
  %unroll_iter37 = and i32 %2, -4
  br label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph.split.us, %.lr.ph.split.us.preheader.new
  %.028.us = phi ptr [ %1, %.lr.ph.split.us.preheader.new ], [ %48, %.lr.ph.split.us ]
  %.02427.us = phi i32 [ 0, %.lr.ph.split.us.preheader.new ], [ %49, %.lr.ph.split.us ]
  %niter38 = phi i32 [ 0, %.lr.ph.split.us.preheader.new ], [ %niter38.next.3, %.lr.ph.split.us ]
  %26 = mul i32 %.02427.us, 285212672
  %27 = load i32, ptr %.028.us, align 4, !tbaa !16
  %28 = and i32 %27, 16777215
  %29 = or disjoint i32 %28, %26
  %30 = getelementptr inbounds i8, ptr %.028.us, i64 4
  store volatile i32 %29, ptr %23, align 4, !tbaa !17
  %31 = mul i32 %.02427.us, 285212672
  %32 = add i32 %31, 285212672
  %33 = load i32, ptr %30, align 4, !tbaa !16
  %34 = and i32 %33, 16777215
  %35 = or disjoint i32 %34, %32
  %36 = getelementptr inbounds i8, ptr %.028.us, i64 8
  store volatile i32 %35, ptr %23, align 4, !tbaa !17
  %37 = mul i32 %.02427.us, 285212672
  %38 = add i32 %37, 570425344
  %39 = load i32, ptr %36, align 4, !tbaa !16
  %40 = and i32 %39, 16777215
  %41 = or disjoint i32 %40, %38
  %42 = getelementptr inbounds i8, ptr %.028.us, i64 12
  store volatile i32 %41, ptr %23, align 4, !tbaa !17
  %43 = mul i32 %.02427.us, 285212672
  %44 = add i32 %43, 855638016
  %45 = load i32, ptr %42, align 4, !tbaa !16
  %46 = and i32 %45, 16777215
  %47 = or disjoint i32 %46, %44
  %48 = getelementptr inbounds i8, ptr %.028.us, i64 16
  store volatile i32 %47, ptr %23, align 4, !tbaa !17
  %49 = add nuw i32 %.02427.us, 4
  %niter38.next.3 = add i32 %niter38, 4
  %niter38.ncmp.3 = icmp eq i32 %niter38.next.3, %unroll_iter37
  br i1 %niter38.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.split.us, !llvm.loop !19

.lr.ph.split:                                     ; preds = %.lr.ph.split, %.lr.ph.split.preheader.new
  %.028 = phi ptr [ %1, %.lr.ph.split.preheader.new ], [ %72, %.lr.ph.split ]
  %.02427 = phi i32 [ 0, %.lr.ph.split.preheader.new ], [ %73, %.lr.ph.split ]
  %niter = phi i32 [ 0, %.lr.ph.split.preheader.new ], [ %niter.next.3, %.lr.ph.split ]
  %50 = shl i32 %.02427, 24
  %51 = load i32, ptr %.028, align 4, !tbaa !16
  %52 = and i32 %51, 16777215
  %53 = or disjoint i32 %52, %50
  %54 = getelementptr inbounds i8, ptr %.028, i64 4
  store volatile i32 %53, ptr %23, align 4, !tbaa !17
  %55 = shl i32 %.02427, 24
  %56 = or disjoint i32 %55, 16777216
  %57 = load i32, ptr %54, align 4, !tbaa !16
  %58 = and i32 %57, 16777215
  %59 = or disjoint i32 %58, %56
  %60 = getelementptr inbounds i8, ptr %.028, i64 8
  store volatile i32 %59, ptr %23, align 4, !tbaa !17
  %61 = shl i32 %.02427, 24
  %62 = or disjoint i32 %61, 33554432
  %63 = load i32, ptr %60, align 4, !tbaa !16
  %64 = and i32 %63, 16777215
  %65 = or disjoint i32 %64, %62
  %66 = getelementptr inbounds i8, ptr %.028, i64 12
  store volatile i32 %65, ptr %23, align 4, !tbaa !17
  %67 = shl i32 %.02427, 24
  %68 = or disjoint i32 %67, 50331648
  %69 = load i32, ptr %66, align 4, !tbaa !16
  %70 = and i32 %69, 16777215
  %71 = or disjoint i32 %70, %68
  %72 = getelementptr inbounds i8, ptr %.028, i64 16
  store volatile i32 %71, ptr %23, align 4, !tbaa !17
  %73 = add nuw i32 %.02427, 4
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit33.unr-lcssa, label %.lr.ph.split, !llvm.loop !19

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph.split.us, %.lr.ph.split.us.preheader
  %.028.us.unr = phi ptr [ %1, %.lr.ph.split.us.preheader ], [ %48, %.lr.ph.split.us ]
  %.02427.us.unr = phi i32 [ 0, %.lr.ph.split.us.preheader ], [ %49, %.lr.ph.split.us ]
  %lcmp.mod36.not = icmp eq i32 %xtraiter34, 0
  br i1 %lcmp.mod36.not, label %._crit_edge, label %.lr.ph.split.us.epil

.lr.ph.split.us.epil:                             ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.split.us.epil
  %.028.us.epil = phi ptr [ %78, %.lr.ph.split.us.epil ], [ %.028.us.unr, %._crit_edge.loopexit.unr-lcssa ]
  %.02427.us.epil = phi i32 [ %79, %.lr.ph.split.us.epil ], [ %.02427.us.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter35 = phi i32 [ %epil.iter35.next, %.lr.ph.split.us.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %74 = mul i32 %.02427.us.epil, 285212672
  %75 = load i32, ptr %.028.us.epil, align 4, !tbaa !16
  %76 = and i32 %75, 16777215
  %77 = or disjoint i32 %76, %74
  %78 = getelementptr inbounds i8, ptr %.028.us.epil, i64 4
  store volatile i32 %77, ptr %23, align 4, !tbaa !17
  %79 = add nuw i32 %.02427.us.epil, 1
  %epil.iter35.next = add i32 %epil.iter35, 1
  %epil.iter35.cmp.not = icmp eq i32 %epil.iter35.next, %xtraiter34
  br i1 %epil.iter35.cmp.not, label %._crit_edge, label %.lr.ph.split.us.epil, !llvm.loop !21

._crit_edge.loopexit33.unr-lcssa:                 ; preds = %.lr.ph.split, %.lr.ph.split.preheader
  %.028.unr = phi ptr [ %1, %.lr.ph.split.preheader ], [ %72, %.lr.ph.split ]
  %.02427.unr = phi i32 [ 0, %.lr.ph.split.preheader ], [ %73, %.lr.ph.split ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.split.epil

.lr.ph.split.epil:                                ; preds = %._crit_edge.loopexit33.unr-lcssa, %.lr.ph.split.epil
  %.028.epil = phi ptr [ %84, %.lr.ph.split.epil ], [ %.028.unr, %._crit_edge.loopexit33.unr-lcssa ]
  %.02427.epil = phi i32 [ %85, %.lr.ph.split.epil ], [ %.02427.unr, %._crit_edge.loopexit33.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph.split.epil ], [ 0, %._crit_edge.loopexit33.unr-lcssa ]
  %80 = shl i32 %.02427.epil, 24
  %81 = load i32, ptr %.028.epil, align 4, !tbaa !16
  %82 = and i32 %81, 16777215
  %83 = or disjoint i32 %82, %80
  %84 = getelementptr inbounds i8, ptr %.028.epil, i64 4
  store volatile i32 %83, ptr %23, align 4, !tbaa !17
  %85 = add nuw i32 %.02427.epil, 1
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.split.epil, !llvm.loop !23

._crit_edge:                                      ; preds = %._crit_edge.loopexit33.unr-lcssa, %.lr.ph.split.epil, %._crit_edge.loopexit.unr-lcssa, %.lr.ph.split.us.epil, %8
  store volatile i32 1, ptr %9, align 8, !tbaa !13
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %4, %._crit_edge
  %.026 = phi i32 [ 0, %._crit_edge ], [ 2, %4 ]
  ret i32 %.026
}

attributes #0 = { nofree norecurse 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" }

!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 164}
!6 = !{!"", !7, i64 0, !10, i64 8, !8, i64 60, !11, i64 164, !11, i64 168, !11, i64 172}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !12, i64 48}
!11 = !{!"int", !8, i64 0}
!12 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3}
!13 = !{!6, !11, i64 168}
!14 = !{!10, !11, i64 16}
!15 = !{!6, !7, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !11, i64 64}
!18 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !8, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !8, i64 52, !11, i64 64}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.unroll.disable"}
!23 = distinct !{!23, !22}


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