; LLVM IR from PaddlePaddle/Paddle :: paddle/pir/src/core (visitors)

; 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.pir::PointerListIterator.8" = type { %"struct.std::_List_iterator.9" }
%"struct.std::_List_iterator.9" = type { ptr }
%"class.pir::PointerListIterator" = type { %"struct.std::_List_iterator" }
%"struct.std::_List_iterator" = type { ptr }
%"class.pir::Region" = type { ptr, %"class.std::__cxx11::list" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<pir::Block *, std::allocator<pir::Block *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<pir::Block *, std::allocator<pir::Block *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3pir4WalkEPNS_9OperationERKSt8functionIFvPNS_6RegionEEENS_9WalkOrderE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.pir::PointerListIterator.8", align 8
  %14 = alloca %"class.pir::PointerListIterator.8", align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.pir::PointerListIterator", align 8
  %18 = alloca %"class.pir::PointerListIterator", align 8
  %19 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %20, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = call noundef ptr @_ZN3pir9Operation5beginEv(ptr noundef nonnull align 8 dereferenceable(144) %21)
  store ptr %22, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = call noundef ptr @_ZN3pir9Operation3endEv(ptr noundef nonnull align 8 dereferenceable(144) %23)
  store ptr %24, ptr %9, align 8, !tbaa !5
  br label %25

25:                                               ; preds = %81, %3
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = icmp ne ptr %26, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %25
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  br label %84

30:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %31, ptr %11, align 8, !tbaa !5
  %32 = load i32, ptr %6, align 4, !tbaa !9
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %34, label %37

34:                                               ; preds = %30
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZNKSt8functionIFvPN3pir6RegionEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef %36)
  br label %37

37:                                               ; preds = %34, %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %38, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %39 = load ptr, ptr %12, align 8, !tbaa !5
  %40 = call ptr @_ZN3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %39)
  %41 = getelementptr inbounds %"class.pir::PointerListIterator.8", ptr %13, i32 0, i32 0
  %42 = getelementptr inbounds %"struct.std::_List_iterator.9", ptr %41, i32 0, i32 0
  store ptr %40, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = call ptr @_ZN3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %43)
  %45 = getelementptr inbounds %"class.pir::PointerListIterator.8", ptr %14, i32 0, i32 0
  %46 = getelementptr inbounds %"struct.std::_List_iterator.9", ptr %45, i32 0, i32 0
  store ptr %44, ptr %46, align 8
  br label %47

47:                                               ; preds = %72, %37
  %48 = call noundef zeroext i1 @_ZNK3pir19PointerListIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #3
  br i1 %48, label %50, label %49

49:                                               ; preds = %47
  store i32 4, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %74

50:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %51 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3pir19PointerListIteratorINS_5BlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #3
  store ptr %51, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %52 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %52, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %53 = load ptr, ptr %16, align 8, !tbaa !5
  %54 = call ptr @_ZN3pir5Block5beginEv(ptr noundef nonnull align 8 dereferenceable(120) %53)
  %55 = getelementptr inbounds %"class.pir::PointerListIterator", ptr %17, i32 0, i32 0
  %56 = getelementptr inbounds %"struct.std::_List_iterator", ptr %55, i32 0, i32 0
  store ptr %54, ptr %56, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %57 = load ptr, ptr %16, align 8, !tbaa !5
  %58 = call ptr @_ZN3pir5Block3endEv(ptr noundef nonnull align 8 dereferenceable(120) %57)
  %59 = getelementptr inbounds %"class.pir::PointerListIterator", ptr %18, i32 0, i32 0
  %60 = getelementptr inbounds %"struct.std::_List_iterator", ptr %59, i32 0, i32 0
  store ptr %58, ptr %60, align 8
  br label %61

61:                                               ; preds = %69, %50
  %62 = call noundef zeroext i1 @_ZNK3pir19PointerListIteratorINS_9OperationEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #3
  br i1 %62, label %64, label %63

63:                                               ; preds = %61
  store i32 6, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  br label %71

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %65 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir19PointerListIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  store ptr %65, ptr %19, align 8, !tbaa !5
  %66 = load ptr, ptr %19, align 8, !tbaa !5
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN3pir4WalkEPNS_9OperationERKSt8functionIFvPNS_6RegionEEENS_9WalkOrderE(ptr noundef %66, ptr noundef nonnull align 8 dereferenceable(32) %67, i32 noundef %68)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  br label %69

69:                                               ; preds = %64
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  br label %61

71:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  br label %72

72:                                               ; preds = %71
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #3
  br label %47

74:                                               ; preds = %49
  %75 = load i32, ptr %6, align 4, !tbaa !9
  %76 = icmp eq i32 %75, 1
  br i1 %76, label %77, label %80

77:                                               ; preds = %74
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZNKSt8functionIFvPN3pir6RegionEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef %79)
  br label %80

80:                                               ; preds = %77, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = getelementptr inbounds %"class.pir::Region", ptr %82, i32 1
  store ptr %83, ptr %8, align 8, !tbaa !5
  br label %25

84:                                               ; preds = %29
  ret void
}

; 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 ptr @_ZN3pir9Operation5beginEv(ptr noundef nonnull align 8 dereferenceable(144)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFvPN3pir6RegionEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #0 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir19PointerListIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN3pir9WalkOrderE", !7, i64 0}


; 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.pir::PointerListIterator.8" = type { %"struct.std::_List_iterator.9" }
%"struct.std::_List_iterator.9" = type { ptr }
%"class.pir::PointerListIterator" = type { %"struct.std::_List_iterator" }
%"struct.std::_List_iterator" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3pir4WalkEPNS_9OperationERKSt8functionIFvPNS_6RegionEEENS_9WalkOrderE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca %"class.pir::PointerListIterator.8", align 8
  %5 = alloca %"class.pir::PointerListIterator.8", align 8
  %6 = alloca %"class.pir::PointerListIterator", align 8
  %7 = alloca %"class.pir::PointerListIterator", align 8
  %8 = tail call noundef ptr @_ZN3pir9Operation5beginEv(ptr noundef nonnull align 8 dereferenceable(144) %0)
  %9 = tail call noundef ptr @_ZN3pir9Operation3endEv(ptr noundef nonnull align 8 dereferenceable(144) %0)
  %.not24 = icmp eq ptr %8, %9
  br i1 %.not24, label %._crit_edge28, label %.lr.ph27

.lr.ph27:                                         ; preds = %3
  %10 = icmp eq i32 %2, 0
  %11 = icmp eq i32 %2, 1
  br label %12

._crit_edge28:                                    ; preds = %28, %3
  ret void

12:                                               ; preds = %.lr.ph27, %28
  %.025 = phi ptr [ %8, %.lr.ph27 ], [ %29, %28 ]
  br i1 %10, label %13, label %14

13:                                               ; preds = %12
  call void @_ZNKSt8functionIFvPN3pir6RegionEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %.025)
  br label %14

14:                                               ; preds = %13, %12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %15 = call ptr @_ZN3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %.025)
  store ptr %15, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %16 = call ptr @_ZN3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %.025)
  store ptr %16, ptr %5, align 8
  %17 = call noundef zeroext i1 @_ZNK3pir19PointerListIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  br i1 %17, label %.lr.ph22, label %._crit_edge23

._crit_edge23:                                    ; preds = %._crit_edge, %14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  br i1 %11, label %27, label %28

.lr.ph22:                                         ; preds = %14, %._crit_edge
  %18 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3pir19PointerListIteratorINS_5BlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %19 = call ptr @_ZN3pir5Block5beginEv(ptr noundef nonnull align 8 dereferenceable(120) %18)
  store ptr %19, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %20 = call ptr @_ZN3pir5Block3endEv(ptr noundef nonnull align 8 dereferenceable(120) %18)
  store ptr %20, ptr %7, align 8
  %21 = call noundef zeroext i1 @_ZNK3pir19PointerListIteratorINS_9OperationEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #3
  br i1 %21, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  %23 = call noundef zeroext i1 @_ZNK3pir19PointerListIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  br i1 %23, label %.lr.ph22, label %._crit_edge23

.lr.ph:                                           ; preds = %.lr.ph22, %.lr.ph
  %24 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir19PointerListIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  call void @_ZN3pir4WalkEPNS_9OperationERKSt8functionIFvPNS_6RegionEEENS_9WalkOrderE(ptr noundef nonnull %24, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %2)
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  %26 = call noundef zeroext i1 @_ZNK3pir19PointerListIteratorINS_9OperationEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #3
  br i1 %26, label %.lr.ph, label %._crit_edge

27:                                               ; preds = %._crit_edge23
  call void @_ZNKSt8functionIFvPN3pir6RegionEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull %.025)
  br label %28

28:                                               ; preds = %27, %._crit_edge23
  %29 = getelementptr inbounds i8, ptr %.025, i64 32
  %.not = icmp eq ptr %29, %9
  br i1 %.not, label %._crit_edge28, label %12
}

; 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 ptr @_ZN3pir9Operation5beginEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNKSt8functionIFvPN3pir6RegionEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir19PointerListIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass