; LLVM IR from facebook/redex :: libredex (ControlFlow)

; 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.ir_list::InstructionIteratorImpl.62" = type { %"class.boost::intrusive::list_iterator.38", %"class.boost::intrusive::list_iterator.38" }
%"class.boost::intrusive::list_iterator.38" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::ConstInstructionIterable" = type { %"class.ir_list::InstructionIterableImpl" }
%"class.ir_list::InstructionIterableImpl" = type { %"class.boost::intrusive::list_iterator.38", %"class.boost::intrusive::list_iterator.38" }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.16 }
%"class.boost::intrusive::list_member_hook" = type { %"class.boost::intrusive::generic_hook" }
%"class.boost::intrusive::generic_hook" = type { %"struct.boost::intrusive::list_node" }
%"struct.boost::intrusive::list_node" = type { ptr, ptr }
%union.anon.16 = type { ptr }

; 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 uwtable
declare dso_local void @_ZN7ir_list24ConstInstructionIterableC2IN3cfg5BlockEEEPKT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3cfg5Block17structural_equalsEPKS0_RKSt8functionIFbRK13IRInstructionS6_EE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2) #1 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.ir_list::ConstInstructionIterable", align 8
  %9 = alloca %"class.ir_list::ConstInstructionIterable", align 8
  %10 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %11 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %12 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %13 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %18 = alloca %"class.ir_list::InstructionIteratorImpl.62", 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
  %19 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #3
  call void @_ZN7ir_list24ConstInstructionIterableC2IN3cfg5BlockEEEPKT_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #3
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN7ir_list24ConstInstructionIterableC2IN3cfg5BlockEEEPKT_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #3
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #3
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %9)
  br label %21

21:                                               ; preds = %43, %3
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #3
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %22 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #3
  br i1 %22, label %23, label %25

23:                                               ; preds = %21
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %13, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %24 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %13)
  br label %25

25:                                               ; preds = %23, %21
  %26 = phi i1 [ false, %21 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #3
  br i1 %26, label %27, label %46

27:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %28 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  store ptr %28, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  store ptr %29, ptr %15, align 8, !tbaa !5
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load ptr, ptr %14, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.MethodItemEntry, ptr %31, i32 0, i32 2
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = load ptr, ptr %15, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.MethodItemEntry, ptr %34, i32 0, i32 2
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = call noundef zeroext i1 @_ZNKSt8functionIFbRK13IRInstructionS2_EEclES2_S2_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %36)
  br i1 %37, label %39, label %38

38:                                               ; preds = %27
  store i1 false, ptr %4, align 1
  store i32 1, ptr %16, align 4
  br label %40

39:                                               ; preds = %27
  store i32 0, ptr %16, align 4
  br label %40

40:                                               ; preds = %39, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %41 = load i32, ptr %16, align 4
  switch i32 %41, label %52 [
    i32 0, label %42
  ]

42:                                               ; preds = %40
  br label %43

43:                                               ; preds = %42
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7ir_list23InstructionIteratorImplILb1EEppEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7ir_list23InstructionIteratorImplILb1EEppEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  br label %21, !llvm.loop !10

46:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #3
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %47 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb1EEeqERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %17)
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #3
  br i1 %47, label %48, label %50

48:                                               ; preds = %46
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %18, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %49 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb1EEeqERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %18)
  br label %50

50:                                               ; preds = %48, %46
  %51 = phi i1 [ false, %46 ], [ %49, %48 ]
  store i1 %51, ptr %4, align 1
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #3
  store i32 1, ptr %16, align 4
  br label %52

52:                                               ; preds = %50, %40
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #3
  %53 = load i1, ptr %4, align 1
  ret i1 %53
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"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.ir_list::InstructionIteratorImpl.62" = type { %"class.boost::intrusive::list_iterator.38", %"class.boost::intrusive::list_iterator.38" }
%"class.boost::intrusive::list_iterator.38" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.ir_list::ConstInstructionIterable" = type { %"class.ir_list::InstructionIterableImpl" }
%"class.ir_list::InstructionIterableImpl" = type { %"class.boost::intrusive::list_iterator.38", %"class.boost::intrusive::list_iterator.38" }

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3cfg5Block17structural_equalsEPKS0_RKSt8functionIFbRK13IRInstructionS6_EE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2) local_unnamed_addr #1 align 2 {
  %4 = alloca %"class.ir_list::ConstInstructionIterable", align 8
  %5 = alloca %"class.ir_list::ConstInstructionIterable", align 8
  %6 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %7 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %8 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %9 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %10 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  %11 = alloca %"class.ir_list::InstructionIteratorImpl.62", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
  call void @_ZN7ir_list24ConstInstructionIterableC2IN3cfg5BlockEEEPKT_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
  call void @_ZN7ir_list24ConstInstructionIterableC2IN3cfg5BlockEEEPKT_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %6, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %12 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #3
  br i1 %12, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %3, %22
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %9, ptr noundef nonnull align 8 dereferenceable(16) %5)
  %13 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
  br i1 %13, label %14, label %.loopexit

14:                                               ; preds = %.lr.ph
  %15 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %16 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7ir_list23InstructionIteratorImplILb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %17 = getelementptr inbounds i8, ptr %15, i64 24
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %16, i64 24
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %21 = call noundef zeroext i1 @_ZNKSt8functionIFbRK13IRInstructionS2_EEclES2_S2_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %20)
  br i1 %21, label %22, label %.loopexit7

22:                                               ; preds = %14
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7ir_list23InstructionIteratorImplILb1EEppEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7ir_list23InstructionIteratorImplILb1EEppEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %25 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb1EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #3
  br i1 %25, label %.lr.ph, label %.critedge, !llvm.loop !8

.critedge:                                        ; preds = %22, %3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.critedge
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #3
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %26 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb1EEeqERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %10)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #3
  br i1 %26, label %27, label %29

27:                                               ; preds = %.loopexit
  call void @_ZNK7ir_list23InstructionIterableImplILb1EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.ir_list::InstructionIteratorImpl.62") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %5)
  %28 = call noundef zeroext i1 @_ZNK7ir_list23InstructionIteratorImplILb1EEeqERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %11)
  br label %29

29:                                               ; preds = %27, %.loopexit
  %30 = phi i1 [ false, %.loopexit ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #3
  br label %.loopexit7

.loopexit7:                                       ; preds = %14, %29
  %.2 = phi i1 [ %30, %29 ], [ false, %14 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
  ret i1 %.2
}

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass