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

; 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 }
%struct._OpConn = type { ptr, i8, ptr, i32, i8, i8, i32, i8, float }
%struct._EfConn = type { i32, i8, i8, float, ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, ptr, i32, i32, float, i8, i32, i8, i32, i32 }

@gcmd_line = external global %struct._command_line, align 4
@gnum_op_conn = external global i32, align 4
@gA = external global ptr, align 8
@gnum_A = external global i32, align 4
@gop_conn = external global ptr, align 8
@lnum_E = external dso_local global i32, align 4
@gef_conn = external global ptr, align 8
@lE = external dso_local global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@collect_A_info.first_call = external hidden global i8, align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

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

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

declare void @print_op_name(i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @collect_A_info() #3 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  %2 = load i8, ptr @collect_A_info.first_call, align 1, !tbaa !5
  %3 = icmp ne i8 %2, 0
  br i1 %3, label %4, label %8

4:                                                ; preds = %0
  %5 = load i32, ptr @gnum_op_conn, align 4, !tbaa !8
  %6 = sext i32 %5 to i64
  %7 = call noalias ptr @calloc(i64 noundef %6, i64 noundef 4) #5
  store ptr %7, ptr @gA, align 8, !tbaa !10
  store i32 0, ptr @gnum_A, align 4, !tbaa !8
  store i8 0, ptr @collect_A_info.first_call, align 1, !tbaa !5
  br label %8

8:                                                ; preds = %4, %0
  %9 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 4), align 4, !tbaa !12
  %10 = icmp ne i32 %9, 0
  br i1 %10, label %11, label %13

11:                                               ; preds = %8
  %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  br label %13

13:                                               ; preds = %11, %8
  store i32 0, ptr %1, align 4, !tbaa !8
  br label %14

14:                                               ; preds = %28, %13
  %15 = load i32, ptr %1, align 4, !tbaa !8
  %16 = load i32, ptr @gnum_A, align 4, !tbaa !8
  %17 = icmp slt i32 %15, %16
  br i1 %17, label %18, label %31

18:                                               ; preds = %14
  %19 = load ptr, ptr @gop_conn, align 8, !tbaa !10
  %20 = load ptr, ptr @gA, align 8, !tbaa !10
  %21 = load i32, ptr %1, align 4, !tbaa !8
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds i32, ptr %20, i64 %22
  %24 = load i32, ptr %23, align 4, !tbaa !8
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds %struct._OpConn, ptr %19, i64 %25
  %27 = getelementptr inbounds %struct._OpConn, ptr %26, i32 0, i32 4
  store i8 0, ptr %27, align 4, !tbaa !15
  br label %28

28:                                               ; preds = %18
  %29 = load i32, ptr %1, align 4, !tbaa !8
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %1, align 4, !tbaa !8
  br label %14, !llvm.loop !17

31:                                               ; preds = %14
  store i32 0, ptr @gnum_A, align 4, !tbaa !8
  store i32 0, ptr %1, align 4, !tbaa !8
  br label %32

32:                                               ; preds = %132, %31
  %33 = load i32, ptr %1, align 4, !tbaa !8
  %34 = load i32, ptr @lnum_E, align 4, !tbaa !8
  %35 = icmp slt i32 %33, %34
  br i1 %35, label %36, label %135

36:                                               ; preds = %32
  %37 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 4), align 4, !tbaa !12
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %51

39:                                               ; preds = %36
  %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %41 = load ptr, ptr @gef_conn, align 8, !tbaa !10
  %42 = load ptr, ptr @lE, align 8, !tbaa !10
  %43 = load i32, ptr %1, align 4, !tbaa !8
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds i32, ptr %42, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !8
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds %struct._EfConn, ptr %41, i64 %47
  %49 = getelementptr inbounds %struct._EfConn, ptr %48, i32 0, i32 0
  %50 = load i32, ptr %49, align 8, !tbaa !19
  call void @print_op_name(i32 noundef %50)
  br label %51

51:                                               ; preds = %39, %36
  %52 = load ptr, ptr @gop_conn, align 8, !tbaa !10
  %53 = load ptr, ptr @gef_conn, align 8, !tbaa !10
  %54 = load ptr, ptr @lE, align 8, !tbaa !10
  %55 = load i32, ptr %1, align 4, !tbaa !8
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds i32, ptr %54, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !8
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds %struct._EfConn, ptr %53, i64 %59
  %61 = getelementptr inbounds %struct._EfConn, ptr %60, i32 0, i32 0
  %62 = load i32, ptr %61, align 8, !tbaa !19
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds %struct._OpConn, ptr %52, i64 %63
  %65 = getelementptr inbounds %struct._OpConn, ptr %64, i32 0, i32 4
  %66 = load i8, ptr %65, align 4, !tbaa !15
  %67 = icmp ne i8 %66, 0
  br i1 %67, label %68, label %74

68:                                               ; preds = %51
  %69 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 4), align 4, !tbaa !12
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %73

71:                                               ; preds = %68
  %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %73

73:                                               ; preds = %71, %68
  br label %132

74:                                               ; preds = %51
  %75 = load ptr, ptr @gop_conn, align 8, !tbaa !10
  %76 = load ptr, ptr @gef_conn, align 8, !tbaa !10
  %77 = load ptr, ptr @lE, align 8, !tbaa !10
  %78 = load i32, ptr %1, align 4, !tbaa !8
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds i32, ptr %77, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !8
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds %struct._EfConn, ptr %76, i64 %82
  %84 = getelementptr inbounds %struct._EfConn, ptr %83, i32 0, i32 0
  %85 = load i32, ptr %84, align 8, !tbaa !19
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds %struct._OpConn, ptr %75, i64 %86
  %88 = getelementptr inbounds %struct._OpConn, ptr %87, i32 0, i32 1
  %89 = load i8, ptr %88, align 8, !tbaa !21
  %90 = icmp ne i8 %89, 0
  br i1 %90, label %91, label %97

91:                                               ; preds = %74
  %92 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 4), align 4, !tbaa !12
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %96

94:                                               ; preds = %91
  %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %96

96:                                               ; preds = %94, %91
  br label %132

97:                                               ; preds = %74
  %98 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 4), align 4, !tbaa !12
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %102

100:                                              ; preds = %97
  %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  br label %102

102:                                              ; preds = %100, %97
  %103 = load ptr, ptr @gop_conn, align 8, !tbaa !10
  %104 = load ptr, ptr @gef_conn, align 8, !tbaa !10
  %105 = load ptr, ptr @lE, align 8, !tbaa !10
  %106 = load i32, ptr %1, align 4, !tbaa !8
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds i32, ptr %105, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !8
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds %struct._EfConn, ptr %104, i64 %110
  %112 = getelementptr inbounds %struct._EfConn, ptr %111, i32 0, i32 0
  %113 = load i32, ptr %112, align 8, !tbaa !19
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds %struct._OpConn, ptr %103, i64 %114
  %116 = getelementptr inbounds %struct._OpConn, ptr %115, i32 0, i32 4
  store i8 1, ptr %116, align 4, !tbaa !15
  %117 = load ptr, ptr @gef_conn, align 8, !tbaa !10
  %118 = load ptr, ptr @lE, align 8, !tbaa !10
  %119 = load i32, ptr %1, align 4, !tbaa !8
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds i32, ptr %118, i64 %120
  %122 = load i32, ptr %121, align 4, !tbaa !8
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds %struct._EfConn, ptr %117, i64 %123
  %125 = getelementptr inbounds %struct._EfConn, ptr %124, i32 0, i32 0
  %126 = load i32, ptr %125, align 8, !tbaa !19
  %127 = load ptr, ptr @gA, align 8, !tbaa !10
  %128 = load i32, ptr @gnum_A, align 4, !tbaa !8
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr @gnum_A, align 4, !tbaa !8
  %130 = sext i32 %128 to i64
  %131 = getelementptr inbounds i32, ptr %127, i64 %130
  store i32 %126, ptr %131, align 4, !tbaa !8
  br label %132

132:                                              ; preds = %102, %96, %73
  %133 = load i32, ptr %1, align 4, !tbaa !8
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %1, align 4, !tbaa !8
  br label %32, !llvm.loop !22

135:                                              ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!13, !9, i64 772}
!13 = !{!"_command_line", !6, i64 0, !6, i64 256, !6, i64 512, !9, i64 768, !9, i64 772, !9, i64 776, !6, i64 780, !9, i64 784, !14, i64 788}
!14 = !{!"float", !6, i64 0}
!15 = !{!16, !6, i64 28}
!16 = !{!"_OpConn", !11, i64 0, !6, i64 8, !11, i64 16, !9, i64 24, !6, i64 28, !6, i64 29, !9, i64 32, !6, i64 36, !14, i64 40}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !9, i64 0}
!20 = !{!"_EfConn", !9, i64 0, !6, i64 4, !6, i64 5, !14, i64 8, !11, i64 16, !9, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !9, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !9, i64 88, !11, i64 96, !9, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !9, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !9, i64 168, !11, i64 176, !9, i64 184, !9, i64 188, !14, i64 192, !6, i64 196, !9, i64 200, !6, i64 204, !9, i64 208, !9, i64 212}
!21 = !{!16, !6, i64 8}
!22 = distinct !{!22, !18}


; 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 }
%struct._OpConn = type { ptr, i8, ptr, i32, i8, i8, i32, i8, float }
%struct._EfConn = type { i32, i8, i8, float, ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, ptr, i32, i32, float, i8, i32, i8, i32, i32 }

@gcmd_line = external local_unnamed_addr global %struct._command_line, align 4
@gnum_op_conn = external local_unnamed_addr global i32, align 4
@gA = external local_unnamed_addr global ptr, align 8
@gnum_A = external local_unnamed_addr global i32, align 4
@gop_conn = external local_unnamed_addr global ptr, align 8
@lnum_E = external dso_local local_unnamed_addr global i32, align 4
@gef_conn = external local_unnamed_addr global ptr, align 8
@lE = external dso_local local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@collect_A_info.first_call = external hidden local_unnamed_addr global i8, align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 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 #0

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

declare void @print_op_name(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @collect_A_info() local_unnamed_addr #3 {
  %1 = load i8, ptr @collect_A_info.first_call, align 1, !tbaa !5
  %.not = icmp eq i8 %1, 0
  br i1 %.not, label %6, label %2

2:                                                ; preds = %0
  %3 = load i32, ptr @gnum_op_conn, align 4, !tbaa !8
  %4 = sext i32 %3 to i64
  %5 = tail call noalias ptr @calloc(i64 noundef %4, i64 noundef 4) #4
  store ptr %5, ptr @gA, align 8, !tbaa !10
  store i32 0, ptr @gnum_A, align 4, !tbaa !8
  store i8 0, ptr @collect_A_info.first_call, align 1, !tbaa !5
  br label %6

6:                                                ; preds = %2, %0
  %7 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 772), align 4, !tbaa !12
  %.not10 = icmp eq i32 %7, 0
  br i1 %.not10, label %10, label %8

8:                                                ; preds = %6
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  br label %10

10:                                               ; preds = %8, %6
  %11 = load i32, ptr @gnum_A, align 4, !tbaa !8
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %10
  %13 = load ptr, ptr @gop_conn, align 8, !tbaa !10
  %14 = load ptr, ptr @gA, align 8, !tbaa !10
  %wide.trip.count = zext nneg i32 %11 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %15 = icmp ult i32 %11, 4
  br i1 %15, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %16

16:                                               ; preds = %16, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.3, %16 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %16 ]
  %17 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv
  %18 = load i32, ptr %17, align 4, !tbaa !8
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds %struct._OpConn, ptr %13, i64 %19, i32 4
  store i8 0, ptr %20, align 4, !tbaa !15
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %21 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv.next
  %22 = load i32, ptr %21, align 4, !tbaa !8
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds %struct._OpConn, ptr %13, i64 %23, i32 4
  store i8 0, ptr %24, align 4, !tbaa !15
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %25 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv.next.1
  %26 = load i32, ptr %25, align 4, !tbaa !8
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds %struct._OpConn, ptr %13, i64 %27, i32 4
  store i8 0, ptr %28, align 4, !tbaa !15
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %29 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv.next.2
  %30 = load i32, ptr %29, align 4, !tbaa !8
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds %struct._OpConn, ptr %13, i64 %31, i32 4
  store i8 0, ptr %32, align 4, !tbaa !15
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 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 %._crit_edge.loopexit.unr-lcssa, label %16, !llvm.loop !17

._crit_edge.loopexit.unr-lcssa:                   ; preds = %16, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.3, %16 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.epil.preheader ], [ %indvars.iv.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %33 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv.epil
  %34 = load i32, ptr %33, align 4, !tbaa !8
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds %struct._OpConn, ptr %13, i64 %35, i32 4
  store i8 0, ptr %36, align 4, !tbaa !15
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.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 %._crit_edge, label %.epil.preheader, !llvm.loop !19

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %10
  store i32 0, ptr @gnum_A, align 4, !tbaa !8
  %37 = load i32, ptr @lnum_E, align 4, !tbaa !8
  %38 = icmp sgt i32 %37, 0
  br i1 %38, label %.lr.ph20, label %._crit_edge21

.lr.ph20:                                         ; preds = %._crit_edge, %85
  %indvars.iv23 = phi i64 [ %indvars.iv.next24, %85 ], [ 0, %._crit_edge ]
  %39 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 772), align 4, !tbaa !12
  %.not11 = icmp eq i32 %39, 0
  br i1 %.not11, label %49, label %40

40:                                               ; preds = %.lr.ph20
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %42 = load ptr, ptr @gef_conn, align 8, !tbaa !10
  %43 = load ptr, ptr @lE, align 8, !tbaa !10
  %44 = getelementptr inbounds i32, ptr %43, i64 %indvars.iv23
  %45 = load i32, ptr %44, align 4, !tbaa !8
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds %struct._EfConn, ptr %42, i64 %46
  %48 = load i32, ptr %47, align 8, !tbaa !21
  tail call void @print_op_name(i32 noundef %48) #5
  br label %49

49:                                               ; preds = %40, %.lr.ph20
  %50 = load ptr, ptr @gop_conn, align 8, !tbaa !10
  %51 = load ptr, ptr @gef_conn, align 8, !tbaa !10
  %52 = load ptr, ptr @lE, align 8, !tbaa !10
  %53 = getelementptr inbounds i32, ptr %52, i64 %indvars.iv23
  %54 = load i32, ptr %53, align 4, !tbaa !8
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds %struct._EfConn, ptr %51, i64 %55
  %57 = load i32, ptr %56, align 8, !tbaa !21
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds %struct._OpConn, ptr %50, i64 %58
  %60 = getelementptr inbounds i8, ptr %59, i64 28
  %61 = load i8, ptr %60, align 4, !tbaa !15
  %.not12 = icmp eq i8 %61, 0
  br i1 %.not12, label %66, label %62

62:                                               ; preds = %49
  %63 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 772), align 4, !tbaa !12
  %.not16 = icmp eq i32 %63, 0
  br i1 %.not16, label %85, label %64

64:                                               ; preds = %62
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %85

66:                                               ; preds = %49
  %67 = getelementptr inbounds i8, ptr %59, i64 8
  %68 = load i8, ptr %67, align 8, !tbaa !23
  %.not13 = icmp eq i8 %68, 0
  %69 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 772), align 4, !tbaa !12
  %.not14 = icmp eq i32 %69, 0
  br i1 %.not13, label %73, label %70

70:                                               ; preds = %66
  br i1 %.not14, label %85, label %71

71:                                               ; preds = %70
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %85

73:                                               ; preds = %66
  br i1 %.not14, label %76, label %74

74:                                               ; preds = %73
  %75 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %.pre = load ptr, ptr @gop_conn, align 8, !tbaa !10
  %.pre26 = load ptr, ptr @gef_conn, align 8, !tbaa !10
  %.pre27 = load ptr, ptr @lE, align 8, !tbaa !10
  %.phi.trans.insert = getelementptr inbounds i32, ptr %.pre27, i64 %indvars.iv23
  %.pre28 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !8
  %.phi.trans.insert29 = sext i32 %.pre28 to i64
  %.phi.trans.insert30 = getelementptr inbounds %struct._EfConn, ptr %.pre26, i64 %.phi.trans.insert29
  %.pre31 = load i32, ptr %.phi.trans.insert30, align 8, !tbaa !21
  %.pre32 = sext i32 %.pre31 to i64
  br label %76

76:                                               ; preds = %74, %73
  %.pre-phi33 = phi i64 [ %.pre32, %74 ], [ %58, %73 ]
  %77 = phi i32 [ %.pre31, %74 ], [ %57, %73 ]
  %78 = phi ptr [ %.pre, %74 ], [ %50, %73 ]
  %79 = getelementptr inbounds %struct._OpConn, ptr %78, i64 %.pre-phi33, i32 4
  store i8 1, ptr %79, align 4, !tbaa !15
  %80 = load ptr, ptr @gA, align 8, !tbaa !10
  %81 = load i32, ptr @gnum_A, align 4, !tbaa !8
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr @gnum_A, align 4, !tbaa !8
  %83 = sext i32 %81 to i64
  %84 = getelementptr inbounds i32, ptr %80, i64 %83
  store i32 %77, ptr %84, align 4, !tbaa !8
  br label %85

85:                                               ; preds = %70, %71, %62, %64, %76
  %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23, 1
  %86 = load i32, ptr @lnum_E, align 4, !tbaa !8
  %87 = sext i32 %86 to i64
  %88 = icmp slt i64 %indvars.iv.next24, %87
  br i1 %88, label %.lr.ph20, label %._crit_edge21, !llvm.loop !24

._crit_edge21:                                    ; preds = %85, %._crit_edge
  ret void
}

attributes #0 = { 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 #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind allocsize(0,1) }
attributes #5 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!13, !9, i64 772}
!13 = !{!"_command_line", !6, i64 0, !6, i64 256, !6, i64 512, !9, i64 768, !9, i64 772, !9, i64 776, !6, i64 780, !9, i64 784, !14, i64 788}
!14 = !{!"float", !6, i64 0}
!15 = !{!16, !6, i64 28}
!16 = !{!"_OpConn", !11, i64 0, !6, i64 8, !11, i64 16, !9, i64 24, !6, i64 28, !6, i64 29, !9, i64 32, !6, i64 36, !14, i64 40}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.unroll.disable"}
!21 = !{!22, !9, i64 0}
!22 = !{!"_EfConn", !9, i64 0, !6, i64 4, !6, i64 5, !14, i64 8, !11, i64 16, !9, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !9, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !9, i64 88, !11, i64 96, !9, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !9, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !9, i64 168, !11, i64 176, !9, i64 184, !9, i64 188, !14, i64 192, !6, i64 196, !9, i64 200, !6, i64 204, !9, i64 208, !9, i64 212}
!23 = !{!16, !6, i64 8}
!24 = distinct !{!24, !18}


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