; LLVM IR from Sonryle/JoePhys :: testbed/src/Renderer.ll (ZN8Renderer13AddColourTestEv)

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

%struct.Palette = type { [16 x %struct.colour] }
%struct.colour = type { float, float, float, float }
%struct.vec2 = type { float, float }

@palette = external global %struct.Palette, align 4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>, <2 x float>) #0 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Renderer13AddColourTestEv(ptr noundef nonnull align 8 dereferenceable(16) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %struct.vec2, align 4
  %4 = alloca %struct.vec2, align 4
  %5 = alloca %struct.vec2, align 4
  %6 = alloca %struct.colour, align 4
  %7 = alloca %struct.vec2, align 4
  %8 = alloca %struct.vec2, align 4
  %9 = alloca %struct.vec2, align 4
  %10 = alloca %struct.colour, align 4
  %11 = alloca %struct.vec2, align 4
  %12 = alloca %struct.vec2, align 4
  %13 = alloca %struct.vec2, align 4
  %14 = alloca %struct.colour, align 4
  %15 = alloca %struct.vec2, align 4
  %16 = alloca %struct.vec2, align 4
  %17 = alloca %struct.vec2, align 4
  %18 = alloca %struct.colour, align 4
  %19 = alloca %struct.vec2, align 4
  %20 = alloca %struct.vec2, align 4
  %21 = alloca %struct.vec2, align 4
  %22 = alloca %struct.colour, align 4
  %23 = alloca %struct.vec2, align 4
  %24 = alloca %struct.vec2, align 4
  %25 = alloca %struct.vec2, align 4
  %26 = alloca %struct.colour, align 4
  %27 = alloca %struct.vec2, align 4
  %28 = alloca %struct.vec2, align 4
  %29 = alloca %struct.vec2, align 4
  %30 = alloca %struct.colour, align 4
  %31 = alloca %struct.vec2, align 4
  %32 = alloca %struct.vec2, align 4
  %33 = alloca %struct.vec2, align 4
  %34 = alloca %struct.colour, align 4
  %35 = alloca %struct.vec2, align 4
  %36 = alloca %struct.vec2, align 4
  %37 = alloca %struct.vec2, align 4
  %38 = alloca %struct.colour, align 4
  %39 = alloca %struct.vec2, align 4
  %40 = alloca %struct.vec2, align 4
  %41 = alloca %struct.vec2, align 4
  %42 = alloca %struct.colour, align 4
  %43 = alloca %struct.vec2, align 4
  %44 = alloca %struct.vec2, align 4
  %45 = alloca %struct.vec2, align 4
  %46 = alloca %struct.colour, align 4
  %47 = alloca %struct.vec2, align 4
  %48 = alloca %struct.vec2, align 4
  %49 = alloca %struct.vec2, align 4
  %50 = alloca %struct.colour, align 4
  %51 = alloca %struct.vec2, align 4
  %52 = alloca %struct.vec2, align 4
  %53 = alloca %struct.vec2, align 4
  %54 = alloca %struct.colour, align 4
  %55 = alloca %struct.vec2, align 4
  %56 = alloca %struct.vec2, align 4
  %57 = alloca %struct.vec2, align 4
  %58 = alloca %struct.colour, align 4
  %59 = alloca %struct.vec2, align 4
  %60 = alloca %struct.vec2, align 4
  %61 = alloca %struct.vec2, align 4
  %62 = alloca %struct.colour, align 4
  %63 = alloca %struct.vec2, align 4
  %64 = alloca %struct.vec2, align 4
  %65 = alloca %struct.vec2, align 4
  %66 = alloca %struct.colour, align 4
  %67 = alloca %struct.vec2, align 4
  %68 = alloca %struct.vec2, align 4
  %69 = alloca %struct.vec2, align 4
  %70 = alloca %struct.colour, align 4
  %71 = alloca %struct.vec2, align 4
  %72 = alloca %struct.vec2, align 4
  %73 = alloca %struct.vec2, align 4
  %74 = alloca %struct.colour, align 4
  %75 = alloca %struct.vec2, align 4
  %76 = alloca %struct.vec2, align 4
  %77 = alloca %struct.vec2, align 4
  %78 = alloca %struct.colour, align 4
  %79 = alloca %struct.vec2, align 4
  %80 = alloca %struct.vec2, align 4
  %81 = alloca %struct.vec2, align 4
  %82 = alloca %struct.colour, align 4
  %83 = alloca %struct.vec2, align 4
  %84 = alloca %struct.vec2, align 4
  %85 = alloca %struct.vec2, align 4
  %86 = alloca %struct.colour, align 4
  %87 = alloca %struct.vec2, align 4
  %88 = alloca %struct.vec2, align 4
  %89 = alloca %struct.vec2, align 4
  %90 = alloca %struct.colour, align 4
  %91 = alloca %struct.vec2, align 4
  %92 = alloca %struct.vec2, align 4
  %93 = alloca %struct.vec2, align 4
  %94 = alloca %struct.colour, align 4
  %95 = alloca %struct.vec2, align 4
  %96 = alloca %struct.vec2, align 4
  %97 = alloca %struct.vec2, align 4
  %98 = alloca %struct.colour, align 4
  %99 = alloca %struct.vec2, align 4
  %100 = alloca %struct.vec2, align 4
  %101 = alloca %struct.vec2, align 4
  %102 = alloca %struct.colour, align 4
  %103 = alloca %struct.vec2, align 4
  %104 = alloca %struct.vec2, align 4
  %105 = alloca %struct.vec2, align 4
  %106 = alloca %struct.colour, align 4
  %107 = alloca %struct.vec2, align 4
  %108 = alloca %struct.vec2, align 4
  %109 = alloca %struct.vec2, align 4
  %110 = alloca %struct.colour, align 4
  %111 = alloca %struct.vec2, align 4
  %112 = alloca %struct.vec2, align 4
  %113 = alloca %struct.vec2, align 4
  %114 = alloca %struct.colour, align 4
  %115 = alloca %struct.vec2, align 4
  %116 = alloca %struct.vec2, align 4
  %117 = alloca %struct.vec2, align 4
  %118 = alloca %struct.colour, align 4
  %119 = alloca %struct.vec2, align 4
  %120 = alloca %struct.vec2, align 4
  %121 = alloca %struct.vec2, align 4
  %122 = alloca %struct.colour, align 4
  %123 = alloca %struct.vec2, align 4
  %124 = alloca %struct.vec2, align 4
  %125 = alloca %struct.vec2, align 4
  %126 = alloca %struct.colour, align 4
  %127 = alloca %struct.vec2, align 4
  %128 = alloca %struct.vec2, align 4
  %129 = alloca %struct.vec2, align 4
  %130 = alloca %struct.colour, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %131 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0xC00F333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 0xC008CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef -3.500000e+00, float noundef 0x3FE4CCCCC0000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 8), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0xC007333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0xC000CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef -2.500000e+00, float noundef 0x3FE4CCCCC0000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 9), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0xBFFE666660000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0xBFF19999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef -1.500000e+00, float noundef 0x3FE4CCCCC0000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 10), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0xBFECCCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0xBFB99999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef -5.000000e-01, float noundef 0x3FE4CCCCC0000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 11), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 0x3FECCCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef 5.000000e-01, float noundef 0x3FE4CCCCC0000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 12), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef 0x3FF19999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef 0x3FFE666660000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef 1.500000e+00, float noundef 0x3FE4CCCCC0000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 13), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 0x4000CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef 0x4007333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef 2.500000e+00, float noundef 0x3FE4CCCCC0000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 14), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef 0x4008CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 0x400F333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef 3.500000e+00, float noundef 0x3FE4CCCCC0000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 15), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef 0xC00F333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef 0xC008CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef -3.500000e+00, float noundef 0xBFD6666660000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 @palette, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef 0xC007333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef 0xC000CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef -2.500000e+00, float noundef 0xBFD6666660000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 1), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef 0xBFFE666660000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef 0xBFF19999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %45, float noundef -1.500000e+00, float noundef 0xBFD6666660000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 2), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %47, float noundef 0xBFECCCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %48, float noundef 0xBFB99999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %49, float noundef -5.000000e-01, float noundef 0xBFD6666660000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 3), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %51, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %52, float noundef 0x3FECCCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %53, float noundef 5.000000e-01, float noundef 0xBFD6666660000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 4), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %55, float noundef 0x3FF19999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %56, float noundef 0x3FFE666660000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %57, float noundef 1.500000e+00, float noundef 0xBFD6666660000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 5), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %59, float noundef 0x4000CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %60, float noundef 0x4007333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %61, float noundef 2.500000e+00, float noundef 0xBFD6666660000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 6), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %63, float noundef 0x4008CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %64, float noundef 0x400F333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #4
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %65, float noundef 3.500000e+00, float noundef 0xBFD6666660000000)
  call void @llvm.lifetime.start.p0(i64 16, ptr %66) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 getelementptr inbounds ([16 x %struct.colour], ptr @palette, i64 0, i64 7), i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %67, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %70, ptr align 4 %6, i64 16, i1 false), !tbaa.struct !9
  %132 = load <2 x float>, ptr %67, align 4
  %133 = load <2 x float>, ptr %68, align 4
  %134 = load <2 x float>, ptr %69, align 4
  %135 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %70, i32 0, i32 0
  %136 = load <2 x float>, ptr %135, align 4
  %137 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %70, i32 0, i32 1
  %138 = load <2 x float>, ptr %137, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %132, <2 x float> %133, <2 x float> %134, <2 x float> %136, <2 x float> %138)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %71, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %8, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %73, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 4 %10, i64 16, i1 false), !tbaa.struct !9
  %139 = load <2 x float>, ptr %71, align 4
  %140 = load <2 x float>, ptr %72, align 4
  %141 = load <2 x float>, ptr %73, align 4
  %142 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %74, i32 0, i32 0
  %143 = load <2 x float>, ptr %142, align 4
  %144 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %74, i32 0, i32 1
  %145 = load <2 x float>, ptr %144, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %139, <2 x float> %140, <2 x float> %141, <2 x float> %143, <2 x float> %145)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 4 %14, i64 16, i1 false), !tbaa.struct !9
  %146 = load <2 x float>, ptr %75, align 4
  %147 = load <2 x float>, ptr %76, align 4
  %148 = load <2 x float>, ptr %77, align 4
  %149 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 0
  %150 = load <2 x float>, ptr %149, align 4
  %151 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 1
  %152 = load <2 x float>, ptr %151, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %146, <2 x float> %147, <2 x float> %148, <2 x float> %150, <2 x float> %152)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %80, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %17, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 4 %18, i64 16, i1 false), !tbaa.struct !9
  %153 = load <2 x float>, ptr %79, align 4
  %154 = load <2 x float>, ptr %80, align 4
  %155 = load <2 x float>, ptr %81, align 4
  %156 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %82, i32 0, i32 0
  %157 = load <2 x float>, ptr %156, align 4
  %158 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %82, i32 0, i32 1
  %159 = load <2 x float>, ptr %158, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %153, <2 x float> %154, <2 x float> %155, <2 x float> %157, <2 x float> %159)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %83, ptr align 4 %19, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %84, ptr align 4 %20, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %85, ptr align 4 %21, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %86, ptr align 4 %22, i64 16, i1 false), !tbaa.struct !9
  %160 = load <2 x float>, ptr %83, align 4
  %161 = load <2 x float>, ptr %84, align 4
  %162 = load <2 x float>, ptr %85, align 4
  %163 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %86, i32 0, i32 0
  %164 = load <2 x float>, ptr %163, align 4
  %165 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %86, i32 0, i32 1
  %166 = load <2 x float>, ptr %165, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %160, <2 x float> %161, <2 x float> %162, <2 x float> %164, <2 x float> %166)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 4 %23, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %88, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %89, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %90, ptr align 4 %26, i64 16, i1 false), !tbaa.struct !9
  %167 = load <2 x float>, ptr %87, align 4
  %168 = load <2 x float>, ptr %88, align 4
  %169 = load <2 x float>, ptr %89, align 4
  %170 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %90, i32 0, i32 0
  %171 = load <2 x float>, ptr %170, align 4
  %172 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %90, i32 0, i32 1
  %173 = load <2 x float>, ptr %172, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %167, <2 x float> %168, <2 x float> %169, <2 x float> %171, <2 x float> %173)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %91, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %92, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %93, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %94, ptr align 4 %30, i64 16, i1 false), !tbaa.struct !9
  %174 = load <2 x float>, ptr %91, align 4
  %175 = load <2 x float>, ptr %92, align 4
  %176 = load <2 x float>, ptr %93, align 4
  %177 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %94, i32 0, i32 0
  %178 = load <2 x float>, ptr %177, align 4
  %179 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %94, i32 0, i32 1
  %180 = load <2 x float>, ptr %179, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %174, <2 x float> %175, <2 x float> %176, <2 x float> %178, <2 x float> %180)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %95, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %96, ptr align 4 %32, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %97, ptr align 4 %33, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %98, ptr align 4 %34, i64 16, i1 false), !tbaa.struct !9
  %181 = load <2 x float>, ptr %95, align 4
  %182 = load <2 x float>, ptr %96, align 4
  %183 = load <2 x float>, ptr %97, align 4
  %184 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %98, i32 0, i32 0
  %185 = load <2 x float>, ptr %184, align 4
  %186 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %98, i32 0, i32 1
  %187 = load <2 x float>, ptr %186, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %181, <2 x float> %182, <2 x float> %183, <2 x float> %185, <2 x float> %187)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %99, ptr align 4 %35, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %100, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %101, ptr align 4 %37, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %102, ptr align 4 %38, i64 16, i1 false), !tbaa.struct !9
  %188 = load <2 x float>, ptr %99, align 4
  %189 = load <2 x float>, ptr %100, align 4
  %190 = load <2 x float>, ptr %101, align 4
  %191 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %102, i32 0, i32 0
  %192 = load <2 x float>, ptr %191, align 4
  %193 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %102, i32 0, i32 1
  %194 = load <2 x float>, ptr %193, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %188, <2 x float> %189, <2 x float> %190, <2 x float> %192, <2 x float> %194)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %103, ptr align 4 %39, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %104, ptr align 4 %40, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %105, ptr align 4 %41, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %106, ptr align 4 %42, i64 16, i1 false), !tbaa.struct !9
  %195 = load <2 x float>, ptr %103, align 4
  %196 = load <2 x float>, ptr %104, align 4
  %197 = load <2 x float>, ptr %105, align 4
  %198 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %106, i32 0, i32 0
  %199 = load <2 x float>, ptr %198, align 4
  %200 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %106, i32 0, i32 1
  %201 = load <2 x float>, ptr %200, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %195, <2 x float> %196, <2 x float> %197, <2 x float> %199, <2 x float> %201)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %107, ptr align 4 %43, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %108, ptr align 4 %44, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %109, ptr align 4 %45, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %110, ptr align 4 %46, i64 16, i1 false), !tbaa.struct !9
  %202 = load <2 x float>, ptr %107, align 4
  %203 = load <2 x float>, ptr %108, align 4
  %204 = load <2 x float>, ptr %109, align 4
  %205 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %110, i32 0, i32 0
  %206 = load <2 x float>, ptr %205, align 4
  %207 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %110, i32 0, i32 1
  %208 = load <2 x float>, ptr %207, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %202, <2 x float> %203, <2 x float> %204, <2 x float> %206, <2 x float> %208)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %111, ptr align 4 %47, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %112, ptr align 4 %48, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %113, ptr align 4 %49, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %114, ptr align 4 %50, i64 16, i1 false), !tbaa.struct !9
  %209 = load <2 x float>, ptr %111, align 4
  %210 = load <2 x float>, ptr %112, align 4
  %211 = load <2 x float>, ptr %113, align 4
  %212 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %114, i32 0, i32 0
  %213 = load <2 x float>, ptr %212, align 4
  %214 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %114, i32 0, i32 1
  %215 = load <2 x float>, ptr %214, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %209, <2 x float> %210, <2 x float> %211, <2 x float> %213, <2 x float> %215)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %115, ptr align 4 %51, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %116, ptr align 4 %52, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %117, ptr align 4 %53, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %118, ptr align 4 %54, i64 16, i1 false), !tbaa.struct !9
  %216 = load <2 x float>, ptr %115, align 4
  %217 = load <2 x float>, ptr %116, align 4
  %218 = load <2 x float>, ptr %117, align 4
  %219 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %118, i32 0, i32 0
  %220 = load <2 x float>, ptr %219, align 4
  %221 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %118, i32 0, i32 1
  %222 = load <2 x float>, ptr %221, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %216, <2 x float> %217, <2 x float> %218, <2 x float> %220, <2 x float> %222)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %119, ptr align 4 %55, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %120, ptr align 4 %56, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %121, ptr align 4 %57, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %122, ptr align 4 %58, i64 16, i1 false), !tbaa.struct !9
  %223 = load <2 x float>, ptr %119, align 4
  %224 = load <2 x float>, ptr %120, align 4
  %225 = load <2 x float>, ptr %121, align 4
  %226 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %122, i32 0, i32 0
  %227 = load <2 x float>, ptr %226, align 4
  %228 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %122, i32 0, i32 1
  %229 = load <2 x float>, ptr %228, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %223, <2 x float> %224, <2 x float> %225, <2 x float> %227, <2 x float> %229)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %123, ptr align 4 %59, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %124, ptr align 4 %60, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %125, ptr align 4 %61, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %126, ptr align 4 %62, i64 16, i1 false), !tbaa.struct !9
  %230 = load <2 x float>, ptr %123, align 4
  %231 = load <2 x float>, ptr %124, align 4
  %232 = load <2 x float>, ptr %125, align 4
  %233 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %126, i32 0, i32 0
  %234 = load <2 x float>, ptr %233, align 4
  %235 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %126, i32 0, i32 1
  %236 = load <2 x float>, ptr %235, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %230, <2 x float> %231, <2 x float> %232, <2 x float> %234, <2 x float> %236)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %127, ptr align 4 %63, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %128, ptr align 4 %64, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %129, ptr align 4 %65, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %130, ptr align 4 %66, i64 16, i1 false), !tbaa.struct !9
  %237 = load <2 x float>, ptr %127, align 4
  %238 = load <2 x float>, ptr %128, align 4
  %239 = load <2 x float>, ptr %129, align 4
  %240 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %130, i32 0, i32 0
  %241 = load <2 x float>, ptr %240, align 4
  %242 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %130, i32 0, i32 1
  %243 = load <2 x float>, ptr %242, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %131, <2 x float> %237, <2 x float> %238, <2 x float> %239, <2 x float> %241, <2 x float> %243)
  call void @llvm.lifetime.end.p0(i64 16, ptr %66) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

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


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

%struct.Palette = type { [16 x %struct.colour] }
%struct.colour = type { float, float, float, float }
%struct.vec2 = type { float, float }

@palette = external local_unnamed_addr global %struct.Palette, align 4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #0 align 2

; 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 nounwind uwtable
declare dso_local void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #2 align 2

; 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
define dso_local void @_ZN8Renderer13AddColourTestEv(ptr noundef nonnull align 8 dereferenceable(16) %0) local_unnamed_addr #0 align 2 {
  %2 = alloca %struct.vec2, align 8
  %3 = alloca %struct.vec2, align 8
  %4 = alloca %struct.vec2, align 8
  %5 = alloca %struct.vec2, align 8
  %6 = alloca %struct.vec2, align 8
  %7 = alloca %struct.vec2, align 8
  %8 = alloca %struct.vec2, align 8
  %9 = alloca %struct.vec2, align 8
  %10 = alloca %struct.vec2, align 8
  %11 = alloca %struct.vec2, align 8
  %12 = alloca %struct.vec2, align 8
  %13 = alloca %struct.vec2, align 8
  %14 = alloca %struct.vec2, align 8
  %15 = alloca %struct.vec2, align 8
  %16 = alloca %struct.vec2, align 8
  %17 = alloca %struct.vec2, align 8
  %18 = alloca %struct.vec2, align 8
  %19 = alloca %struct.vec2, align 8
  %20 = alloca %struct.vec2, align 8
  %21 = alloca %struct.vec2, align 8
  %22 = alloca %struct.vec2, align 8
  %23 = alloca %struct.vec2, align 8
  %24 = alloca %struct.vec2, align 8
  %25 = alloca %struct.vec2, align 8
  %26 = alloca %struct.vec2, align 8
  %27 = alloca %struct.vec2, align 8
  %28 = alloca %struct.vec2, align 8
  %29 = alloca %struct.vec2, align 8
  %30 = alloca %struct.vec2, align 8
  %31 = alloca %struct.vec2, align 8
  %32 = alloca %struct.vec2, align 8
  %33 = alloca %struct.vec2, align 8
  %34 = alloca %struct.vec2, align 8
  %35 = alloca %struct.vec2, align 8
  %36 = alloca %struct.vec2, align 8
  %37 = alloca %struct.vec2, align 8
  %38 = alloca %struct.vec2, align 8
  %39 = alloca %struct.vec2, align 8
  %40 = alloca %struct.vec2, align 8
  %41 = alloca %struct.vec2, align 8
  %42 = alloca %struct.vec2, align 8
  %43 = alloca %struct.vec2, align 8
  %44 = alloca %struct.vec2, align 8
  %45 = alloca %struct.vec2, align 8
  %46 = alloca %struct.vec2, align 8
  %47 = alloca %struct.vec2, align 8
  %48 = alloca %struct.vec2, align 8
  %49 = alloca %struct.vec2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 0xC00F333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0xC008CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef -3.500000e+00, float noundef 0x3FE4CCCCC0000000)
  %.sroa.0108.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 128), align 4
  %.sroa.4109.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 136), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0xC007333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0xC000CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef -2.500000e+00, float noundef 0x3FE4CCCCC0000000)
  %.sroa.0106.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 144), align 4
  %.sroa.4107.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 152), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0xBFFE666660000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0xBFF19999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef -1.500000e+00, float noundef 0x3FE4CCCCC0000000)
  %.sroa.0104.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 160), align 4
  %.sroa.4105.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 168), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0xBFECCCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0xBFB99999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef -5.000000e-01, float noundef 0x3FE4CCCCC0000000)
  %.sroa.0102.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 176), align 4
  %.sroa.4103.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 184), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0x3FECCCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 5.000000e-01, float noundef 0x3FE4CCCCC0000000)
  %.sroa.0100.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 192), align 4
  %.sroa.4101.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 200), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 0x3FF19999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef 0x3FFE666660000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef 1.500000e+00, float noundef 0x3FE4CCCCC0000000)
  %.sroa.098.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 208), align 4
  %.sroa.499.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 216), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 0x4000CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef 0x4007333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef 2.500000e+00, float noundef 0x3FE4CCCCC0000000)
  %.sroa.096.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 224), align 4
  %.sroa.497.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 232), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef 0x4008CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef 0x400F333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef 3.500000e+00, float noundef 0x3FE4CCCCC0000000)
  %.sroa.094.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 240), align 4
  %.sroa.495.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 248), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef 0xC00F333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 0xC008CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef -3.500000e+00, float noundef 0xBFD6666660000000)
  %.sroa.092.0.copyload = load <2 x float>, ptr @palette, align 4
  %.sroa.493.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 8), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef 0xC007333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef 0xC000CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef -2.500000e+00, float noundef 0xBFD6666660000000)
  %.sroa.090.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 16), align 4
  %.sroa.491.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 24), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 0xBFFE666660000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef 0xBFF19999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef -1.500000e+00, float noundef 0xBFD6666660000000)
  %.sroa.088.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 32), align 4
  %.sroa.489.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 40), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef 0xBFECCCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef 0xBFB99999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef -5.000000e-01, float noundef 0xBFD6666660000000)
  %.sroa.086.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 48), align 4
  %.sroa.487.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 56), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef 0x3FECCCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef 5.000000e-01, float noundef 0xBFD6666660000000)
  %.sroa.084.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 64), align 4
  %.sroa.485.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 72), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef 0x3FF19999A0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %42, float noundef 0x3FFE666660000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef 1.500000e+00, float noundef 0xBFD6666660000000)
  %.sroa.082.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 80), align 4
  %.sroa.483.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 88), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef 0x4000CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %45) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %45, float noundef 0x4007333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %46) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %46, float noundef 2.500000e+00, float noundef 0xBFD6666660000000)
  %.sroa.080.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 96), align 4
  %.sroa.481.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 104), align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %47, float noundef 0x4008CCCCC0000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %48, float noundef 0x400F333340000000, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #3
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %49, float noundef 3.500000e+00, float noundef 0xBFD6666660000000)
  %.sroa.079.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 112), align 4
  %.sroa.4.0.copyload = load <2 x float>, ptr getelementptr inbounds (i8, ptr @palette, i64 120), align 4
  %.sroa.078.0.copyload = load <2 x float>, ptr %2, align 8
  %.sroa.077.0.copyload = load <2 x float>, ptr %3, align 8
  %.sroa.076.0.copyload = load <2 x float>, ptr %4, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.078.0.copyload, <2 x float> %.sroa.077.0.copyload, <2 x float> %.sroa.076.0.copyload, <2 x float> %.sroa.0108.0.copyload, <2 x float> %.sroa.4109.0.copyload)
  %.sroa.073.0.copyload = load <2 x float>, ptr %5, align 8
  %.sroa.072.0.copyload = load <2 x float>, ptr %6, align 8
  %.sroa.071.0.copyload = load <2 x float>, ptr %7, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.073.0.copyload, <2 x float> %.sroa.072.0.copyload, <2 x float> %.sroa.071.0.copyload, <2 x float> %.sroa.0106.0.copyload, <2 x float> %.sroa.4107.0.copyload)
  %.sroa.068.0.copyload = load <2 x float>, ptr %8, align 8
  %.sroa.067.0.copyload = load <2 x float>, ptr %9, align 8
  %.sroa.066.0.copyload = load <2 x float>, ptr %10, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.068.0.copyload, <2 x float> %.sroa.067.0.copyload, <2 x float> %.sroa.066.0.copyload, <2 x float> %.sroa.0104.0.copyload, <2 x float> %.sroa.4105.0.copyload)
  %.sroa.063.0.copyload = load <2 x float>, ptr %11, align 8
  %.sroa.062.0.copyload = load <2 x float>, ptr %12, align 8
  %.sroa.061.0.copyload = load <2 x float>, ptr %13, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.063.0.copyload, <2 x float> %.sroa.062.0.copyload, <2 x float> %.sroa.061.0.copyload, <2 x float> %.sroa.0102.0.copyload, <2 x float> %.sroa.4103.0.copyload)
  %.sroa.058.0.copyload = load <2 x float>, ptr %14, align 8
  %.sroa.057.0.copyload = load <2 x float>, ptr %15, align 8
  %.sroa.056.0.copyload = load <2 x float>, ptr %16, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.058.0.copyload, <2 x float> %.sroa.057.0.copyload, <2 x float> %.sroa.056.0.copyload, <2 x float> %.sroa.0100.0.copyload, <2 x float> %.sroa.4101.0.copyload)
  %.sroa.053.0.copyload = load <2 x float>, ptr %17, align 8
  %.sroa.052.0.copyload = load <2 x float>, ptr %18, align 8
  %.sroa.051.0.copyload = load <2 x float>, ptr %19, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.053.0.copyload, <2 x float> %.sroa.052.0.copyload, <2 x float> %.sroa.051.0.copyload, <2 x float> %.sroa.098.0.copyload, <2 x float> %.sroa.499.0.copyload)
  %.sroa.048.0.copyload = load <2 x float>, ptr %20, align 8
  %.sroa.047.0.copyload = load <2 x float>, ptr %21, align 8
  %.sroa.046.0.copyload = load <2 x float>, ptr %22, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.048.0.copyload, <2 x float> %.sroa.047.0.copyload, <2 x float> %.sroa.046.0.copyload, <2 x float> %.sroa.096.0.copyload, <2 x float> %.sroa.497.0.copyload)
  %.sroa.043.0.copyload = load <2 x float>, ptr %23, align 8
  %.sroa.042.0.copyload = load <2 x float>, ptr %24, align 8
  %.sroa.041.0.copyload = load <2 x float>, ptr %25, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.043.0.copyload, <2 x float> %.sroa.042.0.copyload, <2 x float> %.sroa.041.0.copyload, <2 x float> %.sroa.094.0.copyload, <2 x float> %.sroa.495.0.copyload)
  %.sroa.038.0.copyload = load <2 x float>, ptr %26, align 8
  %.sroa.037.0.copyload = load <2 x float>, ptr %27, align 8
  %.sroa.036.0.copyload = load <2 x float>, ptr %28, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.038.0.copyload, <2 x float> %.sroa.037.0.copyload, <2 x float> %.sroa.036.0.copyload, <2 x float> %.sroa.092.0.copyload, <2 x float> %.sroa.493.0.copyload)
  %.sroa.033.0.copyload = load <2 x float>, ptr %29, align 8
  %.sroa.032.0.copyload = load <2 x float>, ptr %30, align 8
  %.sroa.031.0.copyload = load <2 x float>, ptr %31, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.033.0.copyload, <2 x float> %.sroa.032.0.copyload, <2 x float> %.sroa.031.0.copyload, <2 x float> %.sroa.090.0.copyload, <2 x float> %.sroa.491.0.copyload)
  %.sroa.028.0.copyload = load <2 x float>, ptr %32, align 8
  %.sroa.027.0.copyload = load <2 x float>, ptr %33, align 8
  %.sroa.026.0.copyload = load <2 x float>, ptr %34, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.028.0.copyload, <2 x float> %.sroa.027.0.copyload, <2 x float> %.sroa.026.0.copyload, <2 x float> %.sroa.088.0.copyload, <2 x float> %.sroa.489.0.copyload)
  %.sroa.023.0.copyload = load <2 x float>, ptr %35, align 8
  %.sroa.022.0.copyload = load <2 x float>, ptr %36, align 8
  %.sroa.021.0.copyload = load <2 x float>, ptr %37, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.023.0.copyload, <2 x float> %.sroa.022.0.copyload, <2 x float> %.sroa.021.0.copyload, <2 x float> %.sroa.086.0.copyload, <2 x float> %.sroa.487.0.copyload)
  %.sroa.018.0.copyload = load <2 x float>, ptr %38, align 8
  %.sroa.017.0.copyload = load <2 x float>, ptr %39, align 8
  %.sroa.016.0.copyload = load <2 x float>, ptr %40, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.018.0.copyload, <2 x float> %.sroa.017.0.copyload, <2 x float> %.sroa.016.0.copyload, <2 x float> %.sroa.084.0.copyload, <2 x float> %.sroa.485.0.copyload)
  %.sroa.013.0.copyload = load <2 x float>, ptr %41, align 8
  %.sroa.012.0.copyload = load <2 x float>, ptr %42, align 8
  %.sroa.011.0.copyload = load <2 x float>, ptr %43, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.013.0.copyload, <2 x float> %.sroa.012.0.copyload, <2 x float> %.sroa.011.0.copyload, <2 x float> %.sroa.082.0.copyload, <2 x float> %.sroa.483.0.copyload)
  %.sroa.08.0.copyload = load <2 x float>, ptr %44, align 8
  %.sroa.07.0.copyload = load <2 x float>, ptr %45, align 8
  %.sroa.06.0.copyload = load <2 x float>, ptr %46, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.08.0.copyload, <2 x float> %.sroa.07.0.copyload, <2 x float> %.sroa.06.0.copyload, <2 x float> %.sroa.080.0.copyload, <2 x float> %.sroa.481.0.copyload)
  %.sroa.03.0.copyload = load <2 x float>, ptr %47, align 8
  %.sroa.02.0.copyload = load <2 x float>, ptr %48, align 8
  %.sroa.01.0.copyload = load <2 x float>, ptr %49, align 8
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.03.0.copyload, <2 x float> %.sroa.02.0.copyload, <2 x float> %.sroa.01.0.copyload, <2 x float> %.sroa.079.0.copyload, <2 x float> %.sroa.4.0.copyload)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  ret void
}

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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)"}


; Effective O3 passes: GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass