; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 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)) #1 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)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZN3pir5Block3endEv(ptr noundef nonnull align 8 dereferenceable(120)) #2 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)) #1 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)) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3pir4WalkEPNS_9OperationERKSt8functionIFvS1_EENS_9WalkOrderE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %2) #2 {
  %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
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %22, label %25

22:                                               ; preds = %3
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNKSt8functionIFvPN3pir9OperationEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef %24)
  br label %25

25:                                               ; preds = %22, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %26, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = call noundef ptr @_ZN3pir9Operation5beginEv(ptr noundef nonnull align 8 dereferenceable(144) %27)
  store ptr %28, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = call noundef ptr @_ZN3pir9Operation3endEv(ptr noundef nonnull align 8 dereferenceable(144) %29)
  store ptr %30, ptr %9, align 8, !tbaa !5
  br label %31

31:                                               ; preds = %75, %25
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  %34 = icmp ne ptr %32, %33
  br i1 %34, label %36, label %35

35:                                               ; preds = %31
  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 %78

36:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %37, ptr %11, align 8, !tbaa !5
  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, %36
  %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_9OperationERKSt8functionIFvS1_EENS_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
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %75

75:                                               ; preds = %74
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %"class.pir::Region", ptr %76, i32 1
  store ptr %77, ptr %8, align 8, !tbaa !5
  br label %31

78:                                               ; preds = %35
  %79 = load i32, ptr %6, align 4, !tbaa !9
  %80 = icmp eq i32 %79, 1
  br i1 %80, label %81, label %84

81:                                               ; preds = %78
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNKSt8functionIFvPN3pir9OperationEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef %83)
  br label %84

84:                                               ; preds = %81, %78
  ret void
}

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

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 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 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 #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3pir4WalkEPNS_9OperationERKSt8functionIFvS1_EENS_9WalkOrderE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %2) local_unnamed_addr #2 {
  %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 = icmp eq i32 %2, 0
  br i1 %8, label %9, label %10

9:                                                ; preds = %3
  tail call void @_ZNKSt8functionIFvPN3pir9OperationEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %0)
  br label %10

10:                                               ; preds = %9, %3
  %11 = tail call noundef ptr @_ZN3pir9Operation5beginEv(ptr noundef nonnull align 8 dereferenceable(144) %0)
  %12 = tail call noundef ptr @_ZN3pir9Operation3endEv(ptr noundef nonnull align 8 dereferenceable(144) %0)
  %.not24 = icmp eq ptr %11, %12
  br i1 %.not24, label %._crit_edge28, label %.lr.ph27

._crit_edge28:                                    ; preds = %._crit_edge23, %10
  %13 = icmp eq i32 %2, 1
  br i1 %13, label %27, label %28

.lr.ph27:                                         ; preds = %10, %._crit_edge23
  %.025 = phi ptr [ %17, %._crit_edge23 ], [ %11, %10 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %14 = call ptr @_ZN3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %.025)
  store ptr %14, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %15 = call ptr @_ZN3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %.025)
  store ptr %15, ptr %5, align 8
  %16 = 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 %16, label %.lr.ph22, label %._crit_edge23

._crit_edge23:                                    ; preds = %._crit_edge, %.lr.ph27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  %17 = getelementptr inbounds i8, ptr %.025, i64 32
  %.not = icmp eq ptr %17, %12
  br i1 %.not, label %._crit_edge28, label %.lr.ph27

.lr.ph22:                                         ; preds = %.lr.ph27, %._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_9OperationERKSt8functionIFvS1_EENS_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_edge28
  call void @_ZNKSt8functionIFvPN3pir9OperationEEEclES2_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull %0)
  br label %28

28:                                               ; preds = %27, %._crit_edge28
  ret void
}

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

attributes #0 = { mustprogress 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 = { 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,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass