; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/Constraints (ConstraintVsCOMChangeTest)

; 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.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Quat" = type { %"class.JPH::Vec4" }
%"class.JPH::Vec4" = type { %union.anon.7 }
%union.anon.7 = type { <4 x float> }
%class.ConstraintVsCOMChangeTest = type { %class.Test, %"class.JPH::RefConst", %"class.JPH::Array", %"class.JPH::Array.4", float, i32 }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::Array" = type { i64, i64, ptr }
%"class.JPH::Array.4" = type { i64, i64, ptr }
%"class.JPH::Ref.36" = type { ptr }

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Quat9sIdentityEv() #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN25ConstraintVsCOMChangeTest12UpdateShapesEv(ptr noundef nonnull align 8 dereferenceable(176) %0) #5 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Quat", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.JPH::Vec3", align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #9
  %23 = getelementptr inbounds %class.ConstraintVsCOMChangeTest, ptr %22, i32 0, i32 4
  %24 = load float, ptr %23, align 8, !tbaa !9
  %25 = fptosi float %24 to i32
  %26 = and i32 %25, 1
  %27 = icmp ne i32 %26, 0
  %28 = zext i1 %27 to i64
  %29 = select i1 %27, i32 2, i32 1
  store i32 %29, ptr %3, align 4, !tbaa !23
  %30 = getelementptr inbounds %class.ConstraintVsCOMChangeTest, ptr %22, i32 0, i32 5
  %31 = load i32, ptr %30, align 4, !tbaa !24
  %32 = load i32, ptr %3, align 4, !tbaa !23
  %33 = icmp ne i32 %31, %32
  br i1 %33, label %34, label %166

34:                                               ; preds = %1
  %35 = load i32, ptr %3, align 4, !tbaa !23
  %36 = getelementptr inbounds %class.ConstraintVsCOMChangeTest, ptr %22, i32 0, i32 5
  store i32 %35, ptr %36, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #9
  store i32 1, ptr %4, align 4, !tbaa !23
  br label %37

37:                                               ; preds = %162, %34
  %38 = load i32, ptr %4, align 4, !tbaa !23
  %39 = getelementptr inbounds %class.ConstraintVsCOMChangeTest, ptr %22, i32 0, i32 2
  %40 = call noundef i64 @_ZNK3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39)
  %41 = trunc i64 %40 to i32
  %42 = icmp slt i32 %38, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %37
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #9
  br label %165

44:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %45 = getelementptr inbounds %class.ConstraintVsCOMChangeTest, ptr %22, i32 0, i32 2
  %46 = load i32, ptr %4, align 4, !tbaa !23
  %47 = sext i32 %46 to i64
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %47)
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  store ptr %49, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = call noundef ptr @_ZNK3JPH4Body8GetShapeEv(ptr noundef nonnull align 16 dereferenceable(122) %50)
  store ptr %51, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #9
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = call { double, double } @_ZNK3JPH13CompoundShape15GetCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(108) %52)
  %54 = getelementptr inbounds %"class.JPH::Vec3", ptr %8, i32 0, i32 0
  %55 = getelementptr inbounds %union.anon, ptr %54, i32 0, i32 0
  %56 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %57 = extractvalue { double, double } %53, 0
  store double %57, ptr %56, align 16
  %58 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %59 = extractvalue { double, double } %53, 1
  store double %59, ptr %58, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = call noundef i32 @_ZNK3JPH13CompoundShape15GetNumSubShapesEv(ptr noundef nonnull align 16 dereferenceable(108) %60)
  %62 = sub i32 %61, 1
  store i32 %62, ptr %9, align 4, !tbaa !23
  br label %63

63:                                               ; preds = %70, %44
  %64 = load i32, ptr %9, align 4, !tbaa !23
  %65 = icmp sge i32 %64, 0
  br i1 %65, label %67, label %66

66:                                               ; preds = %63
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %73

67:                                               ; preds = %63
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load i32, ptr %9, align 4, !tbaa !23
  call void @_ZN3JPH20MutableCompoundShape11RemoveShapeEj(ptr noundef nonnull align 16 dereferenceable(144) %68, i32 noundef %69)
  br label %70

70:                                               ; preds = %67
  %71 = load i32, ptr %9, align 4, !tbaa !23
  %72 = add nsw i32 %71, -1
  store i32 %72, ptr %9, align 4, !tbaa !23
  br label %63, !llvm.loop !25

73:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 0, ptr %10, align 4, !tbaa !23
  br label %74

74:                                               ; preds = %103, %73
  %75 = load i32, ptr %10, align 4, !tbaa !23
  %76 = load i32, ptr %3, align 4, !tbaa !23
  %77 = icmp slt i32 %75, %76
  br i1 %77, label %79, label %78

78:                                               ; preds = %74
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %106

79:                                               ; preds = %74
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = load i32, ptr %10, align 4, !tbaa !23
  %82 = sitofp i32 %81 to float
  %83 = fmul float 3.000000e+00, %82
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %83)
  %84 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %85 = getelementptr inbounds %"class.JPH::Quat", ptr %12, i32 0, i32 0
  %86 = getelementptr inbounds %"class.JPH::Vec4", ptr %85, i32 0, i32 0
  %87 = getelementptr inbounds %union.anon.7, ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds { double, double }, ptr %87, i32 0, i32 0
  %89 = extractvalue { double, double } %84, 0
  store double %89, ptr %88, align 16
  %90 = getelementptr inbounds { double, double }, ptr %87, i32 0, i32 1
  %91 = extractvalue { double, double } %84, 1
  store double %91, ptr %90, align 8
  %92 = getelementptr inbounds %class.ConstraintVsCOMChangeTest, ptr %22, i32 0, i32 1
  %93 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %92)
  %94 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  %95 = load double, ptr %94, align 16
  %96 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  %97 = load double, ptr %96, align 8
  %98 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 0
  %99 = load double, ptr %98, align 16
  %100 = getelementptr inbounds { double, double }, ptr %12, i32 0, i32 1
  %101 = load double, ptr %100, align 8
  %102 = call noundef i32 @_ZN3JPH20MutableCompoundShape8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEjj(ptr noundef nonnull align 16 dereferenceable(144) %80, double %95, double %97, double %99, double %101, ptr noundef %93, i32 noundef 0, i32 noundef -1)
  br label %103

103:                                              ; preds = %79
  %104 = load i32, ptr %10, align 4, !tbaa !23
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %10, align 4, !tbaa !23
  br label %74, !llvm.loop !27

106:                                              ; preds = %78
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN3JPH20MutableCompoundShape18AdjustCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(144) %107)
  %108 = getelementptr inbounds %class.Test, ptr %22, i32 0, i32 3
  %109 = load ptr, ptr %108, align 8, !tbaa !28
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %110)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !29
  %112 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %113 = load double, ptr %112, align 16
  %114 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %115 = load double, ptr %114, align 8
  call void @_ZNK3JPH13BodyInterface18NotifyShapeChangedERKNS_6BodyIDENS_4Vec3EbNS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %109, ptr noundef nonnull align 4 dereferenceable(4) %111, double %113, double %115, i1 noundef zeroext true, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #9
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = call { double, double } @_ZNK3JPH13CompoundShape15GetCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(108) %116)
  %118 = getelementptr inbounds %"class.JPH::Vec3", ptr %15, i32 0, i32 0
  %119 = getelementptr inbounds %union.anon, ptr %118, i32 0, i32 0
  %120 = getelementptr inbounds { double, double }, ptr %119, i32 0, i32 0
  %121 = extractvalue { double, double } %117, 0
  store double %121, ptr %120, align 16
  %122 = getelementptr inbounds { double, double }, ptr %119, i32 0, i32 1
  %123 = extractvalue { double, double } %117, 1
  store double %123, ptr %122, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !29
  %124 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %125 = load double, ptr %124, align 16
  %126 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %127 = load double, ptr %126, align 8
  %128 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %125, double %127)
  %129 = getelementptr inbounds %"class.JPH::Vec3", ptr %14, i32 0, i32 0
  %130 = getelementptr inbounds %union.anon, ptr %129, i32 0, i32 0
  %131 = getelementptr inbounds { double, double }, ptr %130, i32 0, i32 0
  %132 = extractvalue { double, double } %128, 0
  store double %132, ptr %131, align 16
  %133 = getelementptr inbounds { double, double }, ptr %130, i32 0, i32 1
  %134 = extractvalue { double, double } %128, 1
  store double %134, ptr %133, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %135 = getelementptr inbounds %class.ConstraintVsCOMChangeTest, ptr %22, i32 0, i32 3
  store ptr %135, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %136 = load ptr, ptr %17, align 8, !tbaa !5
  %137 = call noundef ptr @_ZN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %136)
  store ptr %137, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %138 = load ptr, ptr %17, align 8, !tbaa !5
  %139 = call noundef ptr @_ZN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %138)
  store ptr %139, ptr %19, align 8, !tbaa !5
  br label %140

140:                                              ; preds = %158, %106
  %141 = load ptr, ptr %18, align 8, !tbaa !5
  %142 = load ptr, ptr %19, align 8, !tbaa !5
  %143 = icmp ne ptr %141, %142
  br i1 %143, label %145, label %144

144:                                              ; preds = %140
  store i32 11, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %161

145:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %146 = load ptr, ptr %18, align 8, !tbaa !5
  %147 = call noundef ptr @_ZNK3JPH3RefINS_10ConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %146)
  store ptr %147, ptr %20, align 8, !tbaa !5
  %148 = load ptr, ptr %20, align 8, !tbaa !5
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %149)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 %14, i64 16, i1 false), !tbaa.struct !29
  %151 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %152 = load double, ptr %151, align 16
  %153 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %154 = load double, ptr %153, align 8
  %155 = load ptr, ptr %148, align 8, !tbaa !31
  %156 = getelementptr inbounds ptr, ptr %155, i64 4
  %157 = load ptr, ptr %156, align 8
  call void %157(ptr noundef nonnull align 8 dereferenceable(32) %148, ptr noundef nonnull align 4 dereferenceable(4) %150, double %152, double %154)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %158

158:                                              ; preds = %145
  %159 = load ptr, ptr %18, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.JPH::Ref.36", ptr %159, i32 1
  store ptr %160, ptr %18, align 8, !tbaa !5
  br label %140

161:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %162

162:                                              ; preds = %161
  %163 = load i32, ptr %4, align 4, !tbaa !23
  %164 = add nsw i32 %163, 2
  store i32 %164, ptr %4, align 4, !tbaa !23
  br label %37, !llvm.loop !33

165:                                              ; preds = %43
  br label %166

166:                                              ; preds = %165, %1
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #9
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH4Body8GetShapeEv(ptr noundef nonnull align 16 dereferenceable(122)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK3JPH13CompoundShape15GetCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(108)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK3JPH13CompoundShape15GetNumSubShapesEv(ptr noundef nonnull align 16 dereferenceable(108)) #5 align 2

declare void @_ZN3JPH20MutableCompoundShape11RemoveShapeEj(ptr noundef nonnull align 16 dereferenceable(144), i32 noundef) #8

declare noundef i32 @_ZN3JPH20MutableCompoundShape8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEjj(ptr noundef nonnull align 16 dereferenceable(144), double, double, double, double, ptr noundef, i32 noundef, i32 noundef) #8

declare void @_ZN3JPH20MutableCompoundShape18AdjustCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(144)) #8

declare void @_ZNK3JPH13BodyInterface18NotifyShapeChangedERKNS_6BodyIDENS_4Vec3EbNS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), double, double, i1 noundef zeroext, i32 noundef) #8

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH3RefINS_10ConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { inlinehint 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 #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 = { "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 #9 = { 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, !18, i64 168}
!10 = !{!"_ZTS25ConstraintVsCOMChangeTest", !11, i64 0, !19, i64 112, !20, i64 120, !21, i64 144, !18, i64 168, !22, i64 172}
!11 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !13, i64 56}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !14, i64 0}
!14 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !15, i64 8, !16, i64 16, !15, i64 24, !17, i64 32, !6, i64 48}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!17 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !18, i64 0, !15, i64 8}
!18 = !{!"float", !7, i64 0}
!19 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !6, i64 0}
!20 = !{!"_ZTSN3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEE", !15, i64 0, !15, i64 8, !6, i64 16}
!21 = !{!"_ZTSN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEEE", !15, i64 0, !15, i64 8, !6, i64 16}
!22 = !{!"int", !7, i64 0}
!23 = !{!22, !22, i64 0}
!24 = !{!10, !22, i64 172}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{!11, !6, i64 24}
!29 = !{i64 0, i64 16, !30}
!30 = !{!7, !7, i64 0}
!31 = !{!32, !32, i64 0}
!32 = !{!"vtable pointer", !8, i64 0}
!33 = distinct !{!33, !26}


; 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.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Quat9sIdentityEv() local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN25ConstraintVsCOMChangeTest12UpdateShapesEv(ptr noundef nonnull align 8 dereferenceable(176) %0) local_unnamed_addr #4 align 2 {
  %2 = alloca %"class.JPH::Vec3", align 16
  %3 = alloca %"class.JPH::Vec3", align 16
  %4 = getelementptr inbounds i8, ptr %0, i64 168
  %5 = load float, ptr %4, align 8, !tbaa !5
  %6 = fptosi float %5 to i32
  %7 = and i32 %6, 1
  %.not = icmp eq i32 %7, 0
  %8 = select i1 %.not, i32 1, i32 2
  %9 = getelementptr inbounds i8, ptr %0, i64 172
  %10 = load i32, ptr %9, align 4, !tbaa !22
  %.not40 = icmp eq i32 %10, %8
  br i1 %.not40, label %.loopexit, label %11

11:                                               ; preds = %1
  store i32 %8, ptr %9, align 4, !tbaa !22
  %12 = getelementptr inbounds i8, ptr %0, i64 120
  %13 = tail call noundef i64 @_ZNK3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12)
  %14 = trunc i64 %13 to i32
  %15 = icmp sgt i32 %14, 1
  br i1 %15, label %.lr.ph50, label %.loopexit

.lr.ph50:                                         ; preds = %11
  %16 = getelementptr inbounds i8, ptr %0, i64 112
  %17 = getelementptr inbounds i8, ptr %2, i64 8
  %18 = getelementptr inbounds i8, ptr %0, i64 24
  %19 = getelementptr inbounds i8, ptr %3, i64 8
  %20 = getelementptr inbounds i8, ptr %0, i64 144
  br label %21

21:                                               ; preds = %.lr.ph50, %._crit_edge
  %indvars.iv = phi i64 [ 1, %.lr.ph50 ], [ %indvars.iv.next, %._crit_edge ]
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv)
  %23 = load ptr, ptr %22, align 8, !tbaa !23
  %24 = call noundef ptr @_ZNK3JPH4Body8GetShapeEv(ptr noundef nonnull align 16 dereferenceable(122) %23)
  %25 = call { double, double } @_ZNK3JPH13CompoundShape15GetCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(108) %24)
  %26 = extractvalue { double, double } %25, 0
  %27 = extractvalue { double, double } %25, 1
  %28 = call noundef i32 @_ZNK3JPH13CompoundShape15GetNumSubShapesEv(ptr noundef nonnull align 16 dereferenceable(108) %24)
  %.03642 = add i32 %28, -1
  %29 = icmp sgt i32 %.03642, -1
  br i1 %29, label %.lr.ph, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.lr.ph, %21
  br label %.preheader

.lr.ph:                                           ; preds = %21, %.lr.ph
  %.03643 = phi i32 [ %.036, %.lr.ph ], [ %.03642, %21 ]
  call void @_ZN3JPH20MutableCompoundShape11RemoveShapeEj(ptr noundef nonnull align 16 dereferenceable(144) %24, i32 noundef %.03643)
  %.036 = add nsw i32 %.03643, -1
  %.not52 = icmp eq i32 %.03643, 0
  br i1 %.not52, label %.preheader.preheader, label %.lr.ph, !llvm.loop !24

30:                                               ; preds = %.preheader
  call void @_ZN3JPH20MutableCompoundShape18AdjustCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(144) %24)
  %31 = load ptr, ptr %18, align 8, !tbaa !26
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %23)
  call void @_ZNK3JPH13BodyInterface18NotifyShapeChangedERKNS_6BodyIDENS_4Vec3EbNS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 4 dereferenceable(4) %32, double %26, double %27, i1 noundef zeroext true, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  %33 = call { double, double } @_ZNK3JPH13CompoundShape15GetCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(108) %24)
  %34 = extractvalue { double, double } %33, 0
  store double %34, ptr %3, align 16
  %35 = extractvalue { double, double } %33, 1
  store double %35, ptr %19, align 8
  %36 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %3, double %26, double %27)
  %37 = extractvalue { double, double } %36, 0
  %38 = extractvalue { double, double } %36, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  %39 = call noundef ptr @_ZN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
  %40 = call noundef ptr @_ZN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
  %.not4145 = icmp eq ptr %39, %40
  br i1 %.not4145, label %._crit_edge, label %.lr.ph47

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %.03744 = phi i32 [ %50, %.preheader ], [ 0, %.preheader.preheader ]
  %41 = uitofp nneg i32 %.03744 to float
  %42 = fmul float %41, 3.000000e+00
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %2, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %42)
  %43 = call { double, double } @_ZN3JPH4Quat9sIdentityEv()
  %44 = extractvalue { double, double } %43, 0
  %45 = extractvalue { double, double } %43, 1
  %46 = call noundef ptr @_ZNK3JPH8RefConstINS_5ShapeEEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %16)
  %47 = load double, ptr %2, align 16
  %48 = load double, ptr %17, align 8
  %49 = call noundef i32 @_ZN3JPH20MutableCompoundShape8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEjj(ptr noundef nonnull align 16 dereferenceable(144) %24, double %47, double %48, double %44, double %45, ptr noundef %46, i32 noundef 0, i32 noundef -1)
  %50 = add nuw nsw i32 %.03744, 1
  %exitcond.not = icmp eq i32 %50, %8
  br i1 %exitcond.not, label %30, label %.preheader, !llvm.loop !27

._crit_edge:                                      ; preds = %.lr.ph47, %30
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  %51 = call noundef i64 @_ZNK3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12)
  %52 = trunc i64 %51 to i32
  %53 = trunc nuw i64 %indvars.iv.next to i32
  %54 = icmp slt i32 %53, %52
  br i1 %54, label %21, label %.loopexit, !llvm.loop !28

.lr.ph47:                                         ; preds = %30, %.lr.ph47
  %.03846 = phi ptr [ %60, %.lr.ph47 ], [ %39, %30 ]
  %55 = call noundef ptr @_ZNK3JPH3RefINS_10ConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %.03846)
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3JPH4Body5GetIDEv(ptr noundef nonnull align 16 dereferenceable(122) %23)
  %57 = load ptr, ptr %55, align 8, !tbaa !29
  %58 = getelementptr inbounds i8, ptr %57, i64 32
  %59 = load ptr, ptr %58, align 8
  call void %59(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 4 dereferenceable(4) %56, double %37, double %38)
  %60 = getelementptr inbounds i8, ptr %.03846, i64 8
  %.not41 = icmp eq ptr %60, %40
  br i1 %.not41, label %._crit_edge, label %.lr.ph47

.loopexit:                                        ; preds = %._crit_edge, %11, %1
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH4Body8GetShapeEv(ptr noundef nonnull align 16 dereferenceable(122)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK3JPH13CompoundShape15GetCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(108)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK3JPH13CompoundShape15GetNumSubShapesEv(ptr noundef nonnull align 16 dereferenceable(108)) local_unnamed_addr #4 align 2

declare void @_ZN3JPH20MutableCompoundShape11RemoveShapeEj(ptr noundef nonnull align 16 dereferenceable(144), i32 noundef) local_unnamed_addr #7

declare noundef i32 @_ZN3JPH20MutableCompoundShape8AddShapeENS_4Vec3ENS_4QuatEPKNS_5ShapeEjj(ptr noundef nonnull align 16 dereferenceable(144), double, double, double, double, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

declare void @_ZN3JPH20MutableCompoundShape18AdjustCenterOfMassEv(ptr noundef nonnull align 16 dereferenceable(144)) local_unnamed_addr #7

declare void @_ZNK3JPH13BodyInterface18NotifyShapeChangedERKNS_6BodyIDENS_4Vec3EbNS_11EActivationE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4), double, double, i1 noundef zeroext, i32 noundef) local_unnamed_addr #7

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3JPH3RefINS_10ConstraintEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { inlinehint 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 #6 = { 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 = { "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 }

!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, !17, i64 168}
!6 = !{!"_ZTS25ConstraintVsCOMChangeTest", !7, i64 0, !18, i64 112, !19, i64 120, !20, i64 144, !17, i64 168, !21, i64 172}
!7 = !{!"_ZTS4Test", !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !11, i64 48, !12, i64 56}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !13, i64 0}
!13 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !8, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !8, i64 48}
!14 = !{!"long", !9, i64 0}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !8, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !14, i64 8}
!17 = !{!"float", !9, i64 0}
!18 = !{!"_ZTSN3JPH8RefConstINS_5ShapeEEE", !8, i64 0}
!19 = !{!"_ZTSN3JPH5ArrayIPNS_4BodyENS_12STLAllocatorIS2_EEEE", !14, i64 0, !14, i64 8, !8, i64 16}
!20 = !{!"_ZTSN3JPH5ArrayINS_3RefINS_10ConstraintEEENS_12STLAllocatorIS3_EEEE", !14, i64 0, !14, i64 8, !8, i64 16}
!21 = !{!"int", !9, i64 0}
!22 = !{!6, !21, i64 172}
!23 = !{!8, !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!7, !8, i64 24}
!27 = distinct !{!27, !25}
!28 = distinct !{!28, !25}
!29 = !{!30, !30, i64 0}
!30 = !{!"vtable pointer", !10, i64 0}


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