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

; 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.AssertComparer = type { i32, ptr }
%class.AssertComparer.0 = type { i32, ptr }
%struct.AssertBuilder = type { i32 }
%class.TestInterface = type <{ i64, i8, [7 x i8] }>
%"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 }

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

; 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

declare noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200)) #4

; 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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16testManualDetachv() #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 %"struct.P3D::CFrameTemplate", align 8
  %6 = alloca %"struct.P3D::CFrameTemplate", align 8
  %7 = alloca %"struct.P3D::CFrameTemplate", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %class.AssertComparer, align 8
  %11 = alloca %class.AssertComparer.0, align 8
  %12 = alloca %struct.AssertBuilder, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #8
  %13 = call noundef ptr @_ZL10createPartv()
  store ptr %13, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #8
  %14 = call noundef ptr @_ZL10createPartv()
  store ptr %14, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  %15 = call noundef ptr @_ZL10createPartv()
  store ptr %15, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %16 = call noundef ptr @_ZL10createPartv()
  store ptr %16, ptr %4, align 8, !tbaa !5
  %17 = load ptr, ptr %1, align 8, !tbaa !5
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %5) #8
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %5)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %17, ptr noundef %18, ptr noundef nonnull align 8 dereferenceable(96) %5)
  call void @llvm.lifetime.end.p0(i64 96, ptr %5) #8
  %19 = load ptr, ptr %1, align 8, !tbaa !5
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %6) #8
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %6)
  call void @_ZN3P3D4Part6attachEPS0_RKNS_14CFrameTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(200) %19, ptr noundef %20, ptr noundef nonnull align 8 dereferenceable(96) %6)
  call void @llvm.lifetime.end.p0(i64 96, ptr %6) #8
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %7) #8
  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) %21, ptr noundef %22, ptr noundef nonnull align 8 dereferenceable(96) %7)
  call void @llvm.lifetime.end.p0(i64 96, ptr %7) #8
  br label %23

23:                                               ; preds = %0
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %24)
  br i1 %25, label %39, label %26

26:                                               ; preds = %23
  %27 = call ptr @_ZTW15__testInterface()
  %28 = getelementptr inbounds %class.TestInterface, ptr %27, i32 0, i32 1
  %29 = load i8, ptr %28, align 8, !tbaa !9, !range !13, !noundef !14
  %30 = trunc i8 %29 to i1
  br i1 %30, label %31, label %32

31:                                               ; preds = %26
  br label %32

32:                                               ; preds = %31, %26
  %33 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %33, i32 noundef 65, ptr noundef @.str.5)
          to label %34 unwind label %35

34:                                               ; preds = %32
  call void @__cxa_throw(ptr %33, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

35:                                               ; preds = %32
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %8, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %9, align 4
  call void @__cxa_free_exception(ptr %33) #8
  br label %178

39:                                               ; preds = %23
  %40 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %40)
  br label %41

41:                                               ; preds = %39
  br label %42

42:                                               ; preds = %41
  br label %43

43:                                               ; preds = %42
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %44)
  br i1 %45, label %46, label %59

46:                                               ; preds = %43
  %47 = call ptr @_ZTW15__testInterface()
  %48 = getelementptr inbounds %class.TestInterface, ptr %47, i32 0, i32 1
  %49 = load i8, ptr %48, align 8, !tbaa !9, !range !13, !noundef !14
  %50 = trunc i8 %49 to i1
  br i1 %50, label %51, label %52

51:                                               ; preds = %46
  br label %52

52:                                               ; preds = %51, %46
  %53 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %53, i32 noundef 66, ptr noundef @.str.6)
          to label %54 unwind label %55

54:                                               ; preds = %52
  call void @__cxa_throw(ptr %53, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

55:                                               ; preds = %52
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %8, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %9, align 4
  call void @__cxa_free_exception(ptr %53) #8
  br label %178

59:                                               ; preds = %43
  %60 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %60)
  br label %61

61:                                               ; preds = %59
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %64)
  br i1 %65, label %66, label %79

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

71:                                               ; preds = %66
  br label %72

72:                                               ; preds = %71, %66
  %73 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %73, i32 noundef 67, ptr noundef @.str.6)
          to label %74 unwind label %75

74:                                               ; preds = %72
  call void @__cxa_throw(ptr %73, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

75:                                               ; preds = %72
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %8, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %9, align 4
  call void @__cxa_free_exception(ptr %73) #8
  br label %178

79:                                               ; preds = %63
  %80 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %80)
  br label %81

81:                                               ; preds = %79
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %84)
  br i1 %85, label %86, label %99

86:                                               ; preds = %83
  %87 = call ptr @_ZTW15__testInterface()
  %88 = getelementptr inbounds %class.TestInterface, ptr %87, i32 0, i32 1
  %89 = load i8, ptr %88, align 8, !tbaa !9, !range !13, !noundef !14
  %90 = trunc i8 %89 to i1
  br i1 %90, label %91, label %92

91:                                               ; preds = %86
  br label %92

92:                                               ; preds = %91, %86
  %93 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %93, i32 noundef 68, ptr noundef @.str.6)
          to label %94 unwind label %95

94:                                               ; preds = %92
  call void @__cxa_throw(ptr %93, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

95:                                               ; preds = %92
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %8, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %9, align 4
  call void @__cxa_free_exception(ptr %93) #8
  br label %178

99:                                               ; preds = %83
  %100 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %100)
  br label %101

101:                                              ; preds = %99
  br label %102

102:                                              ; preds = %101
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN3P3D4Part6detachEv(ptr noundef nonnull align 8 dereferenceable(200) %103)
  br label %104

104:                                              ; preds = %102
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  %106 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %105)
  br i1 %106, label %120, label %107

107:                                              ; preds = %104
  %108 = call ptr @_ZTW15__testInterface()
  %109 = getelementptr inbounds %class.TestInterface, ptr %108, i32 0, i32 1
  %110 = load i8, ptr %109, align 8, !tbaa !9, !range !13, !noundef !14
  %111 = trunc i8 %110 to i1
  br i1 %111, label %112, label %113

112:                                              ; preds = %107
  br label %113

113:                                              ; preds = %112, %107
  %114 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %114, i32 noundef 71, ptr noundef @.str.5)
          to label %115 unwind label %116

115:                                              ; preds = %113
  call void @__cxa_throw(ptr %114, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

116:                                              ; preds = %113
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %8, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %9, align 4
  call void @__cxa_free_exception(ptr %114) #8
  br label %178

120:                                              ; preds = %104
  %121 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %121)
  br label %122

122:                                              ; preds = %120
  br label %123

123:                                              ; preds = %122
  %124 = load ptr, ptr %1, align 8, !tbaa !5
  call void @_ZN3P3D4Part6detachEv(ptr noundef nonnull align 8 dereferenceable(200) %124)
  br label %125

125:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  call void @_ZN13AssertBuilderC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 noundef 74)
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %126)
  %128 = getelementptr inbounds %"class.P3D::Physical", ptr %127, i32 0, i32 0
  %129 = getelementptr inbounds %"class.P3D::RigidBody", ptr %128, i32 0, i32 0
  %130 = call { i32, ptr } @_ZNK13AssertBuilderltIPN3P3D4PartEEE14AssertComparerIT_ERKS5_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 8 dereferenceable(8) %129)
  %131 = getelementptr inbounds { i32, ptr }, ptr %11, i32 0, i32 0
  %132 = extractvalue { i32, ptr } %130, 0
  store i32 %132, ptr %131, align 8
  %133 = getelementptr inbounds { i32, ptr }, ptr %11, i32 0, i32 1
  %134 = extractvalue { i32, ptr } %130, 1
  store ptr %134, ptr %133, align 8
  %135 = call { i32, ptr } @_ZNK14AssertComparerIPN3P3D4PartEEneIS2_EES_IbERKT_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %136 = getelementptr inbounds { i32, ptr }, ptr %10, i32 0, i32 0
  %137 = extractvalue { i32, ptr } %135, 0
  store i32 %137, ptr %136, align 8
  %138 = getelementptr inbounds { i32, ptr }, ptr %10, i32 0, i32 1
  %139 = extractvalue { i32, ptr } %135, 1
  store ptr %139, ptr %138, align 8
  %140 = getelementptr inbounds %class.AssertComparer, ptr %10, i32 0, i32 1
  %141 = load ptr, ptr %140, align 8, !tbaa !15
  %142 = load i8, ptr %141, align 1, !tbaa !18, !range !13, !noundef !14
  %143 = trunc i8 %142 to i1
  %144 = xor i1 %143, true
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  br i1 %144, label %145, label %158

145:                                              ; preds = %125
  %146 = call ptr @_ZTW15__testInterface()
  %147 = getelementptr inbounds %class.TestInterface, ptr %146, i32 0, i32 1
  %148 = load i8, ptr %147, align 8, !tbaa !9, !range !13, !noundef !14
  %149 = trunc i8 %148 to i1
  br i1 %149, label %150, label %151

150:                                              ; preds = %145
  br label %151

151:                                              ; preds = %150, %145
  %152 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %152, i32 noundef 74, ptr noundef @.str.5)
          to label %153 unwind label %154

153:                                              ; preds = %151
  call void @__cxa_throw(ptr %152, ptr @_ZTI14AssertionError, ptr null) #9
  unreachable

154:                                              ; preds = %151
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %8, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %9, align 4
  call void @__cxa_free_exception(ptr %152) #8
  br label %178

158:                                              ; preds = %125
  %159 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %159)
  br label %160

160:                                              ; preds = %158
  br label %161

161:                                              ; preds = %160
  %162 = load ptr, ptr %2, align 8, !tbaa !5
  %163 = icmp eq ptr %162, null
  br i1 %163, label %165, label %164

164:                                              ; preds = %161
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %162) #8
  call void @_ZdlPvm(ptr noundef %162, i64 noundef 200) #10
  br label %165

165:                                              ; preds = %164, %161
  %166 = load ptr, ptr %1, align 8, !tbaa !5
  %167 = icmp eq ptr %166, null
  br i1 %167, label %169, label %168

168:                                              ; preds = %165
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %166) #8
  call void @_ZdlPvm(ptr noundef %166, i64 noundef 200) #10
  br label %169

169:                                              ; preds = %168, %165
  %170 = load ptr, ptr %3, align 8, !tbaa !5
  %171 = icmp eq ptr %170, null
  br i1 %171, label %173, label %172

172:                                              ; preds = %169
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %170) #8
  call void @_ZdlPvm(ptr noundef %170, i64 noundef 200) #10
  br label %173

173:                                              ; preds = %172, %169
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = icmp eq ptr %174, null
  br i1 %175, label %177, label %176

176:                                              ; preds = %173
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %174) #8
  call void @_ZdlPvm(ptr noundef %174, i64 noundef 200) #10
  br label %177

177:                                              ; preds = %176, %173
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #8
  ret void

178:                                              ; preds = %154, %116, %95, %75, %55, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #8
  br label %179

179:                                              ; preds = %178
  %180 = load ptr, ptr %8, align 8
  %181 = load i32, ptr %9, align 4
  %182 = insertvalue { ptr, i32 } poison, ptr %180, 0
  %183 = insertvalue { ptr, i32 } %182, i32 %181, 1
  resume { ptr, i32 } %183
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13AssertBuilderC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZNK13AssertBuilderltIPN3P3D4PartEEE14AssertComparerIT_ERKS5_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZNK14AssertComparerIPN3P3D4PartEEneIS2_EES_IbERKT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #1 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 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { 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 = !{}
!15 = !{!16, !6, i64 8}
!16 = !{!"_ZTS14AssertComparerIbE", !17, i64 0, !6, i64 8}
!17 = !{!"int", !7, i64 0}
!18 = !{!12, !12, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"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.AssertComparer.0 = type { i32, ptr }
%struct.AssertBuilder = type { i32 }

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

; 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

declare noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #4

; 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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16testManualDetachv() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca ptr, 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 %class.AssertComparer.0, align 8
  %6 = alloca %struct.AssertBuilder, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  %7 = tail call noundef ptr @_ZL10createPartv()
  store ptr %7, ptr %1, align 8, !tbaa !5
  %8 = tail call noundef ptr @_ZL10createPartv()
  %9 = tail call noundef ptr @_ZL10createPartv()
  %10 = tail call noundef ptr @_ZL10createPartv()
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %2) #8
  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) %7, ptr noundef %8, ptr noundef nonnull align 8 dereferenceable(96) %2)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #8
  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) %7, ptr noundef %9, ptr noundef nonnull align 8 dereferenceable(96) %3)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #8
  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) %9, ptr noundef %10, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #8
  %11 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %7)
  %12 = call ptr @_ZTW15__testInterface()
  br i1 %11, label %18, label %13

13:                                               ; preds = %0
  %14 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %14, i32 noundef 65, ptr noundef nonnull @.str.5)
          to label %15 unwind label %16

15:                                               ; preds = %13
  call void @__cxa_throw(ptr nonnull %14, ptr nonnull @_ZTI14AssertionError, ptr null) #9
  unreachable

16:                                               ; preds = %13
  %17 = landingpad { ptr, i32 }
          cleanup
  br label %71

18:                                               ; preds = %0
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %12)
  %19 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %8)
  %20 = call ptr @_ZTW15__testInterface()
  br i1 %19, label %21, label %26

21:                                               ; preds = %18
  %22 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %22, i32 noundef 66, ptr noundef nonnull @.str.6)
          to label %23 unwind label %24

23:                                               ; preds = %21
  call void @__cxa_throw(ptr nonnull %22, ptr nonnull @_ZTI14AssertionError, ptr null) #9
  unreachable

24:                                               ; preds = %21
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %71

26:                                               ; preds = %18
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %20)
  %27 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %9)
  %28 = call ptr @_ZTW15__testInterface()
  br i1 %27, label %29, label %34

29:                                               ; preds = %26
  %30 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %30, i32 noundef 67, ptr noundef nonnull @.str.6)
          to label %31 unwind label %32

31:                                               ; preds = %29
  call void @__cxa_throw(ptr nonnull %30, ptr nonnull @_ZTI14AssertionError, ptr null) #9
  unreachable

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

34:                                               ; preds = %26
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %28)
  %35 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %10)
  %36 = call ptr @_ZTW15__testInterface()
  br i1 %35, label %37, label %42

37:                                               ; preds = %34
  %38 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %38, i32 noundef 68, ptr noundef nonnull @.str.6)
          to label %39 unwind label %40

39:                                               ; preds = %37
  call void @__cxa_throw(ptr nonnull %38, ptr nonnull @_ZTI14AssertionError, ptr null) #9
  unreachable

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

42:                                               ; preds = %34
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %36)
  call void @_ZN3P3D4Part6detachEv(ptr noundef nonnull align 8 dereferenceable(200) %8)
  %43 = call noundef zeroext i1 @_ZNK3P3D4Part10isMainPartEv(ptr noundef nonnull align 8 dereferenceable(200) %8)
  %44 = call ptr @_ZTW15__testInterface()
  br i1 %43, label %50, label %45

45:                                               ; preds = %42
  %46 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %46, i32 noundef 71, ptr noundef nonnull @.str.5)
          to label %47 unwind label %48

47:                                               ; preds = %45
  call void @__cxa_throw(ptr nonnull %46, ptr nonnull @_ZTI14AssertionError, ptr null) #9
  unreachable

48:                                               ; preds = %45
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %71

50:                                               ; preds = %42
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %44)
  call void @_ZN3P3D4Part6detachEv(ptr noundef nonnull align 8 dereferenceable(200) %7)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  call void @_ZN13AssertBuilderC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %6, i32 noundef 74)
  %51 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %9)
  %52 = call { i32, ptr } @_ZNK13AssertBuilderltIPN3P3D4PartEEE14AssertComparerIT_ERKS5_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 8 dereferenceable(8) %51)
  %53 = extractvalue { i32, ptr } %52, 0
  store i32 %53, ptr %5, align 8
  %54 = getelementptr inbounds i8, ptr %5, i64 8
  %55 = extractvalue { i32, ptr } %52, 1
  store ptr %55, ptr %54, align 8
  %56 = call { i32, ptr } @_ZNK14AssertComparerIPN3P3D4PartEEneIS2_EES_IbERKT_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %57 = extractvalue { i32, ptr } %56, 1
  %58 = load i8, ptr %57, align 1, !tbaa !9, !range !11, !noundef !12
  %59 = trunc nuw i8 %58 to i1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  %60 = call ptr @_ZTW15__testInterface()
  br i1 %59, label %66, label %61

61:                                               ; preds = %50
  %62 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %62, i32 noundef 74, ptr noundef nonnull @.str.5)
          to label %63 unwind label %64

63:                                               ; preds = %61
  call void @__cxa_throw(ptr nonnull %62, ptr nonnull @_ZTI14AssertionError, ptr null) #9
  unreachable

64:                                               ; preds = %61
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %71

66:                                               ; preds = %50
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %60)
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %8) #8
  call void @_ZdlPvm(ptr noundef %8, i64 noundef 200) #10
  %67 = load ptr, ptr %1, align 8, !tbaa !5
  %68 = icmp eq ptr %67, null
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %67) #8
  call void @_ZdlPvm(ptr noundef nonnull %67, i64 noundef 200) #10
  br label %70

70:                                               ; preds = %66, %69
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %9) #8
  call void @_ZdlPvm(ptr noundef %9, i64 noundef 200) #10
  call void @_ZN3P3D4PartD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %10) #8
  call void @_ZdlPvm(ptr noundef %10, i64 noundef 200) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  ret void

71:                                               ; preds = %64, %48, %40, %32, %24, %16
  %.sink = phi ptr [ %62, %64 ], [ %46, %48 ], [ %38, %40 ], [ %30, %32 ], [ %22, %24 ], [ %14, %16 ]
  %.pn = phi { ptr, i32 } [ %65, %64 ], [ %49, %48 ], [ %41, %40 ], [ %33, %32 ], [ %25, %24 ], [ %17, %16 ]
  call void @__cxa_free_exception(ptr %.sink) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13AssertBuilderC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZNK13AssertBuilderltIPN3P3D4PartEEE14AssertComparerIT_ERKS5_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZNK14AssertComparerIPN3P3D4PartEEneIS2_EES_IbERKT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 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 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}


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