; LLVM IR from facebookresearch/habitat-sim :: src/deps/tinyxml2/tinyxml2.ll (ZN8tinyxml211XMLDocumentC2EbNS_10WhitespaceE)

; 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.tinyxml2::XMLDocument" = type { %"class.tinyxml2::XMLNode", i8, i8, i32, i32, %"class.tinyxml2::StrPair", i32, ptr, i32, i32, %"class.tinyxml2::DynArray", %"class.tinyxml2::MemPoolT", %"class.tinyxml2::MemPoolT.1", %"class.tinyxml2::MemPoolT.3", %"class.tinyxml2::MemPoolT.5" }
%"class.tinyxml2::XMLNode" = type { ptr, ptr, ptr, %"class.tinyxml2::StrPair", i32, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.tinyxml2::StrPair" = type { i32, ptr, ptr }
%"class.tinyxml2::DynArray" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.0", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::MemPool" = type { ptr }
%"class.tinyxml2::DynArray.0" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.1" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.2", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.2" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.3" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.4", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.4" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::MemPoolT.5" = type { %"class.tinyxml2::MemPool", %"class.tinyxml2::DynArray.6", ptr, i32, i32, i32, i32 }
%"class.tinyxml2::DynArray.6" = type { ptr, [10 x ptr], i32, i32 }

@_ZTVN8tinyxml211XMLDocumentE = external dso_local unnamed_addr constant { [20 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml27StrPairC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8tinyxml211XMLDocumentC2EbNS_10WhitespaceE(ptr noundef nonnull align 8 dereferenceable(776) %0, i1 noundef zeroext %1, i32 noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  %9 = zext i1 %1 to i8
  store i8 %9, ptr %5, align 1, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !11
  %10 = load ptr, ptr %4, align 8
  call void @_ZN8tinyxml27XMLNodeC2EPNS_11XMLDocumentE(ptr noundef nonnull align 8 dereferenceable(104) %10, ptr noundef null)
  store ptr getelementptr inbounds inrange(-16, 144) ({ [20 x ptr] }, ptr @_ZTVN8tinyxml211XMLDocumentE, i32 0, i32 0, i32 2), ptr %10, align 8, !tbaa !13
  %11 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 1
  store i8 0, ptr %11, align 8, !tbaa !15
  %12 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 2
  %13 = load i8, ptr %5, align 1, !tbaa !9, !range !31, !noundef !32
  %14 = trunc i8 %13 to i1
  %15 = zext i1 %14 to i8
  store i8 %15, ptr %12, align 1, !tbaa !33
  %16 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 3
  store i32 0, ptr %16, align 4, !tbaa !34
  %17 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 4
  %18 = load i32, ptr %6, align 4, !tbaa !11
  store i32 %18, ptr %17, align 8, !tbaa !35
  %19 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 5
  invoke void @_ZN8tinyxml27StrPairC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %20 unwind label %36

20:                                               ; preds = %3
  %21 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 6
  store i32 0, ptr %21, align 8, !tbaa !36
  %22 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 7
  store ptr null, ptr %22, align 8, !tbaa !37
  %23 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 8
  store i32 0, ptr %23, align 8, !tbaa !38
  %24 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 9
  store i32 0, ptr %24, align 4, !tbaa !39
  %25 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 10
  invoke void @_ZN8tinyxml28DynArrayIPNS_7XMLNodeELi10EEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %25)
          to label %26 unwind label %40

26:                                               ; preds = %20
  %27 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 11
  invoke void @_ZN8tinyxml28MemPoolTILi120EEC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %27)
          to label %28 unwind label %44

28:                                               ; preds = %26
  %29 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 12
  invoke void @_ZN8tinyxml28MemPoolTILi80EEC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %29)
          to label %30 unwind label %48

30:                                               ; preds = %28
  %31 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 13
  invoke void @_ZN8tinyxml28MemPoolTILi112EEC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %31)
          to label %32 unwind label %52

32:                                               ; preds = %30
  %33 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 14
  invoke void @_ZN8tinyxml28MemPoolTILi104EEC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %33)
          to label %34 unwind label %56

34:                                               ; preds = %32
  %35 = getelementptr inbounds %"class.tinyxml2::XMLNode", ptr %10, i32 0, i32 1
  store ptr %10, ptr %35, align 8, !tbaa !40
  ret void

36:                                               ; preds = %3
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %7, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %8, align 4
  br label %64

40:                                               ; preds = %20
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %7, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %8, align 4
  br label %63

44:                                               ; preds = %26
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %7, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %8, align 4
  br label %62

48:                                               ; preds = %28
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %7, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %8, align 4
  br label %61

52:                                               ; preds = %30
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %7, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %8, align 4
  br label %60

56:                                               ; preds = %32
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %7, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %8, align 4
  call void @_ZN8tinyxml28MemPoolTILi112EED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %31) #2
  br label %60

60:                                               ; preds = %56, %52
  call void @_ZN8tinyxml28MemPoolTILi80EED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %29) #2
  br label %61

61:                                               ; preds = %60, %48
  call void @_ZN8tinyxml28MemPoolTILi120EED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %27) #2
  br label %62

62:                                               ; preds = %61, %44
  call void @_ZN8tinyxml28DynArrayIPNS_7XMLNodeELi10EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %25) #2
  br label %63

63:                                               ; preds = %62, %40
  call void @_ZN8tinyxml27StrPairD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #2
  br label %64

64:                                               ; preds = %63, %36
  call void @_ZN8tinyxml27XMLNodeD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %10) #2
  br label %65

65:                                               ; preds = %64
  %66 = load ptr, ptr %7, align 8
  %67 = load i32, ptr %8, align 4
  %68 = insertvalue { ptr, i32 } poison, ptr %66, 0
  %69 = insertvalue { ptr, i32 } %68, i32 %67, 1
  resume { ptr, i32 } %69
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28DynArrayIPNS_7XMLNodeELi10EEC2Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28MemPoolTILi112EED2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28MemPoolTILi80EED2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28MemPoolTILi120EED2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28DynArrayIPNS_7XMLNodeELi10EED2Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml27XMLNodeD2Ev(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #1 align 2

declare void @_ZN8tinyxml27StrPairD1Ev(ptr)

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 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 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN8tinyxml210WhitespaceE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !10, i64 104}
!16 = !{!"_ZTSN8tinyxml211XMLDocumentE", !17, i64 0, !10, i64 104, !10, i64 105, !20, i64 108, !12, i64 112, !18, i64 120, !19, i64 144, !6, i64 152, !19, i64 160, !19, i64 164, !21, i64 168, !22, i64 264, !25, i64 392, !27, i64 520, !29, i64 648}
!17 = !{!"_ZTSN8tinyxml27XMLNodeE", !6, i64 8, !6, i64 16, !18, i64 24, !19, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!18 = !{!"_ZTSN8tinyxml27StrPairE", !19, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN8tinyxml28XMLErrorE", !7, i64 0}
!21 = !{!"_ZTSN8tinyxml28DynArrayIPNS_7XMLNodeELi10EEE", !6, i64 0, !7, i64 8, !19, i64 88, !19, i64 92}
!22 = !{!"_ZTSN8tinyxml28MemPoolTILi120EEE", !23, i64 0, !24, i64 8, !6, i64 104, !19, i64 112, !19, i64 116, !19, i64 120, !19, i64 124}
!23 = !{!"_ZTSN8tinyxml27MemPoolE"}
!24 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi120EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !19, i64 88, !19, i64 92}
!25 = !{!"_ZTSN8tinyxml28MemPoolTILi80EEE", !23, i64 0, !26, i64 8, !6, i64 104, !19, i64 112, !19, i64 116, !19, i64 120, !19, i64 124}
!26 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi80EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !19, i64 88, !19, i64 92}
!27 = !{!"_ZTSN8tinyxml28MemPoolTILi112EEE", !23, i64 0, !28, i64 8, !6, i64 104, !19, i64 112, !19, i64 116, !19, i64 120, !19, i64 124}
!28 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi112EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !19, i64 88, !19, i64 92}
!29 = !{!"_ZTSN8tinyxml28MemPoolTILi104EEE", !23, i64 0, !30, i64 8, !6, i64 104, !19, i64 112, !19, i64 116, !19, i64 120, !19, i64 124}
!30 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi104EE5BlockELi10EEE", !6, i64 0, !7, i64 8, !19, i64 88, !19, i64 92}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!16, !10, i64 105}
!34 = !{!16, !20, i64 108}
!35 = !{!16, !12, i64 112}
!36 = !{!16, !19, i64 144}
!37 = !{!16, !6, i64 152}
!38 = !{!16, !19, i64 160}
!39 = !{!16, !19, i64 164}
!40 = !{!17, !6, i64 8}


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

@_ZTVN8tinyxml211XMLDocumentE = external dso_local unnamed_addr constant { [20 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml27StrPairC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8tinyxml211XMLDocumentC2EbNS_10WhitespaceE(ptr noundef nonnull align 8 dereferenceable(776) %0, i1 noundef zeroext %1, i32 noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = zext i1 %1 to i8
  tail call void @_ZN8tinyxml27XMLNodeC2EPNS_11XMLDocumentE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef null)
  store ptr getelementptr inbounds inrange(-16, 144) (i8, ptr @_ZTVN8tinyxml211XMLDocumentE, i64 16), ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 104
  store i8 0, ptr %5, align 8, !tbaa !8
  %6 = getelementptr inbounds i8, ptr %0, i64 105
  store i8 %4, ptr %6, align 1, !tbaa !28
  %7 = getelementptr inbounds i8, ptr %0, i64 108
  store i32 0, ptr %7, align 4, !tbaa !29
  %8 = getelementptr inbounds i8, ptr %0, i64 112
  store i32 %2, ptr %8, align 8, !tbaa !30
  %9 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZN8tinyxml27StrPairC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %10 = getelementptr inbounds i8, ptr %0, i64 144
  store i32 0, ptr %10, align 8, !tbaa !31
  %11 = getelementptr inbounds i8, ptr %0, i64 152
  %12 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  tail call void @_ZN8tinyxml28DynArrayIPNS_7XMLNodeELi10EEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %12)
  %13 = getelementptr inbounds i8, ptr %0, i64 264
  invoke void @_ZN8tinyxml28MemPoolTILi120EEC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %13)
          to label %14 unwind label %22

14:                                               ; preds = %3
  %15 = getelementptr inbounds i8, ptr %0, i64 392
  invoke void @_ZN8tinyxml28MemPoolTILi80EEC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %15)
          to label %16 unwind label %24

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %0, i64 520
  invoke void @_ZN8tinyxml28MemPoolTILi112EEC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %17)
          to label %18 unwind label %26

18:                                               ; preds = %16
  %19 = getelementptr inbounds i8, ptr %0, i64 648
  invoke void @_ZN8tinyxml28MemPoolTILi104EEC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %19)
          to label %20 unwind label %28

20:                                               ; preds = %18
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %0, ptr %21, align 8, !tbaa !32
  ret void

22:                                               ; preds = %3
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %32

24:                                               ; preds = %14
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %31

26:                                               ; preds = %16
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %30

28:                                               ; preds = %18
  %29 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN8tinyxml28MemPoolTILi112EED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #3
  br label %30

30:                                               ; preds = %28, %26
  %.pn = phi { ptr, i32 } [ %29, %28 ], [ %27, %26 ]
  tail call void @_ZN8tinyxml28MemPoolTILi80EED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %15) #3
  br label %31

31:                                               ; preds = %30, %24
  %.pn.pn = phi { ptr, i32 } [ %.pn, %30 ], [ %25, %24 ]
  tail call void @_ZN8tinyxml28MemPoolTILi120EED2Ev(ptr noundef nonnull align 8 dereferenceable(128) %13) #3
  br label %32

32:                                               ; preds = %31, %22
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %31 ], [ %23, %22 ]
  tail call void @_ZN8tinyxml28DynArrayIPNS_7XMLNodeELi10EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %12) #3
  tail call void @_ZN8tinyxml27StrPairD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #3
  tail call void @_ZN8tinyxml27XMLNodeD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %0) #3
  resume { ptr, i32 } %.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28DynArrayIPNS_7XMLNodeELi10EEC2Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28MemPoolTILi112EED2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28MemPoolTILi80EED2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28MemPoolTILi120EED2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28DynArrayIPNS_7XMLNodeELi10EED2Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml27XMLNodeD2Ev(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #1 align 2

declare void @_ZN8tinyxml27StrPairD1Ev(ptr) local_unnamed_addr

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !15, i64 104}
!9 = !{!"_ZTSN8tinyxml211XMLDocumentE", !10, i64 0, !15, i64 104, !15, i64 105, !16, i64 108, !17, i64 112, !13, i64 120, !14, i64 144, !11, i64 152, !14, i64 160, !14, i64 164, !18, i64 168, !19, i64 264, !22, i64 392, !24, i64 520, !26, i64 648}
!10 = !{!"_ZTSN8tinyxml27XMLNodeE", !11, i64 8, !11, i64 16, !13, i64 24, !14, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"_ZTSN8tinyxml27StrPairE", !14, i64 0, !11, i64 8, !11, i64 16}
!14 = !{!"int", !12, i64 0}
!15 = !{!"bool", !12, i64 0}
!16 = !{!"_ZTSN8tinyxml28XMLErrorE", !12, i64 0}
!17 = !{!"_ZTSN8tinyxml210WhitespaceE", !12, i64 0}
!18 = !{!"_ZTSN8tinyxml28DynArrayIPNS_7XMLNodeELi10EEE", !11, i64 0, !12, i64 8, !14, i64 88, !14, i64 92}
!19 = !{!"_ZTSN8tinyxml28MemPoolTILi120EEE", !20, i64 0, !21, i64 8, !11, i64 104, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124}
!20 = !{!"_ZTSN8tinyxml27MemPoolE"}
!21 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi120EE5BlockELi10EEE", !11, i64 0, !12, i64 8, !14, i64 88, !14, i64 92}
!22 = !{!"_ZTSN8tinyxml28MemPoolTILi80EEE", !20, i64 0, !23, i64 8, !11, i64 104, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124}
!23 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi80EE5BlockELi10EEE", !11, i64 0, !12, i64 8, !14, i64 88, !14, i64 92}
!24 = !{!"_ZTSN8tinyxml28MemPoolTILi112EEE", !20, i64 0, !25, i64 8, !11, i64 104, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124}
!25 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi112EE5BlockELi10EEE", !11, i64 0, !12, i64 8, !14, i64 88, !14, i64 92}
!26 = !{!"_ZTSN8tinyxml28MemPoolTILi104EEE", !20, i64 0, !27, i64 8, !11, i64 104, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124}
!27 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi104EE5BlockELi10EEE", !11, i64 0, !12, i64 8, !14, i64 88, !14, i64 92}
!28 = !{!9, !15, i64 105}
!29 = !{!9, !16, i64 108}
!30 = !{!9, !17, i64 112}
!31 = !{!9, !14, i64 144}
!32 = !{!10, !11, i64 8}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass