; LLVM IR from jrouwe/JoltPhysics :: TestFramework/Renderer (DebugRendererImp)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.JPH::Color" = type { %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.std::lock_guard" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.13 }
%union.anon.13 = type { <4 x float> }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"struct.DebugRendererImp::InstanceWithLODInfo" = type <{ %"struct.DebugRendererImp::Instance.base", [12 x i8], %"class.JPH::AABox", float, [12 x i8] }>
%"struct.DebugRendererImp::Instance.base" = type <{ %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Color" }>
%class.DebugRendererImp = type { %"class.JPH::DebugRenderer", ptr, %"class.std::unique_ptr", %"class.std::unique_ptr", %"class.std::unique_ptr", %"class.std::unique_ptr", %"class.std::unique_ptr", %"class.std::unique_ptr", %"class.JPH::Mutex", %"class.JPH::Ref.17", %"class.JPH::UnorderedMap.37", %"class.JPH::UnorderedMap.37", %"class.JPH::UnorderedMap.37", %"class.JPH::UnorderedMap.37", i32, [2 x %"class.JPH::Ref.41"], %"class.JPH::Ref.42", ptr, ptr, ptr, %"class.JPH::AABox", %"class.JPH::Array.43", %"class.JPH::Mutex", %"class.JPH::RefConst", %"class.JPH::Array.46", %"class.JPH::Mutex", %"class.std::unique_ptr" }
%"class.JPH::DebugRenderer" = type { ptr, %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::Ref", %"class.JPH::UnorderedMap", %"class.JPH::UnorderedMap", %"class.JPH::UnorderedMap.1", %"class.JPH::UnorderedMap.1", %"class.JPH::UnorderedMap.5", %"class.JPH::UnorderedMap.5", %"class.JPH::UnorderedMap.9", %"class.JPH::UnorderedMap.9" }
%"class.JPH::Ref" = type { ptr }
%"class.JPH::UnorderedMap" = type { %"class.JPH::HashTable.base", [4 x i8] }
%"class.JPH::HashTable.base" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::UnorderedMap.1" = type { %"class.JPH::HashTable.base.3", [4 x i8] }
%"class.JPH::HashTable.base.3" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::UnorderedMap.5" = type { %"class.JPH::HashTable.base.7", [4 x i8] }
%"class.JPH::HashTable.base.7" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::UnorderedMap.9" = type { %"class.JPH::HashTable.base.11", [4 x i8] }
%"class.JPH::HashTable.base.11" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::Ref.17" = type { ptr }
%"class.JPH::UnorderedMap.37" = type { %"class.JPH::HashTable.base.39", [4 x i8] }
%"class.JPH::HashTable.base.39" = type <{ ptr, ptr, i32, i32, i32 }>
%"class.JPH::Ref.41" = type { ptr }
%"class.JPH::Ref.42" = type { ptr }
%"class.JPH::Array.43" = type { i64, i64, ptr }
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::Array.46" = type { i64, i64, ptr }
%"class.JPH::Mutex" = type { %"class.std::mutex", %"class.std::thread::id" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::thread::id" = type { i64 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.36" }
%"struct.std::_Head_base.36" = type { ptr }
%"struct.DebugRendererImp::Instances" = type { %"class.JPH::Array.52", %"class.JPH::Array.55", %"class.JPH::Array.55" }
%"class.JPH::Array.52" = type { i64, i64, ptr }
%"class.JPH::Array.55" = type { i64, i64, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK8Renderer13GetBaseOffsetEv(ptr noundef nonnull align 16 dereferenceable(832)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt10lock_guardIN3JPH5MutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16DebugRendererImp12DrawGeometryERKN3JPH5Mat44ERKNS0_5AABoxEfNS0_5ColorERKNS0_3RefINS0_13DebugRenderer8GeometryEEENS9_9ECullModeENS9_11ECastShadowENS9_9EDrawModeE(ptr noundef nonnull align 16 dereferenceable(816) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, ptr noundef nonnull align 16 dereferenceable(32) %2, float noundef %3, i32 %4, ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.JPH::Color", align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca float, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::lock_guard", align 8
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.JPH::Mat44", align 16
  %24 = alloca %"class.JPH::Mat44", align 16
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::AABox", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Color", align 4
  %29 = alloca %"class.JPH::Color", align 4
  %30 = alloca %"class.JPH::Color", align 4
  %31 = alloca %"struct.DebugRendererImp::InstanceWithLODInfo", align 16
  %32 = alloca %"class.JPH::Mat44", align 16
  %33 = alloca %"class.JPH::Color", align 4
  %34 = alloca %"struct.DebugRendererImp::InstanceWithLODInfo", align 16
  %35 = alloca %"class.JPH::Mat44", align 16
  %36 = alloca %"class.JPH::Color", align 4
  %37 = alloca %"struct.DebugRendererImp::InstanceWithLODInfo", align 16
  %38 = alloca %"class.JPH::Mat44", align 16
  %39 = alloca %"class.JPH::Color", align 4
  %40 = getelementptr inbounds %"class.JPH::Color", ptr %10, i32 0, i32 0
  %41 = getelementptr inbounds %union.anon.0, ptr %40, i32 0, i32 0
  store i32 %4, ptr %41, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store float %3, ptr %14, align 4, !tbaa !9
  store ptr %5, ptr %15, align 8, !tbaa !5
  store i32 %6, ptr %16, align 4, !tbaa !11
  store i32 %7, ptr %17, align 4, !tbaa !13
  store i32 %8, ptr %18, align 4, !tbaa !15
  %42 = load ptr, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %43 = getelementptr inbounds %class.DebugRendererImp, ptr %42, i32 0, i32 8
  call void @_ZNSt10lock_guardIN3JPH5MutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(48) %43)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %44 = getelementptr inbounds %class.DebugRendererImp, ptr %42, i32 0, i32 1
  %45 = load ptr, ptr %44, align 16, !tbaa !17
  %46 = invoke { double, double } @_ZNK8Renderer13GetBaseOffsetEv(ptr noundef nonnull align 16 dereferenceable(832) %45)
          to label %47 unwind label %114

47:                                               ; preds = %9
  %48 = getelementptr inbounds %"class.JPH::Vec3", ptr %20, i32 0, i32 0
  %49 = getelementptr inbounds %union.anon, ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 0
  %51 = extractvalue { double, double } %46, 0
  store double %51, ptr %50, align 16
  %52 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 1
  %53 = extractvalue { double, double } %46, 1
  store double %53, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #8
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %20)
          to label %56 unwind label %118

56:                                               ; preds = %47
  %57 = getelementptr inbounds %"class.JPH::Vec3", ptr %25, i32 0, i32 0
  %58 = getelementptr inbounds %union.anon, ptr %57, i32 0, i32 0
  %59 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 0
  %60 = extractvalue { double, double } %55, 0
  store double %60, ptr %59, align 16
  %61 = getelementptr inbounds { double, double }, ptr %58, i32 0, i32 1
  %62 = extractvalue { double, double } %55, 1
  store double %62, ptr %61, align 8
  %63 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %64 = load double, ptr %63, align 16
  %65 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %66 = load double, ptr %65, align 8
  invoke void @_ZNK3JPH5Mat4414PostTranslatedENS_4Vec3E(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %24, ptr noundef nonnull align 16 dereferenceable(64) %54, double %64, double %66)
          to label %67 unwind label %118

67:                                               ; preds = %56
  invoke void @_ZNK3JPH5Mat447ToMat44Ev(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %23, ptr noundef nonnull align 16 dereferenceable(64) %24)
          to label %68 unwind label %118

68:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %69, i64 32, i1 false), !tbaa.struct !50
  %70 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %20)
          to label %71 unwind label %122

71:                                               ; preds = %68
  %72 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i32 0, i32 0
  %73 = getelementptr inbounds %union.anon, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 0
  %75 = extractvalue { double, double } %70, 0
  store double %75, ptr %74, align 16
  %76 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 1
  %77 = extractvalue { double, double } %70, 1
  store double %77, ptr %76, align 8
  %78 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %79 = load double, ptr %78, align 16
  %80 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %81 = load double, ptr %80, align 8
  invoke void @_ZN3JPH5AABox9TranslateENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32) %26, double %79, double %81)
          to label %82 unwind label %122

82:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %83 = load i32, ptr %17, align 4, !tbaa !13
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %85, label %90

85:                                               ; preds = %82
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !52
  %86 = getelementptr inbounds %"class.JPH::Color", ptr %29, i32 0, i32 0
  %87 = getelementptr inbounds %union.anon.0, ptr %86, i32 0, i32 0
  %88 = load i32, ptr %87, align 4
  invoke void @_ZN3JPH5ColorC2ES0_h(ptr noundef nonnull align 4 dereferenceable(4) %28, i32 %88, i8 noundef zeroext -1)
          to label %89 unwind label %126

89:                                               ; preds = %85
  br label %95

90:                                               ; preds = %82
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !52
  %91 = getelementptr inbounds %"class.JPH::Color", ptr %30, i32 0, i32 0
  %92 = getelementptr inbounds %union.anon.0, ptr %91, i32 0, i32 0
  %93 = load i32, ptr %92, align 4
  invoke void @_ZN3JPH5ColorC2ES0_h(ptr noundef nonnull align 4 dereferenceable(4) %28, i32 %93, i8 noundef zeroext 0)
          to label %94 unwind label %126

94:                                               ; preds = %90
  br label %95

95:                                               ; preds = %94, %89
  %96 = load i32, ptr %18, align 4, !tbaa !15
  %97 = icmp eq i32 %96, 1
  br i1 %97, label %98, label %134

98:                                               ; preds = %95
  %99 = getelementptr inbounds %class.DebugRendererImp, ptr %42, i32 0, i32 10
  %100 = load ptr, ptr %15, align 8, !tbaa !5
  %101 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEixERKS4_(ptr noundef nonnull align 8 dereferenceable(28) %99, ptr noundef nonnull align 8 dereferenceable(8) %100)
          to label %102 unwind label %126

102:                                              ; preds = %98
  %103 = getelementptr inbounds %"struct.DebugRendererImp::Instances", ptr %101, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 192, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #8
  invoke void @_ZNK3JPH5Mat4428GetDirectionPreservingMatrixEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %32, ptr noundef nonnull align 16 dereferenceable(64) %23)
          to label %104 unwind label %130

104:                                              ; preds = %102
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %28, i64 4, i1 false), !tbaa.struct !52
  %105 = load float, ptr %14, align 4, !tbaa !9
  %106 = getelementptr inbounds %"class.JPH::Color", ptr %33, i32 0, i32 0
  %107 = getelementptr inbounds %union.anon.0, ptr %106, i32 0, i32 0
  %108 = load i32, ptr %107, align 4
  invoke void @_ZN16DebugRendererImp19InstanceWithLODInfoC2ERKN3JPH5Mat44ES4_NS1_5ColorERKNS1_5AABoxEf(ptr noundef nonnull align 16 dereferenceable(180) %31, ptr noundef nonnull align 16 dereferenceable(64) %23, ptr noundef nonnull align 16 dereferenceable(64) %32, i32 %108, ptr noundef nonnull align 16 dereferenceable(32) %26, float noundef %105)
          to label %109 unwind label %130

109:                                              ; preds = %104
  invoke void @_ZN3JPH5ArrayIN16DebugRendererImp19InstanceWithLODInfoENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %103, ptr noundef nonnull align 16 dereferenceable(180) %31)
          to label %110 unwind label %130

110:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %31) #8
  %111 = getelementptr inbounds %class.DebugRendererImp, ptr %42, i32 0, i32 14
  %112 = load i32, ptr %111, align 16, !tbaa !53
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %111, align 16, !tbaa !53
  br label %181

114:                                              ; preds = %9
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %21, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %22, align 4
  br label %185

118:                                              ; preds = %67, %56, %47
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %21, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #8
  br label %184

122:                                              ; preds = %71, %68
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %21, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %22, align 4
  br label %183

126:                                              ; preds = %160, %137, %98, %90, %85
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %21, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %22, align 4
  br label %182

130:                                              ; preds = %109, %104, %102
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %21, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %31) #8
  br label %182

134:                                              ; preds = %95
  %135 = load i32, ptr %16, align 4, !tbaa !11
  %136 = icmp ne i32 %135, 1
  br i1 %136, label %137, label %157

137:                                              ; preds = %134
  %138 = getelementptr inbounds %class.DebugRendererImp, ptr %42, i32 0, i32 11
  %139 = load ptr, ptr %15, align 8, !tbaa !5
  %140 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEixERKS4_(ptr noundef nonnull align 8 dereferenceable(28) %138, ptr noundef nonnull align 8 dereferenceable(8) %139)
          to label %141 unwind label %126

141:                                              ; preds = %137
  %142 = getelementptr inbounds %"struct.DebugRendererImp::Instances", ptr %140, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 192, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %35) #8
  invoke void @_ZNK3JPH5Mat4428GetDirectionPreservingMatrixEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %35, ptr noundef nonnull align 16 dereferenceable(64) %23)
          to label %143 unwind label %153

143:                                              ; preds = %141
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %28, i64 4, i1 false), !tbaa.struct !52
  %144 = load float, ptr %14, align 4, !tbaa !9
  %145 = getelementptr inbounds %"class.JPH::Color", ptr %36, i32 0, i32 0
  %146 = getelementptr inbounds %union.anon.0, ptr %145, i32 0, i32 0
  %147 = load i32, ptr %146, align 4
  invoke void @_ZN16DebugRendererImp19InstanceWithLODInfoC2ERKN3JPH5Mat44ES4_NS1_5ColorERKNS1_5AABoxEf(ptr noundef nonnull align 16 dereferenceable(180) %34, ptr noundef nonnull align 16 dereferenceable(64) %23, ptr noundef nonnull align 16 dereferenceable(64) %35, i32 %147, ptr noundef nonnull align 16 dereferenceable(32) %26, float noundef %144)
          to label %148 unwind label %153

148:                                              ; preds = %143
  invoke void @_ZN3JPH5ArrayIN16DebugRendererImp19InstanceWithLODInfoENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %142, ptr noundef nonnull align 16 dereferenceable(180) %34)
          to label %149 unwind label %153

149:                                              ; preds = %148
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %34) #8
  %150 = getelementptr inbounds %class.DebugRendererImp, ptr %42, i32 0, i32 14
  %151 = load i32, ptr %150, align 16, !tbaa !53
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %150, align 16, !tbaa !53
  br label %157

153:                                              ; preds = %148, %143, %141
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %21, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %34) #8
  br label %182

157:                                              ; preds = %149, %134
  %158 = load i32, ptr %16, align 4, !tbaa !11
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %180

160:                                              ; preds = %157
  %161 = getelementptr inbounds %class.DebugRendererImp, ptr %42, i32 0, i32 13
  %162 = load ptr, ptr %15, align 8, !tbaa !5
  %163 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEixERKS4_(ptr noundef nonnull align 8 dereferenceable(28) %161, ptr noundef nonnull align 8 dereferenceable(8) %162)
          to label %164 unwind label %126

164:                                              ; preds = %160
  %165 = getelementptr inbounds %"struct.DebugRendererImp::Instances", ptr %163, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 192, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %38) #8
  invoke void @_ZNK3JPH5Mat4428GetDirectionPreservingMatrixEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %38, ptr noundef nonnull align 16 dereferenceable(64) %23)
          to label %166 unwind label %176

166:                                              ; preds = %164
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %28, i64 4, i1 false), !tbaa.struct !52
  %167 = load float, ptr %14, align 4, !tbaa !9
  %168 = getelementptr inbounds %"class.JPH::Color", ptr %39, i32 0, i32 0
  %169 = getelementptr inbounds %union.anon.0, ptr %168, i32 0, i32 0
  %170 = load i32, ptr %169, align 4
  invoke void @_ZN16DebugRendererImp19InstanceWithLODInfoC2ERKN3JPH5Mat44ES4_NS1_5ColorERKNS1_5AABoxEf(ptr noundef nonnull align 16 dereferenceable(180) %37, ptr noundef nonnull align 16 dereferenceable(64) %23, ptr noundef nonnull align 16 dereferenceable(64) %38, i32 %170, ptr noundef nonnull align 16 dereferenceable(32) %26, float noundef %167)
          to label %171 unwind label %176

171:                                              ; preds = %166
  invoke void @_ZN3JPH5ArrayIN16DebugRendererImp19InstanceWithLODInfoENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %165, ptr noundef nonnull align 16 dereferenceable(180) %37)
          to label %172 unwind label %176

172:                                              ; preds = %171
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %37) #8
  %173 = getelementptr inbounds %class.DebugRendererImp, ptr %42, i32 0, i32 14
  %174 = load i32, ptr %173, align 16, !tbaa !53
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %173, align 16, !tbaa !53
  br label %180

176:                                              ; preds = %171, %166, %164
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %21, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr %37) #8
  br label %182

180:                                              ; preds = %172, %157
  br label %181

181:                                              ; preds = %180, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @_ZNSt10lock_guardIN3JPH5MutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  ret void

182:                                              ; preds = %176, %153, %130, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %183

183:                                              ; preds = %182, %122
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  br label %184

184:                                              ; preds = %183, %118
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #8
  br label %185

185:                                              ; preds = %184, %114
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @_ZNSt10lock_guardIN3JPH5MutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %186

186:                                              ; preds = %185
  %187 = load ptr, ptr %21, align 8
  %188 = load i32, ptr %22, align 4
  %189 = insertvalue { ptr, i32 } poison, ptr %187, 0
  %190 = insertvalue { ptr, i32 } %189, i32 %188, 1
  resume { ptr, i32 } %190
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat4414PostTranslatedENS_4Vec3E(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64), double, double) #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK3JPH5Mat447ToMat44Ev(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5AABox9TranslateENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32), double, double) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEixERKS4_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIN16DebugRendererImp19InstanceWithLODInfoENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(180)) #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat4428GetDirectionPreservingMatrixEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16DebugRendererImp19InstanceWithLODInfoC2ERKN3JPH5Mat44ES4_NS1_5ColorERKNS1_5AABoxEf(ptr noundef nonnull align 16 dereferenceable(180), ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64), i32, ptr noundef nonnull align 16 dereferenceable(32), float noundef) unnamed_addr #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN3JPH13DebugRenderer9ECullModeE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN3JPH13DebugRenderer11ECastShadowE", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTSN3JPH13DebugRenderer9EDrawModeE", !7, i64 0}
!17 = !{!18, !6, i64 320}
!18 = !{!"_ZTS16DebugRendererImp", !19, i64 0, !6, i64 320, !30, i64 328, !30, i64 336, !30, i64 344, !30, i64 352, !30, i64 360, !30, i64 368, !36, i64 376, !41, i64 424, !42, i64 432, !42, i64 464, !42, i64 496, !42, i64 528, !23, i64 560, !7, i64 568, !44, i64 584, !6, i64 592, !6, i64 600, !6, i64 608, !45, i64 624, !47, i64 656, !36, i64 680, !48, i64 728, !49, i64 736, !36, i64 760, !30, i64 808}
!19 = !{!"_ZTSN3JPH13DebugRendererE", !20, i64 8, !20, i64 16, !20, i64 24, !20, i64 32, !20, i64 40, !20, i64 48, !20, i64 56, !21, i64 64, !21, i64 96, !24, i64 128, !24, i64 160, !26, i64 192, !26, i64 224, !28, i64 256, !28, i64 288}
!20 = !{!"_ZTSN3JPH3RefINS_13DebugRenderer8GeometryEEE", !6, i64 0}
!21 = !{!"_ZTSN3JPH12UnorderedMapINS_13DebugRenderer15SwingConeLimitsENS_3RefINS1_8GeometryEEENS1_21SwingConeLimitsHasherESt8equal_toIS2_EEE", !22, i64 0}
!22 = !{!"_ZTSN3JPH9HashTableINS_13DebugRenderer15SwingConeLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_21SwingConeLimitsHasherESt8equal_toIS2_EEE", !6, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24}
!23 = !{!"int", !7, i64 0}
!24 = !{!"_ZTSN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EEE", !25, i64 0}
!25 = !{!"_ZTSN3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EEE", !6, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24}
!26 = !{!"_ZTSN3JPH12UnorderedMapIfNS_3RefINS_13DebugRenderer8GeometryEEENS_4HashIfEESt8equal_toIfEEE", !27, i64 0}
!27 = !{!"_ZTSN3JPH9HashTableIfSt4pairIfNS_3RefINS_13DebugRenderer8GeometryEEEENS_18UnorderedMapDetailIfS5_EENS_4HashIfEESt8equal_toIfEEE", !6, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24}
!28 = !{!"_ZTSN3JPH12UnorderedMapINS_13DebugRenderer15TaperedCylinderENS_3RefINS1_8GeometryEEENS1_21TaperedCylinderHasherESt8equal_toIS2_EEE", !29, i64 0}
!29 = !{!"_ZTSN3JPH9HashTableINS_13DebugRenderer15TaperedCylinderESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_21TaperedCylinderHasherESt8equal_toIS2_EEE", !6, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24}
!30 = !{!"_ZTSSt10unique_ptrI13PipelineStateSt14default_deleteIS0_EE", !31, i64 0}
!31 = !{!"_ZTSSt15__uniq_ptr_dataI13PipelineStateSt14default_deleteIS0_ELb1ELb1EE", !32, i64 0}
!32 = !{!"_ZTSSt15__uniq_ptr_implI13PipelineStateSt14default_deleteIS0_EE", !33, i64 0}
!33 = !{!"_ZTSSt5tupleIJP13PipelineStateSt14default_deleteIS0_EEE", !34, i64 0}
!34 = !{!"_ZTSSt11_Tuple_implILm0EJP13PipelineStateSt14default_deleteIS0_EEE", !35, i64 0}
!35 = !{!"_ZTSSt10_Head_baseILm0EP13PipelineStateLb0EE", !6, i64 0}
!36 = !{!"_ZTSN3JPH5MutexE", !37, i64 0, !39, i64 40}
!37 = !{!"_ZTSSt5mutex", !38, i64 0}
!38 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!39 = !{!"_ZTSNSt6thread2idE", !40, i64 0}
!40 = !{!"long", !7, i64 0}
!41 = !{!"_ZTSN3JPH3RefINS_16RefTargetVirtualEEE", !6, i64 0}
!42 = !{!"_ZTSN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEE", !43, i64 0}
!43 = !{!"_ZTSN3JPH9HashTableINS_3RefINS_13DebugRenderer8GeometryEEESt4pairIS4_N16DebugRendererImp9InstancesEENS_18UnorderedMapDetailIS4_S7_EENS_4HashIS4_EESt8equal_toIS4_EEE", !6, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24}
!44 = !{!"_ZTSN3JPH3RefI15RenderPrimitiveEE", !6, i64 0}
!45 = !{!"_ZTSN3JPH5AABoxE", !46, i64 0, !46, i64 16}
!46 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!47 = !{!"_ZTSN3JPH5ArrayIN16DebugRendererImp4TextENS_12STLAllocatorIS2_EEEE", !40, i64 0, !40, i64 8, !6, i64 16}
!48 = !{!"_ZTSN3JPH8RefConstI4FontEE", !6, i64 0}
!49 = !{!"_ZTSN3JPH5ArrayIN16DebugRendererImp4LineENS_12STLAllocatorIS2_EEEE", !40, i64 0, !40, i64 8, !6, i64 16}
!50 = !{i64 0, i64 16, !51, i64 16, i64 16, !51}
!51 = !{!7, !7, i64 0}
!52 = !{i64 0, i64 4, !51}
!53 = !{!18, !23, i64 560}


; 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.std::lock_guard" = type { ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.13 }
%union.anon.13 = type { <4 x float> }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"class.JPH::Color" = type { %union.anon.0 }
%union.anon.0 = type { i32 }
%"struct.DebugRendererImp::InstanceWithLODInfo" = type <{ %"struct.DebugRendererImp::Instance.base", [12 x i8], %"class.JPH::AABox", float, [12 x i8] }>
%"struct.DebugRendererImp::Instance.base" = type <{ %"class.JPH::Mat44", %"class.JPH::Mat44", %"class.JPH::Color" }>

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK8Renderer13GetBaseOffsetEv(ptr noundef nonnull align 16 dereferenceable(832)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt10lock_guardIN3JPH5MutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16DebugRendererImp12DrawGeometryERKN3JPH5Mat44ERKNS0_5AABoxEfNS0_5ColorERKNS0_3RefINS0_13DebugRenderer8GeometryEEENS9_9ECullModeENS9_11ECastShadowENS9_9EDrawModeE(ptr noundef nonnull align 16 dereferenceable(816) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, ptr nocapture noundef nonnull readonly align 16 dereferenceable(32) %2, float noundef %3, i32 %4, ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.std::lock_guard", align 8
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Mat44", align 16
  %13 = alloca %"class.JPH::Mat44", align 16
  %14 = alloca %"class.JPH::AABox", align 16
  %15 = alloca %"class.JPH::Color", align 4
  %16 = alloca %"struct.DebugRendererImp::InstanceWithLODInfo", align 16
  %17 = alloca %"class.JPH::Mat44", align 16
  %18 = alloca %"struct.DebugRendererImp::InstanceWithLODInfo", align 16
  %19 = alloca %"class.JPH::Mat44", align 16
  %20 = alloca %"struct.DebugRendererImp::InstanceWithLODInfo", align 16
  %21 = alloca %"class.JPH::Mat44", align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %22 = getelementptr inbounds i8, ptr %0, i64 376
  call void @_ZNSt10lock_guardIN3JPH5MutexEEC2ERS1_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(48) %22)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  %23 = getelementptr inbounds i8, ptr %0, i64 320
  %24 = load ptr, ptr %23, align 16, !tbaa !5
  %25 = call { double, double } @_ZNK8Renderer13GetBaseOffsetEv(ptr noundef nonnull align 16 dereferenceable(832) %24)
  %26 = extractvalue { double, double } %25, 0
  store double %26, ptr %11, align 16
  %27 = getelementptr inbounds i8, ptr %11, i64 8
  %28 = extractvalue { double, double } %25, 1
  store double %28, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #8
  %29 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %11)
          to label %30 unwind label %47

30:                                               ; preds = %9
  %31 = extractvalue { double, double } %29, 0
  %32 = extractvalue { double, double } %29, 1
  invoke void @_ZNK3JPH5Mat4414PostTranslatedENS_4Vec3E(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %13, ptr noundef nonnull align 16 dereferenceable(64) %1, double %31, double %32)
          to label %33 unwind label %47

33:                                               ; preds = %30
  call void @_ZNK3JPH5Mat447ToMat44Ev(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %12, ptr noundef nonnull align 16 dereferenceable(64) %13)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %14, ptr noundef nonnull align 16 dereferenceable(32) %2, i64 32, i1 false), !tbaa.struct !41
  %34 = invoke { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %11)
          to label %35 unwind label %49

35:                                               ; preds = %33
  %36 = extractvalue { double, double } %34, 0
  %37 = extractvalue { double, double } %34, 1
  call void @_ZN3JPH5AABox9TranslateENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32) %14, double %36, double %37)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #8
  %38 = icmp eq i32 %7, 0
  %. = sext i1 %38 to i8
  call void @_ZN3JPH5ColorC2ES0_h(ptr noundef nonnull align 4 dereferenceable(4) %15, i32 %4, i8 noundef zeroext %.)
  %39 = icmp eq i32 %8, 1
  br i1 %39, label %40, label %55

40:                                               ; preds = %35
  %41 = getelementptr inbounds i8, ptr %0, i64 432
  %42 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEixERKS4_(ptr noundef nonnull align 8 dereferenceable(28) %41, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %43 unwind label %51

43:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #8
  invoke void @_ZNK3JPH5Mat4428GetDirectionPreservingMatrixEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %17, ptr noundef nonnull align 16 dereferenceable(64) %12)
          to label %44 unwind label %53

44:                                               ; preds = %43
  %.sroa.02.0.copyload = load i32, ptr %15, align 4, !tbaa !42
  invoke void @_ZN16DebugRendererImp19InstanceWithLODInfoC2ERKN3JPH5Mat44ES4_NS1_5ColorERKNS1_5AABoxEf(ptr noundef nonnull align 16 dereferenceable(180) %16, ptr noundef nonnull align 16 dereferenceable(64) %12, ptr noundef nonnull align 16 dereferenceable(64) %17, i32 %.sroa.02.0.copyload, ptr noundef nonnull align 16 dereferenceable(32) %14, float noundef %3)
          to label %45 unwind label %53

45:                                               ; preds = %44
  invoke void @_ZN3JPH5ArrayIN16DebugRendererImp19InstanceWithLODInfoENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 16 dereferenceable(180) %16)
          to label %46 unwind label %53

46:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %16) #8
  br label %.sink.split

47:                                               ; preds = %30, %9
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #8
  br label %83

49:                                               ; preds = %33
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %82

51:                                               ; preds = %68, %56, %40
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %81

53:                                               ; preds = %45, %44, %43
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %16) #8
  br label %81

55:                                               ; preds = %35
  %cond = icmp eq i32 %6, 1
  br i1 %cond, label %68, label %56

56:                                               ; preds = %55
  %57 = getelementptr inbounds i8, ptr %0, i64 464
  %58 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEixERKS4_(ptr noundef nonnull align 8 dereferenceable(28) %57, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %59 unwind label %51

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #8
  invoke void @_ZNK3JPH5Mat4428GetDirectionPreservingMatrixEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %19, ptr noundef nonnull align 16 dereferenceable(64) %12)
          to label %60 unwind label %66

60:                                               ; preds = %59
  %.sroa.01.0.copyload = load i32, ptr %15, align 4, !tbaa !42
  invoke void @_ZN16DebugRendererImp19InstanceWithLODInfoC2ERKN3JPH5Mat44ES4_NS1_5ColorERKNS1_5AABoxEf(ptr noundef nonnull align 16 dereferenceable(180) %18, ptr noundef nonnull align 16 dereferenceable(64) %12, ptr noundef nonnull align 16 dereferenceable(64) %19, i32 %.sroa.01.0.copyload, ptr noundef nonnull align 16 dereferenceable(32) %14, float noundef %3)
          to label %61 unwind label %66

61:                                               ; preds = %60
  invoke void @_ZN3JPH5ArrayIN16DebugRendererImp19InstanceWithLODInfoENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 16 dereferenceable(180) %18)
          to label %62 unwind label %66

62:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %18) #8
  %63 = getelementptr inbounds i8, ptr %0, i64 560
  %64 = load i32, ptr %63, align 16, !tbaa !43
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %63, align 16, !tbaa !43
  %.not26 = icmp eq i32 %6, 0
  br i1 %.not26, label %80, label %68

66:                                               ; preds = %61, %60, %59
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %18) #8
  br label %81

68:                                               ; preds = %55, %62
  %69 = getelementptr inbounds i8, ptr %0, i64 528
  %70 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEixERKS4_(ptr noundef nonnull align 8 dereferenceable(28) %69, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %71 unwind label %51

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #8
  invoke void @_ZNK3JPH5Mat4428GetDirectionPreservingMatrixEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %21, ptr noundef nonnull align 16 dereferenceable(64) %12)
          to label %72 unwind label %75

72:                                               ; preds = %71
  %.sroa.0.0.copyload = load i32, ptr %15, align 4, !tbaa !42
  invoke void @_ZN16DebugRendererImp19InstanceWithLODInfoC2ERKN3JPH5Mat44ES4_NS1_5ColorERKNS1_5AABoxEf(ptr noundef nonnull align 16 dereferenceable(180) %20, ptr noundef nonnull align 16 dereferenceable(64) %12, ptr noundef nonnull align 16 dereferenceable(64) %21, i32 %.sroa.0.0.copyload, ptr noundef nonnull align 16 dereferenceable(32) %14, float noundef %3)
          to label %73 unwind label %75

73:                                               ; preds = %72
  invoke void @_ZN3JPH5ArrayIN16DebugRendererImp19InstanceWithLODInfoENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %70, ptr noundef nonnull align 16 dereferenceable(180) %20)
          to label %74 unwind label %75

74:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %20) #8
  br label %.sink.split

75:                                               ; preds = %73, %72, %71
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %20) #8
  br label %81

.sink.split:                                      ; preds = %46, %74
  %77 = getelementptr inbounds i8, ptr %0, i64 560
  %78 = load i32, ptr %77, align 16, !tbaa !43
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %77, align 16, !tbaa !43
  br label %80

80:                                               ; preds = %.sink.split, %62
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @_ZNSt10lock_guardIN3JPH5MutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  ret void

81:                                               ; preds = %75, %66, %53, %51
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ], [ %76, %75 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  br label %82

82:                                               ; preds = %81, %49
  %.pn.pn = phi { ptr, i32 } [ %.pn, %81 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  br label %83

83:                                               ; preds = %82, %47
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %82 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @_ZNSt10lock_guardIN3JPH5MutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  resume { ptr, i32 } %.pn.pn.pn
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat4414PostTranslatedENS_4Vec3E(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64), double, double) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNK3JPH5Mat447ToMat44Ev(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH5AABox9TranslateENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(32), double, double) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEixERKS4_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat4428GetDirectionPreservingMatrixEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16DebugRendererImp19InstanceWithLODInfoC2ERKN3JPH5Mat44ES4_NS1_5ColorERKNS1_5AABoxEf(ptr noundef nonnull align 16 dereferenceable(180), ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64), i32, ptr noundef nonnull align 16 dereferenceable(32), float noundef) unnamed_addr #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !9, i64 320}
!6 = !{!"_ZTS16DebugRendererImp", !7, i64 0, !9, i64 320, !21, i64 328, !21, i64 336, !21, i64 344, !21, i64 352, !21, i64 360, !21, i64 368, !27, i64 376, !32, i64 424, !33, i64 432, !33, i64 464, !33, i64 496, !33, i64 528, !14, i64 560, !10, i64 568, !35, i64 584, !9, i64 592, !9, i64 600, !9, i64 608, !36, i64 624, !38, i64 656, !27, i64 680, !39, i64 728, !40, i64 736, !27, i64 760, !21, i64 808}
!7 = !{!"_ZTSN3JPH13DebugRendererE", !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !12, i64 64, !12, i64 96, !15, i64 128, !15, i64 160, !17, i64 192, !17, i64 224, !19, i64 256, !19, i64 288}
!8 = !{!"_ZTSN3JPH3RefINS_13DebugRenderer8GeometryEEE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN3JPH12UnorderedMapINS_13DebugRenderer15SwingConeLimitsENS_3RefINS1_8GeometryEEENS1_21SwingConeLimitsHasherESt8equal_toIS2_EEE", !13, i64 0}
!13 = !{!"_ZTSN3JPH9HashTableINS_13DebugRenderer15SwingConeLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_21SwingConeLimitsHasherESt8equal_toIS2_EEE", !9, i64 0, !9, i64 8, !14, i64 16, !14, i64 20, !14, i64 24}
!14 = !{!"int", !10, i64 0}
!15 = !{!"_ZTSN3JPH12UnorderedMapINS_13DebugRenderer18SwingPyramidLimitsENS_3RefINS1_8GeometryEEENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EEE", !16, i64 0}
!16 = !{!"_ZTSN3JPH9HashTableINS_13DebugRenderer18SwingPyramidLimitsESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_24SwingPyramidLimitsHasherESt8equal_toIS2_EEE", !9, i64 0, !9, i64 8, !14, i64 16, !14, i64 20, !14, i64 24}
!17 = !{!"_ZTSN3JPH12UnorderedMapIfNS_3RefINS_13DebugRenderer8GeometryEEENS_4HashIfEESt8equal_toIfEEE", !18, i64 0}
!18 = !{!"_ZTSN3JPH9HashTableIfSt4pairIfNS_3RefINS_13DebugRenderer8GeometryEEEENS_18UnorderedMapDetailIfS5_EENS_4HashIfEESt8equal_toIfEEE", !9, i64 0, !9, i64 8, !14, i64 16, !14, i64 20, !14, i64 24}
!19 = !{!"_ZTSN3JPH12UnorderedMapINS_13DebugRenderer15TaperedCylinderENS_3RefINS1_8GeometryEEENS1_21TaperedCylinderHasherESt8equal_toIS2_EEE", !20, i64 0}
!20 = !{!"_ZTSN3JPH9HashTableINS_13DebugRenderer15TaperedCylinderESt4pairIS2_NS_3RefINS1_8GeometryEEEENS_18UnorderedMapDetailIS2_S6_EENS1_21TaperedCylinderHasherESt8equal_toIS2_EEE", !9, i64 0, !9, i64 8, !14, i64 16, !14, i64 20, !14, i64 24}
!21 = !{!"_ZTSSt10unique_ptrI13PipelineStateSt14default_deleteIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_dataI13PipelineStateSt14default_deleteIS0_ELb1ELb1EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_implI13PipelineStateSt14default_deleteIS0_EE", !24, i64 0}
!24 = !{!"_ZTSSt5tupleIJP13PipelineStateSt14default_deleteIS0_EEE", !25, i64 0}
!25 = !{!"_ZTSSt11_Tuple_implILm0EJP13PipelineStateSt14default_deleteIS0_EEE", !26, i64 0}
!26 = !{!"_ZTSSt10_Head_baseILm0EP13PipelineStateLb0EE", !9, i64 0}
!27 = !{!"_ZTSN3JPH5MutexE", !28, i64 0, !30, i64 40}
!28 = !{!"_ZTSSt5mutex", !29, i64 0}
!29 = !{!"_ZTSSt12__mutex_base", !10, i64 0}
!30 = !{!"_ZTSNSt6thread2idE", !31, i64 0}
!31 = !{!"long", !10, i64 0}
!32 = !{!"_ZTSN3JPH3RefINS_16RefTargetVirtualEEE", !9, i64 0}
!33 = !{!"_ZTSN3JPH12UnorderedMapINS_3RefINS_13DebugRenderer8GeometryEEEN16DebugRendererImp9InstancesENS_4HashIS4_EESt8equal_toIS4_EEE", !34, i64 0}
!34 = !{!"_ZTSN3JPH9HashTableINS_3RefINS_13DebugRenderer8GeometryEEESt4pairIS4_N16DebugRendererImp9InstancesEENS_18UnorderedMapDetailIS4_S7_EENS_4HashIS4_EESt8equal_toIS4_EEE", !9, i64 0, !9, i64 8, !14, i64 16, !14, i64 20, !14, i64 24}
!35 = !{!"_ZTSN3JPH3RefI15RenderPrimitiveEE", !9, i64 0}
!36 = !{!"_ZTSN3JPH5AABoxE", !37, i64 0, !37, i64 16}
!37 = !{!"_ZTSN3JPH4Vec3E", !10, i64 0}
!38 = !{!"_ZTSN3JPH5ArrayIN16DebugRendererImp4TextENS_12STLAllocatorIS2_EEEE", !31, i64 0, !31, i64 8, !9, i64 16}
!39 = !{!"_ZTSN3JPH8RefConstI4FontEE", !9, i64 0}
!40 = !{!"_ZTSN3JPH5ArrayIN16DebugRendererImp4LineENS_12STLAllocatorIS2_EEEE", !31, i64 0, !31, i64 8, !9, i64 16}
!41 = !{i64 0, i64 16, !42, i64 16, i64 16, !42}
!42 = !{!10, !10, i64 0}
!43 = !{!6, !14, i64 560}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass