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

; 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.query = type { i32, i32, i32, i32, [16 x %struct.join_predicate], [16 x %struct.filter_predicate], [16 x %struct.column] }
%struct.join_predicate = type { %struct.column, %struct.column }
%struct.column = type { i32, i32, i32 }
%struct.filter_predicate = type { %struct.column, i32, i32 }
%struct.relation = type { ptr, i64, i64 }

@.str.36 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [13 x i8], align 1
@l2size = external dso_local global i32, align 4
@.str.83 = external hidden unnamed_addr constant [40 x i8], align 1
@__PRETTY_FUNCTION__.testSigmodHarness = external hidden unnamed_addr constant [29 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [32 x i8], align 1

; 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 willreturn memory(read)
declare i64 @strlen(ptr noundef) #1

declare i32 @fclose(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @_compareFiles(ptr noundef, ptr noundef) #3

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

declare i32 @fgetc(ptr noundef) #2

declare ptr @memAlloc(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef) #2

declare ptr @parseQuery(ptr noundef) #2

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

declare void @destroyInters(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @testSigmodHarness() #3 {
  %1 = alloca ptr, align 8
  %2 = alloca [14 x ptr], align 16
  %3 = alloca [128 x i8], align 16
  %4 = alloca [1024 x i8], align 16
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = call i32 @getL2CacheSize()
  store i32 %18, ptr @l2size, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  %19 = call noalias ptr @fopen(ptr noundef @.str.83, ptr noundef @.str.36)
  store ptr %19, ptr %1, align 8, !tbaa !9
  %20 = load ptr, ptr %1, align 8, !tbaa !9
  %21 = icmp ne ptr %20, null
  br i1 %21, label %22, label %23

22:                                               ; preds = %0
  br label %24

23:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.54, ptr noundef @.str.38, i32 noundef 163, ptr noundef @__PRETTY_FUNCTION__.testSigmodHarness) #7
  unreachable

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 112, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 128, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 1024, ptr %4) #6
  %25 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
  %26 = call ptr @strcpy(ptr noundef %25, ptr noundef @.str.84) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %27 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
  %28 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
  %29 = call i64 @strlen(ptr noundef %28) #8
  %30 = getelementptr inbounds i8, ptr %27, i64 %29
  store ptr %30, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %55, %24
  %32 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %33 = load ptr, ptr %1, align 8, !tbaa !9
  %34 = call ptr @fgets(ptr noundef %32, i32 noundef 1024, ptr noundef %33)
  %35 = icmp ne ptr %34, null
  br i1 %35, label %37, label %36

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

37:                                               ; preds = %31
  %38 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %39 = call i64 @strlen(ptr noundef %38) #8
  %40 = sub i64 %39, 1
  %41 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 %40
  store i8 0, ptr %41, align 1, !tbaa !11
  %42 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %43 = call i64 @strlen(ptr noundef %42) #8
  %44 = icmp ugt i64 %43, 0
  br i1 %44, label %45, label %55

45:                                               ; preds = %37
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  %47 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
  %48 = call ptr @strcpy(ptr noundef %46, ptr noundef %47) #6
  %49 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
  %50 = call ptr @loadRelation(ptr noundef %49)
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = add i32 %51, 1
  store i32 %52, ptr %6, align 4, !tbaa !5
  %53 = zext i32 %51 to i64
  %54 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 %53
  store ptr %50, ptr %54, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %45, %37
  br label %31, !llvm.loop !12

56:                                               ; preds = %36
  %57 = load ptr, ptr %1, align 8, !tbaa !9
  %58 = call i32 @fclose(ptr noundef %57)
  %59 = call noalias ptr @fopen(ptr noundef @.str.85, ptr noundef @.str.36)
  store ptr %59, ptr %1, align 8, !tbaa !9
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %62

61:                                               ; preds = %56
  br label %63

62:                                               ; preds = %56
  call void @__assert_fail(ptr noundef @.str.86, ptr noundef @.str.38, i32 noundef 184, ptr noundef @__PRETTY_FUNCTION__.testSigmodHarness) #7
  unreachable

63:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %64 = call noalias ptr @fopen(ptr noundef @.str.87, ptr noundef @.str.88)
  store ptr %64, ptr %7, align 8, !tbaa !9
  %65 = load ptr, ptr %7, align 8, !tbaa !9
  %66 = icmp ne ptr %65, null
  br i1 %66, label %67, label %68

67:                                               ; preds = %63
  br label %69

68:                                               ; preds = %63
  call void @__assert_fail(ptr noundef @.str.89, ptr noundef @.str.38, i32 noundef 187, ptr noundef @__PRETTY_FUNCTION__.testSigmodHarness) #7
  unreachable

69:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %70 = call ptr @initializeScheduler(i64 noundef 4)
  store ptr %70, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  br label %71

71:                                               ; preds = %136, %69
  %72 = load ptr, ptr %1, align 8, !tbaa !9
  %73 = call i32 @fgetc(ptr noundef %72)
  store i32 %73, ptr %9, align 4, !tbaa !5
  %74 = icmp ne i32 %73, -1
  br i1 %74, label %76, label %75

75:                                               ; preds = %71
  store i32 4, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %137

76:                                               ; preds = %71
  %77 = load i32, ptr %9, align 4, !tbaa !5
  %78 = load ptr, ptr %1, align 8, !tbaa !9
  %79 = call i32 @ungetc(i32 noundef %77, ptr noundef %78)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  br label %80

80:                                               ; preds = %114, %76
  %81 = load ptr, ptr %1, align 8, !tbaa !9
  %82 = call i32 @fgetc(ptr noundef %81)
  store i32 %82, ptr %11, align 4, !tbaa !5
  %83 = icmp ne i32 %82, 70
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  store i32 6, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %136

85:                                               ; preds = %80
  %86 = load i32, ptr %11, align 4, !tbaa !5
  %87 = load ptr, ptr %1, align 8, !tbaa !9
  %88 = call i32 @ungetc(i32 noundef %86, ptr noundef %87)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %89 = load ptr, ptr %1, align 8, !tbaa !9
  %90 = call ptr @parseQuery(ptr noundef %89)
  store ptr %90, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %91 = load ptr, ptr %12, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.query, ptr %91, i32 0, i32 0
  %93 = load i32, ptr %92, align 4, !tbaa !14
  %94 = call ptr @memAlloc(i32 noundef 8, i32 noundef %93, i1 noundef zeroext true, ptr noundef null)
  store ptr %94, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %95 = load ptr, ptr %12, align 8, !tbaa !9
  %96 = getelementptr inbounds %struct.query, ptr %95, i32 0, i32 0
  %97 = load i32, ptr %96, align 4, !tbaa !14
  %98 = call ptr @memAlloc(i32 noundef 8, i32 noundef %97, i1 noundef zeroext true, ptr noundef null)
  store ptr %98, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  store i8 0, ptr %15, align 1, !tbaa !16
  %99 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 0
  %100 = load ptr, ptr %13, align 8, !tbaa !9
  %101 = load ptr, ptr %12, align 8, !tbaa !9
  %102 = call ptr @applyFilters(ptr noundef %99, ptr noundef %100, ptr noundef %101, ptr noundef %15)
  store ptr %102, ptr %13, align 8, !tbaa !9
  %103 = load i8, ptr %15, align 1, !tbaa !16, !range !18, !noundef !19
  %104 = trunc i8 %103 to i1
  %105 = zext i1 %104 to i32
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %107, label %114

107:                                              ; preds = %85
  %108 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 0
  %109 = load ptr, ptr %14, align 8, !tbaa !9
  %110 = load ptr, ptr %13, align 8, !tbaa !9
  %111 = load ptr, ptr %12, align 8, !tbaa !9
  %112 = load ptr, ptr %8, align 8, !tbaa !9
  %113 = call ptr @applyJoins(ptr noundef %108, ptr noundef %109, ptr noundef %110, ptr noundef %111, ptr noundef %15, ptr noundef %112)
  store ptr %113, ptr %14, align 8, !tbaa !9
  br label %114

114:                                              ; preds = %107, %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %115 = load ptr, ptr %14, align 8, !tbaa !9
  %116 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 0
  %117 = load ptr, ptr %12, align 8, !tbaa !9
  %118 = load i8, ptr %15, align 1, !tbaa !16, !range !18, !noundef !19
  %119 = trunc i8 %118 to i1
  %120 = call ptr @calculateChecksums(ptr noundef %115, ptr noundef %116, ptr noundef %117, i1 noundef zeroext %119)
  store ptr %120, ptr %16, align 8, !tbaa !9
  %121 = load ptr, ptr %7, align 8, !tbaa !9
  %122 = load ptr, ptr %16, align 8, !tbaa !9
  %123 = load ptr, ptr %12, align 8, !tbaa !9
  %124 = getelementptr inbounds %struct.query, ptr %123, i32 0, i32 3
  %125 = load i32, ptr %124, align 4, !tbaa !20
  call void @printChecksums(ptr noundef %121, ptr noundef %122, i32 noundef %125)
  %126 = load ptr, ptr %16, align 8, !tbaa !9
  call void @free(ptr noundef %126) #6
  %127 = load ptr, ptr %14, align 8, !tbaa !9
  %128 = load ptr, ptr %12, align 8, !tbaa !9
  %129 = getelementptr inbounds %struct.query, ptr %128, i32 0, i32 0
  %130 = load i32, ptr %129, align 4, !tbaa !14
  call void @destroyInters(ptr noundef %127, i32 noundef %130)
  %131 = load ptr, ptr %13, align 8, !tbaa !9
  %132 = load ptr, ptr %12, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct.query, ptr %132, i32 0, i32 0
  %134 = load i32, ptr %133, align 4, !tbaa !14
  call void @destroyInters(ptr noundef %131, i32 noundef %134)
  %135 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %135) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %80, !llvm.loop !21

136:                                              ; preds = %84
  br label %71, !llvm.loop !22

137:                                              ; preds = %75
  %138 = load ptr, ptr %8, align 8, !tbaa !9
  call void @destroyScheduler(ptr noundef %138)
  %139 = load ptr, ptr %7, align 8, !tbaa !9
  %140 = call i32 @fclose(ptr noundef %139)
  %141 = load ptr, ptr %1, align 8, !tbaa !9
  %142 = call i32 @fclose(ptr noundef %141)
  call void @_compareFiles(ptr noundef @.str.87, ptr noundef @.str.90)
  %143 = call i32 @remove(ptr noundef @.str.87) #6
  %144 = icmp ne i32 %143, -1
  br i1 %144, label %145, label %146

145:                                              ; preds = %137
  br label %147

146:                                              ; preds = %137
  call void @__assert_fail(ptr noundef @.str.91, ptr noundef @.str.38, i32 noundef 226, ptr noundef @__PRETTY_FUNCTION__.testSigmodHarness) #7
  unreachable

147:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %148

148:                                              ; preds = %170, %147
  %149 = load i32, ptr %17, align 4, !tbaa !5
  %150 = icmp ult i32 %149, 14
  br i1 %150, label %152, label %151

151:                                              ; preds = %148
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %173

152:                                              ; preds = %148
  %153 = load i32, ptr %17, align 4, !tbaa !5
  %154 = zext i32 %153 to i64
  %155 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 %154
  %156 = load ptr, ptr %155, align 8, !tbaa !9
  %157 = icmp ne ptr %156, null
  br i1 %157, label %158, label %169

158:                                              ; preds = %152
  %159 = load i32, ptr %17, align 4, !tbaa !5
  %160 = zext i32 %159 to i64
  %161 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 %160
  %162 = load ptr, ptr %161, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.relation, ptr %162, i32 0, i32 0
  %164 = load ptr, ptr %163, align 8, !tbaa !23
  call void @free(ptr noundef %164) #6
  %165 = load i32, ptr %17, align 4, !tbaa !5
  %166 = zext i32 %165 to i64
  %167 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 %166
  %168 = load ptr, ptr %167, align 8, !tbaa !9
  call void @free(ptr noundef %168) #6
  br label %169

169:                                              ; preds = %158, %152
  br label %170

170:                                              ; preds = %169
  %171 = load i32, ptr %17, align 4, !tbaa !5
  %172 = add i32 %171, 1
  store i32 %172, ptr %17, align 4, !tbaa !5
  br label %148, !llvm.loop !26

173:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  ret void
}

declare i32 @getL2CacheSize() #2

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #5

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

declare ptr @loadRelation(ptr noundef) #2

declare ptr @initializeScheduler(i64 noundef) #2

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

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

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

declare ptr @calculateChecksums(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @printChecksums(ptr noundef, ptr noundef, i32 noundef) #2

declare void @destroyScheduler(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @remove(ptr noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind willreturn memory(read) "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 = { 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 #4 = { noreturn 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 "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 }
attributes #7 = { noreturn nounwind }
attributes #8 = { nounwind willreturn memory(read) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !6, i64 0}
!15 = !{!"query", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !7, i64 16, !7, i64 400, !7, i64 720}
!16 = !{!17, !17, i64 0}
!17 = !{!"_Bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!15, !6, i64 12}
!21 = distinct !{!21, !13}
!22 = distinct !{!22, !13}
!23 = !{!24, !10, i64 0}
!24 = !{!"relation", !10, i64 0, !25, i64 8, !25, i64 16}
!25 = !{!"long", !7, i64 0}
!26 = distinct !{!26, !13}


; 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.36 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [13 x i8], align 1
@l2size = external dso_local local_unnamed_addr global i32, align 4
@.str.83 = external hidden unnamed_addr constant [40 x i8], align 1
@__PRETTY_FUNCTION__.testSigmodHarness = external hidden unnamed_addr constant [29 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [32 x i8], align 1

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @_compareFiles(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fgetc(ptr nocapture noundef) local_unnamed_addr #2

declare ptr @memAlloc(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef) local_unnamed_addr #5

declare ptr @parseQuery(ptr noundef) local_unnamed_addr #5

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

declare void @destroyInters(ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
define dso_local void @testSigmodHarness() local_unnamed_addr #3 {
  %1 = alloca [14 x ptr], align 16
  %2 = alloca [128 x i8], align 16
  %3 = alloca [1024 x i8], align 16
  %4 = alloca i8, align 1
  %5 = tail call i32 @getL2CacheSize() #8
  store i32 %5, ptr @l2size, align 4, !tbaa !5
  %6 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.83, ptr noundef nonnull @.str.36)
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %7, label %8

7:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.38, i32 noundef 163, ptr noundef nonnull @__PRETTY_FUNCTION__.testSigmodHarness) #9
  unreachable

8:                                                ; preds = %0
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %3) #8
  %9 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.84) #8
  %10 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #10
  %11 = getelementptr inbounds i8, ptr %2, i64 %10
  %12 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1024, ptr noundef nonnull %6)
  %.not4755 = icmp eq ptr %12, null
  br i1 %.not4755, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %24, %8
  %13 = call i32 @fclose(ptr noundef nonnull %6)
  %14 = call noalias ptr @fopen(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.36)
  %.not48 = icmp eq ptr %14, null
  br i1 %.not48, label %26, label %27

.lr.ph:                                           ; preds = %8, %24
  %.04056 = phi i32 [ %.1, %24 ], [ 0, %8 ]
  %15 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %3) #10
  %16 = add i64 %15, -1
  %17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %16
  store i8 0, ptr %17, align 1, !tbaa !9
  %char0 = load i8, ptr %3, align 16
  %.not54 = icmp eq i8 %char0, 0
  br i1 %.not54, label %24, label %18

18:                                               ; preds = %.lr.ph
  %19 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) %3) #8
  %20 = call ptr @loadRelation(ptr noundef nonnull %2) #8
  %21 = add i32 %.04056, 1
  %22 = zext i32 %.04056 to i64
  %23 = getelementptr inbounds [14 x ptr], ptr %1, i64 0, i64 %22
  store ptr %20, ptr %23, align 8, !tbaa !10
  br label %24

24:                                               ; preds = %18, %.lr.ph
  %.1 = phi i32 [ %21, %18 ], [ %.04056, %.lr.ph ]
  %25 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1024, ptr noundef nonnull %6)
  %.not47 = icmp eq ptr %25, null
  br i1 %.not47, label %._crit_edge, label %.lr.ph, !llvm.loop !12

26:                                               ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.86, ptr noundef nonnull @.str.38, i32 noundef 184, ptr noundef nonnull @__PRETTY_FUNCTION__.testSigmodHarness) #9
  unreachable

27:                                               ; preds = %._crit_edge
  %28 = call noalias ptr @fopen(ptr noundef nonnull @.str.87, ptr noundef nonnull @.str.88)
  %.not49 = icmp eq ptr %28, null
  br i1 %.not49, label %29, label %30

29:                                               ; preds = %27
  call void @__assert_fail(ptr noundef nonnull @.str.89, ptr noundef nonnull @.str.38, i32 noundef 187, ptr noundef nonnull @__PRETTY_FUNCTION__.testSigmodHarness) #9
  unreachable

30:                                               ; preds = %27
  %31 = call ptr @initializeScheduler(i64 noundef 4) #8
  %32 = call i32 @fgetc(ptr noundef nonnull %14)
  %.not5060 = icmp eq i32 %32, -1
  br i1 %.not5060, label %._crit_edge63, label %.lr.ph62

.loopexit:                                        ; preds = %53, %.lr.ph62
  %33 = call i32 @fgetc(ptr noundef nonnull %14)
  %.not50 = icmp eq i32 %33, -1
  br i1 %.not50, label %._crit_edge63, label %.lr.ph62, !llvm.loop !14

._crit_edge63:                                    ; preds = %.loopexit, %30
  call void @destroyScheduler(ptr noundef %31) #8
  %34 = call i32 @fclose(ptr noundef nonnull %28)
  %35 = call i32 @fclose(ptr noundef nonnull %14)
  call void @_compareFiles(ptr noundef nonnull @.str.87, ptr noundef nonnull @.str.90)
  %36 = call i32 @remove(ptr noundef nonnull @.str.87) #8
  %.not51 = icmp eq i32 %36, -1
  br i1 %.not51, label %62, label %.preheader.preheader

.preheader.preheader:                             ; preds = %._crit_edge63
  %37 = load ptr, ptr %1, align 16, !tbaa !10
  %.not52 = icmp eq ptr %37, null
  br i1 %.not52, label %.preheader.1, label %63

.lr.ph62:                                         ; preds = %30, %.loopexit
  %38 = phi i32 [ %33, %.loopexit ], [ %32, %30 ]
  %39 = call i32 @ungetc(i32 noundef %38, ptr noundef nonnull %14)
  %40 = call i32 @fgetc(ptr noundef nonnull %14)
  %.not5357 = icmp eq i32 %40, 70
  br i1 %.not5357, label %.loopexit, label %.lr.ph59

.lr.ph59:                                         ; preds = %.lr.ph62, %53
  %41 = phi i32 [ %61, %53 ], [ %40, %.lr.ph62 ]
  %42 = call i32 @ungetc(i32 noundef %41, ptr noundef nonnull %14)
  %43 = call ptr @parseQuery(ptr noundef nonnull %14) #8
  %44 = load i32, ptr %43, align 4, !tbaa !15
  %45 = call ptr @memAlloc(i32 noundef 8, i32 noundef %44, i1 noundef zeroext true, ptr noundef null) #8
  %46 = load i32, ptr %43, align 4, !tbaa !15
  %47 = call ptr @memAlloc(i32 noundef 8, i32 noundef %46, i1 noundef zeroext true, ptr noundef null) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #8
  store i8 0, ptr %4, align 1, !tbaa !17
  %48 = call ptr @applyFilters(ptr noundef nonnull %1, ptr noundef %45, ptr noundef nonnull %43, ptr noundef nonnull %4) #8
  %49 = load i8, ptr %4, align 1, !tbaa !17, !range !19, !noundef !20
  %50 = icmp eq i8 %49, 0
  br i1 %50, label %51, label %53

51:                                               ; preds = %.lr.ph59
  %52 = call ptr @applyJoins(ptr noundef nonnull %1, ptr noundef %47, ptr noundef %48, ptr noundef nonnull %43, ptr noundef nonnull %4, ptr noundef %31) #8
  %.pre = load i8, ptr %4, align 1, !tbaa !17, !range !19
  br label %53

53:                                               ; preds = %51, %.lr.ph59
  %54 = phi i8 [ %.pre, %51 ], [ 1, %.lr.ph59 ]
  %.039 = phi ptr [ %52, %51 ], [ %47, %.lr.ph59 ]
  %55 = trunc nuw i8 %54 to i1
  %56 = call ptr @calculateChecksums(ptr noundef %.039, ptr noundef nonnull %1, ptr noundef nonnull %43, i1 noundef zeroext %55) #8
  %57 = getelementptr inbounds i8, ptr %43, i64 12
  %58 = load i32, ptr %57, align 4, !tbaa !21
  call void @printChecksums(ptr noundef nonnull %28, ptr noundef %56, i32 noundef %58) #8
  call void @free(ptr noundef %56) #8
  %59 = load i32, ptr %43, align 4, !tbaa !15
  call void @destroyInters(ptr noundef %.039, i32 noundef %59) #8
  %60 = load i32, ptr %43, align 4, !tbaa !15
  call void @destroyInters(ptr noundef %48, i32 noundef %60) #8
  call void @free(ptr noundef nonnull %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  %61 = call i32 @fgetc(ptr noundef nonnull %14)
  %.not53 = icmp eq i32 %61, 70
  br i1 %.not53, label %.loopexit, label %.lr.ph59, !llvm.loop !22

62:                                               ; preds = %._crit_edge63
  call void @__assert_fail(ptr noundef nonnull @.str.91, ptr noundef nonnull @.str.38, i32 noundef 226, ptr noundef nonnull @__PRETTY_FUNCTION__.testSigmodHarness) #9
  unreachable

63:                                               ; preds = %.preheader.preheader
  %64 = load ptr, ptr %37, align 8, !tbaa !23
  call void @free(ptr noundef %64) #8
  %65 = load ptr, ptr %1, align 16, !tbaa !10
  call void @free(ptr noundef %65) #8
  br label %.preheader.1

.preheader.1:                                     ; preds = %.preheader.preheader, %63
  %66 = getelementptr inbounds i8, ptr %1, i64 8
  %67 = load ptr, ptr %66, align 8, !tbaa !10
  %.not52.1 = icmp eq ptr %67, null
  br i1 %.not52.1, label %.preheader.2, label %68

68:                                               ; preds = %.preheader.1
  %69 = load ptr, ptr %67, align 8, !tbaa !23
  call void @free(ptr noundef %69) #8
  %70 = load ptr, ptr %66, align 8, !tbaa !10
  call void @free(ptr noundef %70) #8
  br label %.preheader.2

.preheader.2:                                     ; preds = %68, %.preheader.1
  %71 = getelementptr inbounds i8, ptr %1, i64 16
  %72 = load ptr, ptr %71, align 16, !tbaa !10
  %.not52.2 = icmp eq ptr %72, null
  br i1 %.not52.2, label %.preheader.3, label %73

73:                                               ; preds = %.preheader.2
  %74 = load ptr, ptr %72, align 8, !tbaa !23
  call void @free(ptr noundef %74) #8
  %75 = load ptr, ptr %71, align 16, !tbaa !10
  call void @free(ptr noundef %75) #8
  br label %.preheader.3

.preheader.3:                                     ; preds = %73, %.preheader.2
  %76 = getelementptr inbounds i8, ptr %1, i64 24
  %77 = load ptr, ptr %76, align 8, !tbaa !10
  %.not52.3 = icmp eq ptr %77, null
  br i1 %.not52.3, label %.preheader.4, label %78

78:                                               ; preds = %.preheader.3
  %79 = load ptr, ptr %77, align 8, !tbaa !23
  call void @free(ptr noundef %79) #8
  %80 = load ptr, ptr %76, align 8, !tbaa !10
  call void @free(ptr noundef %80) #8
  br label %.preheader.4

.preheader.4:                                     ; preds = %78, %.preheader.3
  %81 = getelementptr inbounds i8, ptr %1, i64 32
  %82 = load ptr, ptr %81, align 16, !tbaa !10
  %.not52.4 = icmp eq ptr %82, null
  br i1 %.not52.4, label %.preheader.5, label %83

83:                                               ; preds = %.preheader.4
  %84 = load ptr, ptr %82, align 8, !tbaa !23
  call void @free(ptr noundef %84) #8
  %85 = load ptr, ptr %81, align 16, !tbaa !10
  call void @free(ptr noundef %85) #8
  br label %.preheader.5

.preheader.5:                                     ; preds = %83, %.preheader.4
  %86 = getelementptr inbounds i8, ptr %1, i64 40
  %87 = load ptr, ptr %86, align 8, !tbaa !10
  %.not52.5 = icmp eq ptr %87, null
  br i1 %.not52.5, label %.preheader.6, label %88

88:                                               ; preds = %.preheader.5
  %89 = load ptr, ptr %87, align 8, !tbaa !23
  call void @free(ptr noundef %89) #8
  %90 = load ptr, ptr %86, align 8, !tbaa !10
  call void @free(ptr noundef %90) #8
  br label %.preheader.6

.preheader.6:                                     ; preds = %88, %.preheader.5
  %91 = getelementptr inbounds i8, ptr %1, i64 48
  %92 = load ptr, ptr %91, align 16, !tbaa !10
  %.not52.6 = icmp eq ptr %92, null
  br i1 %.not52.6, label %.preheader.7, label %93

93:                                               ; preds = %.preheader.6
  %94 = load ptr, ptr %92, align 8, !tbaa !23
  call void @free(ptr noundef %94) #8
  %95 = load ptr, ptr %91, align 16, !tbaa !10
  call void @free(ptr noundef %95) #8
  br label %.preheader.7

.preheader.7:                                     ; preds = %93, %.preheader.6
  %96 = getelementptr inbounds i8, ptr %1, i64 56
  %97 = load ptr, ptr %96, align 8, !tbaa !10
  %.not52.7 = icmp eq ptr %97, null
  br i1 %.not52.7, label %.preheader.8, label %98

98:                                               ; preds = %.preheader.7
  %99 = load ptr, ptr %97, align 8, !tbaa !23
  call void @free(ptr noundef %99) #8
  %100 = load ptr, ptr %96, align 8, !tbaa !10
  call void @free(ptr noundef %100) #8
  br label %.preheader.8

.preheader.8:                                     ; preds = %98, %.preheader.7
  %101 = getelementptr inbounds i8, ptr %1, i64 64
  %102 = load ptr, ptr %101, align 16, !tbaa !10
  %.not52.8 = icmp eq ptr %102, null
  br i1 %.not52.8, label %.preheader.9, label %103

103:                                              ; preds = %.preheader.8
  %104 = load ptr, ptr %102, align 8, !tbaa !23
  call void @free(ptr noundef %104) #8
  %105 = load ptr, ptr %101, align 16, !tbaa !10
  call void @free(ptr noundef %105) #8
  br label %.preheader.9

.preheader.9:                                     ; preds = %103, %.preheader.8
  %106 = getelementptr inbounds i8, ptr %1, i64 72
  %107 = load ptr, ptr %106, align 8, !tbaa !10
  %.not52.9 = icmp eq ptr %107, null
  br i1 %.not52.9, label %.preheader.10, label %108

108:                                              ; preds = %.preheader.9
  %109 = load ptr, ptr %107, align 8, !tbaa !23
  call void @free(ptr noundef %109) #8
  %110 = load ptr, ptr %106, align 8, !tbaa !10
  call void @free(ptr noundef %110) #8
  br label %.preheader.10

.preheader.10:                                    ; preds = %108, %.preheader.9
  %111 = getelementptr inbounds i8, ptr %1, i64 80
  %112 = load ptr, ptr %111, align 16, !tbaa !10
  %.not52.10 = icmp eq ptr %112, null
  br i1 %.not52.10, label %.preheader.11, label %113

113:                                              ; preds = %.preheader.10
  %114 = load ptr, ptr %112, align 8, !tbaa !23
  call void @free(ptr noundef %114) #8
  %115 = load ptr, ptr %111, align 16, !tbaa !10
  call void @free(ptr noundef %115) #8
  br label %.preheader.11

.preheader.11:                                    ; preds = %113, %.preheader.10
  %116 = getelementptr inbounds i8, ptr %1, i64 88
  %117 = load ptr, ptr %116, align 8, !tbaa !10
  %.not52.11 = icmp eq ptr %117, null
  br i1 %.not52.11, label %.preheader.12, label %118

118:                                              ; preds = %.preheader.11
  %119 = load ptr, ptr %117, align 8, !tbaa !23
  call void @free(ptr noundef %119) #8
  %120 = load ptr, ptr %116, align 8, !tbaa !10
  call void @free(ptr noundef %120) #8
  br label %.preheader.12

.preheader.12:                                    ; preds = %118, %.preheader.11
  %121 = getelementptr inbounds i8, ptr %1, i64 96
  %122 = load ptr, ptr %121, align 16, !tbaa !10
  %.not52.12 = icmp eq ptr %122, null
  br i1 %.not52.12, label %.preheader.13, label %123

123:                                              ; preds = %.preheader.12
  %124 = load ptr, ptr %122, align 8, !tbaa !23
  call void @free(ptr noundef %124) #8
  %125 = load ptr, ptr %121, align 16, !tbaa !10
  call void @free(ptr noundef %125) #8
  br label %.preheader.13

.preheader.13:                                    ; preds = %123, %.preheader.12
  %126 = getelementptr inbounds i8, ptr %1, i64 104
  %127 = load ptr, ptr %126, align 8, !tbaa !10
  %.not52.13 = icmp eq ptr %127, null
  br i1 %.not52.13, label %131, label %128

128:                                              ; preds = %.preheader.13
  %129 = load ptr, ptr %127, align 8, !tbaa !23
  call void @free(ptr noundef %129) #8
  %130 = load ptr, ptr %126, align 8, !tbaa !10
  call void @free(ptr noundef %130) #8
  br label %131

131:                                              ; preds = %128, %.preheader.13
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %1) #8
  ret void
}

declare i32 @getL2CacheSize() local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #7

; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #2

declare ptr @loadRelation(ptr noundef) local_unnamed_addr #5

declare ptr @initializeScheduler(i64 noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @ungetc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #2

declare ptr @applyFilters(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare ptr @applyJoins(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare ptr @calculateChecksums(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #5

declare void @printChecksums(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

declare void @destroyScheduler(ptr noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @remove(ptr nocapture noundef readonly) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nofree 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 #3 = { 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 #4 = { noreturn 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 = { "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 = { 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 #7 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { nounwind willreturn memory(read) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !6, i64 0}
!16 = !{!"query", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !7, i64 16, !7, i64 400, !7, i64 720}
!17 = !{!18, !18, i64 0}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!16, !6, i64 12}
!22 = distinct !{!22, !13}
!23 = !{!24, !11, i64 0}
!24 = !{!"relation", !11, i64 0, !25, i64 8, !25, i64 16}
!25 = !{!"long", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass