; LLVM IR from ysyesilyurt/ComputerGraphics :: ForwardRenderingPipeline/Scene.ll (ZN5Scene24forwardRenderingPipelineEP6Camera)

; 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.Matrix4 = type { [4 x [4 x double]] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.55" = type { ptr }
%class.Vec4 = type <{ double, double, double, double, i32, [4 x i8] }>
%"struct.std::pair" = type { %class.Vec4, %class.Color }
%class.Color = type { double, double, double }
%class.Scene = type { %class.Color, i8, i32, %"class.std::vector.25", %"class.std::vector.35", %"class.std::vector.40", %"class.std::vector.45", %"class.std::vector.15", %"class.std::vector.20", %"class.std::vector.10", %"class.std::vector.50" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<std::vector<Color>, std::allocator<std::vector<Color>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<Color>, std::allocator<std::vector<Color>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<Color>, std::allocator<std::vector<Color>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<Color>, std::allocator<std::vector<Color>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<Camera *, std::allocator<Camera *>>::_Vector_impl" }
%"struct.std::_Vector_base<Camera *, std::allocator<Camera *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Camera *, std::allocator<Camera *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Camera *, std::allocator<Camera *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<Vec3 *, std::allocator<Vec3 *>>::_Vector_impl" }
%"struct.std::_Vector_base<Vec3 *, std::allocator<Vec3 *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Vec3 *, std::allocator<Vec3 *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Vec3 *, std::allocator<Vec3 *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = type { %"struct.std::_Vector_base<Color *, std::allocator<Color *>>::_Vector_impl" }
%"struct.std::_Vector_base<Color *, std::allocator<Color *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Color *, std::allocator<Color *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Color *, std::allocator<Color *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<Scaling *, std::allocator<Scaling *>>::_Vector_impl" }
%"struct.std::_Vector_base<Scaling *, std::allocator<Scaling *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Scaling *, std::allocator<Scaling *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Scaling *, std::allocator<Scaling *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<Rotation *, std::allocator<Rotation *>>::_Vector_impl" }
%"struct.std::_Vector_base<Rotation *, std::allocator<Rotation *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Rotation *, std::allocator<Rotation *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Rotation *, std::allocator<Rotation *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<Translation *, std::allocator<Translation *>>::_Vector_impl" }
%"struct.std::_Vector_base<Translation *, std::allocator<Translation *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Translation *, std::allocator<Translation *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Translation *, std::allocator<Translation *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.50" = type { %"struct.std::_Vector_base.51" }
%"struct.std::_Vector_base.51" = type { %"struct.std::_Vector_base<Model *, std::allocator<Model *>>::_Vector_impl" }
%"struct.std::_Vector_base<Model *, std::allocator<Model *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Model *, std::allocator<Model *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Model *, std::allocator<Model *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Model = type { i32, i32, i32, %"class.std::vector", %"class.std::vector.0", i32, %"class.std::vector.5" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl" }
%"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl" = type { %"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Vec3 = type <{ double, double, double, i32, [4 x i8] }>
%class.Camera = type { i32, [4 x i8], %class.Vec3, %class.Vec3, %class.Vec3, %class.Vec3, %class.Vec3, double, double, double, double, double, double, i32, i32, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23calcModelingTransMatrixP6CameraR5ModelRKSt6vectorIP11TranslationSaIS5_EERKS3_IP8RotationSaISB_EERKS3_IP7ScalingSaISH_EE(ptr dead_on_unwind noalias writable sret(%class.Matrix4) align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

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

declare void @_Z24multiplyMatrixWithMatrix7Matrix4S_(ptr dead_on_unwind writable sret(%class.Matrix4) align 8, ptr noundef, ptr noundef) #3

declare void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21calcCameraTransMatrixP6Camera(ptr dead_on_unwind noalias writable sret(%class.Matrix4) align 8, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25calcProjectionTransMatrixP6Camerab(ptr dead_on_unwind noalias writable sret(%class.Matrix4) align 8, ptr noundef, i1 noundef zeroext) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23calcViewportTransMatrixP6Camera(ptr dead_on_unwind noalias writable sret(%class.Matrix4) align 8, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z16isBackfaceCulledR4Vec4S0_S0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z8clipLineRSt4pairI4Vec45ColorES3_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) #0

declare void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13rasterizeLineRSt6vectorIS_I5ColorSaIS0_EESaIS2_EER4Vec4S7_RS0_S8_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17rasterizeTriangleRSt6vectorIS_I5ColorSaIS0_EESaIS2_EEPKS0_S7_S7_R4Vec4S9_S9_ii(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Scene24forwardRenderingPipelineEP6Camera(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.Matrix4, align 8
  %6 = alloca %class.Matrix4, align 8
  %7 = alloca %class.Matrix4, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %class.Matrix4, align 8
  %14 = alloca %class.Matrix4, align 8
  %15 = alloca %class.Matrix4, align 8
  %16 = alloca %class.Matrix4, align 8
  %17 = alloca %class.Matrix4, align 8
  %18 = alloca %class.Matrix4, align 8
  %19 = alloca %class.Matrix4, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %class.Vec4, align 8
  %31 = alloca %class.Matrix4, align 8
  %32 = alloca %class.Vec4, align 8
  %33 = alloca %class.Vec4, align 8
  %34 = alloca %class.Matrix4, align 8
  %35 = alloca %class.Vec4, align 8
  %36 = alloca %class.Vec4, align 8
  %37 = alloca %class.Matrix4, align 8
  %38 = alloca %class.Vec4, align 8
  %39 = alloca %"struct.std::pair", align 8
  %40 = alloca %"struct.std::pair", align 8
  %41 = alloca %"struct.std::pair", align 8
  %42 = alloca %"struct.std::pair", align 8
  %43 = alloca %"struct.std::pair", align 8
  %44 = alloca %"struct.std::pair", align 8
  %45 = alloca i8, align 1
  %46 = alloca i8, align 1
  %47 = alloca i8, align 1
  %48 = alloca %class.Vec4, align 8
  %49 = alloca %class.Matrix4, align 8
  %50 = alloca %class.Vec4, align 8
  %51 = alloca %class.Vec4, align 8
  %52 = alloca %class.Matrix4, align 8
  %53 = alloca %class.Vec4, align 8
  %54 = alloca %class.Vec4, align 8
  %55 = alloca %class.Matrix4, align 8
  %56 = alloca %class.Vec4, align 8
  %57 = alloca %class.Vec4, align 8
  %58 = alloca %class.Matrix4, align 8
  %59 = alloca %class.Vec4, align 8
  %60 = alloca %class.Vec4, align 8
  %61 = alloca %class.Matrix4, align 8
  %62 = alloca %class.Vec4, align 8
  %63 = alloca %class.Vec4, align 8
  %64 = alloca %class.Matrix4, align 8
  %65 = alloca %class.Vec4, align 8
  %66 = alloca %class.Vec4, align 8
  %67 = alloca %class.Matrix4, align 8
  %68 = alloca %class.Vec4, align 8
  %69 = alloca %class.Vec4, align 8
  %70 = alloca %class.Matrix4, align 8
  %71 = alloca %class.Vec4, align 8
  %72 = alloca %class.Vec4, align 8
  %73 = alloca %class.Matrix4, align 8
  %74 = alloca %class.Vec4, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %75 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 128, ptr %5) #6
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_Z21calcCameraTransMatrixP6Camera(ptr dead_on_unwind writable sret(%class.Matrix4) align 8 %5, ptr noundef %76)
  call void @llvm.lifetime.start.p0(i64 128, ptr %6) #6
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 2
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  call void @_Z25calcProjectionTransMatrixP6Camerab(ptr dead_on_unwind writable sret(%class.Matrix4) align 8 %6, ptr noundef %77, i1 noundef zeroext %80)
  call void @llvm.lifetime.start.p0(i64 128, ptr %7) #6
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_Z23calcViewportTransMatrixP6Camera(ptr dead_on_unwind writable sret(%class.Matrix4) align 8 %7, ptr noundef %81)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %82 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 10
  store ptr %82, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = call ptr @_ZNSt6vectorIP5ModelSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #6
  %85 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %84, ptr %85, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = call ptr @_ZNSt6vectorIP5ModelSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #6
  %88 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  br label %89

89:                                               ; preds = %319, %2
  %90 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP5ModelSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %90, label %92, label %91

91:                                               ; preds = %89
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %321

92:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP5ModelSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  store ptr %93, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 128, ptr %13) #6
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 9
  %98 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 8
  %99 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 7
  call void @_Z23calcModelingTransMatrixP6CameraR5ModelRKSt6vectorIP11TranslationSaIS5_EERKS3_IP8RotationSaISB_EERKS3_IP7ScalingSaISH_EE(ptr dead_on_unwind writable sret(%class.Matrix4) align 8 %13, ptr noundef %94, ptr noundef nonnull align 8 dereferenceable(96) %96, ptr noundef nonnull align 8 dereferenceable(24) %97, ptr noundef nonnull align 8 dereferenceable(24) %98, ptr noundef nonnull align 8 dereferenceable(24) %99)
  call void @llvm.lifetime.start.p0(i64 128, ptr %14) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %15, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %16, ptr noundef nonnull align 8 dereferenceable(128) %13)
  call void @_Z24multiplyMatrixWithMatrix7Matrix4S_(ptr dead_on_unwind writable sret(%class.Matrix4) align 8 %14, ptr noundef %15, ptr noundef %16)
  call void @llvm.lifetime.start.p0(i64 128, ptr %17) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef nonnull align 8 dereferenceable(128) %6)
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %19, ptr noundef nonnull align 8 dereferenceable(128) %14)
  call void @_Z24multiplyMatrixWithMatrix7Matrix4S_(ptr dead_on_unwind writable sret(%class.Matrix4) align 8 %17, ptr noundef %18, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %100 = load ptr, ptr %12, align 8, !tbaa !5
  %101 = load ptr, ptr %100, align 8, !tbaa !5
  %102 = getelementptr inbounds %class.Model, ptr %101, i32 0, i32 6
  store ptr %102, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %103 = load ptr, ptr %20, align 8, !tbaa !5
  %104 = call ptr @_ZNSt6vectorI8TriangleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #6
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.55", ptr %21, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %106 = load ptr, ptr %20, align 8, !tbaa !5
  %107 = call ptr @_ZNSt6vectorI8TriangleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %106) #6
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.55", ptr %22, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  br label %109

109:                                              ; preds = %316, %92
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP8TriangleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  br i1 %110, label %112, label %111

111:                                              ; preds = %109
  store i32 4, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %318

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %113 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP8TriangleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  store ptr %113, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %114 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 5
  %115 = load ptr, ptr %23, align 8, !tbaa !5
  %116 = call noundef i32 @_ZN8Triangle16getFirstVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12) %115)
  %117 = sub nsw i32 %116, 1
  %118 = sext i32 %117 to i64
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4Vec3SaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %118) #6
  %120 = load ptr, ptr %119, align 8, !tbaa !5
  store ptr %120, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %121 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 5
  %122 = load ptr, ptr %23, align 8, !tbaa !5
  %123 = call noundef i32 @_ZN8Triangle17getSecondVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12) %122)
  %124 = sub nsw i32 %123, 1
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4Vec3SaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %125) #6
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  store ptr %127, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %128 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 5
  %129 = load ptr, ptr %23, align 8, !tbaa !5
  %130 = call noundef i32 @_ZN8Triangle16getThirdVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12) %129)
  %131 = sub nsw i32 %130, 1
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4Vec3SaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %128, i64 noundef %132) #6
  %134 = load ptr, ptr %133, align 8, !tbaa !5
  store ptr %134, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %135 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 6
  %136 = load ptr, ptr %24, align 8, !tbaa !5
  %137 = getelementptr inbounds %class.Vec3, ptr %136, i32 0, i32 3
  %138 = load i32, ptr %137, align 8, !tbaa !47
  %139 = sub nsw i32 %138, 1
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5ColorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %140) #6
  %142 = load ptr, ptr %141, align 8, !tbaa !5
  store ptr %142, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %143 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 6
  %144 = load ptr, ptr %25, align 8, !tbaa !5
  %145 = getelementptr inbounds %class.Vec3, ptr %144, i32 0, i32 3
  %146 = load i32, ptr %145, align 8, !tbaa !47
  %147 = sub nsw i32 %146, 1
  %148 = sext i32 %147 to i64
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5ColorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %148) #6
  %150 = load ptr, ptr %149, align 8, !tbaa !5
  store ptr %150, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %151 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 6
  %152 = load ptr, ptr %26, align 8, !tbaa !5
  %153 = getelementptr inbounds %class.Vec3, ptr %152, i32 0, i32 3
  %154 = load i32, ptr %153, align 8, !tbaa !47
  %155 = sub nsw i32 %154, 1
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5ColorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %151, i64 noundef %156) #6
  %158 = load ptr, ptr %157, align 8, !tbaa !5
  store ptr %158, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %31, ptr noundef nonnull align 8 dereferenceable(128) %17)
  %159 = load ptr, ptr %24, align 8, !tbaa !5
  %160 = getelementptr inbounds %class.Vec3, ptr %159, i32 0, i32 0
  %161 = load double, ptr %160, align 8, !tbaa !49
  %162 = load ptr, ptr %24, align 8, !tbaa !5
  %163 = getelementptr inbounds %class.Vec3, ptr %162, i32 0, i32 1
  %164 = load double, ptr %163, align 8, !tbaa !50
  %165 = load ptr, ptr %24, align 8, !tbaa !5
  %166 = getelementptr inbounds %class.Vec3, ptr %165, i32 0, i32 2
  %167 = load double, ptr %166, align 8, !tbaa !51
  %168 = load ptr, ptr %24, align 8, !tbaa !5
  %169 = getelementptr inbounds %class.Vec3, ptr %168, i32 0, i32 3
  %170 = load i32, ptr %169, align 8, !tbaa !47
  call void @_ZN4Vec4C1Eddddi(ptr noundef nonnull align 8 dereferenceable(36) %32, double noundef %161, double noundef %164, double noundef %167, double noundef 1.000000e+00, i32 noundef %170)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %30, ptr noundef %31, ptr noundef %32)
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %34, ptr noundef nonnull align 8 dereferenceable(128) %17)
  %171 = load ptr, ptr %25, align 8, !tbaa !5
  %172 = getelementptr inbounds %class.Vec3, ptr %171, i32 0, i32 0
  %173 = load double, ptr %172, align 8, !tbaa !49
  %174 = load ptr, ptr %25, align 8, !tbaa !5
  %175 = getelementptr inbounds %class.Vec3, ptr %174, i32 0, i32 1
  %176 = load double, ptr %175, align 8, !tbaa !50
  %177 = load ptr, ptr %25, align 8, !tbaa !5
  %178 = getelementptr inbounds %class.Vec3, ptr %177, i32 0, i32 2
  %179 = load double, ptr %178, align 8, !tbaa !51
  %180 = load ptr, ptr %25, align 8, !tbaa !5
  %181 = getelementptr inbounds %class.Vec3, ptr %180, i32 0, i32 3
  %182 = load i32, ptr %181, align 8, !tbaa !47
  call void @_ZN4Vec4C1Eddddi(ptr noundef nonnull align 8 dereferenceable(36) %35, double noundef %173, double noundef %176, double noundef %179, double noundef 1.000000e+00, i32 noundef %182)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %33, ptr noundef %34, ptr noundef %35)
  call void @llvm.lifetime.start.p0(i64 40, ptr %36) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %37, ptr noundef nonnull align 8 dereferenceable(128) %17)
  %183 = load ptr, ptr %26, align 8, !tbaa !5
  %184 = getelementptr inbounds %class.Vec3, ptr %183, i32 0, i32 0
  %185 = load double, ptr %184, align 8, !tbaa !49
  %186 = load ptr, ptr %26, align 8, !tbaa !5
  %187 = getelementptr inbounds %class.Vec3, ptr %186, i32 0, i32 1
  %188 = load double, ptr %187, align 8, !tbaa !50
  %189 = load ptr, ptr %26, align 8, !tbaa !5
  %190 = getelementptr inbounds %class.Vec3, ptr %189, i32 0, i32 2
  %191 = load double, ptr %190, align 8, !tbaa !51
  %192 = load ptr, ptr %26, align 8, !tbaa !5
  %193 = getelementptr inbounds %class.Vec3, ptr %192, i32 0, i32 3
  %194 = load i32, ptr %193, align 8, !tbaa !47
  call void @_ZN4Vec4C1Eddddi(ptr noundef nonnull align 8 dereferenceable(36) %38, double noundef %185, double noundef %188, double noundef %191, double noundef 1.000000e+00, i32 noundef %194)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %36, ptr noundef %37, ptr noundef %38)
  %195 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 1
  %196 = load i8, ptr %195, align 8, !tbaa !52, !range !53, !noundef !54
  %197 = trunc i8 %196 to i1
  br i1 %197, label %198, label %201

198:                                              ; preds = %112
  %199 = call noundef zeroext i1 @_Z16isBackfaceCulledR4Vec4S0_S0_(ptr noundef nonnull align 8 dereferenceable(36) %30, ptr noundef nonnull align 8 dereferenceable(36) %33, ptr noundef nonnull align 8 dereferenceable(36) %36)
  br i1 %199, label %200, label %201

200:                                              ; preds = %198
  store i32 5, ptr %11, align 4
  br label %310

201:                                              ; preds = %198, %112
  %202 = load ptr, ptr %12, align 8, !tbaa !5
  %203 = load ptr, ptr %202, align 8, !tbaa !5
  %204 = getelementptr inbounds %class.Model, ptr %203, i32 0, i32 1
  %205 = load i32, ptr %204, align 4, !tbaa !55
  %206 = icmp ne i32 %205, 0
  br i1 %206, label %289, label %207

207:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #6
  %208 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %39, ptr noundef nonnull align 8 dereferenceable(36) %30, ptr noundef nonnull align 8 dereferenceable(24) %208)
  call void @llvm.lifetime.start.p0(i64 64, ptr %40) #6
  %209 = load ptr, ptr %28, align 8, !tbaa !5
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %40, ptr noundef nonnull align 8 dereferenceable(36) %33, ptr noundef nonnull align 8 dereferenceable(24) %209)
  %210 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 0
  %211 = getelementptr inbounds %class.Vec4, ptr %210, i32 0, i32 3
  %212 = load double, ptr %211, align 8, !tbaa !69
  %213 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 0
  %214 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %213, double noundef %212)
  %215 = getelementptr inbounds %"struct.std::pair", ptr %40, i32 0, i32 0
  %216 = getelementptr inbounds %class.Vec4, ptr %215, i32 0, i32 3
  %217 = load double, ptr %216, align 8, !tbaa !69
  %218 = getelementptr inbounds %"struct.std::pair", ptr %40, i32 0, i32 0
  %219 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %218, double noundef %217)
  call void @llvm.lifetime.start.p0(i64 64, ptr %41) #6
  %220 = load ptr, ptr %28, align 8, !tbaa !5
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %41, ptr noundef nonnull align 8 dereferenceable(36) %33, ptr noundef nonnull align 8 dereferenceable(24) %220)
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #6
  %221 = load ptr, ptr %29, align 8, !tbaa !5
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %42, ptr noundef nonnull align 8 dereferenceable(36) %36, ptr noundef nonnull align 8 dereferenceable(24) %221)
  %222 = getelementptr inbounds %"struct.std::pair", ptr %41, i32 0, i32 0
  %223 = getelementptr inbounds %class.Vec4, ptr %222, i32 0, i32 3
  %224 = load double, ptr %223, align 8, !tbaa !69
  %225 = getelementptr inbounds %"struct.std::pair", ptr %41, i32 0, i32 0
  %226 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %225, double noundef %224)
  %227 = getelementptr inbounds %"struct.std::pair", ptr %42, i32 0, i32 0
  %228 = getelementptr inbounds %class.Vec4, ptr %227, i32 0, i32 3
  %229 = load double, ptr %228, align 8, !tbaa !69
  %230 = getelementptr inbounds %"struct.std::pair", ptr %42, i32 0, i32 0
  %231 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %230, double noundef %229)
  call void @llvm.lifetime.start.p0(i64 64, ptr %43) #6
  %232 = load ptr, ptr %29, align 8, !tbaa !5
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %43, ptr noundef nonnull align 8 dereferenceable(36) %36, ptr noundef nonnull align 8 dereferenceable(24) %232)
  call void @llvm.lifetime.start.p0(i64 64, ptr %44) #6
  %233 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %44, ptr noundef nonnull align 8 dereferenceable(36) %30, ptr noundef nonnull align 8 dereferenceable(24) %233)
  %234 = getelementptr inbounds %"struct.std::pair", ptr %43, i32 0, i32 0
  %235 = getelementptr inbounds %class.Vec4, ptr %234, i32 0, i32 3
  %236 = load double, ptr %235, align 8, !tbaa !69
  %237 = getelementptr inbounds %"struct.std::pair", ptr %43, i32 0, i32 0
  %238 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %237, double noundef %236)
  %239 = getelementptr inbounds %"struct.std::pair", ptr %44, i32 0, i32 0
  %240 = getelementptr inbounds %class.Vec4, ptr %239, i32 0, i32 3
  %241 = load double, ptr %240, align 8, !tbaa !69
  %242 = getelementptr inbounds %"struct.std::pair", ptr %44, i32 0, i32 0
  %243 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %242, double noundef %241)
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #6
  %244 = call noundef zeroext i1 @_Z8clipLineRSt4pairI4Vec45ColorES3_(ptr noundef nonnull align 8 dereferenceable(64) %39, ptr noundef nonnull align 8 dereferenceable(64) %40)
  %245 = zext i1 %244 to i8
  store i8 %245, ptr %45, align 1, !tbaa !72
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #6
  %246 = call noundef zeroext i1 @_Z8clipLineRSt4pairI4Vec45ColorES3_(ptr noundef nonnull align 8 dereferenceable(64) %41, ptr noundef nonnull align 8 dereferenceable(64) %42)
  %247 = zext i1 %246 to i8
  store i8 %247, ptr %46, align 1, !tbaa !72
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #6
  %248 = call noundef zeroext i1 @_Z8clipLineRSt4pairI4Vec45ColorES3_(ptr noundef nonnull align 8 dereferenceable(64) %43, ptr noundef nonnull align 8 dereferenceable(64) %44)
  %249 = zext i1 %248 to i8
  store i8 %249, ptr %47, align 1, !tbaa !72
  call void @llvm.lifetime.start.p0(i64 40, ptr %48) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %49, ptr noundef nonnull align 8 dereferenceable(128) %7)
  %250 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 0
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %50, ptr noundef nonnull align 8 dereferenceable(36) %250)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %48, ptr noundef %49, ptr noundef %50)
  %251 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %251, ptr align 8 %48, i64 36, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 40, ptr %48) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %51) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %52, ptr noundef nonnull align 8 dereferenceable(128) %7)
  %252 = getelementptr inbounds %"struct.std::pair", ptr %40, i32 0, i32 0
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %53, ptr noundef nonnull align 8 dereferenceable(36) %252)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %51, ptr noundef %52, ptr noundef %53)
  %253 = getelementptr inbounds %"struct.std::pair", ptr %40, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %253, ptr align 8 %51, i64 36, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %54) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %55, ptr noundef nonnull align 8 dereferenceable(128) %7)
  %254 = getelementptr inbounds %"struct.std::pair", ptr %41, i32 0, i32 0
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %56, ptr noundef nonnull align 8 dereferenceable(36) %254)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %54, ptr noundef %55, ptr noundef %56)
  %255 = getelementptr inbounds %"struct.std::pair", ptr %41, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %255, ptr align 8 %54, i64 36, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 40, ptr %54) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %57) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %58, ptr noundef nonnull align 8 dereferenceable(128) %7)
  %256 = getelementptr inbounds %"struct.std::pair", ptr %42, i32 0, i32 0
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %59, ptr noundef nonnull align 8 dereferenceable(36) %256)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %57, ptr noundef %58, ptr noundef %59)
  %257 = getelementptr inbounds %"struct.std::pair", ptr %42, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %257, ptr align 8 %57, i64 36, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 40, ptr %57) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %60) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %61, ptr noundef nonnull align 8 dereferenceable(128) %7)
  %258 = getelementptr inbounds %"struct.std::pair", ptr %43, i32 0, i32 0
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %62, ptr noundef nonnull align 8 dereferenceable(36) %258)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %60, ptr noundef %61, ptr noundef %62)
  %259 = getelementptr inbounds %"struct.std::pair", ptr %43, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %259, ptr align 8 %60, i64 36, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 40, ptr %60) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %63) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %64, ptr noundef nonnull align 8 dereferenceable(128) %7)
  %260 = getelementptr inbounds %"struct.std::pair", ptr %44, i32 0, i32 0
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %65, ptr noundef nonnull align 8 dereferenceable(36) %260)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %63, ptr noundef %64, ptr noundef %65)
  %261 = getelementptr inbounds %"struct.std::pair", ptr %44, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %261, ptr align 8 %63, i64 36, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 40, ptr %63) #6
  %262 = load i8, ptr %45, align 1, !tbaa !72, !range !53, !noundef !54
  %263 = trunc i8 %262 to i1
  br i1 %263, label %264, label %270

264:                                              ; preds = %207
  %265 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 3
  %266 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 0
  %267 = getelementptr inbounds %"struct.std::pair", ptr %40, i32 0, i32 0
  %268 = getelementptr inbounds %"struct.std::pair", ptr %39, i32 0, i32 1
  %269 = getelementptr inbounds %"struct.std::pair", ptr %40, i32 0, i32 1
  call void @_Z13rasterizeLineRSt6vectorIS_I5ColorSaIS0_EESaIS2_EER4Vec4S7_RS0_S8_(ptr noundef nonnull align 8 dereferenceable(24) %265, ptr noundef nonnull align 8 dereferenceable(36) %266, ptr noundef nonnull align 8 dereferenceable(36) %267, ptr noundef nonnull align 8 dereferenceable(24) %268, ptr noundef nonnull align 8 dereferenceable(24) %269)
  br label %270

270:                                              ; preds = %264, %207
  %271 = load i8, ptr %46, align 1, !tbaa !72, !range !53, !noundef !54
  %272 = trunc i8 %271 to i1
  br i1 %272, label %273, label %279

273:                                              ; preds = %270
  %274 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 3
  %275 = getelementptr inbounds %"struct.std::pair", ptr %41, i32 0, i32 0
  %276 = getelementptr inbounds %"struct.std::pair", ptr %42, i32 0, i32 0
  %277 = getelementptr inbounds %"struct.std::pair", ptr %41, i32 0, i32 1
  %278 = getelementptr inbounds %"struct.std::pair", ptr %42, i32 0, i32 1
  call void @_Z13rasterizeLineRSt6vectorIS_I5ColorSaIS0_EESaIS2_EER4Vec4S7_RS0_S8_(ptr noundef nonnull align 8 dereferenceable(24) %274, ptr noundef nonnull align 8 dereferenceable(36) %275, ptr noundef nonnull align 8 dereferenceable(36) %276, ptr noundef nonnull align 8 dereferenceable(24) %277, ptr noundef nonnull align 8 dereferenceable(24) %278)
  br label %279

279:                                              ; preds = %273, %270
  %280 = load i8, ptr %47, align 1, !tbaa !72, !range !53, !noundef !54
  %281 = trunc i8 %280 to i1
  br i1 %281, label %282, label %288

282:                                              ; preds = %279
  %283 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 3
  %284 = getelementptr inbounds %"struct.std::pair", ptr %43, i32 0, i32 0
  %285 = getelementptr inbounds %"struct.std::pair", ptr %44, i32 0, i32 0
  %286 = getelementptr inbounds %"struct.std::pair", ptr %43, i32 0, i32 1
  %287 = getelementptr inbounds %"struct.std::pair", ptr %44, i32 0, i32 1
  call void @_Z13rasterizeLineRSt6vectorIS_I5ColorSaIS0_EESaIS2_EER4Vec4S7_RS0_S8_(ptr noundef nonnull align 8 dereferenceable(24) %283, ptr noundef nonnull align 8 dereferenceable(36) %284, ptr noundef nonnull align 8 dereferenceable(36) %285, ptr noundef nonnull align 8 dereferenceable(24) %286, ptr noundef nonnull align 8 dereferenceable(24) %287)
  br label %288

288:                                              ; preds = %282, %279
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #6
  br label %309

289:                                              ; preds = %201
  %290 = getelementptr inbounds %class.Vec4, ptr %30, i32 0, i32 3
  %291 = load double, ptr %290, align 8, !tbaa !76
  %292 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %30, double noundef %291)
  %293 = getelementptr inbounds %class.Vec4, ptr %33, i32 0, i32 3
  %294 = load double, ptr %293, align 8, !tbaa !76
  %295 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %33, double noundef %294)
  %296 = getelementptr inbounds %class.Vec4, ptr %36, i32 0, i32 3
  %297 = load double, ptr %296, align 8, !tbaa !76
  %298 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %36, double noundef %297)
  call void @llvm.lifetime.start.p0(i64 40, ptr %66) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %67, ptr noundef nonnull align 8 dereferenceable(128) %7)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %68, ptr noundef nonnull align 8 dereferenceable(36) %30)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %66, ptr noundef %67, ptr noundef %68)
  call void @llvm.lifetime.start.p0(i64 40, ptr %69) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %70, ptr noundef nonnull align 8 dereferenceable(128) %7)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %71, ptr noundef nonnull align 8 dereferenceable(36) %33)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %69, ptr noundef %70, ptr noundef %71)
  call void @llvm.lifetime.start.p0(i64 40, ptr %72) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %73, ptr noundef nonnull align 8 dereferenceable(128) %7)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %74, ptr noundef nonnull align 8 dereferenceable(36) %36)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8 %72, ptr noundef %73, ptr noundef %74)
  %299 = getelementptr inbounds %class.Scene, ptr %75, i32 0, i32 3
  %300 = load ptr, ptr %27, align 8, !tbaa !5
  %301 = load ptr, ptr %28, align 8, !tbaa !5
  %302 = load ptr, ptr %29, align 8, !tbaa !5
  %303 = load ptr, ptr %4, align 8, !tbaa !5
  %304 = getelementptr inbounds %class.Camera, ptr %303, i32 0, i32 13
  %305 = load i32, ptr %304, align 8, !tbaa !77
  %306 = load ptr, ptr %4, align 8, !tbaa !5
  %307 = getelementptr inbounds %class.Camera, ptr %306, i32 0, i32 14
  %308 = load i32, ptr %307, align 4, !tbaa !82
  call void @_Z17rasterizeTriangleRSt6vectorIS_I5ColorSaIS0_EESaIS2_EEPKS0_S7_S7_R4Vec4S9_S9_ii(ptr noundef nonnull align 8 dereferenceable(24) %299, ptr noundef %300, ptr noundef %301, ptr noundef %302, ptr noundef nonnull align 8 dereferenceable(36) %66, ptr noundef nonnull align 8 dereferenceable(36) %69, ptr noundef nonnull align 8 dereferenceable(36) %72, i32 noundef %305, i32 noundef %308)
  call void @llvm.lifetime.end.p0(i64 40, ptr %72) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %69) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %66) #6
  br label %309

309:                                              ; preds = %289, %288
  store i32 0, ptr %11, align 4
  br label %310

310:                                              ; preds = %309, %200
  call void @llvm.lifetime.end.p0(i64 40, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  %311 = load i32, ptr %11, align 4
  switch i32 %311, label %313 [
    i32 0, label %312
  ]

312:                                              ; preds = %310
  store i32 0, ptr %11, align 4
  br label %313

313:                                              ; preds = %312, %310
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  %314 = load i32, ptr %11, align 4
  switch i32 %314, label %322 [
    i32 0, label %315
    i32 5, label %316
  ]

315:                                              ; preds = %313
  br label %316

316:                                              ; preds = %315, %313
  %317 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP8TriangleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br label %109

318:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 128, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %319

319:                                              ; preds = %318
  %320 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP5ModelSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %89

321:                                              ; preds = %91
  call void @llvm.lifetime.end.p0(i64 128, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %5) #6
  ret void

322:                                              ; preds = %313
  unreachable
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP5ModelSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP8TriangleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP8TriangleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

declare noundef i32 @_ZN8Triangle16getFirstVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12)) #3

declare noundef i32 @_ZN8Triangle17getSecondVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12)) #3

declare noundef i32 @_ZN8Triangle16getThirdVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12)) #3

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

declare void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8, ptr noundef, ptr noundef) #3

declare void @_ZN4Vec4C1Eddddi(ptr noundef nonnull align 8 dereferenceable(36), double noundef, double noundef, double noundef, double noundef, i32 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(24)) #0

declare noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36), double noundef) #3

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 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 = { 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 #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, !14, i64 28}
!10 = !{!"_ZTS5Scene", !11, i64 0, !13, i64 24, !14, i64 28, !15, i64 32, !19, i64 56, !23, i64 80, !27, i64 104, !31, i64 128, !35, i64 152, !39, i64 176, !43, i64 200}
!11 = !{!"_ZTS5Color", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"double", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSSt6vectorIS_I5ColorSaIS0_EESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseISt6vectorI5ColorSaIS1_EESaIS3_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseISt6vectorI5ColorSaIS1_EESaIS3_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt6vectorI5ColorSaIS1_EESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIP6CameraSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIP6CameraSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP6CameraSaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP6CameraSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIP4Vec3SaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP4Vec3SaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP4Vec3SaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP4Vec3SaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSSt6vectorIP5ColorSaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIP5ColorSaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP5ColorSaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIP5ColorSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSSt6vectorIP7ScalingSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIP7ScalingSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP7ScalingSaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIP7ScalingSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"_ZTSSt6vectorIP8RotationSaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIP8RotationSaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIP8RotationSaIS1_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIP8RotationSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSSt6vectorIP11TranslationSaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIP11TranslationSaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIP11TranslationSaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIP11TranslationSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSSt6vectorIP5ModelSaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIP5ModelSaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIP5ModelSaIS1_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIP5ModelSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!47 = !{!48, !14, i64 24}
!48 = !{!"_ZTS4Vec3", !12, i64 0, !12, i64 8, !12, i64 16, !14, i64 24}
!49 = !{!48, !12, i64 0}
!50 = !{!48, !12, i64 8}
!51 = !{!48, !12, i64 16}
!52 = !{!10, !13, i64 24}
!53 = !{i8 0, i8 2}
!54 = !{}
!55 = !{!56, !14, i64 4}
!56 = !{!"_ZTS5Model", !14, i64 0, !14, i64 4, !14, i64 8, !57, i64 16, !61, i64 40, !14, i64 64, !65, i64 72}
!57 = !{!"_ZTSSt6vectorIiSaIiEE", !58, i64 0}
!58 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!61 = !{!"_ZTSSt6vectorIcSaIcEE", !62, i64 0}
!62 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!65 = !{!"_ZTSSt6vectorI8TriangleSaIS0_EE", !66, i64 0}
!66 = !{!"_ZTSSt12_Vector_baseI8TriangleSaIS0_EE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseI8TriangleSaIS0_EE12_Vector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseI8TriangleSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!69 = !{!70, !12, i64 24}
!70 = !{!"_ZTSSt4pairI4Vec45ColorE", !71, i64 0, !11, i64 40}
!71 = !{!"_ZTS4Vec4", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !14, i64 32}
!72 = !{!13, !13, i64 0}
!73 = !{i64 0, i64 8, !74, i64 8, i64 8, !74, i64 16, i64 8, !74, i64 24, i64 8, !74, i64 32, i64 4, !75}
!74 = !{!12, !12, i64 0}
!75 = !{!14, !14, i64 0}
!76 = !{!71, !12, i64 24}
!77 = !{!78, !14, i64 216}
!78 = !{!"_ZTS6Camera", !14, i64 0, !48, i64 8, !48, i64 40, !48, i64 72, !48, i64 104, !48, i64 136, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !14, i64 216, !14, i64 220, !79, i64 224}
!79 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !80, i64 0, !81, i64 8, !7, i64 16}
!80 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!81 = !{!"long", !7, i64 0}
!82 = !{!78, !14, i64 220}


; 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.Matrix4 = type { [4 x [4 x double]] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.55" = type { ptr }
%class.Vec4 = type <{ double, double, double, double, i32, [4 x i8] }>
%"struct.std::pair" = type { %class.Vec4, %class.Color }
%class.Color = type { double, double, double }

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23calcModelingTransMatrixP6CameraR5ModelRKSt6vectorIP11TranslationSaIS5_EERKS3_IP8RotationSaISB_EERKS3_IP7ScalingSaISH_EE(ptr dead_on_unwind noalias writable sret(%class.Matrix4) align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

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

declare void @_Z24multiplyMatrixWithMatrix7Matrix4S_(ptr dead_on_unwind writable sret(%class.Matrix4) align 8, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21calcCameraTransMatrixP6Camera(ptr dead_on_unwind noalias writable sret(%class.Matrix4) align 8, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z25calcProjectionTransMatrixP6Camerab(ptr dead_on_unwind noalias writable sret(%class.Matrix4) align 8, ptr noundef, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z23calcViewportTransMatrixP6Camera(ptr dead_on_unwind noalias writable sret(%class.Matrix4) align 8, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z16isBackfaceCulledR4Vec4S0_S0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z8clipLineRSt4pairI4Vec45ColorES3_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #0

declare void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13rasterizeLineRSt6vectorIS_I5ColorSaIS0_EESaIS2_EER4Vec4S7_RS0_S8_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17rasterizeTriangleRSt6vectorIS_I5ColorSaIS0_EESaIS2_EEPKS0_S7_S7_R4Vec4S9_S9_ii(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Scene24forwardRenderingPipelineEP6Camera(ptr noundef nonnull align 8 dereferenceable(224) %0, ptr noundef %1) local_unnamed_addr #0 align 2 {
  %3 = alloca %class.Matrix4, align 8
  %4 = alloca %class.Matrix4, align 8
  %5 = alloca %class.Matrix4, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %class.Matrix4, align 8
  %9 = alloca %class.Matrix4, align 8
  %10 = alloca %class.Matrix4, align 8
  %11 = alloca %class.Matrix4, align 8
  %12 = alloca %class.Matrix4, align 8
  %13 = alloca %class.Matrix4, align 8
  %14 = alloca %class.Matrix4, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.55", align 8
  %17 = alloca %class.Vec4, align 8
  %18 = alloca %class.Matrix4, align 8
  %19 = alloca %class.Vec4, align 8
  %20 = alloca %class.Vec4, align 8
  %21 = alloca %class.Matrix4, align 8
  %22 = alloca %class.Vec4, align 8
  %23 = alloca %class.Vec4, align 8
  %24 = alloca %class.Matrix4, align 8
  %25 = alloca %class.Vec4, align 8
  %26 = alloca %"struct.std::pair", align 8
  %27 = alloca %"struct.std::pair", align 8
  %28 = alloca %"struct.std::pair", align 8
  %29 = alloca %"struct.std::pair", align 8
  %30 = alloca %"struct.std::pair", align 8
  %31 = alloca %"struct.std::pair", align 8
  %32 = alloca %class.Vec4, align 8
  %33 = alloca %class.Matrix4, align 8
  %34 = alloca %class.Vec4, align 8
  %35 = alloca %class.Vec4, align 8
  %36 = alloca %class.Matrix4, align 8
  %37 = alloca %class.Vec4, align 8
  %38 = alloca %class.Vec4, align 8
  %39 = alloca %class.Matrix4, align 8
  %40 = alloca %class.Vec4, align 8
  %41 = alloca %class.Vec4, align 8
  %42 = alloca %class.Matrix4, align 8
  %43 = alloca %class.Vec4, align 8
  %44 = alloca %class.Vec4, align 8
  %45 = alloca %class.Matrix4, align 8
  %46 = alloca %class.Vec4, align 8
  %47 = alloca %class.Vec4, align 8
  %48 = alloca %class.Matrix4, align 8
  %49 = alloca %class.Vec4, align 8
  %50 = alloca %class.Vec4, align 8
  %51 = alloca %class.Matrix4, align 8
  %52 = alloca %class.Vec4, align 8
  %53 = alloca %class.Vec4, align 8
  %54 = alloca %class.Matrix4, align 8
  %55 = alloca %class.Vec4, align 8
  %56 = alloca %class.Vec4, align 8
  %57 = alloca %class.Matrix4, align 8
  %58 = alloca %class.Vec4, align 8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #6
  call void @_Z21calcCameraTransMatrixP6Camera(ptr dead_on_unwind nonnull writable sret(%class.Matrix4) align 8 %3, ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %4) #6
  %59 = getelementptr inbounds i8, ptr %0, i64 28
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = icmp ne i32 %60, 0
  call void @_Z25calcProjectionTransMatrixP6Camerab(ptr dead_on_unwind nonnull writable sret(%class.Matrix4) align 8 %4, ptr noundef %1, i1 noundef zeroext %61)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %5) #6
  call void @_Z23calcViewportTransMatrixP6Camera(ptr dead_on_unwind nonnull writable sret(%class.Matrix4) align 8 %5, ptr noundef %1)
  %62 = getelementptr inbounds i8, ptr %0, i64 200
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %63 = call ptr @_ZNSt6vectorIP5ModelSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #6
  store ptr %63, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %64 = call ptr @_ZNSt6vectorIP5ModelSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #6
  store ptr %64, ptr %7, align 8
  %65 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP5ModelSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %65, label %.lr.ph45, label %._crit_edge46

.lr.ph45:                                         ; preds = %2
  %66 = getelementptr inbounds i8, ptr %0, i64 176
  %67 = getelementptr inbounds i8, ptr %0, i64 152
  %68 = getelementptr inbounds i8, ptr %0, i64 128
  %69 = getelementptr inbounds i8, ptr %0, i64 80
  %70 = getelementptr inbounds i8, ptr %0, i64 104
  %71 = getelementptr inbounds i8, ptr %0, i64 24
  %72 = getelementptr inbounds i8, ptr %17, i64 24
  %73 = getelementptr inbounds i8, ptr %20, i64 24
  %74 = getelementptr inbounds i8, ptr %23, i64 24
  %75 = getelementptr inbounds i8, ptr %0, i64 32
  %76 = getelementptr inbounds i8, ptr %1, i64 216
  %77 = getelementptr inbounds i8, ptr %1, i64 220
  %78 = getelementptr inbounds i8, ptr %26, i64 24
  %79 = getelementptr inbounds i8, ptr %27, i64 24
  %80 = getelementptr inbounds i8, ptr %28, i64 24
  %81 = getelementptr inbounds i8, ptr %29, i64 24
  %82 = getelementptr inbounds i8, ptr %30, i64 24
  %83 = getelementptr inbounds i8, ptr %31, i64 24
  %84 = getelementptr inbounds i8, ptr %26, i64 40
  %85 = getelementptr inbounds i8, ptr %27, i64 40
  %86 = getelementptr inbounds i8, ptr %28, i64 40
  %87 = getelementptr inbounds i8, ptr %29, i64 40
  %88 = getelementptr inbounds i8, ptr %30, i64 40
  %89 = getelementptr inbounds i8, ptr %31, i64 40
  br label %90

._crit_edge46:                                    ; preds = %._crit_edge, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #6
  ret void

90:                                               ; preds = %.lr.ph45, %._crit_edge
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP5ModelSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %8) #6
  %92 = load ptr, ptr %91, align 8, !tbaa !46
  call void @_Z23calcModelingTransMatrixP6CameraR5ModelRKSt6vectorIP11TranslationSaIS5_EERKS3_IP8RotationSaISB_EERKS3_IP7ScalingSaISH_EE(ptr dead_on_unwind nonnull writable sret(%class.Matrix4) align 8 %8, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(96) %92, ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 8 dereferenceable(24) %67, ptr noundef nonnull align 8 dereferenceable(24) %68)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %9) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %10, ptr noundef nonnull align 8 dereferenceable(128) %3)
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %11, ptr noundef nonnull align 8 dereferenceable(128) %8)
  call void @_Z24multiplyMatrixWithMatrix7Matrix4S_(ptr dead_on_unwind nonnull writable sret(%class.Matrix4) align 8 %9, ptr noundef nonnull %10, ptr noundef nonnull %11)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %12) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %13, ptr noundef nonnull align 8 dereferenceable(128) %4)
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %14, ptr noundef nonnull align 8 dereferenceable(128) %9)
  call void @_Z24multiplyMatrixWithMatrix7Matrix4S_(ptr dead_on_unwind nonnull writable sret(%class.Matrix4) align 8 %12, ptr noundef nonnull %13, ptr noundef nonnull %14)
  %93 = load ptr, ptr %91, align 8, !tbaa !46
  %94 = getelementptr inbounds i8, ptr %93, i64 72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %95 = call ptr @_ZNSt6vectorI8TriangleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #6
  store ptr %95, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %96 = call ptr @_ZNSt6vectorI8TriangleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #6
  store ptr %96, ptr %16, align 8
  %97 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP8TriangleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br i1 %97, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %191, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %8) #6
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPP5ModelSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %99 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP5ModelSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %99, label %90, label %._crit_edge46

.lr.ph:                                           ; preds = %90, %191
  %100 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP8TriangleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %101 = call noundef i32 @_ZN8Triangle16getFirstVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12) %100)
  %102 = add nsw i32 %101, -1
  %103 = sext i32 %102 to i64
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4Vec3SaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %103) #6
  %105 = load ptr, ptr %104, align 8, !tbaa !46
  %106 = call noundef i32 @_ZN8Triangle17getSecondVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12) %100)
  %107 = add nsw i32 %106, -1
  %108 = sext i32 %107 to i64
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4Vec3SaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %108) #6
  %110 = load ptr, ptr %109, align 8, !tbaa !46
  %111 = call noundef i32 @_ZN8Triangle16getThirdVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12) %100)
  %112 = add nsw i32 %111, -1
  %113 = sext i32 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP4Vec3SaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %113) #6
  %115 = load ptr, ptr %114, align 8, !tbaa !46
  %116 = getelementptr inbounds i8, ptr %105, i64 24
  %117 = load i32, ptr %116, align 8, !tbaa !47
  %118 = add nsw i32 %117, -1
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5ColorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %119) #6
  %121 = load ptr, ptr %120, align 8, !tbaa !46
  %122 = getelementptr inbounds i8, ptr %110, i64 24
  %123 = load i32, ptr %122, align 8, !tbaa !47
  %124 = add nsw i32 %123, -1
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5ColorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %125) #6
  %127 = load ptr, ptr %126, align 8, !tbaa !46
  %128 = getelementptr inbounds i8, ptr %115, i64 24
  %129 = load i32, ptr %128, align 8, !tbaa !47
  %130 = add nsw i32 %129, -1
  %131 = sext i32 %130 to i64
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP5ColorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %131) #6
  %133 = load ptr, ptr %132, align 8, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef nonnull align 8 dereferenceable(128) %12)
  %134 = load double, ptr %105, align 8, !tbaa !49
  %135 = getelementptr inbounds i8, ptr %105, i64 8
  %136 = load double, ptr %135, align 8, !tbaa !50
  %137 = getelementptr inbounds i8, ptr %105, i64 16
  %138 = load double, ptr %137, align 8, !tbaa !51
  %139 = load i32, ptr %116, align 8, !tbaa !47
  call void @_ZN4Vec4C1Eddddi(ptr noundef nonnull align 8 dereferenceable(36) %19, double noundef %134, double noundef %136, double noundef %138, double noundef 1.000000e+00, i32 noundef %139)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %17, ptr noundef nonnull %18, ptr noundef nonnull %19)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %21, ptr noundef nonnull align 8 dereferenceable(128) %12)
  %140 = load double, ptr %110, align 8, !tbaa !49
  %141 = getelementptr inbounds i8, ptr %110, i64 8
  %142 = load double, ptr %141, align 8, !tbaa !50
  %143 = getelementptr inbounds i8, ptr %110, i64 16
  %144 = load double, ptr %143, align 8, !tbaa !51
  %145 = load i32, ptr %122, align 8, !tbaa !47
  call void @_ZN4Vec4C1Eddddi(ptr noundef nonnull align 8 dereferenceable(36) %22, double noundef %140, double noundef %142, double noundef %144, double noundef 1.000000e+00, i32 noundef %145)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %20, ptr noundef nonnull %21, ptr noundef nonnull %22)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %24, ptr noundef nonnull align 8 dereferenceable(128) %12)
  %146 = load double, ptr %115, align 8, !tbaa !49
  %147 = getelementptr inbounds i8, ptr %115, i64 8
  %148 = load double, ptr %147, align 8, !tbaa !50
  %149 = getelementptr inbounds i8, ptr %115, i64 16
  %150 = load double, ptr %149, align 8, !tbaa !51
  %151 = load i32, ptr %128, align 8, !tbaa !47
  call void @_ZN4Vec4C1Eddddi(ptr noundef nonnull align 8 dereferenceable(36) %25, double noundef %146, double noundef %148, double noundef %150, double noundef 1.000000e+00, i32 noundef %151)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %23, ptr noundef nonnull %24, ptr noundef nonnull %25)
  %152 = load i8, ptr %71, align 8, !tbaa !52, !range !53, !noundef !54
  %153 = trunc nuw i8 %152 to i1
  br i1 %153, label %154, label %156

154:                                              ; preds = %.lr.ph
  %155 = call noundef zeroext i1 @_Z16isBackfaceCulledR4Vec4S0_S0_(ptr noundef nonnull align 8 dereferenceable(36) %17, ptr noundef nonnull align 8 dereferenceable(36) %20, ptr noundef nonnull align 8 dereferenceable(36) %23)
  br i1 %155, label %191, label %156

156:                                              ; preds = %154, %.lr.ph
  %157 = load ptr, ptr %91, align 8, !tbaa !46
  %158 = getelementptr inbounds i8, ptr %157, i64 4
  %159 = load i32, ptr %158, align 4, !tbaa !55
  %.not = icmp eq i32 %159, 0
  br i1 %.not, label %160, label %182

160:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %26) #6
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %26, ptr noundef nonnull align 8 dereferenceable(36) %17, ptr noundef nonnull align 8 dereferenceable(24) %121)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %27) #6
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %27, ptr noundef nonnull align 8 dereferenceable(36) %20, ptr noundef nonnull align 8 dereferenceable(24) %127)
  %161 = load double, ptr %78, align 8, !tbaa !69
  %162 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %26, double noundef %161)
  %163 = load double, ptr %79, align 8, !tbaa !69
  %164 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %27, double noundef %163)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %28) #6
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %28, ptr noundef nonnull align 8 dereferenceable(36) %20, ptr noundef nonnull align 8 dereferenceable(24) %127)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %29) #6
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %29, ptr noundef nonnull align 8 dereferenceable(36) %23, ptr noundef nonnull align 8 dereferenceable(24) %133)
  %165 = load double, ptr %80, align 8, !tbaa !69
  %166 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %28, double noundef %165)
  %167 = load double, ptr %81, align 8, !tbaa !69
  %168 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %29, double noundef %167)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %30) #6
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %30, ptr noundef nonnull align 8 dereferenceable(36) %23, ptr noundef nonnull align 8 dereferenceable(24) %133)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %31) #6
  call void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %31, ptr noundef nonnull align 8 dereferenceable(36) %17, ptr noundef nonnull align 8 dereferenceable(24) %121)
  %169 = load double, ptr %82, align 8, !tbaa !69
  %170 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %30, double noundef %169)
  %171 = load double, ptr %83, align 8, !tbaa !69
  %172 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %31, double noundef %171)
  %173 = call noundef zeroext i1 @_Z8clipLineRSt4pairI4Vec45ColorES3_(ptr noundef nonnull align 8 dereferenceable(64) %26, ptr noundef nonnull align 8 dereferenceable(64) %27)
  %174 = call noundef zeroext i1 @_Z8clipLineRSt4pairI4Vec45ColorES3_(ptr noundef nonnull align 8 dereferenceable(64) %28, ptr noundef nonnull align 8 dereferenceable(64) %29)
  %175 = call noundef zeroext i1 @_Z8clipLineRSt4pairI4Vec45ColorES3_(ptr noundef nonnull align 8 dereferenceable(64) %30, ptr noundef nonnull align 8 dereferenceable(64) %31)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %32) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %33, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %34, ptr noundef nonnull align 8 dereferenceable(36) %26)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %32, ptr noundef nonnull %33, ptr noundef nonnull %34)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %26, ptr noundef nonnull align 8 dereferenceable(36) %32, i64 36, i1 false), !tbaa.struct !72
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %35) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %36, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %37, ptr noundef nonnull align 8 dereferenceable(36) %27)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %35, ptr noundef nonnull %36, ptr noundef nonnull %37)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %27, ptr noundef nonnull align 8 dereferenceable(36) %35, i64 36, i1 false), !tbaa.struct !72
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %35) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %38) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %39, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %40, ptr noundef nonnull align 8 dereferenceable(36) %28)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %38, ptr noundef nonnull %39, ptr noundef nonnull %40)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %28, ptr noundef nonnull align 8 dereferenceable(36) %38, i64 36, i1 false), !tbaa.struct !72
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %38) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %41) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %42, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %43, ptr noundef nonnull align 8 dereferenceable(36) %29)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %41, ptr noundef nonnull %42, ptr noundef nonnull %43)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %29, ptr noundef nonnull align 8 dereferenceable(36) %41, i64 36, i1 false), !tbaa.struct !72
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %41) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %44) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %45, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %46, ptr noundef nonnull align 8 dereferenceable(36) %30)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %44, ptr noundef nonnull %45, ptr noundef nonnull %46)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %30, ptr noundef nonnull align 8 dereferenceable(36) %44, i64 36, i1 false), !tbaa.struct !72
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %44) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %47) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %48, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %49, ptr noundef nonnull align 8 dereferenceable(36) %31)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %47, ptr noundef nonnull %48, ptr noundef nonnull %49)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %31, ptr noundef nonnull align 8 dereferenceable(36) %47, i64 36, i1 false), !tbaa.struct !72
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %47) #6
  br i1 %173, label %176, label %177

176:                                              ; preds = %160
  call void @_Z13rasterizeLineRSt6vectorIS_I5ColorSaIS0_EESaIS2_EER4Vec4S7_RS0_S8_(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(36) %26, ptr noundef nonnull align 8 dereferenceable(36) %27, ptr noundef nonnull align 8 dereferenceable(24) %84, ptr noundef nonnull align 8 dereferenceable(24) %85)
  br label %177

177:                                              ; preds = %176, %160
  br i1 %174, label %178, label %179

178:                                              ; preds = %177
  call void @_Z13rasterizeLineRSt6vectorIS_I5ColorSaIS0_EESaIS2_EER4Vec4S7_RS0_S8_(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(36) %28, ptr noundef nonnull align 8 dereferenceable(36) %29, ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 8 dereferenceable(24) %87)
  br label %179

179:                                              ; preds = %178, %177
  br i1 %175, label %180, label %181

180:                                              ; preds = %179
  call void @_Z13rasterizeLineRSt6vectorIS_I5ColorSaIS0_EESaIS2_EER4Vec4S7_RS0_S8_(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(36) %30, ptr noundef nonnull align 8 dereferenceable(36) %31, ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 8 dereferenceable(24) %89)
  br label %181

181:                                              ; preds = %180, %179
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %26) #6
  br label %191

182:                                              ; preds = %156
  %183 = load double, ptr %72, align 8, !tbaa !75
  %184 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %17, double noundef %183)
  %185 = load double, ptr %73, align 8, !tbaa !75
  %186 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %20, double noundef %185)
  %187 = load double, ptr %74, align 8, !tbaa !75
  %188 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36) %23, double noundef %187)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %50) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %51, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %52, ptr noundef nonnull align 8 dereferenceable(36) %17)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %50, ptr noundef nonnull %51, ptr noundef nonnull %52)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %53) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %54, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %55, ptr noundef nonnull align 8 dereferenceable(36) %20)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %53, ptr noundef nonnull %54, ptr noundef nonnull %55)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %56) #6
  call void @_ZN7Matrix4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(128) %57, ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @_ZN4Vec4C1ERKS_(ptr noundef nonnull align 8 dereferenceable(36) %58, ptr noundef nonnull align 8 dereferenceable(36) %23)
  call void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind nonnull writable sret(%class.Vec4) align 8 %56, ptr noundef nonnull %57, ptr noundef nonnull %58)
  %189 = load i32, ptr %76, align 8, !tbaa !76
  %190 = load i32, ptr %77, align 4, !tbaa !81
  call void @_Z17rasterizeTriangleRSt6vectorIS_I5ColorSaIS0_EESaIS2_EEPKS0_S7_S7_R4Vec4S9_S9_ii(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef %121, ptr noundef %127, ptr noundef %133, ptr noundef nonnull align 8 dereferenceable(36) %50, ptr noundef nonnull align 8 dereferenceable(36) %53, ptr noundef nonnull align 8 dereferenceable(36) %56, i32 noundef %189, i32 noundef %190)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %56) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %53) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %50) #6
  br label %191

191:                                              ; preds = %181, %182, %154
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #6
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP8TriangleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %193 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP8TriangleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br i1 %193, label %.lr.ph, label %._crit_edge
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP5ModelSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP8TriangleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP8TriangleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

declare noundef i32 @_ZN8Triangle16getFirstVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

declare noundef i32 @_ZN8Triangle17getSecondVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

declare noundef i32 @_ZN8Triangle16getThirdVertexIdEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

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

declare void @_Z22multiplyMatrixWithVec47Matrix44Vec4(ptr dead_on_unwind writable sret(%class.Vec4) align 8, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN4Vec4C1Eddddi(ptr noundef nonnull align 8 dereferenceable(36), double noundef, double noundef, double noundef, double noundef, i32 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIR4Vec4RK5ColorESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

declare noundef nonnull align 8 dereferenceable(36) ptr @_ZN4Vec4dVEd(ptr noundef nonnull align 8 dereferenceable(36), double noundef) local_unnamed_addr #3

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 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 = { 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 #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, !12, i64 28}
!6 = !{!"_ZTS5Scene", !7, i64 0, !11, i64 24, !12, i64 28, !13, i64 32, !18, i64 56, !22, i64 80, !26, i64 104, !30, i64 128, !34, i64 152, !38, i64 176, !42, i64 200}
!7 = !{!"_ZTS5Color", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"_ZTSSt6vectorIS_I5ColorSaIS0_EESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseISt6vectorI5ColorSaIS1_EESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt6vectorI5ColorSaIS1_EESaIS3_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseISt6vectorI5ColorSaIS1_EESaIS3_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!"_ZTSSt6vectorIP6CameraSaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIP6CameraSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP6CameraSaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP6CameraSaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!22 = !{!"_ZTSSt6vectorIP4Vec3SaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIP4Vec3SaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIP4Vec3SaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP4Vec3SaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!26 = !{!"_ZTSSt6vectorIP5ColorSaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIP5ColorSaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP5ColorSaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP5ColorSaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!30 = !{!"_ZTSSt6vectorIP7ScalingSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIP7ScalingSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP7ScalingSaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP7ScalingSaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!34 = !{!"_ZTSSt6vectorIP8RotationSaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIP8RotationSaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIP8RotationSaIS1_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIP8RotationSaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!38 = !{!"_ZTSSt6vectorIP11TranslationSaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIP11TranslationSaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIP11TranslationSaIS1_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIP11TranslationSaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!42 = !{!"_ZTSSt6vectorIP5ModelSaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseIP5ModelSaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIP5ModelSaIS1_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIP5ModelSaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!46 = !{!17, !17, i64 0}
!47 = !{!48, !12, i64 24}
!48 = !{!"_ZTS4Vec3", !8, i64 0, !8, i64 8, !8, i64 16, !12, i64 24}
!49 = !{!48, !8, i64 0}
!50 = !{!48, !8, i64 8}
!51 = !{!48, !8, i64 16}
!52 = !{!6, !11, i64 24}
!53 = !{i8 0, i8 2}
!54 = !{}
!55 = !{!56, !12, i64 4}
!56 = !{!"_ZTS5Model", !12, i64 0, !12, i64 4, !12, i64 8, !57, i64 16, !61, i64 40, !12, i64 64, !65, i64 72}
!57 = !{!"_ZTSSt6vectorIiSaIiEE", !58, i64 0}
!58 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!61 = !{!"_ZTSSt6vectorIcSaIcEE", !62, i64 0}
!62 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!65 = !{!"_ZTSSt6vectorI8TriangleSaIS0_EE", !66, i64 0}
!66 = !{!"_ZTSSt12_Vector_baseI8TriangleSaIS0_EE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseI8TriangleSaIS0_EE12_Vector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseI8TriangleSaIS0_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!69 = !{!70, !8, i64 24}
!70 = !{!"_ZTSSt4pairI4Vec45ColorE", !71, i64 0, !7, i64 40}
!71 = !{!"_ZTS4Vec4", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !12, i64 32}
!72 = !{i64 0, i64 8, !73, i64 8, i64 8, !73, i64 16, i64 8, !73, i64 24, i64 8, !73, i64 32, i64 4, !74}
!73 = !{!8, !8, i64 0}
!74 = !{!12, !12, i64 0}
!75 = !{!71, !8, i64 24}
!76 = !{!77, !12, i64 216}
!77 = !{!"_ZTS6Camera", !12, i64 0, !48, i64 8, !48, i64 40, !48, i64 72, !48, i64 104, !48, i64 136, !8, i64 168, !8, i64 176, !8, i64 184, !8, i64 192, !8, i64 200, !8, i64 208, !12, i64 216, !12, i64 220, !78, i64 224}
!78 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !79, i64 0, !80, i64 8, !9, i64 16}
!79 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!80 = !{!"long", !9, i64 0}
!81 = !{!77, !12, i64 220}


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