; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis6/AggregateStatePdu.ll (ZN3DIS17AggregateStatePduC2Ev)

; 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.DIS::AggregateStatePdu" = type { %"class.DIS::EntityManagementFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", i8, i8, %"class.DIS::EntityType", i32, %"class.DIS::AggregateMarking", %"class.DIS::Vector3Float", %"class.DIS::Orientation", %"class.DIS::Vector3Double", %"class.DIS::Vector3Float", i16, i16, i16, i16, %"class.std::vector", %"class.std::vector.0", i8, %"class.std::vector.5", %"class.std::vector.5", i32, %"class.std::vector.10" }
%"class.DIS::EntityManagementFamilyPdu.base" = type { %"class.DIS::Pdu.base" }
%"class.DIS::Pdu.base" = type <{ ptr, i8, i8, i8, i8, i32, i16, i16 }>
%"class.DIS::EntityID" = type <{ ptr, i16, i16, i16, [2 x i8] }>
%"class.DIS::EntityType" = type { ptr, i8, i8, i16, i8, i8, i8, i8 }
%"class.DIS::AggregateMarking" = type { ptr, i8, [31 x i8] }
%"class.DIS::Orientation" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::Vector3Double" = type { ptr, double, double, double }
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::AggregateID, std::allocator<DIS::AggregateID>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::AggregateID, std::allocator<DIS::AggregateID>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::AggregateID, std::allocator<DIS::AggregateID>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::AggregateID, std::allocator<DIS::AggregateID>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<DIS::EntityID, std::allocator<DIS::EntityID>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::EntityID, std::allocator<DIS::EntityID>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::EntityID, std::allocator<DIS::EntityID>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::EntityID, std::allocator<DIS::EntityID>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<DIS::EntityType, std::allocator<DIS::EntityType>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::EntityType, std::allocator<DIS::EntityType>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::EntityType, std::allocator<DIS::EntityType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::EntityType, std::allocator<DIS::EntityType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<DIS::VariableDatum, std::allocator<DIS::VariableDatum>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::VariableDatum, std::allocator<DIS::VariableDatum>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::VariableDatum, std::allocator<DIS::VariableDatum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::VariableDatum, std::allocator<DIS::VariableDatum>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTVN3DIS17AggregateStatePduE = external dso_local unnamed_addr constant { [7 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3DIS17AggregateStatePduC2Ev(ptr noundef nonnull align 8 dereferenceable(360) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  call void @_ZN3DIS25EntityManagementFamilyPduC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %5)
  store ptr getelementptr inbounds inrange(-16, 40) ({ [7 x ptr] }, ptr @_ZTVN3DIS17AggregateStatePduE, i32 0, i32 0, i32 2), ptr %5, align 8, !tbaa !9
  %6 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 2
  invoke void @_ZN3DIS8EntityIDC1Ev(ptr noundef nonnull align 8 dereferenceable(14) %6)
          to label %7 unwind label %35

7:                                                ; preds = %1
  %8 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 3
  store i8 0, ptr %8, align 8, !tbaa !11
  %9 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 4
  store i8 0, ptr %9, align 1, !tbaa !41
  %10 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 5
  invoke void @_ZN3DIS10EntityTypeC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %11 unwind label %39

11:                                               ; preds = %7
  %12 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 6
  store i32 0, ptr %12, align 8, !tbaa !42
  %13 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 7
  invoke void @_ZN3DIS16AggregateMarkingC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %14 unwind label %43

14:                                               ; preds = %11
  %15 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 8
  invoke void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %15)
          to label %16 unwind label %47

16:                                               ; preds = %14
  %17 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 9
  invoke void @_ZN3DIS11OrientationC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %17)
          to label %18 unwind label %51

18:                                               ; preds = %16
  %19 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 10
  invoke void @_ZN3DIS13Vector3DoubleC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %20 unwind label %55

20:                                               ; preds = %18
  %21 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 11
  invoke void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %21)
          to label %22 unwind label %59

22:                                               ; preds = %20
  %23 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 12
  store i16 0, ptr %23, align 8, !tbaa !43
  %24 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 13
  store i16 0, ptr %24, align 2, !tbaa !44
  %25 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 14
  store i16 0, ptr %25, align 4, !tbaa !45
  %26 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 15
  store i16 0, ptr %26, align 2, !tbaa !46
  %27 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 16
  call void @_ZNSt6vectorIN3DIS11AggregateIDESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #4
  %28 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 17
  call void @_ZNSt6vectorIN3DIS8EntityIDESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #4
  %29 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 18
  store i8 0, ptr %29, align 8, !tbaa !47
  %30 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 19
  call void @_ZNSt6vectorIN3DIS10EntityTypeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #4
  %31 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 20
  call void @_ZNSt6vectorIN3DIS10EntityTypeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  %32 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 21
  store i32 0, ptr %32, align 8, !tbaa !48
  %33 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %5, i32 0, i32 22
  call void @_ZNSt6vectorIN3DIS13VariableDatumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #4
  invoke void @_ZN3DIS3Pdu10setPduTypeEh(ptr noundef nonnull align 8 dereferenceable(20) %5, i8 noundef zeroext 33)
          to label %34 unwind label %63

