; LLVM IR from themisvaltinos/Partitioned-Hash-Join :: modules/phjoin (jobs)

; 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.join_job_args = type { ptr, ptr, ptr, i32, i32, ptr, i8 }
%struct.join_relation = type { ptr, i32 }
%struct.tuple = type { i32, i32 }
%struct.row_ids = type { i32, i32, ptr }

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @joinJob(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %8, ptr %3, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.join_job_args, ptr %9, i32 0, i32 2
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %14

13:                                               ; preds = %1
  store i32 1, ptr %4, align 4
  br label %198

14:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.join_job_args, ptr %15, i32 0, i32 3
  %17 = load i32, ptr %16, align 8, !tbaa !13
  store i32 %17, ptr %5, align 4, !tbaa !14
  br label %18

18:                                               ; preds = %194, %14
  %19 = load i32, ptr %5, align 4, !tbaa !14
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.join_job_args, ptr %20, i32 0, i32 4
  %22 = load i32, ptr %21, align 4, !tbaa !15
  %23 = icmp ult i32 %19, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %18
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %197

25:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.join_job_args, ptr %26, i32 0, i32 2
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.join_job_args, ptr %29, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !16
  %32 = getelementptr inbounds %struct.join_relation, ptr %31, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8, !tbaa !17
  %34 = load i32, ptr %5, align 4, !tbaa !14
  %35 = zext i32 %34 to i64
  %36 = getelementptr inbounds %struct.tuple, ptr %33, i64 %35
  %37 = getelementptr inbounds %struct.tuple, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !19
  %39 = call ptr @search(ptr noundef %28, i32 noundef %38)
  store ptr %39, ptr %6, align 8, !tbaa !5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = icmp ne ptr %40, null
  br i1 %41, label %42, label %193

42:                                               ; preds = %25
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.join_job_args, ptr %43, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8, !tbaa !21
  %46 = getelementptr inbounds %struct.join_relation, ptr %45, i32 0, i32 1
  %47 = load i32, ptr %46, align 8, !tbaa !22
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.row_ids, ptr %48, i32 0, i32 0
  %50 = load i32, ptr %49, align 8, !tbaa !23
  %51 = add i32 %47, %50
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.join_job_args, ptr %52, i32 0, i32 5
  %54 = load ptr, ptr %53, align 8, !tbaa !25
  %55 = load i32, ptr %54, align 4, !tbaa !14
  %56 = icmp uge i32 %51, %55
  br i1 %56, label %57, label %77

57:                                               ; preds = %42
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.join_job_args, ptr %58, i32 0, i32 5
  %60 = load ptr, ptr %59, align 8, !tbaa !25
  %61 = load i32, ptr %60, align 4, !tbaa !14
  %62 = mul i32 %61, 2
  store i32 %62, ptr %60, align 4, !tbaa !14
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.join_job_args, ptr %63, i32 0, i32 5
  %65 = load ptr, ptr %64, align 8, !tbaa !25
  %66 = load i32, ptr %65, align 4, !tbaa !14
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.join_job_args, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !21
  %70 = getelementptr inbounds %struct.join_relation, ptr %69, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8, !tbaa !17
  %72 = call ptr @memAlloc(i32 noundef 8, i32 noundef %66, i1 noundef zeroext false, ptr noundef %71)
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.join_job_args, ptr %73, i32 0, i32 0
  %75 = load ptr, ptr %74, align 8, !tbaa !21
  %76 = getelementptr inbounds %struct.join_relation, ptr %75, i32 0, i32 0
  store ptr %72, ptr %76, align 8, !tbaa !17
  br label %77

77:                                               ; preds = %57, %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !14
  br label %78

78:                                               ; preds = %179, %77
  %79 = load i32, ptr %7, align 4, !tbaa !14
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.row_ids, ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 8, !tbaa !23
  %83 = icmp ult i32 %79, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %78
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %188

85:                                               ; preds = %78
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.join_job_args, ptr %86, i32 0, i32 6
  %88 = load i8, ptr %87, align 8, !tbaa !26, !range !27, !noundef !28
  %89 = trunc i8 %88 to i1
  br i1 %89, label %90, label %134

90:                                               ; preds = %85
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.row_ids, ptr %91, i32 0, i32 2
  %93 = load ptr, ptr %92, align 8, !tbaa !29
  %94 = load i32, ptr %7, align 4, !tbaa !14
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds i32, ptr %93, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !14
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.join_job_args, ptr %98, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8, !tbaa !21
  %101 = getelementptr inbounds %struct.join_relation, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !17
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.join_job_args, ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !21
  %106 = getelementptr inbounds %struct.join_relation, ptr %105, i32 0, i32 1
  %107 = load i32, ptr %106, align 8, !tbaa !22
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds %struct.tuple, ptr %102, i64 %108
  %110 = getelementptr inbounds %struct.tuple, ptr %109, i32 0, i32 0
  store i32 %97, ptr %110, align 4, !tbaa !30
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.join_job_args, ptr %111, i32 0, i32 1
  %113 = load ptr, ptr %112, align 8, !tbaa !16
  %114 = getelementptr inbounds %struct.join_relation, ptr %113, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8, !tbaa !17
  %116 = load i32, ptr %5, align 4, !tbaa !14
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds %struct.tuple, ptr %115, i64 %117
  %119 = getelementptr inbounds %struct.tuple, ptr %118, i32 0, i32 0
  %120 = load i32, ptr %119, align 4, !tbaa !30
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.join_job_args, ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8, !tbaa !21
  %124 = getelementptr inbounds %struct.join_relation, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !17
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.join_job_args, ptr %126, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8, !tbaa !21
  %129 = getelementptr inbounds %struct.join_relation, ptr %128, i32 0, i32 1
  %130 = load i32, ptr %129, align 8, !tbaa !22
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds %struct.tuple, ptr %125, i64 %131
  %133 = getelementptr inbounds %struct.tuple, ptr %132, i32 0, i32 1
  store i32 %120, ptr %133, align 4, !tbaa !19
  br label %178

134:                                              ; preds = %85
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.join_job_args, ptr %135, i32 0, i32 1
  %137 = load ptr, ptr %136, align 8, !tbaa !16
  %138 = getelementptr inbounds %struct.join_relation, ptr %137, i32 0, i32 0
  %139 = load ptr, ptr %138, align 8, !tbaa !17
  %140 = load i32, ptr %5, align 4, !tbaa !14
  %141 = zext i32 %140 to i64
  %142 = getelementptr inbounds %struct.tuple, ptr %139, i64 %141
  %143 = getelementptr inbounds %struct.tuple, ptr %142, i32 0, i32 0
  %144 = load i32, ptr %143, align 4, !tbaa !30
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.join_job_args, ptr %145, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8, !tbaa !21
  %148 = getelementptr inbounds %struct.join_relation, ptr %147, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8, !tbaa !17
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.join_job_args, ptr %150, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8, !tbaa !21
  %153 = getelementptr inbounds %struct.join_relation, ptr %152, i32 0, i32 1
  %154 = load i32, ptr %153, align 8, !tbaa !22
  %155 = zext i32 %154 to i64
  %156 = getelementptr inbounds %struct.tuple, ptr %149, i64 %155
  %157 = getelementptr inbounds %struct.tuple, ptr %156, i32 0, i32 0
  store i32 %144, ptr %157, align 4, !tbaa !30
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.row_ids, ptr %158, i32 0, i32 2
  %160 = load ptr, ptr %159, align 8, !tbaa !29
  %161 = load i32, ptr %7, align 4, !tbaa !14
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds i32, ptr %160, i64 %162
  %164 = load i32, ptr %163, align 4, !tbaa !14
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.join_job_args, ptr %165, i32 0, i32 0
  %167 = load ptr, ptr %166, align 8, !tbaa !21
  %168 = getelementptr inbounds %struct.join_relation, ptr %167, i32 0, i32 0
  %169 = load ptr, ptr %168, align 8, !tbaa !17
  %170 = load ptr, ptr %3, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.join_job_args, ptr %170, i32 0, i32 0
  %172 = load ptr, ptr %171, align 8, !tbaa !21
  %173 = getelementptr inbounds %struct.join_relation, ptr %172, i32 0, i32 1
  %174 = load i32, ptr %173, align 8, !tbaa !22
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds %struct.tuple, ptr %169, i64 %175
  %177 = getelementptr inbounds %struct.tuple, ptr %176, i32 0, i32 1
  store i32 %164, ptr %177, align 4, !tbaa !19
  br label %178

178:                                              ; preds = %134, %90
  br label %179

179:                                              ; preds = %178
  %180 = load i32, ptr %7, align 4, !tbaa !14
  %181 = add i32 %180, 1
  store i32 %181, ptr %7, align 4, !tbaa !14
  %182 = load ptr, ptr %3, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.join_job_args, ptr %182, i32 0, i32 0
  %184 = load ptr, ptr %183, align 8, !tbaa !21
  %185 = getelementptr inbounds %struct.join_relation, ptr %184, i32 0, i32 1
  %186 = load i32, ptr %185, align 8, !tbaa !22
  %187 = add i32 %186, 1
  store i32 %187, ptr %185, align 8, !tbaa !22
  br label %78, !llvm.loop !31

188:                                              ; preds = %84
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.row_ids, ptr %189, i32 0, i32 2
  %191 = load ptr, ptr %190, align 8, !tbaa !29
  call void @free(ptr noundef %191) #4
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %192) #4
  br label %193

193:                                              ; preds = %188, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %194

194:                                              ; preds = %193
  %195 = load i32, ptr %5, align 4, !tbaa !14
  %196 = add i32 %195, 1
  store i32 %196, ptr %5, align 4, !tbaa !14
  br label %18, !llvm.loop !33

197:                                              ; preds = %24
  store i32 0, ptr %4, align 4
  br label %198

198:                                              ; preds = %197, %13
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %199 = load i32, ptr %4, align 4
  switch i32 %199, label %201 [
    i32 0, label %200
    i32 1, label %200
  ]

200:                                              ; preds = %198, %198
  ret void

201:                                              ; preds = %198
  unreachable
}

declare ptr @search(ptr noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "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 = { 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, !6, i64 16}
!10 = !{!"join_job_args", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 28, !6, i64 32, !12, i64 40}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!10, !11, i64 24}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !11, i64 28}
!16 = !{!10, !6, i64 8}
!17 = !{!18, !6, i64 0}
!18 = !{!"join_relation", !6, i64 0, !11, i64 8}
!19 = !{!20, !11, i64 4}
!20 = !{!"tuple", !11, i64 0, !11, i64 4}
!21 = !{!10, !6, i64 0}
!22 = !{!18, !11, i64 8}
!23 = !{!24, !11, i64 0}
!24 = !{!"row_ids", !11, i64 0, !11, i64 4, !6, i64 8}
!25 = !{!10, !6, i64 32}
!26 = !{!10, !12, i64 40}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!24, !6, i64 8}
!30 = !{!20, !11, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}


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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @joinJob(ptr nocapture noundef readonly %0) local_unnamed_addr #2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 16
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = icmp eq ptr %3, null
  br i1 %4, label %.loopexit, label %5

5:                                                ; preds = %1
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !12
  %8 = getelementptr inbounds i8, ptr %0, i64 28
  %9 = load i32, ptr %8, align 4, !tbaa !13
  %10 = icmp ult i32 %7, %9
  br i1 %10, label %.lr.ph46, label %.loopexit

.lr.ph46:                                         ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = getelementptr inbounds i8, ptr %0, i64 32
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = zext i32 %7 to i64
  %15 = shl nuw nsw i64 %14, 3
  %16 = or disjoint i64 %15, 4
  br label %17

17:                                               ; preds = %.lr.ph46, %163
  %indvar = phi i64 [ 0, %.lr.ph46 ], [ %indvar.next, %163 ]
  %indvars.iv55 = phi i64 [ %14, %.lr.ph46 ], [ %indvars.iv.next56, %163 ]
  %18 = shl nuw nsw i64 %indvar, 3
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = load ptr, ptr %11, align 8, !tbaa !14
  %21 = load ptr, ptr %20, align 8, !tbaa !15
  %22 = getelementptr inbounds %struct.tuple, ptr %21, i64 %indvars.iv55, i32 1
  %23 = load i32, ptr %22, align 4, !tbaa !17
  %24 = tail call ptr @search(ptr noundef %19, i32 noundef %23) #3
  %.not = icmp eq ptr %24, null
  br i1 %.not, label %163, label %25

25:                                               ; preds = %17
  %26 = load ptr, ptr %0, align 8, !tbaa !19
  %27 = getelementptr inbounds i8, ptr %26, i64 8
  %28 = load i32, ptr %27, align 8, !tbaa !20
  %29 = load i32, ptr %24, align 8, !tbaa !21
  %30 = add i32 %29, %28
  %31 = load ptr, ptr %12, align 8, !tbaa !23
  %32 = load i32, ptr %31, align 4, !tbaa !24
  %.not42 = icmp ult i32 %30, %32
  br i1 %.not42, label %38, label %33

33:                                               ; preds = %25
  %34 = shl i32 %32, 1
  store i32 %34, ptr %31, align 4, !tbaa !24
  %35 = load ptr, ptr %26, align 8, !tbaa !15
  %36 = tail call ptr @memAlloc(i32 noundef 8, i32 noundef %34, i1 noundef zeroext false, ptr noundef %35) #3
  %37 = load ptr, ptr %0, align 8, !tbaa !19
  store ptr %36, ptr %37, align 8, !tbaa !15
  %.pre = load i32, ptr %24, align 8, !tbaa !21
  br label %38

38:                                               ; preds = %33, %25
  %39 = phi ptr [ %37, %33 ], [ %26, %25 ]
  %40 = phi i32 [ %.pre, %33 ], [ %29, %25 ]
  %.not47 = icmp eq i32 %40, 0
  br i1 %.not47, label %.._crit_edge_crit_edge, label %.lr.ph

.._crit_edge_crit_edge:                           ; preds = %38
  %.phi.trans.insert = getelementptr inbounds i8, ptr %24, i64 8
  %.pre59 = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !25
  br label %._crit_edge

.lr.ph:                                           ; preds = %38
  %41 = load i8, ptr %13, align 8, !tbaa !26, !range !27, !noundef !28
  %42 = trunc nuw i8 %41 to i1
  %43 = getelementptr inbounds i8, ptr %39, i64 8
  %.promoted = load i32, ptr %43, align 8, !tbaa !20
  %44 = getelementptr inbounds i8, ptr %24, i64 8
  %wide.trip.count53 = zext i32 %40 to i64
  br i1 %42, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph
  %45 = load ptr, ptr %44, align 8, !tbaa !25
  %46 = load ptr, ptr %39, align 8, !tbaa !15
  %47 = load ptr, ptr %11, align 8, !tbaa !14
  %48 = load ptr, ptr %47, align 8, !tbaa !15
  %49 = getelementptr %struct.tuple, ptr %48, i64 %indvars.iv55
  %min.iters.check = icmp ult i32 %40, 38
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.scevcheck

vector.scevcheck:                                 ; preds = %.lr.ph.split.us
  %50 = add nsw i64 %wide.trip.count53, -1
  %51 = trunc i64 %50 to i32
  %52 = xor i32 %.promoted, -1
  %53 = icmp ult i32 %52, %51
  %54 = icmp ugt i64 %50, 4294967295
  %55 = or i1 %53, %54
  %56 = zext i32 %.promoted to i64
  %57 = shl nuw nsw i64 %56, 3
  %scevgep = getelementptr i8, ptr %46, i64 %57
  %mul.result = shl nsw i64 %50, 3
  %58 = getelementptr i8, ptr %scevgep, i64 %mul.result
  %59 = icmp ult ptr %58, %scevgep
  %scevgep62 = getelementptr i8, ptr %46, i64 4
  %scevgep63 = getelementptr i8, ptr %scevgep62, i64 %57
  %mul.result65 = shl nsw i64 %50, 3
  %60 = getelementptr i8, ptr %scevgep63, i64 %mul.result65
  %61 = icmp ult ptr %60, %scevgep63
  %62 = or i1 %59, %55
  %63 = or i1 %61, %62
  br i1 %63, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %vector.scevcheck
  %scevgep67 = getelementptr i8, ptr %39, i64 12
  %64 = shl nuw nsw i64 %wide.trip.count53, 2
  %scevgep68 = getelementptr i8, ptr %45, i64 %64
  %65 = getelementptr i8, ptr %48, i64 %16
  %scevgep69 = getelementptr i8, ptr %65, i64 %18
  %66 = zext i32 %.promoted to i64
  %67 = shl nuw nsw i64 %66, 3
  %scevgep70 = getelementptr i8, ptr %46, i64 %67
  %68 = add nuw nsw i64 %wide.trip.count53, %66
  %69 = shl nuw nsw i64 %68, 3
  %scevgep71 = getelementptr i8, ptr %46, i64 %69
  %bound0 = icmp ult ptr %43, %scevgep68
  %bound1 = icmp ult ptr %45, %scevgep67
  %found.conflict = and i1 %bound0, %bound1
  %bound072 = icmp ult ptr %43, %scevgep69
  %bound173 = icmp ult ptr %49, %scevgep67
  %found.conflict74 = and i1 %bound072, %bound173
  %conflict.rdx = or i1 %found.conflict, %found.conflict74
  %bound075 = icmp ult ptr %43, %scevgep71
  %bound176 = icmp ult ptr %scevgep70, %scevgep67
  %found.conflict77 = and i1 %bound075, %bound176
  %conflict.rdx78 = or i1 %conflict.rdx, %found.conflict77
  %bound079 = icmp ult ptr %45, %scevgep71
  %bound180 = icmp ult ptr %scevgep70, %scevgep68
  %found.conflict81 = and i1 %bound079, %bound180
  %conflict.rdx82 = or i1 %conflict.rdx78, %found.conflict81
  %bound083 = icmp ult ptr %49, %scevgep71
  %bound184 = icmp ult ptr %scevgep70, %scevgep69
  %found.conflict85 = and i1 %bound083, %bound184
  %conflict.rdx86 = or i1 %conflict.rdx82, %found.conflict85
  br i1 %conflict.rdx86, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count53, 4294967292
  %.cast = trunc nuw i64 %n.vec to i32
  %ind.end = add i32 %.promoted, %.cast
  %70 = add i32 %.promoted, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %71 = phi i32 [ %70, %vector.ph ], [ %81, %vector.body ]
  %.cast89 = trunc i64 %index to i32
  %offset.idx = add i32 %.promoted, %.cast89
  %72 = add i32 %offset.idx, 2
  %73 = getelementptr inbounds i32, ptr %45, i64 %index
  %74 = getelementptr inbounds i8, ptr %73, i64 8
  %wide.load = load <2 x i32>, ptr %73, align 4, !tbaa !24, !alias.scope !29, !noalias !32
  %wide.load90 = load <2 x i32>, ptr %74, align 4, !tbaa !24, !alias.scope !29, !noalias !32
  %75 = zext i32 %offset.idx to i64
  %76 = zext i32 %72 to i64
  %77 = load i32, ptr %49, align 4, !tbaa !34, !alias.scope !35, !noalias !32
  %broadcast.splatinsert91 = insertelement <2 x i32> poison, i32 %77, i64 0
  %broadcast.splat92 = shufflevector <2 x i32> %broadcast.splatinsert91, <2 x i32> poison, <2 x i32> zeroinitializer
  %78 = getelementptr inbounds %struct.tuple, ptr %46, i64 %75
  %79 = getelementptr inbounds %struct.tuple, ptr %46, i64 %76
  %interleaved.vec = shufflevector <2 x i32> %wide.load, <2 x i32> %broadcast.splat92, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x i32> %interleaved.vec, ptr %78, align 4, !tbaa !24
  %interleaved.vec93 = shufflevector <2 x i32> %wide.load90, <2 x i32> %broadcast.splat92, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x i32> %interleaved.vec93, ptr %79, align 4, !tbaa !24
  %80 = add i32 %71, 3
  store i32 %80, ptr %43, align 8, !tbaa !20, !alias.scope !37, !noalias !39
  %index.next = add nuw i64 %index, 4
  %81 = add i32 %71, 4
  %82 = icmp eq i64 %index.next, %n.vec
  br i1 %82, label %middle.block, label %vector.body, !llvm.loop !40

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count53
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %vector.scevcheck, %.lr.ph.split.us
  %indvars.iv50.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %vector.scevcheck ], [ 0, %.lr.ph.split.us ], [ %n.vec, %middle.block ]
  %.ph = phi i32 [ %.promoted, %vector.memcheck ], [ %.promoted, %vector.scevcheck ], [ %.promoted, %.lr.ph.split.us ], [ %ind.end, %middle.block ]
  %xtraiter149 = and i64 %wide.trip.count53, 1
  %lcmp.mod150.not = icmp eq i64 %xtraiter149, 0
  br i1 %lcmp.mod150.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %83 = getelementptr inbounds i32, ptr %45, i64 %indvars.iv50.ph
  %84 = load i32, ptr %83, align 4, !tbaa !24
  %85 = zext i32 %.ph to i64
  %86 = getelementptr inbounds %struct.tuple, ptr %46, i64 %85
  store i32 %84, ptr %86, align 4, !tbaa !34
  %87 = load i32, ptr %49, align 4, !tbaa !34
  %88 = getelementptr inbounds %struct.tuple, ptr %46, i64 %85, i32 1
  store i32 %87, ptr %88, align 4, !tbaa !17
  %indvars.iv.next51.prol = or disjoint i64 %indvars.iv50.ph, 1
  %89 = add i32 %.ph, 1
  store i32 %89, ptr %43, align 8, !tbaa !20
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv50.unr = phi i64 [ %indvars.iv50.ph, %scalar.ph.preheader ], [ %indvars.iv.next51.prol, %scalar.ph.prol ]
  %.unr151 = phi i32 [ %.ph, %scalar.ph.preheader ], [ %89, %scalar.ph.prol ]
  %90 = add nsw i64 %wide.trip.count53, -1
  %91 = icmp eq i64 %indvars.iv50.ph, %90
  br i1 %91, label %._crit_edge, label %scalar.ph.preheader.new

scalar.ph.preheader.new:                          ; preds = %scalar.ph.prol.loopexit
  %invariant.gep152 = getelementptr i8, ptr %45, i64 4
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph, %scalar.ph.preheader.new
  %indvars.iv50 = phi i64 [ %indvars.iv50.unr, %scalar.ph.preheader.new ], [ %indvars.iv.next51.1, %scalar.ph ]
  %92 = phi i32 [ %.unr151, %scalar.ph.preheader.new ], [ %105, %scalar.ph ]
  %93 = getelementptr inbounds i32, ptr %45, i64 %indvars.iv50
  %94 = load i32, ptr %93, align 4, !tbaa !24
  %95 = zext i32 %92 to i64
  %96 = getelementptr inbounds %struct.tuple, ptr %46, i64 %95
  store i32 %94, ptr %96, align 4, !tbaa !34
  %97 = load i32, ptr %49, align 4, !tbaa !34
  %98 = getelementptr inbounds %struct.tuple, ptr %46, i64 %95, i32 1
  store i32 %97, ptr %98, align 4, !tbaa !17
  %99 = add i32 %92, 1
  store i32 %99, ptr %43, align 8, !tbaa !20
  %gep153 = getelementptr i32, ptr %invariant.gep152, i64 %indvars.iv50
  %100 = load i32, ptr %gep153, align 4, !tbaa !24
  %101 = zext i32 %99 to i64
  %102 = getelementptr inbounds %struct.tuple, ptr %46, i64 %101
  store i32 %100, ptr %102, align 4, !tbaa !34
  %103 = load i32, ptr %49, align 4, !tbaa !34
  %104 = getelementptr inbounds %struct.tuple, ptr %46, i64 %101, i32 1
  store i32 %103, ptr %104, align 4, !tbaa !17
  %indvars.iv.next51.1 = add nuw nsw i64 %indvars.iv50, 2
  %105 = add i32 %92, 2
  store i32 %105, ptr %43, align 8, !tbaa !20
  %exitcond54.not.1 = icmp eq i64 %indvars.iv.next51.1, %wide.trip.count53
  br i1 %exitcond54.not.1, label %._crit_edge, label %scalar.ph, !llvm.loop !44

.lr.ph.split:                                     ; preds = %.lr.ph
  %106 = load ptr, ptr %11, align 8, !tbaa !14
  %107 = load ptr, ptr %106, align 8, !tbaa !15
  %108 = getelementptr inbounds %struct.tuple, ptr %107, i64 %indvars.iv55
  %109 = load ptr, ptr %39, align 8, !tbaa !15
  %110 = load ptr, ptr %44, align 8, !tbaa !25
  %.pre58 = load i32, ptr %108, align 4, !tbaa !34
  %min.iters.check122 = icmp ult i32 %40, 36
  br i1 %min.iters.check122, label %scalar.ph121.preheader, label %vector.scevcheck94

scalar.ph121.preheader:                           ; preds = %middle.block120, %vector.memcheck104, %vector.scevcheck94, %.lr.ph.split
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck104 ], [ 0, %vector.scevcheck94 ], [ 0, %.lr.ph.split ], [ %n.vec125, %middle.block120 ]
  %.ph147 = phi i32 [ %.promoted, %vector.memcheck104 ], [ %.promoted, %vector.scevcheck94 ], [ %.promoted, %.lr.ph.split ], [ %ind.end128, %middle.block120 ]
  %xtraiter = and i64 %wide.trip.count53, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph121.prol.loopexit, label %scalar.ph121.prol

scalar.ph121.prol:                                ; preds = %scalar.ph121.preheader
  %111 = zext i32 %.ph147 to i64
  %112 = getelementptr inbounds %struct.tuple, ptr %109, i64 %111
  store i32 %.pre58, ptr %112, align 4, !tbaa !34
  %113 = getelementptr inbounds i32, ptr %110, i64 %indvars.iv.ph
  %114 = load i32, ptr %113, align 4, !tbaa !24
  %115 = getelementptr inbounds %struct.tuple, ptr %109, i64 %111, i32 1
  store i32 %114, ptr %115, align 4, !tbaa !17
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  %116 = add i32 %.ph147, 1
  store i32 %116, ptr %43, align 8, !tbaa !20
  br label %scalar.ph121.prol.loopexit

scalar.ph121.prol.loopexit:                       ; preds = %scalar.ph121.prol, %scalar.ph121.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph121.preheader ], [ %indvars.iv.next.prol, %scalar.ph121.prol ]
  %.unr = phi i32 [ %.ph147, %scalar.ph121.preheader ], [ %116, %scalar.ph121.prol ]
  %117 = add nsw i64 %wide.trip.count53, -1
  %118 = icmp eq i64 %indvars.iv.ph, %117
  br i1 %118, label %._crit_edge, label %scalar.ph121.preheader.new

scalar.ph121.preheader.new:                       ; preds = %scalar.ph121.prol.loopexit
  %invariant.gep = getelementptr i8, ptr %110, i64 4
  br label %scalar.ph121

vector.scevcheck94:                               ; preds = %.lr.ph.split
  %119 = add nsw i64 %wide.trip.count53, -1
  %120 = trunc i64 %119 to i32
  %121 = xor i32 %.promoted, -1
  %122 = icmp ult i32 %121, %120
  %123 = icmp ugt i64 %119, 4294967295
  %124 = or i1 %122, %123
  %125 = zext i32 %.promoted to i64
  %126 = shl nuw nsw i64 %125, 3
  %scevgep95 = getelementptr i8, ptr %109, i64 %126
  %mul.result97 = shl nsw i64 %119, 3
  %127 = getelementptr i8, ptr %scevgep95, i64 %mul.result97
  %128 = icmp ult ptr %127, %scevgep95
  %scevgep99 = getelementptr i8, ptr %109, i64 4
  %scevgep100 = getelementptr i8, ptr %scevgep99, i64 %126
  %mul.result102 = shl nsw i64 %119, 3
  %129 = getelementptr i8, ptr %scevgep100, i64 %mul.result102
  %130 = icmp ult ptr %129, %scevgep100
  %131 = or i1 %128, %124
  %132 = or i1 %130, %131
  br i1 %132, label %scalar.ph121.preheader, label %vector.memcheck104

vector.memcheck104:                               ; preds = %vector.scevcheck94
  %scevgep105 = getelementptr i8, ptr %39, i64 12
  %133 = shl nuw nsw i64 %wide.trip.count53, 2
  %scevgep106 = getelementptr i8, ptr %110, i64 %133
  %134 = zext i32 %.promoted to i64
  %135 = shl nuw nsw i64 %134, 3
  %scevgep107 = getelementptr i8, ptr %109, i64 %135
  %136 = add nuw nsw i64 %wide.trip.count53, %134
  %137 = shl nuw nsw i64 %136, 3
  %scevgep108 = getelementptr i8, ptr %109, i64 %137
  %bound0109 = icmp ult ptr %43, %scevgep106
  %bound1110 = icmp ult ptr %110, %scevgep105
  %found.conflict111 = and i1 %bound0109, %bound1110
  %bound0112 = icmp ult ptr %43, %scevgep108
  %bound1113 = icmp ult ptr %scevgep107, %scevgep105
  %found.conflict114 = and i1 %bound0112, %bound1113
  %conflict.rdx115 = or i1 %found.conflict111, %found.conflict114
  %bound0116 = icmp ult ptr %110, %scevgep108
  %bound1117 = icmp ult ptr %scevgep107, %scevgep106
  %found.conflict118 = and i1 %bound0116, %bound1117
  %conflict.rdx119 = or i1 %conflict.rdx115, %found.conflict118
  br i1 %conflict.rdx119, label %scalar.ph121.preheader, label %vector.ph123

vector.ph123:                                     ; preds = %vector.memcheck104
  %n.vec125 = and i64 %wide.trip.count53, 4294967292
  %.cast127 = trunc nuw i64 %n.vec125 to i32
  %ind.end128 = add i32 %.promoted, %.cast127
  %138 = add i32 %.promoted, 1
  %broadcast.splatinsert = insertelement <2 x i32> poison, i32 %.pre58, i64 0
  %broadcast.splat = shufflevector <2 x i32> %broadcast.splatinsert, <2 x i32> poison, <2 x i32> zeroinitializer
  br label %vector.body130

vector.body130:                                   ; preds = %vector.body130, %vector.ph123
  %index131 = phi i64 [ 0, %vector.ph123 ], [ %index.next145, %vector.body130 ]
  %139 = phi i32 [ %138, %vector.ph123 ], [ %148, %vector.body130 ]
  %.cast139 = trunc i64 %index131 to i32
  %offset.idx140 = add i32 %.promoted, %.cast139
  %140 = add i32 %offset.idx140, 2
  %141 = zext i32 %offset.idx140 to i64
  %142 = zext i32 %140 to i64
  %143 = getelementptr inbounds i32, ptr %110, i64 %index131
  %144 = getelementptr inbounds i8, ptr %143, i64 8
  %wide.load141 = load <2 x i32>, ptr %143, align 4, !tbaa !24, !alias.scope !45, !noalias !48
  %wide.load142 = load <2 x i32>, ptr %144, align 4, !tbaa !24, !alias.scope !45, !noalias !48
  %145 = getelementptr inbounds %struct.tuple, ptr %109, i64 %141
  %146 = getelementptr inbounds %struct.tuple, ptr %109, i64 %142
  %interleaved.vec143 = shufflevector <2 x i32> %broadcast.splat, <2 x i32> %wide.load141, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x i32> %interleaved.vec143, ptr %145, align 4, !tbaa !24
  %interleaved.vec144 = shufflevector <2 x i32> %broadcast.splat, <2 x i32> %wide.load142, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x i32> %interleaved.vec144, ptr %146, align 4, !tbaa !24
  %147 = add i32 %139, 3
  store i32 %147, ptr %43, align 8, !tbaa !20, !alias.scope !50, !noalias !52
  %index.next145 = add nuw i64 %index131, 4
  %148 = add i32 %139, 4
  %149 = icmp eq i64 %index.next145, %n.vec125
  br i1 %149, label %middle.block120, label %vector.body130, !llvm.loop !53

middle.block120:                                  ; preds = %vector.body130
  %cmp.n146 = icmp eq i64 %n.vec125, %wide.trip.count53
  br i1 %cmp.n146, label %._crit_edge, label %scalar.ph121.preheader

._crit_edge:                                      ; preds = %scalar.ph121.prol.loopexit, %scalar.ph121, %scalar.ph.prol.loopexit, %scalar.ph, %middle.block120, %middle.block, %.._crit_edge_crit_edge
  %150 = phi ptr [ %.pre59, %.._crit_edge_crit_edge ], [ %45, %middle.block ], [ %110, %middle.block120 ], [ %45, %scalar.ph ], [ %45, %scalar.ph.prol.loopexit ], [ %110, %scalar.ph121 ], [ %110, %scalar.ph121.prol.loopexit ]
  tail call void @free(ptr noundef %150) #3
  tail call void @free(ptr noundef nonnull %24) #3
  br label %163

scalar.ph121:                                     ; preds = %scalar.ph121, %scalar.ph121.preheader.new
  %indvars.iv = phi i64 [ %indvars.iv.unr, %scalar.ph121.preheader.new ], [ %indvars.iv.next.1, %scalar.ph121 ]
  %151 = phi i32 [ %.unr, %scalar.ph121.preheader.new ], [ %162, %scalar.ph121 ]
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds %struct.tuple, ptr %109, i64 %152
  store i32 %.pre58, ptr %153, align 4, !tbaa !34
  %154 = getelementptr inbounds i32, ptr %110, i64 %indvars.iv
  %155 = load i32, ptr %154, align 4, !tbaa !24
  %156 = getelementptr inbounds %struct.tuple, ptr %109, i64 %152, i32 1
  store i32 %155, ptr %156, align 4, !tbaa !17
  %157 = add i32 %151, 1
  store i32 %157, ptr %43, align 8, !tbaa !20
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds %struct.tuple, ptr %109, i64 %158
  store i32 %.pre58, ptr %159, align 4, !tbaa !34
  %gep = getelementptr i32, ptr %invariant.gep, i64 %indvars.iv
  %160 = load i32, ptr %gep, align 4, !tbaa !24
  %161 = getelementptr inbounds %struct.tuple, ptr %109, i64 %158, i32 1
  store i32 %160, ptr %161, align 4, !tbaa !17
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %162 = add i32 %151, 2
  store i32 %162, ptr %43, align 8, !tbaa !20
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count53
  br i1 %exitcond.not.1, label %._crit_edge, label %scalar.ph121, !llvm.loop !54

163:                                              ; preds = %._crit_edge, %17
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %164 = load i32, ptr %8, align 4, !tbaa !13
  %165 = zext i32 %164 to i64
  %166 = icmp ult i64 %indvars.iv.next56, %165
  %indvar.next = add i64 %indvar, 1
  br i1 %166, label %17, label %.loopexit, !llvm.loop !55

.loopexit:                                        ; preds = %163, %5, %1
  ret void
}

declare ptr @search(ptr noundef, i32 noundef) local_unnamed_addr #0

attributes #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 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 #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"join_job_args", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !7, i64 32, !11, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{!6, !10, i64 24}
!13 = !{!6, !10, i64 28}
!14 = !{!6, !7, i64 8}
!15 = !{!16, !7, i64 0}
!16 = !{!"join_relation", !7, i64 0, !10, i64 8}
!17 = !{!18, !10, i64 4}
!18 = !{!"tuple", !10, i64 0, !10, i64 4}
!19 = !{!6, !7, i64 0}
!20 = !{!16, !10, i64 8}
!21 = !{!22, !10, i64 0}
!22 = !{!"row_ids", !10, i64 0, !10, i64 4, !7, i64 8}
!23 = !{!6, !7, i64 32}
!24 = !{!10, !10, i64 0}
!25 = !{!22, !7, i64 8}
!26 = !{!6, !11, i64 40}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!30}
!30 = distinct !{!30, !31}
!31 = distinct !{!31, !"LVerDomain"}
!32 = !{!33}
!33 = distinct !{!33, !31}
!34 = !{!18, !10, i64 0}
!35 = !{!36}
!36 = distinct !{!36, !31}
!37 = !{!38}
!38 = distinct !{!38, !31}
!39 = !{!30, !36, !33}
!40 = distinct !{!40, !41, !42, !43}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!"llvm.loop.isvectorized", i32 1}
!43 = !{!"llvm.loop.unroll.runtime.disable"}
!44 = distinct !{!44, !41, !42}
!45 = !{!46}
!46 = distinct !{!46, !47}
!47 = distinct !{!47, !"LVerDomain"}
!48 = !{!49}
!49 = distinct !{!49, !47}
!50 = !{!51}
!51 = distinct !{!51, !47}
!52 = !{!46, !49}
!53 = distinct !{!53, !41, !42, !43}
!54 = distinct !{!54, !41, !42}
!55 = distinct !{!55, !41}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass