; LLVM IR from wichue/nethello :: src/base/local_time.ll (ZN3chw18no_locks_localtimeEP2tml)

; 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.tm = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, ptr }

@_ZN3chwL17_current_timezoneE = external hidden global i64, align 8
@__const._ZN3chw18no_locks_localtimeEP2tml.mdays = external hidden unnamed_addr constant [12 x i32], align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3chw19get_daylight_activeEv() #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3chw18no_locks_localtimeEP2tml(ptr noundef %0, i64 noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca [12 x i32], align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store i64 60, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 3600, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 86400, ptr %7, align 8, !tbaa !9
  %13 = load i64, ptr @_ZN3chwL17_current_timezoneE, align 8, !tbaa !9
  %14 = load i64, ptr %4, align 8, !tbaa !9
  %15 = sub nsw i64 %14, %13
  store i64 %15, ptr %4, align 8, !tbaa !9
  %16 = call noundef i32 @_ZN3chw19get_daylight_activeEv()
  %17 = mul nsw i32 3600, %16
  %18 = sext i32 %17 to i64
  %19 = load i64, ptr %4, align 8, !tbaa !9
  %20 = add nsw i64 %19, %18
  store i64 %20, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %21 = load i64, ptr %4, align 8, !tbaa !9
  %22 = sdiv i64 %21, 86400
  store i64 %22, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %23 = load i64, ptr %4, align 8, !tbaa !9
  %24 = srem i64 %23, 86400
  store i64 %24, ptr %9, align 8, !tbaa !9
  %25 = call noundef i32 @_ZN3chw19get_daylight_activeEv()
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.tm, ptr %26, i32 0, i32 8
  store i32 %25, ptr %27, align 8, !tbaa !11
  %28 = load i64, ptr %9, align 8, !tbaa !9
  %29 = sdiv i64 %28, 3600
  %30 = trunc i64 %29 to i32
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.tm, ptr %31, i32 0, i32 2
  store i32 %30, ptr %32, align 8, !tbaa !14
  %33 = load i64, ptr %9, align 8, !tbaa !9
  %34 = srem i64 %33, 3600
  %35 = sdiv i64 %34, 60
  %36 = trunc i64 %35 to i32
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.tm, ptr %37, i32 0, i32 1
  store i32 %36, ptr %38, align 4, !tbaa !15
  %39 = load i64, ptr %9, align 8, !tbaa !9
  %40 = srem i64 %39, 3600
  %41 = srem i64 %40, 60
  %42 = trunc i64 %41 to i32
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.tm, ptr %43, i32 0, i32 0
  store i32 %42, ptr %44, align 8, !tbaa !16
  %45 = load i64, ptr @_ZN3chwL17_current_timezoneE, align 8, !tbaa !9
  %46 = sub nsw i64 0, %45
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.tm, ptr %47, i32 0, i32 9
  store i64 %46, ptr %48, align 8, !tbaa !17
  %49 = load i64, ptr %8, align 8, !tbaa !9
  %50 = add nsw i64 %49, 4
  %51 = srem i64 %50, 7
  %52 = trunc i64 %51 to i32
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.tm, ptr %53, i32 0, i32 6
  store i32 %52, ptr %54, align 8, !tbaa !18
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.tm, ptr %55, i32 0, i32 5
  store i32 1970, ptr %56, align 4, !tbaa !19
  br label %57

57:                                               ; preds = %80, %2
  br label %58

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.tm, ptr %59, i32 0, i32 5
  %61 = load i32, ptr %60, align 4, !tbaa !19
  %62 = sext i32 %61 to i64
  %63 = call noundef i32 @_ZN3chwL12is_leap_yearEl(i64 noundef %62)
  %64 = add nsw i32 365, %63
  %65 = sext i32 %64 to i64
  store i64 %65, ptr %10, align 8, !tbaa !9
  %66 = load i64, ptr %10, align 8, !tbaa !9
  %67 = load i64, ptr %8, align 8, !tbaa !9
  %68 = icmp sgt i64 %66, %67
  br i1 %68, label %69, label %70

69:                                               ; preds = %58
  store i32 3, ptr %11, align 4
  br label %78

70:                                               ; preds = %58
  %71 = load i64, ptr %10, align 8, !tbaa !9
  %72 = load i64, ptr %8, align 8, !tbaa !9
  %73 = sub nsw i64 %72, %71
  store i64 %73, ptr %8, align 8, !tbaa !9
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.tm, ptr %74, i32 0, i32 5
  %76 = load i32, ptr %75, align 4, !tbaa !19
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %75, align 4, !tbaa !19
  store i32 0, ptr %11, align 4
  br label %78

78:                                               ; preds = %70, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %79 = load i32, ptr %11, align 4
  switch i32 %79, label %130 [
    i32 0, label %80
    i32 3, label %81
  ]

80:                                               ; preds = %78
  br label %57, !llvm.loop !20

81:                                               ; preds = %78
  %82 = load i64, ptr %8, align 8, !tbaa !9
  %83 = trunc i64 %82 to i32
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.tm, ptr %84, i32 0, i32 7
  store i32 %83, ptr %85, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const._ZN3chw18no_locks_localtimeEP2tml.mdays, i64 48, i1 false)
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.tm, ptr %86, i32 0, i32 5
  %88 = load i32, ptr %87, align 4, !tbaa !19
  %89 = sext i32 %88 to i64
  %90 = call noundef i32 @_ZN3chwL12is_leap_yearEl(i64 noundef %89)
  %91 = getelementptr inbounds [12 x i32], ptr %12, i64 0, i64 1
  %92 = load i32, ptr %91, align 4, !tbaa !23
  %93 = add nsw i32 %92, %90
  store i32 %93, ptr %91, align 4, !tbaa !23
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.tm, ptr %94, i32 0, i32 4
  store i32 0, ptr %95, align 8, !tbaa !24
  br label %96

96:                                               ; preds = %106, %81
  %97 = load i64, ptr %8, align 8, !tbaa !9
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.tm, ptr %98, i32 0, i32 4
  %100 = load i32, ptr %99, align 8, !tbaa !24
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [12 x i32], ptr %12, i64 0, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !23
  %104 = sext i32 %103 to i64
  %105 = icmp sge i64 %97, %104
  br i1 %105, label %106, label %120

106:                                              ; preds = %96
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.tm, ptr %107, i32 0, i32 4
  %109 = load i32, ptr %108, align 8, !tbaa !24
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [12 x i32], ptr %12, i64 0, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !23
  %113 = sext i32 %112 to i64
  %114 = load i64, ptr %8, align 8, !tbaa !9
  %115 = sub nsw i64 %114, %113
  store i64 %115, ptr %8, align 8, !tbaa !9
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.tm, ptr %116, i32 0, i32 4
  %118 = load i32, ptr %117, align 8, !tbaa !24
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %117, align 8, !tbaa !24
  br label %96, !llvm.loop !25

120:                                              ; preds = %96
  %121 = load i64, ptr %8, align 8, !tbaa !9
  %122 = add nsw i64 %121, 1
  %123 = trunc i64 %122 to i32
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.tm, ptr %124, i32 0, i32 3
  store i32 %123, ptr %125, align 4, !tbaa !26
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.tm, ptr %126, i32 0, i32 5
  %128 = load i32, ptr %127, align 4, !tbaa !19
  %129 = sub nsw i32 %128, 1900
  store i32 %129, ptr %127, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void

130:                                              ; preds = %78
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN3chwL12is_leap_yearEl(i64 noundef) #0

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

@_ZN3chwL17_current_timezoneE = external hidden local_unnamed_addr global i64, align 8
@__const._ZN3chw18no_locks_localtimeEP2tml.mdays = external hidden unnamed_addr constant [12 x i32], align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3chw19get_daylight_activeEv() local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN3chw18no_locks_localtimeEP2tml(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 {
  %3 = alloca [12 x i32], align 16
  %4 = load i64, ptr @_ZN3chwL17_current_timezoneE, align 8, !tbaa !5
  %5 = sub nsw i64 %1, %4
  %6 = tail call noundef i32 @_ZN3chw19get_daylight_activeEv()
  %7 = mul nsw i32 %6, 3600
  %8 = sext i32 %7 to i64
  %9 = add nsw i64 %5, %8
  %10 = sdiv i64 %9, 86400
  %11 = srem i64 %9, 86400
  %12 = tail call noundef i32 @_ZN3chw19get_daylight_activeEv()
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %12, ptr %13, align 8, !tbaa !9
  %.lhs.trunc = trunc nsw i64 %11 to i32
  %14 = sdiv i32 %.lhs.trunc, 3600
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %14, ptr %15, align 8, !tbaa !13
  %16 = srem i32 %.lhs.trunc, 3600
  %.lhs.trunc42 = trunc nsw i32 %16 to i16
  %17 = sdiv i16 %.lhs.trunc42, 60
  %18 = sext i16 %17 to i32
  %19 = getelementptr inbounds i8, ptr %0, i64 4
  store i32 %18, ptr %19, align 4, !tbaa !14
  %20 = srem i16 %.lhs.trunc42, 60
  %21 = sext i16 %20 to i32
  store i32 %21, ptr %0, align 8, !tbaa !15
  %22 = load i64, ptr @_ZN3chwL17_current_timezoneE, align 8, !tbaa !5
  %23 = sub nsw i64 0, %22
  %24 = getelementptr inbounds i8, ptr %0, i64 40
  store i64 %23, ptr %24, align 8, !tbaa !16
  %25 = add nsw i64 %10, 4
  %26 = srem i64 %25, 7
  %27 = trunc nsw i64 %26 to i32
  %28 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %27, ptr %28, align 8, !tbaa !17
  %29 = getelementptr inbounds i8, ptr %0, i64 20
  store i32 1970, ptr %29, align 4, !tbaa !18
  %30 = tail call noundef i32 @_ZN3chwL12is_leap_yearEl(i64 noundef 1970)
  %31 = add nsw i32 %30, 365
  %32 = sext i32 %31 to i64
  %33 = icmp slt i64 %10, %32
  br i1 %33, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2, %.lr.ph
  %34 = phi i64 [ %41, %.lr.ph ], [ %32, %2 ]
  %.03347 = phi i64 [ %35, %.lr.ph ], [ %10, %2 ]
  %35 = sub nsw i64 %.03347, %34
  %36 = load i32, ptr %29, align 4, !tbaa !18
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %29, align 4, !tbaa !18
  %38 = sext i32 %37 to i64
  %39 = tail call noundef i32 @_ZN3chwL12is_leap_yearEl(i64 noundef %38)
  %40 = add nsw i32 %39, 365
  %41 = sext i32 %40 to i64
  %42 = icmp slt i64 %35, %41
  br i1 %42, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %2
  %.033.lcssa = phi i64 [ %10, %2 ], [ %35, %.lr.ph ]
  %43 = trunc i64 %.033.lcssa to i32
  %44 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %43, ptr %44, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #3
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %3, ptr noundef nonnull align 16 dereferenceable(48) @__const._ZN3chw18no_locks_localtimeEP2tml.mdays, i64 48, i1 false)
  %45 = load i32, ptr %29, align 4, !tbaa !18
  %46 = sext i32 %45 to i64
  %47 = tail call noundef i32 @_ZN3chwL12is_leap_yearEl(i64 noundef %46)
  %48 = getelementptr inbounds i8, ptr %3, i64 4
  %49 = load i32, ptr %48, align 4, !tbaa !20
  %50 = add nsw i32 %49, %47
  store i32 %50, ptr %48, align 4, !tbaa !20
  %51 = load i32, ptr %3, align 16, !tbaa !20
  %52 = sext i32 %51 to i64
  %.not48 = icmp slt i64 %.033.lcssa, %52
  br i1 %.not48, label %._crit_edge53, label %.lr.ph52

.lr.ph52:                                         ; preds = %._crit_edge, %.lr.ph52
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph52 ], [ 0, %._crit_edge ]
  %53 = phi i64 [ %57, %.lr.ph52 ], [ %52, %._crit_edge ]
  %.250 = phi i64 [ %54, %.lr.ph52 ], [ %.033.lcssa, %._crit_edge ]
  %54 = sub nsw i64 %.250, %53
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %55 = getelementptr inbounds [12 x i32], ptr %3, i64 0, i64 %indvars.iv.next
  %56 = load i32, ptr %55, align 4, !tbaa !20
  %57 = sext i32 %56 to i64
  %.not = icmp slt i64 %54, %57
  br i1 %.not, label %._crit_edge53.loopexit, label %.lr.ph52, !llvm.loop !21

._crit_edge53.loopexit:                           ; preds = %.lr.ph52
  %58 = trunc nuw nsw i64 %indvars.iv.next to i32
  %.pre = trunc i64 %54 to i32
  br label %._crit_edge53

._crit_edge53:                                    ; preds = %._crit_edge53.loopexit, %._crit_edge
  %.pre-phi = phi i32 [ %.pre, %._crit_edge53.loopexit ], [ %43, %._crit_edge ]
  %storemerge.lcssa = phi i32 [ %58, %._crit_edge53.loopexit ], [ 0, %._crit_edge ]
  %59 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %storemerge.lcssa, ptr %59, align 8, !tbaa !23
  %60 = add i32 %.pre-phi, 1
  %61 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %60, ptr %61, align 4, !tbaa !24
  %62 = load i32, ptr %29, align 4, !tbaa !18
  %63 = add nsw i32 %62, -1900
  store i32 %63, ptr %29, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #3
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN3chwL12is_leap_yearEl(i64 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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


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