34:                                               ; preds = %22
  ret void

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

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

43:                                               ; preds = %11
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %3, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %4, align 4
  br label %71

47:                                               ; preds = %14
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %3, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %4, align 4
  br label %70

51:                                               ; preds = %16
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %3, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %4, align 4
  br label %69

55:                                               ; preds = %18
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %3, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %4, align 4
  br label %68

59:                                               ; preds = %20
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %3, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %4, align 4
  br label %67

63:                                               ; preds = %22
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %3, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %4, align 4
  call void @_ZNSt6vectorIN3DIS13VariableDatumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #4
  call void @_ZNSt6vectorIN3DIS10EntityTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  call void @_ZNSt6vectorIN3DIS10EntityTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #4
  call void @_ZNSt6vectorIN3DIS8EntityIDESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #4
  call void @_ZNSt6vectorIN3DIS11AggregateIDESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #4
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %21) #4
  br label %67

67:                                               ; preds = %63, %59
  call void @_ZN3DIS13Vector3DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #4
  br label %68

68:                                               ; preds = %67, %55
  call void @_ZN3DIS11OrientationD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %17) #4
  br label %69

69:                                               ; preds = %68, %51
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %15) #4
  br label %70

70:                                               ; preds = %69, %47
  call void @_ZN3DIS16AggregateMarkingD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #4
  br label %71

71:                                               ; preds = %70, %43
  call void @_ZN3DIS10EntityTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #4
  br label %72

72:                                               ; preds = %71, %39
  call void @_ZN3DIS8EntityIDD1Ev(ptr noundef nonnull align 8 dereferenceable(14) %6) #4
  br label %73

73:                                               ; preds = %72, %35
  call void @_ZN3DIS25EntityManagementFamilyPduD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %5) #4
  br label %74

74:                                               ; preds = %73
  %75 = load ptr, ptr %3, align 8
  %76 = load i32, ptr %4, align 4
  %77 = insertvalue { ptr, i32 } poison, ptr %75, 0
  %78 = insertvalue { ptr, i32 } %77, i32 %76, 1
  resume { ptr, i32 } %78
}

declare void @_ZN3DIS25EntityManagementFamilyPduC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

declare void @_ZN3DIS8EntityIDC1Ev(ptr noundef nonnull align 8 dereferenceable(14)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN3DIS10EntityTypeC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare void @_ZN3DIS16AggregateMarkingC1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1

declare void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

declare void @_ZN3DIS11OrientationC1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

declare void @_ZN3DIS13Vector3DoubleC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1

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

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

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

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

declare void @_ZN3DIS3Pdu10setPduTypeEh(ptr noundef nonnull align 8 dereferenceable(20), i8 noundef zeroext) #1

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS13Vector3DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS11OrientationD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS16AggregateMarkingD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS10EntityTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS8EntityIDD1Ev(ptr noundef nonnull align 8 dereferenceable(14)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS25EntityManagementFamilyPduD2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #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 = { "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 = { 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 #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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !7, i64 40}
!12 = !{!"_ZTSN3DIS17AggregateStatePduE", !13, i64 0, !17, i64 24, !7, i64 40, !7, i64 41, !18, i64 48, !15, i64 64, !19, i64 72, !20, i64 112, !22, i64 136, !23, i64 160, !20, i64 192, !16, i64 216, !16, i64 218, !16, i64 220, !16, i64 222, !25, i64 224, !29, i64 248, !7, i64 272, !33, i64 280, !33, i64 304, !15, i64 328, !37, i64 336}
!13 = !{!"_ZTSN3DIS25EntityManagementFamilyPduE", !14, i64 0}
!14 = !{!"_ZTSN3DIS3PduE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !15, i64 12, !16, i64 16, !16, i64 18}
!15 = !{!"int", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTSN3DIS8EntityIDE", !16, i64 8, !16, i64 10, !16, i64 12}
!18 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !16, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!19 = !{!"_ZTSN3DIS16AggregateMarkingE", !7, i64 8, !7, i64 9}
!20 = !{!"_ZTSN3DIS12Vector3FloatE", !21, i64 8, !21, i64 12, !21, i64 16}
!21 = !{!"float", !7, i64 0}
!22 = !{!"_ZTSN3DIS11OrientationE", !21, i64 8, !21, i64 12, !21, i64 16}
!23 = !{!"_ZTSN3DIS13Vector3DoubleE", !24, i64 8, !24, i64 16, !24, i64 24}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTSSt6vectorIN3DIS11AggregateIDESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt6vectorIN3DIS8EntityIDESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorIN3DIS10EntityTypeESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorIN3DIS13VariableDatumESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!12, !7, i64 41}
!42 = !{!12, !15, i64 64}
!43 = !{!12, !16, i64 216}
!44 = !{!12, !16, i64 218}
!45 = !{!12, !16, i64 220}
!46 = !{!12, !16, i64 222}
!47 = !{!12, !7, i64 272}
!48 = !{!12, !15, i64 328}


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

@_ZTVN3DIS17AggregateStatePduE = external dso_local unnamed_addr constant { [7 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3DIS17AggregateStatePduC2Ev(ptr noundef nonnull align 8 dereferenceable(360) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN3DIS25EntityManagementFamilyPduC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0)
  store ptr getelementptr inbounds inrange(-16, 40) (i8, ptr @_ZTVN3DIS17AggregateStatePduE, i64 16), ptr %0, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %0, i64 24
  invoke void @_ZN3DIS8EntityIDC1Ev(ptr noundef nonnull align 8 dereferenceable(14) %2)
          to label %3 unwind label %28

3:                                                ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  store i8 0, ptr %4, align 8, !tbaa !8
  %5 = getelementptr inbounds i8, ptr %0, i64 41
  store i8 0, ptr %5, align 1, !tbaa !40
  %6 = getelementptr inbounds i8, ptr %0, i64 48
  invoke void @_ZN3DIS10EntityTypeC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %7 unwind label %30

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 0, ptr %8, align 8, !tbaa !41
  %9 = getelementptr inbounds i8, ptr %0, i64 72
  invoke void @_ZN3DIS16AggregateMarkingC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9)
          to label %10 unwind label %32

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %0, i64 112
  invoke void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %11)
          to label %12 unwind label %34

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %0, i64 136
  invoke void @_ZN3DIS11OrientationC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %13)
          to label %14 unwind label %36

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %0, i64 160
  invoke void @_ZN3DIS13Vector3DoubleC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %16 unwind label %38

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %0, i64 192
  invoke void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %17)
          to label %18 unwind label %40

18:                                               ; preds = %16
  %19 = getelementptr inbounds i8, ptr %0, i64 216
  %20 = getelementptr inbounds i8, ptr %0, i64 224
  store i64 0, ptr %19, align 8
  tail call void @_ZNSt6vectorIN3DIS11AggregateIDESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #4
  %21 = getelementptr inbounds i8, ptr %0, i64 248
  tail call void @_ZNSt6vectorIN3DIS8EntityIDESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  %22 = getelementptr inbounds i8, ptr %0, i64 272
  store i8 0, ptr %22, align 8, !tbaa !42
  %23 = getelementptr inbounds i8, ptr %0, i64 280
  tail call void @_ZNSt6vectorIN3DIS10EntityTypeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  %24 = getelementptr inbounds i8, ptr %0, i64 304
  tail call void @_ZNSt6vectorIN3DIS10EntityTypeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  %25 = getelementptr inbounds i8, ptr %0, i64 328
  store i32 0, ptr %25, align 8, !tbaa !43
  %26 = getelementptr inbounds i8, ptr %0, i64 336
  tail call void @_ZNSt6vectorIN3DIS13VariableDatumESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #4
  invoke void @_ZN3DIS3Pdu10setPduTypeEh(ptr noundef nonnull align 8 dereferenceable(20) %0, i8 noundef zeroext 33)
          to label %27 unwind label %42

27:                                               ; preds = %18
  ret void

28:                                               ; preds = %1
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %50

30:                                               ; preds = %3
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %49

32:                                               ; preds = %7
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %48

34:                                               ; preds = %10
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %47

36:                                               ; preds = %12
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %46

38:                                               ; preds = %14
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %45

40:                                               ; preds = %16
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %44

42:                                               ; preds = %18
  %43 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt6vectorIN3DIS13VariableDatumESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #4
  tail call void @_ZNSt6vectorIN3DIS10EntityTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  tail call void @_ZNSt6vectorIN3DIS10EntityTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  tail call void @_ZNSt6vectorIN3DIS8EntityIDESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  tail call void @_ZNSt6vectorIN3DIS11AggregateIDESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #4
  tail call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %17) #4
  br label %44

44:                                               ; preds = %42, %40
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  tail call void @_ZN3DIS13Vector3DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  br label %45

45:                                               ; preds = %44, %38
  %.pn.pn = phi { ptr, i32 } [ %.pn, %44 ], [ %39, %38 ]
  tail call void @_ZN3DIS11OrientationD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %13) #4
  br label %46

46:                                               ; preds = %45, %36
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %45 ], [ %37, %36 ]
  tail call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %11) #4
  br label %47

47:                                               ; preds = %46, %34
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %46 ], [ %35, %34 ]
  tail call void @_ZN3DIS16AggregateMarkingD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  br label %48

48:                                               ; preds = %47, %32
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %47 ], [ %33, %32 ]
  tail call void @_ZN3DIS10EntityTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  br label %49

49:                                               ; preds = %48, %30
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %48 ], [ %31, %30 ]
  tail call void @_ZN3DIS8EntityIDD1Ev(ptr noundef nonnull align 8 dereferenceable(14) %2) #4
  br label %50

50:                                               ; preds = %49, %28
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %49 ], [ %29, %28 ]
  tail call void @_ZN3DIS25EntityManagementFamilyPduD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0) #4
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZN3DIS25EntityManagementFamilyPduC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

declare void @_ZN3DIS8EntityIDC1Ev(ptr noundef nonnull align 8 dereferenceable(14)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN3DIS10EntityTypeC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare void @_ZN3DIS16AggregateMarkingC1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1

declare void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

declare void @_ZN3DIS11OrientationC1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

declare void @_ZN3DIS13Vector3DoubleC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1

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

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

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

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

declare void @_ZN3DIS3Pdu10setPduTypeEh(ptr noundef nonnull align 8 dereferenceable(20), i8 noundef zeroext) local_unnamed_addr #1

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS13Vector3DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS11OrientationD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS16AggregateMarkingD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS10EntityTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS8EntityIDD1Ev(ptr noundef nonnull align 8 dereferenceable(14)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN3DIS25EntityManagementFamilyPduD2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #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 = { "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 = { 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 #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, !12, i64 40}
!9 = !{!"_ZTSN3DIS17AggregateStatePduE", !10, i64 0, !15, i64 24, !12, i64 40, !12, i64 41, !16, i64 48, !13, i64 64, !17, i64 72, !18, i64 112, !20, i64 136, !21, i64 160, !18, i64 192, !14, i64 216, !14, i64 218, !14, i64 220, !14, i64 222, !23, i64 224, !28, i64 248, !12, i64 272, !32, i64 280, !32, i64 304, !13, i64 328, !36, i64 336}
!10 = !{!"_ZTSN3DIS25EntityManagementFamilyPduE", !11, i64 0}
!11 = !{!"_ZTSN3DIS3PduE", !12, i64 8, !12, i64 9, !12, i64 10, !12, i64 11, !13, i64 12, !14, i64 16, !14, i64 18}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"int", !12, i64 0}
!14 = !{!"short", !12, i64 0}
!15 = !{!"_ZTSN3DIS8EntityIDE", !14, i64 8, !14, i64 10, !14, i64 12}
!16 = !{!"_ZTSN3DIS10EntityTypeE", !12, i64 8, !12, i64 9, !14, i64 10, !12, i64 12, !12, i64 13, !12, i64 14, !12, i64 15}
!17 = !{!"_ZTSN3DIS16AggregateMarkingE", !12, i64 8, !12, i64 9}
!18 = !{!"_ZTSN3DIS12Vector3FloatE", !19, i64 8, !19, i64 12, !19, i64 16}
!19 = !{!"float", !12, i64 0}
!20 = !{!"_ZTSN3DIS11OrientationE", !19, i64 8, !19, i64 12, !19, i64 16}
!21 = !{!"_ZTSN3DIS13Vector3DoubleE", !22, i64 8, !22, i64 16, !22, i64 24}
!22 = !{!"double", !12, i64 0}
!23 = !{!"_ZTSSt6vectorIN3DIS11AggregateIDESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE17_Vector_impl_dataE", !27, i64 0, !27, i64 8, !27, i64 16}
!27 = !{!"any pointer", !12, i64 0}
!28 = !{!"_ZTSSt6vectorIN3DIS8EntityIDESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE17_Vector_impl_dataE", !27, i64 0, !27, i64 8, !27, i64 16}
!32 = !{!"_ZTSSt6vectorIN3DIS10EntityTypeESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE17_Vector_impl_dataE", !27, i64 0, !27, i64 8, !27, i64 16}
!36 = !{!"_ZTSSt6vectorIN3DIS13VariableDatumESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE17_Vector_impl_dataE", !27, i64 0, !27, i64 8, !27, i64 16}
!40 = !{!9, !12, i64 41}
!41 = !{!9, !13, i64 64}
!42 = !{!9, !12, i64 272}
!43 = !{!9, !13, i64 328}


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