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

; 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.NOR_HandleTypeDef = type { ptr, ptr, %struct.FMC_NORSRAM_InitTypeDef, i32, i32 }
%struct.FMC_NORSRAM_InitTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@uwNORMemoryDataWidth = external hidden global i32, align 4

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @__DSB() #1

; 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_NOR_ReadBuffer(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %16 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %16, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  %17 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %17, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %18, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.NOR_HandleTypeDef, ptr %19, i32 0, i32 4
  %21 = load volatile i32, ptr %20, align 8, !tbaa !11
  store i32 %21, ptr %14, align 4, !tbaa !9
  %22 = load i32, ptr %14, align 4, !tbaa !9
  %23 = icmp eq i32 %22, 2
  br i1 %23, label %24, label %25

24:                                               ; preds = %4
  store i32 2, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %142

25:                                               ; preds = %4
  %26 = load i32, ptr %14, align 4, !tbaa !9
  %27 = icmp eq i32 %26, 1
  br i1 %27, label %31, label %28

28:                                               ; preds = %25
  %29 = load i32, ptr %14, align 4, !tbaa !9
  %30 = icmp eq i32 %29, 4
  br i1 %30, label %31, label %139

31:                                               ; preds = %28, %25
  br label %32

32:                                               ; preds = %31
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.NOR_HandleTypeDef, ptr %33, i32 0, i32 3
  %35 = load i32, ptr %34, align 4, !tbaa !14
  %36 = icmp eq i32 %35, 1
  br i1 %36, label %37, label %38

37:                                               ; preds = %32
  store i32 2, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %142

38:                                               ; preds = %32
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.NOR_HandleTypeDef, ptr %39, i32 0, i32 3
  store i32 1, ptr %40, align 4, !tbaa !14
  br label %41

41:                                               ; preds = %38
  br label %42

42:                                               ; preds = %41
  br label %43

43:                                               ; preds = %42
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.NOR_HandleTypeDef, ptr %44, i32 0, i32 4
  store volatile i32 2, ptr %45, align 8, !tbaa !11
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.NOR_HandleTypeDef, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds %struct.FMC_NORSRAM_InitTypeDef, ptr %47, i32 0, i32 0
  %49 = load i32, ptr %48, align 8, !tbaa !15
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %43
  store i32 1610612736, ptr %10, align 4, !tbaa !9
  br label %69

52:                                               ; preds = %43
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.NOR_HandleTypeDef, ptr %53, i32 0, i32 2
  %55 = getelementptr inbounds %struct.FMC_NORSRAM_InitTypeDef, ptr %54, i32 0, i32 0
  %56 = load i32, ptr %55, align 8, !tbaa !15
  %57 = icmp eq i32 %56, 2
  br i1 %57, label %58, label %59

58:                                               ; preds = %52
  store i32 1677721600, ptr %10, align 4, !tbaa !9
  br label %68

59:                                               ; preds = %52
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.NOR_HandleTypeDef, ptr %60, i32 0, i32 2
  %62 = getelementptr inbounds %struct.FMC_NORSRAM_InitTypeDef, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 8, !tbaa !15
  %64 = icmp eq i32 %63, 4
  br i1 %64, label %65, label %66

65:                                               ; preds = %59
  store i32 1744830464, ptr %10, align 4, !tbaa !9
  br label %67

66:                                               ; preds = %59
  store i32 1811939328, ptr %10, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %66, %65
  br label %68

68:                                               ; preds = %67, %58
  br label %69

69:                                               ; preds = %68, %51
  br label %70

70:                                               ; preds = %69
  %71 = load i32, ptr @uwNORMemoryDataWidth, align 4, !tbaa !9
  %72 = icmp eq i32 %71, 1
  br i1 %72, label %73, label %76

73:                                               ; preds = %70
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = add i32 %74, 2730
  br label %79

76:                                               ; preds = %70
  %77 = load i32, ptr %10, align 4, !tbaa !9
  %78 = add i32 %77, 1365
  br label %79

79:                                               ; preds = %76, %73
  %80 = phi i32 [ %75, %73 ], [ %78, %76 ]
  %81 = zext i32 %80 to i64
  %82 = inttoptr i64 %81 to ptr
  store volatile i16 170, ptr %82, align 2, !tbaa !16
  call void @__DSB()
  br label %83

83:                                               ; preds = %79
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  %86 = load i32, ptr @uwNORMemoryDataWidth, align 4, !tbaa !9
  %87 = icmp eq i32 %86, 1
  br i1 %87, label %88, label %91

88:                                               ; preds = %85
  %89 = load i32, ptr %10, align 4, !tbaa !9
  %90 = add i32 %89, 1364
  br label %94

91:                                               ; preds = %85
  %92 = load i32, ptr %10, align 4, !tbaa !9
  %93 = add i32 %92, 682
  br label %94

94:                                               ; preds = %91, %88
  %95 = phi i32 [ %90, %88 ], [ %93, %91 ]
  %96 = zext i32 %95 to i64
  %97 = inttoptr i64 %96 to ptr
  store volatile i16 85, ptr %97, align 2, !tbaa !16
  call void @__DSB()
  br label %98

98:                                               ; preds = %94
  br label %99

99:                                               ; preds = %98
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr @uwNORMemoryDataWidth, align 4, !tbaa !9
  %102 = icmp eq i32 %101, 1
  br i1 %102, label %103, label %106

103:                                              ; preds = %100
  %104 = load i32, ptr %10, align 4, !tbaa !9
  %105 = add i32 %104, 2730
  br label %109

106:                                              ; preds = %100
  %107 = load i32, ptr %10, align 4, !tbaa !9
  %108 = add i32 %107, 1365
  br label %109

109:                                              ; preds = %106, %103
  %110 = phi i32 [ %105, %103 ], [ %108, %106 ]
  %111 = zext i32 %110 to i64
  %112 = inttoptr i64 %111 to ptr
  store volatile i16 240, ptr %112, align 2, !tbaa !16
  call void @__DSB()
  br label %113

113:                                              ; preds = %109
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %118, %114
  %116 = load i32, ptr %11, align 4, !tbaa !9
  %117 = icmp ugt i32 %116, 0
  br i1 %117, label %118, label %130

118:                                              ; preds = %115
  %119 = load i32, ptr %12, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = inttoptr i64 %120 to ptr
  %122 = load volatile i16, ptr %121, align 2, !tbaa !16
  %123 = load ptr, ptr %13, align 8, !tbaa !5
  store i16 %122, ptr %123, align 2, !tbaa !16
  %124 = load ptr, ptr %13, align 8, !tbaa !5
  %125 = getelementptr inbounds i16, ptr %124, i32 1
  store ptr %125, ptr %13, align 8, !tbaa !5
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = add i32 %126, 2
  store i32 %127, ptr %12, align 4, !tbaa !9
  %128 = load i32, ptr %11, align 4, !tbaa !9
  %129 = add i32 %128, -1
  store i32 %129, ptr %11, align 4, !tbaa !9
  br label %115, !llvm.loop !18

130:                                              ; preds = %115
  %131 = load i32, ptr %14, align 4, !tbaa !9
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.NOR_HandleTypeDef, ptr %132, i32 0, i32 4
  store volatile i32 %131, ptr %133, align 8, !tbaa !11
  br label %134

134:                                              ; preds = %130
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.NOR_HandleTypeDef, ptr %135, i32 0, i32 3
  store i32 0, ptr %136, align 4, !tbaa !14
  br label %137

137:                                              ; preds = %134
  br label %138

138:                                              ; preds = %137
  br label %140

139:                                              ; preds = %28
  store i32 1, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %142

140:                                              ; preds = %138
  br label %141

141:                                              ; preds = %140
  store i32 0, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %142

142:                                              ; preds = %141, %139, %37, %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  %143 = load i32, ptr %5, align 4
  ret i32 %143
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline 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 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 = { 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 80}
!12 = !{!"", !6, i64 0, !6, i64 8, !13, i64 16, !10, i64 76, !10, i64 80}
!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, !10, i64 48, !10, i64 52, !10, i64 56}
!14 = !{!12, !10, i64 76}
!15 = !{!12, !10, i64 16}
!16 = !{!17, !17, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"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"

@uwNORMemoryDataWidth = external hidden local_unnamed_addr global i32, align 4
@switch.table.HAL_NOR_ReadBuffer = private unnamed_addr constant [5 x i32] [i32 1610612736, i32 1811939328, i32 1677721600, i32 1811939328, i32 1744830464], align 4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @__DSB() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 3) i32 @HAL_NOR_ReadBuffer(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #1 {
  %5 = getelementptr inbounds i8, ptr %0, i64 80
  %6 = load volatile i32, ptr %5, align 8, !tbaa !5
  switch i32 %6, label %.fold.split [
    i32 2, label %62
    i32 4, label %7
    i32 1, label %7
  ]

7:                                                ; preds = %4, %4
  %8 = getelementptr inbounds i8, ptr %0, i64 76
  %9 = load i32, ptr %8, align 4, !tbaa !12
  %10 = icmp eq i32 %9, 1
  br i1 %10, label %62, label %11

11:                                               ; preds = %7
  store i32 1, ptr %8, align 4, !tbaa !12
  store volatile i32 2, ptr %5, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  %13 = load i32, ptr %12, align 8, !tbaa !13
  %14 = icmp ult i32 %13, 5
  br i1 %14, label %switch.lookup, label %16

switch.lookup:                                    ; preds = %11
  %15 = zext nneg i32 %13 to i64
  %switch.gep = getelementptr inbounds [5 x i32], ptr @switch.table.HAL_NOR_ReadBuffer, i64 0, i64 %15
  %switch.load = load i32, ptr %switch.gep, align 4
  br label %16

16:                                               ; preds = %11, %switch.lookup
  %.032 = phi i32 [ %switch.load, %switch.lookup ], [ 1811939328, %11 ]
  %17 = load i32, ptr @uwNORMemoryDataWidth, align 4, !tbaa !14
  %18 = icmp eq i32 %17, 1
  %19 = or disjoint i32 %.032, 2730
  %20 = or disjoint i32 %.032, 1365
  %21 = select i1 %18, i32 %19, i32 %20
  %22 = zext nneg i32 %21 to i64
  %23 = inttoptr i64 %22 to ptr
  store volatile i16 170, ptr %23, align 2, !tbaa !15
  tail call void @__DSB()
  %24 = load i32, ptr @uwNORMemoryDataWidth, align 4, !tbaa !14
  %25 = icmp eq i32 %24, 1
  %.v = select i1 %25, i32 1364, i32 682
  %26 = or disjoint i32 %.v, %.032
  %27 = zext nneg i32 %26 to i64
  %28 = inttoptr i64 %27 to ptr
  store volatile i16 85, ptr %28, align 2, !tbaa !15
  tail call void @__DSB()
  %29 = load i32, ptr @uwNORMemoryDataWidth, align 4, !tbaa !14
  %30 = icmp eq i32 %29, 1
  %31 = select i1 %30, i32 %19, i32 %20
  %32 = zext nneg i32 %31 to i64
  %33 = inttoptr i64 %32 to ptr
  store volatile i16 240, ptr %33, align 2, !tbaa !15
  tail call void @__DSB()
  %.not35 = icmp eq i32 %3, 0
  br i1 %.not35, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %16
  %xtraiter = and i32 %3, 3
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader, %.lr.ph.prol
  %.02938.prol = phi ptr [ %37, %.lr.ph.prol ], [ %2, %.lr.ph.preheader ]
  %.03037.prol = phi i32 [ %38, %.lr.ph.prol ], [ %1, %.lr.ph.preheader ]
  %.03136.prol = phi i32 [ %39, %.lr.ph.prol ], [ %3, %.lr.ph.preheader ]
  %prol.iter = phi i32 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader ]
  %34 = zext i32 %.03037.prol to i64
  %35 = inttoptr i64 %34 to ptr
  %36 = load volatile i16, ptr %35, align 2, !tbaa !15
  store i16 %36, ptr %.02938.prol, align 2, !tbaa !15
  %37 = getelementptr inbounds i8, ptr %.02938.prol, i64 2
  %38 = add i32 %.03037.prol, 2
  %39 = add i32 %.03136.prol, -1
  %prol.iter.next = add i32 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i32 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !17

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader
  %.02938.unr = phi ptr [ %2, %.lr.ph.preheader ], [ %37, %.lr.ph.prol ]
  %.03037.unr = phi i32 [ %1, %.lr.ph.preheader ], [ %38, %.lr.ph.prol ]
  %.03136.unr = phi i32 [ %3, %.lr.ph.preheader ], [ %39, %.lr.ph.prol ]
  %40 = icmp ult i32 %3, 4
  br i1 %40, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %.02938 = phi ptr [ %59, %.lr.ph ], [ %.02938.unr, %.lr.ph.prol.loopexit ]
  %.03037 = phi i32 [ %60, %.lr.ph ], [ %.03037.unr, %.lr.ph.prol.loopexit ]
  %.03136 = phi i32 [ %61, %.lr.ph ], [ %.03136.unr, %.lr.ph.prol.loopexit ]
  %41 = zext i32 %.03037 to i64
  %42 = inttoptr i64 %41 to ptr
  %43 = load volatile i16, ptr %42, align 2, !tbaa !15
  store i16 %43, ptr %.02938, align 2, !tbaa !15
  %44 = getelementptr inbounds i8, ptr %.02938, i64 2
  %45 = add i32 %.03037, 2
  %46 = zext i32 %45 to i64
  %47 = inttoptr i64 %46 to ptr
  %48 = load volatile i16, ptr %47, align 2, !tbaa !15
  store i16 %48, ptr %44, align 2, !tbaa !15
  %49 = getelementptr inbounds i8, ptr %.02938, i64 4
  %50 = add i32 %.03037, 4
  %51 = zext i32 %50 to i64
  %52 = inttoptr i64 %51 to ptr
  %53 = load volatile i16, ptr %52, align 2, !tbaa !15
  store i16 %53, ptr %49, align 2, !tbaa !15
  %54 = getelementptr inbounds i8, ptr %.02938, i64 6
  %55 = add i32 %.03037, 6
  %56 = zext i32 %55 to i64
  %57 = inttoptr i64 %56 to ptr
  %58 = load volatile i16, ptr %57, align 2, !tbaa !15
  store i16 %58, ptr %54, align 2, !tbaa !15
  %59 = getelementptr inbounds i8, ptr %.02938, i64 8
  %60 = add i32 %.03037, 8
  %61 = add i32 %.03136, -4
  %.not.3 = icmp eq i32 %61, 0
  br i1 %.not.3, label %._crit_edge, label %.lr.ph, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %16
  store volatile i32 %6, ptr %5, align 8, !tbaa !5
  store i32 0, ptr %8, align 4, !tbaa !12
  br label %62

.fold.split:                                      ; preds = %4
  br label %62

62:                                               ; preds = %4, %.fold.split, %7, %._crit_edge
  %.0 = phi i32 [ 0, %._crit_edge ], [ %6, %4 ], [ 2, %7 ], [ 1, %.fold.split ]
  ret i32 %.0
}

attributes #0 = { alwaysinline nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 80}
!6 = !{!"", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 76, !11, i64 80}
!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, !11, i64 48, !11, i64 52, !11, i64 56}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !11, i64 76}
!13 = !{!6, !11, i64 16}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"short", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


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