; LLVM IR from ermig1979/Simd :: src/Test/TestShift.ll (ZN4Test28ShiftDetectorRandSpecialTestERKNS_7OptionsE)

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

%"class.Test::Log" = type { %"class.std::mutex", %"class.std::basic_ofstream", i32, i8, i8, %"class.std::map", %"class.std::map" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.13 }
%union.anon.13 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::thread::id, std::__cxx11::basic_string<char>>>, std::less<std::thread::id>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::thread::id, std::__cxx11::basic_string<char>>>, std::less<std::thread::id>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.Simd::View" = type <{ i64, i64, i64, i32, [4 x i8], ptr, i8, [7 x i8] }>
%"struct.Simd::Rectangle" = type { i64, i64, i64, i64 }
%"struct.Simd::ShiftDetector" = type { %"struct.Simd::Pyramid", %"struct.Simd::Pyramid", %"class.std::vector.8", i32, i32 }
%"struct.Simd::Pyramid" = type { %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<Simd::View<Simd::Allocator>, std::allocator<Simd::View<Simd::Allocator>>>::_Vector_impl" }
%"struct.std::_Vector_base<Simd::View<Simd::Allocator>, std::allocator<Simd::View<Simd::Allocator>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Simd::View<Simd::Allocator>, std::allocator<Simd::View<Simd::Allocator>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Simd::View<Simd::Allocator>, std::allocator<Simd::View<Simd::Allocator>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Simd::ShiftDetector<Simd::Allocator>::Level, std::allocator<Simd::ShiftDetector<Simd::Allocator>::Level>>::_Vector_impl" }
%"struct.std::_Vector_base<Simd::ShiftDetector<Simd::Allocator>::Level, std::allocator<Simd::ShiftDetector<Simd::Allocator>::Level>>::_Vector_impl" = type { %"struct.std::_Vector_base<Simd::ShiftDetector<Simd::Allocator>::Level, std::allocator<Simd::ShiftDetector<Simd::Allocator>::Level>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Simd::ShiftDetector<Simd::Allocator>::Level, std::allocator<Simd::ShiftDetector<Simd::Allocator>::Level>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Simd::Point" = type { i64, i64 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.Simd::Point.17" = type { double, double }
%"class.std::allocator" = type { i8 }

@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZN4Test3Log5s_logE = external global %"class.Test::Log", align 8
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Test16CreateBackgroundERN4Simd4ViewINS0_9AllocatorEEERNS0_9RectangleIlEE(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32)) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i64 @_ZN4Simd9AllocatorIhE9AlignmentEv() #3 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test28ShiftDetectorRandSpecialTestERKNS_7OptionsE(ptr noundef nonnull align 8 dereferenceable(256) %0) #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.Simd::Rectangle", align 8
  %5 = alloca %"struct.Simd::View", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"struct.Simd::ShiftDetector", align 8
  %10 = alloca double, align 8
  %11 = alloca %"struct.Simd::Point", align 8
  %12 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"struct.Simd::Point", align 8
  %20 = alloca %"struct.Simd::View", align 8
  %21 = alloca %"struct.Simd::Rectangle", align 8
  %22 = alloca %"struct.Simd::Point.17", align 8
  %23 = alloca %"struct.Simd::Point.17", align 8
  %24 = alloca i8, align 1
  %25 = alloca %"struct.Simd::Rectangle", align 8
  %26 = alloca i8, align 1
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @srand(i32 noundef 1) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #9
  call void @_ZN4Simd9RectangleIlEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4)
  call void @llvm.lifetime.start.p0(i64 48, ptr %5) #9
  %33 = invoke noundef i64 @_ZN4Simd9AllocatorIhE9AlignmentEv()
          to label %34 unwind label %39

34:                                               ; preds = %1
  invoke void @_ZN4Simd4ViewINS_9AllocatorEEC2EmmNS2_6FormatEPvm(ptr noundef nonnull align 8 dereferenceable(41) %5, i64 noundef 1920, i64 noundef 1080, i32 noundef 1, ptr noundef null, i64 noundef %33)
          to label %35 unwind label %39

35:                                               ; preds = %34
  %36 = invoke noundef zeroext i1 @_ZN4Test16CreateBackgroundERN4Simd4ViewINS0_9AllocatorEEERNS0_9RectangleIlEE(ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %37 unwind label %43

37:                                               ; preds = %35
  br i1 %36, label %47, label %38

38:                                               ; preds = %37
  store i1 false, ptr %2, align 1
  store i32 1, ptr %8, align 4
  br label %350

39:                                               ; preds = %34, %1
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %6, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %7, align 4
  br label %353

43:                                               ; preds = %35
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %6, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %7, align 4
  br label %352

47:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 80, ptr %9) #9
  invoke void @_ZN4Simd13ShiftDetectorINS_9AllocatorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %9)
          to label %48 unwind label %93

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %49 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %50 unwind label %97

50:                                               ; preds = %48
  store double %49, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #9
  invoke void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind writable sret(%"struct.Simd::Point") align 8 %11, ptr noundef nonnull align 8 dereferenceable(41) %5)
          to label %51 unwind label %101

51:                                               ; preds = %50
  invoke void @_ZN4Simd13ShiftDetectorINS_9AllocatorEE11InitBuffersERKNS_5PointIlEEmNS2_11TextureTypeENS2_14DifferenceTypeE(ptr noundef nonnull align 8 dereferenceable(80) %9, ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef 6, i32 noundef 0, i32 noundef 1)
          to label %52 unwind label %105

52:                                               ; preds = %51
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 392, ptr %12) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12)
          to label %53 unwind label %110

53:                                               ; preds = %52
  %54 = getelementptr inbounds i8, ptr %12, i64 16
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef @.str.2)
          to label %56 unwind label %114

56:                                               ; preds = %53
  %57 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %58 unwind label %114

58:                                               ; preds = %56
  %59 = load double, ptr %10, align 8, !tbaa !9
  %60 = fsub double %57, %59
  %61 = fmul double %60, 1.000000e+03
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %55, double noundef %61)
          to label %63 unwind label %114

63:                                               ; preds = %58
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef @.str.3)
          to label %65 unwind label %114

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(128) %12)
          to label %66 unwind label %118

66:                                               ; preds = %65
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %67 unwind label %122

67:                                               ; preds = %66
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %12) #9
  %68 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %69 unwind label %97

69:                                               ; preds = %67
  store double %68, ptr %10, align 8, !tbaa !9
  invoke void @_ZN4Simd13ShiftDetectorINS_9AllocatorEE13SetBackgroundERKNS_4ViewIS1_EEb(ptr noundef nonnull align 8 dereferenceable(80) %9, ptr noundef nonnull align 8 dereferenceable(41) %5, i1 noundef zeroext true)
          to label %70 unwind label %97

70:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 392, ptr %14) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %14)
          to label %71 unwind label %129

71:                                               ; preds = %70
  %72 = getelementptr inbounds i8, ptr %14, i64 16
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef @.str.4)
          to label %74 unwind label %133

74:                                               ; preds = %71
  %75 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %76 unwind label %133

76:                                               ; preds = %74
  %77 = load double, ptr %10, align 8, !tbaa !9
  %78 = fsub double %75, %77
  %79 = fmul double %78, 1.000000e+03
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %73, double noundef %79)
          to label %81 unwind label %133

81:                                               ; preds = %76
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef @.str.3)
          to label %83 unwind label %133

83:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(128) %14)
          to label %84 unwind label %137

84:                                               ; preds = %83
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %85 unwind label %141

85:                                               ; preds = %84
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %14) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 10, ptr %16, align 4, !tbaa !11
  %86 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %87 unwind label %148

87:                                               ; preds = %85
  store double %86, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %88

88:                                               ; preds = %298, %87
  %89 = load i32, ptr %17, align 4, !tbaa !11
  %90 = load i32, ptr %16, align 4, !tbaa !11
  %91 = icmp slt i32 %89, %90
  br i1 %91, label %152, label %92

92:                                               ; preds = %88
  store i32 2, ptr %8, align 4
  br label %306

93:                                               ; preds = %47
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %6, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %7, align 4
  br label %349

97:                                               ; preds = %69, %67, %48
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %6, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %7, align 4
  br label %348

101:                                              ; preds = %50
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %6, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %7, align 4
  br label %109

105:                                              ; preds = %51
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %6, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %7, align 4
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  br label %109

109:                                              ; preds = %105, %101
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  br label %348

110:                                              ; preds = %52
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %6, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %7, align 4
  br label %128

114:                                              ; preds = %63, %58, %56, %53
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %6, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %7, align 4
  br label %127

118:                                              ; preds = %65
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %6, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %7, align 4
  br label %126

122:                                              ; preds = %66
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %6, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br label %126

126:                                              ; preds = %122, %118
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  br label %127

127:                                              ; preds = %126, %114
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #9
  br label %128

128:                                              ; preds = %127, %110
  call void @llvm.lifetime.end.p0(i64 392, ptr %12) #9
  br label %348

129:                                              ; preds = %70
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %6, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %7, align 4
  br label %147

133:                                              ; preds = %81, %76, %74, %71
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %6, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %7, align 4
  br label %146

137:                                              ; preds = %83
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %6, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %7, align 4
  br label %145

141:                                              ; preds = %84
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %6, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %145

145:                                              ; preds = %141, %137
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  br label %146

146:                                              ; preds = %145, %133
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %14) #9
  br label %147

147:                                              ; preds = %146, %129
  call void @llvm.lifetime.end.p0(i64 392, ptr %14) #9
  br label %348

148:                                              ; preds = %85
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %6, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %7, align 4
  br label %347

152:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %153 = invoke noundef i64 @_ZNK4Simd9RectangleIlE5WidthEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %154 unwind label %218

154:                                              ; preds = %152
  %155 = trunc i64 %153 to i32
  %156 = sdiv i32 %155, 4
  store i32 %156, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #9
  %157 = load i32, ptr %18, align 4, !tbaa !11
  %158 = mul nsw i32 2, %157
  %159 = invoke noundef i32 @_ZN4Test6RandomEi(i32 noundef %158)
          to label %160 unwind label %222

160:                                              ; preds = %154
  %161 = load i32, ptr %18, align 4, !tbaa !11
  %162 = sub nsw i32 %159, %161
  %163 = load i32, ptr %18, align 4, !tbaa !11
  %164 = mul nsw i32 2, %163
  %165 = invoke noundef i32 @_ZN4Test6RandomEi(i32 noundef %164)
          to label %166 unwind label %222

166:                                              ; preds = %160
  %167 = load i32, ptr %18, align 4, !tbaa !11
  %168 = sub nsw i32 %165, %167
  invoke void @_ZN4Simd5PointIlEC2IiiEET_T0_(ptr noundef nonnull align 8 dereferenceable(16) %19, i32 noundef %162, i32 noundef %168)
          to label %169 unwind label %222

169:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #9
  invoke void @_ZNK4Simd4ViewINS_9AllocatorEE6RegionERKNS_9RectangleIlEE(ptr dead_on_unwind writable sret(%"struct.Simd::View") align 8 %20, ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %170 unwind label %226

170:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  invoke void @_ZNK4Simd9RectangleIlE7ShiftedIlEES1_RKNS_5PointIT_EE(ptr dead_on_unwind writable sret(%"struct.Simd::Rectangle") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %171 unwind label %230

171:                                              ; preds = %170
  %172 = load i32, ptr %18, align 4, !tbaa !11
  %173 = mul nsw i32 %172, 2
  %174 = invoke noundef zeroext i1 @_ZN4Simd13ShiftDetectorINS_9AllocatorEE8EstimateERKNS_4ViewIS1_EERKNS_9RectangleIlEEidl(ptr noundef nonnull align 8 dereferenceable(80) %9, ptr noundef nonnull align 8 dereferenceable(41) %20, ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef %173, double noundef 0.000000e+00, i64 noundef 25)
          to label %175 unwind label %234

175:                                              ; preds = %171
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %20) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #9
  invoke void @_ZNK4Simd13ShiftDetectorINS_9AllocatorEE14ProximateShiftEv(ptr dead_on_unwind writable sret(%"struct.Simd::Point.17") align 8 %22, ptr noundef nonnull align 8 dereferenceable(80) %9)
          to label %176 unwind label %240

176:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #9
  invoke void @_ZN4Simd5PointIdEC2IlS0_EERKT0_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %177 unwind label %244

177:                                              ; preds = %176
  %178 = invoke noundef double @_ZN4Simd15SquaredDistanceIdEET_RKNS_5PointIS1_EES5_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %179 unwind label %248

179:                                              ; preds = %177
  %180 = fcmp ogt double %178, 1.000000e+00
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  br i1 %180, label %181, label %294

181:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #9
  store i8 -1, ptr %24, align 1, !tbaa !13
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_9RectangleIlEERKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 1 dereferenceable(1) %24, i64 noundef 1)
          to label %182 unwind label %253

182:                                              ; preds = %181
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #9
  invoke void @_ZNK4Simd9RectangleIlE7ShiftedIlEES1_RKNS_5PointIT_EE(ptr dead_on_unwind writable sret(%"struct.Simd::Rectangle") align 8 %25, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %183 unwind label %257

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #9
  store i8 0, ptr %26, align 1, !tbaa !13
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_9RectangleIlEERKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 1 dereferenceable(1) %26, i64 noundef 1)
          to label %184 unwind label %261

184:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %185 unwind label %266

185:                                              ; preds = %184
  %186 = invoke noundef zeroext i1 @_ZNK4Simd4ViewINS_9AllocatorEE4SaveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE17SimdImageFileTypei(ptr noundef nonnull align 8 dereferenceable(41) %5, ptr noundef nonnull align 8 dereferenceable(32) %27, i32 noundef 0, i32 noundef 100)
          to label %187 unwind label %270

187:                                              ; preds = %185
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 392, ptr %29) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29)
          to label %188 unwind label %275

188:                                              ; preds = %187
  %189 = getelementptr inbounds i8, ptr %29, i64 16
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %189, ptr noundef @.str.6)
          to label %191 unwind label %279

191:                                              ; preds = %188
  %192 = getelementptr inbounds %"struct.Simd::Point.17", ptr %22, i32 0, i32 0
  %193 = load double, ptr %192, align 8, !tbaa !14
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %190, double noundef %193)
          to label %195 unwind label %279

195:                                              ; preds = %191
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %194, ptr noundef @.str.7)
          to label %197 unwind label %279

197:                                              ; preds = %195
  %198 = getelementptr inbounds %"struct.Simd::Point.17", ptr %22, i32 0, i32 1
  %199 = load double, ptr %198, align 8, !tbaa !16
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %196, double noundef %199)
          to label %201 unwind label %279

201:                                              ; preds = %197
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %200, ptr noundef @.str.8)
          to label %203 unwind label %279

203:                                              ; preds = %201
  %204 = getelementptr inbounds %"struct.Simd::Point", ptr %19, i32 0, i32 0
  %205 = load i64, ptr %204, align 8, !tbaa !17
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) %202, i64 noundef %205)
          to label %207 unwind label %279

207:                                              ; preds = %203
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %206, ptr noundef @.str.7)
          to label %209 unwind label %279

209:                                              ; preds = %207
  %210 = getelementptr inbounds %"struct.Simd::Point", ptr %19, i32 0, i32 1
  %211 = load i64, ptr %210, align 8, !tbaa !20
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) %208, i64 noundef %211)
          to label %213 unwind label %279

213:                                              ; preds = %209
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef @.str.9)
          to label %215 unwind label %279

215:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %30, ptr noundef nonnull align 8 dereferenceable(128) %29)
          to label %216 unwind label %283

216:                                              ; preds = %215
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %217 unwind label %287

217:                                              ; preds = %216
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %29) #9
  store i1 false, ptr %2, align 1
  store i32 1, ptr %8, align 4
  br label %295

218:                                              ; preds = %152
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %6, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %7, align 4
  br label %305

222:                                              ; preds = %166, %160, %154
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %6, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %7, align 4
  br label %304

226:                                              ; preds = %169
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %6, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %7, align 4
  br label %239

230:                                              ; preds = %170
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %6, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %7, align 4
  br label %238

234:                                              ; preds = %171
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %6, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %7, align 4
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  br label %238

238:                                              ; preds = %234, %230
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %20) #9
  br label %239

239:                                              ; preds = %238, %226
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #9
  br label %303

240:                                              ; preds = %175
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %6, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %7, align 4
  br label %302

244:                                              ; preds = %176
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %6, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %7, align 4
  br label %252

248:                                              ; preds = %177
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %6, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %7, align 4
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #9
  br label %252

252:                                              ; preds = %248, %244
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  br label %301

253:                                              ; preds = %181
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %6, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  br label %301

257:                                              ; preds = %182
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %6, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %7, align 4
  br label %265

261:                                              ; preds = %183
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %6, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  br label %265

265:                                              ; preds = %261, %257
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #9
  br label %301

266:                                              ; preds = %184
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %6, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %7, align 4
  br label %274

270:                                              ; preds = %185
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %6, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %274

274:                                              ; preds = %270, %266
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %301

275:                                              ; preds = %187
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %6, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %7, align 4
  br label %293

279:                                              ; preds = %213, %209, %207, %203, %201, %197, %195, %191, %188
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %6, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %7, align 4
  br label %292

283:                                              ; preds = %215
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %6, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %7, align 4
  br label %291

287:                                              ; preds = %216
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %6, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  br label %291

291:                                              ; preds = %287, %283
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  br label %292

292:                                              ; preds = %291, %279
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29) #9
  br label %293

293:                                              ; preds = %292, %275
  call void @llvm.lifetime.end.p0(i64 392, ptr %29) #9
  br label %301

294:                                              ; preds = %179
  store i32 0, ptr %8, align 4
  br label %295

295:                                              ; preds = %294, %217
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  %296 = load i32, ptr %8, align 4
  switch i32 %296, label %306 [
    i32 0, label %297
  ]

297:                                              ; preds = %295
  br label %298

298:                                              ; preds = %297
  %299 = load i32, ptr %17, align 4, !tbaa !11
  %300 = add nsw i32 %299, 1
  store i32 %300, ptr %17, align 4, !tbaa !11
  br label %88, !llvm.loop !21

301:                                              ; preds = %293, %274, %265, %253, %252
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #9
  br label %302

302:                                              ; preds = %301, %240
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  br label %303

303:                                              ; preds = %302, %239
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #9
  br label %304

304:                                              ; preds = %303, %222
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  br label %305

305:                                              ; preds = %304, %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  br label %347

306:                                              ; preds = %295, %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  %307 = load i32, ptr %8, align 4
  switch i32 %307, label %346 [
    i32 2, label %308
  ]

308:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 392, ptr %31) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %31)
          to label %309 unwind label %327

309:                                              ; preds = %308
  %310 = getelementptr inbounds i8, ptr %31, i64 16
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %310, ptr noundef @.str.10)
          to label %312 unwind label %331

312:                                              ; preds = %309
  %313 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %314 unwind label %331

314:                                              ; preds = %312
  %315 = load double, ptr %10, align 8, !tbaa !9
  %316 = fsub double %313, %315
  %317 = fmul double %316, 1.000000e+03
  %318 = load i32, ptr %16, align 4, !tbaa !11
  %319 = sitofp i32 %318 to double
  %320 = fdiv double %317, %319
  %321 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %311, double noundef %320)
          to label %322 unwind label %331

322:                                              ; preds = %314
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %321, ptr noundef @.str.3)
          to label %324 unwind label %331

324:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 8 dereferenceable(128) %31)
          to label %325 unwind label %335

325:                                              ; preds = %324
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %326 unwind label %339

326:                                              ; preds = %325
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %31) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr %31) #9
  store i1 true, ptr %2, align 1
  store i32 1, ptr %8, align 4
  br label %346

327:                                              ; preds = %308
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %6, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %7, align 4
  br label %345

331:                                              ; preds = %322, %314, %312, %309
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %6, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %7, align 4
  br label %344

335:                                              ; preds = %324
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %6, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %7, align 4
  br label %343

339:                                              ; preds = %325
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %6, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  br label %343

343:                                              ; preds = %339, %335
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  br label %344

344:                                              ; preds = %343, %331
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %31) #9
  br label %345

345:                                              ; preds = %344, %327
  call void @llvm.lifetime.end.p0(i64 392, ptr %31) #9
  br label %347

346:                                              ; preds = %326, %306
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @_ZN4Simd13ShiftDetectorINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %9) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr %9) #9
  br label %350

347:                                              ; preds = %345, %305, %148
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %348

348:                                              ; preds = %347, %147, %128, %109, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @_ZN4Simd13ShiftDetectorINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %9) #9
  br label %349

349:                                              ; preds = %348, %93
  call void @llvm.lifetime.end.p0(i64 80, ptr %9) #9
  br label %352

350:                                              ; preds = %346, %38
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #9
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #9
  %351 = load i1, ptr %2, align 1
  ret i1 %351

352:                                              ; preds = %349, %43
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %5) #9
  br label %353

353:                                              ; preds = %352, %39
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #9
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #9
  br label %354

354:                                              ; preds = %353
  %355 = load ptr, ptr %6, align 8
  %356 = load i32, ptr %7, align 4
  %357 = insertvalue { ptr, i32 } poison, ptr %355, 0
  %358 = insertvalue { ptr, i32 } %357, i32 %356, 1
  resume { ptr, i32 } %358
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Simd13ShiftDetectorINS_9AllocatorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

declare noundef double @_ZN4Test7GetTimeEv() #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd13ShiftDetectorINS_9AllocatorEE11InitBuffersERKNS_5PointIlEEmNS2_11TextureTypeENS2_14DifferenceTypeE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef, i32 noundef) #2 align 2

; 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)) #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #2 align 2

declare void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #7

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd13ShiftDetectorINS_9AllocatorEE13SetBackgroundERKNS_4ViewIS1_EEb(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(41), i1 noundef zeroext) #2 align 2

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4Test6RandomEi(i32 noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Simd13ShiftDetectorINS_9AllocatorEE8EstimateERKNS_4ViewIS1_EERKNS_9RectangleIlEEidl(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef, i64 noundef) #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK4Simd9RectangleIlE7ShiftedIlEES1_RKNS_5PointIT_EE(ptr dead_on_unwind noalias writable sret(%"struct.Simd::Rectangle") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef double @_ZN4Simd15SquaredDistanceIdEET_RKNS_5PointIS1_EES5_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5PointIdEC2IlS0_EERKT0_IT_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) 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 #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_9RectangleIlEERKT0_m(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Simd4ViewINS_9AllocatorEE4SaveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE17SimdImageFileTypei(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #2 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"_ZTSN4Simd5PointIdEE", !10, i64 0, !10, i64 8}
!16 = !{!15, !10, i64 8}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTSN4Simd5PointIlEE", !19, i64 0, !19, i64 8}
!19 = !{!"long", !7, i64 0}
!20 = !{!18, !19, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"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"

%"class.Test::Log" = type { %"class.std::mutex", %"class.std::basic_ofstream", i32, i8, i8, %"class.std::map", %"class.std::map" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.13 }
%union.anon.13 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::thread::id, std::__cxx11::basic_string<char>>>, std::less<std::thread::id>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::thread::id, std::__cxx11::basic_string<char>>>, std::less<std::thread::id>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.Simd::View" = type <{ i64, i64, i64, i32, [4 x i8], ptr, i8, [7 x i8] }>
%"struct.Simd::Rectangle" = type { i64, i64, i64, i64 }
%"struct.Simd::ShiftDetector" = type { %"struct.Simd::Pyramid", %"struct.Simd::Pyramid", %"class.std::vector.8", i32, i32 }
%"struct.Simd::Pyramid" = type { %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<Simd::View<Simd::Allocator>, std::allocator<Simd::View<Simd::Allocator>>>::_Vector_impl" }
%"struct.std::_Vector_base<Simd::View<Simd::Allocator>, std::allocator<Simd::View<Simd::Allocator>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Simd::View<Simd::Allocator>, std::allocator<Simd::View<Simd::Allocator>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Simd::View<Simd::Allocator>, std::allocator<Simd::View<Simd::Allocator>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Simd::ShiftDetector<Simd::Allocator>::Level, std::allocator<Simd::ShiftDetector<Simd::Allocator>::Level>>::_Vector_impl" }
%"struct.std::_Vector_base<Simd::ShiftDetector<Simd::Allocator>::Level, std::allocator<Simd::ShiftDetector<Simd::Allocator>::Level>>::_Vector_impl" = type { %"struct.std::_Vector_base<Simd::ShiftDetector<Simd::Allocator>::Level, std::allocator<Simd::ShiftDetector<Simd::Allocator>::Level>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Simd::ShiftDetector<Simd::Allocator>::Level, std::allocator<Simd::ShiftDetector<Simd::Allocator>::Level>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Simd::Point" = type { i64, i64 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.Simd::Point.17" = type { double, double }
%"class.std::allocator" = type { i8 }

@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZN4Test3Log5s_logE = external global %"class.Test::Log", align 8
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Test16CreateBackgroundERN4Simd4ViewINS0_9AllocatorEEERNS0_9RectangleIlEE(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef i64 @_ZN4Simd9AllocatorIhE9AlignmentEv() local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test28ShiftDetectorRandSpecialTestERKNS_7OptionsE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(256) %0) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"struct.Simd::Rectangle", align 8
  %3 = alloca %"struct.Simd::View", align 8
  %4 = alloca %"struct.Simd::ShiftDetector", align 8
  %5 = alloca %"struct.Simd::Point", align 8
  %6 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"struct.Simd::Point", align 8
  %11 = alloca %"struct.Simd::View", align 8
  %12 = alloca %"struct.Simd::Rectangle", align 8
  %13 = alloca %"struct.Simd::Point.17", align 8
  %14 = alloca %"struct.Simd::Point.17", align 8
  %15 = alloca i8, align 1
  %16 = alloca %"struct.Simd::Rectangle", align 8
  %17 = alloca i8, align 1
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator", align 1
  %20 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  tail call void @srand(i32 noundef 1) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #9
  call void @_ZN4Simd9RectangleIlEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #9
  %24 = invoke noundef i64 @_ZN4Simd9AllocatorIhE9AlignmentEv()
          to label %25 unwind label %29

25:                                               ; preds = %1
  invoke void @_ZN4Simd4ViewINS_9AllocatorEEC2EmmNS2_6FormatEPvm(ptr noundef nonnull align 8 dereferenceable(41) %3, i64 noundef 1920, i64 noundef 1080, i32 noundef 1, ptr noundef null, i64 noundef %24)
          to label %26 unwind label %29

26:                                               ; preds = %25
  %27 = invoke noundef zeroext i1 @_ZN4Test16CreateBackgroundERN4Simd4ViewINS0_9AllocatorEEERNS0_9RectangleIlEE(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %28 unwind label %31

28:                                               ; preds = %26
  br i1 %27, label %33, label %231

29:                                               ; preds = %25, %1
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %233

31:                                               ; preds = %26
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %232

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %4) #9
  invoke void @_ZN4Simd13ShiftDetectorINS_9AllocatorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %4)
          to label %34 unwind label %71

34:                                               ; preds = %33
  %35 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %36 unwind label %73

36:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  invoke void @_ZNK4Simd4ViewINS_9AllocatorEE4SizeEv(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::Point") align 8 %5, ptr noundef nonnull align 8 dereferenceable(41) %3)
          to label %37 unwind label %75

37:                                               ; preds = %36
  invoke void @_ZN4Simd13ShiftDetectorINS_9AllocatorEE11InitBuffersERKNS_5PointIlEEmNS2_11TextureTypeENS2_14DifferenceTypeE(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef 6, i32 noundef 0, i32 noundef 1)
          to label %38 unwind label %77

38:                                               ; preds = %37
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %6) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %6)
          to label %39 unwind label %80

39:                                               ; preds = %38
  %40 = getelementptr inbounds i8, ptr %6, i64 16
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull @.str.2)
          to label %42 unwind label %82

42:                                               ; preds = %39
  %43 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %44 unwind label %82

44:                                               ; preds = %42
  %45 = fsub double %43, %35
  %46 = fmul double %45, 1.000000e+03
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %41, double noundef %46)
          to label %48 unwind label %82

48:                                               ; preds = %44
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull @.str.3)
          to label %50 unwind label %82

50:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(128) %6)
          to label %51 unwind label %84

51:                                               ; preds = %50
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %52 unwind label %86

52:                                               ; preds = %51
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %6) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %6) #9
  %53 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %54 unwind label %73

54:                                               ; preds = %52
  invoke void @_ZN4Simd13ShiftDetectorINS_9AllocatorEE13SetBackgroundERKNS_4ViewIS1_EEb(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 8 dereferenceable(41) %3, i1 noundef zeroext true)
          to label %55 unwind label %73

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %8) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %56 unwind label %91

56:                                               ; preds = %55
  %57 = getelementptr inbounds i8, ptr %8, i64 16
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull @.str.4)
          to label %59 unwind label %93

59:                                               ; preds = %56
  %60 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %61 unwind label %93

61:                                               ; preds = %59
  %62 = fsub double %60, %53
  %63 = fmul double %62, 1.000000e+03
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %58, double noundef %63)
          to label %65 unwind label %93

65:                                               ; preds = %61
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @.str.3)
          to label %67 unwind label %93

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %68 unwind label %95

68:                                               ; preds = %67
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %69 unwind label %97

69:                                               ; preds = %68
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #9
  %70 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %.preheader unwind label %102

71:                                               ; preds = %33
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %230

73:                                               ; preds = %54, %52, %34
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %229

75:                                               ; preds = %36
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %79

77:                                               ; preds = %37
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  br label %79

79:                                               ; preds = %77, %75
  %.pn = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  br label %229

80:                                               ; preds = %38
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %90

82:                                               ; preds = %48, %44, %42, %39
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %89

84:                                               ; preds = %50
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %88

86:                                               ; preds = %51
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  br label %88

88:                                               ; preds = %86, %84
  %.pn52 = phi { ptr, i32 } [ %87, %86 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  br label %89

89:                                               ; preds = %88, %82
  %.pn52.pn = phi { ptr, i32 } [ %.pn52, %88 ], [ %83, %82 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %6) #9
  br label %90

90:                                               ; preds = %89, %80
  %.pn52.pn.pn = phi { ptr, i32 } [ %.pn52.pn, %89 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %6) #9
  br label %229

91:                                               ; preds = %55
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %101

93:                                               ; preds = %65, %61, %59, %56
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %100

95:                                               ; preds = %67
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %99

97:                                               ; preds = %68
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br label %99

99:                                               ; preds = %97, %95
  %.pn56 = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br label %100

100:                                              ; preds = %99, %93
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %99 ], [ %94, %93 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #9
  br label %101

101:                                              ; preds = %100, %91
  %.pn56.pn.pn = phi { ptr, i32 } [ %.pn56.pn, %100 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #9
  br label %229

102:                                              ; preds = %69
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %229

.preheader:                                       ; preds = %69, %194
  %104 = phi i1 [ %196, %194 ], [ false, %69 ]
  %.01794 = phi i32 [ %195, %194 ], [ 0, %69 ]
  %105 = call noundef i64 @_ZNK4Simd9RectangleIlE5WidthEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %106 = trunc i64 %105 to i32
  %107 = sdiv i32 %106, 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  %108 = shl nsw i32 %107, 1
  %109 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %108)
  %110 = sub nsw i32 %109, %107
  %111 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %108)
  %112 = sub nsw i32 %111, %107
  call void @_ZN4Simd5PointIlEC2IiiEET_T0_(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef %110, i32 noundef %112)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #9
  invoke void @_ZNK4Simd4ViewINS_9AllocatorEE6RegionERKNS_9RectangleIlEE(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::View") align 8 %11, ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %113 unwind label %156

113:                                              ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #9
  invoke void @_ZNK4Simd9RectangleIlE7ShiftedIlEES1_RKNS_5PointIT_EE(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::Rectangle") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %114 unwind label %158

114:                                              ; preds = %113
  %115 = invoke noundef zeroext i1 @_ZN4Simd13ShiftDetectorINS_9AllocatorEE8EstimateERKNS_4ViewIS1_EERKNS_9RectangleIlEEidl(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 8 dereferenceable(41) %11, ptr noundef nonnull align 8 dereferenceable(32) %12, i32 noundef %108, double noundef 0.000000e+00, i64 noundef 25)
          to label %116 unwind label %160

116:                                              ; preds = %114
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %11) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  invoke void @_ZNK4Simd13ShiftDetectorINS_9AllocatorEE14ProximateShiftEv(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::Point.17") align 8 %13, ptr noundef nonnull align 8 dereferenceable(80) %4)
          to label %117 unwind label %164

117:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #9
  invoke void @_ZN4Simd5PointIdEC2IlS0_EERKT0_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %118 unwind label %166

118:                                              ; preds = %117
  %119 = invoke noundef double @_ZN4Simd15SquaredDistanceIdEET_RKNS_5PointIS1_EES5_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %120 unwind label %168

120:                                              ; preds = %118
  %121 = fcmp ule double %119, 1.000000e+00
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  br i1 %121, label %194, label %122

122:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #9
  store i8 -1, ptr %15, align 1, !tbaa !5
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_9RectangleIlEERKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 1 dereferenceable(1) %15, i64 noundef 1)
          to label %123 unwind label %171

123:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  invoke void @_ZNK4Simd9RectangleIlE7ShiftedIlEES1_RKNS_5PointIT_EE(ptr dead_on_unwind nonnull writable sret(%"struct.Simd::Rectangle") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %124 unwind label %173

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  store i8 0, ptr %17, align 1, !tbaa !5
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_9RectangleIlEERKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 1 dereferenceable(1) %17, i64 noundef 1)
          to label %125 unwind label %175

125:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %126 unwind label %178

126:                                              ; preds = %125
  %127 = invoke noundef zeroext i1 @_ZNK4Simd4ViewINS_9AllocatorEE4SaveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE17SimdImageFileTypei(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(32) %18, i32 noundef 0, i32 noundef 100)
          to label %128 unwind label %180

128:                                              ; preds = %126
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %20) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %20)
          to label %129 unwind label %183

129:                                              ; preds = %128
  %130 = getelementptr inbounds i8, ptr %20, i64 16
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull @.str.6)
          to label %132 unwind label %185

132:                                              ; preds = %129
  %133 = load double, ptr %13, align 8, !tbaa !8
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %131, double noundef %133)
          to label %135 unwind label %185

135:                                              ; preds = %132
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull @.str.7)
          to label %137 unwind label %185

137:                                              ; preds = %135
  %138 = getelementptr inbounds i8, ptr %13, i64 8
  %139 = load double, ptr %138, align 8, !tbaa !11
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %136, double noundef %139)
          to label %141 unwind label %185

141:                                              ; preds = %137
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef nonnull @.str.8)
          to label %143 unwind label %185

143:                                              ; preds = %141
  %144 = load i64, ptr %10, align 8, !tbaa !12
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) %142, i64 noundef %144)
          to label %146 unwind label %185

146:                                              ; preds = %143
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %145, ptr noundef nonnull @.str.7)
          to label %148 unwind label %185

148:                                              ; preds = %146
  %149 = getelementptr inbounds i8, ptr %10, i64 8
  %150 = load i64, ptr %149, align 8, !tbaa !15
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) %147, i64 noundef %150)
          to label %152 unwind label %185

152:                                              ; preds = %148
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef nonnull @.str.9)
          to label %154 unwind label %185

154:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(128) %20)
          to label %155 unwind label %187

155:                                              ; preds = %154
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %200 unwind label %189

156:                                              ; preds = %.preheader
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %163

158:                                              ; preds = %113
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %162

160:                                              ; preds = %114
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  br label %162

162:                                              ; preds = %160, %158
  %.pn60 = phi { ptr, i32 } [ %161, %160 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %11) #9
  br label %163

163:                                              ; preds = %162, %156
  %.pn60.pn = phi { ptr, i32 } [ %.pn60, %162 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #9
  br label %199

164:                                              ; preds = %116
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %198

166:                                              ; preds = %117
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %170

168:                                              ; preds = %118
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  br label %170

170:                                              ; preds = %168, %166
  %.pn63 = phi { ptr, i32 } [ %169, %168 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  br label %197

171:                                              ; preds = %122
  %172 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  br label %197

173:                                              ; preds = %123
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %177

175:                                              ; preds = %124
  %176 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %177

177:                                              ; preds = %175, %173
  %.pn65 = phi { ptr, i32 } [ %176, %175 ], [ %174, %173 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  br label %197

178:                                              ; preds = %125
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %182

180:                                              ; preds = %126
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  br label %182

182:                                              ; preds = %180, %178
  %.pn67 = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  br label %197

183:                                              ; preds = %128
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %193

185:                                              ; preds = %152, %148, %146, %143, %141, %137, %135, %132, %129
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %192

187:                                              ; preds = %154
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %191

189:                                              ; preds = %155
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  br label %191

191:                                              ; preds = %189, %187
  %.pn69 = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br label %192

192:                                              ; preds = %191, %185
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %191 ], [ %186, %185 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %20) #9
  br label %193

193:                                              ; preds = %192, %183
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %192 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %20) #9
  br label %197

194:                                              ; preds = %120
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  %195 = add nuw nsw i32 %.01794, 1
  %196 = icmp ugt i32 %.01794, 8
  %exitcond = icmp eq i32 %195, 10
  br i1 %exitcond, label %.critedge86, label %.preheader, !llvm.loop !16

197:                                              ; preds = %193, %182, %177, %171, %170
  %.pn69.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn, %193 ], [ %.pn67, %182 ], [ %.pn65, %177 ], [ %172, %171 ], [ %.pn63, %170 ]
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #9
  br label %198

198:                                              ; preds = %197, %164
  %.pn69.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn, %197 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br label %199

199:                                              ; preds = %198, %163
  %.pn69.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn.pn, %198 ], [ %.pn60.pn, %163 ]
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  br label %229

200:                                              ; preds = %155
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %20) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %20) #9
  call void @_ZN4Simd5PointIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  br label %227

.critedge86:                                      ; preds = %194
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %22) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %22)
          to label %201 unwind label %216

201:                                              ; preds = %.critedge86
  %202 = getelementptr inbounds i8, ptr %22, i64 16
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %202, ptr noundef nonnull @.str.10)
          to label %204 unwind label %218

204:                                              ; preds = %201
  %205 = invoke noundef double @_ZN4Test7GetTimeEv()
          to label %206 unwind label %218

206:                                              ; preds = %204
  %207 = fsub double %205, %70
  %208 = fmul double %207, 1.000000e+03
  %209 = fdiv double %208, 1.000000e+01
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %203, double noundef %209)
          to label %211 unwind label %218

211:                                              ; preds = %206
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %210, ptr noundef nonnull @.str.3)
          to label %213 unwind label %218

213:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(128) %22)
          to label %214 unwind label %220

214:                                              ; preds = %213
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %215 unwind label %222

215:                                              ; preds = %214
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %22) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %22) #9
  br label %227

216:                                              ; preds = %.critedge86
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %226

218:                                              ; preds = %211, %206, %204, %201
  %219 = landingpad { ptr, i32 }
          cleanup
  br label %225

220:                                              ; preds = %213
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %224

222:                                              ; preds = %214
  %223 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %224

224:                                              ; preds = %222, %220
  %.pn76 = phi { ptr, i32 } [ %223, %222 ], [ %221, %220 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #9
  br label %225

225:                                              ; preds = %224, %218
  %.pn76.pn = phi { ptr, i32 } [ %.pn76, %224 ], [ %219, %218 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %22) #9
  br label %226

226:                                              ; preds = %225, %216
  %.pn76.pn.pn = phi { ptr, i32 } [ %.pn76.pn, %225 ], [ %217, %216 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %22) #9
  br label %229

227:                                              ; preds = %200, %215
  %228 = phi i1 [ %104, %200 ], [ %196, %215 ]
  call void @_ZN4Simd13ShiftDetectorINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %4) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #9
  br label %231

229:                                              ; preds = %102, %199, %226, %101, %90, %79, %73
  %.pn76.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn56.pn.pn, %101 ], [ %74, %73 ], [ %.pn52.pn.pn, %90 ], [ %.pn, %79 ], [ %.pn76.pn.pn, %226 ], [ %.pn69.pn.pn.pn.pn.pn, %199 ], [ %103, %102 ]
  call void @_ZN4Simd13ShiftDetectorINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %4) #9
  br label %230

230:                                              ; preds = %229, %71
  %.pn76.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn76.pn.pn.pn.pn, %229 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #9
  br label %232

231:                                              ; preds = %28, %227
  %.4 = phi i1 [ %228, %227 ], [ false, %28 ]
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #9
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #9
  ret i1 %.4

232:                                              ; preds = %230, %31
  %.pn76.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn76.pn.pn.pn.pn.pn, %230 ], [ %32, %31 ]
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #9
  br label %233

233:                                              ; preds = %232, %29
  %.pn76.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn76.pn.pn.pn.pn.pn.pn, %232 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #9
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn76.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Simd13ShiftDetectorINS_9AllocatorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

declare noundef double @_ZN4Test7GetTimeEv() local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Simd13ShiftDetectorINS_9AllocatorEE11InitBuffersERKNS_5PointIlEEmNS2_11TextureTypeENS2_14DifferenceTypeE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

; 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 #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #2 align 2

declare void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4Test6RandomEi(i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Simd13ShiftDetectorINS_9AllocatorEE8EstimateERKNS_4ViewIS1_EERKNS_9RectangleIlEEidl(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, double noundef, i64 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef double @_ZN4Simd15SquaredDistanceIdEET_RKNS_5PointIS1_EES5_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5PointIdEC2IlS0_EERKT0_IT_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) 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 #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_9RectangleIlEERKT0_m(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Simd4ViewINS_9AllocatorEE4SaveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE17SimdImageFileTypei(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"_ZTSN4Simd5PointIdEE", !10, i64 0, !10, i64 8}
!10 = !{!"double", !6, i64 0}
!11 = !{!9, !10, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"_ZTSN4Simd5PointIlEE", !14, i64 0, !14, i64 8}
!14 = !{!"long", !6, i64 0}
!15 = !{!13, !14, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


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