; LLVM IR from ysyesilyurt/ComputerGraphics :: ForwardRenderingPipeline/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.6", i8, ptr, i32, i32, i8, i8, [64 x i8], [64 x i8], [6 x i8], %"class.tinyxml2::DynArray.7" }
%"class.tinyxml2::XMLVisitor" = type { ptr }
%"class.tinyxml2::DynArray.6" = type { ptr, [10 x ptr], i32, i32 }
%"class.tinyxml2::DynArray.7" = 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
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %14 = zext i1 %2 to i8
  store i8 %14, ptr %7, align 1, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !11
  %15 = load ptr, ptr %5, align 8
  call void @_ZN8tinyxml210XMLVisitorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #4
  store ptr getelementptr inbounds inrange(-16, 104) ({ [15 x ptr] }, ptr @_ZTVN8tinyxml210XMLPrinterE, i32 0, i32 0, i32 2), ptr %15, align 8, !tbaa !13
  %16 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %15, i32 0, i32 1
  store i8 0, ptr %16, align 8, !tbaa !15
  %17 = getelementptr inbounds %"class.tinyxml2::XMLPrinter", ptr %15, i32 0, i32 2
  invoke void @_ZN8tinyxml28DynArrayIPKcLi10EEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %17)
          to label %18 unwind label %36

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

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

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

35:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %56

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

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

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

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

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

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

60:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %74

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

71:                                               ; preds = %61
  %72 = load i32, ptr %12, align 4, !tbaa !11
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %12, align 4, !tbaa !11
  br label %57, !llvm.loop !33

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

82:                                               ; preds = %74
  ret void

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

87:                                               ; preds = %83, %40
  call void @_ZN8tinyxml28DynArrayIPKcLi10EED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %17) #4
  br label %88

88:                                               ; preds = %87, %36
  call void @_ZN8tinyxml210XMLVisitorD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #4
  br label %89

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

; 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