; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis7 (EntityDamageStatusPdu)

; 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::DirectedEnergyDamage" = type <{ ptr, i32, i16, i16, %"class.DIS::Vector3Float", float, float, i8, i8, i8, i8, [4 x i8], %"class.DIS::EventIdentifier", i16, [6 x i8] }>
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::EventIdentifier" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::SimulationAddress" = type <{ ptr, i16, i16, [4 x i8] }>
%"class.DIS::EntityDamageStatusPdu" = type { %"class.DIS::WarfareFamilyPdu", %"class.DIS::EntityID", i16, i16, i16, %"class.std::vector" }
%"class.DIS::WarfareFamilyPdu" = type { %"class.DIS::Pdu.base", [4 x i8], %"class.DIS::EntityID", %"class.DIS::EntityID" }
%"class.DIS::Pdu.base" = type { %"class.DIS::PduSuperclass.base", i8, i8 }
%"class.DIS::PduSuperclass.base" = type <{ ptr, i8, i8, i8, i8, i32, i16 }>
%"class.DIS::EntityID" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::DirectedEnergyDamage, std::allocator<DIS::DirectedEnergyDamage>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::DirectedEnergyDamage, std::allocator<DIS::DirectedEnergyDamage>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::DirectedEnergyDamage, std::allocator<DIS::DirectedEnergyDamage>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::DirectedEnergyDamage, std::allocator<DIS::DirectedEnergyDamage>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS21EntityDamageStatusPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.DIS::DirectedEnergyDamage", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS16WarfareFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(88) %9, ptr noundef nonnull align 8 dereferenceable(48) %10)
  %11 = getelementptr inbounds %"class.DIS::EntityDamageStatusPdu", ptr %9, i32 0, i32 1
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(26) %11, ptr noundef nonnull align 8 dereferenceable(48) %12)
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %"class.DIS::EntityDamageStatusPdu", ptr %9, i32 0, i32 2
  %15 = load i16, ptr %14, align 8, !tbaa !9
  %16 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %13, i16 noundef zeroext %15)
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %"class.DIS::EntityDamageStatusPdu", ptr %9, i32 0, i32 3
  %19 = load i16, ptr %18, align 2, !tbaa !22
  %20 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %17, i16 noundef zeroext %19)
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %"class.DIS::EntityDamageStatusPdu", ptr %9, i32 0, i32 5
  %23 = call noundef i64 @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  %24 = trunc i64 %23 to i16
  %25 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %21, i16 noundef zeroext %24)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !23
  br label %26

26:                                               ; preds = %38, %2
  %27 = load i64, ptr %5, align 8, !tbaa !23
  %28 = getelementptr inbounds %"class.DIS::EntityDamageStatusPdu", ptr %9, i32 0, i32 5
  %29 = call noundef i64 @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  %30 = icmp ult i64 %27, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %45

32:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 96, ptr %6) #6
  %33 = getelementptr inbounds %"class.DIS::EntityDamageStatusPdu", ptr %9, i32 0, i32 5
  %34 = load i64, ptr %5, align 8, !tbaa !23
  %35 = call noundef nonnull align 8 dereferenceable(90) ptr @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %34) #6
  call void @_ZN3DIS20DirectedEnergyDamageC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(90) %6, ptr noundef nonnull align 8 dereferenceable(90) %35) #6
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3DIS20DirectedEnergyDamage7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(90) %6, ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %37 unwind label %41

37:                                               ; preds = %32
  call void @_ZN3DIS20DirectedEnergyDamageD1Ev(ptr noundef nonnull align 8 dereferenceable(90) %6) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #6
  br label %38

38:                                               ; preds = %37
  %39 = load i64, ptr %5, align 8, !tbaa !23
  %40 = add i64 %39, 1
  store i64 %40, ptr %5, align 8, !tbaa !23
  br label %26, !llvm.loop !25

41:                                               ; preds = %32
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %7, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %8, align 4
  call void @_ZN3DIS20DirectedEnergyDamageD1Ev(ptr noundef nonnull align 8 dereferenceable(90) %6) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %46

45:                                               ; preds = %31
  ret void

46:                                               ; preds = %41
  %47 = load ptr, ptr %7, align 8
  %48 = load i32, ptr %8, align 4
  %49 = insertvalue { ptr, i32 } poison, ptr %47, 0
  %50 = insertvalue { ptr, i32 } %49, i32 %48, 1
  resume { ptr, i32 } %50
}

declare void @_ZNK3DIS16WarfareFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48), i16 noundef zeroext) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(90) ptr @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

declare void @_ZNK3DIS20DirectedEnergyDamage7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(90), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN3DIS20DirectedEnergyDamageD1Ev(ptr noundef nonnull align 8 dereferenceable(90)) unnamed_addr #5

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

attributes #0 = { 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 #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 = { "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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { 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, !15, i64 120}
!10 = !{!"_ZTSN3DIS21EntityDamageStatusPduE", !11, i64 0, !16, i64 88, !15, i64 120, !15, i64 122, !15, i64 124, !18, i64 128}
!11 = !{!"_ZTSN3DIS16WarfareFamilyPduE", !12, i64 0, !16, i64 24, !16, i64 56}
!12 = !{!"_ZTSN3DIS3PduE", !13, i64 0, !7, i64 18, !7, i64 19}
!13 = !{!"_ZTSN3DIS13PduSuperclassE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !14, i64 12, !15, i64 16}
!14 = !{!"int", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTSN3DIS8EntityIDE", !17, i64 8, !15, i64 24}
!17 = !{!"_ZTSN3DIS17SimulationAddressE", !15, i64 8, !15, i64 10}
!18 = !{!"_ZTSSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN3DIS20DirectedEnergyDamageESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3DIS20DirectedEnergyDamageESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3DIS20DirectedEnergyDamageESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!10, !15, i64 122}
!23 = !{!24, !24, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


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

%"class.DIS::DirectedEnergyDamage" = type <{ ptr, i32, i16, i16, %"class.DIS::Vector3Float", float, float, i8, i8, i8, i8, [4 x i8], %"class.DIS::EventIdentifier", i16, [6 x i8] }>
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::EventIdentifier" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::SimulationAddress" = type <{ ptr, i16, i16, [4 x i8] }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS21EntityDamageStatusPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.DIS::DirectedEnergyDamage", align 8
  tail call void @_ZNK3DIS16WarfareFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %4 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(26) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %5 = getelementptr inbounds i8, ptr %0, i64 120
  %6 = load i16, ptr %5, align 8, !tbaa !5
  %7 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %6)
  %8 = getelementptr inbounds i8, ptr %0, i64 122
  %9 = load i16, ptr %8, align 2, !tbaa !21
  %10 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %9)
  %11 = getelementptr inbounds i8, ptr %0, i64 128
  %12 = tail call noundef i64 @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %13 = trunc i64 %12 to i16
  %14 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %13)
  %15 = tail call noundef i64 @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %.not = icmp eq i64 %15, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %17, %2
  ret void

.lr.ph:                                           ; preds = %2, %17
  %.011 = phi i64 [ %18, %17 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #6
  %16 = call noundef nonnull align 8 dereferenceable(90) ptr @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %.011) #6
  call void @_ZN3DIS20DirectedEnergyDamageC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(90) %3, ptr noundef nonnull align 8 dereferenceable(90) %16) #6
  invoke void @_ZNK3DIS20DirectedEnergyDamage7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(90) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %17 unwind label %21

17:                                               ; preds = %.lr.ph
  call void @_ZN3DIS20DirectedEnergyDamageD1Ev(ptr noundef nonnull align 8 dereferenceable(90) %3) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #6
  %18 = add nuw i64 %.011, 1
  %19 = call noundef i64 @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %20 = icmp ult i64 %18, %19
  br i1 %20, label %.lr.ph, label %._crit_edge, !llvm.loop !22

21:                                               ; preds = %.lr.ph
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS20DirectedEnergyDamageD1Ev(ptr noundef nonnull align 8 dereferenceable(90) %3) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #6
  resume { ptr, i32 } %22
}

declare void @_ZNK3DIS16WarfareFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48), i16 noundef zeroext) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(90) ptr @_ZNKSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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

declare void @_ZNK3DIS20DirectedEnergyDamage7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(90), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN3DIS20DirectedEnergyDamageD1Ev(ptr noundef nonnull align 8 dereferenceable(90)) unnamed_addr #5

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

attributes #0 = { 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 #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 = { "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { 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, !13, i64 120}
!6 = !{!"_ZTSN3DIS21EntityDamageStatusPduE", !7, i64 0, !14, i64 88, !13, i64 120, !13, i64 122, !13, i64 124, !16, i64 128}
!7 = !{!"_ZTSN3DIS16WarfareFamilyPduE", !8, i64 0, !14, i64 24, !14, i64 56}
!8 = !{!"_ZTSN3DIS3PduE", !9, i64 0, !10, i64 18, !10, i64 19}
!9 = !{!"_ZTSN3DIS13PduSuperclassE", !10, i64 8, !10, i64 9, !10, i64 10, !10, i64 11, !12, i64 12, !13, i64 16}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"short", !10, i64 0}
!14 = !{!"_ZTSN3DIS8EntityIDE", !15, i64 8, !13, i64 24}
!15 = !{!"_ZTSN3DIS17SimulationAddressE", !13, i64 8, !13, i64 10}
!16 = !{!"_ZTSSt6vectorIN3DIS20DirectedEnergyDamageESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN3DIS20DirectedEnergyDamageESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3DIS20DirectedEnergyDamageESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3DIS20DirectedEnergyDamageESaIS1_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!20 = !{!"any pointer", !10, i64 0}
!21 = !{!6, !13, i64 122}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass