; LLVM IR from Eydcao/Yan-CG-SnowSim :: src/camera.ll (ZN6Camera15ArcBallRotationEii)

; 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.Eigen::CwiseNullaryOp" = type { [3 x i8] }
%"class.Eigen::Matrix.3" = type { %"class.Eigen::PlainObjectBase.4" }
%"class.Eigen::PlainObjectBase.4" = type { %"class.Eigen::DenseStorage.11" }
%"class.Eigen::DenseStorage.11" = type { %"struct.Eigen::internal::plain_array.12" }
%"struct.Eigen::internal::plain_array.12" = type { [3 x float] }
%"class.Eigen::Matrix.17" = type { %"class.Eigen::PlainObjectBase.18" }
%"class.Eigen::PlainObjectBase.18" = type { %"class.Eigen::DenseStorage.25" }
%"class.Eigen::DenseStorage.25" = type { %"struct.Eigen::internal::plain_array.26" }
%"struct.Eigen::internal::plain_array.26" = type { [9 x float] }
%"class.Eigen::AngleAxis" = type { %"class.Eigen::Matrix.3", float }
%"class.Eigen::Block" = type { %"class.Eigen::BlockImpl" }
%"class.Eigen::BlockImpl" = type { %"class.Eigen::internal::BlockImpl_dense" }
%"class.Eigen::internal::BlockImpl_dense" = type { %"class.Eigen::MapBase.base.34", ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", i64 }
%"class.Eigen::MapBase.base.34" = type { %"class.Eigen::MapBase.base" }
%"class.Eigen::MapBase.base" = type <{ ptr, [2 x i8] }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Product" = type { ptr, ptr }
%class.Camera = type { [2 x i32], [2 x i32], i32, [12 x i8], %"class.Eigen::Matrix", %"class.Eigen::Matrix", [2 x float], [4 x i32], %"class.Eigen::Matrix.3", %"class.Eigen::Matrix.3", float, float, [8 x i8] }
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [16 x float] }

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEE8IdentityEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseNullaryOp") align 1) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSINS_14CwiseNullaryOpINS_8internal18scalar_identity_opIfEES1_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Camera15ArcBallRotationEii(ptr noundef nonnull align 16 dereferenceable(216) %0, i32 noundef %1, i32 noundef %2) #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca %"class.Eigen::Matrix.3", align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca %"class.Eigen::Matrix.17", align 4
  %23 = alloca %"class.Eigen::AngleAxis", align 4
  %24 = alloca %"class.Eigen::CwiseNullaryOp", align 1
  %25 = alloca %"class.Eigen::Block", align 8
  %26 = alloca %"class.Eigen::Product", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  %27 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %28 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 1
  %29 = getelementptr inbounds [2 x i32], ptr %28, i64 0, i64 0
  %30 = load i32, ptr %29, align 8, !tbaa !9
  %31 = sitofp i32 %30 to float
  %32 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 0
  %33 = getelementptr inbounds [2 x i32], ptr %32, i64 0, i64 0
  %34 = load i32, ptr %33, align 16, !tbaa !9
  %35 = sitofp i32 %34 to float
  %36 = fdiv float %35, 2.000000e+00
  %37 = fsub float %31, %36
  store float %37, ptr %7, align 4, !tbaa !11
  %38 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 1
  %39 = getelementptr inbounds [2 x i32], ptr %38, i64 0, i64 1
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = sitofp i32 %40 to float
  %42 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 0
  %43 = getelementptr inbounds [2 x i32], ptr %42, i64 0, i64 1
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = sitofp i32 %44 to float
  %46 = fdiv float %45, 2.000000e+00
  %47 = fsub float %41, %46
  store float %47, ptr %8, align 4, !tbaa !11
  %48 = load i32, ptr %5, align 4, !tbaa !9
  %49 = sitofp i32 %48 to float
  %50 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 0
  %51 = getelementptr inbounds [2 x i32], ptr %50, i64 0, i64 0
  %52 = load i32, ptr %51, align 16, !tbaa !9
  %53 = sitofp i32 %52 to float
  %54 = fdiv float %53, 2.000000e+00
  %55 = fsub float %49, %54
  store float %55, ptr %10, align 4, !tbaa !11
  %56 = load i32, ptr %6, align 4, !tbaa !9
  %57 = sitofp i32 %56 to float
  %58 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 0
  %59 = getelementptr inbounds [2 x i32], ptr %58, i64 0, i64 1
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = sitofp i32 %60 to float
  %62 = fdiv float %61, 2.000000e+00
  %63 = fsub float %57, %62
  store float %63, ptr %11, align 4, !tbaa !11
  %64 = load float, ptr %8, align 4, !tbaa !11
  %65 = fneg float %64
  store float %65, ptr %8, align 4, !tbaa !11
  %66 = load float, ptr %11, align 4, !tbaa !11
  %67 = fneg float %66
  store float %67, ptr %11, align 4, !tbaa !11
  %68 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 0
  %69 = getelementptr inbounds [2 x i32], ptr %68, i64 0, i64 0
  %70 = load i32, ptr %69, align 16, !tbaa !9
  %71 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 0
  %72 = getelementptr inbounds [2 x i32], ptr %71, i64 0, i64 1
  %73 = load i32, ptr %72, align 4, !tbaa !9
  %74 = icmp sgt i32 %70, %73
  br i1 %74, label %75, label %80

75:                                               ; preds = %3
  %76 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 0
  %77 = getelementptr inbounds [2 x i32], ptr %76, i64 0, i64 1
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = sitofp i32 %78 to float
  store float %79, ptr %13, align 4, !tbaa !11
  br label %85

80:                                               ; preds = %3
  %81 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 0
  %82 = getelementptr inbounds [2 x i32], ptr %81, i64 0, i64 0
  %83 = load i32, ptr %82, align 16, !tbaa !9
  %84 = sitofp i32 %83 to float
  store float %84, ptr %13, align 4, !tbaa !11
  br label %85

85:                                               ; preds = %80, %75
  %86 = load float, ptr %13, align 4, !tbaa !11
  %87 = fdiv float 1.000000e+00, %86
  store float %87, ptr %13, align 4, !tbaa !11
  %88 = load float, ptr %13, align 4, !tbaa !11
  %89 = load float, ptr %7, align 4, !tbaa !11
  %90 = fmul float %89, %88
  store float %90, ptr %7, align 4, !tbaa !11
  %91 = load float, ptr %13, align 4, !tbaa !11
  %92 = load float, ptr %8, align 4, !tbaa !11
  %93 = fmul float %92, %91
  store float %93, ptr %8, align 4, !tbaa !11
  %94 = load float, ptr %13, align 4, !tbaa !11
  %95 = load float, ptr %10, align 4, !tbaa !11
  %96 = fmul float %95, %94
  store float %96, ptr %10, align 4, !tbaa !11
  %97 = load float, ptr %13, align 4, !tbaa !11
  %98 = load float, ptr %11, align 4, !tbaa !11
  %99 = fmul float %98, %97
  store float %99, ptr %11, align 4, !tbaa !11
  %100 = load float, ptr %7, align 4, !tbaa !11
  %101 = load float, ptr %8, align 4, !tbaa !11
  %102 = call noundef float @_ZSt5hypotff(float noundef %100, float noundef %101)
  store float %102, ptr %14, align 4, !tbaa !11
  %103 = load float, ptr %10, align 4, !tbaa !11
  %104 = load float, ptr %11, align 4, !tbaa !11
  %105 = call noundef float @_ZSt5hypotff(float noundef %103, float noundef %104)
  store float %105, ptr %15, align 4, !tbaa !11
  %106 = load float, ptr %14, align 4, !tbaa !11
  %107 = fcmp ogt float %106, 1.000000e+00
  br i1 %107, label %108, label %115

108:                                              ; preds = %85
  %109 = load float, ptr %14, align 4, !tbaa !11
  %110 = load float, ptr %7, align 4, !tbaa !11
  %111 = fdiv float %110, %109
  store float %111, ptr %7, align 4, !tbaa !11
  %112 = load float, ptr %14, align 4, !tbaa !11
  %113 = load float, ptr %8, align 4, !tbaa !11
  %114 = fdiv float %113, %112
  store float %114, ptr %8, align 4, !tbaa !11
  store float 1.000000e+00, ptr %14, align 4, !tbaa !11
  br label %115

115:                                              ; preds = %108, %85
  %116 = load float, ptr %15, align 4, !tbaa !11
  %117 = fcmp ogt float %116, 1.000000e+00
  br i1 %117, label %118, label %125

118:                                              ; preds = %115
  %119 = load float, ptr %15, align 4, !tbaa !11
  %120 = load float, ptr %10, align 4, !tbaa !11
  %121 = fdiv float %120, %119
  store float %121, ptr %10, align 4, !tbaa !11
  %122 = load float, ptr %15, align 4, !tbaa !11
  %123 = load float, ptr %11, align 4, !tbaa !11
  %124 = fdiv float %123, %122
  store float %124, ptr %11, align 4, !tbaa !11
  store float 1.000000e+00, ptr %15, align 4, !tbaa !11
  br label %125

125:                                              ; preds = %118, %115
  %126 = load float, ptr %14, align 4, !tbaa !11
  %127 = load float, ptr %14, align 4, !tbaa !11
  %128 = fneg float %126
  %129 = call float @llvm.fmuladd.f32(float %128, float %127, float 1.000000e+00)
  %130 = call noundef float @_ZSt4sqrtf(float noundef %129)
  store float %130, ptr %9, align 4, !tbaa !11
  %131 = load float, ptr %15, align 4, !tbaa !11
  %132 = load float, ptr %15, align 4, !tbaa !11
  %133 = fneg float %131
  %134 = call float @llvm.fmuladd.f32(float %133, float %132, float 1.000000e+00)
  %135 = call noundef float @_ZSt4sqrtf(float noundef %134)
  store float %135, ptr %12, align 4, !tbaa !11
  %136 = load float, ptr %7, align 4, !tbaa !11
  %137 = load float, ptr %10, align 4, !tbaa !11
  %138 = load float, ptr %8, align 4, !tbaa !11
  %139 = load float, ptr %11, align 4, !tbaa !11
  %140 = fmul float %138, %139
  %141 = call float @llvm.fmuladd.f32(float %136, float %137, float %140)
  %142 = load float, ptr %9, align 4, !tbaa !11
  %143 = load float, ptr %12, align 4, !tbaa !11
  %144 = call float @llvm.fmuladd.f32(float %142, float %143, float %141)
  store float %144, ptr %16, align 4, !tbaa !11
  %145 = load float, ptr %16, align 4, !tbaa !11
  %146 = fcmp une float %145, 1.000000e+00
  br i1 %146, label %147, label %186

147:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %148 = load float, ptr %8, align 4, !tbaa !11
  %149 = load float, ptr %12, align 4, !tbaa !11
  %150 = load float, ptr %11, align 4, !tbaa !11
  %151 = load float, ptr %9, align 4, !tbaa !11
  %152 = fmul float %150, %151
  %153 = fneg float %152
  %154 = call float @llvm.fmuladd.f32(float %148, float %149, float %153)
  store float %154, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %155 = load float, ptr %9, align 4, !tbaa !11
  %156 = load float, ptr %10, align 4, !tbaa !11
  %157 = load float, ptr %12, align 4, !tbaa !11
  %158 = load float, ptr %7, align 4, !tbaa !11
  %159 = fmul float %157, %158
  %160 = fneg float %159
  %161 = call float @llvm.fmuladd.f32(float %155, float %156, float %160)
  store float %161, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %162 = load float, ptr %7, align 4, !tbaa !11
  %163 = load float, ptr %11, align 4, !tbaa !11
  %164 = load float, ptr %10, align 4, !tbaa !11
  %165 = load float, ptr %8, align 4, !tbaa !11
  %166 = fmul float %164, %165
  %167 = fneg float %166
  %168 = call float @llvm.fmuladd.f32(float %162, float %163, float %167)
  store float %168, ptr %20, align 4, !tbaa !11
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20)
  call void @llvm.lifetime.end.p0(i64 4, 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 @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9normalizeEv(ptr noundef nonnull align 1 dereferenceable(1) %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %169 = load float, ptr %16, align 4, !tbaa !11
  %170 = call noundef float @_ZSt4acosf(float noundef %169)
  %171 = fmul float 2.000000e+00, %170
  store float %171, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 36, ptr %22) #6
  call void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(36) %22)
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  call void @_ZN5Eigen9AngleAxisIfEC2INS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEERKfRKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(16) %23, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 1 dereferenceable(1) %17)
  %172 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSINS_9AngleAxisIfEEEERS1_RKNS_12RotationBaseIT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(36) %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr %24) #6
  call void @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEE8IdentityEv(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseNullaryOp") align 1 %24)
  %173 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 5
  %174 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSINS_14CwiseNullaryOpINS_8internal18scalar_identity_opIfEES1_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(64) %173, ptr noundef nonnull align 1 dereferenceable(1) %24)
  call void @llvm.lifetime.end.p0(i64 3, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #6
  %175 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 5
  call void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEE5blockILi3ELi3EEENS3_13FixedBlockXprIXT_EXT0_EE4TypeEll(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %25, ptr noundef nonnull align 1 dereferenceable(1) %175, i64 noundef 0, i64 noundef 0)
  %176 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen5BlockINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEELi3ELi3ELb0EEaSINS1_IfLi3ELi3ELi0ELi3ELi3EEEEERS3_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 1 dereferenceable(1) %22)
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %177 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 5
  %178 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 4
  %179 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEEmlIS2_EEKNS_7ProductIS2_T_Li0EEERKNS0_IS6_EE(ptr noundef nonnull align 1 dereferenceable(1) %177, ptr noundef nonnull align 1 dereferenceable(1) %178)
  %180 = getelementptr inbounds { ptr, ptr }, ptr %26, i32 0, i32 0
  %181 = extractvalue { ptr, ptr } %179, 0
  store ptr %181, ptr %180, align 8
  %182 = getelementptr inbounds { ptr, ptr }, ptr %26, i32 0, i32 1
  %183 = extractvalue { ptr, ptr } %179, 1
  store ptr %183, ptr %182, align 8
  %184 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 5
  %185 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSINS_7ProductIS1_S1_Li0EEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(64) %184, ptr noundef nonnull align 1 dereferenceable(1) %26)
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #6
  br label %190

186:                                              ; preds = %125
  %187 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 4
  %188 = getelementptr inbounds %class.Camera, ptr %27, i32 0, i32 5
  %189 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(64) %188, ptr noundef nonnull align 16 dereferenceable(64) %187)
  br label %190

190:                                              ; preds = %186, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt5hypotff(float noundef, float noundef) #3

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9normalizeEv(ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEE5blockILi3ELi3EEENS3_13FixedBlockXprIXT_EXT0_EE4TypeEll(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Block") align 8, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, i64 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen5BlockINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEELi3ELi3ELb0EEaSINS1_IfLi3ELi3ELi0ELi3ELi3EEEEERS3_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEEmlIS2_EEKNS_7ProductIS2_T_Li0EEERKNS0_IS6_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSINS_7ProductIS1_S1_Li0EEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(1)) #1 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 nosync nounwind speculatable willreturn memory(none) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}


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

%"class.Eigen::CwiseNullaryOp" = type { [3 x i8] }
%"class.Eigen::Matrix.3" = type { %"class.Eigen::PlainObjectBase.4" }
%"class.Eigen::PlainObjectBase.4" = type { %"class.Eigen::DenseStorage.11" }
%"class.Eigen::DenseStorage.11" = type { %"struct.Eigen::internal::plain_array.12" }
%"struct.Eigen::internal::plain_array.12" = type { [3 x float] }
%"class.Eigen::Matrix.17" = type { %"class.Eigen::PlainObjectBase.18" }
%"class.Eigen::PlainObjectBase.18" = type { %"class.Eigen::DenseStorage.25" }
%"class.Eigen::DenseStorage.25" = type { %"struct.Eigen::internal::plain_array.26" }
%"struct.Eigen::internal::plain_array.26" = type { [9 x float] }
%"class.Eigen::AngleAxis" = type { %"class.Eigen::Matrix.3", float }
%"class.Eigen::Block" = type { %"class.Eigen::BlockImpl" }
%"class.Eigen::BlockImpl" = type { %"class.Eigen::internal::BlockImpl_dense" }
%"class.Eigen::internal::BlockImpl_dense" = type { %"class.Eigen::MapBase.base.34", ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic", i64 }
%"class.Eigen::MapBase.base.34" = type { %"class.Eigen::MapBase.base" }
%"class.Eigen::MapBase.base" = type <{ ptr, [2 x i8] }>
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Product" = type { ptr, ptr }

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEE8IdentityEv(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseNullaryOp") align 1) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSINS_14CwiseNullaryOpINS_8internal18scalar_identity_opIfEES1_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Camera15ArcBallRotationEii(ptr noundef nonnull align 16 dereferenceable(216) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 align 2 {
  %4 = alloca %"class.Eigen::Matrix.3", align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca %"class.Eigen::Matrix.17", align 4
  %10 = alloca %"class.Eigen::AngleAxis", align 4
  %11 = alloca %"class.Eigen::CwiseNullaryOp", align 1
  %12 = alloca %"class.Eigen::Block", align 8
  %13 = alloca %"class.Eigen::Product", align 8
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  %15 = load i32, ptr %14, align 8, !tbaa !5
  %16 = sitofp i32 %15 to float
  %17 = load i32, ptr %0, align 16, !tbaa !5
  %18 = sitofp i32 %17 to float
  %19 = fmul float %18, 5.000000e-01
  %20 = fsub float %16, %19
  %21 = getelementptr inbounds i8, ptr %0, i64 12
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %0, i64 4
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = sitofp i32 %24 to float
  %26 = fmul float %25, 5.000000e-01
  %27 = sitofp i32 %1 to float
  %28 = fsub float %27, %19
  %.61 = tail call i32 @llvm.smin.i32(i32 %17, i32 %24)
  %. = sitofp i32 %.61 to float
  %29 = fdiv float 1.000000e+00, %.
  %30 = fmul float %20, %29
  %31 = fmul float %28, %29
  %32 = insertelement <2 x i32> poison, i32 %22, i64 0
  %33 = insertelement <2 x i32> %32, i32 %2, i64 1
  %34 = sitofp <2 x i32> %33 to <2 x float>
  %35 = insertelement <2 x float> poison, float %26, i64 0
  %36 = shufflevector <2 x float> %35, <2 x float> poison, <2 x i32> zeroinitializer
  %37 = fsub <2 x float> %34, %36
  %38 = fneg <2 x float> %37
  %39 = insertelement <2 x float> poison, float %29, i64 0
  %40 = shufflevector <2 x float> %39, <2 x float> poison, <2 x i32> zeroinitializer
  %41 = fmul <2 x float> %40, %38
  %42 = extractelement <2 x float> %41, i64 0
  %43 = tail call noundef float @_ZSt5hypotff(float noundef %30, float noundef %42)
  %44 = extractelement <2 x float> %41, i64 1
  %45 = tail call noundef float @_ZSt5hypotff(float noundef %31, float noundef %44)
  %46 = fdiv float %30, %43
  %47 = insertelement <2 x float> poison, float %43, i64 0
  %48 = insertelement <2 x float> %47, float %45, i64 1
  %49 = fcmp ogt <2 x float> %48, <float 1.000000e+00, float 1.000000e+00>
  %50 = extractelement <2 x i1> %49, i64 0
  %.052 = select i1 %50, float 1.000000e+00, float %43
  %.0 = select i1 %50, float %46, float %30
  %51 = fdiv float %31, %45
  %52 = fdiv <2 x float> %41, %48
  %53 = extractelement <2 x i1> %49, i64 1
  %.056 = select i1 %53, float %51, float %31
  %54 = select <2 x i1> %49, <2 x float> %52, <2 x float> %41
  %.051 = select i1 %53, float 1.000000e+00, float %45
  %55 = fneg float %.052
  %56 = tail call float @llvm.fmuladd.f32(float %55, float %.052, float 1.000000e+00)
  %57 = tail call noundef float @_ZSt4sqrtf(float noundef %56)
  %58 = fneg float %.051
  %59 = tail call float @llvm.fmuladd.f32(float %58, float %.051, float 1.000000e+00)
  %60 = tail call noundef float @_ZSt4sqrtf(float noundef %59)
  %61 = extractelement <2 x float> %54, i64 0
  %62 = extractelement <2 x float> %54, i64 1
  %63 = fmul float %61, %62
  %64 = tail call float @llvm.fmuladd.f32(float %.0, float %.056, float %63)
  %65 = tail call float @llvm.fmuladd.f32(float %57, float %60, float %64)
  %66 = fcmp une float %65, 1.000000e+00
  br i1 %66, label %67, label %89

67:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %68 = fneg float %62
  %69 = fmul float %57, %68
  %70 = tail call float @llvm.fmuladd.f32(float %61, float %60, float %69)
  store float %70, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %71 = fneg float %60
  %72 = fmul float %.0, %71
  %73 = tail call float @llvm.fmuladd.f32(float %57, float %.056, float %72)
  store float %73, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %74 = fneg float %.056
  %75 = fmul float %61, %74
  %76 = tail call float @llvm.fmuladd.f32(float %.0, float %62, float %75)
  store float %76, ptr %7, align 4, !tbaa !9
  call void @_ZN5Eigen6MatrixIfLi3ELi1ELi0ELi3ELi1EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9normalizeEv(ptr noundef nonnull align 1 dereferenceable(1) %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  %77 = call noundef float @_ZSt4acosf(float noundef %65)
  %78 = fmul float %77, 2.000000e+00
  store float %78, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %9) #7
  call void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(36) %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN5Eigen9AngleAxisIfEC2INS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEEERKfRKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(1) %4)
  %79 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEaSINS_9AngleAxisIfEEEERS1_RKNS_12RotationBaseIT_Li3EEE(ptr noundef nonnull align 4 dereferenceable(36) %9, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %11) #7
  call void @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEE8IdentityEv(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseNullaryOp") align 1 %11)
  %80 = getelementptr inbounds i8, ptr %0, i64 96
  %81 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSINS_14CwiseNullaryOpINS_8internal18scalar_identity_opIfEES1_EEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(64) %80, ptr noundef nonnull align 1 dereferenceable(1) %11)
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #7
  call void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEE5blockILi3ELi3EEENS3_13FixedBlockXprIXT_EXT0_EE4TypeEll(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %12, ptr noundef nonnull align 1 dereferenceable(1) %80, i64 noundef 0, i64 noundef 0)
  %82 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen5BlockINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEELi3ELi3ELb0EEaSINS1_IfLi3ELi3ELi0ELi3ELi3EEEEERS3_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  %83 = getelementptr inbounds i8, ptr %0, i64 32
  %84 = call { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEEmlIS2_EEKNS_7ProductIS2_T_Li0EEERKNS0_IS6_EE(ptr noundef nonnull align 1 dereferenceable(1) %80, ptr noundef nonnull align 1 dereferenceable(1) %83)
  %85 = extractvalue { ptr, ptr } %84, 0
  store ptr %85, ptr %13, align 8
  %86 = getelementptr inbounds i8, ptr %13, i64 8
  %87 = extractvalue { ptr, ptr } %84, 1
  store ptr %87, ptr %86, align 8
  %88 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSINS_7ProductIS1_S1_Li0EEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(64) %80, ptr noundef nonnull align 1 dereferenceable(1) %13)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #7
  br label %93

89:                                               ; preds = %3
  %90 = getelementptr inbounds i8, ptr %0, i64 32
  %91 = getelementptr inbounds i8, ptr %0, i64 96
  %92 = tail call noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(64) %91, ptr noundef nonnull align 16 dereferenceable(64) %90)
  br label %93

93:                                               ; preds = %89, %67
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt5hypotff(float noundef, float noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen10MatrixBaseINS_6MatrixIfLi3ELi1ELi0ELi3ELi1EEEE9normalizeEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIfLi3ELi3ELi0ELi3ELi3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(36)) unnamed_addr #1 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen9DenseBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEE5blockILi3ELi3EEENS3_13FixedBlockXprIXT_EXT0_EE4TypeEll(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Block") align 8, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN5Eigen5BlockINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEELi3ELi3ELb0EEaSINS1_IfLi3ELi3ELi0ELi3ELi3EEEEERS3_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, ptr } @_ZNK5Eigen10MatrixBaseINS_6MatrixIfLi4ELi4ELi0ELi4ELi4EEEEmlIS2_EEKNS_7ProductIS2_T_Li0EEERKNS0_IS6_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZN5Eigen6MatrixIfLi4ELi4ELi0ELi4ELi4EEaSINS_7ProductIS1_S1_Li0EEEEERS1_RKNS_9DenseBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #6

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 nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass