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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #1

; 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
declare dso_local void @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776), i32 noundef, i32 noundef, ptr noundef, ...) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN8tinyxml211XMLDocument8LoadFileEP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(776) %0, ptr noundef %1) #2 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %10 = load ptr, ptr %4, align 8
  call void @_ZN8tinyxml211XMLDocument5ClearEv(ptr noundef nonnull align 8 dereferenceable(776) %10)
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = call i32 @fseek(ptr noundef %11, i64 noundef 0, i32 noundef 0)
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = call i32 @fgetc(ptr noundef %13)
  %15 = icmp eq i32 %14, -1
  br i1 %15, label %16, label %23

16:                                               ; preds = %2
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = call i32 @ferror(ptr noundef %17) #6
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %23

20:                                               ; preds = %16
  call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %10, i32 noundef 5, i32 noundef 0, ptr noundef null)
  %21 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 3
  %22 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %22, ptr %3, align 4
  br label %73

23:                                               ; preds = %16, %2
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call i32 @fseek(ptr noundef %24, i64 noundef 0, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = call i64 @ftell(ptr noundef %26)
  store i64 %27, ptr %6, align 8, !tbaa !27
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = call i32 @fseek(ptr noundef %28, i64 noundef 0, i32 noundef 0)
  %30 = load i64, ptr %6, align 8, !tbaa !27
  %31 = icmp eq i64 %30, -1
  br i1 %31, label %32, label %35

32:                                               ; preds = %23
  call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %10, i32 noundef 5, i32 noundef 0, ptr noundef null)
  %33 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 3
  %34 = load i32, ptr %33, align 4, !tbaa !9
  store i32 %34, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %72

35:                                               ; preds = %23
  %36 = load i64, ptr %6, align 8, !tbaa !27
  %37 = call noundef zeroext i1 @_ZN8tinyxml225LongFitsIntoSizeTMinusOneILb1EE4FitsEm(i64 noundef %36)
  br i1 %37, label %41, label %38

38:                                               ; preds = %35
  call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %10, i32 noundef 5, i32 noundef 0, ptr noundef null)
  %39 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 3
  %40 = load i32, ptr %39, align 4, !tbaa !9
  store i32 %40, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %72

41:                                               ; preds = %35
  %42 = load i64, ptr %6, align 8, !tbaa !27
  %43 = icmp eq i64 %42, 0
  br i1 %43, label %44, label %47

44:                                               ; preds = %41
  call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %10, i32 noundef 15, i32 noundef 0, ptr noundef null)
  %45 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 3
  %46 = load i32, ptr %45, align 4, !tbaa !9
  store i32 %46, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %72

47:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %48 = load i64, ptr %6, align 8, !tbaa !27
  store i64 %48, ptr %8, align 8, !tbaa !27
  %49 = load i64, ptr %8, align 8, !tbaa !27
  %50 = add i64 %49, 1
  %51 = call noalias noundef nonnull ptr @_Znam(i64 noundef %50) #7
  %52 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 7
  store ptr %51, ptr %52, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %53 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 7
  %54 = load ptr, ptr %53, align 8, !tbaa !29
  %55 = load i64, ptr %8, align 8, !tbaa !27
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = call i64 @fread(ptr noundef %54, i64 noundef 1, i64 noundef %55, ptr noundef %56)
  store i64 %57, ptr %9, align 8, !tbaa !27
  %58 = load i64, ptr %9, align 8, !tbaa !27
  %59 = load i64, ptr %8, align 8, !tbaa !27
  %60 = icmp ne i64 %58, %59
  br i1 %60, label %61, label %64

61:                                               ; preds = %47
  call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %10, i32 noundef 5, i32 noundef 0, ptr noundef null)
  %62 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 3
  %63 = load i32, ptr %62, align 4, !tbaa !9
  store i32 %63, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %71

64:                                               ; preds = %47
  %65 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 7
  %66 = load ptr, ptr %65, align 8, !tbaa !29
  %67 = load i64, ptr %8, align 8, !tbaa !27
  %68 = getelementptr inbounds i8, ptr %66, i64 %67
  store i8 0, ptr %68, align 1, !tbaa !30
  call void @_ZN8tinyxml211XMLDocument5ParseEv(ptr noundef nonnull align 8 dereferenceable(776) %10)
  %69 = getelementptr inbounds %"class.tinyxml2::XMLDocument", ptr %10, i32 0, i32 3
  %70 = load i32, ptr %69, align 4, !tbaa !9
  store i32 %70, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %71

71:                                               ; preds = %64, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %72

72:                                               ; preds = %71, %44, %38, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %73

73:                                               ; preds = %72, %20
  %74 = load i32, ptr %3, align 4
  ret i32 %74
}

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #3

declare i32 @fgetc(ptr noundef) #3

; Function Attrs: nounwind
declare i32 @ferror(ptr noundef) #4

declare i64 @ftell(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8tinyxml225LongFitsIntoSizeTMinusOneILb1EE4FitsEm(i64 noundef) #5 align 2

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { "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 "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 #5 = { 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 #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776), i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8tinyxml211XMLDocument5ClearEv(ptr noundef nonnull align 8 dereferenceable(776)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN8tinyxml211XMLDocument8LoadFileEP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(776) %0, ptr nocapture noundef %1) local_unnamed_addr #1 align 2 {
  tail call void @_ZN8tinyxml211XMLDocument5ClearEv(ptr noundef nonnull align 8 dereferenceable(776) %0)
  %3 = tail call i32 @fseek(ptr noundef %1, i64 noundef 0, i32 noundef 0)
  %4 = tail call i32 @fgetc(ptr noundef %1)
  %5 = icmp eq i32 %4, -1
  br i1 %5, label %6, label %9

6:                                                ; preds = %2
  %7 = tail call i32 @ferror(ptr noundef %1) #5
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %9, label %8

8:                                                ; preds = %6
  tail call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %0, i32 noundef 5, i32 noundef 0, ptr noundef null)
  br label %30

9:                                                ; preds = %6, %2
  %10 = tail call i32 @fseek(ptr noundef %1, i64 noundef 0, i32 noundef 2)
  %11 = tail call i64 @ftell(ptr noundef %1)
  %12 = tail call i32 @fseek(ptr noundef %1, i64 noundef 0, i32 noundef 0)
  %13 = icmp eq i64 %11, -1
  br i1 %13, label %14, label %15

14:                                               ; preds = %9
  tail call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %0, i32 noundef 5, i32 noundef 0, ptr noundef null)
  br label %30

15:                                               ; preds = %9
  %16 = tail call noundef zeroext i1 @_ZN8tinyxml225LongFitsIntoSizeTMinusOneILb1EE4FitsEm(i64 noundef %11)
  br i1 %16, label %18, label %17

17:                                               ; preds = %15
  tail call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %0, i32 noundef 5, i32 noundef 0, ptr noundef null)
  br label %30

18:                                               ; preds = %15
  %19 = icmp eq i64 %11, 0
  br i1 %19, label %20, label %21

20:                                               ; preds = %18
  tail call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %0, i32 noundef 15, i32 noundef 0, ptr noundef null)
  br label %30

21:                                               ; preds = %18
  %22 = add nuw i64 %11, 1
  %23 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %22) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 152
  store ptr %23, ptr %24, align 8, !tbaa !5
  %25 = tail call i64 @fread(ptr noundef nonnull %23, i64 noundef 1, i64 noundef %11, ptr noundef %1)
  %.not18 = icmp eq i64 %25, %11
  br i1 %.not18, label %27, label %26

26:                                               ; preds = %21
  tail call void (ptr, i32, i32, ptr, ...) @_ZN8tinyxml211XMLDocument8SetErrorENS_8XMLErrorEiPKcz(ptr noundef nonnull align 8 dereferenceable(776) %0, i32 noundef 5, i32 noundef 0, ptr noundef null)
  br label %30

27:                                               ; preds = %21
  %28 = load ptr, ptr %24, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 %11
  store i8 0, ptr %29, align 1, !tbaa !26
  tail call void @_ZN8tinyxml211XMLDocument5ParseEv(ptr noundef nonnull align 8 dereferenceable(776) %0)
  br label %30

30:                                               ; preds = %14, %17, %20, %27, %26, %8
  %.2.in = getelementptr inbounds i8, ptr %0, i64 108
  %.2 = load i32, ptr %.2.in, align 4, !tbaa !27
  ret i32 %.2
}

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fgetc(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind memory(read)
declare noundef i32 @ferror(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8tinyxml225LongFitsIntoSizeTMinusOneILb1EE4FitsEm(i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8tinyxml211XMLDocument5ParseEv(ptr noundef nonnull align 8 dereferenceable(776)) local_unnamed_addr #1 align 2

attributes #0 = { nobuiltin allocsize(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 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 = { nofree 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 #3 = { nofree nounwind memory(read) "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 = { 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 #5 = { nounwind }
attributes #6 = { builtin allocsize(0) }

!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, !8, i64 152}
!6 = !{!"_ZTSN8tinyxml211XMLDocumentE", !7, i64 0, !13, i64 104, !13, i64 105, !14, i64 108, !15, i64 112, !11, i64 120, !12, i64 144, !8, i64 152, !12, i64 160, !12, i64 164, !16, i64 168, !17, i64 264, !20, i64 392, !22, i64 520, !24, i64 648}
!7 = !{!"_ZTSN8tinyxml27XMLNodeE", !8, i64 8, !8, i64 16, !11, i64 24, !12, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !8, i64 96}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN8tinyxml27StrPairE", !12, i64 0, !8, i64 8, !8, i64 16}
!12 = !{!"int", !9, i64 0}
!13 = !{!"bool", !9, i64 0}
!14 = !{!"_ZTSN8tinyxml28XMLErrorE", !9, i64 0}
!15 = !{!"_ZTSN8tinyxml210WhitespaceE", !9, i64 0}
!16 = !{!"_ZTSN8tinyxml28DynArrayIPNS_7XMLNodeELi10EEE", !8, i64 0, !9, i64 8, !12, i64 88, !12, i64 92}
!17 = !{!"_ZTSN8tinyxml28MemPoolTILi120EEE", !18, i64 0, !19, i64 8, !8, i64 104, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124}
!18 = !{!"_ZTSN8tinyxml27MemPoolE"}
!19 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi120EE5BlockELi10EEE", !8, i64 0, !9, i64 8, !12, i64 88, !12, i64 92}
!20 = !{!"_ZTSN8tinyxml28MemPoolTILi80EEE", !18, i64 0, !21, i64 8, !8, i64 104, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124}
!21 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi80EE5BlockELi10EEE", !8, i64 0, !9, i64 8, !12, i64 88, !12, i64 92}
!22 = !{!"_ZTSN8tinyxml28MemPoolTILi112EEE", !18, i64 0, !23, i64 8, !8, i64 104, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124}
!23 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi112EE5BlockELi10EEE", !8, i64 0, !9, i64 8, !12, i64 88, !12, i64 92}
!24 = !{!"_ZTSN8tinyxml28MemPoolTILi104EEE", !18, i64 0, !25, i64 8, !8, i64 104, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124}
!25 = !{!"_ZTSN8tinyxml28DynArrayIPNS_8MemPoolTILi104EE5BlockELi10EEE", !8, i64 0, !9, i64 8, !12, i64 88, !12, i64 92}
!26 = !{!9, !9, i64 0}
!27 = !{!6, !14, i64 108}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass