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

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

%"struct.tinyxml2::Entity" = type { ptr, i32, i8 }
%"class.tinyxml2::XMLPrinter" = type { %"class.tinyxml2::XMLVisitor", i8, %"class.tinyxml2::DynArray.7", i8, ptr, i32, i32, i8, i8, [64 x i8], [64 x i8], [6 x i8], %"class.tinyxml2::DynArray.8" }
%"class.tinyxml2::XMLVisitor" = type { ptr }
%"class.tinyxml2::DynArray.7" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::DynArray.8" = type <{ ptr, [20 x i8], i32, i32, [4 x i8] }>

@_ZN8tinyxml2L8entitiesE = external hidden constant [5 x %"struct.tinyxml2::Entity"], align 16
@_ZTVN8tinyxml210XMLPrinterE = external dso_local unnamed_addr constant { [15 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

; 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
define dso_local void @_ZN8tinyxml210XMLPrinterC2EP8_IO_FILEbi(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef %1, i1 noundef zeroext %2, i32 noundef %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %15 = zext i1 %2 to i8
  store i8 %15, ptr %7, align 1, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !11
  %16 = load ptr, ptr %5, align 8
  call void @_ZN8tinyxml210XMLVisitorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #4
  store ptr getelementptr inbounds inrange(-16, 104) ({ [15 x ptr] }, ptr @_ZTVN8tinyxml210XMLPrinterE, i32 0, i32 0, i32 2), ptr %16, align 8, !tbaa !13
  %17 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 1
  store i8 0, ptr %17, align 8, !tbaa !15
  %18 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 2
  invoke void @_ZN8tinyxml28DynArrayIPKcLi10EEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %18)
          to label %19 unwind label %37

19:                                               ; preds = %4
  %20 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 3
  store i8 1, ptr %20, align 8, !tbaa !20
  %21 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 4
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %22, ptr %21, align 8, !tbaa !21
  %23 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 5
  %24 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %24, ptr %23, align 8, !tbaa !22
  %25 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 6
  store i32 -1, ptr %25, align 4, !tbaa !23
  %26 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 7
  store i8 1, ptr %26, align 8, !tbaa !24
  %27 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 8
  %28 = load i8, ptr %7, align 1, !tbaa !9, !range !25, !noundef !26
  %29 = trunc i8 %28 to i1
  %30 = zext i1 %29 to i8
  store i8 %30, ptr %27, align 1, !tbaa !27
  %31 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 12
  invoke void @_ZN8tinyxml28DynArrayIcLi20EEC2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31)
          to label %32 unwind label %41

32:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %33

33:                                               ; preds = %54, %32
  %34 = load i32, ptr %11, align 4, !tbaa !11
  %35 = icmp slt i32 %34, 64
  br i1 %35, label %45, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %57

37:                                               ; preds = %4
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %9, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %10, align 4
  br label %90

41:                                               ; preds = %19
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %9, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %10, align 4
  br label %89

45:                                               ; preds = %33
  %46 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 9
  %47 = load i32, ptr %11, align 4, !tbaa !11
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [64 x i8], ptr %46, i64 0, i64 %48
  store i8 0, ptr %49, align 1, !tbaa !9
  %50 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 10
  %51 = load i32, ptr %11, align 4, !tbaa !11
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [64 x i8], ptr %50, i64 0, i64 %52
  store i8 0, ptr %53, align 1, !tbaa !9
  br label %54

54:                                               ; preds = %45
  %55 = load i32, ptr %11, align 4, !tbaa !11
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %11, align 4, !tbaa !11
  br label %33, !llvm.loop !28

57:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %58

58:                                               ; preds = %73, %57
  %59 = load i32, ptr %12, align 4, !tbaa !11
  %60 = icmp slt i32 %59, 5
  br i1 %60, label %62, label %61

61:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %76

62:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  %63 = load i32, ptr %12, align 4, !tbaa !11
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [5 x %"struct.tinyxml2::Entity"], ptr @_ZN8tinyxml2L8entitiesE, i64 0, i64 %64
  %66 = getelementptr inbounds %"struct.tinyxml2::Entity", ptr %65, i32 0, i32 2
  %67 = load i8, ptr %66, align 4, !tbaa !30
  store i8 %67, ptr %13, align 1, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  %68 = load i8, ptr %13, align 1, !tbaa !32
  store i8 %68, ptr %14, align 1, !tbaa !32
  %69 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 9
  %70 = load i8, ptr %14, align 1, !tbaa !32
  %71 = zext i8 %70 to i64
  %72 = getelementptr inbounds [64 x i8], ptr %69, i64 0, i64 %71
  store i8 1, ptr %72, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  br label %73

73:                                               ; preds = %62
  %74 = load i32, ptr %12, align 4, !tbaa !11
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %12, align 4, !tbaa !11
  br label %58, !llvm.loop !33

76:                                               ; preds = %61
  %77 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 10
  %78 = getelementptr inbounds [64 x i8], ptr %77, i64 0, i64 38
  store i8 1, ptr %78, align 2, !tbaa !9
  %79 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 10
  %80 = getelementptr inbounds [64 x i8], ptr %79, i64 0, i64 60
  store i8 1, ptr %80, align 2, !tbaa !9
  %81 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 10
  %82 = getelementptr inbounds [64 x i8], ptr %81, i64 0, i64 62
  store i8 1, ptr %82, align 2, !tbaa !9
  %83 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %16, i32 0, i32 12
  invoke void @_ZN8tinyxml28DynArrayIcLi20EE4PushEc(ptr noundef nonnull align 8 dereferenceable(36) %83, i8 noundef signext 0)
          to label %84 unwind label %85

84:                                               ; preds = %76
  ret void

85:                                               ; preds = %76
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %9, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %10, align 4
  call void @_ZN8tinyxml28DynArrayIcLi20EED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %31) #4
  br label %89

89:                                               ; preds = %85, %41
  call void @_ZN8tinyxml28DynArrayIPKcLi10EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %18) #4
  br label %90

90:                                               ; preds = %89, %37
  call void @_ZN8tinyxml210XMLVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #4
  br label %91

91:                                               ; preds = %90
  %92 = load ptr, ptr %9, align 8
  %93 = load i32, ptr %10, align 4
  %94 = insertvalue { ptr, i32 } poison, ptr %92, 0
  %95 = insertvalue { ptr, i32 } %94, i32 %93, 1
  resume { ptr, i32 } %95
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28DynArrayIcLi20EEC2Ev(ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8tinyxml28DynArrayIcLi20EE4PushEc(ptr noundef nonnull align 8 dereferenceable(36), i8 noundef signext) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml28DynArrayIcLi20EED2Ev(ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8tinyxml210XMLVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 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 = { inlinehint 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 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 #4 = { 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 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !10, i64 8}
!16 = !{!"_ZTSN8tinyxml210XMLPrinterE", !17, i64 0, !10, i64 8, !18, i64 16, !10, i64 112, !6, i64 120, !12, i64 128, !12, i64 132, !10, i64 136, !10, i64 137, !7, i64 138, !7, i64 202, !19, i64 272}
!17 = !{!"_ZTSN8tinyxml210XMLVisitorE"}
!18 = !{!"_ZTSN8tinyxml28DynArrayIPKcLi10EEE", !6, i64 0, !7, i64 8, !12, i64 88, !12, i64 92}
!19 = !{!"_ZTSN8tinyxml28DynArrayIcLi20EEE", !6, i64 0, !7, i64 8, !12, i64 28, !12, i64 32}
!20 = !{!16, !10, i64 112}
!21 = !{!16, !6, i64 120}
!22 = !{!16, !12, i64 128}
!23 = !{!16, !12, i64 132}
!24 = !{!16, !10, i64 136}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!16, !10, i64 137}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!31, !7, i64 12}
!31 = !{!"_ZTSN8tinyxml26EntityE", !6, i64 0, !12, i64 8, !7, i64 12}
!32 = !{!7, !7, i64 0}
!33 = distinct !{!33, !29}


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

%"struct.tinyxml2::Entity" = type { ptr, i32, i8 }

@_ZN8tinyxml2L8entitiesE = external hidden local_unnamed_addr constant [5 x %"struct.tinyxml2::Entity"], align 16
@_ZTVN8tinyxml210XMLPrinterE = external dso_local unnamed_addr constant { [15 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8tinyxml210XMLPrinterC2EP8_IO_FILEbi(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef %1, i1 noundef zeroext %2, i32 noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
.preheader:
  %4 = zext i1 %2 to i8
  tail call void @_ZN8tinyxml210XMLVisitorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  store ptr getelementptr inbounds inrange(-16, 104) (i8, ptr @_ZTVN8tinyxml210XMLPrinterE, i64 16), ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  store i8 0, ptr %5, align 8, !tbaa !8
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZN8tinyxml28DynArrayIPKcLi10EEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6)
  %7 = getelementptr inbounds i8, ptr %0, i64 112
  store i8 1, ptr %7, align 8, !tbaa !17
  %8 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr %1, ptr %8, align 8, !tbaa !18
  %9 = getelementptr inbounds i8, ptr %0, i64 128
  store i32 %3, ptr %9, align 8, !tbaa !19
  %10 = getelementptr inbounds i8, ptr %0, i64 132
  store i32 -1, ptr %10, align 4, !tbaa !20
  %11 = getelementptr inbounds i8, ptr %0, i64 136
  store i8 1, ptr %11, align 8, !tbaa !21
  %12 = getelementptr inbounds i8, ptr %0, i64 137
  store i8 %4, ptr %12, align 1, !tbaa !22
  %13 = getelementptr inbounds i8, ptr %0, i64 272
  tail call void @_ZN8tinyxml28DynArrayIcLi20EEC2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13)
  %14 = getelementptr inbounds i8, ptr %0, i64 138
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(128) %14, i8 0, i64 128, i1 false)
  %15 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN8tinyxml2L8entitiesE, i64 12), align 4, !tbaa !23
  %16 = zext i8 %15 to i64
  %17 = getelementptr inbounds [64 x i8], ptr %14, i64 0, i64 %16
  store i8 1, ptr %17, align 1, !tbaa !25
  %18 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN8tinyxml2L8entitiesE, i64 28), align 4, !tbaa !23
  %19 = zext i8 %18 to i64
  %20 = getelementptr inbounds [64 x i8], ptr %14, i64 0, i64 %19
  store i8 1, ptr %20, align 1, !tbaa !25
  %21 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN8tinyxml2L8entitiesE, i64 44), align 4, !tbaa !23
  %22 = zext i8 %21 to i64
  %23 = getelementptr inbounds [64 x i8], ptr %14, i64 0, i64 %22
  store i8 1, ptr %23, align 1, !tbaa !25
  %24 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN8tinyxml2L8entitiesE, i64 60), align 4, !tbaa !23
  %25 = zext i8 %24 to i64
  %26 = getelementptr inbounds [64 x i8], ptr %14, i64 0, i64 %25
  store i8 1, ptr %26, align 1, !tbaa !25
  %27 = load i8, ptr getelementptr inbounds (i8, ptr @_ZN8tinyxml2L8entitiesE, i64 76), align 4, !tbaa !23
  %28 = zext i8 %27 to i64
  %29 = getelementptr inbounds [64 x i8], ptr %14, i64 0, i64 %28
  store i8 1, ptr %29, align 1, !tbaa !25
  %30 = getelementptr inbounds i8, ptr %0, i64 240
  store i8 1, ptr %30, align 8, !tbaa !25
  %31 = getelementptr inbounds i8, ptr %0, i64 262
  store i8 1, ptr %31, align 2, !tbaa !25
  %32 = getelementptr inbounds i8, ptr %0, i64 264
  store i8 1, ptr %32, align 8, !tbaa !25
  invoke void @_ZN8tinyxml28DynArrayIcLi20EE4PushEc(ptr noundef nonnull align 8 dereferenceable(36) %13, i8 noundef signext 0)
          to label %33 unwind label %34

33:                                               ; preds = %.preheader
  ret void

34:                                               ; preds = %.preheader
  %35 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN8tinyxml28DynArrayIcLi20EED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %13) #4
  tail call void @_ZN8tinyxml28DynArrayIPKcLi10EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6) #4
  tail call void @_ZN8tinyxml210XMLVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  resume { ptr, i32 } %35
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8tinyxml28DynArrayIcLi20EE4PushEc(ptr noundef nonnull align 8 dereferenceable(36), i8 noundef signext) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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 = { inlinehint 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 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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, !11, i64 8}
!9 = !{!"_ZTSN8tinyxml210XMLPrinterE", !10, i64 0, !11, i64 8, !13, i64 16, !11, i64 112, !14, i64 120, !15, i64 128, !15, i64 132, !11, i64 136, !11, i64 137, !12, i64 138, !12, i64 202, !16, i64 272}
!10 = !{!"_ZTSN8tinyxml210XMLVisitorE"}
!11 = !{!"bool", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"_ZTSN8tinyxml28DynArrayIPKcLi10EEE", !14, i64 0, !12, i64 8, !15, i64 88, !15, i64 92}
!14 = !{!"any pointer", !12, i64 0}
!15 = !{!"int", !12, i64 0}
!16 = !{!"_ZTSN8tinyxml28DynArrayIcLi20EEE", !14, i64 0, !12, i64 8, !15, i64 28, !15, i64 32}
!17 = !{!9, !11, i64 112}
!18 = !{!9, !14, i64 120}
!19 = !{!9, !15, i64 128}
!20 = !{!9, !15, i64 132}
!21 = !{!9, !11, i64 136}
!22 = !{!9, !11, i64 137}
!23 = !{!24, !12, i64 12}
!24 = !{!"_ZTSN8tinyxml26EntityE", !14, i64 0, !15, i64 8, !12, i64 12}
!25 = !{!11, !11, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass