; LLVM IR from ThePhysicsGuys/Physics3D :: tests/physicalStructureTests.ll (Z21testManyAttachComplexv)

; 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.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"class.P3D::Physical" = type { %"class.P3D::RigidBody", ptr, %"class.P3D::UnorderedVector.1" }
%"class.P3D::RigidBody" = type { ptr, %"class.P3D::UnorderedVector", double, %"struct.P3D::Vector", %"class.P3D::SymmetricMatrix" }
%"class.P3D::UnorderedVector" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<P3D::AttachedPart, std::allocator<P3D::AttachedPart>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::AttachedPart, std::allocator<P3D::AttachedPart>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::AttachedPart, std::allocator<P3D::AttachedPart>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::AttachedPart, std::allocator<P3D::AttachedPart>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.P3D::SymmetricMatrix" = type { [6 x double] }
%"class.P3D::UnorderedVector.1" = type { %"class.std::vector.2" }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<P3D::ConnectedPhysical, std::allocator<P3D::ConnectedPhysical>>::_Vector_impl" }
%"struct.std::_Vector_base<P3D::ConnectedPhysical, std::allocator<P3D::ConnectedPhysical>>::_Vector_impl" = type { %"struct.std::_Vector_base<P3D::ConnectedPhysical, std::allocator<P3D::ConnectedPhysical>>::_Vector_impl_data" }
%"struct.std::_Vector_base<P3D::ConnectedPhysical, std::allocator<P3D::ConnectedPhysical>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TestInterface = type <{ i64, i8, [7 x i8] }>

@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZTI14AssertionError = external dso_local constant { ptr, ptr }, align 8

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL10createPartv() #1

; Function Attrs: nounwind
declare void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200)) unnamed_addr #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

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

declare void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, ptr noundef nonnull align 8 dereferenceable(96)) #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL2cfv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8) #1

; Function Attrs: uwtable
declare hidden noundef ptr @_ZTW15__testInterface() #5

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef, ptr noundef) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21testManyAttachComplexv() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.P3D::CFrameTemplate", align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.P3D::CFrameTemplate", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.P3D::CFrameTemplate", align 8
  %14 = alloca %"struct.P3D::CFrameTemplate", align 8
  %15 = alloca %"struct.P3D::CFrameTemplate", align 8
  %16 = alloca %"struct.P3D::CFrameTemplate", align 8
  %17 = alloca %"struct.P3D::CFrameTemplate", align 8
  %18 = alloca %"struct.P3D::CFrameTemplate", align 8
  %19 = alloca %"struct.P3D::CFrameTemplate", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca [10 x ptr], align 16
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  %28 = call noundef ptr @_ZL10createPartv()
  store ptr %28, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  %29 = call noundef ptr @_ZL10createPartv()
  store ptr %29, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %30 = call noundef ptr @_ZL10createPartv()
  store ptr %30, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %31 = call noundef ptr @_ZL10createPartv()
  store ptr %31, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %32 = call noundef ptr @_ZL10createPartv()
  store ptr %32, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %33 = call noundef ptr @_ZL10createPartv()
  store ptr %33, ptr %6, align 8, !tbaa !5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %7) #7
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %7)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %34, ptr noundef %35, ptr noundef nonnull align 8 dereferenceable(96) %7)
  call void @llvm.lifetime.end.p0(i64 96, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %36 = call noundef ptr @_ZL10createPartv()
  store ptr %36, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %37 = call noundef ptr @_ZL10createPartv()
  store ptr %37, ptr %9, align 8, !tbaa !5
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #7
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %10)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %38, ptr noundef %39, ptr noundef nonnull align 8 dereferenceable(96) %10)
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %40 = call noundef ptr @_ZL10createPartv()
  store ptr %40, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %41 = call noundef ptr @_ZL10createPartv()
  store ptr %41, ptr %12, align 8, !tbaa !5
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %13) #7
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %13)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %42, ptr noundef %43, ptr noundef nonnull align 8 dereferenceable(96) %13)
  call void @llvm.lifetime.end.p0(i64 96, ptr %13) #7
  %44 = load ptr, ptr %1, align 8, !tbaa !5
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %14) #7
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %14)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %44, ptr noundef %45, ptr noundef nonnull align 8 dereferenceable(96) %14)
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #7
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %15) #7
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %15)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %46, ptr noundef %47, ptr noundef nonnull align 8 dereferenceable(96) %15)
  call void @llvm.lifetime.end.p0(i64 96, ptr %15) #7
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %16) #7
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %16)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %48, ptr noundef %49, ptr noundef nonnull align 8 dereferenceable(96) %16)
  call void @llvm.lifetime.end.p0(i64 96, ptr %16) #7
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %17) #7
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %17)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %50, ptr noundef %51, ptr noundef nonnull align 8 dereferenceable(96) %17)
  call void @llvm.lifetime.end.p0(i64 96, ptr %17) #7
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %18) #7
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %18)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %52, ptr noundef %53, ptr noundef nonnull align 8 dereferenceable(96) %18)
  call void @llvm.lifetime.end.p0(i64 96, ptr %18) #7
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = load ptr, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %19) #7
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %19)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %54, ptr noundef %55, ptr noundef nonnull align 8 dereferenceable(96) %19)
  call void @llvm.lifetime.end.p0(i64 96, ptr %19) #7
  br label %56

56:                                               ; preds = %0
  %57 = load ptr, ptr %1, align 8, !tbaa !5
  %58 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %57)
  %59 = getelementptr inbounds %"class.P3D::Physical", ptr %58, i32 0, i32 0
  %60 = call noundef i64 @_ZNK3P3D9RigidBody12getPartCountEv(ptr noundef nonnull align 8 dereferenceable(112) %59)
  %61 = icmp eq i64 %60, 10
  br i1 %61, label %75, label %62

62:                                               ; preds = %56
  %63 = call ptr @_ZTW15__testInterface()
  %64 = getelementptr inbounds %class.TestInterface, ptr %63, i32 0, i32 1
  %65 = load i8, ptr %64, align 8, !tbaa !9, !range !13, !noundef !14
  %66 = trunc i8 %65 to i1
  br i1 %66, label %67, label %68

67:                                               ; preds = %62
  br label %68

68:                                               ; preds = %67, %62
  %69 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %69, i32 noundef 109, ptr noundef @.str.5)
          to label %70 unwind label %71

70:                                               ; preds = %68
  call void @__cxa_throw(ptr %69, ptr @_ZTI14AssertionError, ptr null) #8
  unreachable

71:                                               ; preds = %68
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %20, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %21, align 4
  call void @__cxa_free_exception(ptr %69) #7
  br label %143

75:                                               ; preds = %56
  %76 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %76)
  br label %77

77:                                               ; preds = %75
  br label %78

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 80, ptr %22) #7
  %79 = load ptr, ptr %1, align 8, !tbaa !5
  store ptr %79, ptr %22, align 8, !tbaa !5
  %80 = getelementptr inbounds ptr, ptr %22, i64 1
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %81, ptr %80, align 8, !tbaa !5
  %82 = getelementptr inbounds ptr, ptr %22, i64 2
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %83, ptr %82, align 8, !tbaa !5
  %84 = getelementptr inbounds ptr, ptr %22, i64 3
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %85, ptr %84, align 8, !tbaa !5
  %86 = getelementptr inbounds ptr, ptr %22, i64 4
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %87, ptr %86, align 8, !tbaa !5
  %88 = getelementptr inbounds ptr, ptr %22, i64 5
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %89, ptr %88, align 8, !tbaa !5
  %90 = getelementptr inbounds ptr, ptr %22, i64 6
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %91, ptr %90, align 8, !tbaa !5
  %92 = getelementptr inbounds ptr, ptr %22, i64 7
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %93, ptr %92, align 8, !tbaa !5
  %94 = getelementptr inbounds ptr, ptr %22, i64 8
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %95, ptr %94, align 8, !tbaa !5
  %96 = getelementptr inbounds ptr, ptr %22, i64 9
  %97 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %97, ptr %96, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %98 = load ptr, ptr %1, align 8, !tbaa !5
  %99 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %98)
  store ptr %99, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  store ptr %22, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %100 = load ptr, ptr %24, align 8, !tbaa !5
  %101 = getelementptr inbounds [10 x ptr], ptr %100, i64 0, i64 0
  store ptr %101, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %102 = load ptr, ptr %24, align 8, !tbaa !5
  %103 = getelementptr inbounds [10 x ptr], ptr %102, i64 0, i64 0
  %104 = getelementptr inbounds ptr, ptr %103, i64 10
  store ptr %104, ptr %26, align 8, !tbaa !5
  br label %105

105:                                              ; preds = %139, %78
  %106 = load ptr, ptr %25, align 8, !tbaa !5
  %107 = load ptr, ptr %26, align 8, !tbaa !5
  %108 = icmp ne ptr %106, %107
  br i1 %108, label %110, label %109

109:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %142

110:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %111 = load ptr, ptr %25, align 8, !tbaa !5
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  store ptr %112, ptr %27, align 8, !tbaa !5
  br label %113

113:                                              ; preds = %110
  %114 = load ptr, ptr %27, align 8, !tbaa !5
  %115 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %114)
  %116 = load ptr, ptr %23, align 8, !tbaa !5
  %117 = icmp eq ptr %115, %116
  br i1 %117, label %131, label %118

118:                                              ; preds = %113
  %119 = call ptr @_ZTW15__testInterface()
  %120 = getelementptr inbounds %class.TestInterface, ptr %119, i32 0, i32 1
  %121 = load i8, ptr %120, align 8, !tbaa !9, !range !13, !noundef !14
  %122 = trunc i8 %121 to i1
  br i1 %122, label %123, label %124

123:                                              ; preds = %118
  br label %124

124:                                              ; preds = %123, %118
  %125 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %125, i32 noundef 114, ptr noundef @.str.5)
          to label %126 unwind label %127

126:                                              ; preds = %124
  call void @__cxa_throw(ptr %125, ptr @_ZTI14AssertionError, ptr null) #8
  unreachable

127:                                              ; preds = %124
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %20, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %21, align 4
  call void @__cxa_free_exception(ptr %125) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %22) #7
  br label %143

131:                                              ; preds = %113
  %132 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %132)
  br label %133

133:                                              ; preds = %131
  br label %134

134:                                              ; preds = %133
  %135 = load ptr, ptr %27, align 8, !tbaa !5
  %136 = icmp eq ptr %135, null
  br i1 %136, label %138, label %137

137:                                              ; preds = %134
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %135) #7
  call void @_ZdlPvm(ptr noundef %135, i64 noundef 200) #9
  br label %138

138:                                              ; preds = %137, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %139

139:                                              ; preds = %138
  %140 = load ptr, ptr %25, align 8, !tbaa !5
  %141 = getelementptr inbounds ptr, ptr %140, i32 1
  store ptr %141, ptr %25, align 8, !tbaa !5
  br label %105

142:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  ret void

143:                                              ; preds = %127, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  br label %144

144:                                              ; preds = %143
  %145 = load ptr, ptr %20, align 8
  %146 = load i32, ptr %21, align 4
  %147 = insertvalue { ptr, i32 } poison, ptr %145, 0
  %148 = insertvalue { ptr, i32 } %147, i32 %146, 1
  resume { ptr, i32 } %148
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3P3D9RigidBody12getPartCountEv(ptr noundef nonnull align 8 dereferenceable(112)) #6 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 = { 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 = { nobuiltin 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 = { "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 = { uwtable "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 = { 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 #7 = { nounwind }
attributes #8 = { noreturn }
attributes #9 = { builtin 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, !12, i64 8}
!10 = !{!"_ZTS13TestInterface", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}


; 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.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }

@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZTI14AssertionError = external dso_local constant { ptr, ptr }, align 8

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL10createPartv() local_unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200)) unnamed_addr #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

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

declare void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL2cfv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8) local_unnamed_addr #1

; Function Attrs: uwtable
declare hidden noundef ptr @_ZTW15__testInterface() local_unnamed_addr #5

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef, ptr noundef) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #6 align 2

declare noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21testManyAttachComplexv() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::CFrameTemplate", align 8
  %2 = alloca %"struct.P3D::CFrameTemplate", align 8
  %3 = alloca %"struct.P3D::CFrameTemplate", align 8
  %4 = alloca %"struct.P3D::CFrameTemplate", align 8
  %5 = alloca %"struct.P3D::CFrameTemplate", align 8
  %6 = alloca %"struct.P3D::CFrameTemplate", align 8
  %7 = alloca %"struct.P3D::CFrameTemplate", align 8
  %8 = alloca %"struct.P3D::CFrameTemplate", align 8
  %9 = alloca %"struct.P3D::CFrameTemplate", align 8
  %10 = tail call noundef ptr @_ZL10createPartv()
  %11 = tail call noundef ptr @_ZL10createPartv()
  %12 = tail call noundef ptr @_ZL10createPartv()
  %13 = tail call noundef ptr @_ZL10createPartv()
  %14 = tail call noundef ptr @_ZL10createPartv()
  %15 = tail call noundef ptr @_ZL10createPartv()
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %1) #7
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %1)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %14, ptr noundef %15, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %1) #7
  %16 = call noundef ptr @_ZL10createPartv()
  %17 = call noundef ptr @_ZL10createPartv()
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %2) #7
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %2)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %16, ptr noundef %17, ptr noundef nonnull align 8 dereferenceable(96) %2)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %2) #7
  %18 = call noundef ptr @_ZL10createPartv()
  %19 = call noundef ptr @_ZL10createPartv()
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #7
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %3)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %18, ptr noundef %19, ptr noundef nonnull align 8 dereferenceable(96) %3)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #7
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %4)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %10, ptr noundef %11, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %5) #7
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %5)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %11, ptr noundef %12, ptr noundef nonnull align 8 dereferenceable(96) %5)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %6) #7
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %6)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %13, ptr noundef nonnull %11, ptr noundef nonnull align 8 dereferenceable(96) %6)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %7) #7
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %7)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %10, ptr noundef nonnull %14, ptr noundef nonnull align 8 dereferenceable(96) %7)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %8) #7
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %8)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %10, ptr noundef %17, ptr noundef nonnull align 8 dereferenceable(96) %8)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %9) #7
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %9)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %18, ptr noundef nonnull %10, ptr noundef nonnull align 8 dereferenceable(96) %9)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %9) #7
  %20 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %10)
  %21 = call noundef i64 @_ZNK3P3D9RigidBody12getPartCountEv(ptr noundef nonnull align 8 dereferenceable(112) %20)
  %22 = icmp eq i64 %21, 10
  %23 = call ptr @_ZTW15__testInterface()
  br i1 %22, label %29, label %24

24:                                               ; preds = %0
  %25 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %25, i32 noundef 109, ptr noundef nonnull @.str.5)
          to label %26 unwind label %27

26:                                               ; preds = %24
  call void @__cxa_throw(ptr nonnull %25, ptr nonnull @_ZTI14AssertionError, ptr null) #8
  unreachable

27:                                               ; preds = %24
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %77

29:                                               ; preds = %0
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %23)
  %30 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %10)
  %31 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %10)
  %32 = icmp eq ptr %31, %30
  br i1 %32, label %39, label %33

33:                                               ; preds = %71, %67, %63, %59, %55, %51, %47, %43, %39, %29
  %34 = call ptr @_ZTW15__testInterface()
  %35 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %35, i32 noundef 114, ptr noundef nonnull @.str.5)
          to label %36 unwind label %37

36:                                               ; preds = %33
  call void @__cxa_throw(ptr nonnull %35, ptr nonnull @_ZTI14AssertionError, ptr null) #8
  unreachable

37:                                               ; preds = %33
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %77

39:                                               ; preds = %29
  %40 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %40)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %10) #7
  call void @_ZdlPvm(ptr noundef %10, i64 noundef 200) #9
  %41 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %11)
  %42 = icmp eq ptr %41, %30
  br i1 %42, label %43, label %33

43:                                               ; preds = %39
  %44 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %44)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %11) #7
  call void @_ZdlPvm(ptr noundef %11, i64 noundef 200) #9
  %45 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %12)
  %46 = icmp eq ptr %45, %30
  br i1 %46, label %47, label %33

47:                                               ; preds = %43
  %48 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %48)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %12) #7
  call void @_ZdlPvm(ptr noundef %12, i64 noundef 200) #9
  %49 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %13)
  %50 = icmp eq ptr %49, %30
  br i1 %50, label %51, label %33

51:                                               ; preds = %47
  %52 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %52)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %13) #7
  call void @_ZdlPvm(ptr noundef %13, i64 noundef 200) #9
  %53 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %14)
  %54 = icmp eq ptr %53, %30
  br i1 %54, label %55, label %33

55:                                               ; preds = %51
  %56 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %56)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %14) #7
  call void @_ZdlPvm(ptr noundef %14, i64 noundef 200) #9
  %57 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %15)
  %58 = icmp eq ptr %57, %30
  br i1 %58, label %59, label %33

59:                                               ; preds = %55
  %60 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %60)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %15) #7
  call void @_ZdlPvm(ptr noundef %15, i64 noundef 200) #9
  %61 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %16)
  %62 = icmp eq ptr %61, %30
  br i1 %62, label %63, label %33

63:                                               ; preds = %59
  %64 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %64)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %16) #7
  call void @_ZdlPvm(ptr noundef %16, i64 noundef 200) #9
  %65 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %17)
  %66 = icmp eq ptr %65, %30
  br i1 %66, label %67, label %33

67:                                               ; preds = %63
  %68 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %68)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %17) #7
  call void @_ZdlPvm(ptr noundef %17, i64 noundef 200) #9
  %69 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %18)
  %70 = icmp eq ptr %69, %30
  br i1 %70, label %71, label %33

71:                                               ; preds = %67
  %72 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %72)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %18) #7
  call void @_ZdlPvm(ptr noundef %18, i64 noundef 200) #9
  %73 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %19)
  %74 = icmp eq ptr %73, %30
  br i1 %74, label %75, label %33

75:                                               ; preds = %71
  %76 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %76)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %19) #7
  call void @_ZdlPvm(ptr noundef %19, i64 noundef 200) #9
  ret void

77:                                               ; preds = %37, %27
  %.sink = phi ptr [ %35, %37 ], [ %25, %27 ]
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %28, %27 ]
  call void @__cxa_free_exception(ptr %.sink) #7
  resume { ptr, i32 } %.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3P3D9RigidBody12getPartCountEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #6 align 2

attributes #0 = { mustprogress 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 = { 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 = { nobuiltin 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 = { "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 = { uwtable "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 = { 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 #7 = { nounwind }
attributes #8 = { noreturn }
attributes #9 = { builtin 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)"}


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