; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/test/gtx/gtx_dual_quaternion.ll (Z12test_inversev)

; 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.8" = type { %union.anon.9 }
%union.anon.9 = type { %struct.anon.10 }
%struct.anon.10 = type { i8, i8, i8, i8 }
%"struct.glm::tdualquat.7" = type { %"struct.glm::qua.4", %"struct.glm::qua.4" }
%"struct.glm::qua.4" = type { %union.anon.5 }
%union.anon.5 = type { %struct.anon.6 }
%struct.anon.6 = type { float, float, float, float }
%"struct.glm::mat" = type { [4 x %"struct.glm::vec.13"] }
%"struct.glm::vec.13" = type { %union.anon.14 }
%union.anon.14 = type { %struct.anon.15 }
%struct.anon.15 = type { float, float, float, float }
%"struct.glm::vec.18" = type { %union.anon.19 }
%union.anon.19 = type { %struct.anon.20 }
%struct.anon.20 = type { float, float, float }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z7myfrandv() #0

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind noalias writable sret(%"struct.glm::vec.8") align 1, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z12test_inversev() #4 {
  %1 = alloca i32, align 4
  %2 = alloca float, align 4
  %3 = alloca %"struct.glm::tdualquat.7", align 4
  %4 = alloca %"struct.glm::mat", align 4
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.glm::mat", align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca %"struct.glm::vec.18", align 4
  %12 = alloca %"struct.glm::mat", align 4
  %13 = alloca %"struct.glm::mat", align 4
  %14 = alloca %"struct.glm::qua.4", align 4
  %15 = alloca %"struct.glm::tdualquat.7", align 4
  %16 = alloca %"struct.glm::tdualquat.7", align 4
  %17 = alloca %"struct.glm::tdualquat.7", align 4
  %18 = alloca %"struct.glm::tdualquat.7", align 4
  %19 = alloca %"struct.glm::vec.8", align 1
  %20 = alloca %"struct.glm::vec.8", align 1
  %21 = alloca %"struct.glm::vec.8", align 1
  %22 = alloca %"struct.glm::vec.8", align 1
  %23 = alloca %"struct.glm::tdualquat.7", align 4
  %24 = alloca %"struct.glm::qua.4", align 4
  %25 = alloca %"struct.glm::vec.18", align 4
  %26 = alloca %"struct.glm::tdualquat.7", align 4
  %27 = alloca %"struct.glm::tdualquat.7", align 4
  %28 = alloca %"struct.glm::tdualquat.7", align 4
  %29 = alloca %"struct.glm::tdualquat.7", align 4
  %30 = alloca %"struct.glm::vec.8", align 1
  %31 = alloca %"struct.glm::vec.8", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store float 0x3F1A36E2E0000000, ptr %2, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #5
  call void @_ZN3glm18dual_quat_identityIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEEv(ptr dead_on_unwind writable sret(%"struct.glm::tdualquat.7") align 4 %3)
  call void @llvm.lifetime.start.p0(i64 64, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store float 1.000000e+00, ptr %5, align 4, !tbaa !9
  call void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %101, %0
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = icmp slt i32 %33, 100
  br i1 %34, label %36, label %35

35:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %104

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %37 = call noundef float @_Z7myfrandv()
  %38 = fmul float %37, 3.600000e+02
  store float %38, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %39 = call noundef float @_Z7myfrandv()
  %40 = fmul float %39, 3.600000e+02
  store float %40, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %41 = call noundef float @_Z7myfrandv()
  %42 = fmul float %41, 3.600000e+02
  store float %42, ptr %10, align 4, !tbaa !9
  call void @_ZN3glm12yawPitchRollIfEENS_3matILi4ELi4ET_LNS_9qualifierE0EEERKS2_S6_S6_(ptr dead_on_unwind writable sret(%"struct.glm::mat") align 4 %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #5
  %43 = call noundef float @_Z7myfrandv()
  %44 = fmul float %43, 1.000000e+01
  %45 = call noundef float @_Z7myfrandv()
  %46 = fmul float %45, 1.000000e+01
  %47 = call noundef float @_Z7myfrandv()
  %48 = fmul float %47, 1.000000e+01
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %11, float noundef %44, float noundef %46, float noundef %48)
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #5
  call void @_ZN3glm9translateIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_RKNS_3vecILi3ES3_XT0_EEE(ptr dead_on_unwind writable sret(%"struct.glm::mat") align 4 %13, ptr noundef nonnull align 4 dereferenceable(64) %4, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_S6_(ptr dead_on_unwind writable sret(%"struct.glm::mat") align 4 %12, ptr noundef nonnull align 4 dereferenceable(64) %13, ptr noundef nonnull align 4 dereferenceable(64) %7)
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  call void @_ZN3glm9quat_castIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKNS_3matILi4ELi4ES3_XT0_EEE(ptr dead_on_unwind writable sret(%"struct.glm::qua.4") align 4 %14, ptr noundef nonnull align 4 dereferenceable(64) %12)
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #5
  call void @_ZN3glm9tdualquatIfLNS_9qualifierE0EEC2ERKNS_3quaIfLS1_0EEE(ptr noundef nonnull align 4 dereferenceable(32) %15, ptr noundef nonnull align 4 dereferenceable(16) %14)
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #5
  call void @_ZN3glm7inverseIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::tdualquat.7") align 4 %16, ptr noundef nonnull align 4 dereferenceable(32) %15)
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind writable sret(%"struct.glm::tdualquat.7") align 4 %17, ptr noundef nonnull align 4 dereferenceable(32) %16, ptr noundef nonnull align 4 dereferenceable(32) %15)
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #5
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind writable sret(%"struct.glm::tdualquat.7") align 4 %18, ptr noundef nonnull align 4 dereferenceable(32) %15, ptr noundef nonnull align 4 dereferenceable(32) %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %49 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %17, i32 0, i32 0
  %50 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %3, i32 0, i32 0
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind writable sret(%"struct.glm::vec.8") align 1 %19, ptr noundef nonnull align 4 dereferenceable(16) %49, ptr noundef nonnull align 4 dereferenceable(16) %50, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %51 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  br i1 %51, label %52, label %56

52:                                               ; preds = %36
  %53 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %17, i32 0, i32 1
  %54 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %3, i32 0, i32 1
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind writable sret(%"struct.glm::vec.8") align 1 %20, ptr noundef nonnull align 4 dereferenceable(16) %53, ptr noundef nonnull align 4 dereferenceable(16) %54, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %55 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %20)
  br label %56

56:                                               ; preds = %52, %36
  %57 = phi i1 [ false, %36 ], [ %55, %52 ]
  %58 = zext i1 %57 to i64
  %59 = select i1 %57, i32 0, i32 1
  %60 = load i32, ptr %1, align 4, !tbaa !5
  %61 = add nsw i32 %60, %59
  store i32 %61, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %62 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %18, i32 0, i32 0
  %63 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %3, i32 0, i32 0
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind writable sret(%"struct.glm::vec.8") align 1 %21, ptr noundef nonnull align 4 dereferenceable(16) %62, ptr noundef nonnull align 4 dereferenceable(16) %63, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %64 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %21)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  br i1 %64, label %65, label %69

65:                                               ; preds = %56
  %66 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %18, i32 0, i32 1
  %67 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %3, i32 0, i32 1
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind writable sret(%"struct.glm::vec.8") align 1 %22, ptr noundef nonnull align 4 dereferenceable(16) %66, ptr noundef nonnull align 4 dereferenceable(16) %67, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %68 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %22)
  br label %69

69:                                               ; preds = %65, %56
  %70 = phi i1 [ false, %56 ], [ %68, %65 ]
  %71 = zext i1 %70 to i64
  %72 = select i1 %70, i32 0, i32 1
  %73 = load i32, ptr %1, align 4, !tbaa !5
  %74 = add nsw i32 %73, %72
  store i32 %74, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  %75 = call noundef float @_Z7myfrandv()
  %76 = call noundef float @_ZN3glm2piIfEET_v()
  %77 = fmul float %75, %76
  %78 = fmul float %77, 2.000000e+00
  %79 = call noundef float @_Z7myfrandv()
  %80 = call noundef float @_Z7myfrandv()
  %81 = call noundef float @_Z7myfrandv()
  call void @_ZN3glm3quaIfLNS_9qualifierE0EEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %24, float noundef %78, float noundef %79, float noundef %80, float noundef %81)
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #5
  %82 = call noundef float @_Z7myfrandv()
  %83 = fmul float %82, 1.000000e+01
  %84 = call noundef float @_Z7myfrandv()
  %85 = fmul float %84, 1.000000e+01
  %86 = call noundef float @_Z7myfrandv()
  %87 = fmul float %86, 1.000000e+01
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %25, float noundef %83, float noundef %85, float noundef %87)
  call void @_ZN3glm9tdualquatIfLNS_9qualifierE0EEC2ERKNS_3quaIfLS1_0EEERKNS_3vecILi3EfLS1_0EEE(ptr noundef nonnull align 4 dereferenceable(32) %23, ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(12) %25)
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #5
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind writable sret(%"struct.glm::tdualquat.7") align 4 %27, ptr noundef nonnull align 4 dereferenceable(32) %23, ptr noundef nonnull align 4 dereferenceable(32) %16)
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind writable sret(%"struct.glm::tdualquat.7") align 4 %26, ptr noundef nonnull align 4 dereferenceable(32) %27, ptr noundef nonnull align 4 dereferenceable(32) %15)
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #5
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind writable sret(%"struct.glm::tdualquat.7") align 4 %29, ptr noundef nonnull align 4 dereferenceable(32) %23, ptr noundef nonnull align 4 dereferenceable(32) %15)
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind writable sret(%"struct.glm::tdualquat.7") align 4 %28, ptr noundef nonnull align 4 dereferenceable(32) %29, ptr noundef nonnull align 4 dereferenceable(32) %16)
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %88 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %26, i32 0, i32 0
  %89 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %28, i32 0, i32 0
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind writable sret(%"struct.glm::vec.8") align 1 %30, ptr noundef nonnull align 4 dereferenceable(16) %88, ptr noundef nonnull align 4 dereferenceable(16) %89, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %90 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %30)
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  br i1 %90, label %91, label %95

91:                                               ; preds = %69
  %92 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %26, i32 0, i32 1
  %93 = getelementptr inbounds %"struct.glm::tdualquat.7", ptr %28, i32 0, i32 1
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind writable sret(%"struct.glm::vec.8") align 1 %31, ptr noundef nonnull align 4 dereferenceable(16) %92, ptr noundef nonnull align 4 dereferenceable(16) %93, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %94 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %31)
  br label %95

95:                                               ; preds = %91, %69
  %96 = phi i1 [ false, %69 ], [ %94, %91 ]
  %97 = zext i1 %96 to i64
  %98 = select i1 %96, i32 0, i32 1
  %99 = load i32, ptr %1, align 4, !tbaa !5
  %100 = add nsw i32 %99, %98
  store i32 %100, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #5
  br label %101

101:                                              ; preds = %95
  %102 = load i32, ptr %6, align 4, !tbaa !5
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %6, align 4, !tbaa !5
  br label %32, !llvm.loop !11

104:                                              ; preds = %35
  %105 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 64, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret i32 %105
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm18dual_quat_identityIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEEv(ptr dead_on_unwind noalias writable sret(%"struct.glm::tdualquat.7") align 4) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm12yawPitchRollIfEENS_3matILi4ELi4ET_LNS_9qualifierE0EEERKS2_S6_S6_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_S6_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm9translateIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_RKNS_3vecILi3ES3_XT0_EEE(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(12)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm9quat_castIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKNS_3matILi4ELi4ES3_XT0_EEE(ptr dead_on_unwind noalias writable sret(%"struct.glm::qua.4") align 4, ptr noundef nonnull align 4 dereferenceable(64)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm7inverseIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::tdualquat.7") align 4, ptr noundef nonnull align 4 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind noalias writable sret(%"struct.glm::tdualquat.7") align 4, ptr noundef nonnull align 4 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3glm2piIfEET_v() #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm9tdualquatIfLNS_9qualifierE0EEC2ERKNS_3quaIfLS1_0EEERKNS_3vecILi3EfLS1_0EEE(ptr noundef nonnull align 4 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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 = { 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 = !{!"float", !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.8" = type { %union.anon.9 }
%union.anon.9 = type { %struct.anon.10 }
%struct.anon.10 = type { i8, i8, i8, i8 }
%"struct.glm::tdualquat.7" = type { %"struct.glm::qua.4", %"struct.glm::qua.4" }
%"struct.glm::qua.4" = type { %union.anon.5 }
%union.anon.5 = type { %struct.anon.6 }
%struct.anon.6 = type { float, float, float, float }
%"struct.glm::mat" = type { [4 x %"struct.glm::vec.13"] }
%"struct.glm::vec.13" = type { %union.anon.14 }
%union.anon.14 = type { %struct.anon.15 }
%struct.anon.15 = type { float, float, float, float }
%"struct.glm::vec.18" = type { %union.anon.19 }
%union.anon.19 = type { %struct.anon.20 }
%struct.anon.20 = type { float, float, float }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z7myfrandv() local_unnamed_addr #0

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

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

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

; 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 #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind noalias writable sret(%"struct.glm::vec.8") align 1, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z12test_inversev() local_unnamed_addr #4 {
  %1 = alloca float, align 4
  %2 = alloca %"struct.glm::tdualquat.7", align 4
  %3 = alloca %"struct.glm::mat", align 4
  %4 = alloca float, align 4
  %5 = alloca %"struct.glm::mat", align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca %"struct.glm::vec.18", align 4
  %10 = alloca %"struct.glm::mat", align 4
  %11 = alloca %"struct.glm::mat", align 4
  %12 = alloca %"struct.glm::qua.4", align 4
  %13 = alloca %"struct.glm::tdualquat.7", align 4
  %14 = alloca %"struct.glm::tdualquat.7", align 4
  %15 = alloca %"struct.glm::tdualquat.7", align 4
  %16 = alloca %"struct.glm::tdualquat.7", align 4
  %17 = alloca %"struct.glm::vec.8", align 1
  %18 = alloca %"struct.glm::vec.8", align 1
  %19 = alloca %"struct.glm::vec.8", align 1
  %20 = alloca %"struct.glm::vec.8", align 1
  %21 = alloca %"struct.glm::tdualquat.7", align 4
  %22 = alloca %"struct.glm::qua.4", align 4
  %23 = alloca %"struct.glm::vec.18", align 4
  %24 = alloca %"struct.glm::tdualquat.7", align 4
  %25 = alloca %"struct.glm::tdualquat.7", align 4
  %26 = alloca %"struct.glm::tdualquat.7", align 4
  %27 = alloca %"struct.glm::tdualquat.7", align 4
  %28 = alloca %"struct.glm::vec.8", align 1
  %29 = alloca %"struct.glm::vec.8", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  store float 0x3F1A36E2E0000000, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  call void @_ZN3glm18dual_quat_identityIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::tdualquat.7") align 4 %2)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  store float 1.000000e+00, ptr %4, align 4, !tbaa !5
  call void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  %30 = getelementptr inbounds i8, ptr %15, i64 16
  %31 = getelementptr inbounds i8, ptr %2, i64 16
  %32 = getelementptr inbounds i8, ptr %16, i64 16
  %33 = getelementptr inbounds i8, ptr %24, i64 16
  %34 = getelementptr inbounds i8, ptr %26, i64 16
  br label %36

35:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret i32 %82

36:                                               ; preds = %0, %79
  %.010 = phi i32 [ 0, %0 ], [ %83, %79 ]
  %.069 = phi i32 [ 0, %0 ], [ %82, %79 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %37 = call noundef float @_Z7myfrandv()
  %38 = fmul float %37, 3.600000e+02
  store float %38, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  %39 = call noundef float @_Z7myfrandv()
  %40 = fmul float %39, 3.600000e+02
  store float %40, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %41 = call noundef float @_Z7myfrandv()
  %42 = fmul float %41, 3.600000e+02
  store float %42, ptr %8, align 4, !tbaa !5
  call void @_ZN3glm12yawPitchRollIfEENS_3matILi4ELi4ET_LNS_9qualifierE0EEERKS2_S6_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat") align 4 %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #5
  %43 = call noundef float @_Z7myfrandv()
  %44 = fmul float %43, 1.000000e+01
  %45 = call noundef float @_Z7myfrandv()
  %46 = fmul float %45, 1.000000e+01
  %47 = call noundef float @_Z7myfrandv()
  %48 = fmul float %47, 1.000000e+01
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %9, float noundef %44, float noundef %46, float noundef %48)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  call void @_ZN3glm9translateIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_RKNS_3vecILi3ES3_XT0_EEE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat") align 4 %11, ptr noundef nonnull align 4 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::mat") align 4 %10, ptr noundef nonnull align 4 dereferenceable(64) %11, ptr noundef nonnull align 4 dereferenceable(64) %5)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  call void @_ZN3glm9quat_castIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKNS_3matILi4ELi4ES3_XT0_EEE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::qua.4") align 4 %12, ptr noundef nonnull align 4 dereferenceable(64) %10)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #5
  call void @_ZN3glm9tdualquatIfLNS_9qualifierE0EEC2ERKNS_3quaIfLS1_0EEE(ptr noundef nonnull align 4 dereferenceable(32) %13, ptr noundef nonnull align 4 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #5
  call void @_ZN3glm7inverseIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::tdualquat.7") align 4 %14, ptr noundef nonnull align 4 dereferenceable(32) %13)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #5
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::tdualquat.7") align 4 %15, ptr noundef nonnull align 4 dereferenceable(32) %14, ptr noundef nonnull align 4 dereferenceable(32) %13)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #5
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::tdualquat.7") align 4 %16, ptr noundef nonnull align 4 dereferenceable(32) %13, ptr noundef nonnull align 4 dereferenceable(32) %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::vec.8") align 1 %17, ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %49 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #5
  br i1 %49, label %50, label %52

50:                                               ; preds = %36
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::vec.8") align 1 %18, ptr noundef nonnull align 4 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %51 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %18)
  br label %52

52:                                               ; preds = %50, %36
  %53 = phi i1 [ false, %36 ], [ %51, %50 ]
  %not. = xor i1 %53, true
  %54 = zext i1 %not. to i32
  %55 = add nsw i32 %.069, %54
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #5
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::vec.8") align 1 %19, ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %56 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #5
  br i1 %56, label %57, label %59

57:                                               ; preds = %52
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::vec.8") align 1 %20, ptr noundef nonnull align 4 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %58 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %20)
  br label %59

59:                                               ; preds = %57, %52
  %60 = phi i1 [ false, %52 ], [ %58, %57 ]
  %not.7 = xor i1 %60, true
  %61 = zext i1 %not.7 to i32
  %62 = add nsw i32 %55, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  %63 = call noundef float @_Z7myfrandv()
  %64 = call noundef float @_ZN3glm2piIfEET_v()
  %65 = fmul float %63, %64
  %66 = fmul float %65, 2.000000e+00
  %67 = call noundef float @_Z7myfrandv()
  %68 = call noundef float @_Z7myfrandv()
  %69 = call noundef float @_Z7myfrandv()
  call void @_ZN3glm3quaIfLNS_9qualifierE0EEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %22, float noundef %66, float noundef %67, float noundef %68, float noundef %69)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #5
  %70 = call noundef float @_Z7myfrandv()
  %71 = fmul float %70, 1.000000e+01
  %72 = call noundef float @_Z7myfrandv()
  %73 = fmul float %72, 1.000000e+01
  %74 = call noundef float @_Z7myfrandv()
  %75 = fmul float %74, 1.000000e+01
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %71, float noundef %73, float noundef %75)
  call void @_ZN3glm9tdualquatIfLNS_9qualifierE0EEC2ERKNS_3quaIfLS1_0EEERKNS_3vecILi3EfLS1_0EEE(ptr noundef nonnull align 4 dereferenceable(32) %21, ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(12) %23)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #5
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::tdualquat.7") align 4 %25, ptr noundef nonnull align 4 dereferenceable(32) %21, ptr noundef nonnull align 4 dereferenceable(32) %14)
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::tdualquat.7") align 4 %24, ptr noundef nonnull align 4 dereferenceable(32) %25, ptr noundef nonnull align 4 dereferenceable(32) %13)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #5
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::tdualquat.7") align 4 %27, ptr noundef nonnull align 4 dereferenceable(32) %21, ptr noundef nonnull align 4 dereferenceable(32) %13)
  call void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::tdualquat.7") align 4 %26, ptr noundef nonnull align 4 dereferenceable(32) %27, ptr noundef nonnull align 4 dereferenceable(32) %14)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #5
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::vec.8") align 1 %28, ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %76 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %28)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #5
  br i1 %76, label %77, label %79

77:                                               ; preds = %59
  call void @_ZN3glm12epsilonEqualIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_RKS5_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::vec.8") align 1 %29, ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(16) %34, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %78 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %29)
  br label %79

79:                                               ; preds = %77, %59
  %80 = phi i1 [ false, %59 ], [ %78, %77 ]
  %not.8 = xor i1 %80, true
  %81 = zext i1 %not.8 to i32
  %82 = add nsw i32 %62, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #5
  %83 = add nuw nsw i32 %.010, 1
  %exitcond.not = icmp eq i32 %83, 100
  br i1 %exitcond.not, label %35, label %36, !llvm.loop !9
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm18dual_quat_identityIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEEv(ptr dead_on_unwind noalias writable sret(%"struct.glm::tdualquat.7") align 4) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm3matILi4ELi4EfLNS_9qualifierE0EEC2ERKf(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm12yawPitchRollIfEENS_3matILi4ELi4ET_LNS_9qualifierE0EEERKS2_S6_S6_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glmmlIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_S6_(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm9translateIfLNS_9qualifierE0EEENS_3matILi4ELi4ET_XT0_EEERKS4_RKNS_3vecILi3ES3_XT0_EEE(ptr dead_on_unwind noalias writable sret(%"struct.glm::mat") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm9quat_castIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKNS_3matILi4ELi4ES3_XT0_EEE(ptr dead_on_unwind noalias writable sret(%"struct.glm::qua.4") align 4, ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm7inverseIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_(ptr dead_on_unwind noalias writable sret(%"struct.glm::tdualquat.7") align 4, ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glmmlIfLNS_9qualifierE0EEENS_9tdualquatIT_XT0_EEERKS4_S6_(ptr dead_on_unwind noalias writable sret(%"struct.glm::tdualquat.7") align 4, ptr noundef nonnull align 4 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3glm2piIfEET_v() local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3glm9tdualquatIfLNS_9qualifierE0EEC2ERKNS_3quaIfLS1_0EEERKNS_3vecILi3EfLS1_0EEE(ptr noundef nonnull align 4 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass