; LLVM IR from gem5/gem5 :: ext/systemc/src/sysc/datatypes/fx (scfx_rep)

; 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.sc_dt::scfx_mant_ref" = type <{ ptr, i8, [7 x i8] }>
%"class.sc_dt::scfx_rep" = type <{ %"class.sc_dt::scfx_mant", i32, i32, i32, i32, i32, i8, [3 x i8] }>
%"class.sc_dt::scfx_mant" = type <{ ptr, i32, [4 x i8] }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt9scfx_mant5clearEv(ptr noundef nonnull align 8 dereferenceable(12)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7find_swEv(ptr noundef nonnull align 8 dereferenceable(37)) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK5sc_dt8scfx_rep4sizeEv(ptr noundef nonnull align 8 dereferenceable(37)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep9resize_toEii(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef, i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5sc_dt8scfx_repnwEm(i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt8scfx_repdlEPvm(ptr noundef, i64 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5sc_dt12add_scfx_repERKNS_8scfx_repES2_i(ptr noundef nonnull align 8 dereferenceable(37) %0, ptr noundef nonnull align 8 dereferenceable(37) %1, i32 noundef %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.sc_dt::scfx_mant_ref", align 8
  %13 = alloca %"class.sc_dt::scfx_mant_ref", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %17 = call noundef ptr @_ZN5sc_dt8scfx_repnwEm(i64 noundef 40)
  invoke void @_ZN5sc_dt8scfx_repC1Ev(ptr noundef nonnull align 8 dereferenceable(37) %17)
          to label %18 unwind label %41

18:                                               ; preds = %3
  store ptr %17, ptr %8, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %19)
  br i1 %20, label %38, label %21

21:                                               ; preds = %18
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %22)
  br i1 %23, label %38, label %24

24:                                               ; preds = %21
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %25)
  br i1 %26, label %27, label %45

27:                                               ; preds = %24
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %28)
  br i1 %29, label %30, label %45

30:                                               ; preds = %27
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %31, i32 0, i32 2
  %33 = load i32, ptr %32, align 4, !tbaa !11
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %34, i32 0, i32 2
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = icmp ne i32 %33, %36
  br i1 %37, label %38, label %45

38:                                               ; preds = %30, %21, %18
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN5sc_dt8scfx_rep7set_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %39)
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %40, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %176

41:                                               ; preds = %3
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %9, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %10, align 4
  call void @_ZN5sc_dt8scfx_repdlEPvm(ptr noundef %17, i64 noundef 40) #5
  br label %178

45:                                               ; preds = %30, %27, %24
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %46)
  br i1 %47, label %48, label %54

48:                                               ; preds = %45
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %50, i32 0, i32 2
  %52 = load i32, ptr %51, align 4, !tbaa !11
  call void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37) %49, i32 noundef %52)
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %53, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %176

54:                                               ; preds = %45
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %55)
  br i1 %56, label %57, label %63

57:                                               ; preds = %54
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %59, i32 0, i32 2
  %61 = load i32, ptr %60, align 4, !tbaa !11
  call void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37) %58, i32 noundef %61)
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %62, ptr %4, align 8
  store i32 1, ptr %11, align 4
  br label %176

63:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  call void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  invoke void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %64 unwind label %102

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = invoke noundef i32 @_ZNK5sc_dt8scfx_rep4sizeEv(ptr noundef nonnull align 8 dereferenceable(37) %65)
          to label %67 unwind label %106

67:                                               ; preds = %64
  store i32 %66, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %68, i32 0, i32 1
  %70 = load i32, ptr %69, align 8, !tbaa !16
  store i32 %70, ptr %15, align 4, !tbaa !9
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5sc_dt5alignERKNS_8scfx_repES2_RiS3_RNS_13scfx_mant_refES5_(ptr noundef nonnull align 8 dereferenceable(37) %71, ptr noundef nonnull align 8 dereferenceable(37) %72, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 8 dereferenceable(9) %12, ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %73 unwind label %110

73:                                               ; preds = %67
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = load i32, ptr %14, align 4, !tbaa !9
  invoke void @_ZN5sc_dt8scfx_rep9resize_toEii(ptr noundef nonnull align 8 dereferenceable(37) %74, i32 noundef %75, i32 noundef 0)
          to label %76 unwind label %110

76:                                               ; preds = %73
  %77 = load i32, ptr %15, align 4, !tbaa !9
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %78, i32 0, i32 1
  store i32 %77, ptr %79, align 8, !tbaa !16
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %80, i32 0, i32 2
  %82 = load i32, ptr %81, align 4, !tbaa !11
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %83, i32 0, i32 2
  %85 = load i32, ptr %84, align 4, !tbaa !11
  %86 = icmp eq i32 %82, %85
  br i1 %86, label %87, label %114

87:                                               ; preds = %76
  %88 = load i32, ptr %14, align 4, !tbaa !9
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %89, i32 0, i32 0
  %91 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %12)
          to label %92 unwind label %110

92:                                               ; preds = %87
  %93 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %94 unwind label %110

94:                                               ; preds = %92
  %95 = invoke noundef i32 @_ZN5sc_dtL9add_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %88, ptr noundef nonnull align 8 dereferenceable(12) %90, ptr noundef nonnull align 8 dereferenceable(12) %91, ptr noundef nonnull align 8 dereferenceable(12) %93)
          to label %96 unwind label %110

96:                                               ; preds = %94
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %97, i32 0, i32 2
  %99 = load i32, ptr %98, align 4, !tbaa !11
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %100, i32 0, i32 2
  store i32 %99, ptr %101, align 4, !tbaa !11
  br label %166

102:                                              ; preds = %63
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %9, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %10, align 4
  br label %175

106:                                              ; preds = %64
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %9, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %10, align 4
  br label %174

110:                                              ; preds = %168, %166, %94, %92, %87, %73, %67
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %9, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %10, align 4
  br label %173

114:                                              ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = invoke noundef i32 @_ZN5sc_dt11compare_absERKNS_8scfx_repES2_(ptr noundef nonnull align 8 dereferenceable(37) %115, ptr noundef nonnull align 8 dereferenceable(37) %116)
          to label %118 unwind label %136

118:                                              ; preds = %114
  store i32 %117, ptr %16, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = icmp eq i32 %119, 1
  br i1 %120, label %121, label %140

121:                                              ; preds = %118
  %122 = load i32, ptr %14, align 4, !tbaa !9
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %123, i32 0, i32 0
  %125 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %12)
          to label %126 unwind label %136

126:                                              ; preds = %121
  %127 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %128 unwind label %136

128:                                              ; preds = %126
  %129 = invoke noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %122, ptr noundef nonnull align 8 dereferenceable(12) %124, ptr noundef nonnull align 8 dereferenceable(12) %125, ptr noundef nonnull align 8 dereferenceable(12) %127)
          to label %130 unwind label %136

130:                                              ; preds = %128
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %131, i32 0, i32 2
  %133 = load i32, ptr %132, align 4, !tbaa !11
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %134, i32 0, i32 2
  store i32 %133, ptr %135, align 4, !tbaa !11
  br label %165

136:                                              ; preds = %158, %150, %148, %143, %128, %126, %121, %114
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %9, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %173

140:                                              ; preds = %118
  %141 = load i32, ptr %16, align 4, !tbaa !9
  %142 = icmp eq i32 %141, -1
  br i1 %142, label %143, label %158

143:                                              ; preds = %140
  %144 = load i32, ptr %14, align 4, !tbaa !9
  %145 = load ptr, ptr %8, align 8, !tbaa !5
  %146 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %145, i32 0, i32 0
  %147 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %13)
          to label %148 unwind label %136

148:                                              ; preds = %143
  %149 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %12)
          to label %150 unwind label %136

150:                                              ; preds = %148
  %151 = invoke noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %144, ptr noundef nonnull align 8 dereferenceable(12) %146, ptr noundef nonnull align 8 dereferenceable(12) %147, ptr noundef nonnull align 8 dereferenceable(12) %149)
          to label %152 unwind label %136

152:                                              ; preds = %150
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %153, i32 0, i32 2
  %155 = load i32, ptr %154, align 4, !tbaa !11
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %156, i32 0, i32 2
  store i32 %155, ptr %157, align 4, !tbaa !11
  br label %164

158:                                              ; preds = %140
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %159, i32 0, i32 0
  invoke void @_ZN5sc_dt9scfx_mant5clearEv(ptr noundef nonnull align 8 dereferenceable(12) %160)
          to label %161 unwind label %136

161:                                              ; preds = %158
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = getelementptr inbounds %"class.sc_dt::scfx_rep", ptr %162, i32 0, i32 2
  store i32 1, ptr %163, align 4, !tbaa !11
  br label %164

164:                                              ; preds = %161, %152
  br label %165

165:                                              ; preds = %164, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %166

166:                                              ; preds = %165, %96
  %167 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN5sc_dt8scfx_rep7find_swEv(ptr noundef nonnull align 8 dereferenceable(37) %167)
          to label %168 unwind label %110

168:                                              ; preds = %166
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = load i32, ptr %7, align 4, !tbaa !9
  invoke void @_ZN5sc_dt8scfx_rep5roundEi(ptr noundef nonnull align 8 dereferenceable(37) %169, i32 noundef %170)
          to label %171 unwind label %110

171:                                              ; preds = %168
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %172, ptr %4, align 8
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %176

173:                                              ; preds = %136, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %174

174:                                              ; preds = %173, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %13) #5
  br label %175

175:                                              ; preds = %174, %102
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %178

176:                                              ; preds = %171, %57, %48, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %177 = load ptr, ptr %4, align 8
  ret ptr %177

178:                                              ; preds = %175, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %179

179:                                              ; preds = %178
  %180 = load ptr, ptr %9, align 8
  %181 = load i32, ptr %10, align 4
  %182 = insertvalue { ptr, i32 } poison, ptr %180, 0
  %183 = insertvalue { ptr, i32 } %182, i32 %181, 1
  resume { ptr, i32 } %183
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7set_nanEv(ptr noundef nonnull align 8 dereferenceable(37)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt5alignERKNS_8scfx_repES2_RiS3_RNS_13scfx_mant_refES5_(ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(9)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN5sc_dtL9add_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5sc_dt11compare_absERKNS_8scfx_repES2_(ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 8 dereferenceable(37)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep5roundEi(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef) #2 align 2

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

declare void @_ZN5sc_dt8scfx_repC1Ev(ptr)

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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, !10, i64 20}
!12 = !{!"_ZTSN5sc_dt8scfx_repE", !13, i64 0, !10, i64 16, !10, i64 20, !14, i64 24, !10, i64 28, !10, i64 32, !15, i64 36}
!13 = !{!"_ZTSN5sc_dt9scfx_mantE", !6, i64 0, !10, i64 8}
!14 = !{!"_ZTSN5sc_dt8scfx_rep5stateE", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!12, !10, i64 16}


; 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.sc_dt::scfx_mant_ref" = type <{ ptr, i8, [7 x i8] }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt9scfx_mant5clearEv(ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7find_swEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK5sc_dt8scfx_rep4sizeEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep9resize_toEii(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5sc_dt8scfx_repnwEm(i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt8scfx_repdlEPvm(ptr noundef, i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5sc_dt12add_scfx_repERKNS_8scfx_repES2_i(ptr noundef nonnull align 8 dereferenceable(37) %0, ptr noundef nonnull align 8 dereferenceable(37) %1, i32 noundef %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.sc_dt::scfx_mant_ref", align 8
  %5 = alloca %"class.sc_dt::scfx_mant_ref", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = tail call noundef ptr @_ZN5sc_dt8scfx_repnwEm(i64 noundef 40)
  invoke void @_ZN5sc_dt8scfx_repC1Ev(ptr noundef nonnull align 8 dereferenceable(37) %8)
          to label %9 unwind label %23

9:                                                ; preds = %3
  %10 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %0)
  br i1 %10, label %22, label %11

11:                                               ; preds = %9
  %12 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %1)
  br i1 %12, label %22, label %13

13:                                               ; preds = %11
  %14 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %0)
  br i1 %14, label %15, label %25

15:                                               ; preds = %13
  %16 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %1)
  br i1 %16, label %17, label %25

17:                                               ; preds = %15
  %18 = getelementptr inbounds i8, ptr %0, i64 20
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %1, i64 20
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %.not = icmp eq i32 %19, %21
  br i1 %.not, label %25, label %22

22:                                               ; preds = %17, %11, %9
  tail call void @_ZN5sc_dt8scfx_rep7set_nanEv(ptr noundef nonnull align 8 dereferenceable(37) %8)
  br label %84

23:                                               ; preds = %3
  %24 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN5sc_dt8scfx_repdlEPvm(ptr noundef %8, i64 noundef 40) #5
  br label %85

25:                                               ; preds = %17, %15, %13
  %26 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %0)
  br i1 %26, label %27, label %30

27:                                               ; preds = %25
  %28 = getelementptr inbounds i8, ptr %0, i64 20
  %29 = load i32, ptr %28, align 4, !tbaa !5
  tail call void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37) %8, i32 noundef %29)
  br label %84

30:                                               ; preds = %25
  %31 = tail call noundef zeroext i1 @_ZNK5sc_dt8scfx_rep6is_infEv(ptr noundef nonnull align 8 dereferenceable(37) %1)
  br i1 %31, label %32, label %35

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %1, i64 20
  %34 = load i32, ptr %33, align 4, !tbaa !5
  tail call void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37) %8, i32 noundef %34)
  br label %84

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN5sc_dt13scfx_mant_refC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %36 = invoke noundef i32 @_ZNK5sc_dt8scfx_rep4sizeEv(ptr noundef nonnull align 8 dereferenceable(37) %0)
          to label %37 unwind label %56

37:                                               ; preds = %35
  store i32 %36, ptr %6, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  %38 = getelementptr inbounds i8, ptr %0, i64 16
  %39 = load i32, ptr %38, align 8, !tbaa !15
  store i32 %39, ptr %7, align 4, !tbaa !14
  invoke void @_ZN5sc_dt5alignERKNS_8scfx_repES2_RiS3_RNS_13scfx_mant_refES5_(ptr noundef nonnull align 8 dereferenceable(37) %0, ptr noundef nonnull align 8 dereferenceable(37) %1, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 8 dereferenceable(9) %4, ptr noundef nonnull align 8 dereferenceable(9) %5)
          to label %40 unwind label %58

40:                                               ; preds = %37
  %41 = load i32, ptr %6, align 4, !tbaa !14
  invoke void @_ZN5sc_dt8scfx_rep9resize_toEii(ptr noundef nonnull align 8 dereferenceable(37) %8, i32 noundef %41, i32 noundef 0)
          to label %42 unwind label %58

42:                                               ; preds = %40
  %43 = load i32, ptr %7, align 4, !tbaa !14
  %44 = getelementptr inbounds i8, ptr %8, i64 16
  store i32 %43, ptr %44, align 8, !tbaa !15
  %45 = getelementptr inbounds i8, ptr %0, i64 20
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %1, i64 20
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = icmp eq i32 %46, %48
  br i1 %49, label %50, label %60

50:                                               ; preds = %42
  %51 = load i32, ptr %6, align 4, !tbaa !14
  %52 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %4)
  %53 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %5)
  %54 = call noundef i32 @_ZN5sc_dtL9add_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %51, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %52, ptr noundef nonnull align 8 dereferenceable(12) %53)
  %55 = load i32, ptr %45, align 4, !tbaa !5
  br label %78

56:                                               ; preds = %35
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %83

58:                                               ; preds = %80, %78, %40, %37
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %82

60:                                               ; preds = %42
  %61 = invoke noundef i32 @_ZN5sc_dt11compare_absERKNS_8scfx_repES2_(ptr noundef nonnull align 8 dereferenceable(37) %0, ptr noundef nonnull align 8 dereferenceable(37) %1)
          to label %62 unwind label %69

62:                                               ; preds = %60
  switch i32 %61, label %77 [
    i32 1, label %63
    i32 -1, label %71
  ]

63:                                               ; preds = %62
  %64 = load i32, ptr %6, align 4, !tbaa !14
  %65 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %4)
  %66 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %5)
  %67 = call noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %64, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %65, ptr noundef nonnull align 8 dereferenceable(12) %66)
  %68 = load i32, ptr %45, align 4, !tbaa !5
  br label %78

69:                                               ; preds = %77, %60
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %82

71:                                               ; preds = %62
  %72 = load i32, ptr %6, align 4, !tbaa !14
  %73 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %5)
  %74 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN5sc_dt13scfx_mant_refcvRNS_9scfx_mantEEv(ptr noundef nonnull align 8 dereferenceable(9) %4)
  %75 = call noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef %72, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %73, ptr noundef nonnull align 8 dereferenceable(12) %74)
  %76 = load i32, ptr %47, align 4, !tbaa !5
  br label %78

77:                                               ; preds = %62
  invoke void @_ZN5sc_dt9scfx_mant5clearEv(ptr noundef nonnull align 8 dereferenceable(12) %8)
          to label %78 unwind label %69

78:                                               ; preds = %77, %63, %71, %50
  %.sink = phi i32 [ %68, %63 ], [ %76, %71 ], [ %55, %50 ], [ 1, %77 ]
  %79 = getelementptr inbounds i8, ptr %8, i64 20
  store i32 %.sink, ptr %79, align 4, !tbaa !5
  invoke void @_ZN5sc_dt8scfx_rep7find_swEv(ptr noundef nonnull align 8 dereferenceable(37) %8)
          to label %80 unwind label %58

80:                                               ; preds = %78
  invoke void @_ZN5sc_dt8scfx_rep5roundEi(ptr noundef nonnull align 8 dereferenceable(37) %8, i32 noundef %2)
          to label %81 unwind label %58

81:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  br label %84

82:                                               ; preds = %69, %58
  %.pn = phi { ptr, i32 } [ %59, %58 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %83

83:                                               ; preds = %82, %56
  %.pn.pn = phi { ptr, i32 } [ %.pn, %82 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN5sc_dt13scfx_mant_refD2Ev(ptr noundef nonnull align 8 dereferenceable(9) %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  br label %85

84:                                               ; preds = %81, %32, %27, %22
  ret ptr %8

85:                                               ; preds = %83, %23
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %83 ], [ %24, %23 ]
  resume { ptr, i32 } %.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7set_nanEv(ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep7set_infEi(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt5alignERKNS_8scfx_repES2_RiS3_RNS_13scfx_mant_refES5_(ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(9), ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN5sc_dtL9add_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5sc_dt11compare_absERKNS_8scfx_repES2_(ptr noundef nonnull align 8 dereferenceable(37), ptr noundef nonnull align 8 dereferenceable(37)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN5sc_dtL9sub_mantsEiRNS_9scfx_mantERKS0_S3_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt8scfx_rep5roundEi(ptr noundef nonnull align 8 dereferenceable(37), i32 noundef) local_unnamed_addr #2 align 2

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

declare void @_ZN5sc_dt8scfx_repC1Ev(ptr) local_unnamed_addr

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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, !11, i64 20}
!6 = !{!"_ZTSN5sc_dt8scfx_repE", !7, i64 0, !11, i64 16, !11, i64 20, !12, i64 24, !11, i64 28, !11, i64 32, !13, i64 36}
!7 = !{!"_ZTSN5sc_dt9scfx_mantE", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"_ZTSN5sc_dt8scfx_rep5stateE", !9, i64 0}
!13 = !{!"bool", !9, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!6, !11, i64 16}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass