; LLVM IR from kalininalab/rinminer :: rinminer (rinminer)

; 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.dfs_code_t = type { i16, i16, i32, i32, %struct.edge_label_t, i32 }
%struct.edge_label_t = type { i32, i32 }
%struct.thread_data_t = type { ptr, ptr, ptr, ptr, ptr, %struct.embedding_store_t, %struct.embedding_store_t, %struct.embedding_store_t, %struct.extension_store_t, ptr, %struct.rem_edge_store_t, ptr, ptr, i32, %struct.subgraph_store_t, i32 }
%struct.embedding_store_t = type { ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32 }
%struct.extension_store_t = type { ptr, ptr, ptr, i32, i32, i32 }
%struct.rem_edge_store_t = type { ptr, ptr, ptr }
%struct.subgraph_store_t = type { ptr, ptr, i32, i32 }
%struct.database_t = type { ptr, i32, i32, i32 }
%struct.database_entry_t = type { ptr, ptr, ptr, i32, i32, i32, i32 }
%struct.neighbor_t = type { i16, %struct.edge_label_t, i32 }
%struct.subgraph_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i32, ptr }

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

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @prepare_extension_store(ptr noundef, i32 noundef, i32 noundef) #4

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @update_extensions(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #6

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @invert_direction(i32 noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vertex_label_compare(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @pthread_join(i64 noundef, ptr noundef) #7

; Function Attrs: nounwind uwtable
declare dso_local ptr @gspan_init_helper(ptr noundef) #8

; Function Attrs: nounwind uwtable
define dso_local void @gspan_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #8 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %struct.dfs_code_t, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #9
  %43 = getelementptr inbounds %struct.dfs_code_t, ptr %15, i32 0, i32 0
  store i16 0, ptr %43, align 4, !tbaa !11
  %44 = getelementptr inbounds %struct.dfs_code_t, ptr %15, i32 0, i32 1
  store i16 1, ptr %44, align 2, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.thread_data_t, ptr %45, i64 0
  %47 = getelementptr inbounds %struct.thread_data_t, ptr %46, i32 0, i32 9
  %48 = load ptr, ptr %47, align 8, !tbaa !16
  store ptr %48, ptr %16, align 8, !tbaa !5
  %49 = load ptr, ptr %16, align 8, !tbaa !5
  call void @prepare_extension_store(ptr noundef %49, i32 noundef 1, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %154, %7
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.database_t, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 8, !tbaa !22
  %55 = icmp ult i32 %51, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %50
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  br label %157

57:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.database_t, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !24
  %61 = load i32, ptr %17, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds %struct.database_entry_t, ptr %60, i64 %62
  store ptr %63, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %150, %57
  %65 = load i32, ptr %20, align 4, !tbaa !9
  %66 = load ptr, ptr %19, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.database_entry_t, ptr %66, i32 0, i32 5
  %68 = load i32, ptr %67, align 8, !tbaa !25
  %69 = icmp ult i32 %65, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %64
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %153

71:                                               ; preds = %64
  %72 = load ptr, ptr %19, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.database_entry_t, ptr %72, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8, !tbaa !27
  %75 = load i32, ptr %20, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = getelementptr inbounds i32, ptr %74, i64 %76
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = getelementptr inbounds %struct.dfs_code_t, ptr %15, i32 0, i32 2
  store i32 %78, ptr %79, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %146, %71
  %81 = load i32, ptr %21, align 4, !tbaa !9
  %82 = load ptr, ptr %19, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.database_entry_t, ptr %82, i32 0, i32 1
  %84 = load ptr, ptr %83, align 8, !tbaa !29
  %85 = load i32, ptr %20, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = getelementptr inbounds i32, ptr %84, i64 %86
  %88 = load i32, ptr %87, align 4, !tbaa !9
  %89 = icmp ult i32 %81, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %80
  store i32 8, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %149

91:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %92 = load ptr, ptr %19, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.database_entry_t, ptr %92, i32 0, i32 2
  %94 = load ptr, ptr %93, align 8, !tbaa !30
  %95 = load i32, ptr %20, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds ptr, ptr %94, i64 %96
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  %99 = load i32, ptr %21, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds %struct.neighbor_t, ptr %98, i64 %100
  store ptr %101, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %102 = load ptr, ptr %19, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.database_entry_t, ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !27
  %105 = load ptr, ptr %22, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.neighbor_t, ptr %105, i32 0, i32 0
  %107 = load i16, ptr %106, align 4, !tbaa !31
  %108 = zext i16 %107 to i64
  %109 = getelementptr inbounds i32, ptr %104, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !9
  %111 = getelementptr inbounds %struct.dfs_code_t, ptr %15, i32 0, i32 3
  store i32 %110, ptr %111, align 4, !tbaa !33
  %112 = getelementptr inbounds %struct.dfs_code_t, ptr %15, i32 0, i32 2
  %113 = getelementptr inbounds %struct.dfs_code_t, ptr %15, i32 0, i32 3
  %114 = call i32 @vertex_label_compare(ptr noundef %112, ptr noundef %113)
  store i32 %114, ptr %23, align 4, !tbaa !9
  %115 = load i32, ptr %23, align 4, !tbaa !9
  %116 = icmp sgt i32 %115, 0
  br i1 %116, label %117, label %118

117:                                              ; preds = %91
  store i32 10, ptr %18, align 4
  br label %143

118:                                              ; preds = %91
  %119 = load i32, ptr %23, align 4, !tbaa !9
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %121, label %132

121:                                              ; preds = %118
  %122 = load ptr, ptr %22, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.neighbor_t, ptr %122, i32 0, i32 2
  %124 = load i32, ptr %123, align 4, !tbaa !34
  %125 = load ptr, ptr %22, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.neighbor_t, ptr %125, i32 0, i32 2
  %127 = load i32, ptr %126, align 4, !tbaa !34
  %128 = call i32 @invert_direction(i32 noundef %127)
  %129 = icmp ugt i32 %124, %128
  br i1 %129, label %130, label %131

130:                                              ; preds = %121
  store i32 10, ptr %18, align 4
  br label %143

131:                                              ; preds = %121
  br label %132

132:                                              ; preds = %131, %118
  %133 = getelementptr inbounds %struct.dfs_code_t, ptr %15, i32 0, i32 4
  %134 = load ptr, ptr %22, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.neighbor_t, ptr %134, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %133, ptr align 4 %135, i64 8, i1 false), !tbaa.struct !35
  %136 = load ptr, ptr %22, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.neighbor_t, ptr %136, i32 0, i32 2
  %138 = load i32, ptr %137, align 4, !tbaa !34
  %139 = getelementptr inbounds %struct.dfs_code_t, ptr %15, i32 0, i32 5
  store i32 %138, ptr %139, align 4, !tbaa !36
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  %141 = load i32, ptr %17, align 4, !tbaa !9
  %142 = load ptr, ptr %16, align 8, !tbaa !5
  call void @update_extensions(ptr noundef %140, i32 noundef %141, ptr noundef %142, ptr noundef %15)
  store i32 0, ptr %18, align 4
  br label %143

143:                                              ; preds = %132, %130, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  %144 = load i32, ptr %18, align 4
  switch i32 %144, label %383 [
    i32 0, label %145
    i32 10, label %146
  ]

145:                                              ; preds = %143
  br label %146

146:                                              ; preds = %145, %143
  %147 = load i32, ptr %21, align 4, !tbaa !9
  %148 = add i32 %147, 1
  store i32 %148, ptr %21, align 4, !tbaa !9
  br label %80, !llvm.loop !37

149:                                              ; preds = %90
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %20, align 4, !tbaa !9
  %152 = add i32 %151, 1
  store i32 %152, ptr %20, align 4, !tbaa !9
  br label %64, !llvm.loop !39

153:                                              ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %154

154:                                              ; preds = %153
  %155 = load i32, ptr %17, align 4, !tbaa !9
  %156 = add i32 %155, 1
  store i32 %156, ptr %17, align 4, !tbaa !9
  br label %50, !llvm.loop !40

157:                                              ; preds = %56
  %158 = load i32, ptr %10, align 4, !tbaa !9
  %159 = load ptr, ptr %16, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.extension_store_t, ptr %159, i32 0, i32 3
  %161 = load i32, ptr %160, align 8, !tbaa !41
  %162 = icmp ult i32 %158, %161
  br i1 %162, label %163, label %165

163:                                              ; preds = %157
  %164 = load i32, ptr %10, align 4, !tbaa !9
  br label %169

165:                                              ; preds = %157
  %166 = load ptr, ptr %16, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.extension_store_t, ptr %166, i32 0, i32 3
  %168 = load i32, ptr %167, align 8, !tbaa !41
  br label %169

169:                                              ; preds = %165, %163
  %170 = phi i32 [ %164, %163 ], [ %168, %165 ]
  store i32 %170, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %171 = load i32, ptr %10, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = mul i64 %172, 8
  %174 = call noalias ptr @malloc(i64 noundef %173) #10
  store ptr %174, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store volatile i32 0, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %175

175:                                              ; preds = %194, %169
  %176 = load i32, ptr %26, align 4, !tbaa !9
  %177 = load i32, ptr %10, align 4, !tbaa !9
  %178 = icmp ult i32 %176, %177
  br i1 %178, label %180, label %179

179:                                              ; preds = %175
  store i32 11, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %197

180:                                              ; preds = %175
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = load i32, ptr %26, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = getelementptr inbounds %struct.thread_data_t, ptr %181, i64 %183
  %185 = getelementptr inbounds %struct.thread_data_t, ptr %184, i32 0, i32 1
  store ptr %25, ptr %185, align 8, !tbaa !42
  %186 = load ptr, ptr %16, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.extension_store_t, ptr %186, i32 0, i32 3
  %188 = load i32, ptr %187, align 8, !tbaa !41
  %189 = load ptr, ptr %11, align 8, !tbaa !5
  %190 = load i32, ptr %26, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds %struct.thread_data_t, ptr %189, i64 %191
  %193 = getelementptr inbounds %struct.thread_data_t, ptr %192, i32 0, i32 15
  store i32 %188, ptr %193, align 8, !tbaa !43
  br label %194

194:                                              ; preds = %180
  %195 = load i32, ptr %26, align 4, !tbaa !9
  %196 = add i32 %195, 1
  store i32 %196, ptr %26, align 4, !tbaa !9
  br label %175, !llvm.loop !44

197:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %198

198:                                              ; preds = %213, %197
  %199 = load i32, ptr %27, align 4, !tbaa !9
  %200 = load i32, ptr %10, align 4, !tbaa !9
  %201 = icmp ult i32 %199, %200
  br i1 %201, label %203, label %202

202:                                              ; preds = %198
  store i32 14, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  br label %216

203:                                              ; preds = %198
  %204 = load ptr, ptr %24, align 8, !tbaa !5
  %205 = load i32, ptr %27, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = getelementptr inbounds i64, ptr %204, i64 %206
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = load i32, ptr %27, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = getelementptr inbounds %struct.thread_data_t, ptr %208, i64 %210
  %212 = call i32 @pthread_create(ptr noundef %207, ptr noundef null, ptr noundef @gspan_init_helper, ptr noundef %211) #9
  br label %213

213:                                              ; preds = %203
  %214 = load i32, ptr %27, align 4, !tbaa !9
  %215 = add i32 %214, 1
  store i32 %215, ptr %27, align 4, !tbaa !9
  br label %198, !llvm.loop !45

216:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  store i32 0, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %217

217:                                              ; preds = %238, %216
  %218 = load i32, ptr %29, align 4, !tbaa !9
  %219 = load i32, ptr %10, align 4, !tbaa !9
  %220 = icmp ult i32 %218, %219
  br i1 %220, label %222, label %221

221:                                              ; preds = %217
  store i32 17, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %241

222:                                              ; preds = %217
  %223 = load ptr, ptr %24, align 8, !tbaa !5
  %224 = load i32, ptr %29, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = getelementptr inbounds i64, ptr %223, i64 %225
  %227 = load i64, ptr %226, align 8, !tbaa !46
  %228 = call i32 @pthread_join(i64 noundef %227, ptr noundef null)
  %229 = load ptr, ptr %11, align 8, !tbaa !5
  %230 = load i32, ptr %29, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = getelementptr inbounds %struct.thread_data_t, ptr %229, i64 %231
  %233 = getelementptr inbounds %struct.thread_data_t, ptr %232, i32 0, i32 14
  %234 = getelementptr inbounds %struct.subgraph_store_t, ptr %233, i32 0, i32 2
  %235 = load i32, ptr %234, align 8, !tbaa !48
  %236 = load i32, ptr %28, align 4, !tbaa !9
  %237 = add i32 %236, %235
  store i32 %237, ptr %28, align 4, !tbaa !9
  br label %238

238:                                              ; preds = %222
  %239 = load i32, ptr %29, align 4, !tbaa !9
  %240 = add i32 %239, 1
  store i32 %240, ptr %29, align 4, !tbaa !9
  br label %217, !llvm.loop !49

241:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %242 = load i32, ptr %28, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = mul i64 %243, 120
  %245 = call noalias ptr @malloc(i64 noundef %244) #10
  store ptr %245, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  store i32 0, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %246

246:                                              ; preds = %283, %241
  %247 = load i32, ptr %32, align 4, !tbaa !9
  %248 = load i32, ptr %10, align 4, !tbaa !9
  %249 = icmp ult i32 %247, %248
  br i1 %249, label %251, label %250

250:                                              ; preds = %246
  store i32 20, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  br label %286

251:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %252 = load ptr, ptr %11, align 8, !tbaa !5
  %253 = load i32, ptr %32, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  %255 = getelementptr inbounds %struct.thread_data_t, ptr %252, i64 %254
  %256 = getelementptr inbounds %struct.thread_data_t, ptr %255, i32 0, i32 14
  %257 = getelementptr inbounds %struct.subgraph_store_t, ptr %256, i32 0, i32 2
  %258 = load i32, ptr %257, align 8, !tbaa !48
  store i32 %258, ptr %33, align 4, !tbaa !9
  %259 = load ptr, ptr %30, align 8, !tbaa !5
  %260 = load i32, ptr %31, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = getelementptr inbounds %struct.subgraph_t, ptr %259, i64 %261
  %263 = load ptr, ptr %11, align 8, !tbaa !5
  %264 = load i32, ptr %32, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = getelementptr inbounds %struct.thread_data_t, ptr %263, i64 %265
  %267 = getelementptr inbounds %struct.thread_data_t, ptr %266, i32 0, i32 14
  %268 = getelementptr inbounds %struct.subgraph_store_t, ptr %267, i32 0, i32 0
  %269 = load ptr, ptr %268, align 8, !tbaa !50
  %270 = load i32, ptr %33, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = mul i64 %271, 120
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %262, ptr align 8 %269, i64 %272, i1 false)
  %273 = load ptr, ptr %11, align 8, !tbaa !5
  %274 = load i32, ptr %32, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = getelementptr inbounds %struct.thread_data_t, ptr %273, i64 %275
  %277 = getelementptr inbounds %struct.thread_data_t, ptr %276, i32 0, i32 14
  %278 = getelementptr inbounds %struct.subgraph_store_t, ptr %277, i32 0, i32 0
  %279 = load ptr, ptr %278, align 8, !tbaa !50
  call void @free(ptr noundef %279) #9
  %280 = load i32, ptr %33, align 4, !tbaa !9
  %281 = load i32, ptr %31, align 4, !tbaa !9
  %282 = add i32 %281, %280
  store i32 %282, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %283

283:                                              ; preds = %251
  %284 = load i32, ptr %32, align 4, !tbaa !9
  %285 = add i32 %284, 1
  store i32 %285, ptr %32, align 4, !tbaa !9
  br label %246, !llvm.loop !51

286:                                              ; preds = %250
  %287 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 4 %287, i8 0, i64 12, i1 false)
  %288 = load i32, ptr %28, align 4, !tbaa !9
  %289 = load ptr, ptr %13, align 8, !tbaa !5
  %290 = getelementptr inbounds i32, ptr %289, i64 0
  store i32 %288, ptr %290, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  store i32 -2147483648, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  %291 = load i32, ptr %28, align 4, !tbaa !9
  %292 = udiv i32 %291, 3
  %293 = icmp uge i32 1024, %292
  br i1 %293, label %294, label %295

294:                                              ; preds = %286
  br label %298

295:                                              ; preds = %286
  %296 = load i32, ptr %28, align 4, !tbaa !9
  %297 = udiv i32 %296, 3
  br label %298

298:                                              ; preds = %295, %294
  %299 = phi i32 [ 1024, %294 ], [ %297, %295 ]
  store i32 %299, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %300 = load i32, ptr %36, align 4, !tbaa !9
  %301 = zext i32 %300 to i64
  %302 = call noalias ptr @calloc(i64 noundef %301, i64 noundef 8) #11
  store ptr %302, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  store i32 0, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  store i32 0, ptr %39, align 4, !tbaa !9
  br label %303

303:                                              ; preds = %364, %298
  %304 = load i32, ptr %39, align 4, !tbaa !9
  %305 = load i32, ptr %28, align 4, !tbaa !9
  %306 = icmp ult i32 %304, %305
  br i1 %306, label %308, label %307

307:                                              ; preds = %303
  store i32 23, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  br label %367

308:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  %309 = load ptr, ptr %30, align 8, !tbaa !5
  %310 = load i32, ptr %39, align 4, !tbaa !9
  %311 = zext i32 %310 to i64
  %312 = getelementptr inbounds %struct.subgraph_t, ptr %309, i64 %311
  %313 = getelementptr inbounds %struct.subgraph_t, ptr %312, i32 0, i32 9
  %314 = load i32, ptr %313, align 4, !tbaa !52
  store i32 %314, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %315 = load i32, ptr %40, align 4, !tbaa !9
  %316 = load i32, ptr %36, align 4, !tbaa !9
  %317 = urem i32 %315, %316
  store i32 %317, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #9
  %318 = load ptr, ptr %37, align 8, !tbaa !5
  %319 = load i32, ptr %41, align 4, !tbaa !9
  %320 = zext i32 %319 to i64
  %321 = getelementptr inbounds ptr, ptr %318, i64 %320
  %322 = load ptr, ptr %321, align 8, !tbaa !5
  store ptr %322, ptr %42, align 8, !tbaa !5
  %323 = load i32, ptr %38, align 4, !tbaa !9
  %324 = add i32 %323, 1
  store i32 %324, ptr %38, align 4, !tbaa !9
  %325 = load ptr, ptr %30, align 8, !tbaa !5
  %326 = load i32, ptr %39, align 4, !tbaa !9
  %327 = zext i32 %326 to i64
  %328 = getelementptr inbounds %struct.subgraph_t, ptr %325, i64 %327
  %329 = getelementptr inbounds %struct.subgraph_t, ptr %328, i32 0, i32 8
  store i32 %323, ptr %329, align 8, !tbaa !54
  %330 = load ptr, ptr %30, align 8, !tbaa !5
  %331 = load i32, ptr %39, align 4, !tbaa !9
  %332 = zext i32 %331 to i64
  %333 = getelementptr inbounds %struct.subgraph_t, ptr %330, i64 %332
  %334 = getelementptr inbounds %struct.subgraph_t, ptr %333, i32 0, i32 11
  %335 = load i32, ptr %334, align 4, !tbaa !55
  %336 = load i32, ptr %34, align 4, !tbaa !9
  %337 = icmp sgt i32 %335, %336
  br i1 %337, label %338, label %349

338:                                              ; preds = %308
  %339 = load ptr, ptr %30, align 8, !tbaa !5
  %340 = load i32, ptr %39, align 4, !tbaa !9
  %341 = zext i32 %340 to i64
  %342 = getelementptr inbounds %struct.subgraph_t, ptr %339, i64 %341
  %343 = getelementptr inbounds %struct.subgraph_t, ptr %342, i32 0, i32 11
  %344 = load i32, ptr %343, align 4, !tbaa !55
  store i32 %344, ptr %34, align 4, !tbaa !9
  %345 = load ptr, ptr %30, align 8, !tbaa !5
  %346 = load i32, ptr %39, align 4, !tbaa !9
  %347 = zext i32 %346 to i64
  %348 = getelementptr inbounds %struct.subgraph_t, ptr %345, i64 %347
  store ptr %348, ptr %35, align 8, !tbaa !5
  br label %349

349:                                              ; preds = %338, %308
  %350 = load ptr, ptr %30, align 8, !tbaa !5
  %351 = load i32, ptr %39, align 4, !tbaa !9
  %352 = zext i32 %351 to i64
  %353 = getelementptr inbounds %struct.subgraph_t, ptr %350, i64 %352
  %354 = load ptr, ptr %37, align 8, !tbaa !5
  %355 = load i32, ptr %41, align 4, !tbaa !9
  %356 = zext i32 %355 to i64
  %357 = getelementptr inbounds ptr, ptr %354, i64 %356
  store ptr %353, ptr %357, align 8, !tbaa !5
  %358 = load ptr, ptr %42, align 8, !tbaa !5
  %359 = load ptr, ptr %30, align 8, !tbaa !5
  %360 = load i32, ptr %39, align 4, !tbaa !9
  %361 = zext i32 %360 to i64
  %362 = getelementptr inbounds %struct.subgraph_t, ptr %359, i64 %361
  %363 = getelementptr inbounds %struct.subgraph_t, ptr %362, i32 0, i32 20
  store ptr %358, ptr %363, align 8, !tbaa !56
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %364

364:                                              ; preds = %349
  %365 = load i32, ptr %39, align 4, !tbaa !9
  %366 = add i32 %365, 1
  store i32 %366, ptr %39, align 4, !tbaa !9
  br label %303, !llvm.loop !57

367:                                              ; preds = %307
  %368 = load ptr, ptr %24, align 8, !tbaa !5
  call void @free(ptr noundef %368) #9
  %369 = load i32, ptr %28, align 4, !tbaa !9
  %370 = load ptr, ptr %12, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.subgraph_store_t, ptr %370, i32 0, i32 2
  store i32 %369, ptr %371, align 8, !tbaa !58
  %372 = load ptr, ptr %30, align 8, !tbaa !5
  %373 = load ptr, ptr %12, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.subgraph_store_t, ptr %373, i32 0, i32 0
  store ptr %372, ptr %374, align 8, !tbaa !59
  %375 = load ptr, ptr %37, align 8, !tbaa !5
  %376 = load ptr, ptr %12, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.subgraph_store_t, ptr %376, i32 0, i32 1
  store ptr %375, ptr %377, align 8, !tbaa !60
  %378 = load i32, ptr %36, align 4, !tbaa !9
  %379 = load ptr, ptr %12, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.subgraph_store_t, ptr %379, i32 0, i32 3
  store i32 %378, ptr %380, align 4, !tbaa !61
  %381 = load ptr, ptr %35, align 8, !tbaa !5
  %382 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %381, ptr %382, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #9
  ret void

383:                                              ; preds = %143
  unreachable
}

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(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 "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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind allocsize(0,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 #7 = { "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 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 #9 = { nounwind }
attributes #10 = { nounwind allocsize(0) }
attributes #11 = { nounwind allocsize(0,1) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"dfs_code_t", !13, i64 0, !13, i64 2, !10, i64 4, !10, i64 8, !14, i64 12, !10, i64 20}
!13 = !{!"short", !7, i64 0}
!14 = !{!"edge_label_t", !10, i64 0, !10, i64 4}
!15 = !{!12, !13, i64 2}
!16 = !{!17, !6, i64 248}
!17 = !{!"thread_data_t", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !18, i64 40, !18, i64 96, !18, i64 152, !19, i64 208, !6, i64 248, !20, i64 256, !6, i64 280, !6, i64 288, !10, i64 296, !21, i64 304, !10, i64 328}
!18 = !{!"embedding_store_t", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52}
!19 = !{!"extension_store_t", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32}
!20 = !{!"rem_edge_store_t", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"subgraph_store_t", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20}
!22 = !{!23, !10, i64 8}
!23 = !{!"database_t", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!24 = !{!23, !6, i64 0}
!25 = !{!26, !10, i64 32}
!26 = !{!"database_entry_t", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36}
!27 = !{!26, !6, i64 0}
!28 = !{!12, !10, i64 4}
!29 = !{!26, !6, i64 8}
!30 = !{!26, !6, i64 16}
!31 = !{!32, !13, i64 0}
!32 = !{!"neighbor_t", !13, i64 0, !14, i64 4, !10, i64 12}
!33 = !{!12, !10, i64 8}
!34 = !{!32, !10, i64 12}
!35 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!36 = !{!12, !10, i64 20}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = distinct !{!39, !38}
!40 = distinct !{!40, !38}
!41 = !{!19, !10, i64 24}
!42 = !{!17, !6, i64 8}
!43 = !{!17, !10, i64 328}
!44 = distinct !{!44, !38}
!45 = distinct !{!45, !38}
!46 = !{!47, !47, i64 0}
!47 = !{!"long", !7, i64 0}
!48 = !{!17, !10, i64 320}
!49 = distinct !{!49, !38}
!50 = !{!17, !6, i64 304}
!51 = distinct !{!51, !38}
!52 = !{!53, !10, i64 68}
!53 = !{!"subgraph_t", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !13, i64 104, !10, i64 108, !6, i64 112}
!54 = !{!53, !10, i64 64}
!55 = !{!53, !10, i64 76}
!56 = !{!53, !6, i64 112}
!57 = distinct !{!57, !38}
!58 = !{!21, !10, i64 16}
!59 = !{!21, !6, i64 0}
!60 = !{!21, !6, i64 8}
!61 = !{!21, !10, i64 20}


; 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.dfs_code_t = type { i16, i16, i32, i32, %struct.edge_label_t, i32 }
%struct.edge_label_t = type { i32, i32 }
%struct.database_entry_t = type { ptr, ptr, ptr, i32, i32, i32, i32 }
%struct.neighbor_t = type { i16, %struct.edge_label_t, i32 }
%struct.thread_data_t = type { ptr, ptr, ptr, ptr, ptr, %struct.embedding_store_t, %struct.embedding_store_t, %struct.embedding_store_t, %struct.extension_store_t, ptr, %struct.rem_edge_store_t, ptr, ptr, i32, %struct.subgraph_store_t, i32 }
%struct.embedding_store_t = type { ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32 }
%struct.extension_store_t = type { ptr, ptr, ptr, i32, i32, i32 }
%struct.rem_edge_store_t = type { ptr, ptr, ptr }
%struct.subgraph_store_t = type { ptr, ptr, i32, i32 }
%struct.subgraph_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i32, ptr }

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

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @prepare_extension_store(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @update_extensions(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @invert_direction(i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vertex_label_compare(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare i32 @pthread_join(i64 noundef, ptr noundef) local_unnamed_addr #8

; Function Attrs: nounwind uwtable
declare dso_local ptr @gspan_init_helper(ptr noundef) #9

; Function Attrs: nounwind uwtable
define dso_local void @gspan_init(ptr noundef %0, ptr nocapture noundef readnone %1, i32 noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #9 {
  %8 = alloca %struct.dfs_code_t, align 4
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #11
  store i16 0, ptr %8, align 4, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %8, i64 2
  store i16 1, ptr %10, align 2, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %3, i64 248
  %12 = load ptr, ptr %11, align 8, !tbaa !13
  tail call void @prepare_extension_store(ptr noundef %12, i32 noundef 1, i32 noundef 2)
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = load i32, ptr %13, align 8, !tbaa !20
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %._crit_edge144, label %.lr.ph143

.lr.ph143:                                        ; preds = %7
  %15 = getelementptr inbounds i8, ptr %8, i64 4
  %16 = getelementptr inbounds i8, ptr %8, i64 8
  %17 = getelementptr inbounds i8, ptr %8, i64 12
  %18 = getelementptr inbounds i8, ptr %8, i64 20
  br label %25

._crit_edge144:                                   ; preds = %._crit_edge140, %7
  %19 = getelementptr inbounds i8, ptr %12, i64 24
  %20 = load i32, ptr %19, align 8, !tbaa !22
  %. = call i32 @llvm.umin.i32(i32 %20, i32 %2)
  %21 = zext i32 %. to i64
  %22 = shl nuw nsw i64 %21, 3
  %23 = call noalias ptr @malloc(i64 noundef %22) #12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #11
  store volatile i32 0, ptr %9, align 4, !tbaa !23
  %.not169 = icmp eq i32 %., 0
  br i1 %.not169, label %.thread, label %.lr.ph147.preheader

.lr.ph147.preheader:                              ; preds = %._crit_edge144
  %xtraiter = and i64 %21, 3
  %24 = icmp ult i32 %., 4
  br i1 %24, label %.preheader135.unr-lcssa, label %.lr.ph147.preheader.new

.lr.ph147.preheader.new:                          ; preds = %.lr.ph147.preheader
  %unroll_iter = and i64 %21, 4294967292
  br label %.lr.ph147

25:                                               ; preds = %.lr.ph143, %._crit_edge140
  %26 = phi i32 [ %14, %.lr.ph143 ], [ %34, %._crit_edge140 ]
  %indvars.iv178 = phi i64 [ 0, %.lr.ph143 ], [ %indvars.iv.next179, %._crit_edge140 ]
  %27 = load ptr, ptr %0, align 8, !tbaa !24
  %28 = getelementptr inbounds %struct.database_entry_t, ptr %27, i64 %indvars.iv178
  %29 = getelementptr inbounds i8, ptr %28, i64 32
  %30 = load i32, ptr %29, align 8, !tbaa !25
  %.not167 = icmp eq i32 %30, 0
  br i1 %.not167, label %._crit_edge140, label %.lr.ph139

.lr.ph139:                                        ; preds = %25
  %31 = getelementptr inbounds i8, ptr %28, i64 8
  %32 = getelementptr inbounds i8, ptr %28, i64 16
  %.pre = load ptr, ptr %31, align 8, !tbaa !27
  %33 = trunc nuw i64 %indvars.iv178 to i32
  br label %37

._crit_edge140.loopexit:                          ; preds = %._crit_edge
  %.pre207 = load i32, ptr %13, align 8, !tbaa !20
  br label %._crit_edge140

._crit_edge140:                                   ; preds = %._crit_edge140.loopexit, %25
  %34 = phi i32 [ %.pre207, %._crit_edge140.loopexit ], [ %26, %25 ]
  %indvars.iv.next179 = add nuw nsw i64 %indvars.iv178, 1
  %35 = zext i32 %34 to i64
  %36 = icmp ult i64 %indvars.iv.next179, %35
  br i1 %36, label %25, label %._crit_edge144, !llvm.loop !28

37:                                               ; preds = %.lr.ph139, %._crit_edge
  %38 = phi i32 [ %30, %.lr.ph139 ], [ %45, %._crit_edge ]
  %39 = phi ptr [ %.pre, %.lr.ph139 ], [ %46, %._crit_edge ]
  %indvars.iv175 = phi i64 [ 0, %.lr.ph139 ], [ %indvars.iv.next176, %._crit_edge ]
  %40 = load ptr, ptr %28, align 8, !tbaa !30
  %41 = getelementptr inbounds i32, ptr %40, i64 %indvars.iv175
  %42 = load i32, ptr %41, align 4, !tbaa !23
  store i32 %42, ptr %15, align 4, !tbaa !31
  %43 = getelementptr inbounds i32, ptr %39, i64 %indvars.iv175
  %44 = load i32, ptr %43, align 4, !tbaa !23
  %.not168 = icmp eq i32 %44, 0
  br i1 %.not168, label %._crit_edge, label %.lr.ph

._crit_edge.loopexit:                             ; preds = %72
  %.pre206 = load i32, ptr %29, align 8, !tbaa !25
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %37
  %45 = phi i32 [ %.pre206, %._crit_edge.loopexit ], [ %38, %37 ]
  %46 = phi ptr [ %73, %._crit_edge.loopexit ], [ %39, %37 ]
  %indvars.iv.next176 = add nuw nsw i64 %indvars.iv175, 1
  %47 = zext i32 %45 to i64
  %48 = icmp ult i64 %indvars.iv.next176, %47
  br i1 %48, label %37, label %._crit_edge140.loopexit, !llvm.loop !32

.lr.ph:                                           ; preds = %37, %72
  %indvars.iv = phi i64 [ %indvars.iv.next, %72 ], [ 0, %37 ]
  %49 = load ptr, ptr %32, align 8, !tbaa !33
  %50 = getelementptr inbounds ptr, ptr %49, i64 %indvars.iv175
  %51 = load ptr, ptr %50, align 8, !tbaa !34
  %52 = getelementptr inbounds %struct.neighbor_t, ptr %51, i64 %indvars.iv
  %53 = load ptr, ptr %28, align 8, !tbaa !30
  %54 = load i16, ptr %52, align 4, !tbaa !35
  %55 = zext i16 %54 to i64
  %56 = getelementptr inbounds i32, ptr %53, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !23
  store i32 %57, ptr %16, align 4, !tbaa !37
  %58 = call i32 @vertex_label_compare(ptr noundef nonnull %15, ptr noundef nonnull %16)
  %59 = icmp sgt i32 %58, 0
  br i1 %59, label %72, label %60

60:                                               ; preds = %.lr.ph
  %61 = icmp eq i32 %58, 0
  br i1 %61, label %62, label %67

62:                                               ; preds = %60
  %63 = getelementptr inbounds i8, ptr %52, i64 12
  %64 = load i32, ptr %63, align 4, !tbaa !38
  %65 = call i32 @invert_direction(i32 noundef %64)
  %66 = icmp ugt i32 %64, %65
  br i1 %66, label %72, label %67

67:                                               ; preds = %62, %60
  %68 = getelementptr inbounds i8, ptr %52, i64 4
  %69 = load i64, ptr %68, align 4
  store i64 %69, ptr %17, align 4
  %70 = getelementptr inbounds i8, ptr %52, i64 12
  %71 = load i32, ptr %70, align 4, !tbaa !38
  store i32 %71, ptr %18, align 4, !tbaa !39
  call void @update_extensions(ptr noundef nonnull %0, i32 noundef %33, ptr noundef %12, ptr noundef nonnull %8)
  br label %72

72:                                               ; preds = %62, %.lr.ph, %67
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %73 = load ptr, ptr %31, align 8, !tbaa !27
  %74 = getelementptr inbounds i32, ptr %73, i64 %indvars.iv175
  %75 = load i32, ptr %74, align 4, !tbaa !23
  %76 = zext i32 %75 to i64
  %77 = icmp ult i64 %indvars.iv.next, %76
  br i1 %77, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !40

.preheader135.unr-lcssa:                          ; preds = %.lr.ph147, %.lr.ph147.preheader
  %indvars.iv181.unr = phi i64 [ 0, %.lr.ph147.preheader ], [ %indvars.iv.next182.3, %.lr.ph147 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader135, label %.lr.ph147.epil

.lr.ph147.epil:                                   ; preds = %.preheader135.unr-lcssa, %.lr.ph147.epil
  %indvars.iv181.epil = phi i64 [ %indvars.iv.next182.epil, %.lr.ph147.epil ], [ %indvars.iv181.unr, %.preheader135.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph147.epil ], [ 0, %.preheader135.unr-lcssa ]
  %78 = getelementptr inbounds %struct.thread_data_t, ptr %3, i64 %indvars.iv181.epil
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  store ptr %9, ptr %79, align 8, !tbaa !41
  %80 = getelementptr inbounds i8, ptr %78, i64 328
  store i32 %20, ptr %80, align 8, !tbaa !42
  %indvars.iv.next182.epil = add nuw nsw i64 %indvars.iv181.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader135, label %.lr.ph147.epil, !llvm.loop !43

.preheader135:                                    ; preds = %.lr.ph147.epil, %.preheader135.unr-lcssa
  br i1 %.not169, label %.thread, label %.lr.ph149

.lr.ph147:                                        ; preds = %.lr.ph147, %.lr.ph147.preheader.new
  %indvars.iv181 = phi i64 [ 0, %.lr.ph147.preheader.new ], [ %indvars.iv.next182.3, %.lr.ph147 ]
  %niter = phi i64 [ 0, %.lr.ph147.preheader.new ], [ %niter.next.3, %.lr.ph147 ]
  %81 = getelementptr inbounds %struct.thread_data_t, ptr %3, i64 %indvars.iv181
  %82 = getelementptr inbounds i8, ptr %81, i64 8
  store ptr %9, ptr %82, align 8, !tbaa !41
  %83 = getelementptr inbounds i8, ptr %81, i64 328
  store i32 %20, ptr %83, align 8, !tbaa !42
  %indvars.iv.next182 = or disjoint i64 %indvars.iv181, 1
  %84 = getelementptr inbounds %struct.thread_data_t, ptr %3, i64 %indvars.iv.next182
  %85 = getelementptr inbounds i8, ptr %84, i64 8
  store ptr %9, ptr %85, align 8, !tbaa !41
  %86 = getelementptr inbounds i8, ptr %84, i64 328
  store i32 %20, ptr %86, align 8, !tbaa !42
  %indvars.iv.next182.1 = or disjoint i64 %indvars.iv181, 2
  %87 = getelementptr inbounds %struct.thread_data_t, ptr %3, i64 %indvars.iv.next182.1
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  store ptr %9, ptr %88, align 8, !tbaa !41
  %89 = getelementptr inbounds i8, ptr %87, i64 328
  store i32 %20, ptr %89, align 8, !tbaa !42
  %indvars.iv.next182.2 = or disjoint i64 %indvars.iv181, 3
  %90 = getelementptr inbounds %struct.thread_data_t, ptr %3, i64 %indvars.iv.next182.2
  %91 = getelementptr inbounds i8, ptr %90, i64 8
  store ptr %9, ptr %91, align 8, !tbaa !41
  %92 = getelementptr inbounds i8, ptr %90, i64 328
  store i32 %20, ptr %92, align 8, !tbaa !42
  %indvars.iv.next182.3 = add nuw nsw i64 %indvars.iv181, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader135.unr-lcssa, label %.lr.ph147, !llvm.loop !45

.preheader:                                       ; preds = %.lr.ph149
  br i1 %.not169, label %.thread, label %.lr.ph152

.lr.ph149:                                        ; preds = %.preheader135, %.lr.ph149
  %indvars.iv184 = phi i64 [ %indvars.iv.next185, %.lr.ph149 ], [ 0, %.preheader135 ]
  %93 = getelementptr inbounds i64, ptr %23, i64 %indvars.iv184
  %94 = getelementptr inbounds %struct.thread_data_t, ptr %3, i64 %indvars.iv184
  %95 = call i32 @pthread_create(ptr noundef %93, ptr noundef null, ptr noundef nonnull @gspan_init_helper, ptr noundef %94) #11
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %exitcond188.not = icmp eq i64 %indvars.iv.next185, %21
  br i1 %exitcond188.not, label %.preheader, label %.lr.ph149, !llvm.loop !46

.thread:                                          ; preds = %.preheader, %.preheader135, %._crit_edge144
  %96 = call noalias ptr @malloc(i64 noundef 0) #12
  %97 = call noalias dereferenceable_or_null(8192) ptr @calloc(i64 noundef 1024, i64 noundef 8) #13
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %5, i8 0, i64 12, i1 false)
  br label %._crit_edge165

._crit_edge153:                                   ; preds = %.lr.ph152
  %98 = zext i32 %106 to i64
  %99 = mul nuw nsw i64 %98, 120
  %100 = call noalias ptr @malloc(i64 noundef %99) #12
  br i1 %.not169, label %._crit_edge158, label %.lr.ph157

.lr.ph152:                                        ; preds = %.preheader, %.lr.ph152
  %indvars.iv189 = phi i64 [ %indvars.iv.next190, %.lr.ph152 ], [ 0, %.preheader ]
  %.0127150 = phi i32 [ %106, %.lr.ph152 ], [ 0, %.preheader ]
  %101 = getelementptr inbounds i64, ptr %23, i64 %indvars.iv189
  %102 = load i64, ptr %101, align 8, !tbaa !47
  %103 = call i32 @pthread_join(i64 noundef %102, ptr noundef null) #11
  %104 = getelementptr inbounds %struct.thread_data_t, ptr %3, i64 %indvars.iv189, i32 14, i32 2
  %105 = load i32, ptr %104, align 8, !tbaa !49
  %.fr219 = freeze i32 %105
  %106 = add i32 %.fr219, %.0127150
  %indvars.iv.next190 = add nuw nsw i64 %indvars.iv189, 1
  %exitcond193.not = icmp eq i64 %indvars.iv.next190, %21
  br i1 %exitcond193.not, label %._crit_edge153, label %.lr.ph152, !llvm.loop !50

._crit_edge158:                                   ; preds = %.lr.ph157, %._crit_edge153
  %107 = getelementptr inbounds i8, ptr %5, i64 4
  store i64 0, ptr %107, align 4
  store i32 %106, ptr %5, align 4, !tbaa !23
  %108 = icmp ult i32 %106, 3075
  %109 = udiv i32 %106, 3
  %spec.select218 = select i1 %108, i32 1024, i32 %109
  %110 = zext nneg i32 %spec.select218 to i64
  %111 = call noalias ptr @calloc(i64 noundef %110, i64 noundef 8) #13
  %.not173 = icmp eq i32 %106, 0
  br i1 %.not173, label %._crit_edge165, label %.lr.ph164

.lr.ph157:                                        ; preds = %._crit_edge153, %.lr.ph157
  %indvars.iv194 = phi i64 [ %indvars.iv.next195, %.lr.ph157 ], [ 0, %._crit_edge153 ]
  %.0124154 = phi i32 [ %120, %.lr.ph157 ], [ 0, %._crit_edge153 ]
  %112 = getelementptr inbounds %struct.thread_data_t, ptr %3, i64 %indvars.iv194, i32 14
  %113 = getelementptr inbounds i8, ptr %112, i64 16
  %114 = load i32, ptr %113, align 8, !tbaa !49
  %115 = zext i32 %.0124154 to i64
  %116 = getelementptr inbounds %struct.subgraph_t, ptr %100, i64 %115
  %117 = load ptr, ptr %112, align 8, !tbaa !51
  %118 = zext i32 %114 to i64
  %119 = mul nuw nsw i64 %118, 120
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %116, ptr align 8 %117, i64 %119, i1 false)
  call void @free(ptr noundef %117) #11
  %120 = add i32 %114, %.0124154
  %indvars.iv.next195 = add nuw nsw i64 %indvars.iv194, 1
  %exitcond198.not = icmp eq i64 %indvars.iv.next195, %21
  br i1 %exitcond198.not, label %._crit_edge158, label %.lr.ph157, !llvm.loop !52

._crit_edge165:                                   ; preds = %.lr.ph164, %.thread, %._crit_edge158
  %121 = phi ptr [ %111, %._crit_edge158 ], [ %97, %.thread ], [ %111, %.lr.ph164 ]
  %122 = phi i32 [ %spec.select218, %._crit_edge158 ], [ 1024, %.thread ], [ %spec.select218, %.lr.ph164 ]
  %123 = phi ptr [ %100, %._crit_edge158 ], [ %96, %.thread ], [ %100, %.lr.ph164 ]
  %.0127.lcssa209212216 = phi i32 [ 0, %._crit_edge158 ], [ 0, %.thread ], [ %106, %.lr.ph164 ]
  %.0119.lcssa = phi ptr [ undef, %._crit_edge158 ], [ undef, %.thread ], [ %spec.select134, %.lr.ph164 ]
  call void @free(ptr noundef %23) #11
  %124 = getelementptr inbounds i8, ptr %4, i64 16
  store i32 %.0127.lcssa209212216, ptr %124, align 8, !tbaa !53
  store ptr %123, ptr %4, align 8, !tbaa !54
  %125 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %121, ptr %125, align 8, !tbaa !55
  %126 = getelementptr inbounds i8, ptr %4, i64 20
  store i32 %122, ptr %126, align 4, !tbaa !56
  store ptr %.0119.lcssa, ptr %6, align 8, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #11
  ret void

.lr.ph164:                                        ; preds = %._crit_edge158, %.lr.ph164
  %indvars.iv199 = phi i64 [ %indvars.iv.next200, %.lr.ph164 ], [ 0, %._crit_edge158 ]
  %.0119160 = phi ptr [ %spec.select134, %.lr.ph164 ], [ undef, %._crit_edge158 ]
  %.0120159 = phi i32 [ %spec.select, %.lr.ph164 ], [ -2147483648, %._crit_edge158 ]
  %indvars203 = trunc i64 %indvars.iv199 to i32
  %127 = getelementptr inbounds %struct.subgraph_t, ptr %100, i64 %indvars.iv199
  %128 = getelementptr inbounds i8, ptr %127, i64 68
  %129 = load i32, ptr %128, align 4, !tbaa !57
  %130 = urem i32 %129, %spec.select218
  %131 = zext nneg i32 %130 to i64
  %132 = getelementptr inbounds ptr, ptr %111, i64 %131
  %133 = load ptr, ptr %132, align 8, !tbaa !34
  %indvars.iv.next200 = add nuw nsw i64 %indvars.iv199, 1
  %134 = getelementptr inbounds i8, ptr %127, i64 64
  store i32 %indvars203, ptr %134, align 8, !tbaa !59
  %135 = getelementptr inbounds i8, ptr %127, i64 76
  %136 = load i32, ptr %135, align 4, !tbaa !60
  %137 = icmp sgt i32 %136, %.0120159
  %spec.select = call i32 @llvm.smax.i32(i32 %136, i32 %.0120159)
  %spec.select134 = select i1 %137, ptr %127, ptr %.0119160
  store ptr %127, ptr %132, align 8, !tbaa !34
  %138 = getelementptr inbounds i8, ptr %127, i64 112
  store ptr %133, ptr %138, align 8, !tbaa !61
  %exitcond205.not = icmp eq i64 %indvars.iv.next200, %98
  br i1 %exitcond205.not, label %._crit_edge165, label %.lr.ph164, !llvm.loop !62
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #10

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #10

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(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 #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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(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 = { 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 #8 = { "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 #9 = { 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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #11 = { nounwind }
attributes #12 = { nounwind allocsize(0) }
attributes #13 = { nounwind allocsize(0,1) }

!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 0}
!6 = !{!"dfs_code_t", !7, i64 0, !7, i64 2, !10, i64 4, !10, i64 8, !11, i64 12, !10, i64 20}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"edge_label_t", !10, i64 0, !10, i64 4}
!12 = !{!6, !7, i64 2}
!13 = !{!14, !15, i64 248}
!14 = !{!"thread_data_t", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !16, i64 96, !16, i64 152, !17, i64 208, !15, i64 248, !18, i64 256, !15, i64 280, !15, i64 288, !10, i64 296, !19, i64 304, !10, i64 328}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"embedding_store_t", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52}
!17 = !{!"extension_store_t", !15, i64 0, !15, i64 8, !15, i64 16, !10, i64 24, !10, i64 28, !10, i64 32}
!18 = !{!"rem_edge_store_t", !15, i64 0, !15, i64 8, !15, i64 16}
!19 = !{!"subgraph_store_t", !15, i64 0, !15, i64 8, !10, i64 16, !10, i64 20}
!20 = !{!21, !10, i64 8}
!21 = !{!"database_t", !15, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!22 = !{!17, !10, i64 24}
!23 = !{!10, !10, i64 0}
!24 = !{!21, !15, i64 0}
!25 = !{!26, !10, i64 32}
!26 = !{!"database_entry_t", !15, i64 0, !15, i64 8, !15, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36}
!27 = !{!26, !15, i64 8}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!26, !15, i64 0}
!31 = !{!6, !10, i64 4}
!32 = distinct !{!32, !29}
!33 = !{!26, !15, i64 16}
!34 = !{!15, !15, i64 0}
!35 = !{!36, !7, i64 0}
!36 = !{!"neighbor_t", !7, i64 0, !11, i64 4, !10, i64 12}
!37 = !{!6, !10, i64 8}
!38 = !{!36, !10, i64 12}
!39 = !{!6, !10, i64 20}
!40 = distinct !{!40, !29}
!41 = !{!14, !15, i64 8}
!42 = !{!14, !10, i64 328}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.unroll.disable"}
!45 = distinct !{!45, !29}
!46 = distinct !{!46, !29}
!47 = !{!48, !48, i64 0}
!48 = !{!"long", !8, i64 0}
!49 = !{!14, !10, i64 320}
!50 = distinct !{!50, !29}
!51 = !{!14, !15, i64 304}
!52 = distinct !{!52, !29}
!53 = !{!19, !10, i64 16}
!54 = !{!19, !15, i64 0}
!55 = !{!19, !15, i64 8}
!56 = !{!19, !10, i64 20}
!57 = !{!58, !10, i64 68}
!58 = !{!"subgraph_t", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !7, i64 104, !10, i64 108, !15, i64 112}
!59 = !{!58, !10, i64 64}
!60 = !{!58, !10, i64 76}
!61 = !{!58, !15, i64 112}
!62 = distinct !{!62, !29}


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