; LLVM IR from foonathan/type_safe :: example (types)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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::locale" = type { ptr }
%"class.type_safe::boolean" = type { i8 }
%"class.type_safe::integer.0" = type { i32 }
%"class.type_safe::integer" = type { i32 }
%"class.type_safe::integer.1" = type { i64 }
%"class.type_safe::integer.2" = type { i8 }
%"class.type_safe::integer.3" = type { i8 }
%"class.type_safe::floating_point" = type { float }
%"class.type_safe::floating_point.4" = type { double }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@__const.main.b1 = external hidden unnamed_addr constant %"class.type_safe::boolean", align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13only_unsignedN9type_safe7integerIjNS_29undefined_behavior_arithmeticEEE(i32) #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #0

; 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) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.type_safe::boolean", align 1
  %3 = alloca %"class.type_safe::boolean", align 1
  %4 = alloca %"class.type_safe::integer.0", align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.type_safe::integer", align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.type_safe::integer.1", align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.type_safe::integer.2", align 1
  %12 = alloca %"class.type_safe::integer", align 4
  %13 = alloca %"class.type_safe::integer", align 4
  %14 = alloca %"class.type_safe::integer", align 4
  %15 = alloca %"class.type_safe::integer.0", align 4
  %16 = alloca %"class.type_safe::integer.3", align 1
  %17 = alloca %"class.type_safe::integer.2", align 1
  %18 = alloca %"class.type_safe::integer.2", align 1
  %19 = alloca %"class.type_safe::floating_point", align 4
  %20 = alloca float, align 4
  %21 = alloca %"class.type_safe::floating_point.4", align 8
  %22 = alloca double, align 8
  %23 = alloca %"class.type_safe::floating_point.4", align 8
  %24 = alloca float, align 4
  %25 = alloca %"class.type_safe::integer", align 4
  %26 = alloca %"class.type_safe::integer", align 4
  %27 = alloca %"class.type_safe::integer.2", align 1
  %28 = alloca %"class.type_safe::floating_point.4", align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca %"class.type_safe::floating_point", align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.b1, i64 1, i1 false)
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEEERSt13basic_ostreamIT_T0_ES7_RKNS_7booleanE(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 1 dereferenceable(1) %2)
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %33, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #7
  %35 = call i8 @_ZNK9type_safe7booleanntEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #7
  %36 = getelementptr inbounds %"class.type_safe::boolean", ptr %3, i32 0, i32 0
  store i8 %35, ptr %36, align 1
  %37 = call noundef zeroext i1 @_ZNK9type_safe7booleancvbEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  br i1 %37, label %38, label %40

38:                                               ; preds = %0
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  br label %42

40:                                               ; preds = %0
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  br label %42

42:                                               ; preds = %40, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !5
  call void @_ZN9type_safe7integerIiNS_29undefined_behavior_arithmeticEEC2IivEERKT_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @_ZN9type_safe7integerIjNS_29undefined_behavior_arithmeticEEC2IjvEERKT_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEiNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %44, i8 noundef signext 32)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %46, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 4, ptr %8, align 4, !tbaa !5
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN9type_safe7integerIiNS_29undefined_behavior_arithmeticEEpLIivEERS2_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store i64 100, ptr %10, align 8, !tbaa !9
  %49 = call i64 @_ZN9type_safeplIiNS_29undefined_behavior_arithmeticExEENS_7integerINS_6detail19integer_result_typeIT_T1_E4typeET0_EERKNS2_IS5_S9_EERKS6_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %50 = getelementptr inbounds %"class.type_safe::integer.1", ptr %9, i32 0, i32 0
  store i64 %49, ptr %50, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcExNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %51, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  %53 = call i8 @_ZN9type_safe5types8literalsli3_u8IJLc50ELc53ELc53EEEENS_7integerIhNS_29undefined_behavior_arithmeticEEEv()
  %54 = getelementptr inbounds %"class.type_safe::integer.2", ptr %11, i32 0, i32 0
  store i8 %53, ptr %54, align 1
  call void @_ZN9type_safe7integerIjNS_29undefined_behavior_arithmeticEEC2IhvEERKNS0_IT_S1_EE(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(1) %11)
  %55 = getelementptr inbounds %"class.type_safe::integer", ptr %12, i32 0, i32 0
  %56 = load i32, ptr %55, align 4
  call void @_Z13only_unsignedN9type_safe7integerIjNS_29undefined_behavior_arithmeticEEE(i32 %56)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %57 = call i32 @_ZN9type_safe13make_unsignedIiNS_29undefined_behavior_arithmeticEEENS_6detail13make_unsignedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 4 dereferenceable(4) %4)
  %58 = getelementptr inbounds %"class.type_safe::integer", ptr %13, i32 0, i32 0
  store i32 %57, ptr %58, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %59 = call i32 @_ZNK9type_safe7integerIiNS_29undefined_behavior_arithmeticEEngEv(ptr noundef nonnull align 4 dereferenceable(4) %4)
  %60 = getelementptr inbounds %"class.type_safe::integer.0", ptr %15, i32 0, i32 0
  store i32 %59, ptr %60, align 4
  %61 = call i32 @_ZN9type_safe3absIiNS_29undefined_behavior_arithmeticEvEENS_6detail13make_unsignedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 4 dereferenceable(4) %15)
  %62 = getelementptr inbounds %"class.type_safe::integer", ptr %14, i32 0, i32 0
  store i32 %61, ptr %62, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %63, i8 noundef signext 32)
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %65, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  %67 = call i8 @_ZN9type_safe5types8literalsli3_u8IJLc50ELc48ELc48EEEENS_7integerIhNS_29undefined_behavior_arithmeticEEEv()
  %68 = getelementptr inbounds %"class.type_safe::integer.2", ptr %18, i32 0, i32 0
  store i8 %67, ptr %68, align 1
  %69 = call i8 @_ZN9type_safemiIhhNS_29undefined_behavior_arithmeticEEENS_7integerINS_6detail19integer_result_typeIT_T0_E4typeET1_EERKNS2_IS5_S9_EERKNS2_IS6_S9_EE(ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 1 dereferenceable(1) %18)
  %70 = getelementptr inbounds %"class.type_safe::integer.2", ptr %17, i32 0, i32 0
  store i8 %69, ptr %70, align 1
  %71 = call i8 @_ZN9type_safe11make_signedIhNS_29undefined_behavior_arithmeticEEENS_6detail11make_signedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 1 dereferenceable(1) %17)
  %72 = getelementptr inbounds %"class.type_safe::integer.3", ptr %16, i32 0, i32 0
  store i8 %71, ptr %72, align 1
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEaNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 1 dereferenceable(1) %16)
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %73, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store float 0.000000e+00, ptr %20, align 4, !tbaa !11
  call void @_ZN9type_safe14floating_pointIfEC2IfvEERKT_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  store double 0.000000e+00, ptr %22, align 8, !tbaa !13
  call void @_ZN9type_safe14floating_pointIdEC2IdvEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store float 0.000000e+00, ptr %24, align 4, !tbaa !11
  call void @_ZN9type_safe14floating_pointIdEC2IfvEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(4) %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEfEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %76, i8 noundef signext 32)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEdEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %78, i8 noundef signext 32)
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEdEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %80, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %82 = call i32 @_ZN9type_safe5types8literalsli4_u32IJLc51ELc50ELc53EEEENS_7integerIjNS_29undefined_behavior_arithmeticEEEv()
  %83 = getelementptr inbounds %"class.type_safe::integer", ptr %25, i32 0, i32 0
  store i32 %82, ptr %83, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %84 = call i32 @_ZN9type_safe5types8literalsli4_u32IJLc49ELc48ELc48EEEENS_7integerIjNS_29undefined_behavior_arithmeticEEEv()
  %85 = getelementptr inbounds %"class.type_safe::integer", ptr %26, i32 0, i32 0
  store i32 %84, ptr %85, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %26, i64 4, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #7
  %86 = call i8 @_ZN9type_safe11narrow_castINS_7integerIhNS_29undefined_behavior_arithmeticEEEjS2_EENS_6detail18get_target_integerIT_T1_E4typeERKNS1_IT0_S7_EE(ptr noundef nonnull align 4 dereferenceable(4) %25) #7
  %87 = getelementptr inbounds %"class.type_safe::integer.2", ptr %27, i32 0, i32 0
  store i8 %86, ptr %87, align 1
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 4 dereferenceable(4) %25)
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %88, i8 noundef signext 32)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEhNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef nonnull align 1 dereferenceable(1) %27)
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %90, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  store double 1.000000e-01, ptr %29, align 8, !tbaa !13
  call void @_ZN9type_safe14floating_pointIdEC2IdvEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store double 5.000000e-01, ptr %30, align 8, !tbaa !13
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safe14floating_pointIdEaSIdvEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %93 = call float @_ZN9type_safe11narrow_castINS_14floating_pointIfEEdEENS_6detail25get_target_floating_pointIT_E4typeERKNS1_IT0_EE(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %94 = getelementptr inbounds %"class.type_safe::floating_point", ptr %31, i32 0, i32 0
  store float %93, ptr %94, align 4
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEdEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %28)
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %95, i8 noundef signext 32)
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEfEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull align 4 dereferenceable(4) %31)
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %97, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #7
  %99 = load i32, ptr %1, align 4
  ret i32 %99
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEEERSt13basic_ostreamIT_T0_ES7_RKNS_7booleanE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local i8 @_ZNK9type_safe7booleanntEv(ptr noundef nonnull align 1 dereferenceable(1)) #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9type_safe7booleancvbEv(ptr noundef nonnull align 1 dereferenceable(1)) #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEiNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN9type_safe7integerIiNS_29undefined_behavior_arithmeticEEpLIivEERS2_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i64 @_ZN9type_safeplIiNS_29undefined_behavior_arithmeticExEENS_7integerINS_6detail19integer_result_typeIT_T1_E4typeET0_EERKNS2_IS5_S9_EERKS6_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcExNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress uwtable
declare dso_local i8 @_ZN9type_safe5types8literalsli3_u8IJLc50ELc53ELc53EEEENS_7integerIhNS_29undefined_behavior_arithmeticEEEv() #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN9type_safe7integerIjNS_29undefined_behavior_arithmeticEEC2IhvEERKNS0_IT_S1_EE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i32 @_ZN9type_safe13make_unsignedIiNS_29undefined_behavior_arithmeticEEENS_6detail13make_unsignedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 4 dereferenceable(4)) #6

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i32 @_ZN9type_safe3absIiNS_29undefined_behavior_arithmeticEvEENS_6detail13make_unsignedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 4 dereferenceable(4)) #6

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i32 @_ZNK9type_safe7integerIiNS_29undefined_behavior_arithmeticEEngEv(ptr noundef nonnull align 4 dereferenceable(4)) #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i8 @_ZN9type_safe11make_signedIhNS_29undefined_behavior_arithmeticEEENS_6detail11make_signedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 1 dereferenceable(1)) #6

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i8 @_ZN9type_safemiIhhNS_29undefined_behavior_arithmeticEEENS_7integerINS_6detail19integer_result_typeIT_T0_E4typeET1_EERKNS2_IS5_S9_EERKNS2_IS6_S9_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #6

; Function Attrs: mustprogress uwtable
declare dso_local i8 @_ZN9type_safe5types8literalsli3_u8IJLc50ELc48ELc48EEEENS_7integerIhNS_29undefined_behavior_arithmeticEEEv() #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEaNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEdEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEfEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN9type_safe5types8literalsli4_u32IJLc51ELc50ELc53EEEENS_7integerIjNS_29undefined_behavior_arithmeticEEEv() #0

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN9type_safe5types8literalsli4_u32IJLc49ELc48ELc48EEEENS_7integerIjNS_29undefined_behavior_arithmeticEEEv() #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local i8 @_ZN9type_safe11narrow_castINS_7integerIhNS_29undefined_behavior_arithmeticEEEjS2_EENS_6detail18get_target_integerIT_T1_E4typeERKNS1_IT0_S7_EE(ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEhNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) #0

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local float @_ZN9type_safe11narrow_castINS_14floating_pointIfEEdEENS_6detail25get_target_floating_pointIT_E4typeERKNS1_IT0_EE(ptr noundef nonnull align 8 dereferenceable(8)) #5

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


; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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::locale" = type { ptr }
%"class.type_safe::boolean" = type { i8 }
%"class.type_safe::integer.0" = type { i32 }
%"class.type_safe::integer" = type { i32 }
%"class.type_safe::integer.1" = type { i64 }
%"class.type_safe::integer.2" = type { i8 }
%"class.type_safe::integer.3" = type { i8 }
%"class.type_safe::floating_point" = type { float }
%"class.type_safe::floating_point.4" = type { double }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@__const.main.b1 = external hidden unnamed_addr constant %"class.type_safe::boolean", align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13only_unsignedN9type_safe7integerIjNS_29undefined_behavior_arithmeticEEE(i32) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; 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 #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca %"class.type_safe::boolean", align 1
  %2 = alloca %"class.type_safe::boolean", align 1
  %3 = alloca %"class.type_safe::integer.0", align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.type_safe::integer", align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.type_safe::integer.1", align 8
  %9 = alloca i64, align 8
  %10 = alloca %"class.type_safe::integer.2", align 1
  %11 = alloca %"class.type_safe::integer", align 4
  %12 = alloca %"class.type_safe::integer", align 4
  %13 = alloca %"class.type_safe::integer", align 4
  %14 = alloca %"class.type_safe::integer.0", align 4
  %15 = alloca %"class.type_safe::integer.3", align 1
  %16 = alloca %"class.type_safe::integer.2", align 1
  %17 = alloca %"class.type_safe::integer.2", align 1
  %18 = alloca %"class.type_safe::floating_point", align 4
  %19 = alloca float, align 4
  %20 = alloca %"class.type_safe::floating_point.4", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.type_safe::floating_point.4", align 8
  %23 = alloca float, align 4
  %24 = alloca %"class.type_safe::integer", align 4
  %25 = alloca %"class.type_safe::integer.2", align 1
  %26 = alloca %"class.type_safe::floating_point.4", align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca %"class.type_safe::floating_point", align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %1) #6
  %30 = load i8, ptr @__const.main.b1, align 1
  store i8 %30, ptr %1, align 1
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEEERSt13basic_ostreamIT_T0_ES7_RKNS_7booleanE(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 1 dereferenceable(1) %1)
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %32, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #6
  %34 = call i8 @_ZNK9type_safe7booleanntEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #6
  store i8 %34, ptr %2, align 1
  %35 = call noundef zeroext i1 @_ZNK9type_safe7booleancvbEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #6
  %.str.2..str.3 = select i1 %35, ptr @.str.2, ptr @.str.3
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %.str.2..str.3)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @_ZN9type_safe7integerIiNS_29undefined_behavior_arithmeticEEC2IivEERKT_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @_ZN9type_safe7integerIjNS_29undefined_behavior_arithmeticEEC2IjvEERKT_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEiNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %38, i8 noundef signext 32)
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %40, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 4, ptr %7, align 4, !tbaa !5
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN9type_safe7integerIiNS_29undefined_behavior_arithmeticEEpLIivEERS2_RKT_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  store i64 100, ptr %9, align 8, !tbaa !9
  %43 = call i64 @_ZN9type_safeplIiNS_29undefined_behavior_arithmeticExEENS_7integerINS_6detail19integer_result_typeIT_T1_E4typeET0_EERKNS2_IS5_S9_EERKS6_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 8 dereferenceable(8) %9)
  store i64 %43, ptr %8, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcExNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %44, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  %46 = call i8 @_ZN9type_safe5types8literalsli3_u8IJLc50ELc53ELc53EEEENS_7integerIhNS_29undefined_behavior_arithmeticEEEv()
  store i8 %46, ptr %10, align 1
  call void @_ZN9type_safe7integerIjNS_29undefined_behavior_arithmeticEEC2IhvEERKNS0_IT_S1_EE(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(1) %10)
  %47 = load i32, ptr %11, align 4
  call void @_Z13only_unsignedN9type_safe7integerIjNS_29undefined_behavior_arithmeticEEE(i32 %47)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  %48 = call i32 @_ZN9type_safe13make_unsignedIiNS_29undefined_behavior_arithmeticEEENS_6detail13make_unsignedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 4 dereferenceable(4) %3)
  store i32 %48, ptr %12, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  %49 = call i32 @_ZNK9type_safe7integerIiNS_29undefined_behavior_arithmeticEEngEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  store i32 %49, ptr %14, align 4
  %50 = call i32 @_ZN9type_safe3absIiNS_29undefined_behavior_arithmeticEvEENS_6detail13make_unsignedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 4 dereferenceable(4) %14)
  store i32 %50, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %51, i8 noundef signext 32)
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %53, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  %55 = call i8 @_ZN9type_safe5types8literalsli3_u8IJLc50ELc48ELc48EEEENS_7integerIhNS_29undefined_behavior_arithmeticEEEv()
  store i8 %55, ptr %17, align 1
  %56 = call i8 @_ZN9type_safemiIhhNS_29undefined_behavior_arithmeticEEENS_7integerINS_6detail19integer_result_typeIT_T0_E4typeET1_EERKNS2_IS5_S9_EERKNS2_IS6_S9_EE(ptr noundef nonnull align 1 dereferenceable(1) %10, ptr noundef nonnull align 1 dereferenceable(1) %17)
  store i8 %56, ptr %16, align 1
  %57 = call i8 @_ZN9type_safe11make_signedIhNS_29undefined_behavior_arithmeticEEENS_6detail11make_signedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 1 dereferenceable(1) %16)
  store i8 %57, ptr %15, align 1
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEaNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 1 dereferenceable(1) %15)
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %58, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  store float 0.000000e+00, ptr %19, align 4, !tbaa !11
  call void @_ZN9type_safe14floating_pointIfEC2IfvEERKT_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  store double 0.000000e+00, ptr %21, align 8, !tbaa !13
  call void @_ZN9type_safe14floating_pointIdEC2IdvEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  store float 0.000000e+00, ptr %23, align 4, !tbaa !11
  call void @_ZN9type_safe14floating_pointIdEC2IfvEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(4) %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEfEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %61, i8 noundef signext 32)
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEdEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %63, i8 noundef signext 32)
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEdEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %65, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #6
  %67 = call i32 @_ZN9type_safe5types8literalsli4_u32IJLc51ELc50ELc53EEEENS_7integerIjNS_29undefined_behavior_arithmeticEEEv()
  %68 = call i32 @_ZN9type_safe5types8literalsli4_u32IJLc49ELc48ELc48EEEENS_7integerIjNS_29undefined_behavior_arithmeticEEEv()
  store i32 %68, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #6
  %69 = call i8 @_ZN9type_safe11narrow_castINS_7integerIhNS_29undefined_behavior_arithmeticEEEjS2_EENS_6detail18get_target_integerIT_T1_E4typeERKNS1_IT0_S7_EE(ptr noundef nonnull align 4 dereferenceable(4) %24) #6
  store i8 %69, ptr %25, align 1
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEjNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %70, i8 noundef signext 32)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEhNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 1 dereferenceable(1) %25)
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %72, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  store double 1.000000e-01, ptr %27, align 8, !tbaa !13
  call void @_ZN9type_safe14floating_pointIdEC2IdvEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #6
  store double 5.000000e-01, ptr %28, align 8, !tbaa !13
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safe14floating_pointIdEaSIdvEERS1_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  %75 = call float @_ZN9type_safe11narrow_castINS_14floating_pointIfEEdEENS_6detail25get_target_floating_pointIT_E4typeERKNS1_IT0_EE(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  store float %75, ptr %29, align 4
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEdEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %76, i8 noundef signext 32)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEfEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 4 dereferenceable(4) %29)
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %78, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %1) #6
  ret i32 0
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEEERSt13basic_ostreamIT_T0_ES7_RKNS_7booleanE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local i8 @_ZNK9type_safe7booleanntEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9type_safe7booleancvbEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEiNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN9type_safe7integerIiNS_29undefined_behavior_arithmeticEEpLIivEERS2_RKT_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i64 @_ZN9type_safeplIiNS_29undefined_behavior_arithmeticExEENS_7integerINS_6detail19integer_result_typeIT_T1_E4typeET0_EERKNS2_IS5_S9_EERKS6_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcExNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local i8 @_ZN9type_safe5types8literalsli3_u8IJLc50ELc53ELc53EEEENS_7integerIhNS_29undefined_behavior_arithmeticEEEv() local_unnamed_addr #0

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i32 @_ZN9type_safe13make_unsignedIiNS_29undefined_behavior_arithmeticEEENS_6detail13make_unsignedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i32 @_ZN9type_safe3absIiNS_29undefined_behavior_arithmeticEvEENS_6detail13make_unsignedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i32 @_ZNK9type_safe7integerIiNS_29undefined_behavior_arithmeticEEngEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i8 @_ZN9type_safe11make_signedIhNS_29undefined_behavior_arithmeticEEENS_6detail11make_signedINS_7integerIT_T0_EEE4typeERKS7_(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local i8 @_ZN9type_safemiIhhNS_29undefined_behavior_arithmeticEEENS_7integerINS_6detail19integer_result_typeIT_T0_E4typeET1_EERKNS2_IS5_S9_EERKNS2_IS6_S9_EE(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local i8 @_ZN9type_safe5types8literalsli3_u8IJLc50ELc48ELc48EEEENS_7integerIhNS_29undefined_behavior_arithmeticEEEv() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEaNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEdEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEfEERSt13basic_ostreamIT_T0_ES7_RKNS_14floating_pointIT1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN9type_safe5types8literalsli4_u32IJLc51ELc50ELc53EEEENS_7integerIjNS_29undefined_behavior_arithmeticEEEv() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN9type_safe5types8literalsli4_u32IJLc49ELc48ELc48EEEENS_7integerIjNS_29undefined_behavior_arithmeticEEEv() local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local i8 @_ZN9type_safe11narrow_castINS_7integerIhNS_29undefined_behavior_arithmeticEEEjS2_EENS_6detail18get_target_integerIT_T1_E4typeERKNS1_IT0_S7_EE(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9type_safelsIcSt11char_traitsIcEhNS_29undefined_behavior_arithmeticEEERSt13basic_ostreamIT_T0_ES8_RKNS_7integerIT1_T2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local float @_ZN9type_safe11narrow_castINS_14floating_pointIfEEdEENS_6detail25get_target_floating_pointIT_E4typeERKNS1_IT0_EE(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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


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