; LLVM IR from EricZinda/InductorHtn :: src/FXPlatform/Prolog/HtnRuleSet.ll (ZNK10HtnRuleSet19CanPotentiallyUnifyEPK7HtnTermS2_)

; 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"

@.str.1 = external hidden unnamed_addr constant [92 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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK10HtnRuleSet19CanPotentiallyUnifyEPK7HtnTermS2_(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef %1, ptr noundef %2) #2 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = call noundef zeroext i1 @_ZNK7HtnTerm24isEquivalentCompoundTermEPKS_(ptr noundef nonnull align 8 dereferenceable(72) %13, ptr noundef %14)
  br i1 %15, label %22, label %16

16:                                               ; preds = %3
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %17)
  br i1 %18, label %19, label %98

19:                                               ; preds = %16
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %20)
  br i1 %21, label %22, label %98

22:                                               ; preds = %19, %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %92, %22
  %24 = load i32, ptr %8, align 4, !tbaa !9
  %25 = sext i32 %24 to i64
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7HtnTerm9argumentsEv(ptr noundef nonnull align 8 dereferenceable(72) %26)
  %28 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #4
  %29 = icmp ult i64 %25, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %23
  store i32 2, ptr %9, align 4
  br label %95

31:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7HtnTerm9argumentsEv(ptr noundef nonnull align 8 dereferenceable(72) %32)
  %34 = load i32, ptr %8, align 4, !tbaa !9
  %35 = sext i32 %34 to i64
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %35) #4
  %37 = call noundef ptr @_ZNKSt12__shared_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %36) #4
  store ptr %37, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7HtnTerm9argumentsEv(ptr noundef nonnull align 8 dereferenceable(72) %38)
  %40 = load i32, ptr %8, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %41) #4
  %43 = call noundef ptr @_ZNKSt12__shared_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %42) #4
  store ptr %43, ptr %11, align 8, !tbaa !5
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = call noundef zeroext i1 @_ZNK7HtnTerm10isVariableEv(ptr noundef nonnull align 8 dereferenceable(72) %44)
  br i1 %45, label %46, label %47

46:                                               ; preds = %31
  br label %88

47:                                               ; preds = %31
  %48 = load ptr, ptr %10, align 8, !tbaa !5
  %49 = call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %48)
  br i1 %49, label %50, label %67

50:                                               ; preds = %47
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %51)
  br i1 %52, label %53, label %60

53:                                               ; preds = %50
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZNK7HtnTerm11nameEqualToERKS_(ptr noundef nonnull align 8 dereferenceable(72) %54, ptr noundef nonnull align 8 dereferenceable(72) %55)
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %89

58:                                               ; preds = %53
  br label %59

59:                                               ; preds = %58
  br label %66

60:                                               ; preds = %50
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = call noundef zeroext i1 @_ZNK7HtnTerm10isVariableEv(ptr noundef nonnull align 8 dereferenceable(72) %61)
  br i1 %62, label %64, label %63

63:                                               ; preds = %60
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %89

64:                                               ; preds = %60
  br label %65

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65, %59
  br label %87

67:                                               ; preds = %47
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = call noundef zeroext i1 @_ZN7HtnTerm14isCompoundTermEv(ptr noundef nonnull align 8 dereferenceable(72) %68)
  br i1 %69, label %70, label %85

70:                                               ; preds = %67
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %71)
  br i1 %72, label %73, label %74

73:                                               ; preds = %70
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %89

74:                                               ; preds = %70
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = call noundef zeroext i1 @_ZN7HtnTerm14isCompoundTermEv(ptr noundef nonnull align 8 dereferenceable(72) %75)
  br i1 %76, label %77, label %83

77:                                               ; preds = %74
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = call noundef zeroext i1 @_ZNK7HtnTerm24isEquivalentCompoundTermEPKS_(ptr noundef nonnull align 8 dereferenceable(72) %78, ptr noundef %79)
  br i1 %80, label %82, label %81

81:                                               ; preds = %77
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %89

82:                                               ; preds = %77
  br label %83

83:                                               ; preds = %82, %74
  br label %84

84:                                               ; preds = %83
  br label %86

85:                                               ; preds = %67
  call void @_Z39failfastThis_uncaught_exception_handlerPvbPKcl(ptr noundef %12, i1 noundef zeroext false, ptr noundef @.str.1, i64 noundef 156)
  br label %86

86:                                               ; preds = %85, %84
  br label %87

87:                                               ; preds = %86, %66
  br label %88

88:                                               ; preds = %87, %46
  store i32 0, ptr %9, align 4
  br label %89

89:                                               ; preds = %88, %81, %73, %63, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %90 = load i32, ptr %9, align 4
  switch i32 %90, label %95 [
    i32 0, label %91
  ]

91:                                               ; preds = %89
  br label %92

92:                                               ; preds = %91
  %93 = load i32, ptr %8, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %8, align 4, !tbaa !9
  br label %23, !llvm.loop !11

95:                                               ; preds = %89, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %96 = load i32, ptr %9, align 4
  switch i32 %96, label %101 [
    i32 2, label %97
    i32 1, label %99
  ]

97:                                               ; preds = %95
  store i1 true, ptr %4, align 1
  br label %99

98:                                               ; preds = %19, %16
  store i1 false, ptr %4, align 1
  br label %99

99:                                               ; preds = %98, %97, %95
  %100 = load i1, ptr %4, align 1
  ret i1 %100

101:                                              ; preds = %95
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7HtnTerm24isEquivalentCompoundTermEPKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7HtnTerm9argumentsEv(ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt12__shared_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7HtnTerm10isVariableEv(ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7HtnTerm11nameEqualToERKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7HtnTerm14isCompoundTermEv(ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

declare void @_Z39failfastThis_uncaught_exception_handlerPvbPKcl(ptr noundef, i1 noundef zeroext, ptr noundef, i64 noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.1 = external hidden unnamed_addr constant [92 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK10HtnRuleSet19CanPotentiallyUnifyEPK7HtnTermS2_(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull %1, ptr noundef %2) local_unnamed_addr #1 align 2 {
  %4 = tail call noundef zeroext i1 @_ZNK7HtnTerm24isEquivalentCompoundTermEPKS_(ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef %2)
  br i1 %4, label %9, label %5

5:                                                ; preds = %3
  %6 = tail call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  br i1 %6, label %7, label %.loopexit

7:                                                ; preds = %5
  %8 = tail call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %2)
  br i1 %8, label %9, label %.loopexit

9:                                                ; preds = %7, %3
  %10 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7HtnTerm9argumentsEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %11 = tail call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  %12 = icmp eq i64 %11, 0
  br i1 %12, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %9, %.critedge
  %indvars.iv = phi i64 [ %indvars.iv.next, %.critedge ], [ 0, %9 ]
  %13 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7HtnTerm9argumentsEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv) #3
  %15 = tail call noundef ptr @_ZNKSt12__shared_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %14) #3
  %16 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7HtnTerm9argumentsEv(ptr noundef nonnull align 8 dereferenceable(72) %2)
  %17 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv) #3
  %18 = tail call noundef ptr @_ZNKSt12__shared_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #3
  %19 = tail call noundef zeroext i1 @_ZNK7HtnTerm10isVariableEv(ptr noundef nonnull align 8 dereferenceable(72) %15)
  br i1 %19, label %.critedge, label %20

20:                                               ; preds = %.lr.ph
  %21 = tail call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %15)
  br i1 %21, label %22, label %28

22:                                               ; preds = %20
  %23 = tail call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %18)
  br i1 %23, label %24, label %26

24:                                               ; preds = %22
  %25 = tail call noundef zeroext i1 @_ZNK7HtnTerm11nameEqualToERKS_(ptr noundef nonnull align 8 dereferenceable(72) %15, ptr noundef nonnull align 8 dereferenceable(72) %18)
  br i1 %25, label %.critedge, label %.loopexit

26:                                               ; preds = %22
  %27 = tail call noundef zeroext i1 @_ZNK7HtnTerm10isVariableEv(ptr noundef nonnull align 8 dereferenceable(72) %18)
  br i1 %27, label %.critedge, label %.loopexit

28:                                               ; preds = %20
  %29 = tail call noundef zeroext i1 @_ZN7HtnTerm14isCompoundTermEv(ptr noundef nonnull align 8 dereferenceable(72) %15)
  br i1 %29, label %30, label %36

30:                                               ; preds = %28
  %31 = tail call noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72) %18)
  br i1 %31, label %.loopexit, label %32

32:                                               ; preds = %30
  %33 = tail call noundef zeroext i1 @_ZN7HtnTerm14isCompoundTermEv(ptr noundef nonnull align 8 dereferenceable(72) %18)
  br i1 %33, label %34, label %.critedge

34:                                               ; preds = %32
  %35 = tail call noundef zeroext i1 @_ZNK7HtnTerm24isEquivalentCompoundTermEPKS_(ptr noundef nonnull align 8 dereferenceable(72) %15, ptr noundef nonnull %18)
  br i1 %35, label %.critedge, label %.loopexit

36:                                               ; preds = %28
  tail call void @_Z39failfastThis_uncaught_exception_handlerPvbPKcl(ptr noundef nonnull %0, i1 noundef zeroext false, ptr noundef nonnull @.str.1, i64 noundef 156)
  br label %.critedge

.critedge:                                        ; preds = %26, %24, %34, %32, %36, %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %37 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7HtnTerm9argumentsEv(ptr noundef nonnull align 8 dereferenceable(72) %1)
  %38 = tail call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #3
  %.not = icmp ugt i64 %38, %indvars.iv.next
  br i1 %.not, label %.lr.ph, label %.loopexit, !llvm.loop !5

.loopexit:                                        ; preds = %24, %26, %30, %34, %.critedge, %9, %5, %7
  %.3 = phi i1 [ false, %7 ], [ false, %5 ], [ true, %9 ], [ false, %24 ], [ false, %26 ], [ false, %30 ], [ false, %34 ], [ true, %.critedge ]
  ret i1 %.3
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7HtnTerm24isEquivalentCompoundTermEPKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7HtnTerm10isConstantEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7HtnTerm9argumentsEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt12__shared_ptrI7HtnTermLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7HtnTerm10isVariableEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7HtnTerm11nameEqualToERKS_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7HtnTerm14isCompoundTermEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #0 align 2

declare void @_Z39failfastThis_uncaught_exception_handlerPvbPKcl(ptr noundef, i1 noundef zeroext, ptr noundef, i64 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress 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 #1 = { mustprogress 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 #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 }

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


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