; LLVM IR from QAQdev/mini-sql-engine :: thirdparty/googletest/test (gtest_environment_test)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.4 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [91 x i8], align 1
@_ZN12_GLOBAL__N_112test_was_runE = external hidden global i8, align 1
@.str.6 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZN7testing18FLAGS_gtest_filterB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.13 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %9 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN7testing14InitGoogleTestEPiPPc(ptr noundef %4, ptr noundef %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %10 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #9
  invoke void @_ZN12_GLOBAL__N_113MyEnvironmentC2Ev(ptr noundef nonnull align 8 dereferenceable(14) %10)
          to label %11 unwind label %49

11:                                               ; preds = %2
  store ptr %10, ptr %6, align 8, !tbaa !9
  %12 = load ptr, ptr %6, align 8, !tbaa !9
  %13 = call noundef ptr @_ZN7testing24AddGlobalTestEnvironmentEPNS_11EnvironmentE(ptr noundef %12)
  %14 = load ptr, ptr %6, align 8, !tbaa !9
  %15 = icmp eq ptr %13, %14
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %15, ptr noundef @.str.4)
  %16 = load ptr, ptr %6, align 8, !tbaa !9
  %17 = call noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef %16, i32 noundef 0)
  %18 = icmp ne i32 %17, 0
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %18, ptr noundef @.str.5)
  %19 = load i8, ptr @_ZN12_GLOBAL__N_112test_was_runE, align 1, !tbaa !11, !range !13, !noundef !14
  %20 = trunc i8 %19 to i1
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %20, ptr noundef @.str.6)
  %21 = load ptr, ptr %6, align 8, !tbaa !9
  %22 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %21)
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %22, ptr noundef @.str.7)
  %23 = load ptr, ptr %6, align 8, !tbaa !9
  %24 = call noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef %23, i32 noundef 1)
  %25 = icmp ne i32 %24, 0
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %25, ptr noundef @.str.8)
  %26 = load i8, ptr @_ZN12_GLOBAL__N_112test_was_runE, align 1, !tbaa !11, !range !13, !noundef !14
  %27 = trunc i8 %26 to i1
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %27, ptr noundef @.str.9)
  %28 = load ptr, ptr %6, align 8, !tbaa !9
  %29 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %28)
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %29, ptr noundef @.str.7)
  %30 = load ptr, ptr %6, align 8, !tbaa !9
  %31 = call noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef %30, i32 noundef 2)
  %32 = icmp ne i32 %31, 0
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %32, ptr noundef @.str.10)
  %33 = load i8, ptr @_ZN12_GLOBAL__N_112test_was_runE, align 1, !tbaa !11, !range !13, !noundef !14
  %34 = trunc i8 %33 to i1
  %35 = xor i1 %34, true
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %35, ptr noundef @.str.11)
  %36 = load ptr, ptr %6, align 8, !tbaa !9
  %37 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %36)
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %37, ptr noundef @.str.7)
  %38 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) @_ZN7testing18FLAGS_gtest_filterB5cxx11E, ptr noundef @.str.12)
  %39 = load ptr, ptr %6, align 8, !tbaa !9
  %40 = call noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef %39, i32 noundef 0)
  %41 = icmp eq i32 %40, 0
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %41, ptr noundef @.str.13)
  %42 = load ptr, ptr %6, align 8, !tbaa !9
  %43 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment14set_up_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %42)
  %44 = xor i1 %43, true
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %44, ptr noundef @.str.14)
  %45 = load ptr, ptr %6, align 8, !tbaa !9
  %46 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %45)
  %47 = xor i1 %46, true
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %47, ptr noundef @.str.15)
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  ret i32 0

49:                                               ; preds = %2
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %7, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %10, i64 noundef 16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %53

53:                                               ; preds = %49
  %54 = load ptr, ptr %7, align 8
  %55 = load i32, ptr %8, align 4
  %56 = insertvalue { ptr, i32 } poison, ptr %54, 0
  %57 = insertvalue { ptr, i32 } %56, i32 %55, 1
  resume { ptr, i32 } %57
}

declare void @_ZN7testing14InitGoogleTestEPiPPc(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113MyEnvironmentC2Ev(ptr noundef nonnull align 8 dereferenceable(14)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext, ptr noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7testing24AddGlobalTestEnvironmentEPNS_11EnvironmentE(ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef, i32 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14)) #7 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment14set_up_was_runEv(ptr noundef nonnull align 8 dereferenceable(14)) #7 align 2

declare i32 @printf(ptr noundef, ...) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { "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 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

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


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.4 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [91 x i8], align 1
@_ZN12_GLOBAL__N_112test_was_runE = external hidden local_unnamed_addr global i8, align 1
@.str.6 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZN7testing18FLAGS_gtest_filterB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str.13 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  call void @_ZN7testing14InitGoogleTestEPiPPc(ptr noundef nonnull %3, ptr noundef %1)
  %4 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #8
  invoke void @_ZN12_GLOBAL__N_113MyEnvironmentC2Ev(ptr noundef nonnull align 8 dereferenceable(14) %4)
          to label %5 unwind label %32

5:                                                ; preds = %2
  %6 = call noundef ptr @_ZN7testing24AddGlobalTestEnvironmentEPNS_11EnvironmentE(ptr noundef nonnull %4)
  %7 = icmp eq ptr %6, %4
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %7, ptr noundef nonnull @.str.4)
  %8 = call noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef nonnull %4, i32 noundef 0)
  %9 = icmp ne i32 %8, 0
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %9, ptr noundef nonnull @.str.5)
  %10 = load i8, ptr @_ZN12_GLOBAL__N_112test_was_runE, align 1, !tbaa !9, !range !11, !noundef !12
  %11 = trunc nuw i8 %10 to i1
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %11, ptr noundef nonnull @.str.6)
  %12 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %4)
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %12, ptr noundef nonnull @.str.7)
  %13 = call noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef nonnull %4, i32 noundef 1)
  %14 = icmp ne i32 %13, 0
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %14, ptr noundef nonnull @.str.8)
  %15 = load i8, ptr @_ZN12_GLOBAL__N_112test_was_runE, align 1, !tbaa !9, !range !11, !noundef !12
  %16 = trunc nuw i8 %15 to i1
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %16, ptr noundef nonnull @.str.9)
  %17 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %4)
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %17, ptr noundef nonnull @.str.7)
  %18 = call noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef nonnull %4, i32 noundef 2)
  %19 = icmp ne i32 %18, 0
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %19, ptr noundef nonnull @.str.10)
  %20 = load i8, ptr @_ZN12_GLOBAL__N_112test_was_runE, align 1, !tbaa !9, !range !11, !noundef !12
  %21 = trunc nuw i8 %20 to i1
  %22 = xor i1 %21, true
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %22, ptr noundef nonnull @.str.11)
  %23 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %4)
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %23, ptr noundef nonnull @.str.7)
  %24 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) @_ZN7testing18FLAGS_gtest_filterB5cxx11E, ptr noundef nonnull @.str.12)
  %25 = call noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef nonnull %4, i32 noundef 0)
  %26 = icmp eq i32 %25, 0
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %26, ptr noundef nonnull @.str.13)
  %27 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment14set_up_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %4)
  %28 = xor i1 %27, true
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %28, ptr noundef nonnull @.str.14)
  %29 = call noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14) %4)
  %30 = xor i1 %29, true
  call void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext %30, ptr noundef nonnull @.str.15)
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  ret i32 0

32:                                               ; preds = %2
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %4, i64 noundef 16) #9
  resume { ptr, i32 } %33
}

declare void @_ZN7testing14InitGoogleTestEPiPPc(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_113MyEnvironmentC2Ev(ptr noundef nonnull align 8 dereferenceable(14)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_15CheckEbPKc(i1 noundef zeroext, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN7testing24AddGlobalTestEnvironmentEPNS_11EnvironmentE(ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN12_GLOBAL__N_111RunAllTestsEPNS_13MyEnvironmentENS_11FailureTypeE(ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment17tear_down_was_runEv(ptr noundef nonnull align 8 dereferenceable(14)) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK12_GLOBAL__N_113MyEnvironment14set_up_was_runEv(ptr noundef nonnull align 8 dereferenceable(14)) local_unnamed_addr #6 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #7

attributes #0 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { "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 = { 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 #5 = { 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 #6 = { 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 #7 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin nounwind }

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

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


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