; LLVM IR from ros2/rcutils :: src (logging)

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

%struct.rcutils_allocator_s = type { ptr, ptr, ptr, ptr, ptr }
%struct.rcutils_error_string_s = type { [1024 x i8] }

@g_rcutils_logging_initialized = external dso_local global i8, align 1
@.str.7 = external hidden unnamed_addr constant [60 x i8], align 1
@g_rcutils_logging_allocator = external hidden global %struct.rcutils_allocator_s, align 8
@g_rcutils_logging_default_logger_level = external hidden global i32, align 4
@.str.10 = external hidden unnamed_addr constant [54 x i8], align 1
@stderr = external global ptr, align 8
@g_rcutils_logging_severities_map_valid = external hidden global i8, align 1
@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @rcutils_logging_initialize_with_allocator(ptr noundef byval(%struct.rcutils_allocator_s) align 8) #0

declare void @rcutils_get_default_allocator(ptr dead_on_unwind writable sret(%struct.rcutils_allocator_s) align 8) #1

declare void @rcutils_set_error_state(ptr noundef, ptr noundef, i64 noundef) #1

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

declare i32 @rcutils_snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #1

declare i64 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1

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

declare void @rcutils_reset_error() #1

declare void @rcutils_get_error_string(ptr dead_on_unwind writable sret(%struct.rcutils_error_string_s) align 1) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @rcutils_logging_get_logger_leveln(ptr noundef %0, i64 noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %struct.rcutils_allocator_s, align 8
  %7 = alloca %struct.rcutils_error_string_s, align 1
  %8 = alloca %struct.rcutils_error_string_s, align 1
  %9 = alloca ptr, align 8
  %10 = alloca [1024 x i8], align 16
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  br label %15

15:                                               ; preds = %2
  %16 = load i8, ptr @g_rcutils_logging_initialized, align 1, !tbaa !11, !range !13, !noundef !14
  %17 = trunc i8 %16 to i1
  %18 = xor i1 %17, true
  %19 = zext i1 %18 to i32
  %20 = sext i32 %19 to i64
  %21 = call i64 @llvm.expect.i64(i64 %20, i64 0)
  %22 = icmp ne i64 %21, 0
  br i1 %22, label %23, label %45

23:                                               ; preds = %15
  call void @rcutils_get_default_allocator(ptr dead_on_unwind writable sret(%struct.rcutils_allocator_s) align 8 %6)
  %24 = call i32 @rcutils_logging_initialize_with_allocator(ptr noundef byval(%struct.rcutils_allocator_s) align 8 %6)
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %44

26:                                               ; preds = %23
  br label %27

27:                                               ; preds = %26
  %28 = load ptr, ptr @stderr, align 8, !tbaa !5
  %29 = call i64 @fwrite(ptr noundef @.str.39, i64 noundef 1, i64 noundef 102, ptr noundef %28)
  br label %30

30:                                               ; preds = %27
  br label %31

31:                                               ; preds = %30
  call void @rcutils_get_error_string(ptr dead_on_unwind writable sret(%struct.rcutils_error_string_s) align 1 %7)
  %32 = getelementptr inbounds %struct.rcutils_error_string_s, ptr %7, i32 0, i32 0
  %33 = getelementptr inbounds [1024 x i8], ptr %32, i64 0, i64 0
  call void @rcutils_get_error_string(ptr dead_on_unwind writable sret(%struct.rcutils_error_string_s) align 1 %8)
  %34 = getelementptr inbounds %struct.rcutils_error_string_s, ptr %8, i32 0, i32 0
  %35 = getelementptr inbounds [1024 x i8], ptr %34, i64 0, i64 0
  %36 = call i64 @strlen(ptr noundef %35) #5
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = call i64 @fwrite(ptr noundef %33, i64 noundef 1, i64 noundef %36, ptr noundef %37)
  br label %39

39:                                               ; preds = %31
  br label %40

40:                                               ; preds = %39
  %41 = load ptr, ptr @stderr, align 8, !tbaa !5
  %42 = call i64 @fwrite(ptr noundef @.str.34, i64 noundef 1, i64 noundef 1, ptr noundef %41)
  br label %43

43:                                               ; preds = %40
  call void @rcutils_reset_error()
  br label %44

44:                                               ; preds = %43, %23
  br label %45

45:                                               ; preds = %44, %15
  br label %46

46:                                               ; preds = %45
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = icmp eq ptr null, %47
  br i1 %48, label %49, label %50

49:                                               ; preds = %46
  store i32 -1, ptr %3, align 4
  br label %99

50:                                               ; preds = %46
  %51 = load i64, ptr %5, align 8, !tbaa !9
  %52 = icmp eq i64 0, %51
  br i1 %52, label %53, label %55

53:                                               ; preds = %50
  %54 = load i32, ptr @g_rcutils_logging_default_logger_level, align 4, !tbaa !15
  store i32 %54, ptr %3, align 4
  br label %99

55:                                               ; preds = %50
  %56 = load i8, ptr @g_rcutils_logging_severities_map_valid, align 1, !tbaa !11, !range !13, !noundef !14
  %57 = trunc i8 %56 to i1
  br i1 %57, label %59, label %58

58:                                               ; preds = %55
  store i32 0, ptr %3, align 4
  br label %99

59:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = load i64, ptr %5, align 8, !tbaa !9
  %62 = call ptr @rcutils_strndup(ptr noundef %60, i64 noundef %61, ptr noundef byval(%struct.rcutils_allocator_s) align 8 @g_rcutils_logging_allocator)
  store ptr %62, ptr %9, align 8, !tbaa !5
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = icmp eq ptr %63, null
  br i1 %64, label %65, label %86

65:                                               ; preds = %59
  br label %66

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 1024, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %67 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = call i32 (ptr, i64, ptr, ...) @rcutils_snprintf(ptr noundef %67, i64 noundef 1024, ptr noundef @.str.40, ptr noundef %68)
  store i32 %69, ptr %11, align 4, !tbaa !15
  %70 = load i32, ptr %11, align 4, !tbaa !15
  %71 = icmp slt i32 %70, 0
  br i1 %71, label %72, label %78

72:                                               ; preds = %66
  br label %73

73:                                               ; preds = %72
  %74 = load ptr, ptr @stderr, align 8, !tbaa !5
  %75 = call i64 @fwrite(ptr noundef @.str.10, i64 noundef 1, i64 noundef 53, ptr noundef %74)
  br label %76

76:                                               ; preds = %73
  br label %77

77:                                               ; preds = %76
  br label %83

78:                                               ; preds = %66
  br label %79

79:                                               ; preds = %78
  %80 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
  call void @rcutils_set_error_state(ptr noundef %80, ptr noundef @.str.7, i64 noundef 960)
  br label %81

81:                                               ; preds = %79
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %10) #6
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %98

86:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = call i32 @get_severity_level(ptr noundef %87, ptr noundef %13)
  store i32 %88, ptr %14, align 4, !tbaa !15
  %89 = load ptr, ptr getelementptr inbounds (%struct.rcutils_allocator_s, ptr @g_rcutils_logging_allocator, i32 0, i32 1), align 8, !tbaa !17
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = load ptr, ptr getelementptr inbounds (%struct.rcutils_allocator_s, ptr @g_rcutils_logging_allocator, i32 0, i32 4), align 8, !tbaa !19
  call void %89(ptr noundef %90, ptr noundef %91)
  %92 = load i32, ptr %14, align 4, !tbaa !15
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %86
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %97

95:                                               ; preds = %86
  %96 = load i32, ptr %13, align 4, !tbaa !15
  store i32 %96, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %97

97:                                               ; preds = %95, %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %98

98:                                               ; preds = %97, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %99

99:                                               ; preds = %98, %58, %53, %49
  %100 = load i32, ptr %3, align 4
  ret i32 %100
}

declare ptr @rcutils_strndup(ptr noundef, i64 noundef, ptr noundef byval(%struct.rcutils_allocator_s) align 8) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @get_severity_level(ptr noundef, ptr noundef) #0

attributes #0 = { 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 #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #4 = { nounwind willreturn memory(read) "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 willreturn memory(read) }
attributes #6 = { nounwind }

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

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


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

%struct.rcutils_allocator_s = type { ptr, ptr, ptr, ptr, ptr }
%struct.rcutils_error_string_s = type { [1024 x i8] }

@g_rcutils_logging_initialized = external dso_local local_unnamed_addr global i8, align 1
@.str.7 = external hidden unnamed_addr constant [60 x i8], align 1
@g_rcutils_logging_allocator = external hidden global %struct.rcutils_allocator_s, align 8
@g_rcutils_logging_default_logger_level = external hidden local_unnamed_addr global i32, align 4
@.str.10 = external hidden unnamed_addr constant [54 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@g_rcutils_logging_severities_map_valid = external hidden local_unnamed_addr global i8, align 1
@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @rcutils_logging_initialize_with_allocator(ptr noundef byval(%struct.rcutils_allocator_s) align 8) local_unnamed_addr #0

declare void @rcutils_get_default_allocator(ptr dead_on_unwind writable sret(%struct.rcutils_allocator_s) align 8) local_unnamed_addr #1

declare void @rcutils_set_error_state(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

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

declare i32 @rcutils_snprintf(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3

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

declare void @rcutils_reset_error() local_unnamed_addr #1

declare void @rcutils_get_error_string(ptr dead_on_unwind writable sret(%struct.rcutils_error_string_s) align 1) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local i32 @rcutils_logging_get_logger_leveln(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
  %3 = alloca %struct.rcutils_allocator_s, align 8
  %4 = alloca %struct.rcutils_error_string_s, align 1
  %5 = alloca %struct.rcutils_error_string_s, align 1
  %6 = alloca [1024 x i8], align 16
  %7 = alloca i32, align 4
  %8 = load i8, ptr @g_rcutils_logging_initialized, align 1, !tbaa !5, !range !9, !noundef !10
  %9 = trunc nuw i8 %8 to i1
  br i1 %9, label %19, label %10, !prof !11

10:                                               ; preds = %2
  call void @rcutils_get_default_allocator(ptr dead_on_unwind nonnull writable sret(%struct.rcutils_allocator_s) align 8 %3) #6
  %11 = call i32 @rcutils_logging_initialize_with_allocator(ptr noundef nonnull byval(%struct.rcutils_allocator_s) align 8 %3)
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %19, label %12

12:                                               ; preds = %10
  %13 = load ptr, ptr @stderr, align 8, !tbaa !12
  %14 = call i64 @fwrite(ptr noundef nonnull @.str.39, i64 noundef 1, i64 noundef 102, ptr noundef %13) #7
  call void @rcutils_get_error_string(ptr dead_on_unwind nonnull writable sret(%struct.rcutils_error_string_s) align 1 %4) #6
  call void @rcutils_get_error_string(ptr dead_on_unwind nonnull writable sret(%struct.rcutils_error_string_s) align 1 %5) #6
  %15 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %5) #8
  %16 = load ptr, ptr @stderr, align 8, !tbaa !12
  %17 = call i64 @fwrite(ptr noundef nonnull %4, i64 noundef 1, i64 noundef %15, ptr noundef %16) #7
  %18 = load ptr, ptr @stderr, align 8, !tbaa !12
  %char = load i8, ptr @.str.34, align 1
  %chari = sext i8 %char to i32
  %fputc = call i32 @fputc(i32 %chari, ptr %18)
  call void @rcutils_reset_error() #6
  br label %19

19:                                               ; preds = %2, %12, %10
  %20 = icmp eq ptr %0, null
  br i1 %20, label %44, label %21

21:                                               ; preds = %19
  %22 = icmp eq i64 %1, 0
  br i1 %22, label %23, label %25

23:                                               ; preds = %21
  %24 = load i32, ptr @g_rcutils_logging_default_logger_level, align 4, !tbaa !14
  br label %44

25:                                               ; preds = %21
  %26 = load i8, ptr @g_rcutils_logging_severities_map_valid, align 1, !tbaa !5, !range !9, !noundef !10
  %27 = trunc nuw i8 %26 to i1
  br i1 %27, label %28, label %44

28:                                               ; preds = %25
  %29 = call ptr @rcutils_strndup(ptr noundef nonnull %0, i64 noundef %1, ptr noundef nonnull byval(%struct.rcutils_allocator_s) align 8 @g_rcutils_logging_allocator) #6
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %39

31:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #6
  %32 = call i32 (ptr, i64, ptr, ...) @rcutils_snprintf(ptr noundef nonnull %6, i64 noundef 1024, ptr noundef nonnull @.str.40, ptr noundef nonnull %0) #6
  %33 = icmp slt i32 %32, 0
  br i1 %33, label %34, label %37

34:                                               ; preds = %31
  %35 = load ptr, ptr @stderr, align 8, !tbaa !12
  %36 = call i64 @fwrite(ptr noundef nonnull @.str.10, i64 noundef 1, i64 noundef 53, ptr noundef %35) #7
  br label %38

37:                                               ; preds = %31
  call void @rcutils_set_error_state(ptr noundef nonnull %6, ptr noundef nonnull @.str.7, i64 noundef 960) #6
  br label %38

38:                                               ; preds = %37, %34
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #6
  br label %44

39:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %40 = call i32 @get_severity_level(ptr noundef nonnull %29, ptr noundef nonnull %7)
  %41 = load ptr, ptr getelementptr inbounds (i8, ptr @g_rcutils_logging_allocator, i64 8), align 8, !tbaa !16
  %42 = load ptr, ptr getelementptr inbounds (i8, ptr @g_rcutils_logging_allocator, i64 32), align 8, !tbaa !18
  call void %41(ptr noundef nonnull %29, ptr noundef %42) #6
  %.not13 = icmp eq i32 %40, 0
  %43 = load i32, ptr %7, align 4
  %.0 = select i1 %.not13, i32 %43, i32 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %44

44:                                               ; preds = %38, %39, %25, %19, %23
  %.2 = phi i32 [ %24, %23 ], [ -1, %19 ], [ 0, %25 ], [ -1, %38 ], [ %.0, %39 ]
  ret i32 %.2
}

declare ptr @rcutils_strndup(ptr noundef, i64 noundef, ptr noundef byval(%struct.rcutils_allocator_s) align 8) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @get_severity_level(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #5

attributes #0 = { 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 #1 = { "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nofree nounwind }
attributes #6 = { nounwind }
attributes #7 = { cold }
attributes #8 = { nounwind willreturn memory(read) }

!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 = !{!"_Bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !13, i64 8}
!17 = !{!"rcutils_allocator_s", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!18 = !{!17, !13, i64 32}


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