; LLVM IR from askforalfred/alfred :: gen/ff_planner (expressions)

; 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._command_line = type { [256 x i8], [256 x i8], [256 x i8], i32, i32, i32, i8, i32, float }

@gcmd_line = external global %struct._command_line, align 4
@gnum_real_fl_conn = external global i32, align 4
@gassign_influence = external global ptr, align 8
@gTassign_influence = external global ptr, align 8
@.str.45 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [9 x i8], align 1

declare i32 @printf(ptr noundef, ...) #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @check_assigncycles() #4 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !5
  %5 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %6 = sext i32 %5 to i64
  %7 = call noalias ptr @calloc(i64 noundef %6, i64 noundef 8) #6
  store ptr %7, ptr @gassign_influence, align 8, !tbaa !9
  %8 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %9 = sext i32 %8 to i64
  %10 = call noalias ptr @calloc(i64 noundef %9, i64 noundef 8) #6
  store ptr %10, ptr @gTassign_influence, align 8, !tbaa !9
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %30, %0
  %12 = load i32, ptr %1, align 4, !tbaa !5
  %13 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %14 = icmp slt i32 %12, %13
  br i1 %14, label %15, label %33

15:                                               ; preds = %11
  %16 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = call noalias ptr @calloc(i64 noundef %17, i64 noundef 1) #6
  %19 = load ptr, ptr @gassign_influence, align 8, !tbaa !9
  %20 = load i32, ptr %1, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds ptr, ptr %19, i64 %21
  store ptr %18, ptr %22, align 8, !tbaa !9
  %23 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = call noalias ptr @calloc(i64 noundef %24, i64 noundef 1) #6
  %26 = load ptr, ptr @gTassign_influence, align 8, !tbaa !9
  %27 = load i32, ptr %1, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds ptr, ptr %26, i64 %28
  store ptr %25, ptr %29, align 8, !tbaa !9
  br label %30

30:                                               ; preds = %15
  %31 = load i32, ptr %1, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %1, align 4, !tbaa !5
  br label %11, !llvm.loop !11

33:                                               ; preds = %11
  %34 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 3), align 4, !tbaa !13
  %35 = icmp sgt i32 %34, 1
  br i1 %35, label %36, label %38

36:                                               ; preds = %33
  %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.45)
  br label %38

38:                                               ; preds = %36, %33
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %75, %38
  %40 = load i32, ptr %1, align 4, !tbaa !5
  %41 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %43, label %78

43:                                               ; preds = %39
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %71, %43
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %47 = icmp slt i32 %45, %46
  br i1 %47, label %48, label %74

48:                                               ; preds = %44
  %49 = load i32, ptr %1, align 4, !tbaa !5
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = call zeroext i8 @i_influences_j(i32 noundef %49, i32 noundef %50)
  %52 = load ptr, ptr @gassign_influence, align 8, !tbaa !9
  %53 = load i32, ptr %1, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds ptr, ptr %52, i64 %54
  %56 = load ptr, ptr %55, align 8, !tbaa !9
  %57 = load i32, ptr %2, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i8, ptr %56, i64 %58
  store i8 %51, ptr %59, align 1, !tbaa !16
  %60 = load i32, ptr %1, align 4, !tbaa !5
  %61 = load i32, ptr %2, align 4, !tbaa !5
  %62 = call zeroext i8 @i_influences_j(i32 noundef %60, i32 noundef %61)
  %63 = load ptr, ptr @gTassign_influence, align 8, !tbaa !9
  %64 = load i32, ptr %1, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %63, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = load i32, ptr %2, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i8, ptr %67, i64 %69
  store i8 %62, ptr %70, align 1, !tbaa !16
  br label %71

71:                                               ; preds = %48
  %72 = load i32, ptr %2, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %2, align 4, !tbaa !5
  br label %44, !llvm.loop !17

74:                                               ; preds = %44
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %1, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %1, align 4, !tbaa !5
  br label %39, !llvm.loop !18

78:                                               ; preds = %39
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %79

79:                                               ; preds = %134, %78
  %80 = load i32, ptr %2, align 4, !tbaa !5
  %81 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %82 = icmp slt i32 %80, %81
  br i1 %82, label %83, label %137

83:                                               ; preds = %79
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %130, %83
  %85 = load i32, ptr %1, align 4, !tbaa !5
  %86 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %87 = icmp slt i32 %85, %86
  br i1 %87, label %88, label %133

88:                                               ; preds = %84
  %89 = load ptr, ptr @gTassign_influence, align 8, !tbaa !9
  %90 = load i32, ptr %1, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds ptr, ptr %89, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  %94 = load i32, ptr %2, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds i8, ptr %93, i64 %95
  %97 = load i8, ptr %96, align 1, !tbaa !16
  %98 = icmp ne i8 %97, 0
  br i1 %98, label %99, label %129

99:                                               ; preds = %88
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %125, %99
  %101 = load i32, ptr %3, align 4, !tbaa !5
  %102 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %104, label %128

104:                                              ; preds = %100
  %105 = load ptr, ptr @gTassign_influence, align 8, !tbaa !9
  %106 = load i32, ptr %2, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds ptr, ptr %105, i64 %107
  %109 = load ptr, ptr %108, align 8, !tbaa !9
  %110 = load i32, ptr %3, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds i8, ptr %109, i64 %111
  %113 = load i8, ptr %112, align 1, !tbaa !16
  %114 = icmp ne i8 %113, 0
  br i1 %114, label %115, label %124

115:                                              ; preds = %104
  %116 = load ptr, ptr @gTassign_influence, align 8, !tbaa !9
  %117 = load i32, ptr %1, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds ptr, ptr %116, i64 %118
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  %121 = load i32, ptr %3, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds i8, ptr %120, i64 %122
  store i8 1, ptr %123, align 1, !tbaa !16
  br label %124

124:                                              ; preds = %115, %104
  br label %125

125:                                              ; preds = %124
  %126 = load i32, ptr %3, align 4, !tbaa !5
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %3, align 4, !tbaa !5
  br label %100, !llvm.loop !19

128:                                              ; preds = %100
  br label %129

129:                                              ; preds = %128, %88
  br label %130

130:                                              ; preds = %129
  %131 = load i32, ptr %1, align 4, !tbaa !5
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %1, align 4, !tbaa !5
  br label %84, !llvm.loop !20

133:                                              ; preds = %84
  br label %134

134:                                              ; preds = %133
  %135 = load i32, ptr %2, align 4, !tbaa !5
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %2, align 4, !tbaa !5
  br label %79, !llvm.loop !21

137:                                              ; preds = %79
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %138

138:                                              ; preds = %160, %137
  %139 = load i32, ptr %1, align 4, !tbaa !5
  %140 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !5
  %141 = icmp slt i32 %139, %140
  br i1 %141, label %142, label %163

142:                                              ; preds = %138
  %143 = load ptr, ptr @gTassign_influence, align 8, !tbaa !9
  %144 = load i32, ptr %1, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds ptr, ptr %143, i64 %145
  %147 = load ptr, ptr %146, align 8, !tbaa !9
  %148 = load i32, ptr %1, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds i8, ptr %147, i64 %149
  %151 = load i8, ptr %150, align 1, !tbaa !16
  %152 = icmp ne i8 %151, 0
  br i1 %152, label %153, label %159

153:                                              ; preds = %142
  %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.46)
  %155 = load i32, ptr %1, align 4, !tbaa !5
  call void @print_fl_name(i32 noundef %155)
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.47)
  %157 = load i32, ptr %4, align 4, !tbaa !5
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %4, align 4, !tbaa !5
  br label %159

159:                                              ; preds = %153, %142
  br label %160

160:                                              ; preds = %159
  %161 = load i32, ptr %1, align 4, !tbaa !5
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %1, align 4, !tbaa !5
  br label %138, !llvm.loop !22

163:                                              ; preds = %138
  %164 = load i32, ptr %4, align 4, !tbaa !5
  %165 = icmp sgt i32 %164, 0
  br i1 %165, label %166, label %169

166:                                              ; preds = %163
  %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.48)
  %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.49)
  call void @exit(i32 noundef 1) #7
  unreachable

169:                                              ; preds = %163
  %170 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 3), align 4, !tbaa !13
  %171 = icmp sgt i32 %170, 1
  br i1 %171, label %172, label %174

172:                                              ; preds = %169
  %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.50)
  br label %174

174:                                              ; preds = %172, %169
  br label %175

175:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @i_influences_j(i32 noundef, i32 noundef) #4

declare void @print_fl_name(i32 noundef) #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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 = { nounwind }
attributes #6 = { nounwind allocsize(0,1) }
attributes #7 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 768}
!14 = !{!"_command_line", !7, i64 0, !7, i64 256, !7, i64 512, !6, i64 768, !6, i64 772, !6, i64 776, !7, i64 780, !6, i64 784, !15, i64 788}
!15 = !{!"float", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}


; 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._command_line = type { [256 x i8], [256 x i8], [256 x i8], i32, i32, i32, i8, i32, float }

@gcmd_line = external local_unnamed_addr global %struct._command_line, align 4
@gnum_real_fl_conn = external local_unnamed_addr global i32, align 4
@gassign_influence = external local_unnamed_addr global ptr, align 8
@gTassign_influence = external local_unnamed_addr global ptr, align 8
@.str.45 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #1

; 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 #2

; Function Attrs: nounwind uwtable
define dso_local void @check_assigncycles() local_unnamed_addr #3 {
  %1 = load i32, ptr @gnum_real_fl_conn, align 4
  %2 = sext i32 %1 to i64
  %3 = tail call noalias ptr @calloc(i64 noundef %2, i64 noundef 8) #5
  store ptr %3, ptr @gassign_influence, align 8, !tbaa !5
  %4 = tail call noalias ptr @calloc(i64 noundef %2, i64 noundef 8) #5
  store ptr %4, ptr @gTassign_influence, align 8, !tbaa !5
  %5 = icmp sgt i32 %1, 0
  br i1 %5, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %0
  %wide.trip.count = zext nneg i32 %1 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %6 = tail call noalias ptr @calloc(i64 noundef %2, i64 noundef 1) #5
  %7 = load ptr, ptr @gassign_influence, align 8, !tbaa !5
  %8 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv
  store ptr %6, ptr %8, align 8, !tbaa !5
  %9 = tail call noalias ptr @calloc(i64 noundef %2, i64 noundef 1) #5
  %10 = load ptr, ptr @gTassign_influence, align 8, !tbaa !5
  %11 = getelementptr inbounds ptr, ptr %10, i64 %indvars.iv
  store ptr %9, ptr %11, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph, %0
  %12 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 768), align 4, !tbaa !11
  %13 = icmp sgt i32 %12, 1
  br i1 %13, label %14, label %16

14:                                               ; preds = %._crit_edge
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.45)
  %.pre = load i32, ptr @gnum_real_fl_conn, align 4
  br label %16

16:                                               ; preds = %14, %._crit_edge
  %17 = phi i32 [ %.pre, %14 ], [ %1, %._crit_edge ]
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.preheader46, label %._crit_edge61.thread

.preheader46:                                     ; preds = %16, %._crit_edge50
  %19 = phi i32 [ %38, %._crit_edge50 ], [ %17, %16 ]
  %indvars.iv69 = phi i64 [ %indvars.iv.next70, %._crit_edge50 ], [ 0, %16 ]
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.lr.ph49, label %.preheader46.._crit_edge50_crit_edge

.preheader46.._crit_edge50_crit_edge:             ; preds = %.preheader46
  %.pre103 = sext i32 %19 to i64
  br label %._crit_edge50

.lr.ph49:                                         ; preds = %.preheader46
  %21 = trunc nuw nsw i64 %indvars.iv69 to i32
  br label %23

.preheader45:                                     ; preds = %._crit_edge50
  %22 = icmp sgt i32 %38, 0
  br i1 %22, label %.preheader44.preheader, label %._crit_edge61.thread

.preheader44.preheader:                           ; preds = %.preheader45
  %.pre88.pre = load i32, ptr @gnum_real_fl_conn, align 4
  br label %.preheader44

23:                                               ; preds = %.lr.ph49, %23
  %indvars.iv66 = phi i64 [ 0, %.lr.ph49 ], [ %indvars.iv.next67, %23 ]
  %24 = trunc nuw nsw i64 %indvars.iv66 to i32
  %25 = tail call zeroext i8 @i_influences_j(i32 noundef %21, i32 noundef %24)
  %26 = load ptr, ptr @gassign_influence, align 8, !tbaa !5
  %27 = getelementptr inbounds ptr, ptr %26, i64 %indvars.iv69
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 %indvars.iv66
  store i8 %25, ptr %29, align 1, !tbaa !15
  %30 = tail call zeroext i8 @i_influences_j(i32 noundef %21, i32 noundef %24)
  %31 = load ptr, ptr @gTassign_influence, align 8, !tbaa !5
  %32 = getelementptr inbounds ptr, ptr %31, i64 %indvars.iv69
  %33 = load ptr, ptr %32, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %33, i64 %indvars.iv66
  store i8 %30, ptr %34, align 1, !tbaa !15
  %indvars.iv.next67 = add nuw nsw i64 %indvars.iv66, 1
  %35 = load i32, ptr @gnum_real_fl_conn, align 4
  %36 = sext i32 %35 to i64
  %37 = icmp slt i64 %indvars.iv.next67, %36
  br i1 %37, label %23, label %._crit_edge50, !llvm.loop !16

._crit_edge50:                                    ; preds = %23, %.preheader46.._crit_edge50_crit_edge
  %.pre-phi = phi i64 [ %.pre103, %.preheader46.._crit_edge50_crit_edge ], [ %36, %23 ]
  %38 = phi i32 [ %19, %.preheader46.._crit_edge50_crit_edge ], [ %35, %23 ]
  %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69, 1
  %39 = icmp slt i64 %indvars.iv.next70, %.pre-phi
  br i1 %39, label %.preheader46, label %.preheader45, !llvm.loop !17

.preheader44:                                     ; preds = %.preheader44.preheader, %._crit_edge56
  %.pre88 = phi i32 [ %.pre88.pre, %.preheader44.preheader ], [ %.pre8892, %._crit_edge56 ]
  %40 = phi i32 [ %38, %.preheader44.preheader ], [ %72, %._crit_edge56 ]
  %indvars.iv78 = phi i64 [ 0, %.preheader44.preheader ], [ %indvars.iv.next79, %._crit_edge56 ]
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %.lr.ph55, label %.preheader44.._crit_edge56_crit_edge

.preheader44.._crit_edge56_crit_edge:             ; preds = %.preheader44
  %.pre104 = sext i32 %.pre88 to i64
  br label %._crit_edge56

.lr.ph55:                                         ; preds = %.preheader44
  %.pre98 = load ptr, ptr @gTassign_influence, align 8, !tbaa !5
  br label %43

.preheader:                                       ; preds = %._crit_edge56
  %42 = icmp sgt i32 %72, 0
  br i1 %42, label %.lr.ph60.preheader, label %._crit_edge61.thread

.lr.ph60.preheader:                               ; preds = %.preheader
  %.pre90 = load ptr, ptr @gTassign_influence, align 8, !tbaa !5
  br label %.lr.ph60

43:                                               ; preds = %.lr.ph55, %.loopexit
  %.pre86 = phi ptr [ %.pre98, %.lr.ph55 ], [ %.pre8699, %.loopexit ]
  %44 = phi ptr [ %.pre98, %.lr.ph55 ], [ %68, %.loopexit ]
  %.pre8896 = phi i32 [ %.pre88, %.lr.ph55 ], [ %.pre8893, %.loopexit ]
  %45 = phi i32 [ %.pre88, %.lr.ph55 ], [ %69, %.loopexit ]
  %indvars.iv75 = phi i64 [ 0, %.lr.ph55 ], [ %indvars.iv.next76, %.loopexit ]
  %46 = getelementptr inbounds ptr, ptr %44, i64 %indvars.iv75
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 %indvars.iv78
  %49 = load i8, ptr %48, align 1, !tbaa !15
  %.not41 = icmp ne i8 %49, 0
  %50 = icmp sgt i32 %45, 0
  %or.cond = select i1 %.not41, i1 %50, i1 false
  br i1 %or.cond, label %.lr.ph53, label %.loopexit

.lr.ph53:                                         ; preds = %43, %62
  %.pre86101 = phi ptr [ %.pre86100, %62 ], [ %.pre86, %43 ]
  %.pre8895 = phi i32 [ %.pre8894, %62 ], [ %.pre8896, %43 ]
  %51 = phi i32 [ %63, %62 ], [ %45, %43 ]
  %52 = phi i32 [ %64, %62 ], [ %45, %43 ]
  %53 = phi ptr [ %65, %62 ], [ %.pre86, %43 ]
  %indvars.iv72 = phi i64 [ %indvars.iv.next73, %62 ], [ 0, %43 ]
  %54 = getelementptr inbounds ptr, ptr %53, i64 %indvars.iv78
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 %indvars.iv72
  %57 = load i8, ptr %56, align 1, !tbaa !15
  %.not42 = icmp eq i8 %57, 0
  br i1 %.not42, label %62, label %58

58:                                               ; preds = %.lr.ph53
  %59 = getelementptr inbounds ptr, ptr %53, i64 %indvars.iv75
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 %indvars.iv72
  store i8 1, ptr %61, align 1, !tbaa !15
  %.pre85 = load ptr, ptr @gTassign_influence, align 8, !tbaa !5
  %.pre87 = load i32, ptr @gnum_real_fl_conn, align 4
  br label %62

62:                                               ; preds = %.lr.ph53, %58
  %.pre86100 = phi ptr [ %.pre86101, %.lr.ph53 ], [ %.pre85, %58 ]
  %.pre8894 = phi i32 [ %.pre8895, %.lr.ph53 ], [ %.pre87, %58 ]
  %63 = phi i32 [ %51, %.lr.ph53 ], [ %.pre87, %58 ]
  %64 = phi i32 [ %52, %.lr.ph53 ], [ %.pre87, %58 ]
  %65 = phi ptr [ %53, %.lr.ph53 ], [ %.pre85, %58 ]
  %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72, 1
  %66 = sext i32 %64 to i64
  %67 = icmp slt i64 %indvars.iv.next73, %66
  br i1 %67, label %.lr.ph53, label %.loopexit, !llvm.loop !19

.loopexit:                                        ; preds = %62, %43
  %.pre8699 = phi ptr [ %.pre86, %43 ], [ %.pre86100, %62 ]
  %68 = phi ptr [ %44, %43 ], [ %65, %62 ]
  %.pre8893 = phi i32 [ %.pre8896, %43 ], [ %.pre8894, %62 ]
  %69 = phi i32 [ %45, %43 ], [ %63, %62 ]
  %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75, 1
  %70 = sext i32 %69 to i64
  %71 = icmp slt i64 %indvars.iv.next76, %70
  br i1 %71, label %43, label %._crit_edge56, !llvm.loop !20

._crit_edge56:                                    ; preds = %.loopexit, %.preheader44.._crit_edge56_crit_edge
  %.pre-phi105 = phi i64 [ %.pre104, %.preheader44.._crit_edge56_crit_edge ], [ %70, %.loopexit ]
  %.pre8892 = phi i32 [ %.pre88, %.preheader44.._crit_edge56_crit_edge ], [ %.pre8893, %.loopexit ]
  %72 = phi i32 [ %.pre88, %.preheader44.._crit_edge56_crit_edge ], [ %69, %.loopexit ]
  %indvars.iv.next79 = add nuw nsw i64 %indvars.iv78, 1
  %73 = icmp slt i64 %indvars.iv.next79, %.pre-phi105
  br i1 %73, label %.preheader44, label %.preheader, !llvm.loop !21

.lr.ph60:                                         ; preds = %.lr.ph60.preheader, %85
  %74 = phi i32 [ %72, %.lr.ph60.preheader ], [ %86, %85 ]
  %75 = phi ptr [ %.pre90, %.lr.ph60.preheader ], [ %87, %85 ]
  %indvars.iv81 = phi i64 [ 0, %.lr.ph60.preheader ], [ %indvars.iv.next82, %85 ]
  %.059 = phi i32 [ 0, %.lr.ph60.preheader ], [ %.1, %85 ]
  %76 = getelementptr inbounds ptr, ptr %75, i64 %indvars.iv81
  %77 = load ptr, ptr %76, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %77, i64 %indvars.iv81
  %79 = load i8, ptr %78, align 1, !tbaa !15
  %.not = icmp eq i8 %79, 0
  br i1 %.not, label %85, label %80

80:                                               ; preds = %.lr.ph60
  %81 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.46)
  %82 = trunc nuw nsw i64 %indvars.iv81 to i32
  tail call void @print_fl_name(i32 noundef %82) #6
  %83 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47)
  %84 = add nsw i32 %.059, 1
  %.pre89 = load ptr, ptr @gTassign_influence, align 8, !tbaa !5
  %.pre91 = load i32, ptr @gnum_real_fl_conn, align 4, !tbaa !22
  br label %85

85:                                               ; preds = %.lr.ph60, %80
  %86 = phi i32 [ %.pre91, %80 ], [ %74, %.lr.ph60 ]
  %87 = phi ptr [ %.pre89, %80 ], [ %75, %.lr.ph60 ]
  %.1 = phi i32 [ %84, %80 ], [ %.059, %.lr.ph60 ]
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %88 = sext i32 %86 to i64
  %89 = icmp slt i64 %indvars.iv.next82, %88
  br i1 %89, label %.lr.ph60, label %._crit_edge61, !llvm.loop !23

._crit_edge61:                                    ; preds = %85
  %90 = icmp sgt i32 %.1, 0
  br i1 %90, label %91, label %._crit_edge61.thread

91:                                               ; preds = %._crit_edge61
  %92 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.48)
  %93 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.49)
  tail call void @exit(i32 noundef 1) #7
  unreachable

._crit_edge61.thread:                             ; preds = %16, %.preheader45, %.preheader, %._crit_edge61
  %94 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 768), align 4, !tbaa !11
  %95 = icmp sgt i32 %94, 1
  br i1 %95, label %96, label %98

96:                                               ; preds = %._crit_edge61.thread
  %97 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.50)
  br label %98

98:                                               ; preds = %._crit_edge61.thread, %96
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @i_influences_j(i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @print_fl_name(i32 noundef) local_unnamed_addr #4

attributes #0 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind allocsize(0,1) }
attributes #6 = { nounwind }
attributes #7 = { noreturn 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !13, i64 768}
!12 = !{!"_command_line", !7, i64 0, !7, i64 256, !7, i64 512, !13, i64 768, !13, i64 772, !13, i64 776, !7, i64 780, !13, i64 784, !14, i64 788}
!13 = !{!"int", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10, !18}
!18 = !{!"llvm.loop.unswitch.partial.disable"}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10, !18}
!22 = !{!13, !13, i64 0}
!23 = distinct !{!23, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass