; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtc/gtc_packing.ll (Z14test_U3x10_1x2v)

; 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.glm::vec.39" = type { %union.anon.40, %union.anon.41, %union.anon.42, %union.anon.43 }
%union.anon.40 = type { i8 }
%union.anon.41 = type { i8 }
%union.anon.42 = type { i8 }
%union.anon.43 = type { i8 }
%"struct.glm::vec.34" = type { %union.anon.35, %union.anon.36, %union.anon.37, %union.anon.38 }
%union.anon.35 = type { i32 }
%union.anon.36 = type { i32 }
%union.anon.37 = type { i32 }
%union.anon.38 = type { i32 }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = type { %"struct.std::_Vector_base<glm::vec<4, unsigned int>, std::allocator<glm::vec<4, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::vec<4, unsigned int>, std::allocator<glm::vec<4, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::vec<4, unsigned int>, std::allocator<glm::vec<4, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::vec<4, unsigned int>, std::allocator<glm::vec<4, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::vec.14" = type { %union.anon.15, %union.anon.16, %union.anon.17, %union.anon.18 }
%union.anon.15 = type { i8 }
%union.anon.16 = type { i8 }
%union.anon.17 = type { i8 }
%union.anon.18 = type { i8 }

@__const._Z14test_U3x10_1x2v.v0 = external hidden unnamed_addr constant %"struct.glm::vec.39", align 1
@__const._Z14test_U3x10_1x2v.v1 = external hidden unnamed_addr constant %"struct.glm::vec.34", align 4

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4)) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z14test_U3x10_1x2v() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::vector.29", align 8
  %3 = alloca %"struct.glm::vec.34", align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"struct.glm::vec.34", align 4
  %7 = alloca %"struct.glm::vec.34", align 4
  %8 = alloca %"struct.glm::vec.34", align 4
  %9 = alloca %"struct.glm::vec.34", align 4
  %10 = alloca %"struct.glm::vec.34", align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.glm::vec.34", align 4
  %14 = alloca i32, align 4
  %15 = alloca %"struct.glm::vec.34", align 4
  %16 = alloca %"struct.glm::vec.14", align 1
  %17 = alloca %"struct.glm::vec.39", align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"struct.glm::vec.34", align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #6
  call void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  invoke void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef 0)
          to label %23 unwind label %40

23:                                               ; preds = %0
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(16) %3)
          to label %24 unwind label %40

24:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  invoke void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef 1)
          to label %25 unwind label %44

25:                                               ; preds = %24
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(16) %6)
          to label %26 unwind label %44

26:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  invoke void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 2)
          to label %27 unwind label %48

27:                                               ; preds = %26
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(16) %7)
          to label %28 unwind label %48

28:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  invoke void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef 3)
          to label %29 unwind label %52

29:                                               ; preds = %28
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(16) %8)
          to label %30 unwind label %52

30:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  invoke void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef 4)
          to label %31 unwind label %56

31:                                               ; preds = %30
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(16) %9)
          to label %32 unwind label %56

32:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  invoke void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef 5)
          to label %33 unwind label %60

33:                                               ; preds = %32
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(16) %10)
          to label %34 unwind label %60

34:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %93, %34
  %36 = load i64, ptr %11, align 8, !tbaa !9
  %37 = call noundef i64 @_ZNKSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %64, label %39

39:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %120

40:                                               ; preds = %23, %0
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %4, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  br label %148

44:                                               ; preds = %25, %24
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %4, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  br label %148

48:                                               ; preds = %27, %26
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %4, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  br label %148

52:                                               ; preds = %29, %28
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %4, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  br label %148

56:                                               ; preds = %31, %30
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %4, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  br label %148

60:                                               ; preds = %33, %32
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %4, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  br label %148

64:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %65 = load i64, ptr %11, align 8, !tbaa !9
  %66 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %65) #6
  %67 = invoke noundef i32 @_ZN3glm13packU3x10_1x2ERKNS_3vecILi4EjLNS_9qualifierE0EEE(ptr noundef nonnull align 4 dereferenceable(16) %66)
          to label %68 unwind label %96

68:                                               ; preds = %64
  store i32 %67, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  %69 = load i32, ptr %12, align 4, !tbaa !5
  %70 = invoke { i64, i64 } @_ZN3glm15unpackU3x10_1x2Ej(i32 noundef %69)
          to label %71 unwind label %100

71:                                               ; preds = %68
  %72 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 0
  %73 = extractvalue { i64, i64 } %70, 0
  store i64 %73, ptr %72, align 4
  %74 = getelementptr inbounds { i64, i64 }, ptr %13, i32 0, i32 1
  %75 = extractvalue { i64, i64 } %70, 1
  store i64 %75, ptr %74, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %76 = invoke noundef i32 @_ZN3glm13packU3x10_1x2ERKNS_3vecILi4EjLNS_9qualifierE0EEE(ptr noundef nonnull align 4 dereferenceable(16) %13)
          to label %77 unwind label %104

77:                                               ; preds = %71
  store i32 %76, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %78 = load i32, ptr %14, align 4, !tbaa !5
  %79 = invoke { i64, i64 } @_ZN3glm15unpackU3x10_1x2Ej(i32 noundef %78)
          to label %80 unwind label %108

80:                                               ; preds = %77
  %81 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 0
  %82 = extractvalue { i64, i64 } %79, 0
  store i64 %82, ptr %81, align 4
  %83 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 1
  %84 = extractvalue { i64, i64 } %79, 1
  store i64 %84, ptr %83, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %85 = invoke i32 @_ZN3glm5equalILi4EjLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(16) %15)
          to label %86 unwind label %112

86:                                               ; preds = %80
  store i32 %85, ptr %16, align 1
  %87 = invoke noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %16)
          to label %88 unwind label %112

88:                                               ; preds = %86
  %89 = zext i1 %87 to i64
  %90 = select i1 %87, i32 0, i32 1
  %91 = load i32, ptr %1, align 4, !tbaa !5
  %92 = add nsw i32 %91, %90
  store i32 %92, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %93

93:                                               ; preds = %88
  %94 = load i64, ptr %11, align 8, !tbaa !9
  %95 = add i64 %94, 1
  store i64 %95, ptr %11, align 8, !tbaa !9
  br label %35, !llvm.loop !11

96:                                               ; preds = %64
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %4, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %5, align 4
  br label %119

100:                                              ; preds = %68
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %4, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %5, align 4
  br label %118

104:                                              ; preds = %71
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %4, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %5, align 4
  br label %117

108:                                              ; preds = %77
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %4, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %5, align 4
  br label %116

112:                                              ; preds = %86, %80
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %4, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %116

116:                                              ; preds = %112, %108
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %117

117:                                              ; preds = %116, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %118

118:                                              ; preds = %117, %100
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %119

119:                                              ; preds = %118, %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %148

120:                                              ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %17, ptr align 1 @__const._Z14test_U3x10_1x2v.v0, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %121 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3glm3vecILi4EhLNS_9qualifierE0EEixEi(ptr noundef nonnull align 1 dereferenceable(4) %17, i32 noundef 0)
          to label %122 unwind label %139

122:                                              ; preds = %120
  %123 = load i32, ptr %121, align 4, !tbaa !5
  store i32 %123, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 855668735, ptr %19, align 4, !tbaa !5
  %124 = load i32, ptr %18, align 4, !tbaa !5
  %125 = icmp eq i32 %124, 855668735
  %126 = zext i1 %125 to i64
  %127 = select i1 %125, i32 0, i32 1
  %128 = load i32, ptr %1, align 4, !tbaa !5
  %129 = add nsw i32 %128, %127
  store i32 %129, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 @__const._Z14test_U3x10_1x2v.v1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %130 = invoke noundef i32 @_ZN3glm13packU3x10_1x2ERKNS_3vecILi4EjLNS_9qualifierE0EEE(ptr noundef nonnull align 4 dereferenceable(16) %20)
          to label %131 unwind label %143

131:                                              ; preds = %122
  store i32 %130, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 -1073619713, ptr %22, align 4, !tbaa !5
  %132 = load i32, ptr %21, align 4, !tbaa !5
  %133 = icmp eq i32 %132, -1073619713
  %134 = zext i1 %133 to i64
  %135 = select i1 %133, i32 0, i32 1
  %136 = load i32, ptr %1, align 4, !tbaa !5
  %137 = add nsw i32 %136, %135
  store i32 %137, ptr %1, align 4, !tbaa !5
  %138 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %138

139:                                              ; preds = %120
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %4, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %5, align 4
  br label %147

143:                                              ; preds = %122
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %4, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %147

147:                                              ; preds = %143, %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %148

148:                                              ; preds = %147, %119, %60, %56, %52, %48, %44, %40
  call void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  br label %149

149:                                              ; preds = %148
  %150 = load ptr, ptr %4, align 8
  %151 = load i32, ptr %5, align 4
  %152 = insertvalue { ptr, i32 } poison, ptr %150, 0
  %153 = insertvalue { ptr, i32 } %152, i32 %151, 1
  resume { ptr, i32 } %153
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(16)) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm13packU3x10_1x2ERKNS_3vecILi4EjLNS_9qualifierE0EEE(ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm15unpackU3x10_1x2Ej(i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3glm5equalILi4EjLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #1

; 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) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3glm3vecILi4EhLNS_9qualifierE0EEixEi(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) #1 align 2

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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

%"struct.glm::vec.39" = type { %union.anon.40, %union.anon.41, %union.anon.42, %union.anon.43 }
%union.anon.40 = type { i8 }
%union.anon.41 = type { i8 }
%union.anon.42 = type { i8 }
%union.anon.43 = type { i8 }
%"struct.glm::vec.34" = type { %union.anon.35, %union.anon.36, %union.anon.37, %union.anon.38 }
%union.anon.35 = type { i32 }
%union.anon.36 = type { i32 }
%union.anon.37 = type { i32 }
%union.anon.38 = type { i32 }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = type { %"struct.std::_Vector_base<glm::vec<4, unsigned int>, std::allocator<glm::vec<4, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::vec<4, unsigned int>, std::allocator<glm::vec<4, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::vec<4, unsigned int>, std::allocator<glm::vec<4, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::vec<4, unsigned int>, std::allocator<glm::vec<4, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::vec.14" = type { %union.anon.15, %union.anon.16, %union.anon.17, %union.anon.18 }
%union.anon.15 = type { i8 }
%union.anon.16 = type { i8 }
%union.anon.17 = type { i8 }
%union.anon.18 = type { i8 }

@__const._Z14test_U3x10_1x2v.v0 = external hidden unnamed_addr constant %"struct.glm::vec.39", align 1
@__const._Z14test_U3x10_1x2v.v1 = external hidden unnamed_addr constant %"struct.glm::vec.34", align 4

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z14test_U3x10_1x2v() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector.29", align 8
  %2 = alloca %"struct.glm::vec.34", align 4
  %3 = alloca %"struct.glm::vec.34", align 4
  %4 = alloca %"struct.glm::vec.34", align 4
  %5 = alloca %"struct.glm::vec.34", align 4
  %6 = alloca %"struct.glm::vec.34", align 4
  %7 = alloca %"struct.glm::vec.34", align 4
  %8 = alloca %"struct.glm::vec.34", align 8
  %9 = alloca %"struct.glm::vec.34", align 8
  %10 = alloca %"struct.glm::vec.14", align 4
  %11 = alloca %"struct.glm::vec.39", align 4
  %12 = alloca %"struct.glm::vec.34", align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #6
  call void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  call void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef 0)
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(16) %2)
          to label %13 unwind label %24

13:                                               ; preds = %0
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef 1)
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(16) %3)
          to label %14 unwind label %26

14:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %4, i32 noundef 2)
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(16) %4)
          to label %15 unwind label %28

15:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %5, i32 noundef 3)
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(16) %5)
          to label %16 unwind label %30

16:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  call void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef 4)
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(16) %6)
          to label %17 unwind label %32

17:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN3glm3vecILi4EjLNS_9qualifierE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 5)
  invoke void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(16) %7)
          to label %18 unwind label %34

18:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  %19 = call noundef i64 @_ZNKSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %.not = icmp eq i64 %19, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %18
  %20 = getelementptr inbounds i8, ptr %8, i64 8
  %21 = getelementptr inbounds i8, ptr %9, i64 8
  br label %36

._crit_edge:                                      ; preds = %51, %18
  %.0.lcssa = phi i32 [ 0, %18 ], [ %53, %51 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  %22 = load i32, ptr @__const._Z14test_U3x10_1x2v.v0, align 1
  store i32 %22, ptr %11, align 4
  %23 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3glm3vecILi4EhLNS_9qualifierE0EEixEi(ptr noundef nonnull align 1 dereferenceable(4) %11, i32 noundef 0)
          to label %65 unwind label %74

24:                                               ; preds = %0
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  br label %76

26:                                               ; preds = %13
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %76

28:                                               ; preds = %14
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %76

30:                                               ; preds = %15
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %76

32:                                               ; preds = %16
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %76

34:                                               ; preds = %17
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %76

36:                                               ; preds = %.lr.ph, %51
  %.024 = phi i32 [ 0, %.lr.ph ], [ %53, %51 ]
  %.01623 = phi i64 [ 0, %.lr.ph ], [ %54, %51 ]
  %37 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.01623) #6
  %38 = call noundef i32 @_ZN3glm13packU3x10_1x2ERKNS_3vecILi4EjLNS_9qualifierE0EEE(ptr noundef nonnull align 4 dereferenceable(16) %37)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %39 = invoke { i64, i64 } @_ZN3glm15unpackU3x10_1x2Ej(i32 noundef %38)
          to label %40 unwind label %57

40:                                               ; preds = %36
  %41 = extractvalue { i64, i64 } %39, 0
  store i64 %41, ptr %8, align 8
  %42 = extractvalue { i64, i64 } %39, 1
  store i64 %42, ptr %20, align 8
  %43 = call noundef i32 @_ZN3glm13packU3x10_1x2ERKNS_3vecILi4EjLNS_9qualifierE0EEE(ptr noundef nonnull align 4 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %44 = invoke { i64, i64 } @_ZN3glm15unpackU3x10_1x2Ej(i32 noundef %43)
          to label %45 unwind label %59

45:                                               ; preds = %40
  %46 = extractvalue { i64, i64 } %44, 0
  store i64 %46, ptr %9, align 8
  %47 = extractvalue { i64, i64 } %44, 1
  store i64 %47, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  %48 = invoke i32 @_ZN3glm5equalILi4EjLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %9)
          to label %49 unwind label %61

49:                                               ; preds = %45
  store i32 %48, ptr %10, align 4
  %50 = invoke noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %10)
          to label %51 unwind label %61

51:                                               ; preds = %49
  %not. = xor i1 %50, true
  %52 = zext i1 %not. to i32
  %53 = add nuw nsw i32 %.024, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  %54 = add nuw i64 %.01623, 1
  %55 = call noundef i64 @_ZNKSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %56 = icmp ult i64 %54, %55
  br i1 %56, label %36, label %._crit_edge, !llvm.loop !5

57:                                               ; preds = %36
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %64

59:                                               ; preds = %40
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %63

61:                                               ; preds = %49, %45
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %63

63:                                               ; preds = %61, %59
  %.pn = phi { ptr, i32 } [ %62, %61 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %64

64:                                               ; preds = %63, %57
  %.pn.pn = phi { ptr, i32 } [ %.pn, %63 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %76

65:                                               ; preds = %._crit_edge
  %66 = load i32, ptr %23, align 4, !tbaa !7
  %67 = icmp ne i32 %66, 855668735
  %68 = zext i1 %67 to i32
  %69 = add nuw nsw i32 %.0.lcssa, %68
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) @__const._Z14test_U3x10_1x2v.v1, i64 16, i1 false)
  %70 = call noundef i32 @_ZN3glm13packU3x10_1x2ERKNS_3vecILi4EjLNS_9qualifierE0EEE(ptr noundef nonnull align 4 dereferenceable(16) %12)
  %71 = icmp ne i32 %70, -1073619713
  %72 = zext i1 %71 to i32
  %73 = add nuw nsw i32 %69, %72
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  ret i32 %73

74:                                               ; preds = %._crit_edge
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  br label %76

76:                                               ; preds = %74, %64, %34, %32, %30, %28, %26, %24
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %64 ], [ %75, %74 ], [ %35, %34 ], [ %33, %32 ], [ %31, %30 ], [ %29, %28 ], [ %27, %26 ], [ %25, %24 ]
  call void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3glm3vecILi4EjLNS0_9qualifierE0EEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3glm13packU3x10_1x2ERKNS_3vecILi4EjLNS_9qualifierE0EEE(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm15unpackU3x10_1x2Ej(i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3glm5equalILi4EjLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: mustprogress 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) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3glm3vecILi4EhLNS_9qualifierE0EEixEi(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) local_unnamed_addr #1 align 2

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass