; LLVM IR from caryll/otfcc :: lib/support/ttinstr (ttinstr)

; 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.instrdata = type { ptr, i32, ptr }
%struct.otfcc_Options = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr }

@ff_ttf_instrnames = external dso_local global [256 x ptr], align 16

; Function Attrs: nounwind uwtable
define dso_local ptr @dump_ttinstr(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.instrdata, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %13 = load ptr, ptr %7, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.otfcc_Options, ptr %13, i32 0, i32 10
  %15 = load i8, ptr %14, align 2, !tbaa !11, !range !14, !noundef !15
  %16 = trunc i8 %15 to i1
  br i1 %16, label %17, label %26

17:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = load i32, ptr %6, align 4, !tbaa !9
  %20 = zext i32 %19 to i64
  %21 = call ptr @base64_encode(ptr noundef %18, i64 noundef %20, ptr noundef %8)
  store ptr %21, ptr %9, align 8, !tbaa !5
  %22 = load i64, ptr %8, align 8, !tbaa !16
  %23 = trunc i64 %22 to i32
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = call ptr @json_string_new_length(i32 noundef %23, ptr noundef %24)
  store ptr %25, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %129

26:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 24, i1 false)
  %27 = load i32, ptr %6, align 4, !tbaa !9
  %28 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 1
  store i32 %27, ptr %28, align 8, !tbaa !18
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 0
  store ptr %29, ptr %30, align 8, !tbaa !20
  %31 = call i32 @instr_typify(ptr noundef %10)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %32 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 1
  %33 = load i32, ptr %32, align 8, !tbaa !18
  %34 = zext i32 %33 to i64
  %35 = call ptr @json_array_new(i64 noundef %34)
  store ptr %35, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %36

36:                                               ; preds = %120, %26
  %37 = load i32, ptr %12, align 4, !tbaa !9
  %38 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 1
  %39 = load i32, ptr %38, align 8, !tbaa !18
  %40 = icmp ult i32 %37, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %123

42:                                               ; preds = %36
  %43 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !21
  %45 = load i32, ptr %12, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds i8, ptr %44, i64 %46
  %48 = load i8, ptr %47, align 1, !tbaa !22
  %49 = zext i8 %48 to i32
  %50 = icmp eq i32 %49, 3
  br i1 %50, label %51, label %76

51:                                               ; preds = %42
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !20
  %55 = load i32, ptr %12, align 4, !tbaa !9
  %56 = zext i32 %55 to i64
  %57 = getelementptr inbounds i8, ptr %54, i64 %56
  %58 = load i8, ptr %57, align 1, !tbaa !22
  %59 = zext i8 %58 to i32
  %60 = shl i32 %59, 8
  %61 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !20
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = add i32 %63, 1
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i8, ptr %62, i64 %65
  %67 = load i8, ptr %66, align 1, !tbaa !22
  %68 = zext i8 %67 to i32
  %69 = or i32 %60, %68
  %70 = trunc i32 %69 to i16
  %71 = sext i16 %70 to i64
  %72 = call ptr @json_integer_new(i64 noundef %71)
  %73 = call ptr @json_array_push(ptr noundef %52, ptr noundef %72)
  %74 = load i32, ptr %12, align 4, !tbaa !9
  %75 = add i32 %74, 1
  store i32 %75, ptr %12, align 4, !tbaa !9
  br label %119

76:                                               ; preds = %42
  %77 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 2
  %78 = load ptr, ptr %77, align 8, !tbaa !21
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = getelementptr inbounds i8, ptr %78, i64 %80
  %82 = load i8, ptr %81, align 1, !tbaa !22
  %83 = zext i8 %82 to i32
  %84 = icmp eq i32 %83, 1
  br i1 %84, label %94, label %85

85:                                               ; preds = %76
  %86 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !21
  %88 = load i32, ptr %12, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds i8, ptr %87, i64 %89
  %91 = load i8, ptr %90, align 1, !tbaa !22
  %92 = zext i8 %91 to i32
  %93 = icmp eq i32 %92, 2
  br i1 %93, label %94, label %105

94:                                               ; preds = %85, %76
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8, !tbaa !20
  %98 = load i32, ptr %12, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds i8, ptr %97, i64 %99
  %101 = load i8, ptr %100, align 1, !tbaa !22
  %102 = zext i8 %101 to i64
  %103 = call ptr @json_integer_new(i64 noundef %102)
  %104 = call ptr @json_array_push(ptr noundef %95, ptr noundef %103)
  br label %118

105:                                              ; preds = %85
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !20
  %109 = load i32, ptr %12, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds i8, ptr %108, i64 %110
  %112 = load i8, ptr %111, align 1, !tbaa !22
  %113 = zext i8 %112 to i64
  %114 = getelementptr inbounds [256 x ptr], ptr @ff_ttf_instrnames, i64 0, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  %116 = call ptr @json_string_new(ptr noundef %115)
  %117 = call ptr @json_array_push(ptr noundef %106, ptr noundef %116)
  br label %118

118:                                              ; preds = %105, %94
  br label %119

119:                                              ; preds = %118, %51
  br label %120

120:                                              ; preds = %119
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = add i32 %121, 1
  store i32 %122, ptr %12, align 4, !tbaa !9
  br label %36, !llvm.loop !23

123:                                              ; preds = %41
  %124 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 2
  %125 = load ptr, ptr %124, align 8, !tbaa !21
  call void @free(ptr noundef %125) #6
  %126 = getelementptr inbounds %struct.instrdata, ptr %10, i32 0, i32 2
  store ptr null, ptr %126, align 8, !tbaa !21
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = call ptr @preserialize(ptr noundef %127)
  store ptr %128, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  br label %129

129:                                              ; preds = %123, %17
  %130 = load ptr, ptr %4, align 8
  ret ptr %130
}

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

declare ptr @base64_encode(ptr noundef, i64 noundef, ptr noundef) #2

declare ptr @json_string_new_length(i32 noundef, ptr noundef) #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @instr_typify(ptr noundef) #0

declare ptr @json_array_new(i64 noundef) #2

declare ptr @json_array_push(ptr noundef, ptr noundef) #2

declare ptr @json_integer_new(i64 noundef) #2

declare ptr @json_string_new(ptr noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @preserialize(ptr noundef) #5

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { inlinehint 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 #6 = { 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, !13, i64 10}
!12 = !{!"", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !13, i64 8, !13, i64 9, !13, i64 10, !13, i64 11, !13, i64 12, !13, i64 13, !13, i64 14, !13, i64 15, !13, i64 16, !13, i64 17, !13, i64 18, !13, i64 19, !13, i64 20, !13, i64 21, !13, i64 22, !6, i64 24, !6, i64 32}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!19, !10, i64 8}
!19 = !{!"instrdata", !6, i64 0, !10, i64 8, !6, i64 16}
!20 = !{!19, !6, i64 0}
!21 = !{!19, !6, i64 16}
!22 = !{!7, !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"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.instrdata = type { ptr, i32, ptr }

@ff_ttf_instrnames = external dso_local local_unnamed_addr global [256 x ptr], align 16

; Function Attrs: nounwind uwtable
define dso_local ptr @dump_ttinstr(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
  %4 = alloca i64, align 8
  %5 = alloca %struct.instrdata, align 8
  %6 = getelementptr inbounds i8, ptr %2, i64 10
  %7 = load i8, ptr %6, align 2, !tbaa !5, !range !11, !noundef !12
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %9, label %15

9:                                                ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  store i64 0, ptr %4, align 8, !tbaa !13
  %10 = zext i32 %1 to i64
  %11 = call ptr @base64_encode(ptr noundef %0, i64 noundef %10, ptr noundef nonnull %4) #6
  %12 = load i64, ptr %4, align 8, !tbaa !13
  %13 = trunc i64 %12 to i32
  %14 = call ptr @json_string_new_length(i32 noundef %13, ptr noundef %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %65

15:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  %16 = getelementptr inbounds i8, ptr %5, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %16, i8 0, i64 16, i1 false)
  %17 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %1, ptr %17, align 8, !tbaa !15
  store ptr %0, ptr %5, align 8, !tbaa !18
  %18 = call i32 @instr_typify(ptr noundef nonnull %5)
  %19 = load i32, ptr %17, align 8, !tbaa !15
  %20 = zext i32 %19 to i64
  %21 = call ptr @json_array_new(i64 noundef %20) #6
  %22 = load i32, ptr %17, align 8, !tbaa !15
  %.not = icmp eq i32 %22, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %15
  %23 = getelementptr inbounds i8, ptr %5, i64 16
  br label %27

._crit_edge:                                      ; preds = %60, %15
  %24 = getelementptr inbounds i8, ptr %5, i64 16
  %25 = load ptr, ptr %24, align 8, !tbaa !19
  call void @free(ptr noundef %25) #6
  store ptr null, ptr %24, align 8, !tbaa !19
  %26 = call ptr @preserialize(ptr noundef %21)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  br label %65

27:                                               ; preds = %.lr.ph, %60
  %.022 = phi i32 [ 0, %.lr.ph ], [ %62, %60 ]
  %28 = load ptr, ptr %23, align 8, !tbaa !19
  %29 = zext i32 %.022 to i64
  %30 = getelementptr inbounds i8, ptr %28, i64 %29
  %31 = load i8, ptr %30, align 1, !tbaa !20
  switch i8 %31, label %52 [
    i8 3, label %32
    i8 1, label %46
    i8 2, label %46
  ]

32:                                               ; preds = %27
  %33 = load ptr, ptr %5, align 8, !tbaa !18
  %34 = getelementptr inbounds i8, ptr %33, i64 %29
  %35 = load i8, ptr %34, align 1, !tbaa !20
  %36 = zext i8 %35 to i16
  %37 = shl nuw i16 %36, 8
  %38 = add nuw i32 %.022, 1
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds i8, ptr %33, i64 %39
  %41 = load i8, ptr %40, align 1, !tbaa !20
  %42 = zext i8 %41 to i16
  %43 = or disjoint i16 %37, %42
  %44 = sext i16 %43 to i64
  %45 = call ptr @json_integer_new(i64 noundef %44) #6
  br label %60

46:                                               ; preds = %27, %27
  %47 = load ptr, ptr %5, align 8, !tbaa !18
  %48 = getelementptr inbounds i8, ptr %47, i64 %29
  %49 = load i8, ptr %48, align 1, !tbaa !20
  %50 = zext i8 %49 to i64
  %51 = call ptr @json_integer_new(i64 noundef %50) #6
  br label %60

52:                                               ; preds = %27
  %53 = load ptr, ptr %5, align 8, !tbaa !18
  %54 = getelementptr inbounds i8, ptr %53, i64 %29
  %55 = load i8, ptr %54, align 1, !tbaa !20
  %56 = zext i8 %55 to i64
  %57 = getelementptr inbounds [256 x ptr], ptr @ff_ttf_instrnames, i64 0, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = call ptr @json_string_new(ptr noundef %58) #6
  br label %60

60:                                               ; preds = %32, %52, %46
  %.sink = phi ptr [ %45, %32 ], [ %59, %52 ], [ %51, %46 ]
  %.1 = phi i32 [ %38, %32 ], [ %.022, %52 ], [ %.022, %46 ]
  %61 = call ptr @json_array_push(ptr noundef %21, ptr noundef %.sink) #6
  %62 = add i32 %.1, 1
  %63 = load i32, ptr %17, align 8, !tbaa !15
  %64 = icmp ult i32 %62, %63
  br i1 %64, label %27, label %._crit_edge, !llvm.loop !22

65:                                               ; preds = %._crit_edge, %9
  %.020 = phi ptr [ %14, %9 ], [ %26, %._crit_edge ]
  ret ptr %.020
}

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

declare ptr @base64_encode(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare ptr @json_string_new_length(i32 noundef, ptr noundef) local_unnamed_addr #2

; 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: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @instr_typify(ptr noundef) local_unnamed_addr #0

declare ptr @json_array_new(i64 noundef) local_unnamed_addr #2

declare ptr @json_array_push(ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @json_integer_new(i64 noundef) local_unnamed_addr #2

declare ptr @json_string_new(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @preserialize(ptr noundef) local_unnamed_addr #5

attributes #0 = { 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 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #5 = { inlinehint 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 #6 = { 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 10}
!6 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !7, i64 20, !7, i64 21, !7, i64 22, !10, i64 24, !10, i64 32}
!7 = !{!"_Bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !17, i64 8}
!16 = !{!"instrdata", !10, i64 0, !17, i64 8, !10, i64 16}
!17 = !{!"int", !8, i64 0}
!18 = !{!16, !10, i64 0}
!19 = !{!16, !10, i64 16}
!20 = !{!8, !8, i64 0}
!21 = !{!10, !10, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass