; LLVM IR from themisvaltinos/Partitioned-Hash-Join :: tests (test_optimizer)

; 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.relation_statistics = type { ptr, i32 }
%struct.column_statistics = type { i32, i32, i32, i32 }
%struct.relation = type { ptr, i64, i64 }

@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [49 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @acutest_check_(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #0

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

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

; Function Attrs: noreturn nounwind uwtable
declare dso_local void @acutest_abort_() #2

; Function Attrs: nounwind uwtable
define dso_local void @testGatherStatistics() #0 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  %3 = call ptr @loadRelation(ptr noundef @.str.41)
  store ptr %3, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %4 = load ptr, ptr %1, align 8, !tbaa !5
  %5 = call ptr @gatherStatistics(ptr noundef %4)
  store ptr %5, ptr %2, align 8, !tbaa !5
  br label %6

6:                                                ; preds = %0
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.relation_statistics, ptr %7, i32 0, i32 1
  %9 = load i32, ptr %8, align 8, !tbaa !9
  %10 = icmp eq i32 %9, 3
  %11 = zext i1 %10 to i32
  %12 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %11, ptr noundef @.str.36, i32 noundef 59, ptr noundef @.str.5, ptr noundef @.str.42)
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %15, label %14

14:                                               ; preds = %6
  call void @acutest_abort_() #6
  unreachable

15:                                               ; preds = %6
  br label %16

16:                                               ; preds = %15
  br label %17

17:                                               ; preds = %16
  br label %18

18:                                               ; preds = %17
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.relation_statistics, ptr %19, i32 0, i32 0
  %21 = load ptr, ptr %20, align 8, !tbaa !12
  %22 = getelementptr inbounds %struct.column_statistics, ptr %21, i64 0
  %23 = getelementptr inbounds %struct.column_statistics, ptr %22, i32 0, i32 2
  %24 = load i32, ptr %23, align 4, !tbaa !13
  %25 = icmp eq i32 %24, 1561
  %26 = zext i1 %25 to i32
  %27 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %26, ptr noundef @.str.36, i32 noundef 60, ptr noundef @.str.5, ptr noundef @.str.43)
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %30, label %29

29:                                               ; preds = %18
  call void @acutest_abort_() #6
  unreachable

30:                                               ; preds = %18
  br label %31

31:                                               ; preds = %30
  br label %32

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.relation_statistics, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !12
  %37 = getelementptr inbounds %struct.column_statistics, ptr %36, i64 1
  %38 = getelementptr inbounds %struct.column_statistics, ptr %37, i32 0, i32 2
  %39 = load i32, ptr %38, align 4, !tbaa !13
  %40 = icmp eq i32 %39, 1561
  %41 = zext i1 %40 to i32
  %42 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %41, ptr noundef @.str.36, i32 noundef 61, ptr noundef @.str.5, ptr noundef @.str.44)
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %45, label %44

44:                                               ; preds = %33
  call void @acutest_abort_() #6
  unreachable

45:                                               ; preds = %33
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  br label %48

48:                                               ; preds = %47
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.relation_statistics, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !12
  %52 = getelementptr inbounds %struct.column_statistics, ptr %51, i64 2
  %53 = getelementptr inbounds %struct.column_statistics, ptr %52, i32 0, i32 2
  %54 = load i32, ptr %53, align 4, !tbaa !13
  %55 = icmp eq i32 %54, 1561
  %56 = zext i1 %55 to i32
  %57 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %56, ptr noundef @.str.36, i32 noundef 62, ptr noundef @.str.5, ptr noundef @.str.45)
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %60, label %59

59:                                               ; preds = %48
  call void @acutest_abort_() #6
  unreachable

60:                                               ; preds = %48
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.relation_statistics, ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !12
  %67 = getelementptr inbounds %struct.column_statistics, ptr %66, i64 0
  %68 = getelementptr inbounds %struct.column_statistics, ptr %67, i32 0, i32 0
  %69 = load i32, ptr %68, align 4, !tbaa !15
  %70 = icmp eq i32 %69, 1
  %71 = zext i1 %70 to i32
  %72 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %71, ptr noundef @.str.36, i32 noundef 65, ptr noundef @.str.5, ptr noundef @.str.46)
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %75, label %74

74:                                               ; preds = %63
  call void @acutest_abort_() #6
  unreachable

75:                                               ; preds = %63
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.relation_statistics, ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !12
  %82 = getelementptr inbounds %struct.column_statistics, ptr %81, i64 1
  %83 = getelementptr inbounds %struct.column_statistics, ptr %82, i32 0, i32 1
  %84 = load i32, ptr %83, align 4, !tbaa !16
  %85 = icmp eq i32 %84, 10262
  %86 = zext i1 %85 to i32
  %87 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %86, ptr noundef @.str.36, i32 noundef 66, ptr noundef @.str.5, ptr noundef @.str.47)
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %90, label %89

89:                                               ; preds = %78
  call void @acutest_abort_() #6
  unreachable

90:                                               ; preds = %78
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  br label %93

93:                                               ; preds = %92
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.relation_statistics, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !12
  %97 = getelementptr inbounds %struct.column_statistics, ptr %96, i64 0
  %98 = getelementptr inbounds %struct.column_statistics, ptr %97, i32 0, i32 3
  %99 = load i32, ptr %98, align 4, !tbaa !17
  %100 = icmp eq i32 %99, 1561
  %101 = zext i1 %100 to i32
  %102 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %101, ptr noundef @.str.36, i32 noundef 69, ptr noundef @.str.5, ptr noundef @.str.48)
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %105, label %104

104:                                              ; preds = %93
  call void @acutest_abort_() #6
  unreachable

105:                                              ; preds = %93
  br label %106

106:                                              ; preds = %105
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107
  %109 = load ptr, ptr %2, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.relation_statistics, ptr %109, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8, !tbaa !12
  %112 = getelementptr inbounds %struct.column_statistics, ptr %111, i64 1
  %113 = getelementptr inbounds %struct.column_statistics, ptr %112, i32 0, i32 3
  %114 = load i32, ptr %113, align 4, !tbaa !17
  %115 = icmp eq i32 %114, 1365
  %116 = zext i1 %115 to i32
  %117 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %116, ptr noundef @.str.36, i32 noundef 70, ptr noundef @.str.5, ptr noundef @.str.49)
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %120, label %119

119:                                              ; preds = %108
  call void @acutest_abort_() #6
  unreachable

120:                                              ; preds = %108
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  %124 = load ptr, ptr %2, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.relation_statistics, ptr %124, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8, !tbaa !12
  %127 = getelementptr inbounds %struct.column_statistics, ptr %126, i64 2
  %128 = getelementptr inbounds %struct.column_statistics, ptr %127, i32 0, i32 3
  %129 = load i32, ptr %128, align 4, !tbaa !17
  %130 = icmp eq i32 %129, 1431
  %131 = zext i1 %130 to i32
  %132 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %131, ptr noundef @.str.36, i32 noundef 71, ptr noundef @.str.5, ptr noundef @.str.50)
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %135, label %134

134:                                              ; preds = %123
  call void @acutest_abort_() #6
  unreachable

135:                                              ; preds = %123
  br label %136

136:                                              ; preds = %135
  br label %137

137:                                              ; preds = %136
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.relation_statistics, ptr %138, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8, !tbaa !12
  call void @free(ptr noundef %140) #5
  %141 = load ptr, ptr %2, align 8, !tbaa !5
  call void @free(ptr noundef %141) #5
  %142 = load ptr, ptr %1, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.relation, ptr %142, i32 0, i32 0
  %144 = load ptr, ptr %143, align 8, !tbaa !18
  call void @free(ptr noundef %144) #5
  %145 = load ptr, ptr %1, align 8, !tbaa !5
  call void @free(ptr noundef %145) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  ret void
}

declare ptr @loadRelation(ptr noundef) #3

declare ptr @gatherStatistics(ptr noundef) #3

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

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 = { noreturn 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 = { "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 = { 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 = { nounwind }
attributes #6 = { noreturn }

!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, !11, i64 8}
!10 = !{!"relation_statistics", !6, i64 0, !11, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!14, !11, i64 8}
!14 = !{!"column_statistics", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!15 = !{!14, !11, i64 0}
!16 = !{!14, !11, i64 4}
!17 = !{!14, !11, i64 12}
!18 = !{!19, !6, i64 0}
!19 = !{!"relation", !6, i64 0, !20, i64 8, !20, i64 16}
!20 = !{!"long", !7, i64 0}


; 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.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [49 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @acutest_check_(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: noreturn nounwind uwtable
declare dso_local void @acutest_abort_() local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @testGatherStatistics() local_unnamed_addr #0 {
  %1 = tail call ptr @loadRelation(ptr noundef nonnull @.str.41) #4
  %2 = tail call ptr @gatherStatistics(ptr noundef %1) #4
  %3 = getelementptr inbounds i8, ptr %2, i64 8
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = icmp eq i32 %4, 3
  %6 = zext i1 %5 to i32
  %7 = tail call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %6, ptr noundef nonnull @.str.36, i32 noundef 59, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.42)
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %8, label %9

8:                                                ; preds = %0
  tail call void @acutest_abort_() #5
  unreachable

9:                                                ; preds = %0
  %10 = load ptr, ptr %2, align 8, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  %12 = load i32, ptr %11, align 4, !tbaa !12
  %13 = icmp eq i32 %12, 1561
  %14 = zext i1 %13 to i32
  %15 = tail call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %14, ptr noundef nonnull @.str.36, i32 noundef 60, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.43)
  %.not14 = icmp eq i32 %15, 0
  br i1 %.not14, label %16, label %17

16:                                               ; preds = %9
  tail call void @acutest_abort_() #5
  unreachable

17:                                               ; preds = %9
  %18 = load ptr, ptr %2, align 8, !tbaa !11
  %19 = getelementptr inbounds i8, ptr %18, i64 24
  %20 = load i32, ptr %19, align 4, !tbaa !12
  %21 = icmp eq i32 %20, 1561
  %22 = zext i1 %21 to i32
  %23 = tail call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %22, ptr noundef nonnull @.str.36, i32 noundef 61, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.44)
  %.not15 = icmp eq i32 %23, 0
  br i1 %.not15, label %24, label %25

24:                                               ; preds = %17
  tail call void @acutest_abort_() #5
  unreachable

25:                                               ; preds = %17
  %26 = load ptr, ptr %2, align 8, !tbaa !11
  %27 = getelementptr inbounds i8, ptr %26, i64 40
  %28 = load i32, ptr %27, align 4, !tbaa !12
  %29 = icmp eq i32 %28, 1561
  %30 = zext i1 %29 to i32
  %31 = tail call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %30, ptr noundef nonnull @.str.36, i32 noundef 62, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.45)
  %.not16 = icmp eq i32 %31, 0
  br i1 %.not16, label %32, label %33

32:                                               ; preds = %25
  tail call void @acutest_abort_() #5
  unreachable

33:                                               ; preds = %25
  %34 = load ptr, ptr %2, align 8, !tbaa !11
  %35 = load i32, ptr %34, align 4, !tbaa !14
  %36 = icmp eq i32 %35, 1
  %37 = zext i1 %36 to i32
  %38 = tail call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %37, ptr noundef nonnull @.str.36, i32 noundef 65, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.46)
  %.not17 = icmp eq i32 %38, 0
  br i1 %.not17, label %39, label %40

39:                                               ; preds = %33
  tail call void @acutest_abort_() #5
  unreachable

40:                                               ; preds = %33
  %41 = load ptr, ptr %2, align 8, !tbaa !11
  %42 = getelementptr inbounds i8, ptr %41, i64 20
  %43 = load i32, ptr %42, align 4, !tbaa !15
  %44 = icmp eq i32 %43, 10262
  %45 = zext i1 %44 to i32
  %46 = tail call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %45, ptr noundef nonnull @.str.36, i32 noundef 66, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.47)
  %.not18 = icmp eq i32 %46, 0
  br i1 %.not18, label %47, label %48

47:                                               ; preds = %40
  tail call void @acutest_abort_() #5
  unreachable

48:                                               ; preds = %40
  %49 = load ptr, ptr %2, align 8, !tbaa !11
  %50 = getelementptr inbounds i8, ptr %49, i64 12
  %51 = load i32, ptr %50, align 4, !tbaa !16
  %52 = icmp eq i32 %51, 1561
  %53 = zext i1 %52 to i32
  %54 = tail call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %53, ptr noundef nonnull @.str.36, i32 noundef 69, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.48)
  %.not19 = icmp eq i32 %54, 0
  br i1 %.not19, label %55, label %56

55:                                               ; preds = %48
  tail call void @acutest_abort_() #5
  unreachable

56:                                               ; preds = %48
  %57 = load ptr, ptr %2, align 8, !tbaa !11
  %58 = getelementptr inbounds i8, ptr %57, i64 28
  %59 = load i32, ptr %58, align 4, !tbaa !16
  %60 = icmp eq i32 %59, 1365
  %61 = zext i1 %60 to i32
  %62 = tail call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %61, ptr noundef nonnull @.str.36, i32 noundef 70, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.49)
  %.not20 = icmp eq i32 %62, 0
  br i1 %.not20, label %63, label %64

63:                                               ; preds = %56
  tail call void @acutest_abort_() #5
  unreachable

64:                                               ; preds = %56
  %65 = load ptr, ptr %2, align 8, !tbaa !11
  %66 = getelementptr inbounds i8, ptr %65, i64 44
  %67 = load i32, ptr %66, align 4, !tbaa !16
  %68 = icmp eq i32 %67, 1431
  %69 = zext i1 %68 to i32
  %70 = tail call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %69, ptr noundef nonnull @.str.36, i32 noundef 71, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.50)
  %.not21 = icmp eq i32 %70, 0
  br i1 %.not21, label %71, label %72

71:                                               ; preds = %64
  tail call void @acutest_abort_() #5
  unreachable

72:                                               ; preds = %64
  %73 = load ptr, ptr %2, align 8, !tbaa !11
  tail call void @free(ptr noundef %73) #4
  tail call void @free(ptr noundef nonnull %2) #4
  %74 = load ptr, ptr %1, align 8, !tbaa !17
  tail call void @free(ptr noundef %74) #4
  tail call void @free(ptr noundef %1) #4
  ret void
}

declare ptr @loadRelation(ptr noundef) local_unnamed_addr #2

declare ptr @gatherStatistics(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 #3

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 = { noreturn 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 = { "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 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 #4 = { nounwind }
attributes #5 = { noreturn }

!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, !10, i64 8}
!6 = !{!"relation_statistics", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 8}
!13 = !{!"column_statistics", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!14 = !{!13, !10, i64 0}
!15 = !{!13, !10, i64 4}
!16 = !{!13, !10, i64 12}
!17 = !{!18, !7, i64 0}
!18 = !{!"relation", !7, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"long", !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass