; LLVM IR from Discngine/fpocket :: src/qhull/src/libqhullcpp (QhullFacetList)

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

%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator" = type { %"class.orgQhull::QhullFacet" }
%"class.orgQhull::QhullFacet" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK8orgQhull14QhullFacetList8containsERKNS_10QhullFacetE(ptr noundef nonnull align 8 dereferenceable(33) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator", align 8
  %7 = alloca %"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.orgQhull::QhullFacet", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8
  %13 = call noundef zeroext i1 @_ZNK8orgQhull14QhullFacetList11isSelectAllEv(ptr noundef nonnull align 8 dereferenceable(33) %12)
  br i1 %13, label %14, label %17

14:                                               ; preds = %2
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = call noundef zeroext i1 @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE8containsERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(16) %15)
  store i1 %16, ptr %3, align 1
  br label %67

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  call void @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE5beginEv(ptr dead_on_unwind writable sret(%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %12)
  br label %18

18:                                               ; preds = %57, %17
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  invoke void @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE3endEv(ptr dead_on_unwind writable sret(%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %19 unwind label %23

19:                                               ; preds = %18
  %20 = invoke noundef zeroext i1 @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorneERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %21 unwind label %27

21:                                               ; preds = %19
  call void @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  br i1 %20, label %32, label %22

22:                                               ; preds = %21
  store i32 2, ptr %10, align 4
  br label %63

23:                                               ; preds = %18
  %24 = landingpad { ptr, i32 }
          cleanup
  %25 = extractvalue { ptr, i32 } %24, 0
  store ptr %25, ptr %8, align 8
  %26 = extractvalue { ptr, i32 } %24, 1
  store i32 %26, ptr %9, align 4
  br label %31

27:                                               ; preds = %19
  %28 = landingpad { ptr, i32 }
          cleanup
  %29 = extractvalue { ptr, i32 } %28, 0
  store ptr %29, ptr %8, align 8
  %30 = extractvalue { ptr, i32 } %28, 1
  store i32 %30, ptr %9, align 4
  call void @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  br label %31

31:                                               ; preds = %27, %23
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  br label %65

32:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %33 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %34 unwind label %43

34:                                               ; preds = %32
  invoke void @_ZN8orgQhull10QhullFacetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %35 unwind label %43

35:                                               ; preds = %34
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = invoke noundef zeroext i1 @_ZNK8orgQhull10QhullFaceteqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %36)
          to label %38 unwind label %47

38:                                               ; preds = %35
  br i1 %37, label %39, label %51

39:                                               ; preds = %38
  %40 = invoke noundef zeroext i1 @_ZNK8orgQhull10QhullFacet6isGoodEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %41 unwind label %47

41:                                               ; preds = %39
  br i1 %40, label %42, label %51

42:                                               ; preds = %41
  store i1 true, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %52

43:                                               ; preds = %34, %32
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %8, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %9, align 4
  br label %58

47:                                               ; preds = %39, %35
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %8, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %9, align 4
  call void @_ZN8orgQhull10QhullFacetD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  br label %58

51:                                               ; preds = %41, %38
  store i32 0, ptr %10, align 4
  br label %52

52:                                               ; preds = %51, %42
  call void @_ZN8orgQhull10QhullFacetD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  %53 = load i32, ptr %10, align 4
  switch i32 %53, label %63 [
    i32 0, label %54
  ]

54:                                               ; preds = %52
  br label %55

55:                                               ; preds = %54
  %56 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %57 unwind label %59

57:                                               ; preds = %55
  br label %18, !llvm.loop !9

58:                                               ; preds = %47, %43
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  br label %65

59:                                               ; preds = %55
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %8, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %9, align 4
  br label %65

63:                                               ; preds = %52, %22
  call void @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  %64 = load i32, ptr %10, align 4
  switch i32 %64, label %74 [
    i32 2, label %66
    i32 1, label %67
  ]

65:                                               ; preds = %59, %58, %31
  call void @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  br label %69

66:                                               ; preds = %63
  store i1 false, ptr %3, align 1
  br label %67

67:                                               ; preds = %66, %63, %14
  %68 = load i1, ptr %3, align 1
  ret i1 %68

69:                                               ; preds = %65
  %70 = load ptr, ptr %8, align 8
  %71 = load i32, ptr %9, align 4
  %72 = insertvalue { ptr, i32 } poison, ptr %70, 0
  %73 = insertvalue { ptr, i32 } %72, i32 %71, 1
  resume { ptr, i32 } %73

74:                                               ; preds = %63
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8orgQhull10QhullFacetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint 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 #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 = distinct !{!9, !10}
!10 = !{!"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"

%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator" = type { %"class.orgQhull::QhullFacet" }
%"class.orgQhull::QhullFacet" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

; 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8orgQhull14QhullFacetList11isSelectAllEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8orgQhull10QhullFacet6isGoodEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 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 uwtable
define dso_local noundef zeroext i1 @_ZNK8orgQhull14QhullFacetList8containsERKNS_10QhullFacetE(ptr noundef nonnull align 8 dereferenceable(33) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator", align 8
  %4 = alloca %"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator", align 8
  %5 = alloca %"class.orgQhull::QhullFacet", align 8
  %6 = tail call noundef zeroext i1 @_ZNK8orgQhull14QhullFacetList11isSelectAllEv(ptr noundef nonnull align 8 dereferenceable(33) %0)
  br i1 %6, label %7, label %9

7:                                                ; preds = %2
  %8 = tail call noundef zeroext i1 @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE8containsERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(16) %1)
  br label %25

9:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  call void @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %0)
  br label %10

10:                                               ; preds = %.critedge, %9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  invoke void @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator") align 8 %4, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %11 unwind label %13

11:                                               ; preds = %10
  %12 = call noundef zeroext i1 @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorneERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  br i1 %12, label %15, label %.loopexit

13:                                               ; preds = %10
  %14 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  br label %24

15:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @_ZN8orgQhull10QhullFacetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %16)
  %17 = call noundef zeroext i1 @_ZNK8orgQhull10QhullFaceteqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %1)
  br i1 %17, label %18, label %.critedge

18:                                               ; preds = %15
  %19 = call noundef zeroext i1 @_ZNK8orgQhull10QhullFacet6isGoodEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  br i1 %19, label %21, label %.critedge

.critedge:                                        ; preds = %18, %15
  call void @_ZN8orgQhull10QhullFacetD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  %20 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %10 unwind label %22, !llvm.loop !5

21:                                               ; preds = %18
  call void @_ZN8orgQhull10QhullFacetD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  br label %.loopexit

22:                                               ; preds = %.critedge
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %24

.loopexit:                                        ; preds = %11, %21
  call void @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  br label %25

24:                                               ; preds = %22, %13
  %.pn = phi { ptr, i32 } [ %23, %22 ], [ %14, %13 ]
  call void @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn

25:                                               ; preds = %.loopexit, %7
  %.3 = phi i1 [ %8, %7 ], [ %12, %.loopexit ]
  ret i1 %.3
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE8containsERKS1_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8orgQhull15QhullLinkedListINS_10QhullFacetEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullLinkedList<orgQhull::QhullFacet>::const_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8orgQhull10QhullFacetC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN8orgQhull15QhullLinkedListINS_10QhullFacetEE14const_iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass