; LLVM IR from ermig1979/Simd :: src/Test (TestImageMatcher)

; 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.Simd::View" = type <{ i64, i64, i64, i32, [4 x i8], ptr, i8, [7 x i8] }>
%"struct.Simd::Point" = type { i64, i64 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.Simd::Point.0" = type { double, double }
%"struct.Simd::Rectangle" = type { i64, i64, i64, i64 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Test4FillERN4Simd4ViewINS0_9AllocatorEEE(ptr noundef nonnull align 8 dereferenceable(41)) #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Test8MultiplyERKN4Simd4ViewINS0_9AllocatorEEEmbRSt6vectorISt10shared_ptrIS3_ESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noundef nonnull align 8 dereferenceable(24) %3) #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.Simd::View", align 8
  %10 = alloca %"struct.Simd::Point", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca %"class.std::shared_ptr", align 8
  %15 = alloca %"struct.Simd::Point", align 8
  %16 = alloca i1, align 1
  %17 = alloca %"struct.Simd::Point.0", align 8
  %18 = alloca %"struct.Simd::Rectangle", align 8
  %19 = alloca %"struct.Simd::Point", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  %20 = zext i1 %2 to i8
  store i8 %20, ptr %7, align 1, !tbaa !11
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind writable sret(%"struct.Simd::Point") align 8 %10, ptr noundef nonnull align 8 dereferenceable(41) %21)
  invoke void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41) %9, ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 1)
          to label %22 unwind label %29

22:                                               ; preds = %4
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  invoke void @_ZN4Simd4FillINS_9AllocatorEEEvRNS_4ViewIT_EEh(ptr noundef nonnull align 8 dereferenceable(41) %9, i8 noundef zeroext 64)
          to label %23 unwind label %33

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %109, %23
  %25 = load i64, ptr %13, align 8, !tbaa !9
  %26 = load i64, ptr %6, align 8, !tbaa !9
  %27 = icmp ult i64 %25, %26
  br i1 %27, label %37, label %28

28:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %114

29:                                               ; preds = %4
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %11, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %12, align 4
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  br label %116

33:                                               ; preds = %22
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %11, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %12, align 4
  br label %115

37:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  %38 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #9
          to label %39 unwind label %61

39:                                               ; preds = %37
  store i1 true, ptr %16, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind writable sret(%"struct.Simd::Point") align 8 %15, ptr noundef nonnull align 8 dereferenceable(41) %40)
          to label %41 unwind label %65

41:                                               ; preds = %39
  invoke void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41) %38, ptr noundef nonnull align 8 dereferenceable(16) %15, i32 noundef 1)
          to label %42 unwind label %69

42:                                               ; preds = %41
  store i1 false, ptr %16, align 1
  invoke void @_ZNSt10shared_ptrIN4Simd4ViewINS0_9AllocatorEEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %38)
          to label %43 unwind label %69

43:                                               ; preds = %42
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  %44 = load i8, ptr %7, align 1, !tbaa !11, !range !13, !noundef !14
  %45 = trunc i8 %44 to i1
  br i1 %45, label %46, label %96

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %47 = invoke noundef double @_ZN4Test6RandomEv()
          to label %48 unwind label %77

48:                                               ; preds = %46
  %49 = call double @llvm.fmuladd.f64(double %47, double 2.000000e+00, double -1.000000e+00)
  %50 = invoke noundef double @_ZN4Test6RandomEv()
          to label %51 unwind label %77

51:                                               ; preds = %48
  %52 = call double @llvm.fmuladd.f64(double %50, double 2.000000e+00, double -1.000000e+00)
  invoke void @_ZN4Simd5PointIdEC2IddEET_T0_(ptr noundef nonnull align 8 dereferenceable(16) %17, double noundef %49, double noundef %52)
          to label %53 unwind label %77

53:                                               ; preds = %51
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind writable sret(%"struct.Simd::Point") align 8 %19, ptr noundef nonnull align 8 dereferenceable(41) %56)
          to label %57 unwind label %81

57:                                               ; preds = %53
  invoke void @_ZN4Simd9RectangleIlEC2IlEERKNS_5PointIT_EE(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %58 unwind label %85

58:                                               ; preds = %57
  %59 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNKSt19__shared_ptr_accessIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZN4Simd13ShiftBilinearINS_9AllocatorEEEvRKNS_4ViewIT_EES6_RKNS_5PointIdEERKNS_9RectangleIlEERS4_(ptr noundef nonnull align 8 dereferenceable(41) %54, ptr noundef nonnull align 8 dereferenceable(41) %55, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(41) %59)
          to label %60 unwind label %89

60:                                               ; preds = %58
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  br label %106

61:                                               ; preds = %37
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %11, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %12, align 4
  br label %113

65:                                               ; preds = %39
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %11, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %12, align 4
  br label %73

69:                                               ; preds = %42, %41
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %11, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %12, align 4
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  br label %73

73:                                               ; preds = %69, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  %74 = load i1, ptr %16, align 1
  br i1 %74, label %75, label %76

75:                                               ; preds = %73
  call void @_ZdlPvm(ptr noundef %38, i64 noundef 48) #10
  br label %76

76:                                               ; preds = %75, %73
  br label %113

77:                                               ; preds = %51, %48, %46
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %11, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %12, align 4
  br label %95

81:                                               ; preds = %53
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %11, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %12, align 4
  br label %94

85:                                               ; preds = %57
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %11, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %12, align 4
  br label %93

89:                                               ; preds = %58
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %11, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %12, align 4
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %93

93:                                               ; preds = %89, %85
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  br label %94

94:                                               ; preds = %93, %81
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  br label %95

95:                                               ; preds = %94, %77
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  br label %112

96:                                               ; preds = %43
  %97 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNKSt19__shared_ptr_accessIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZN4Test4FillERN4Simd4ViewINS0_9AllocatorEEE(ptr noundef nonnull align 8 dereferenceable(41) %97)
          to label %98 unwind label %102

98:                                               ; preds = %96
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNKSt19__shared_ptr_accessIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZN4Simd13AlphaBlendingINS_9AllocatorEEEvRKNS_4ViewIT_EES6_RS4_(ptr noundef nonnull align 8 dereferenceable(41) %99, ptr noundef nonnull align 8 dereferenceable(41) %9, ptr noundef nonnull align 8 dereferenceable(41) %100)
          to label %101 unwind label %102

101:                                              ; preds = %98
  br label %106

102:                                              ; preds = %106, %98, %96
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %11, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %12, align 4
  br label %112

106:                                              ; preds = %101, %60
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZNSt6vectorISt10shared_ptrIN4Simd4ViewINS1_9AllocatorEEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %107, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %108 unwind label %102

108:                                              ; preds = %106
  call void @_ZNSt12__shared_ptrIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  br label %109

109:                                              ; preds = %108
  %110 = load i64, ptr %13, align 8, !tbaa !9
  %111 = add i64 %110, 1
  store i64 %111, ptr %13, align 8, !tbaa !9
  br label %24, !llvm.loop !15

112:                                              ; preds = %102, %95
  call void @_ZNSt12__shared_ptrIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  br label %113

113:                                              ; preds = %112, %76, %61
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %115

114:                                              ; preds = %28
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  ret void

115:                                              ; preds = %113, %33
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %9) #8
  br label %116

116:                                              ; preds = %115, %29
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  br label %117

117:                                              ; preds = %116
  %118 = load ptr, ptr %11, align 8
  %119 = load i32, ptr %12, align 4
  %120 = insertvalue { ptr, i32 } poison, ptr %118, 0
  %121 = insertvalue { ptr, i32 } %120, i32 %119, 1
  resume { ptr, i32 } %121
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind noalias writable sret(%"struct.Simd::Point") align 8, ptr noundef nonnull align 8 dereferenceable(41)) #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #2 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd4FillINS_9AllocatorEEEvRNS_4ViewIT_EEh(ptr noundef nonnull align 8 dereferenceable(41), i8 noundef zeroext) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt10shared_ptrIN4Simd4ViewINS0_9AllocatorEEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #0 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4Test6RandomEv() #3

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5PointIdEC2IddEET_T0_(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd13ShiftBilinearINS_9AllocatorEEEvRKNS_4ViewIT_EES6_RKNS_5PointIdEERKNS_9RectangleIlEERS4_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(41)) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd9RectangleIlEC2IlEERKNS_5PointIT_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(41) ptr @_ZNKSt19__shared_ptr_accessIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1)) #7 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd13AlphaBlendingINS_9AllocatorEEEvRKNS_4ViewIT_EES6_RS4_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41)) #2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #3 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin allocsize(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 = { nobuiltin nounwind "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


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

%"struct.Simd::View" = type <{ i64, i64, i64, i32, [4 x i8], ptr, i8, [7 x i8] }>
%"struct.Simd::Point" = type { i64, i64 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.Simd::Point.0" = type { double, double }
%"struct.Simd::Rectangle" = type { i64, i64, i64, i64 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Test4FillERN4Simd4ViewINS0_9AllocatorEEE(ptr noundef nonnull align 8 dereferenceable(41)) 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Test8MultiplyERKN4Simd4ViewINS0_9AllocatorEEEmbRSt6vectorISt10shared_ptrIS3_ESaIS8_EE(ptr noundef nonnull align 8 dereferenceable(41) %0, i64 noundef %1, i1 noundef zeroext %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"struct.Simd::View", align 8
  %6 = alloca %"struct.Simd::Point", align 8
  %7 = alloca %"class.std::shared_ptr", align 8
  %8 = alloca %"struct.Simd::Point", align 8
  %9 = alloca %"struct.Simd::Point.0", align 8
  %10 = alloca %"struct.Simd::Rectangle", align 8
  %11 = alloca %"struct.Simd::Point", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  call void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::Point") align 8 %6, ptr noundef nonnull align 8 dereferenceable(41) %0)
  invoke void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef 1)
          to label %12 unwind label %38

12:                                               ; preds = %4
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  invoke void @_ZN4Simd4FillINS_9AllocatorEEEvRNS_4ViewIT_EEh(ptr noundef nonnull align 8 dereferenceable(41) %5, i8 noundef zeroext 64)
          to label %.preheader unwind label %40

.preheader:                                       ; preds = %12
  %.not = icmp eq i64 %1, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  br i1 %2, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %27
  %.01346.us = phi i64 [ %28, %27 ], [ 0, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  %13 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #9
          to label %14 unwind label %.split.us

14:                                               ; preds = %.lr.ph.split.us
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  invoke void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::Point") align 8 %8, ptr noundef nonnull align 8 dereferenceable(41) %0)
          to label %15 unwind label %.thread.split.us

15:                                               ; preds = %14
  invoke void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41) %13, ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef 1)
          to label %16 unwind label %.thread37.split.us

16:                                               ; preds = %15
  invoke void @_ZNSt10shared_ptrIN4Simd4ViewINS0_9AllocatorEEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull %13)
          to label %17 unwind label %.split52.us

17:                                               ; preds = %16
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  %18 = call noundef double @_ZN4Test6RandomEv()
  %19 = call double @llvm.fmuladd.f64(double %18, double 2.000000e+00, double -1.000000e+00)
  %20 = call noundef double @_ZN4Test6RandomEv()
  %21 = call double @llvm.fmuladd.f64(double %20, double 2.000000e+00, double -1.000000e+00)
  invoke void @_ZN4Simd5PointIdEC2IddEET_T0_(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef %19, double noundef %21)
          to label %22 unwind label %.split58.us

22:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  invoke void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::Point") align 8 %11, ptr noundef nonnull align 8 dereferenceable(41) %0)
          to label %23 unwind label %.split61.us

23:                                               ; preds = %22
  invoke void @_ZN4Simd9RectangleIlEC2IlEERKNS_5PointIT_EE(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %24 unwind label %.split64.us

24:                                               ; preds = %23
  %25 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNKSt19__shared_ptr_accessIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZN4Simd13ShiftBilinearINS_9AllocatorEEEvRKNS_4ViewIT_EES6_RKNS_5PointIdEERKNS_9RectangleIlEERS4_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(41) %25)
          to label %26 unwind label %.split67.us

26:                                               ; preds = %24
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  invoke void @_ZNSt6vectorISt10shared_ptrIN4Simd4ViewINS1_9AllocatorEEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %27 unwind label %.split55.us

27:                                               ; preds = %26
  call void @_ZNSt12__shared_ptrIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  %28 = add nuw i64 %.01346.us, 1
  %exitcond83.not = icmp eq i64 %28, %1
  br i1 %exitcond83.not, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !5

.split.us:                                        ; preds = %.lr.ph.split.us
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %65

.thread.split.us:                                 ; preds = %14
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %.thread

.thread37.split.us:                               ; preds = %15
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %.thread37

.split52.us:                                      ; preds = %16
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %52

.split55.us:                                      ; preds = %26
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %64

.split58.us:                                      ; preds = %17
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %57

.split61.us:                                      ; preds = %22
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %56

.split64.us:                                      ; preds = %23
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %55

.split67.us:                                      ; preds = %24
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %55

._crit_edge:                                      ; preds = %62, %27, %.preheader
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #8
  ret void

38:                                               ; preds = %4
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %67

40:                                               ; preds = %12
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %66

.lr.ph.split:                                     ; preds = %.lr.ph, %62
  %.01346 = phi i64 [ %63, %62 ], [ 0, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  %42 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #9
          to label %43 unwind label %.split

43:                                               ; preds = %.lr.ph.split
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  invoke void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::Point") align 8 %8, ptr noundef nonnull align 8 dereferenceable(41) %0)
          to label %44 unwind label %.thread.split

44:                                               ; preds = %43
  invoke void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41) %42, ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef 1)
          to label %46 unwind label %.thread37.split

.thread37.split:                                  ; preds = %44
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %.thread37

.thread37:                                        ; preds = %.thread37.split.us, %.thread37.split
  %.us-phi49 = phi ptr [ %42, %.thread37.split ], [ %13, %.thread37.split.us ]
  %.us-phi50 = phi { ptr, i32 } [ %45, %.thread37.split ], [ %31, %.thread37.split.us ]
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %53

46:                                               ; preds = %44
  invoke void @_ZNSt10shared_ptrIN4Simd4ViewINS0_9AllocatorEEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull %42)
          to label %47 unwind label %.split52

47:                                               ; preds = %46
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  %48 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNKSt19__shared_ptr_accessIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZN4Test4FillERN4Simd4ViewINS0_9AllocatorEEE(ptr noundef nonnull align 8 dereferenceable(41) %48)
          to label %58 unwind label %.split55

.split:                                           ; preds = %.lr.ph.split
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %65

.thread.split:                                    ; preds = %43
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %.thread

.thread:                                          ; preds = %.thread.split.us, %.thread.split
  %.us-phi47 = phi ptr [ %42, %.thread.split ], [ %13, %.thread.split.us ]
  %.us-phi48 = phi { ptr, i32 } [ %50, %.thread.split ], [ %30, %.thread.split.us ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %53

.split52:                                         ; preds = %46
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %52

52:                                               ; preds = %.split52.us, %.split52
  %.us-phi53 = phi { ptr, i32 } [ %51, %.split52 ], [ %32, %.split52.us ]
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %65

53:                                               ; preds = %.thread37, %.thread
  %54 = phi ptr [ %.us-phi47, %.thread ], [ %.us-phi49, %.thread37 ]
  %.pn36 = phi { ptr, i32 } [ %.us-phi48, %.thread ], [ %.us-phi50, %.thread37 ]
  call void @_ZdlPvm(ptr noundef nonnull %54, i64 noundef 48) #10
  br label %65

55:                                               ; preds = %.split67.us, %.split64.us
  %.pn25 = phi { ptr, i32 } [ %37, %.split67.us ], [ %36, %.split64.us ]
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #8
  br label %56

56:                                               ; preds = %55, %.split61.us
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %55 ], [ %35, %.split61.us ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  br label %57

57:                                               ; preds = %56, %.split58.us
  %.pn25.pn.pn = phi { ptr, i32 } [ %.pn25.pn, %56 ], [ %34, %.split58.us ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  br label %64

58:                                               ; preds = %47
  %59 = call noundef nonnull align 8 dereferenceable(41) ptr @_ZNKSt19__shared_ptr_accessIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZN4Simd13AlphaBlendingINS_9AllocatorEEEvRKNS_4ViewIT_EES6_RS4_(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 8 dereferenceable(41) %59)
          to label %61 unwind label %.split55

.split55:                                         ; preds = %61, %58, %47
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %64

61:                                               ; preds = %58
  invoke void @_ZNSt6vectorISt10shared_ptrIN4Simd4ViewINS1_9AllocatorEEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %62 unwind label %.split55

62:                                               ; preds = %61
  call void @_ZNSt12__shared_ptrIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  %63 = add nuw i64 %.01346, 1
  %exitcond.not = icmp eq i64 %63, %1
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !5

64:                                               ; preds = %.split55, %.split55.us, %57
  %.pn29 = phi { ptr, i32 } [ %.pn25.pn.pn, %57 ], [ %60, %.split55 ], [ %33, %.split55.us ]
  call void @_ZNSt12__shared_ptrIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  br label %65

65:                                               ; preds = %.split, %.split.us, %52, %53, %64
  %.pn29.pn = phi { ptr, i32 } [ %.pn29, %64 ], [ %.pn36, %53 ], [ %.us-phi53, %52 ], [ %49, %.split ], [ %29, %.split.us ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  br label %66

66:                                               ; preds = %65, %40
  %.pn29.pn.pn = phi { ptr, i32 } [ %.pn29.pn, %65 ], [ %41, %40 ]
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #8
  br label %67

67:                                               ; preds = %66, %38
  %.pn29.pn.pn.pn = phi { ptr, i32 } [ %.pn29.pn.pn, %66 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #8
  resume { ptr, i32 } %.pn29.pn.pn.pn
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind noalias writable sret(%"struct.Simd::Point") align 8, ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEEC2ERKNS_5PointIlEENS2_6FormatE(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #2 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd4FillINS_9AllocatorEEEvRNS_4ViewIT_EEh(ptr noundef nonnull align 8 dereferenceable(41), i8 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt10shared_ptrIN4Simd4ViewINS0_9AllocatorEEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #0 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4Test6RandomEv() local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #6

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5PointIdEC2IddEET_T0_(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd13ShiftBilinearINS_9AllocatorEEEvRKNS_4ViewIT_EES6_RKNS_5PointIdEERKNS_9RectangleIlEERS4_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd9RectangleIlEC2IlEERKNS_5PointIT_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(41) ptr @_ZNKSt19__shared_ptr_accessIN4Simd4ViewINS0_9AllocatorEEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #7 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd13AlphaBlendingINS_9AllocatorEEEvRKNS_4ViewIT_EES6_RS4_(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #3 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin allocsize(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 = { nobuiltin nounwind "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass