; LLVM IR from ermig1979/Simd :: src/Test/TestDrawing.ll (ZN4Test24DrawRectangleSpecialTestERKNS_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"

%"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::Point" = type { i64, i64 }
%"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] }
%"class.std::allocator" = type { i8 }

@_ZN4Test1WE = external global i32, align 4
@_ZN4Test1HE = external global i32, align 4
@.str.15 = external hidden unnamed_addr constant [15 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: 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 uwtable
declare dso_local void @_ZN4Simd4FillINS_9AllocatorEEEvRNS_4ViewIT_EEh(ptr noundef nonnull align 8 dereferenceable(41), i8 noundef zeroext) #3

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

; 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: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test24DrawRectangleSpecialTestERKNS_7OptionsE(ptr noundef nonnull align 8 dereferenceable(256) %0) #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.Simd::View", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca %"struct.Simd::Rectangle", align 8
  %15 = alloca i8, align 1
  %16 = alloca %"struct.Simd::Point", align 8
  %17 = alloca %"struct.Simd::Point", align 8
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #6
  %22 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !9
  %23 = sext i32 %22 to i64
  %24 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !9
  %25 = sext i32 %24 to i64
  %26 = call noundef i64 @_ZN4Simd9AllocatorIhE9AlignmentEv()
  call void @_ZN4Simd4ViewINS_9AllocatorEEC2EmmNS2_6FormatEPvm(ptr noundef nonnull align 8 dereferenceable(41) %3, i64 noundef %23, i64 noundef %25, i32 noundef 1, ptr noundef null, i64 noundef %26)
  invoke void @_ZN4Simd4FillINS_9AllocatorEEEvRNS_4ViewIT_EEh(ptr noundef nonnull align 8 dereferenceable(41) %3, i8 noundef zeroext 0)
          to label %27 unwind label %32

27:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store i64 55, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store i64 256, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 3, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 55, ptr %9, align 8, !tbaa !11
  br label %28

28:                                               ; preds = %93, %27
  %29 = load i64, ptr %9, align 8, !tbaa !11
  %30 = icmp ult i64 %29, 256
  br i1 %30, label %36, label %31

31:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %125

32:                                               ; preds = %1
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %4, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %5, align 4
  br label %181

36:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %37 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !9
  %38 = mul nsw i32 %37, 5
  %39 = sdiv i32 %38, 4
  %40 = invoke noundef i32 @_ZN4Test6RandomEi(i32 noundef %39)
          to label %41 unwind label %96

41:                                               ; preds = %36
  %42 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !9
  %43 = sdiv i32 %42, 8
  %44 = sub nsw i32 %40, %43
  %45 = sext i32 %44 to i64
  store i64 %45, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %46 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !9
  %47 = mul nsw i32 %46, 5
  %48 = sdiv i32 %47, 4
  %49 = invoke noundef i32 @_ZN4Test6RandomEi(i32 noundef %48)
          to label %50 unwind label %100

50:                                               ; preds = %41
  %51 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !9
  %52 = sdiv i32 %51, 8
  %53 = sub nsw i32 %49, %52
  %54 = sext i32 %53 to i64
  store i64 %54, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %55 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !9
  %56 = mul nsw i32 %55, 5
  %57 = sdiv i32 %56, 4
  %58 = invoke noundef i32 @_ZN4Test6RandomEi(i32 noundef %57)
          to label %59 unwind label %104

59:                                               ; preds = %50
  %60 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !9
  %61 = sdiv i32 %60, 8
  %62 = sub nsw i32 %58, %61
  %63 = sext i32 %62 to i64
  store i64 %63, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %64 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !9
  %65 = mul nsw i32 %64, 5
  %66 = sdiv i32 %65, 4
  %67 = invoke noundef i32 @_ZN4Test6RandomEi(i32 noundef %66)
          to label %68 unwind label %108

68:                                               ; preds = %59
  %69 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !9
  %70 = sdiv i32 %69, 8
  %71 = sub nsw i32 %67, %70
  %72 = sext i32 %71 to i64
  store i64 %72, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %74 unwind label %112

74:                                               ; preds = %68
  %75 = load i64, ptr %73, align 8, !tbaa !11
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %77 unwind label %112

77:                                               ; preds = %74
  %78 = load i64, ptr %76, align 8, !tbaa !11
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %80 unwind label %112

80:                                               ; preds = %77
  %81 = load i64, ptr %79, align 8, !tbaa !11
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %83 unwind label %112

83:                                               ; preds = %80
  %84 = load i64, ptr %82, align 8, !tbaa !11
  invoke void @_ZN4Simd9RectangleIlEC2IllllEET_T0_T1_T2_(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %75, i64 noundef %78, i64 noundef %81, i64 noundef %84)
          to label %85 unwind label %112

85:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  %86 = load i64, ptr %9, align 8, !tbaa !11
  %87 = trunc i64 %86 to i8
  store i8 %87, ptr %15, align 1, !tbaa !13
  %88 = invoke noundef i32 @_ZN4Test6RandomEi(i32 noundef 3)
          to label %89 unwind label %116

89:                                               ; preds = %85
  %90 = add nsw i32 %88, 1
  %91 = sext i32 %90 to i64
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_9RectangleIlEERKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 1 dereferenceable(1) %15, i64 noundef %91)
          to label %92 unwind label %116

92:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %93

93:                                               ; preds = %92
  %94 = load i64, ptr %9, align 8, !tbaa !11
  %95 = add i64 %94, 5
  store i64 %95, ptr %9, align 8, !tbaa !11
  br label %28, !llvm.loop !14

96:                                               ; preds = %36
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %4, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %5, align 4
  br label %124

100:                                              ; preds = %41
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %4, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %5, align 4
  br label %123

104:                                              ; preds = %50
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %4, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %5, align 4
  br label %122

108:                                              ; preds = %59
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %4, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %5, align 4
  br label %121

112:                                              ; preds = %83, %80, %77, %74, %68
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %4, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %5, align 4
  br label %120

116:                                              ; preds = %89, %85
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %4, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %120

120:                                              ; preds = %116, %112
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br label %121

121:                                              ; preds = %120, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %122

122:                                              ; preds = %121, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %123

123:                                              ; preds = %122, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %124

124:                                              ; preds = %123, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %180

125:                                              ; preds = %31
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %126 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !9
  %127 = sdiv i32 %126, 20
  %128 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !9
  %129 = sdiv i32 %128, 20
  invoke void @_ZN4Simd5PointIlEC2IiiEET_T0_(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef %127, i32 noundef %129)
          to label %130 unwind label %153

130:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %131 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !9
  %132 = sdiv i32 %131, 10
  %133 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !9
  %134 = sdiv i32 %133, 10
  invoke void @_ZN4Simd5PointIlEC2IiiEET_T0_(ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef %132, i32 noundef %134)
          to label %135 unwind label %157

135:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  store i8 64, ptr %18, align 1, !tbaa !13
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_5PointIlEES9_RKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 1 dereferenceable(1) %18, i64 noundef 2)
          to label %136 unwind label %161

136:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  %137 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !9
  %138 = sdiv i32 %137, 25
  %139 = sext i32 %138 to i64
  %140 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !9
  %141 = sdiv i32 %140, 25
  %142 = sext i32 %141 to i64
  %143 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !9
  %144 = sdiv i32 %143, 15
  %145 = sext i32 %144 to i64
  %146 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !9
  %147 = sdiv i32 %146, 15
  %148 = sext i32 %147 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  store i8 96, ptr %19, align 1, !tbaa !13
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EEllllRKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %3, i64 noundef %139, i64 noundef %142, i64 noundef %145, i64 noundef %148, ptr noundef nonnull align 1 dereferenceable(1) %19, i64 noundef 3)
          to label %149 unwind label %167

149:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %150 unwind label %171

150:                                              ; preds = %149
  %151 = invoke noundef zeroext i1 @_ZNK4Simd4ViewINS_9AllocatorEE4SaveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE17SimdImageFileTypei(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 8 dereferenceable(32) %20, i32 noundef 0, i32 noundef 100)
          to label %152 unwind label %175

152:                                              ; preds = %150
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #6
  ret i1 true

153:                                              ; preds = %125
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %4, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %5, align 4
  br label %166

157:                                              ; preds = %130
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %4, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %5, align 4
  br label %165

161:                                              ; preds = %135
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %4, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  br label %165

165:                                              ; preds = %161, %157
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  br label %166

166:                                              ; preds = %165, %153
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %180

167:                                              ; preds = %136
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %4, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %180

171:                                              ; preds = %149
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %4, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %5, align 4
  br label %179

175:                                              ; preds = %150
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %4, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %179

179:                                              ; preds = %175, %171
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  br label %180

180:                                              ; preds = %179, %167, %166, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %181

181:                                              ; preds = %180, %32
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #6
  br label %182

182:                                              ; preds = %181
  %183 = load ptr, ptr %4, align 8
  %184 = load i32, ptr %5, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186
}

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd9RectangleIlEC2IllllEET_T0_T1_T2_(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, i64 noundef, i64 noundef) unnamed_addr #4 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 @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_5PointIlEES9_RKT0_m(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5PointIlEC2IiiEET_T0_(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) unnamed_addr #3 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: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EEllllRKT0_m(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #3

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

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

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


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

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

@_ZN4Test1WE = external local_unnamed_addr global i32, align 4
@_ZN4Test1HE = external local_unnamed_addr global i32, align 4
@.str.15 = external hidden unnamed_addr constant [15 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: 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 uwtable
declare dso_local void @_ZN4Simd4FillINS_9AllocatorEEEvRNS_4ViewIT_EEh(ptr noundef nonnull align 8 dereferenceable(41), i8 noundef zeroext) local_unnamed_addr #3

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

; 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: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test24DrawRectangleSpecialTestERKNS_7OptionsE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(256) %0) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"struct.Simd::View", align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca %"struct.Simd::Rectangle", align 8
  %8 = alloca i8, align 1
  %9 = alloca %"struct.Simd::Point", align 8
  %10 = alloca %"struct.Simd::Point", align 8
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #6
  %15 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = tail call noundef i64 @_ZN4Simd9AllocatorIhE9AlignmentEv()
  call void @_ZN4Simd4ViewINS_9AllocatorEEC2EmmNS2_6FormatEPvm(ptr noundef nonnull align 8 dereferenceable(41) %2, i64 noundef %16, i64 noundef %18, i32 noundef 1, ptr noundef null, i64 noundef %19)
  invoke void @_ZN4Simd4FillINS_9AllocatorEEEvRNS_4ViewIT_EEh(ptr noundef nonnull align 8 dereferenceable(41) %2, i8 noundef zeroext 0)
          to label %.preheader unwind label %25

20:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %21 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %22 = sdiv i32 %21, 20
  %23 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %24 = sdiv i32 %23, 20
  invoke void @_ZN4Simd5PointIlEC2IiiEET_T0_(ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef %22, i32 noundef %24)
          to label %72 unwind label %93

25:                                               ; preds = %1
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %108

.preheader:                                       ; preds = %1, %67
  %.020 = phi i64 [ %68, %67 ], [ 55, %1 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %27 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %28 = mul nsw i32 %27, 5
  %29 = sdiv i32 %28, 4
  %30 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %29)
  %31 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %.neg = sdiv i32 %31, -8
  %32 = add i32 %.neg, %30
  %33 = sext i32 %32 to i64
  store i64 %33, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %34 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %35 = mul nsw i32 %34, 5
  %36 = sdiv i32 %35, 4
  %37 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %36)
  %38 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %.neg14 = sdiv i32 %38, -8
  %39 = add i32 %.neg14, %37
  %40 = sext i32 %39 to i64
  store i64 %40, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %41 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %42 = mul nsw i32 %41, 5
  %43 = sdiv i32 %42, 4
  %44 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %43)
  %45 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %.neg15 = sdiv i32 %45, -8
  %46 = add i32 %.neg15, %44
  %47 = sext i32 %46 to i64
  store i64 %47, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %48 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %49 = mul nsw i32 %48, 5
  %50 = sdiv i32 %49, 4
  %51 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef %50)
  %52 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %.neg16 = sdiv i32 %52, -8
  %53 = add i32 %.neg16, %51
  %54 = sext i32 %53 to i64
  store i64 %54, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %56 = load i64, ptr %55, align 8, !tbaa !9
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %58 = load i64, ptr %57, align 8, !tbaa !9
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %60 = load i64, ptr %59, align 8, !tbaa !9
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %62 = load i64, ptr %61, align 8, !tbaa !9
  call void @_ZN4Simd9RectangleIlEC2IllllEET_T0_T1_T2_(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %56, i64 noundef %58, i64 noundef %60, i64 noundef %62)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  %63 = trunc nuw i64 %.020 to i8
  store i8 %63, ptr %8, align 1, !tbaa !11
  %64 = call noundef i32 @_ZN4Test6RandomEi(i32 noundef 3)
  %65 = add nsw i32 %64, 1
  %66 = sext i32 %65 to i64
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_9RectangleIlEERKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %2, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 1 dereferenceable(1) %8, i64 noundef %66)
          to label %67 unwind label %70

67:                                               ; preds = %.preheader
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  %68 = add nuw nsw i64 %.020, 5
  %69 = icmp ult i64 %.020, 251
  br i1 %69, label %.preheader, label %20, !llvm.loop !12

70:                                               ; preds = %.preheader
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @_ZN4Simd9RectangleIlED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %108

72:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %73 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %74 = sdiv i32 %73, 10
  %75 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %76 = sdiv i32 %75, 10
  invoke void @_ZN4Simd5PointIlEC2IiiEET_T0_(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef %74, i32 noundef %76)
          to label %77 unwind label %95

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  store i8 64, ptr %11, align 1, !tbaa !11
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_5PointIlEES9_RKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %2, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 1 dereferenceable(1) %11, i64 noundef 2)
          to label %78 unwind label %97

78:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  %79 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %80 = sdiv i32 %79, 25
  %81 = sext i32 %80 to i64
  %82 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %83 = sdiv i32 %82, 25
  %84 = sext i32 %83 to i64
  %85 = sdiv i32 %79, 15
  %86 = sext i32 %85 to i64
  %87 = sdiv i32 %82, 15
  %88 = sext i32 %87 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  store i8 96, ptr %12, align 1, !tbaa !11
  invoke void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EEllllRKT0_m(ptr noundef nonnull align 8 dereferenceable(41) %2, i64 noundef %81, i64 noundef %84, i64 noundef %86, i64 noundef %88, ptr noundef nonnull align 1 dereferenceable(1) %12, i64 noundef 3)
          to label %89 unwind label %101

89:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %90 unwind label %103

90:                                               ; preds = %89
  %91 = invoke noundef zeroext i1 @_ZNK4Simd4ViewINS_9AllocatorEE4SaveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE17SimdImageFileTypei(ptr noundef nonnull align 8 dereferenceable(41) %2, ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 0, i32 noundef 100)
          to label %92 unwind label %105

92:                                               ; preds = %90
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  ret i1 true

93:                                               ; preds = %20
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %100

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

97:                                               ; preds = %77
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  br label %99

99:                                               ; preds = %97, %95
  %.pn = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @_ZN4Simd5PointIlED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %100

100:                                              ; preds = %99, %93
  %.pn.pn = phi { ptr, i32 } [ %.pn, %99 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %108

101:                                              ; preds = %78
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %108

103:                                              ; preds = %89
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %90
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %107

107:                                              ; preds = %105, %103
  %.pn12 = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  br label %108

108:                                              ; preds = %70, %100, %101, %107, %25
  %.pn17.pn = phi { ptr, i32 } [ %26, %25 ], [ %71, %70 ], [ %.pn12, %107 ], [ %102, %101 ], [ %.pn.pn, %100 ]
  call void @_ZN4Simd4ViewINS_9AllocatorEED2Ev(ptr noundef nonnull align 8 dereferenceable(41) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn17.pn
}

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Simd9RectangleIlEC2IllllEET_T0_T1_T2_(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, i64 noundef, i64 noundef) unnamed_addr #4 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 @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EERKNS_5PointIlEES9_RKT0_m(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd5PointIlEC2IiiEET_T0_(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) unnamed_addr #3 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: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Simd13DrawRectangleINS_9AllocatorEhEEvRNS_4ViewIT_EEllllRKT0_m(ptr noundef nonnull align 8 dereferenceable(41), i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #3

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass