; LLVM IR from JayXon/Leanify :: lib/pugixml/pugixml.ll (ZNK4pugi8xml_node9attributeEPKcRNS_13xml_attributeE)

; 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.pugi::xml_attribute" = type { ptr }
%"class.pugi::xml_node" = type { ptr }
%"struct.pugi::xml_attribute_struct" = type { i64, ptr, ptr, ptr, ptr }
%"struct.pugi::xml_node_struct" = type { i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [55 x i8], align 1
@__PRETTY_FUNCTION__._ZNK4pugi8xml_node9attributeEPKcRNS_13xml_attributeE = external hidden unnamed_addr constant [79 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_18strequalEPKcS3_(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local ptr @_ZNK4pugi8xml_node9attributeEPKcRNS_13xml_attributeE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(8) %2) #3 align 2 {
  %4 = alloca %"class.pugi::xml_attribute", align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %14 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds %"class.pugi::xml_attribute", ptr %15, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  store ptr %17, ptr %8, align 8, !tbaa !5
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %31

20:                                               ; preds = %3
  %21 = getelementptr inbounds %"class.pugi::xml_node", ptr %14, i32 0, i32 0
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = icmp ne ptr %22, null
  br i1 %23, label %24, label %29

24:                                               ; preds = %20
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = getelementptr inbounds %"class.pugi::xml_node", ptr %14, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = call noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_115is_attribute_ofEPNS_20xml_attribute_structEPNS_15xml_node_structE(ptr noundef %25, ptr noundef %27)
  br label %29

29:                                               ; preds = %24, %20
  %30 = phi i1 [ false, %20 ], [ %28, %24 ]
  br label %31

31:                                               ; preds = %29, %3
  %32 = phi i1 [ true, %3 ], [ %30, %29 ]
  br i1 %32, label %33, label %34

33:                                               ; preds = %31
  br label %36

34:                                               ; preds = %31
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 5711, ptr noundef @__PRETTY_FUNCTION__._ZNK4pugi8xml_node9attributeEPKcRNS_13xml_attributeE) #5
  unreachable

35:                                               ; No predecessors!
  br label %36

36:                                               ; preds = %35, %33
  %37 = getelementptr inbounds %"class.pugi::xml_node", ptr %14, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  %39 = icmp ne ptr %38, null
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  call void @_ZN4pugi13xml_attributeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  store i32 1, ptr %9, align 4
  br label %117

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %42, ptr %10, align 8, !tbaa !5
  br label %43

43:                                               ; preds = %68, %41
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = icmp ne ptr %44, null
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  store i32 2, ptr %9, align 4
  br label %72

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %48 = load ptr, ptr %10, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.pugi::xml_attribute_struct", ptr %48, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  store ptr %50, ptr %11, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %64

53:                                               ; preds = %47
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_18strequalEPKcS3_(ptr noundef %54, ptr noundef %55)
  br i1 %56, label %57, label %64

57:                                               ; preds = %53
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.pugi::xml_attribute_struct", ptr %58, i32 0, i32 4
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.pugi::xml_attribute", ptr %61, i32 0, i32 0
  store ptr %60, ptr %62, align 8, !tbaa !9
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN4pugi13xml_attributeC1EPNS_20xml_attribute_structE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef %63)
  store i32 1, ptr %9, align 4
  br label %65

64:                                               ; preds = %53, %47
  store i32 0, ptr %9, align 4
  br label %65

65:                                               ; preds = %64, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %66 = load i32, ptr %9, align 4
  switch i32 %66, label %72 [
    i32 0, label %67
  ]

67:                                               ; preds = %65
  br label %68

68:                                               ; preds = %67
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.pugi::xml_attribute_struct", ptr %69, i32 0, i32 4
  %71 = load ptr, ptr %70, align 8, !tbaa !16
  store ptr %71, ptr %10, align 8, !tbaa !5
  br label %43, !llvm.loop !17

72:                                               ; preds = %65, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %73 = load i32, ptr %9, align 4
  switch i32 %73, label %117 [
    i32 2, label %74
  ]

74:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %75 = getelementptr inbounds %"class.pugi::xml_node", ptr %14, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !11
  %77 = getelementptr inbounds %"struct.pugi::xml_node_struct", ptr %76, i32 0, i32 7
  %78 = load ptr, ptr %77, align 8, !tbaa !19
  store ptr %78, ptr %12, align 8, !tbaa !5
  br label %79

79:                                               ; preds = %110, %74
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %86

82:                                               ; preds = %79
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = icmp ne ptr %83, %84
  br label %86

86:                                               ; preds = %82, %79
  %87 = phi i1 [ false, %79 ], [ %85, %82 ]
  br i1 %87, label %89, label %88

88:                                               ; preds = %86
  store i32 5, ptr %9, align 4
  br label %114

89:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.pugi::xml_attribute_struct", ptr %90, i32 0, i32 1
  %92 = load ptr, ptr %91, align 8, !tbaa !13
  store ptr %92, ptr %13, align 8, !tbaa !5
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %106

95:                                               ; preds = %89
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load ptr, ptr %13, align 8, !tbaa !5
  %98 = call noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_18strequalEPKcS3_(ptr noundef %96, ptr noundef %97)
  br i1 %98, label %99, label %106

99:                                               ; preds = %95
  %100 = load ptr, ptr %12, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.pugi::xml_attribute_struct", ptr %100, i32 0, i32 4
  %102 = load ptr, ptr %101, align 8, !tbaa !16
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = getelementptr inbounds %"class.pugi::xml_attribute", ptr %103, i32 0, i32 0
  store ptr %102, ptr %104, align 8, !tbaa !9
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN4pugi13xml_attributeC1EPNS_20xml_attribute_structE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef %105)
  store i32 1, ptr %9, align 4
  br label %107

106:                                              ; preds = %95, %89
  store i32 0, ptr %9, align 4
  br label %107

107:                                              ; preds = %106, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  %108 = load i32, ptr %9, align 4
  switch i32 %108, label %114 [
    i32 0, label %109
  ]

109:                                              ; preds = %107
  br label %110

110:                                              ; preds = %109
  %111 = load ptr, ptr %12, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.pugi::xml_attribute_struct", ptr %111, i32 0, i32 4
  %113 = load ptr, ptr %112, align 8, !tbaa !16
  store ptr %113, ptr %12, align 8, !tbaa !5
  br label %79, !llvm.loop !21

114:                                              ; preds = %107, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  %115 = load i32, ptr %9, align 4
  switch i32 %115, label %117 [
    i32 5, label %116
  ]

116:                                              ; preds = %114
  call void @_ZN4pugi13xml_attributeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  store i32 1, ptr %9, align 4
  br label %117

117:                                              ; preds = %116, %114, %72, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %118 = getelementptr inbounds %"class.pugi::xml_attribute", ptr %4, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8
  ret ptr %119
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_115is_attribute_ofEPNS_20xml_attribute_structEPNS_15xml_node_structE(ptr noundef, ptr noundef) #2

declare void @_ZN4pugi13xml_attributeC1Ev(ptr)

declare void @_ZN4pugi13xml_attributeC1EPNS_20xml_attribute_structE(ptr, ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "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 = { 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 #4 = { nounwind }
attributes #5 = { noreturn 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, !6, i64 0}
!10 = !{!"_ZTSN4pugi13xml_attributeE", !6, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN4pugi8xml_nodeE", !6, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"_ZTSN4pugi20xml_attribute_structE", !15, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !6, i64 32}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !6, i64 56}
!20 = !{!"_ZTSN4pugi15xml_node_structE", !15, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!21 = distinct !{!21, !18}


; 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.pugi::xml_attribute" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [55 x i8], align 1
@__PRETTY_FUNCTION__._ZNK4pugi8xml_node9attributeEPKcRNS_13xml_attributeE = external hidden unnamed_addr constant [79 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_18strequalEPKcS3_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local ptr @_ZNK4pugi8xml_node9attributeEPKcRNS_13xml_attributeE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr noundef %1, ptr nocapture noundef nonnull align 8 dereferenceable(8) %2) local_unnamed_addr #2 align 2 {
  %4 = alloca %"class.pugi::xml_attribute", align 8
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %.not = icmp eq ptr %5, null
  %6 = load ptr, ptr %0, align 8, !tbaa !10
  %.not40 = icmp eq ptr %6, null
  br i1 %.not, label %.critedge, label %7

7:                                                ; preds = %3
  br i1 %.not40, label %.critedge5, label %8

8:                                                ; preds = %7
  %9 = tail call noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_115is_attribute_ofEPNS_20xml_attribute_structEPNS_15xml_node_structE(ptr noundef nonnull %5, ptr noundef nonnull %6)
  br i1 %9, label %.critedge.thread, label %.critedge5

.critedge5:                                       ; preds = %7, %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 5711, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK4pugi8xml_node9attributeEPKcRNS_13xml_attributeE) #3
  unreachable

.critedge:                                        ; preds = %3
  br i1 %.not40, label %11, label %.critedge50

.critedge.thread:                                 ; preds = %8
  %10 = load ptr, ptr %0, align 8, !tbaa !10
  %.not4065 = icmp eq ptr %10, null
  br i1 %.not4065, label %11, label %.lr.ph

11:                                               ; preds = %.critedge.thread, %.critedge
  call void @_ZN4pugi13xml_attributeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  br label %35

.lr.ph:                                           ; preds = %.critedge.thread, %18
  %.03458 = phi ptr [ %20, %18 ], [ %5, %.critedge.thread ]
  %12 = getelementptr inbounds i8, ptr %.03458, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !12
  %.not42 = icmp eq ptr %13, null
  br i1 %.not42, label %18, label %14

14:                                               ; preds = %.lr.ph
  %15 = tail call noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_18strequalEPKcS3_(ptr noundef %1, ptr noundef nonnull %13)
  br i1 %15, label %.critedge48, label %18

.critedge48:                                      ; preds = %14
  %16 = getelementptr inbounds i8, ptr %.03458, i64 32
  %17 = load ptr, ptr %16, align 8, !tbaa !15
  store ptr %17, ptr %2, align 8, !tbaa !5
  call void @_ZN4pugi13xml_attributeC1EPNS_20xml_attribute_structE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull %.03458)
  br label %35

18:                                               ; preds = %14, %.lr.ph
  %19 = getelementptr inbounds i8, ptr %.03458, i64 32
  %20 = load ptr, ptr %19, align 8, !tbaa !15
  %.not41 = icmp eq ptr %20, null
  br i1 %.not41, label %.critedge50.loopexit, label %.lr.ph, !llvm.loop !16

.critedge50.loopexit:                             ; preds = %18
  %.pre = load ptr, ptr %0, align 8, !tbaa !10
  br label %.critedge50

.critedge50:                                      ; preds = %.critedge, %.critedge50.loopexit
  %21 = phi ptr [ %.pre, %.critedge50.loopexit ], [ %6, %.critedge ]
  %22 = getelementptr inbounds i8, ptr %21, i64 56
  %.03359 = load ptr, ptr %22, align 8, !tbaa !18
  %23 = icmp eq ptr %.03359, null
  %24 = icmp eq ptr %.03359, %5
  %.not4660 = or i1 %23, %24
  br i1 %.not4660, label %.critedge54, label %.lr.ph62

.lr.ph62:                                         ; preds = %.critedge50, %31
  %.03361 = phi ptr [ %.033, %31 ], [ %.03359, %.critedge50 ]
  %25 = getelementptr inbounds i8, ptr %.03361, i64 8
  %26 = load ptr, ptr %25, align 8, !tbaa !12
  %.not43 = icmp eq ptr %26, null
  br i1 %.not43, label %31, label %27

27:                                               ; preds = %.lr.ph62
  %28 = tail call noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_18strequalEPKcS3_(ptr noundef %1, ptr noundef nonnull %26)
  br i1 %28, label %.critedge52, label %31

.critedge52:                                      ; preds = %27
  %29 = getelementptr inbounds i8, ptr %.03361, i64 32
  %30 = load ptr, ptr %29, align 8, !tbaa !15
  store ptr %30, ptr %2, align 8, !tbaa !5
  call void @_ZN4pugi13xml_attributeC1EPNS_20xml_attribute_structE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull %.03361)
  br label %35

31:                                               ; preds = %27, %.lr.ph62
  %32 = getelementptr inbounds i8, ptr %.03361, i64 32
  %.033 = load ptr, ptr %32, align 8, !tbaa !18
  %33 = icmp eq ptr %.033, null
  %34 = icmp eq ptr %.033, %5
  %.not46 = or i1 %33, %34
  br i1 %.not46, label %.critedge54, label %.lr.ph62, !llvm.loop !19

.critedge54:                                      ; preds = %31, %.critedge50
  call void @_ZN4pugi13xml_attributeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  br label %35

35:                                               ; preds = %.critedge52, %.critedge48, %.critedge54, %11
  %36 = load ptr, ptr %4, align 8
  ret ptr %36
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4pugi4impl12_GLOBAL__N_115is_attribute_ofEPNS_20xml_attribute_structEPNS_15xml_node_structE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN4pugi13xml_attributeC1Ev(ptr) local_unnamed_addr

declare void @_ZN4pugi13xml_attributeC1EPNS_20xml_attribute_structE(ptr, ptr) local_unnamed_addr

attributes #0 = { noreturn nounwind "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 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 = { noreturn 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, !7, i64 0}
!6 = !{!"_ZTSN4pugi13xml_attributeE", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"_ZTSN4pugi8xml_nodeE", !7, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"_ZTSN4pugi20xml_attribute_structE", !14, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !7, i64 32}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !17}


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