IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/extr_gid.c_mlx5_core_unreserve_gids.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/extr_gid.c_mlx5_core_unreserve_gids.c"
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.mlx5_core_dev = type { %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32, i32 }
@MLX5_INTERFACE_STATE_UP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"Unreserving GIDs when interfaces are up\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Unreserving %u GIDs when only %u reserved\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"%u GIDs starting at %u left reserved\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @mlx5_core_unreserve_gids(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MLX5_INTERFACE_STATE_UP, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.mlx5_core_dev, ptr %0, i64 0, i32 1
%5 = tail call i32 @test_bit(i32 noundef %3, ptr noundef nonnull %4) #2
%6 = tail call i32 (i32, ptr, ...) @WARN(i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = load i32, ptr %0, align 4, !tbaa !9
%8 = icmp ult i32 %7, %1
%9 = zext i1 %8 to i32
%10 = tail call i32 (i32, ptr, ...) @WARN(i32 noundef %9, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %7) #2
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = add i32 %12, %1
store i32 %13, ptr %11, align 4, !tbaa !13
%14 = load i32, ptr %0, align 4, !tbaa !9
%15 = sub i32 %14, %1
store i32 %15, ptr %0, align 4, !tbaa !9
%16 = tail call i32 @mlx5_core_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %15, i32 noundef %13) #2
ret void
}
declare i32 @WARN(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_core_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"mlx5_core_dev", !11, i64 0, !6, i64 8}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!13 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/extr_gid.c_mlx5_core_unreserve_gids.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/extr_gid.c_mlx5_core_unreserve_gids.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MLX5_INTERFACE_STATE_UP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"Unreserving GIDs when interfaces are up\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Unreserving %u GIDs when only %u reserved\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"%u GIDs starting at %u left reserved\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @mlx5_core_unreserve_gids(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MLX5_INTERFACE_STATE_UP, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = tail call i32 @test_bit(i32 noundef %3, ptr noundef nonnull %4) #2
%6 = tail call i32 (i32, ptr, ...) @WARN(i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = load i32, ptr %0, align 4, !tbaa !10
%8 = icmp ult i32 %7, %1
%9 = zext i1 %8 to i32
%10 = tail call i32 (i32, ptr, ...) @WARN(i32 noundef %9, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %7) #2
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = add i32 %12, %1
store i32 %13, ptr %11, align 4, !tbaa !14
%14 = load i32, ptr %0, align 4, !tbaa !10
%15 = sub i32 %14, %1
store i32 %15, ptr %0, align 4, !tbaa !10
%16 = tail call i32 @mlx5_core_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %15, i32 noundef %13) #2
ret void
}
declare i32 @WARN(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_core_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"mlx5_core_dev", !12, i64 0, !7, i64 8}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!14 = !{!11, !7, i64 4}
| linux_drivers_net_ethernet_mellanox_mlx5_core_lib_extr_gid.c_mlx5_core_unreserve_gids |
; ModuleID = 'AnghaBench/RetroArch/extr_retroarch.c_path_set_redirect.c'
source_filename = "AnghaBench/RetroArch/extr_retroarch.c_path_set_redirect.c"
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.TYPE_11__ = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { ptr, ptr, ptr }
%struct.TYPE_12__ = type { %struct.retro_system_info }
%struct.retro_system_info = type { ptr }
%struct.TYPE_8__ = type { i64, i64, i64, i64 }
@PATH_MAX_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@g_extern = dso_local local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8
@RARCH_DIR_SAVEFILE = dso_local local_unnamed_addr global i32 0, align 4
@RARCH_DIR_SAVESTATE = dso_local local_unnamed_addr global i32 0, align 4
@runloop_system = dso_local local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 8
@configuration_settings = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1
@MSG_REVERTING_SAVEFILE_DIRECTORY_TO = dso_local local_unnamed_addr global i32 0, align 4
@MSG_REVERTING_SAVESTATE_DIRECTORY_TO = dso_local local_unnamed_addr global i32 0, align 4
@path_main_basename = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c".srm\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%s \22%s\22.\0A\00", align 1
@MSG_REDIRECTING_SAVEFILE_TO = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c".state\00", align 1
@MSG_REDIRECTING_SAVESTATE_TO = dso_local local_unnamed_addr global i32 0, align 4
@MSG_REDIRECTING_CHEATFILE_TO = dso_local local_unnamed_addr global i32 0, align 4
@RARCH_DIR_CURRENT_SAVEFILE = dso_local local_unnamed_addr global i32 0, align 4
@RARCH_DIR_CURRENT_SAVESTATE = dso_local local_unnamed_addr global i32 0, align 4
@MENU_ENUM_LABEL_VALUE_NO_CORE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @path_set_redirect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @path_set_redirect() #0 {
%1 = load i32, ptr @PATH_MAX_LENGTH, align 4, !tbaa !5
%2 = sext i32 %1 to i64
%3 = tail call i64 @malloc(i32 noundef %1) #2
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr @PATH_MAX_LENGTH, align 4, !tbaa !5
%6 = tail call i64 @malloc(i32 noundef %5) #2
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr @RARCH_DIR_SAVEFILE, align 4, !tbaa !5
%9 = tail call ptr @dir_get(i32 noundef %8) #2
%10 = load i32, ptr @RARCH_DIR_SAVESTATE, align 4, !tbaa !5
%11 = tail call ptr @dir_get(i32 noundef %10) #2
%12 = load ptr, ptr @configuration_settings, align 8, !tbaa !9
store i8 0, ptr %7, align 1, !tbaa !11
store i8 0, ptr %4, align 1, !tbaa !11
%13 = tail call i32 @strlcpy(ptr noundef nonnull %4, ptr noundef %9, i32 noundef %1) #2
%14 = tail call i32 @strlcpy(ptr noundef nonnull %7, ptr noundef %11, i32 noundef %1) #2
%15 = load ptr, ptr @runloop_system, align 8, !tbaa !12
%16 = tail call i64 @string_is_empty(ptr noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %58
18: ; preds = %0
%19 = getelementptr inbounds %struct.TYPE_8__, ptr %12, i64 0, i32 3
%20 = load i64, ptr %19, align 8, !tbaa !14
%21 = icmp eq i64 %20, 0
br i1 %21, label %38, label %22
22: ; preds = %18
%23 = tail call i64 @string_is_empty(ptr noundef %9) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %38
25: ; preds = %22
%26 = load ptr, ptr @runloop_system, align 8, !tbaa !12
%27 = tail call i32 @fill_pathname_join(ptr noundef nonnull %4, ptr noundef %9, ptr noundef %26, i64 noundef %2) #2
%28 = tail call i64 @path_is_directory(ptr noundef nonnull %4) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %25
%31 = tail call i32 @path_mkdir(ptr noundef nonnull %4) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load i32, ptr @MSG_REVERTING_SAVEFILE_DIRECTORY_TO, align 4, !tbaa !5
%35 = tail call i32 @msg_hash_to_str(i32 noundef %34) #2
%36 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str, i32 noundef %35, ptr noundef %9) #2
%37 = tail call i32 @strlcpy(ptr noundef nonnull %4, ptr noundef %9, i32 noundef %1) #2
br label %38
38: ; preds = %25, %33, %30, %22, %18
%39 = getelementptr inbounds %struct.TYPE_8__, ptr %12, i64 0, i32 2
%40 = load i64, ptr %39, align 8, !tbaa !18
%41 = icmp eq i64 %40, 0
br i1 %41, label %58, label %42
42: ; preds = %38
%43 = tail call i64 @string_is_empty(ptr noundef %11) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %58
45: ; preds = %42
%46 = load ptr, ptr @runloop_system, align 8, !tbaa !12
%47 = tail call i32 @fill_pathname_join(ptr noundef nonnull %7, ptr noundef %11, ptr noundef %46, i64 noundef %2) #2
%48 = tail call i64 @path_is_directory(ptr noundef nonnull %7) #2
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %58
50: ; preds = %45
%51 = tail call i32 @path_mkdir(ptr noundef nonnull %7) #2
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %50
%54 = load i32, ptr @MSG_REVERTING_SAVESTATE_DIRECTORY_TO, align 4, !tbaa !5
%55 = tail call i32 @msg_hash_to_str(i32 noundef %54) #2
%56 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str, i32 noundef %55, ptr noundef %11) #2
%57 = tail call i32 @strlcpy(ptr noundef nonnull %7, ptr noundef %11, i32 noundef %1) #2
br label %58
58: ; preds = %38, %42, %50, %53, %45, %0
%59 = tail call i64 @string_is_empty(ptr noundef nonnull %4) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %65
61: ; preds = %58
%62 = getelementptr inbounds %struct.TYPE_8__, ptr %12, i64 0, i32 1
%63 = load i64, ptr %62, align 8, !tbaa !19
%64 = icmp eq i64 %63, 0
br i1 %64, label %69, label %65
65: ; preds = %61, %58
%66 = load ptr, ptr @path_main_basename, align 8, !tbaa !9
%67 = tail call i32 @strlcpy(ptr noundef nonnull %4, ptr noundef %66, i32 noundef %1) #2
%68 = tail call i32 @path_basedir(ptr noundef nonnull %4) #2
br label %69
69: ; preds = %65, %61
%70 = tail call i64 @string_is_empty(ptr noundef nonnull %7) #2
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %75
72: ; preds = %69
%73 = load i64, ptr %12, align 8, !tbaa !20
%74 = icmp eq i64 %73, 0
br i1 %74, label %79, label %75
75: ; preds = %72, %69
%76 = load ptr, ptr @path_main_basename, align 8, !tbaa !9
%77 = tail call i32 @strlcpy(ptr noundef nonnull %7, ptr noundef %76, i32 noundef %1) #2
%78 = tail call i32 @path_basedir(ptr noundef nonnull %7) #2
br label %79
79: ; preds = %72, %75
%80 = tail call i64 @path_is_directory(ptr noundef nonnull %4) #2
%81 = icmp eq i64 %80, 0
br i1 %81, label %85, label %82
82: ; preds = %79
%83 = load ptr, ptr @g_extern, align 8, !tbaa !21
%84 = tail call i32 @strlcpy(ptr noundef %83, ptr noundef nonnull %4, i32 noundef 8) #2
br label %85
85: ; preds = %82, %79
%86 = tail call i64 @path_is_directory(ptr noundef nonnull %7) #2
%87 = icmp eq i64 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %85
%89 = load ptr, ptr getelementptr inbounds (%struct.TYPE_11__, ptr @g_extern, i64 0, i32 0, i32 1), align 8, !tbaa !24
%90 = tail call i32 @strlcpy(ptr noundef %89, ptr noundef nonnull %7, i32 noundef 8) #2
br label %91
91: ; preds = %88, %85
%92 = load ptr, ptr @g_extern, align 8, !tbaa !21
%93 = tail call i64 @path_is_directory(ptr noundef %92) #2
%94 = icmp eq i64 %93, 0
br i1 %94, label %115, label %95
95: ; preds = %91
%96 = load ptr, ptr @g_extern, align 8, !tbaa !21
%97 = load ptr, ptr @path_main_basename, align 8, !tbaa !9
%98 = tail call i64 @string_is_empty(ptr noundef %97) #2
%99 = icmp eq i64 %98, 0
br i1 %99, label %100, label %102
100: ; preds = %95
%101 = load ptr, ptr @path_main_basename, align 8, !tbaa !9
br label %108
102: ; preds = %95
%103 = load ptr, ptr @runloop_system, align 8, !tbaa !12
%104 = tail call i64 @string_is_empty(ptr noundef %103) #2
%105 = icmp eq i64 %104, 0
%106 = load ptr, ptr @runloop_system, align 8
%107 = select i1 %105, ptr %106, ptr @.str.1
br label %108
108: ; preds = %102, %100
%109 = phi ptr [ %101, %100 ], [ %107, %102 ]
%110 = tail call i32 @fill_pathname_dir(ptr noundef %96, ptr noundef %109, ptr noundef nonnull @.str.2, i32 noundef 8) #2
%111 = load i32, ptr @MSG_REDIRECTING_SAVEFILE_TO, align 4, !tbaa !5
%112 = tail call i32 @msg_hash_to_str(i32 noundef %111) #2
%113 = load ptr, ptr @g_extern, align 8, !tbaa !21
%114 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str.3, i32 noundef %112, ptr noundef %113) #2
br label %115
115: ; preds = %108, %91
%116 = load ptr, ptr getelementptr inbounds (%struct.TYPE_11__, ptr @g_extern, i64 0, i32 0, i32 1), align 8, !tbaa !24
%117 = tail call i64 @path_is_directory(ptr noundef %116) #2
%118 = icmp eq i64 %117, 0
br i1 %118, label %139, label %119
119: ; preds = %115
%120 = load ptr, ptr getelementptr inbounds (%struct.TYPE_11__, ptr @g_extern, i64 0, i32 0, i32 1), align 8, !tbaa !24
%121 = load ptr, ptr @path_main_basename, align 8, !tbaa !9
%122 = tail call i64 @string_is_empty(ptr noundef %121) #2
%123 = icmp eq i64 %122, 0
br i1 %123, label %124, label %126
124: ; preds = %119
%125 = load ptr, ptr @path_main_basename, align 8, !tbaa !9
br label %132
126: ; preds = %119
%127 = load ptr, ptr @runloop_system, align 8, !tbaa !12
%128 = tail call i64 @string_is_empty(ptr noundef %127) #2
%129 = icmp eq i64 %128, 0
%130 = load ptr, ptr @runloop_system, align 8
%131 = select i1 %129, ptr %130, ptr @.str.1
br label %132
132: ; preds = %126, %124
%133 = phi ptr [ %125, %124 ], [ %131, %126 ]
%134 = tail call i32 @fill_pathname_dir(ptr noundef %120, ptr noundef %133, ptr noundef nonnull @.str.4, i32 noundef 8) #2
%135 = load i32, ptr @MSG_REDIRECTING_SAVESTATE_TO, align 4, !tbaa !5
%136 = tail call i32 @msg_hash_to_str(i32 noundef %135) #2
%137 = load ptr, ptr getelementptr inbounds (%struct.TYPE_11__, ptr @g_extern, i64 0, i32 0, i32 1), align 8, !tbaa !24
%138 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str.3, i32 noundef %136, ptr noundef %137) #2
br label %139
139: ; preds = %132, %115
%140 = load ptr, ptr getelementptr inbounds (%struct.TYPE_11__, ptr @g_extern, i64 0, i32 0, i32 2), align 8, !tbaa !25
%141 = tail call i64 @path_is_directory(ptr noundef %140) #2
%142 = icmp eq i64 %141, 0
br i1 %142, label %155, label %143
143: ; preds = %139
%144 = load ptr, ptr getelementptr inbounds (%struct.TYPE_11__, ptr @g_extern, i64 0, i32 0, i32 2), align 8, !tbaa !25
%145 = load ptr, ptr @path_main_basename, align 8, !tbaa !9
%146 = tail call i64 @string_is_empty(ptr noundef %145) #2
%147 = icmp eq i64 %146, 0
%148 = load ptr, ptr @path_main_basename, align 8
%149 = select i1 %147, ptr %148, ptr @.str.1
%150 = tail call i32 @fill_pathname_dir(ptr noundef %144, ptr noundef %149, ptr noundef nonnull @.str.4, i32 noundef 8) #2
%151 = load i32, ptr @MSG_REDIRECTING_CHEATFILE_TO, align 4, !tbaa !5
%152 = tail call i32 @msg_hash_to_str(i32 noundef %151) #2
%153 = load ptr, ptr getelementptr inbounds (%struct.TYPE_11__, ptr @g_extern, i64 0, i32 0, i32 2), align 8, !tbaa !25
%154 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str.3, i32 noundef %152, ptr noundef %153) #2
br label %155
155: ; preds = %139, %143
%156 = load i32, ptr @RARCH_DIR_CURRENT_SAVEFILE, align 4, !tbaa !5
%157 = tail call i32 @dir_set(i32 noundef %156, ptr noundef nonnull %4) #2
%158 = load i32, ptr @RARCH_DIR_CURRENT_SAVESTATE, align 4, !tbaa !5
%159 = tail call i32 @dir_set(i32 noundef %158, ptr noundef nonnull %7) #2
%160 = tail call i32 @free(ptr noundef nonnull %4) #2
%161 = tail call i32 @free(ptr noundef nonnull %7) #2
ret void
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare ptr @dir_get(i32 noundef) local_unnamed_addr #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @string_is_empty(ptr noundef) local_unnamed_addr #1
declare i32 @fill_pathname_join(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @path_is_directory(ptr noundef) local_unnamed_addr #1
declare i32 @path_mkdir(ptr noundef) local_unnamed_addr #1
declare i32 @RARCH_LOG(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @msg_hash_to_str(i32 noundef) local_unnamed_addr #1
declare i32 @path_basedir(ptr noundef) local_unnamed_addr #1
declare i32 @fill_pathname_dir(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dir_set(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"retro_system_info", !10, i64 0}
!14 = !{!15, !17, i64 24}
!15 = !{!"TYPE_10__", !16, i64 0}
!16 = !{!"TYPE_8__", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!17 = !{!"long", !7, i64 0}
!18 = !{!15, !17, i64 16}
!19 = !{!15, !17, i64 8}
!20 = !{!15, !17, i64 0}
!21 = !{!22, !10, i64 0}
!22 = !{!"TYPE_11__", !23, i64 0}
!23 = !{!"TYPE_9__", !10, i64 0, !10, i64 8, !10, i64 16}
!24 = !{!22, !10, i64 8}
!25 = !{!22, !10, i64 16}
| ; ModuleID = 'AnghaBench/RetroArch/extr_retroarch.c_path_set_redirect.c'
source_filename = "AnghaBench/RetroArch/extr_retroarch.c_path_set_redirect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { ptr, ptr, ptr }
%struct.TYPE_12__ = type { %struct.retro_system_info }
%struct.retro_system_info = type { ptr }
@PATH_MAX_LENGTH = common local_unnamed_addr global i32 0, align 4
@g_extern = common local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8
@RARCH_DIR_SAVEFILE = common local_unnamed_addr global i32 0, align 4
@RARCH_DIR_SAVESTATE = common local_unnamed_addr global i32 0, align 4
@runloop_system = common local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 8
@configuration_settings = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1
@MSG_REVERTING_SAVEFILE_DIRECTORY_TO = common local_unnamed_addr global i32 0, align 4
@MSG_REVERTING_SAVESTATE_DIRECTORY_TO = common local_unnamed_addr global i32 0, align 4
@path_main_basename = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c".srm\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%s \22%s\22.\0A\00", align 1
@MSG_REDIRECTING_SAVEFILE_TO = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c".state\00", align 1
@MSG_REDIRECTING_SAVESTATE_TO = common local_unnamed_addr global i32 0, align 4
@MSG_REDIRECTING_CHEATFILE_TO = common local_unnamed_addr global i32 0, align 4
@RARCH_DIR_CURRENT_SAVEFILE = common local_unnamed_addr global i32 0, align 4
@RARCH_DIR_CURRENT_SAVESTATE = common local_unnamed_addr global i32 0, align 4
@MENU_ENUM_LABEL_VALUE_NO_CORE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @path_set_redirect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @path_set_redirect() #0 {
%1 = load i32, ptr @PATH_MAX_LENGTH, align 4, !tbaa !6
%2 = sext i32 %1 to i64
%3 = tail call i64 @malloc(i32 noundef %1) #2
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr @PATH_MAX_LENGTH, align 4, !tbaa !6
%6 = tail call i64 @malloc(i32 noundef %5) #2
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr @RARCH_DIR_SAVEFILE, align 4, !tbaa !6
%9 = tail call ptr @dir_get(i32 noundef %8) #2
%10 = load i32, ptr @RARCH_DIR_SAVESTATE, align 4, !tbaa !6
%11 = tail call ptr @dir_get(i32 noundef %10) #2
%12 = load ptr, ptr @configuration_settings, align 8, !tbaa !10
store i8 0, ptr %7, align 1, !tbaa !12
store i8 0, ptr %4, align 1, !tbaa !12
%13 = tail call i32 @strlcpy(ptr noundef nonnull %4, ptr noundef %9, i32 noundef %1) #2
%14 = tail call i32 @strlcpy(ptr noundef nonnull %7, ptr noundef %11, i32 noundef %1) #2
%15 = load ptr, ptr @runloop_system, align 8, !tbaa !13
%16 = tail call i64 @string_is_empty(ptr noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %58
18: ; preds = %0
%19 = getelementptr inbounds i8, ptr %12, i64 24
%20 = load i64, ptr %19, align 8, !tbaa !15
%21 = icmp eq i64 %20, 0
br i1 %21, label %38, label %22
22: ; preds = %18
%23 = tail call i64 @string_is_empty(ptr noundef %9) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %38
25: ; preds = %22
%26 = load ptr, ptr @runloop_system, align 8, !tbaa !13
%27 = tail call i32 @fill_pathname_join(ptr noundef nonnull %4, ptr noundef %9, ptr noundef %26, i64 noundef %2) #2
%28 = tail call i64 @path_is_directory(ptr noundef nonnull %4) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %25
%31 = tail call i32 @path_mkdir(ptr noundef nonnull %4) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load i32, ptr @MSG_REVERTING_SAVEFILE_DIRECTORY_TO, align 4, !tbaa !6
%35 = tail call i32 @msg_hash_to_str(i32 noundef %34) #2
%36 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str, i32 noundef %35, ptr noundef %9) #2
%37 = tail call i32 @strlcpy(ptr noundef nonnull %4, ptr noundef %9, i32 noundef %1) #2
br label %38
38: ; preds = %25, %33, %30, %22, %18
%39 = getelementptr inbounds i8, ptr %12, i64 16
%40 = load i64, ptr %39, align 8, !tbaa !19
%41 = icmp eq i64 %40, 0
br i1 %41, label %58, label %42
42: ; preds = %38
%43 = tail call i64 @string_is_empty(ptr noundef %11) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %58
45: ; preds = %42
%46 = load ptr, ptr @runloop_system, align 8, !tbaa !13
%47 = tail call i32 @fill_pathname_join(ptr noundef nonnull %7, ptr noundef %11, ptr noundef %46, i64 noundef %2) #2
%48 = tail call i64 @path_is_directory(ptr noundef nonnull %7) #2
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %58
50: ; preds = %45
%51 = tail call i32 @path_mkdir(ptr noundef nonnull %7) #2
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %50
%54 = load i32, ptr @MSG_REVERTING_SAVESTATE_DIRECTORY_TO, align 4, !tbaa !6
%55 = tail call i32 @msg_hash_to_str(i32 noundef %54) #2
%56 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str, i32 noundef %55, ptr noundef %11) #2
%57 = tail call i32 @strlcpy(ptr noundef nonnull %7, ptr noundef %11, i32 noundef %1) #2
br label %58
58: ; preds = %38, %42, %50, %53, %45, %0
%59 = tail call i64 @string_is_empty(ptr noundef nonnull %4) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %65
61: ; preds = %58
%62 = getelementptr inbounds i8, ptr %12, i64 8
%63 = load i64, ptr %62, align 8, !tbaa !20
%64 = icmp eq i64 %63, 0
br i1 %64, label %69, label %65
65: ; preds = %61, %58
%66 = load ptr, ptr @path_main_basename, align 8, !tbaa !10
%67 = tail call i32 @strlcpy(ptr noundef nonnull %4, ptr noundef %66, i32 noundef %1) #2
%68 = tail call i32 @path_basedir(ptr noundef nonnull %4) #2
br label %69
69: ; preds = %65, %61
%70 = tail call i64 @string_is_empty(ptr noundef nonnull %7) #2
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %75
72: ; preds = %69
%73 = load i64, ptr %12, align 8, !tbaa !21
%74 = icmp eq i64 %73, 0
br i1 %74, label %79, label %75
75: ; preds = %72, %69
%76 = load ptr, ptr @path_main_basename, align 8, !tbaa !10
%77 = tail call i32 @strlcpy(ptr noundef nonnull %7, ptr noundef %76, i32 noundef %1) #2
%78 = tail call i32 @path_basedir(ptr noundef nonnull %7) #2
br label %79
79: ; preds = %72, %75
%80 = tail call i64 @path_is_directory(ptr noundef nonnull %4) #2
%81 = icmp eq i64 %80, 0
br i1 %81, label %85, label %82
82: ; preds = %79
%83 = load ptr, ptr @g_extern, align 8, !tbaa !22
%84 = tail call i32 @strlcpy(ptr noundef %83, ptr noundef nonnull %4, i32 noundef 8) #2
br label %85
85: ; preds = %82, %79
%86 = tail call i64 @path_is_directory(ptr noundef nonnull %7) #2
%87 = icmp eq i64 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %85
%89 = load ptr, ptr getelementptr inbounds (i8, ptr @g_extern, i64 8), align 8, !tbaa !25
%90 = tail call i32 @strlcpy(ptr noundef %89, ptr noundef nonnull %7, i32 noundef 8) #2
br label %91
91: ; preds = %88, %85
%92 = load ptr, ptr @g_extern, align 8, !tbaa !22
%93 = tail call i64 @path_is_directory(ptr noundef %92) #2
%94 = icmp eq i64 %93, 0
br i1 %94, label %115, label %95
95: ; preds = %91
%96 = load ptr, ptr @g_extern, align 8, !tbaa !22
%97 = load ptr, ptr @path_main_basename, align 8, !tbaa !10
%98 = tail call i64 @string_is_empty(ptr noundef %97) #2
%99 = icmp eq i64 %98, 0
br i1 %99, label %100, label %102
100: ; preds = %95
%101 = load ptr, ptr @path_main_basename, align 8, !tbaa !10
br label %108
102: ; preds = %95
%103 = load ptr, ptr @runloop_system, align 8, !tbaa !13
%104 = tail call i64 @string_is_empty(ptr noundef %103) #2
%105 = icmp eq i64 %104, 0
%106 = load ptr, ptr @runloop_system, align 8
%107 = select i1 %105, ptr %106, ptr @.str.1
br label %108
108: ; preds = %102, %100
%109 = phi ptr [ %101, %100 ], [ %107, %102 ]
%110 = tail call i32 @fill_pathname_dir(ptr noundef %96, ptr noundef %109, ptr noundef nonnull @.str.2, i32 noundef 8) #2
%111 = load i32, ptr @MSG_REDIRECTING_SAVEFILE_TO, align 4, !tbaa !6
%112 = tail call i32 @msg_hash_to_str(i32 noundef %111) #2
%113 = load ptr, ptr @g_extern, align 8, !tbaa !22
%114 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str.3, i32 noundef %112, ptr noundef %113) #2
br label %115
115: ; preds = %108, %91
%116 = load ptr, ptr getelementptr inbounds (i8, ptr @g_extern, i64 8), align 8, !tbaa !25
%117 = tail call i64 @path_is_directory(ptr noundef %116) #2
%118 = icmp eq i64 %117, 0
br i1 %118, label %139, label %119
119: ; preds = %115
%120 = load ptr, ptr getelementptr inbounds (i8, ptr @g_extern, i64 8), align 8, !tbaa !25
%121 = load ptr, ptr @path_main_basename, align 8, !tbaa !10
%122 = tail call i64 @string_is_empty(ptr noundef %121) #2
%123 = icmp eq i64 %122, 0
br i1 %123, label %124, label %126
124: ; preds = %119
%125 = load ptr, ptr @path_main_basename, align 8, !tbaa !10
br label %132
126: ; preds = %119
%127 = load ptr, ptr @runloop_system, align 8, !tbaa !13
%128 = tail call i64 @string_is_empty(ptr noundef %127) #2
%129 = icmp eq i64 %128, 0
%130 = load ptr, ptr @runloop_system, align 8
%131 = select i1 %129, ptr %130, ptr @.str.1
br label %132
132: ; preds = %126, %124
%133 = phi ptr [ %125, %124 ], [ %131, %126 ]
%134 = tail call i32 @fill_pathname_dir(ptr noundef %120, ptr noundef %133, ptr noundef nonnull @.str.4, i32 noundef 8) #2
%135 = load i32, ptr @MSG_REDIRECTING_SAVESTATE_TO, align 4, !tbaa !6
%136 = tail call i32 @msg_hash_to_str(i32 noundef %135) #2
%137 = load ptr, ptr getelementptr inbounds (i8, ptr @g_extern, i64 8), align 8, !tbaa !25
%138 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str.3, i32 noundef %136, ptr noundef %137) #2
br label %139
139: ; preds = %132, %115
%140 = load ptr, ptr getelementptr inbounds (i8, ptr @g_extern, i64 16), align 8, !tbaa !26
%141 = tail call i64 @path_is_directory(ptr noundef %140) #2
%142 = icmp eq i64 %141, 0
br i1 %142, label %155, label %143
143: ; preds = %139
%144 = load ptr, ptr getelementptr inbounds (i8, ptr @g_extern, i64 16), align 8, !tbaa !26
%145 = load ptr, ptr @path_main_basename, align 8, !tbaa !10
%146 = tail call i64 @string_is_empty(ptr noundef %145) #2
%147 = icmp eq i64 %146, 0
%148 = load ptr, ptr @path_main_basename, align 8
%149 = select i1 %147, ptr %148, ptr @.str.1
%150 = tail call i32 @fill_pathname_dir(ptr noundef %144, ptr noundef %149, ptr noundef nonnull @.str.4, i32 noundef 8) #2
%151 = load i32, ptr @MSG_REDIRECTING_CHEATFILE_TO, align 4, !tbaa !6
%152 = tail call i32 @msg_hash_to_str(i32 noundef %151) #2
%153 = load ptr, ptr getelementptr inbounds (i8, ptr @g_extern, i64 16), align 8, !tbaa !26
%154 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str.3, i32 noundef %152, ptr noundef %153) #2
br label %155
155: ; preds = %139, %143
%156 = load i32, ptr @RARCH_DIR_CURRENT_SAVEFILE, align 4, !tbaa !6
%157 = tail call i32 @dir_set(i32 noundef %156, ptr noundef nonnull %4) #2
%158 = load i32, ptr @RARCH_DIR_CURRENT_SAVESTATE, align 4, !tbaa !6
%159 = tail call i32 @dir_set(i32 noundef %158, ptr noundef nonnull %7) #2
%160 = tail call i32 @free(ptr noundef nonnull %4) #2
%161 = tail call i32 @free(ptr noundef nonnull %7) #2
ret void
}
declare i64 @malloc(i32 noundef) local_unnamed_addr #1
declare ptr @dir_get(i32 noundef) local_unnamed_addr #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @string_is_empty(ptr noundef) local_unnamed_addr #1
declare i32 @fill_pathname_join(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @path_is_directory(ptr noundef) local_unnamed_addr #1
declare i32 @path_mkdir(ptr noundef) local_unnamed_addr #1
declare i32 @RARCH_LOG(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @msg_hash_to_str(i32 noundef) local_unnamed_addr #1
declare i32 @path_basedir(ptr noundef) local_unnamed_addr #1
declare i32 @fill_pathname_dir(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dir_set(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"retro_system_info", !11, i64 0}
!15 = !{!16, !18, i64 24}
!16 = !{!"TYPE_10__", !17, i64 0}
!17 = !{!"TYPE_8__", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24}
!18 = !{!"long", !8, i64 0}
!19 = !{!16, !18, i64 16}
!20 = !{!16, !18, i64 8}
!21 = !{!16, !18, i64 0}
!22 = !{!23, !11, i64 0}
!23 = !{!"TYPE_11__", !24, i64 0}
!24 = !{!"TYPE_9__", !11, i64 0, !11, i64 8, !11, i64 16}
!25 = !{!23, !11, i64 8}
!26 = !{!23, !11, i64 16}
| RetroArch_extr_retroarch.c_path_set_redirect |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_config.h_tipc_cfg_reply_ultra_string.c'
source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_config.h_tipc_cfg_reply_ultra_string.c"
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"
@TIPC_TLV_ULTRA_STRING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tipc_cfg_reply_ultra_string], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @tipc_cfg_reply_ultra_string(ptr noundef %0) #0 {
%2 = load i32, ptr @TIPC_TLV_ULTRA_STRING, align 4, !tbaa !5
%3 = tail call ptr @tipc_cfg_reply_string_type(i32 noundef %2, ptr noundef %0) #2
ret ptr %3
}
declare ptr @tipc_cfg_reply_string_type(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint 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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_config.h_tipc_cfg_reply_ultra_string.c'
source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_config.h_tipc_cfg_reply_ultra_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIPC_TLV_ULTRA_STRING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tipc_cfg_reply_ultra_string], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @tipc_cfg_reply_ultra_string(ptr noundef %0) #0 {
%2 = load i32, ptr @TIPC_TLV_ULTRA_STRING, align 4, !tbaa !6
%3 = tail call ptr @tipc_cfg_reply_string_type(i32 noundef %2, ptr noundef %0) #2
ret ptr %3
}
declare ptr @tipc_cfg_reply_string_type(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_net_tipc_extr_config.h_tipc_cfg_reply_ultra_string |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_CopyName.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_CopyName.c"
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.TYPE_5__ = type { i32, i32, i32, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local ptr @CopyName(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %16, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 5
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = load i32, ptr %0, align 4, !tbaa !14
%15 = tail call ptr @NewName(i32 noundef %5, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %14) #2
br label %16
16: ; preds = %1, %3
%17 = phi ptr [ %15, %3 ], [ null, %1 ]
ret ptr %17
}
declare ptr @NewName(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 20}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 16}
!11 = !{!6, !7, i64 12}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_CopyName.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_CopyName.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @CopyName(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %16, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 20
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = getelementptr inbounds i8, ptr %0, i64 12
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !14
%14 = load i32, ptr %0, align 4, !tbaa !15
%15 = tail call ptr @NewName(i32 noundef %5, i32 noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef %14) #2
br label %16
16: ; preds = %1, %3
%17 = phi ptr [ %15, %3 ], [ null, %1 ]
ret ptr %17
}
declare ptr @NewName(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 20}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 16}
!12 = !{!7, !8, i64 12}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 0}
| SoftEtherVPN_src_Mayaqua_extr_Encrypt.c_CopyName |
; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x06_uclass.h_host1x_uclass_incr_syncpt_r.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x06_uclass.h_host1x_uclass_incr_syncpt_r.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @host1x_uclass_incr_syncpt_r], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @host1x_uclass_incr_syncpt_r() #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x06_uclass.h_host1x_uclass_incr_syncpt_r.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x06_uclass.h_host1x_uclass_incr_syncpt_r.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @host1x_uclass_incr_syncpt_r], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @host1x_uclass_incr_syncpt_r() #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_host1x_hw_extr_hw_host1x06_uclass.h_host1x_uclass_incr_syncpt_r |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_ring_mode.c_set_16kib_bfsize.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_ring_mode.c_set_16kib_bfsize.c"
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"
@BUF_SIZE_8KiB = dso_local local_unnamed_addr global i32 0, align 4
@BUF_SIZE_16KiB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_16kib_bfsize], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @set_16kib_bfsize(i32 noundef %0) #0 {
%2 = load i32, ptr @BUF_SIZE_8KiB, align 4, !tbaa !5
%3 = icmp slt i32 %2, %0
%4 = zext i1 %3 to i32
%5 = tail call i64 @unlikely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr @BUF_SIZE_16KiB, align 4
%8 = select i1 %6, i32 0, i32 %7
ret i32 %8
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_ring_mode.c_set_16kib_bfsize.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_ring_mode.c_set_16kib_bfsize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BUF_SIZE_8KiB = common local_unnamed_addr global i32 0, align 4
@BUF_SIZE_16KiB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_16kib_bfsize], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @set_16kib_bfsize(i32 noundef %0) #0 {
%2 = load i32, ptr @BUF_SIZE_8KiB, align 4, !tbaa !6
%3 = icmp slt i32 %2, %0
%4 = zext i1 %3 to i32
%5 = tail call i64 @unlikely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr @BUF_SIZE_16KiB, align 4
%8 = select i1 %6, i32 0, i32 %7
ret i32 %8
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_stmicro_stmmac_extr_ring_mode.c_set_16kib_bfsize |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_sunbmac.c_bigmac_clean_rings.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_sunbmac.c_bigmac_clean_rings.c"
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.bigmac = type { ptr, ptr }
@RX_RING_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@TX_RING_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bigmac_clean_rings], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bigmac_clean_rings(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @RX_RING_SIZE, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = getelementptr inbounds %struct.bigmac, ptr %0, i64 0, i32 1
br label %9
6: ; preds = %21, %1
%7 = load i32, ptr @TX_RING_SIZE, align 4, !tbaa !5
%8 = icmp sgt i32 %7, 0
br i1 %8, label %26, label %43
9: ; preds = %4, %21
%10 = phi i32 [ %2, %4 ], [ %22, %21 ]
%11 = phi i64 [ 0, %4 ], [ %23, %21 ]
%12 = load ptr, ptr %5, align 8, !tbaa !9
%13 = getelementptr inbounds ptr, ptr %12, i64 %11
%14 = load ptr, ptr %13, align 8, !tbaa !12
%15 = icmp eq ptr %14, null
br i1 %15, label %21, label %16
16: ; preds = %9
%17 = tail call i32 @dev_kfree_skb_any(ptr noundef nonnull %14) #2
%18 = load ptr, ptr %5, align 8, !tbaa !9
%19 = getelementptr inbounds ptr, ptr %18, i64 %11
store ptr null, ptr %19, align 8, !tbaa !12
%20 = load i32, ptr @RX_RING_SIZE, align 4, !tbaa !5
br label %21
21: ; preds = %9, %16
%22 = phi i32 [ %10, %9 ], [ %20, %16 ]
%23 = add nuw nsw i64 %11, 1
%24 = sext i32 %22 to i64
%25 = icmp slt i64 %23, %24
br i1 %25, label %9, label %6, !llvm.loop !13
26: ; preds = %6, %38
%27 = phi i32 [ %39, %38 ], [ %7, %6 ]
%28 = phi i64 [ %40, %38 ], [ 0, %6 ]
%29 = load ptr, ptr %0, align 8, !tbaa !15
%30 = getelementptr inbounds ptr, ptr %29, i64 %28
%31 = load ptr, ptr %30, align 8, !tbaa !12
%32 = icmp eq ptr %31, null
br i1 %32, label %38, label %33
33: ; preds = %26
%34 = tail call i32 @dev_kfree_skb_any(ptr noundef nonnull %31) #2
%35 = load ptr, ptr %0, align 8, !tbaa !15
%36 = getelementptr inbounds ptr, ptr %35, i64 %28
store ptr null, ptr %36, align 8, !tbaa !12
%37 = load i32, ptr @TX_RING_SIZE, align 4, !tbaa !5
br label %38
38: ; preds = %26, %33
%39 = phi i32 [ %27, %26 ], [ %37, %33 ]
%40 = add nuw nsw i64 %28, 1
%41 = sext i32 %39 to i64
%42 = icmp slt i64 %40, %41
br i1 %42, label %26, label %43, !llvm.loop !16
43: ; preds = %38, %6
ret void
}
declare i32 @dev_kfree_skb_any(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"bigmac", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!10, !11, i64 0}
!16 = distinct !{!16, !14}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_sunbmac.c_bigmac_clean_rings.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_sunbmac.c_bigmac_clean_rings.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RX_RING_SIZE = common local_unnamed_addr global i32 0, align 4
@TX_RING_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bigmac_clean_rings], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bigmac_clean_rings(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @RX_RING_SIZE, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
br label %9
6: ; preds = %21, %1
%7 = load i32, ptr @TX_RING_SIZE, align 4, !tbaa !6
%8 = icmp sgt i32 %7, 0
br i1 %8, label %26, label %43
9: ; preds = %4, %21
%10 = phi i32 [ %2, %4 ], [ %22, %21 ]
%11 = phi i64 [ 0, %4 ], [ %23, %21 ]
%12 = load ptr, ptr %5, align 8, !tbaa !10
%13 = getelementptr inbounds ptr, ptr %12, i64 %11
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = icmp eq ptr %14, null
br i1 %15, label %21, label %16
16: ; preds = %9
%17 = tail call i32 @dev_kfree_skb_any(ptr noundef nonnull %14) #2
%18 = load ptr, ptr %5, align 8, !tbaa !10
%19 = getelementptr inbounds ptr, ptr %18, i64 %11
store ptr null, ptr %19, align 8, !tbaa !13
%20 = load i32, ptr @RX_RING_SIZE, align 4, !tbaa !6
br label %21
21: ; preds = %9, %16
%22 = phi i32 [ %10, %9 ], [ %20, %16 ]
%23 = add nuw nsw i64 %11, 1
%24 = sext i32 %22 to i64
%25 = icmp slt i64 %23, %24
br i1 %25, label %9, label %6, !llvm.loop !14
26: ; preds = %6, %38
%27 = phi i32 [ %39, %38 ], [ %7, %6 ]
%28 = phi i64 [ %40, %38 ], [ 0, %6 ]
%29 = load ptr, ptr %0, align 8, !tbaa !16
%30 = getelementptr inbounds ptr, ptr %29, i64 %28
%31 = load ptr, ptr %30, align 8, !tbaa !13
%32 = icmp eq ptr %31, null
br i1 %32, label %38, label %33
33: ; preds = %26
%34 = tail call i32 @dev_kfree_skb_any(ptr noundef nonnull %31) #2
%35 = load ptr, ptr %0, align 8, !tbaa !16
%36 = getelementptr inbounds ptr, ptr %35, i64 %28
store ptr null, ptr %36, align 8, !tbaa !13
%37 = load i32, ptr @TX_RING_SIZE, align 4, !tbaa !6
br label %38
38: ; preds = %26, %33
%39 = phi i32 [ %27, %26 ], [ %37, %33 ]
%40 = add nuw nsw i64 %28, 1
%41 = sext i32 %39 to i64
%42 = icmp slt i64 %40, %41
br i1 %42, label %26, label %43, !llvm.loop !17
43: ; preds = %38, %6
ret void
}
declare i32 @dev_kfree_skb_any(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"bigmac", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!11, !12, i64 0}
!17 = distinct !{!17, !15}
| fastsocket_kernel_drivers_net_extr_sunbmac.c_bigmac_clean_rings |
; ModuleID = 'AnghaBench/linux/net/bridge/netfilter/extr_..br_private.h_br_allowed_egress.c'
source_filename = "AnghaBench/linux/net/bridge/netfilter/extr_..br_private.h_br_allowed_egress.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @br_allowed_egress], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @br_allowed_egress(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret i32 1
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/net/bridge/netfilter/extr_..br_private.h_br_allowed_egress.c'
source_filename = "AnghaBench/linux/net/bridge/netfilter/extr_..br_private.h_br_allowed_egress.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @br_allowed_egress], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @br_allowed_egress(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret i32 1
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_net_bridge_netfilter_extr_..br_private.h_br_allowed_egress |
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx_seq.h_ahc_patch3_func.c'
source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx_seq.h_ahc_patch3_func.c"
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"
@AHC_QUEUE_REGS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ahc_patch3_func], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @ahc_patch3_func(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @AHC_QUEUE_REGS, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp ne i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ahc_softc", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx_seq.h_ahc_patch3_func.c'
source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx_seq.h_ahc_patch3_func.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AHC_QUEUE_REGS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ahc_patch3_func], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @ahc_patch3_func(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @AHC_QUEUE_REGS, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp ne i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ahc_softc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| freebsd_sys_dev_aic7xxx_extr_aic7xxx_seq.h_ahc_patch3_func |
; ModuleID = 'AnghaBench/freebsd/stand/uboot/lib/extr_disk.c_stor_strategy.c'
source_filename = "AnghaBench/freebsd/stand/uboot/lib/extr_disk.c_stor_strategy.c"
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"
@F_MASK = dso_local local_unnamed_addr global i32 0, align 4
@F_READ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"write attempt, operation not supported!\0A\00", align 1
@EROFS = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"size=%zu not multiple of device block size=%d\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @stor_strategy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @stor_strategy(ptr noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef writeonly %5) #0 {
%7 = load i32, ptr @F_MASK, align 4, !tbaa !5
%8 = and i32 %7, %1
%9 = load i32, ptr @F_READ, align 4, !tbaa !5
%10 = icmp eq i32 %8, %9
br i1 %10, label %14, label %11
11: ; preds = %6
%12 = tail call i32 (ptr, ...) @stor_printf(ptr noundef nonnull @.str) #2
%13 = load i32, ptr @EROFS, align 4, !tbaa !5
br label %33
14: ; preds = %6
%15 = tail call i64 @SI(ptr noundef %0) #2
%16 = urem i64 %3, %15
%17 = icmp eq i64 %16, 0
%18 = tail call i64 @SI(ptr noundef %0) #2
br i1 %17, label %22, label %19
19: ; preds = %14
%20 = tail call i32 (ptr, ...) @stor_printf(ptr noundef nonnull @.str.1, i64 noundef %3, i64 noundef %18) #2
%21 = load i32, ptr @EIO, align 4, !tbaa !5
br label %33
22: ; preds = %14
%23 = udiv i64 %3, %18
%24 = icmp ne ptr %5, null
br i1 %24, label %25, label %26
25: ; preds = %22
store i64 0, ptr %5, align 8, !tbaa !9
br label %26
26: ; preds = %25, %22
%27 = load i64, ptr %0, align 8, !tbaa !11
%28 = add i64 %27, %2
%29 = tail call i32 @stor_readdev(ptr noundef nonnull %0, i64 noundef %28, i64 noundef %23, ptr noundef %4) #2
%30 = icmp eq i32 %29, 0
%31 = and i1 %24, %30
br i1 %31, label %32, label %33
32: ; preds = %26
store i64 %3, ptr %5, align 8, !tbaa !9
br label %33
33: ; preds = %26, %32, %19, %11
%34 = phi i32 [ %13, %11 ], [ %21, %19 ], [ 0, %32 ], [ %29, %26 ]
ret i32 %34
}
declare i32 @stor_printf(ptr noundef, ...) local_unnamed_addr #1
declare i64 @SI(ptr noundef) local_unnamed_addr #1
declare i32 @stor_readdev(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !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, !10, i64 0}
!12 = !{!"disk_devdesc", !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/stand/uboot/lib/extr_disk.c_stor_strategy.c'
source_filename = "AnghaBench/freebsd/stand/uboot/lib/extr_disk.c_stor_strategy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@F_MASK = common local_unnamed_addr global i32 0, align 4
@F_READ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"write attempt, operation not supported!\0A\00", align 1
@EROFS = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"size=%zu not multiple of device block size=%d\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @stor_strategy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @stor_strategy(ptr noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef writeonly %5) #0 {
%7 = load i32, ptr @F_MASK, align 4, !tbaa !6
%8 = and i32 %7, %1
%9 = load i32, ptr @F_READ, align 4, !tbaa !6
%10 = icmp eq i32 %8, %9
br i1 %10, label %14, label %11
11: ; preds = %6
%12 = tail call i32 (ptr, ...) @stor_printf(ptr noundef nonnull @.str) #2
%13 = load i32, ptr @EROFS, align 4, !tbaa !6
br label %33
14: ; preds = %6
%15 = tail call i64 @SI(ptr noundef %0) #2
%16 = urem i64 %3, %15
%17 = icmp eq i64 %16, 0
%18 = tail call i64 @SI(ptr noundef %0) #2
br i1 %17, label %22, label %19
19: ; preds = %14
%20 = tail call i32 (ptr, ...) @stor_printf(ptr noundef nonnull @.str.1, i64 noundef %3, i64 noundef %18) #2
%21 = load i32, ptr @EIO, align 4, !tbaa !6
br label %33
22: ; preds = %14
%23 = udiv i64 %3, %18
%24 = icmp ne ptr %5, null
br i1 %24, label %25, label %26
25: ; preds = %22
store i64 0, ptr %5, align 8, !tbaa !10
br label %26
26: ; preds = %25, %22
%27 = load i64, ptr %0, align 8, !tbaa !12
%28 = add i64 %27, %2
%29 = tail call i32 @stor_readdev(ptr noundef nonnull %0, i64 noundef %28, i64 noundef %23, ptr noundef %4) #2
%30 = icmp eq i32 %29, 0
%31 = and i1 %24, %30
br i1 %31, label %32, label %33
32: ; preds = %26
store i64 %3, ptr %5, align 8, !tbaa !10
br label %33
33: ; preds = %26, %32, %19, %11
%34 = phi i32 [ %13, %11 ], [ %21, %19 ], [ 0, %32 ], [ %29, %26 ]
ret i32 %34
}
declare i32 @stor_printf(ptr noundef, ...) local_unnamed_addr #1
declare i64 @SI(ptr noundef) local_unnamed_addr #1
declare i32 @stor_readdev(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"disk_devdesc", !11, i64 0}
| freebsd_stand_uboot_lib_extr_disk.c_stor_strategy |
; ModuleID = 'AnghaBench/linux/tools/power/acpi/os_specific/service_layers/extr_osunixmap.c_acpi_os_unmap_memory.c'
source_filename = "AnghaBench/linux/tools/power/acpi/os_specific/service_layers/extr_osunixmap.c_acpi_os_unmap_memory.c"
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"
; Function Attrs: nounwind uwtable
define dso_local void @acpi_os_unmap_memory(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @acpi_os_get_page_size() #2
%4 = tail call i32 @ACPI_TO_INTEGER(ptr noundef %0) #2
%5 = srem i32 %4, %3
%6 = sext i32 %5 to i64
%7 = sub nsw i64 0, %6
%8 = getelementptr inbounds i32, ptr %0, i64 %7
%9 = add nsw i32 %5, %1
%10 = tail call i32 @munmap(ptr noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @acpi_os_get_page_size(...) local_unnamed_addr #1
declare i32 @ACPI_TO_INTEGER(ptr noundef) local_unnamed_addr #1
declare i32 @munmap(ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/tools/power/acpi/os_specific/service_layers/extr_osunixmap.c_acpi_os_unmap_memory.c'
source_filename = "AnghaBench/linux/tools/power/acpi/os_specific/service_layers/extr_osunixmap.c_acpi_os_unmap_memory.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @acpi_os_unmap_memory(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @acpi_os_get_page_size() #2
%4 = tail call i32 @ACPI_TO_INTEGER(ptr noundef %0) #2
%5 = srem i32 %4, %3
%6 = sext i32 %5 to i64
%7 = sub nsw i64 0, %6
%8 = getelementptr inbounds i32, ptr %0, i64 %7
%9 = add nsw i32 %5, %1
%10 = tail call i32 @munmap(ptr noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @acpi_os_get_page_size(...) local_unnamed_addr #1
declare i32 @ACPI_TO_INTEGER(ptr noundef) local_unnamed_addr #1
declare i32 @munmap(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_tools_power_acpi_os_specific_service_layers_extr_osunixmap.c_acpi_os_unmap_memory |
; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/lib/inifile/extr_parse.c_IniIsSetting.c'
source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/lib/inifile/extr_parse.c_IniIsSetting.c"
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"
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @IniIsSetting(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %12, label %7
4: ; preds = %7
%5 = add nuw i64 %8, 1
%6 = icmp eq i64 %5, %1
br i1 %6, label %12, label %7, !llvm.loop !5
7: ; preds = %2, %4
%8 = phi i64 [ %5, %4 ], [ 0, %2 ]
%9 = getelementptr inbounds i8, ptr %0, i64 %8
%10 = load i8, ptr %9, align 1, !tbaa !7
%11 = icmp eq i8 %10, 61
br i1 %11, label %12, label %4
12: ; preds = %7, %4, %2
%13 = phi ptr [ @FALSE, %2 ], [ @FALSE, %4 ], [ @TRUE, %7 ]
%14 = load i32, ptr %13, align 4, !tbaa !10
ret i32 %14
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/lib/inifile/extr_parse.c_IniIsSetting.c'
source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/lib/inifile/extr_parse.c_IniIsSetting.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @IniIsSetting(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %12, label %7
4: ; preds = %7
%5 = add nuw i64 %8, 1
%6 = icmp eq i64 %5, %1
br i1 %6, label %12, label %7, !llvm.loop !6
7: ; preds = %2, %4
%8 = phi i64 [ %5, %4 ], [ 0, %2 ]
%9 = getelementptr inbounds i8, ptr %0, i64 %8
%10 = load i8, ptr %9, align 1, !tbaa !8
%11 = icmp eq i8 %10, 61
br i1 %11, label %12, label %4
12: ; preds = %7, %4, %2
%13 = phi ptr [ @FALSE, %2 ], [ @FALSE, %4 ], [ @TRUE, %7 ]
%14 = load i32, ptr %13, align 4, !tbaa !11
ret i32 %14
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| reactos_boot_freeldr_freeldr_lib_inifile_extr_parse.c_IniIsSetting |
; ModuleID = 'AnghaBench/linux/drivers/dma/hsu/extr_..dmaengine.h_dmaengine_desc_get_callback.c'
source_filename = "AnghaBench/linux/drivers/dma/hsu/extr_..dmaengine.h_dmaengine_desc_get_callback.c"
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.dma_async_tx_descriptor = type { i32, i32, i32 }
%struct.dmaengine_desc_callback = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dmaengine_desc_get_callback], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @dmaengine_desc_get_callback(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds %struct.dma_async_tx_descriptor, ptr %0, i64 0, i32 2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.dmaengine_desc_callback, ptr %1, i64 0, i32 2
store i32 %4, ptr %5, align 4, !tbaa !10
%6 = load <2 x i32>, ptr %0, align 4, !tbaa !12
store <2 x i32> %6, ptr %1, align 4, !tbaa !12
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"dma_async_tx_descriptor", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"dmaengine_desc_callback", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/dma/hsu/extr_..dmaengine.h_dmaengine_desc_get_callback.c'
source_filename = "AnghaBench/linux/drivers/dma/hsu/extr_..dmaengine.h_dmaengine_desc_get_callback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @dmaengine_desc_get_callback], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @dmaengine_desc_get_callback(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %4, ptr %5, align 4, !tbaa !11
%6 = load <2 x i32>, ptr %0, align 4, !tbaa !13
store <2 x i32> %6, ptr %1, align 4, !tbaa !13
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"dma_async_tx_descriptor", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"dmaengine_desc_callback", !8, i64 0, !8, i64 4, !8, i64 8}
!13 = !{!8, !8, i64 0}
| linux_drivers_dma_hsu_extr_..dmaengine.h_dmaengine_desc_get_callback |
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_audio_fifo.c_av_audio_fifo_peek_at.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_audio_fifo.c_av_audio_fifo_peek_at.c"
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.TYPE_3__ = type { i32, i32, i32, ptr }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@AVERROR_BUG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @av_audio_fifo_peek_at(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp slt i32 %3, 0
br i1 %5, label %9, label %6
6: ; preds = %4
%7 = load i32, ptr %0, align 8, !tbaa !5
%8 = icmp sgt i32 %7, %3
br i1 %8, label %12, label %9
9: ; preds = %6, %4
%10 = load i32, ptr @EINVAL, align 4, !tbaa !11
%11 = tail call i32 @AVERROR(i32 noundef %10) #2
br label %53
12: ; preds = %6
%13 = icmp slt i32 %2, 0
br i1 %13, label %14, label %17
14: ; preds = %12
%15 = load i32, ptr @EINVAL, align 4, !tbaa !11
%16 = tail call i32 @AVERROR(i32 noundef %15) #2
br label %53
17: ; preds = %12
%18 = tail call i32 @FFMIN(i32 noundef %2, i32 noundef %7) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %53, label %20
20: ; preds = %17
%21 = load i32, ptr %0, align 8, !tbaa !5
%22 = sub nsw i32 %21, %18
%23 = icmp slt i32 %22, %3
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i32, ptr @EINVAL, align 4, !tbaa !11
%26 = tail call i32 @AVERROR(i32 noundef %25) #2
br label %53
27: ; preds = %20
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%29 = load i32, ptr %28, align 4, !tbaa !12
%30 = mul nsw i32 %29, %3
%31 = mul nsw i32 %29, %18
%32 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%33 = load i32, ptr %32, align 8, !tbaa !13
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %53
35: ; preds = %27
%36 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
br label %42
37: ; preds = %42
%38 = add nuw nsw i64 %43, 1
%39 = load i32, ptr %32, align 8, !tbaa !13
%40 = sext i32 %39 to i64
%41 = icmp slt i64 %38, %40
br i1 %41, label %42, label %53, !llvm.loop !14
42: ; preds = %35, %37
%43 = phi i64 [ 0, %35 ], [ %38, %37 ]
%44 = load ptr, ptr %36, align 8, !tbaa !16
%45 = getelementptr inbounds i32, ptr %44, i64 %43
%46 = load i32, ptr %45, align 4, !tbaa !11
%47 = getelementptr inbounds ptr, ptr %1, i64 %43
%48 = load ptr, ptr %47, align 8, !tbaa !17
%49 = tail call i32 @av_fifo_generic_peek_at(i32 noundef %46, ptr noundef %48, i32 noundef %30, i32 noundef %31, ptr noundef null) #2
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %37
51: ; preds = %42
%52 = load i32, ptr @AVERROR_BUG, align 4, !tbaa !11
br label %53
53: ; preds = %37, %27, %17, %51, %24, %14, %9
%54 = phi i32 [ %11, %9 ], [ %16, %14 ], [ %26, %24 ], [ %52, %51 ], [ 0, %17 ], [ %18, %27 ], [ %18, %37 ]
ret i32 %54
}
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @FFMIN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_fifo_generic_peek_at(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !10, i64 16}
!17 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_audio_fifo.c_av_audio_fifo_peek_at.c'
source_filename = "AnghaBench/FFmpeg/libavutil/extr_audio_fifo.c_av_audio_fifo_peek_at.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@AVERROR_BUG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @av_audio_fifo_peek_at(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp slt i32 %3, 0
br i1 %5, label %9, label %6
6: ; preds = %4
%7 = load i32, ptr %0, align 8, !tbaa !6
%8 = icmp sgt i32 %7, %3
br i1 %8, label %12, label %9
9: ; preds = %6, %4
%10 = load i32, ptr @EINVAL, align 4, !tbaa !12
%11 = tail call i32 @AVERROR(i32 noundef %10) #2
br label %53
12: ; preds = %6
%13 = icmp slt i32 %2, 0
br i1 %13, label %14, label %17
14: ; preds = %12
%15 = load i32, ptr @EINVAL, align 4, !tbaa !12
%16 = tail call i32 @AVERROR(i32 noundef %15) #2
br label %53
17: ; preds = %12
%18 = tail call i32 @FFMIN(i32 noundef %2, i32 noundef %7) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %53, label %20
20: ; preds = %17
%21 = load i32, ptr %0, align 8, !tbaa !6
%22 = sub nsw i32 %21, %18
%23 = icmp slt i32 %22, %3
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i32, ptr @EINVAL, align 4, !tbaa !12
%26 = tail call i32 @AVERROR(i32 noundef %25) #2
br label %53
27: ; preds = %20
%28 = getelementptr inbounds i8, ptr %0, i64 4
%29 = load i32, ptr %28, align 4, !tbaa !13
%30 = mul nsw i32 %29, %3
%31 = mul nsw i32 %29, %18
%32 = getelementptr inbounds i8, ptr %0, i64 8
%33 = load i32, ptr %32, align 8, !tbaa !14
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %53
35: ; preds = %27
%36 = getelementptr inbounds i8, ptr %0, i64 16
br label %42
37: ; preds = %42
%38 = add nuw nsw i64 %43, 1
%39 = load i32, ptr %32, align 8, !tbaa !14
%40 = sext i32 %39 to i64
%41 = icmp slt i64 %38, %40
br i1 %41, label %42, label %53, !llvm.loop !15
42: ; preds = %35, %37
%43 = phi i64 [ 0, %35 ], [ %38, %37 ]
%44 = load ptr, ptr %36, align 8, !tbaa !17
%45 = getelementptr inbounds i32, ptr %44, i64 %43
%46 = load i32, ptr %45, align 4, !tbaa !12
%47 = getelementptr inbounds ptr, ptr %1, i64 %43
%48 = load ptr, ptr %47, align 8, !tbaa !18
%49 = tail call i32 @av_fifo_generic_peek_at(i32 noundef %46, ptr noundef %48, i32 noundef %30, i32 noundef %31, ptr noundef null) #2
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %37
51: ; preds = %42
%52 = load i32, ptr @AVERROR_BUG, align 4, !tbaa !12
br label %53
53: ; preds = %37, %27, %17, %51, %24, %14, %9
%54 = phi i32 [ %11, %9 ], [ %16, %14 ], [ %26, %24 ], [ %52, %51 ], [ 0, %17 ], [ %18, %27 ], [ %18, %37 ]
ret i32 %54
}
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @FFMIN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_fifo_generic_peek_at(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !8, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!7, !11, i64 16}
!18 = !{!11, !11, i64 0}
| FFmpeg_libavutil_extr_audio_fifo.c_av_audio_fifo_peek_at |
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_amd64_edac.h_dram_intlv_en.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_amd64_edac.h_dram_intlv_en.c"
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.amd64_pvt = type { i32, i32, ptr, i32 }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@DRAM_CONT_LIMIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dram_intlv_en], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @dram_intlv_en(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = icmp eq i32 %4, 21
br i1 %5, label %6, label %18
6: ; preds = %2
%7 = getelementptr inbounds %struct.amd64_pvt, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = icmp sgt i32 %8, 47
br i1 %9, label %10, label %18
10: ; preds = %6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%11 = getelementptr inbounds %struct.amd64_pvt, ptr %0, i64 0, i32 3
%12 = load i32, ptr %11, align 8, !tbaa !12
%13 = load i32, ptr @DRAM_CONT_LIMIT, align 4, !tbaa !13
%14 = call i32 @amd64_read_pci_cfg(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %3) #3
%15 = load i64, ptr %3, align 8, !tbaa !14
%16 = trunc i64 %15 to i32
%17 = and i32 %16, 15
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
br label %26
18: ; preds = %6, %2
%19 = getelementptr inbounds %struct.amd64_pvt, ptr %0, i64 0, i32 2
%20 = load ptr, ptr %19, align 8, !tbaa !16
%21 = zext i32 %1 to i64
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i64 %21
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = lshr i32 %23, 8
%25 = and i32 %24, 7
br label %26
26: ; preds = %18, %10
%27 = phi i32 [ %17, %10 ], [ %25, %18 ]
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @amd64_read_pci_cfg(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { inlinehint 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"amd64_pvt", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 16}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!6, !10, i64 8}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_4__", !19, i64 0}
!19 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/edac/extr_amd64_edac.h_dram_intlv_en.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_amd64_edac.h_dram_intlv_en.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@DRAM_CONT_LIMIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dram_intlv_en], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 16) i32 @dram_intlv_en(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = icmp eq i32 %4, 21
br i1 %5, label %6, label %18
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = icmp sgt i32 %8, 47
br i1 %9, label %10, label %18
10: ; preds = %6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = load i32, ptr @DRAM_CONT_LIMIT, align 4, !tbaa !14
%14 = call i32 @amd64_read_pci_cfg(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %3) #3
%15 = load i64, ptr %3, align 8, !tbaa !15
%16 = trunc i64 %15 to i32
%17 = and i32 %16, 15
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
br label %26
18: ; preds = %6, %2
%19 = getelementptr inbounds i8, ptr %0, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !17
%21 = zext i32 %1 to i64
%22 = getelementptr inbounds %struct.TYPE_4__, ptr %20, i64 %21
%23 = load i32, ptr %22, align 4, !tbaa !18
%24 = lshr i32 %23, 8
%25 = and i32 %24, 7
br label %26
26: ; preds = %18, %10
%27 = phi i32 [ %17, %10 ], [ %25, %18 ]
ret i32 %27
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @amd64_read_pci_cfg(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"amd64_pvt", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 16}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!7, !11, i64 8}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_4__", !20, i64 0}
!20 = !{!"TYPE_3__", !8, i64 0}
| linux_drivers_edac_extr_amd64_edac.h_dram_intlv_en |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_bio_b64.c_b64_read.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_bio_b64.c_b64_read.c"
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.TYPE_2__ = type { i64, i32, i32, i64, i32, ptr, i32, ptr, i32, i64 }
@B64_DECODE = dso_local local_unnamed_addr global i64 0, align 8
@B64_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@BIO_FLAGS_BASE64_NO_NL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @b64_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @b64_read(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
%5 = icmp eq ptr %1, null
br i1 %5, label %353, label %6
6: ; preds = %3
%7 = tail call i64 @BIO_get_data(ptr noundef %0) #5
%8 = inttoptr i64 %7 to ptr
%9 = tail call ptr @BIO_next(ptr noundef %0) #5
%10 = icmp eq i64 %7, 0
%11 = icmp eq ptr %9, null
%12 = select i1 %10, i1 true, i1 %11
br i1 %12, label %353, label %13
13: ; preds = %6
%14 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #5
%15 = load i64, ptr %8, align 8, !tbaa !5
%16 = load i64, ptr @B64_DECODE, align 8, !tbaa !12
%17 = icmp eq i64 %15, %16
br i1 %17, label %23, label %18
18: ; preds = %13
store i64 %16, ptr %8, align 8, !tbaa !5
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 1
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false)
%21 = load i32, ptr %20, align 8, !tbaa !13
%22 = tail call i32 @EVP_DecodeInit(i32 noundef %21) #5
br label %23
23: ; preds = %18, %13
%24 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !14
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %55
27: ; preds = %23
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 2
%29 = load i32, ptr %28, align 4, !tbaa !15
%30 = icmp sge i32 %25, %29
%31 = zext i1 %30 to i32
%32 = tail call i32 @OPENSSL_assert(i32 noundef %31) #5
%33 = load i32, ptr %24, align 8, !tbaa !14
%34 = load i32, ptr %28, align 4, !tbaa !15
%35 = sub nsw i32 %33, %34
%36 = tail call i32 @llvm.smin.i32(i32 %35, i32 %2)
%37 = add nsw i32 %36, %34
%38 = icmp slt i32 %37, 8
%39 = zext i1 %38 to i32
%40 = tail call i32 @OPENSSL_assert(i32 noundef %39) #5
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 7
%42 = load ptr, ptr %41, align 8, !tbaa !16
%43 = load i32, ptr %28, align 4, !tbaa !15
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = tail call i32 @memcpy(ptr noundef nonnull %1, ptr noundef %45, i32 noundef %36) #5
%47 = sext i32 %36 to i64
%48 = getelementptr inbounds i8, ptr %1, i64 %47
%49 = sub nsw i32 %2, %36
%50 = load i32, ptr %28, align 4, !tbaa !15
%51 = add nsw i32 %50, %36
store i32 %51, ptr %28, align 4, !tbaa !15
%52 = load i32, ptr %24, align 8, !tbaa !14
%53 = icmp eq i32 %52, %51
br i1 %53, label %54, label %55
54: ; preds = %27
store i32 0, ptr %24, align 8, !tbaa !14
store i32 0, ptr %28, align 4, !tbaa !15
br label %55
55: ; preds = %27, %54, %23
%56 = phi i32 [ %36, %54 ], [ %36, %27 ], [ 0, %23 ]
%57 = phi i32 [ %49, %54 ], [ %49, %27 ], [ %2, %23 ]
%58 = phi ptr [ %48, %54 ], [ %48, %27 ], [ %1, %23 ]
%59 = icmp sgt i32 %57, 0
br i1 %59, label %60, label %347
60: ; preds = %55
%61 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 4
%62 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 5
%63 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 3
%64 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 9
%65 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 6
%66 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 8
%67 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 7
%68 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 2
br label %69
69: ; preds = %60, %342
%70 = phi ptr [ %58, %60 ], [ %345, %342 ]
%71 = phi i32 [ %57, %60 ], [ %343, %342 ]
%72 = phi i32 [ 0, %60 ], [ %97, %342 ]
%73 = phi i32 [ %56, %60 ], [ %338, %342 ]
%74 = load i32, ptr %61, align 8, !tbaa !17
%75 = icmp slt i32 %74, 1
br i1 %75, label %347, label %76
76: ; preds = %69, %278
%77 = phi i32 [ %97, %278 ], [ %72, %69 ]
%78 = load ptr, ptr %62, align 8, !tbaa !18
%79 = load i64, ptr %63, align 8, !tbaa !19
%80 = getelementptr inbounds i8, ptr %78, i64 %79
%81 = load i32, ptr @B64_BLOCK_SIZE, align 4, !tbaa !20
%82 = trunc i64 %79 to i32
%83 = sub i32 %81, %82
%84 = call i32 @BIO_read(ptr noundef %9, ptr noundef %80, i32 noundef %83) #5
%85 = icmp slt i32 %84, 1
br i1 %85, label %88, label %86
86: ; preds = %76
%87 = load i64, ptr %63, align 8, !tbaa !19
br label %94
88: ; preds = %76
%89 = call i32 @BIO_should_retry(ptr noundef %9) #5
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %347
91: ; preds = %88
store i32 %84, ptr %61, align 8, !tbaa !17
%92 = load i64, ptr %63, align 8, !tbaa !19
%93 = icmp eq i64 %92, 0
br i1 %93, label %347, label %94
94: ; preds = %86, %91
%95 = phi i64 [ %87, %86 ], [ %92, %91 ]
%96 = phi i32 [ %84, %86 ], [ 0, %91 ]
%97 = phi i32 [ %77, %86 ], [ %84, %91 ]
%98 = trunc i64 %95 to i32
%99 = add i32 %96, %98
%100 = sext i32 %99 to i64
store i64 %100, ptr %63, align 8, !tbaa !19
%101 = load i64, ptr %64, align 8, !tbaa !21
%102 = icmp eq i64 %101, 0
br i1 %102, label %281, label %103
103: ; preds = %94
%104 = call i32 @BIO_get_flags(ptr noundef %0) #5
%105 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4, !tbaa !20
%106 = and i32 %105, %104
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %287
108: ; preds = %103
%109 = load i64, ptr %64, align 8, !tbaa !21
%110 = icmp eq i64 %109, 0
br i1 %110, label %281, label %111
111: ; preds = %108
%112 = load ptr, ptr %62, align 8, !tbaa !18
store i32 0, ptr %4, align 4, !tbaa !20
%113 = icmp sgt i32 %99, 0
br i1 %113, label %114, label %204
114: ; preds = %111, %200
%115 = phi ptr [ %118, %200 ], [ %112, %111 ]
%116 = phi ptr [ %201, %200 ], [ %112, %111 ]
%117 = phi i32 [ %202, %200 ], [ 0, %111 ]
%118 = getelementptr inbounds i8, ptr %115, i64 1
%119 = load i8, ptr %115, align 1, !tbaa !22
%120 = icmp eq i8 %119, 10
br i1 %120, label %121, label %200
121: ; preds = %114
%122 = load i32, ptr %65, align 8, !tbaa !23
%123 = icmp eq i32 %122, 0
br i1 %123, label %125, label %124
124: ; preds = %121
store i32 0, ptr %65, align 8, !tbaa !23
br label %200
125: ; preds = %121
%126 = load i32, ptr %66, align 8, !tbaa !13
%127 = load ptr, ptr %67, align 8, !tbaa !16
%128 = ptrtoint ptr %118 to i64
%129 = ptrtoint ptr %116 to i64
%130 = sub i64 %128, %129
%131 = trunc i64 %130 to i32
%132 = call i32 @EVP_DecodeUpdate(i32 noundef %126, ptr noundef %127, ptr noundef nonnull %4, ptr noundef %116, i32 noundef %131) #5
%133 = icmp slt i32 %132, 1
%134 = load i32, ptr %4, align 4
%135 = icmp eq i32 %134, 0
%136 = select i1 %133, i1 %135, i1 false
br i1 %136, label %137, label %143
137: ; preds = %125
%138 = load i64, ptr %64, align 8, !tbaa !21
%139 = icmp eq i64 %138, 0
br i1 %139, label %143, label %140
140: ; preds = %137
%141 = load i32, ptr %66, align 8, !tbaa !13
%142 = call i32 @EVP_DecodeInit(i32 noundef %141) #5
br label %200
143: ; preds = %137, %125
%144 = load ptr, ptr %62, align 8, !tbaa !18
%145 = icmp eq ptr %116, %144
br i1 %145, label %196, label %146
146: ; preds = %143
%147 = ptrtoint ptr %144 to i64
%148 = sub i64 %147, %129
%149 = trunc i64 %148 to i32
%150 = add i32 %99, %149
%151 = icmp sgt i32 %150, 0
br i1 %151, label %152, label %196
152: ; preds = %146
%153 = zext nneg i32 %150 to i64
%154 = and i64 %153, 3
%155 = icmp ult i32 %150, 4
br i1 %155, label %183, label %156
156: ; preds = %152
%157 = and i64 %153, 2147483644
br label %158
158: ; preds = %158, %156
%159 = phi i64 [ 0, %156 ], [ %180, %158 ]
%160 = phi i64 [ 0, %156 ], [ %181, %158 ]
%161 = getelementptr inbounds i8, ptr %116, i64 %159
%162 = load i8, ptr %161, align 1, !tbaa !22
%163 = load ptr, ptr %62, align 8, !tbaa !18
%164 = getelementptr inbounds i8, ptr %163, i64 %159
store i8 %162, ptr %164, align 1, !tbaa !22
%165 = or disjoint i64 %159, 1
%166 = getelementptr inbounds i8, ptr %116, i64 %165
%167 = load i8, ptr %166, align 1, !tbaa !22
%168 = load ptr, ptr %62, align 8, !tbaa !18
%169 = getelementptr inbounds i8, ptr %168, i64 %165
store i8 %167, ptr %169, align 1, !tbaa !22
%170 = or disjoint i64 %159, 2
%171 = getelementptr inbounds i8, ptr %116, i64 %170
%172 = load i8, ptr %171, align 1, !tbaa !22
%173 = load ptr, ptr %62, align 8, !tbaa !18
%174 = getelementptr inbounds i8, ptr %173, i64 %170
store i8 %172, ptr %174, align 1, !tbaa !22
%175 = or disjoint i64 %159, 3
%176 = getelementptr inbounds i8, ptr %116, i64 %175
%177 = load i8, ptr %176, align 1, !tbaa !22
%178 = load ptr, ptr %62, align 8, !tbaa !18
%179 = getelementptr inbounds i8, ptr %178, i64 %175
store i8 %177, ptr %179, align 1, !tbaa !22
%180 = add nuw nsw i64 %159, 4
%181 = add i64 %160, 4
%182 = icmp eq i64 %181, %157
br i1 %182, label %183, label %158, !llvm.loop !24
183: ; preds = %158, %152
%184 = phi i64 [ 0, %152 ], [ %180, %158 ]
%185 = icmp eq i64 %154, 0
br i1 %185, label %196, label %186
186: ; preds = %183, %186
%187 = phi i64 [ %193, %186 ], [ %184, %183 ]
%188 = phi i64 [ %194, %186 ], [ 0, %183 ]
%189 = getelementptr inbounds i8, ptr %116, i64 %187
%190 = load i8, ptr %189, align 1, !tbaa !22
%191 = load ptr, ptr %62, align 8, !tbaa !18
%192 = getelementptr inbounds i8, ptr %191, i64 %187
store i8 %190, ptr %192, align 1, !tbaa !22
%193 = add nuw nsw i64 %187, 1
%194 = add i64 %188, 1
%195 = icmp eq i64 %194, %154
br i1 %195, label %196, label %186, !llvm.loop !26
196: ; preds = %183, %186, %146, %143
%197 = phi i32 [ %99, %143 ], [ %150, %146 ], [ %150, %186 ], [ %150, %183 ]
%198 = load i32, ptr %66, align 8, !tbaa !13
%199 = call i32 @EVP_DecodeInit(i32 noundef %198) #5
store i64 0, ptr %64, align 8, !tbaa !21
br label %204
200: ; preds = %114, %140, %124
%201 = phi ptr [ %116, %114 ], [ %118, %124 ], [ %118, %140 ]
%202 = add nuw nsw i32 %117, 1
%203 = icmp eq i32 %202, %99
br i1 %203, label %204, label %114, !llvm.loop !28
204: ; preds = %200, %111, %196
%205 = phi i32 [ %117, %196 ], [ 0, %111 ], [ %99, %200 ]
%206 = phi ptr [ %116, %196 ], [ %112, %111 ], [ %201, %200 ]
%207 = phi i32 [ %197, %196 ], [ %99, %111 ], [ %99, %200 ]
%208 = phi ptr [ %118, %196 ], [ %112, %111 ], [ %118, %200 ]
%209 = icmp eq i32 %205, %207
%210 = load i32, ptr %4, align 4
%211 = icmp eq i32 %210, 0
%212 = select i1 %209, i1 %211, i1 false
br i1 %212, label %213, label %287
213: ; preds = %204
%214 = load ptr, ptr %62, align 8, !tbaa !18
%215 = icmp eq ptr %206, %214
br i1 %215, label %216, label %220
216: ; preds = %213
%217 = load i32, ptr @B64_BLOCK_SIZE, align 4, !tbaa !20
%218 = icmp eq i32 %205, %217
br i1 %218, label %219, label %278
219: ; preds = %216
store i32 1, ptr %65, align 8, !tbaa !23
br label %276
220: ; preds = %213
%221 = icmp eq ptr %206, %208
br i1 %221, label %278, label %222
222: ; preds = %220
%223 = ptrtoint ptr %208 to i64
%224 = ptrtoint ptr %206 to i64
%225 = sub i64 %223, %224
%226 = trunc i64 %225 to i32
%227 = icmp sgt i32 %226, 0
br i1 %227, label %228, label %273
228: ; preds = %222
%229 = and i64 %225, 4294967295
%230 = add nsw i64 %229, -1
%231 = and i64 %225, 3
%232 = icmp ult i64 %230, 3
br i1 %232, label %260, label %233
233: ; preds = %228
%234 = sub nsw i64 %229, %231
br label %235
235: ; preds = %235, %233
%236 = phi i64 [ 0, %233 ], [ %257, %235 ]
%237 = phi i64 [ 0, %233 ], [ %258, %235 ]
%238 = getelementptr inbounds i8, ptr %206, i64 %236
%239 = load i8, ptr %238, align 1, !tbaa !22
%240 = load ptr, ptr %62, align 8, !tbaa !18
%241 = getelementptr inbounds i8, ptr %240, i64 %236
store i8 %239, ptr %241, align 1, !tbaa !22
%242 = or disjoint i64 %236, 1
%243 = getelementptr inbounds i8, ptr %206, i64 %242
%244 = load i8, ptr %243, align 1, !tbaa !22
%245 = load ptr, ptr %62, align 8, !tbaa !18
%246 = getelementptr inbounds i8, ptr %245, i64 %242
store i8 %244, ptr %246, align 1, !tbaa !22
%247 = or disjoint i64 %236, 2
%248 = getelementptr inbounds i8, ptr %206, i64 %247
%249 = load i8, ptr %248, align 1, !tbaa !22
%250 = load ptr, ptr %62, align 8, !tbaa !18
%251 = getelementptr inbounds i8, ptr %250, i64 %247
store i8 %249, ptr %251, align 1, !tbaa !22
%252 = or disjoint i64 %236, 3
%253 = getelementptr inbounds i8, ptr %206, i64 %252
%254 = load i8, ptr %253, align 1, !tbaa !22
%255 = load ptr, ptr %62, align 8, !tbaa !18
%256 = getelementptr inbounds i8, ptr %255, i64 %252
store i8 %254, ptr %256, align 1, !tbaa !22
%257 = add nuw nsw i64 %236, 4
%258 = add i64 %237, 4
%259 = icmp eq i64 %258, %234
br i1 %259, label %260, label %235, !llvm.loop !29
260: ; preds = %235, %228
%261 = phi i64 [ 0, %228 ], [ %257, %235 ]
%262 = icmp eq i64 %231, 0
br i1 %262, label %273, label %263
263: ; preds = %260, %263
%264 = phi i64 [ %270, %263 ], [ %261, %260 ]
%265 = phi i64 [ %271, %263 ], [ 0, %260 ]
%266 = getelementptr inbounds i8, ptr %206, i64 %264
%267 = load i8, ptr %266, align 1, !tbaa !22
%268 = load ptr, ptr %62, align 8, !tbaa !18
%269 = getelementptr inbounds i8, ptr %268, i64 %264
store i8 %267, ptr %269, align 1, !tbaa !22
%270 = add nuw nsw i64 %264, 1
%271 = add i64 %265, 1
%272 = icmp eq i64 %271, %231
br i1 %272, label %273, label %263, !llvm.loop !30
273: ; preds = %260, %263, %222
%274 = shl i64 %225, 32
%275 = ashr exact i64 %274, 32
br label %276
276: ; preds = %273, %219
%277 = phi i64 [ 0, %219 ], [ %275, %273 ]
store i64 %277, ptr %63, align 8, !tbaa !19
br label %278
278: ; preds = %276, %216, %220, %284
%279 = load i32, ptr %61, align 8, !tbaa !17
%280 = icmp slt i32 %279, 1
br i1 %280, label %347, label %76
281: ; preds = %94, %108
%282 = load i32, ptr @B64_BLOCK_SIZE, align 4, !tbaa !20
%283 = icmp slt i32 %99, %282
br i1 %283, label %284, label %289
284: ; preds = %281
%285 = load i32, ptr %61, align 8, !tbaa !17
%286 = icmp sgt i32 %285, 0
br i1 %286, label %278, label %289
287: ; preds = %204, %103
%288 = phi i32 [ %99, %103 ], [ %207, %204 ]
store i64 0, ptr %63, align 8, !tbaa !19
br label %289
289: ; preds = %284, %281, %287
%290 = phi i32 [ %288, %287 ], [ %99, %281 ], [ %99, %284 ]
%291 = call i32 @BIO_get_flags(ptr noundef %0) #5
%292 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4, !tbaa !20
%293 = and i32 %292, %291
%294 = icmp eq i32 %293, 0
%295 = load ptr, ptr %67, align 8, !tbaa !16
%296 = load ptr, ptr %62, align 8, !tbaa !18
br i1 %294, label %326, label %297
297: ; preds = %289
%298 = and i32 %290, -4
%299 = call i32 @EVP_DecodeBlock(ptr noundef %295, ptr noundef %296, i32 noundef %298) #5
%300 = icmp sgt i32 %298, 2
br i1 %300, label %301, label %314
301: ; preds = %297
%302 = load ptr, ptr %62, align 8, !tbaa !18
%303 = zext nneg i32 %298 to i64
%304 = getelementptr i8, ptr %302, i64 %303
%305 = getelementptr i8, ptr %304, i64 -1
%306 = load i8, ptr %305, align 1, !tbaa !22
%307 = icmp eq i8 %306, 61
br i1 %307, label %308, label %314
308: ; preds = %301
%309 = getelementptr i8, ptr %304, i64 -2
%310 = load i8, ptr %309, align 1, !tbaa !22
%311 = icmp eq i8 %310, 61
%312 = select i1 %311, i32 -2, i32 -1
%313 = add nsw i32 %312, %299
br label %314
314: ; preds = %308, %301, %297
%315 = phi i32 [ %299, %301 ], [ %299, %297 ], [ %313, %308 ]
%316 = icmp eq i32 %298, %290
br i1 %316, label %324, label %317
317: ; preds = %314
%318 = load ptr, ptr %62, align 8, !tbaa !18
%319 = sext i32 %298 to i64
%320 = getelementptr inbounds i8, ptr %318, i64 %319
%321 = and i32 %290, 3
%322 = call i32 @memmove(ptr noundef %318, ptr noundef %320, i32 noundef %321) #5
%323 = zext nneg i32 %321 to i64
store i64 %323, ptr %63, align 8, !tbaa !19
br label %324
324: ; preds = %317, %314
%325 = call i32 @llvm.smax.i32(i32 %315, i32 0)
store i32 %325, ptr %24, align 8, !tbaa !14
br label %329
326: ; preds = %289
%327 = load i32, ptr %66, align 8, !tbaa !13
%328 = call i32 @EVP_DecodeUpdate(i32 noundef %327, ptr noundef %295, ptr noundef nonnull %24, ptr noundef %296, i32 noundef %290) #5
store i64 0, ptr %63, align 8, !tbaa !19
br label %329
329: ; preds = %326, %324
%330 = phi i32 [ %315, %324 ], [ %328, %326 ]
store i32 %330, ptr %61, align 8, !tbaa !17
store i32 0, ptr %68, align 4, !tbaa !15
%331 = icmp slt i32 %330, 0
br i1 %331, label %332, label %333
332: ; preds = %329
store i32 0, ptr %24, align 8, !tbaa !14
br label %347
333: ; preds = %329
%334 = load i32, ptr %24, align 8, !tbaa !14
%335 = call i32 @llvm.smin.i32(i32 %334, i32 %71)
%336 = load ptr, ptr %67, align 8, !tbaa !16
%337 = call i32 @memcpy(ptr noundef %70, ptr noundef %336, i32 noundef %335) #5
%338 = add nsw i32 %335, %73
store i32 %335, ptr %68, align 4, !tbaa !15
%339 = load i32, ptr %24, align 8, !tbaa !14
%340 = icmp eq i32 %335, %339
br i1 %340, label %341, label %342
341: ; preds = %333
store i32 0, ptr %24, align 8, !tbaa !14
store i32 0, ptr %68, align 4, !tbaa !15
br label %342
342: ; preds = %341, %333
%343 = sub nsw i32 %71, %335
%344 = sext i32 %335 to i64
%345 = getelementptr inbounds i8, ptr %70, i64 %344
%346 = icmp sgt i32 %343, 0
br i1 %346, label %69, label %347, !llvm.loop !31
347: ; preds = %342, %69, %88, %91, %278, %55, %332
%348 = phi i32 [ %73, %332 ], [ %56, %55 ], [ %73, %278 ], [ %73, %91 ], [ %73, %88 ], [ %338, %342 ], [ %73, %69 ]
%349 = phi i32 [ 0, %332 ], [ 0, %55 ], [ %84, %88 ], [ %84, %91 ], [ %97, %278 ], [ %97, %342 ], [ %72, %69 ]
%350 = call i32 @BIO_copy_next_retry(ptr noundef %0) #5
%351 = icmp eq i32 %348, 0
%352 = select i1 %351, i32 %349, i32 %348
br label %353
353: ; preds = %6, %3, %347
%354 = phi i32 [ %352, %347 ], [ 0, %3 ], [ 0, %6 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
ret i32 %354
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @BIO_get_data(ptr noundef) local_unnamed_addr #2
declare ptr @BIO_next(ptr noundef) local_unnamed_addr #2
declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_DecodeInit(i32 noundef) local_unnamed_addr #2
declare i32 @OPENSSL_assert(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @BIO_should_retry(ptr noundef) local_unnamed_addr #2
declare i32 @BIO_get_flags(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_DecodeUpdate(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @EVP_DecodeBlock(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @BIO_copy_next_retry(ptr noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !10, i64 24, !11, i64 32, !10, i64 40, !11, i64 48, !10, i64 56, !7, i64 64}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !10, i64 56}
!14 = !{!6, !10, i64 8}
!15 = !{!6, !10, i64 12}
!16 = !{!6, !11, i64 48}
!17 = !{!6, !10, i64 24}
!18 = !{!6, !11, i64 32}
!19 = !{!6, !7, i64 16}
!20 = !{!10, !10, i64 0}
!21 = !{!6, !7, i64 64}
!22 = !{!8, !8, i64 0}
!23 = !{!6, !10, i64 40}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.unroll.disable"}
!28 = distinct !{!28, !25}
!29 = distinct !{!29, !25}
!30 = distinct !{!30, !27}
!31 = distinct !{!31, !25}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_bio_b64.c_b64_read.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_bio_b64.c_b64_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B64_DECODE = common local_unnamed_addr global i64 0, align 8
@B64_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4
@BIO_FLAGS_BASE64_NO_NL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @b64_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @b64_read(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
%5 = icmp eq ptr %1, null
br i1 %5, label %284, label %6
6: ; preds = %3
%7 = tail call i64 @BIO_get_data(ptr noundef %0) #5
%8 = inttoptr i64 %7 to ptr
%9 = tail call ptr @BIO_next(ptr noundef %0) #5
%10 = icmp eq i64 %7, 0
%11 = icmp eq ptr %9, null
%12 = select i1 %10, i1 true, i1 %11
br i1 %12, label %284, label %13
13: ; preds = %6
%14 = tail call i32 @BIO_clear_retry_flags(ptr noundef %0) #5
%15 = load i64, ptr %8, align 8, !tbaa !6
%16 = load i64, ptr @B64_DECODE, align 8, !tbaa !13
%17 = icmp eq i64 %15, %16
br i1 %17, label %23, label %18
18: ; preds = %13
store i64 %16, ptr %8, align 8, !tbaa !6
%19 = getelementptr inbounds i8, ptr %8, i64 8
%20 = getelementptr inbounds i8, ptr %8, i64 56
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false)
%21 = load i32, ptr %20, align 8, !tbaa !14
%22 = tail call i32 @EVP_DecodeInit(i32 noundef %21) #5
br label %23
23: ; preds = %18, %13
%24 = getelementptr inbounds i8, ptr %8, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !15
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %55
27: ; preds = %23
%28 = getelementptr inbounds i8, ptr %8, i64 12
%29 = load i32, ptr %28, align 4, !tbaa !16
%30 = icmp sge i32 %25, %29
%31 = zext i1 %30 to i32
%32 = tail call i32 @OPENSSL_assert(i32 noundef %31) #5
%33 = load i32, ptr %24, align 8, !tbaa !15
%34 = load i32, ptr %28, align 4, !tbaa !16
%35 = sub nsw i32 %33, %34
%36 = tail call i32 @llvm.smin.i32(i32 %35, i32 %2)
%37 = add nsw i32 %36, %34
%38 = icmp slt i32 %37, 8
%39 = zext i1 %38 to i32
%40 = tail call i32 @OPENSSL_assert(i32 noundef %39) #5
%41 = getelementptr inbounds i8, ptr %8, i64 48
%42 = load ptr, ptr %41, align 8, !tbaa !17
%43 = load i32, ptr %28, align 4, !tbaa !16
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = tail call i32 @memcpy(ptr noundef nonnull %1, ptr noundef %45, i32 noundef %36) #5
%47 = sext i32 %36 to i64
%48 = getelementptr inbounds i8, ptr %1, i64 %47
%49 = sub nsw i32 %2, %36
%50 = load i32, ptr %28, align 4, !tbaa !16
%51 = add nsw i32 %50, %36
store i32 %51, ptr %28, align 4, !tbaa !16
%52 = load i32, ptr %24, align 8, !tbaa !15
%53 = icmp eq i32 %52, %51
br i1 %53, label %54, label %55
54: ; preds = %27
store <2 x i32> zeroinitializer, ptr %24, align 8, !tbaa !18
br label %55
55: ; preds = %27, %54, %23
%56 = phi i32 [ %36, %54 ], [ %36, %27 ], [ 0, %23 ]
%57 = phi i32 [ %49, %54 ], [ %49, %27 ], [ %2, %23 ]
%58 = phi ptr [ %48, %54 ], [ %48, %27 ], [ %1, %23 ]
%59 = icmp sgt i32 %57, 0
br i1 %59, label %60, label %278
60: ; preds = %55
%61 = getelementptr inbounds i8, ptr %8, i64 24
%62 = getelementptr inbounds i8, ptr %8, i64 32
%63 = getelementptr inbounds i8, ptr %8, i64 16
%64 = getelementptr inbounds i8, ptr %8, i64 64
%65 = getelementptr inbounds i8, ptr %8, i64 40
%66 = getelementptr inbounds i8, ptr %8, i64 56
%67 = getelementptr inbounds i8, ptr %8, i64 48
%68 = getelementptr inbounds i8, ptr %8, i64 12
br label %69
69: ; preds = %60, %273
%70 = phi ptr [ %58, %60 ], [ %276, %273 ]
%71 = phi i32 [ %57, %60 ], [ %274, %273 ]
%72 = phi i32 [ 0, %60 ], [ %97, %273 ]
%73 = phi i32 [ %56, %60 ], [ %269, %273 ]
%74 = load i32, ptr %61, align 8, !tbaa !19
%75 = icmp slt i32 %74, 1
br i1 %75, label %278, label %76
76: ; preds = %69, %209
%77 = phi i32 [ %97, %209 ], [ %72, %69 ]
%78 = load ptr, ptr %62, align 8, !tbaa !20
%79 = load i64, ptr %63, align 8, !tbaa !21
%80 = getelementptr inbounds i8, ptr %78, i64 %79
%81 = load i32, ptr @B64_BLOCK_SIZE, align 4, !tbaa !18
%82 = trunc i64 %79 to i32
%83 = sub i32 %81, %82
%84 = call i32 @BIO_read(ptr noundef %9, ptr noundef %80, i32 noundef %83) #5
%85 = icmp slt i32 %84, 1
br i1 %85, label %88, label %86
86: ; preds = %76
%87 = load i64, ptr %63, align 8, !tbaa !21
br label %94
88: ; preds = %76
%89 = call i32 @BIO_should_retry(ptr noundef %9) #5
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %278
91: ; preds = %88
store i32 %84, ptr %61, align 8, !tbaa !19
%92 = load i64, ptr %63, align 8, !tbaa !21
%93 = icmp eq i64 %92, 0
br i1 %93, label %278, label %94
94: ; preds = %86, %91
%95 = phi i64 [ %87, %86 ], [ %92, %91 ]
%96 = phi i32 [ %84, %86 ], [ 0, %91 ]
%97 = phi i32 [ %77, %86 ], [ %84, %91 ]
%98 = trunc i64 %95 to i32
%99 = add i32 %96, %98
%100 = sext i32 %99 to i64
store i64 %100, ptr %63, align 8, !tbaa !21
%101 = load i64, ptr %64, align 8, !tbaa !22
%102 = icmp eq i64 %101, 0
br i1 %102, label %212, label %103
103: ; preds = %94
%104 = call i32 @BIO_get_flags(ptr noundef %0) #5
%105 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4, !tbaa !18
%106 = and i32 %105, %104
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %218
108: ; preds = %103
%109 = load i64, ptr %64, align 8, !tbaa !22
%110 = icmp eq i64 %109, 0
br i1 %110, label %212, label %111
111: ; preds = %108
%112 = load ptr, ptr %62, align 8, !tbaa !20
store i32 0, ptr %4, align 4, !tbaa !18
%113 = icmp sgt i32 %99, 0
br i1 %113, label %114, label %170
114: ; preds = %111, %166
%115 = phi ptr [ %118, %166 ], [ %112, %111 ]
%116 = phi ptr [ %167, %166 ], [ %112, %111 ]
%117 = phi i32 [ %168, %166 ], [ 0, %111 ]
%118 = getelementptr inbounds i8, ptr %115, i64 1
%119 = load i8, ptr %115, align 1, !tbaa !23
%120 = icmp eq i8 %119, 10
br i1 %120, label %121, label %166
121: ; preds = %114
%122 = load i32, ptr %65, align 8, !tbaa !24
%123 = icmp eq i32 %122, 0
br i1 %123, label %125, label %124
124: ; preds = %121
store i32 0, ptr %65, align 8, !tbaa !24
br label %166
125: ; preds = %121
%126 = load i32, ptr %66, align 8, !tbaa !14
%127 = load ptr, ptr %67, align 8, !tbaa !17
%128 = ptrtoint ptr %118 to i64
%129 = ptrtoint ptr %116 to i64
%130 = sub i64 %128, %129
%131 = trunc i64 %130 to i32
%132 = call i32 @EVP_DecodeUpdate(i32 noundef %126, ptr noundef %127, ptr noundef nonnull %4, ptr noundef %116, i32 noundef %131) #5
%133 = icmp slt i32 %132, 1
%134 = load i32, ptr %4, align 4
%135 = icmp eq i32 %134, 0
%136 = select i1 %133, i1 %135, i1 false
br i1 %136, label %137, label %143
137: ; preds = %125
%138 = load i64, ptr %64, align 8, !tbaa !22
%139 = icmp eq i64 %138, 0
br i1 %139, label %143, label %140
140: ; preds = %137
%141 = load i32, ptr %66, align 8, !tbaa !14
%142 = call i32 @EVP_DecodeInit(i32 noundef %141) #5
br label %166
143: ; preds = %137, %125
%144 = load ptr, ptr %62, align 8, !tbaa !20
%145 = icmp eq ptr %116, %144
br i1 %145, label %162, label %146
146: ; preds = %143
%147 = ptrtoint ptr %144 to i64
%148 = sub i64 %147, %129
%149 = trunc i64 %148 to i32
%150 = add i32 %99, %149
%151 = icmp sgt i32 %150, 0
br i1 %151, label %152, label %162
152: ; preds = %146
%153 = zext nneg i32 %150 to i64
br label %154
154: ; preds = %152, %154
%155 = phi i64 [ 0, %152 ], [ %160, %154 ]
%156 = getelementptr inbounds i8, ptr %116, i64 %155
%157 = load i8, ptr %156, align 1, !tbaa !23
%158 = load ptr, ptr %62, align 8, !tbaa !20
%159 = getelementptr inbounds i8, ptr %158, i64 %155
store i8 %157, ptr %159, align 1, !tbaa !23
%160 = add nuw nsw i64 %155, 1
%161 = icmp ult i64 %160, %153
br i1 %161, label %154, label %162, !llvm.loop !25
162: ; preds = %154, %146, %143
%163 = phi i32 [ %99, %143 ], [ %150, %146 ], [ %150, %154 ]
%164 = load i32, ptr %66, align 8, !tbaa !14
%165 = call i32 @EVP_DecodeInit(i32 noundef %164) #5
store i64 0, ptr %64, align 8, !tbaa !22
br label %170
166: ; preds = %114, %140, %124
%167 = phi ptr [ %116, %114 ], [ %118, %124 ], [ %118, %140 ]
%168 = add nuw nsw i32 %117, 1
%169 = icmp eq i32 %168, %99
br i1 %169, label %170, label %114, !llvm.loop !27
170: ; preds = %166, %111, %162
%171 = phi i32 [ %117, %162 ], [ 0, %111 ], [ %99, %166 ]
%172 = phi ptr [ %116, %162 ], [ %112, %111 ], [ %167, %166 ]
%173 = phi i32 [ %163, %162 ], [ %99, %111 ], [ %99, %166 ]
%174 = phi ptr [ %118, %162 ], [ %112, %111 ], [ %118, %166 ]
%175 = icmp eq i32 %171, %173
%176 = load i32, ptr %4, align 4
%177 = icmp eq i32 %176, 0
%178 = select i1 %175, i1 %177, i1 false
br i1 %178, label %179, label %218
179: ; preds = %170
%180 = load ptr, ptr %62, align 8, !tbaa !20
%181 = icmp eq ptr %172, %180
br i1 %181, label %182, label %186
182: ; preds = %179
%183 = load i32, ptr @B64_BLOCK_SIZE, align 4, !tbaa !18
%184 = icmp eq i32 %171, %183
br i1 %184, label %185, label %209
185: ; preds = %182
store i32 1, ptr %65, align 8, !tbaa !24
br label %207
186: ; preds = %179
%187 = icmp eq ptr %172, %174
br i1 %187, label %209, label %188
188: ; preds = %186
%189 = ptrtoint ptr %174 to i64
%190 = ptrtoint ptr %172 to i64
%191 = sub i64 %189, %190
%192 = trunc i64 %191 to i32
%193 = icmp sgt i32 %192, 0
br i1 %193, label %194, label %204
194: ; preds = %188
%195 = and i64 %191, 2147483647
br label %196
196: ; preds = %194, %196
%197 = phi i64 [ 0, %194 ], [ %202, %196 ]
%198 = getelementptr inbounds i8, ptr %172, i64 %197
%199 = load i8, ptr %198, align 1, !tbaa !23
%200 = load ptr, ptr %62, align 8, !tbaa !20
%201 = getelementptr inbounds i8, ptr %200, i64 %197
store i8 %199, ptr %201, align 1, !tbaa !23
%202 = add nuw nsw i64 %197, 1
%203 = icmp eq i64 %202, %195
br i1 %203, label %204, label %196, !llvm.loop !28
204: ; preds = %196, %188
%205 = shl i64 %191, 32
%206 = ashr exact i64 %205, 32
br label %207
207: ; preds = %204, %185
%208 = phi i64 [ 0, %185 ], [ %206, %204 ]
store i64 %208, ptr %63, align 8, !tbaa !21
br label %209
209: ; preds = %207, %182, %186, %215
%210 = load i32, ptr %61, align 8, !tbaa !19
%211 = icmp slt i32 %210, 1
br i1 %211, label %278, label %76
212: ; preds = %94, %108
%213 = load i32, ptr @B64_BLOCK_SIZE, align 4, !tbaa !18
%214 = icmp slt i32 %99, %213
br i1 %214, label %215, label %220
215: ; preds = %212
%216 = load i32, ptr %61, align 8, !tbaa !19
%217 = icmp sgt i32 %216, 0
br i1 %217, label %209, label %220
218: ; preds = %170, %103
%219 = phi i32 [ %99, %103 ], [ %173, %170 ]
store i64 0, ptr %63, align 8, !tbaa !21
br label %220
220: ; preds = %215, %212, %218
%221 = phi i32 [ %219, %218 ], [ %99, %212 ], [ %99, %215 ]
%222 = call i32 @BIO_get_flags(ptr noundef %0) #5
%223 = load i32, ptr @BIO_FLAGS_BASE64_NO_NL, align 4, !tbaa !18
%224 = and i32 %223, %222
%225 = icmp eq i32 %224, 0
%226 = load ptr, ptr %67, align 8, !tbaa !17
%227 = load ptr, ptr %62, align 8, !tbaa !20
br i1 %225, label %257, label %228
228: ; preds = %220
%229 = and i32 %221, -4
%230 = call i32 @EVP_DecodeBlock(ptr noundef %226, ptr noundef %227, i32 noundef %229) #5
%231 = icmp sgt i32 %229, 2
br i1 %231, label %232, label %245
232: ; preds = %228
%233 = load ptr, ptr %62, align 8, !tbaa !20
%234 = zext nneg i32 %229 to i64
%235 = getelementptr i8, ptr %233, i64 %234
%236 = getelementptr i8, ptr %235, i64 -1
%237 = load i8, ptr %236, align 1, !tbaa !23
%238 = icmp eq i8 %237, 61
br i1 %238, label %239, label %245
239: ; preds = %232
%240 = getelementptr i8, ptr %235, i64 -2
%241 = load i8, ptr %240, align 1, !tbaa !23
%242 = icmp eq i8 %241, 61
%243 = select i1 %242, i32 -2, i32 -1
%244 = add nsw i32 %243, %230
br label %245
245: ; preds = %239, %232, %228
%246 = phi i32 [ %230, %232 ], [ %230, %228 ], [ %244, %239 ]
%247 = icmp eq i32 %229, %221
br i1 %247, label %255, label %248
248: ; preds = %245
%249 = load ptr, ptr %62, align 8, !tbaa !20
%250 = sext i32 %229 to i64
%251 = getelementptr inbounds i8, ptr %249, i64 %250
%252 = and i32 %221, 3
%253 = call i32 @memmove(ptr noundef %249, ptr noundef %251, i32 noundef %252) #5
%254 = zext nneg i32 %252 to i64
store i64 %254, ptr %63, align 8, !tbaa !21
br label %255
255: ; preds = %248, %245
%256 = call i32 @llvm.smax.i32(i32 %246, i32 0)
store i32 %256, ptr %24, align 8, !tbaa !15
br label %260
257: ; preds = %220
%258 = load i32, ptr %66, align 8, !tbaa !14
%259 = call i32 @EVP_DecodeUpdate(i32 noundef %258, ptr noundef %226, ptr noundef nonnull %24, ptr noundef %227, i32 noundef %221) #5
store i64 0, ptr %63, align 8, !tbaa !21
br label %260
260: ; preds = %257, %255
%261 = phi i32 [ %246, %255 ], [ %259, %257 ]
store i32 %261, ptr %61, align 8, !tbaa !19
store i32 0, ptr %68, align 4, !tbaa !16
%262 = icmp slt i32 %261, 0
br i1 %262, label %263, label %264
263: ; preds = %260
store i32 0, ptr %24, align 8, !tbaa !15
br label %278
264: ; preds = %260
%265 = load i32, ptr %24, align 8, !tbaa !15
%266 = call i32 @llvm.smin.i32(i32 %265, i32 %71)
%267 = load ptr, ptr %67, align 8, !tbaa !17
%268 = call i32 @memcpy(ptr noundef %70, ptr noundef %267, i32 noundef %266) #5
%269 = add nsw i32 %266, %73
store i32 %266, ptr %68, align 4, !tbaa !16
%270 = load i32, ptr %24, align 8, !tbaa !15
%271 = icmp eq i32 %266, %270
br i1 %271, label %272, label %273
272: ; preds = %264
store <2 x i32> zeroinitializer, ptr %24, align 8, !tbaa !18
br label %273
273: ; preds = %272, %264
%274 = sub nsw i32 %71, %266
%275 = sext i32 %266 to i64
%276 = getelementptr inbounds i8, ptr %70, i64 %275
%277 = icmp sgt i32 %274, 0
br i1 %277, label %69, label %278, !llvm.loop !29
278: ; preds = %273, %69, %88, %91, %209, %55, %263
%279 = phi i32 [ %73, %263 ], [ %56, %55 ], [ %73, %209 ], [ %73, %91 ], [ %73, %88 ], [ %269, %273 ], [ %73, %69 ]
%280 = phi i32 [ 0, %263 ], [ 0, %55 ], [ %84, %88 ], [ %84, %91 ], [ %97, %209 ], [ %97, %273 ], [ %72, %69 ]
%281 = call i32 @BIO_copy_next_retry(ptr noundef %0) #5
%282 = icmp eq i32 %279, 0
%283 = select i1 %282, i32 %280, i32 %279
br label %284
284: ; preds = %6, %3, %278
%285 = phi i32 [ %283, %278 ], [ 0, %3 ], [ 0, %6 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
ret i32 %285
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @BIO_get_data(ptr noundef) local_unnamed_addr #2
declare ptr @BIO_next(ptr noundef) local_unnamed_addr #2
declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_DecodeInit(i32 noundef) local_unnamed_addr #2
declare i32 @OPENSSL_assert(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @BIO_should_retry(ptr noundef) local_unnamed_addr #2
declare i32 @BIO_get_flags(ptr noundef) local_unnamed_addr #2
declare i32 @EVP_DecodeUpdate(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @EVP_DecodeBlock(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @BIO_copy_next_retry(ptr noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !11, i64 24, !12, i64 32, !11, i64 40, !12, i64 48, !11, i64 56, !8, i64 64}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !11, i64 56}
!15 = !{!7, !11, i64 8}
!16 = !{!7, !11, i64 12}
!17 = !{!7, !12, i64 48}
!18 = !{!11, !11, i64 0}
!19 = !{!7, !11, i64 24}
!20 = !{!7, !12, i64 32}
!21 = !{!7, !8, i64 16}
!22 = !{!7, !8, i64 64}
!23 = !{!9, !9, i64 0}
!24 = !{!7, !11, i64 40}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !26}
| freebsd_crypto_openssl_crypto_evp_extr_bio_b64.c_b64_read |
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_dn_sched_fq_pie.c_fq_pie_classify_flow.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_dn_sched_fq_pie.c_fq_pie_classify_flow.c"
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.ip6_hdr = type { i32, %struct.TYPE_7__, %struct.TYPE_6__ }
%struct.TYPE_7__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
%struct.ip = type { i32, i32, %struct.TYPE_9__, %struct.TYPE_8__ }
%struct.TYPE_9__ = type { i32 }
%struct.TYPE_8__ = type { i32 }
@HASHINIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fq_pie_classify_flow], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @fq_pie_classify_flow(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca [41 x i32], align 16
call void @llvm.lifetime.start.p0(i64 164, ptr nonnull %4) #3
%5 = tail call ptr @dn_tag_get(ptr noundef %0) #3
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i64 @mtodo(ptr noundef %0, i32 noundef %6) #3
%8 = inttoptr i64 %7 to ptr
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = icmp eq i32 %9, 6
br i1 %10, label %11, label %40
11: ; preds = %3
store i32 6, ptr %4, align 16, !tbaa !10
%12 = load i32, ptr %2, align 4, !tbaa !11
%13 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 1
store i32 %12, ptr %13, align 4, !tbaa !10
%14 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 5
%15 = getelementptr inbounds %struct.ip6_hdr, ptr %8, i64 0, i32 2
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = call i32 @memcpy(ptr noundef nonnull %14, i32 noundef %16, i32 noundef 16) #3
%18 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 21
%19 = getelementptr inbounds %struct.ip6_hdr, ptr %8, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !17
%21 = call i32 @memcpy(ptr noundef nonnull %18, i32 noundef %20, i32 noundef 16) #3
%22 = load i32, ptr %8, align 4, !tbaa !18
switch i32 %22, label %37 [
i32 129, label %23
i32 128, label %30
]
23: ; preds = %11
%24 = getelementptr inbounds %struct.ip6_hdr, ptr %8, i64 1
%25 = load i32, ptr %24, align 4, !tbaa !19
%26 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 37
store i32 %25, ptr %26, align 4, !tbaa !10
%27 = getelementptr inbounds %struct.ip6_hdr, ptr %8, i64 1, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !21
%29 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 39
store i32 %28, ptr %29, align 4, !tbaa !10
br label %68
30: ; preds = %11
%31 = getelementptr inbounds %struct.ip6_hdr, ptr %8, i64 1
%32 = load i32, ptr %31, align 4, !tbaa !22
%33 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 37
store i32 %32, ptr %33, align 4, !tbaa !10
%34 = getelementptr inbounds %struct.ip6_hdr, ptr %8, i64 1, i32 1
%35 = load i32, ptr %34, align 4, !tbaa !24
%36 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 39
store i32 %35, ptr %36, align 4, !tbaa !10
br label %68
37: ; preds = %11
%38 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 37
%39 = call i32 @memset(ptr noundef nonnull %38, i32 noundef 0, i32 noundef 4) #3
br label %68
40: ; preds = %3
%41 = getelementptr inbounds %struct.ip, ptr %8, i64 0, i32 1
%42 = load i32, ptr %41, align 4, !tbaa !25
store i32 %42, ptr %4, align 16, !tbaa !10
%43 = load i32, ptr %2, align 4, !tbaa !11
%44 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 1
store i32 %43, ptr %44, align 4, !tbaa !10
%45 = getelementptr inbounds %struct.ip, ptr %8, i64 0, i32 3
%46 = load i32, ptr %45, align 4, !tbaa !29
%47 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 5
store i32 %46, ptr %47, align 4, !tbaa !10
%48 = getelementptr inbounds %struct.ip, ptr %8, i64 0, i32 2
%49 = load i32, ptr %48, align 4, !tbaa !30
%50 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 9
store i32 %49, ptr %50, align 4, !tbaa !10
switch i32 %42, label %65 [
i32 129, label %51
i32 128, label %58
]
51: ; preds = %40
%52 = getelementptr inbounds %struct.ip, ptr %8, i64 1
%53 = load i32, ptr %52, align 4, !tbaa !19
%54 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 13
store i32 %53, ptr %54, align 4, !tbaa !10
%55 = getelementptr inbounds %struct.ip, ptr %8, i64 1, i32 1
%56 = load i32, ptr %55, align 4, !tbaa !21
%57 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 15
store i32 %56, ptr %57, align 4, !tbaa !10
br label %68
58: ; preds = %40
%59 = getelementptr inbounds %struct.ip, ptr %8, i64 1
%60 = load i32, ptr %59, align 4, !tbaa !22
%61 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 13
store i32 %60, ptr %61, align 4, !tbaa !10
%62 = getelementptr inbounds %struct.ip, ptr %8, i64 1, i32 1
%63 = load i32, ptr %62, align 4, !tbaa !24
%64 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 15
store i32 %63, ptr %64, align 4, !tbaa !10
br label %68
65: ; preds = %40
%66 = getelementptr inbounds [41 x i32], ptr %4, i64 0, i64 13
%67 = call i32 @memset(ptr noundef nonnull %66, i32 noundef 0, i32 noundef 4) #3
br label %68
68: ; preds = %51, %58, %65, %23, %30, %37
%69 = phi i32 [ 41, %37 ], [ 41, %30 ], [ 41, %23 ], [ 17, %65 ], [ 17, %58 ], [ 17, %51 ]
%70 = load i32, ptr @HASHINIT, align 4, !tbaa !10
%71 = call i32 @jenkins_hash(ptr noundef nonnull %4, i32 noundef %69, i32 noundef %70) #3
%72 = srem i32 %71, %1
call void @llvm.lifetime.end.p0(i64 164, ptr nonnull %4) #3
ret i32 %72
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @mtodo(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @dn_tag_get(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @jenkins_hash(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { inlinehint 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_10__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"fq_pie_si", !7, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"ip6_hdr", !7, i64 0, !15, i64 4, !16, i64 8}
!15 = !{!"TYPE_7__", !7, i64 0}
!16 = !{!"TYPE_6__", !7, i64 0}
!17 = !{!14, !7, i64 4}
!18 = !{!14, !7, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"tcphdr", !7, i64 0, !7, i64 4}
!21 = !{!20, !7, i64 4}
!22 = !{!23, !7, i64 0}
!23 = !{!"udphdr", !7, i64 0, !7, i64 4}
!24 = !{!23, !7, i64 4}
!25 = !{!26, !7, i64 4}
!26 = !{!"ip", !7, i64 0, !7, i64 4, !27, i64 8, !28, i64 12}
!27 = !{!"TYPE_9__", !7, i64 0}
!28 = !{!"TYPE_8__", !7, i64 0}
!29 = !{!26, !7, i64 12}
!30 = !{!26, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_dn_sched_fq_pie.c_fq_pie_classify_flow.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_dn_sched_fq_pie.c_fq_pie_classify_flow.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HASHINIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fq_pie_classify_flow], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @fq_pie_classify_flow(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca [41 x i32], align 4
call void @llvm.lifetime.start.p0(i64 164, ptr nonnull %4) #3
%5 = tail call ptr @dn_tag_get(ptr noundef %0) #3
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i64 @mtodo(ptr noundef %0, i32 noundef %6) #3
%8 = inttoptr i64 %7 to ptr
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = icmp eq i32 %9, 6
br i1 %10, label %11, label %40
11: ; preds = %3
store i32 6, ptr %4, align 4, !tbaa !11
%12 = load i32, ptr %2, align 4, !tbaa !12
%13 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %12, ptr %13, align 4, !tbaa !11
%14 = getelementptr inbounds i8, ptr %4, i64 20
%15 = getelementptr inbounds i8, ptr %8, i64 8
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = call i32 @memcpy(ptr noundef nonnull %14, i32 noundef %16, i32 noundef 16) #3
%18 = getelementptr inbounds i8, ptr %4, i64 84
%19 = getelementptr inbounds i8, ptr %8, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !18
%21 = call i32 @memcpy(ptr noundef nonnull %18, i32 noundef %20, i32 noundef 16) #3
%22 = load i32, ptr %8, align 4, !tbaa !19
switch i32 %22, label %37 [
i32 129, label %23
i32 128, label %30
]
23: ; preds = %11
%24 = getelementptr inbounds i8, ptr %8, i64 12
%25 = load i32, ptr %24, align 4, !tbaa !20
%26 = getelementptr inbounds i8, ptr %4, i64 148
store i32 %25, ptr %26, align 4, !tbaa !11
%27 = getelementptr inbounds i8, ptr %8, i64 16
%28 = load i32, ptr %27, align 4, !tbaa !22
%29 = getelementptr inbounds i8, ptr %4, i64 156
store i32 %28, ptr %29, align 4, !tbaa !11
br label %68
30: ; preds = %11
%31 = getelementptr inbounds i8, ptr %8, i64 12
%32 = load i32, ptr %31, align 4, !tbaa !23
%33 = getelementptr inbounds i8, ptr %4, i64 148
store i32 %32, ptr %33, align 4, !tbaa !11
%34 = getelementptr inbounds i8, ptr %8, i64 16
%35 = load i32, ptr %34, align 4, !tbaa !25
%36 = getelementptr inbounds i8, ptr %4, i64 156
store i32 %35, ptr %36, align 4, !tbaa !11
br label %68
37: ; preds = %11
%38 = getelementptr inbounds i8, ptr %4, i64 148
%39 = call i32 @memset(ptr noundef nonnull %38, i32 noundef 0, i32 noundef 4) #3
br label %68
40: ; preds = %3
%41 = getelementptr inbounds i8, ptr %8, i64 4
%42 = load i32, ptr %41, align 4, !tbaa !26
store i32 %42, ptr %4, align 4, !tbaa !11
%43 = load i32, ptr %2, align 4, !tbaa !12
%44 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %43, ptr %44, align 4, !tbaa !11
%45 = getelementptr inbounds i8, ptr %8, i64 12
%46 = load i32, ptr %45, align 4, !tbaa !30
%47 = getelementptr inbounds i8, ptr %4, i64 20
store i32 %46, ptr %47, align 4, !tbaa !11
%48 = getelementptr inbounds i8, ptr %8, i64 8
%49 = load i32, ptr %48, align 4, !tbaa !31
%50 = getelementptr inbounds i8, ptr %4, i64 36
store i32 %49, ptr %50, align 4, !tbaa !11
switch i32 %42, label %65 [
i32 129, label %51
i32 128, label %58
]
51: ; preds = %40
%52 = getelementptr inbounds i8, ptr %8, i64 16
%53 = load i32, ptr %52, align 4, !tbaa !20
%54 = getelementptr inbounds i8, ptr %4, i64 52
store i32 %53, ptr %54, align 4, !tbaa !11
%55 = getelementptr inbounds i8, ptr %8, i64 20
%56 = load i32, ptr %55, align 4, !tbaa !22
%57 = getelementptr inbounds i8, ptr %4, i64 60
store i32 %56, ptr %57, align 4, !tbaa !11
br label %68
58: ; preds = %40
%59 = getelementptr inbounds i8, ptr %8, i64 16
%60 = load i32, ptr %59, align 4, !tbaa !23
%61 = getelementptr inbounds i8, ptr %4, i64 52
store i32 %60, ptr %61, align 4, !tbaa !11
%62 = getelementptr inbounds i8, ptr %8, i64 20
%63 = load i32, ptr %62, align 4, !tbaa !25
%64 = getelementptr inbounds i8, ptr %4, i64 60
store i32 %63, ptr %64, align 4, !tbaa !11
br label %68
65: ; preds = %40
%66 = getelementptr inbounds i8, ptr %4, i64 52
%67 = call i32 @memset(ptr noundef nonnull %66, i32 noundef 0, i32 noundef 4) #3
br label %68
68: ; preds = %51, %58, %65, %23, %30, %37
%69 = phi i32 [ 41, %37 ], [ 41, %30 ], [ 41, %23 ], [ 17, %65 ], [ 17, %58 ], [ 17, %51 ]
%70 = load i32, ptr @HASHINIT, align 4, !tbaa !11
%71 = call i32 @jenkins_hash(ptr noundef nonnull %4, i32 noundef %69, i32 noundef %70) #3
%72 = srem i32 %71, %1
call void @llvm.lifetime.end.p0(i64 164, ptr nonnull %4) #3
ret i32 %72
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @mtodo(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @dn_tag_get(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @jenkins_hash(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_10__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"fq_pie_si", !8, i64 0}
!14 = !{!15, !8, i64 8}
!15 = !{!"ip6_hdr", !8, i64 0, !16, i64 4, !17, i64 8}
!16 = !{!"TYPE_7__", !8, i64 0}
!17 = !{!"TYPE_6__", !8, i64 0}
!18 = !{!15, !8, i64 4}
!19 = !{!15, !8, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"tcphdr", !8, i64 0, !8, i64 4}
!22 = !{!21, !8, i64 4}
!23 = !{!24, !8, i64 0}
!24 = !{!"udphdr", !8, i64 0, !8, i64 4}
!25 = !{!24, !8, i64 4}
!26 = !{!27, !8, i64 4}
!27 = !{!"ip", !8, i64 0, !8, i64 4, !28, i64 8, !29, i64 12}
!28 = !{!"TYPE_9__", !8, i64 0}
!29 = !{!"TYPE_8__", !8, i64 0}
!30 = !{!27, !8, i64 12}
!31 = !{!27, !8, i64 8}
| freebsd_sys_netpfil_ipfw_extr_dn_sched_fq_pie.c_fq_pie_classify_flow |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_uap_txrx.c_mwifiex_uap_cleanup_tx_queues.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_uap_txrx.c_mwifiex_uap_cleanup_tx_queues.c"
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.mwifiex_private = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, ptr }
%struct.TYPE_3__ = type { %struct.list_head }
%struct.list_head = type { i32 }
@MAX_NUM_TID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mwifiex_uap_cleanup_tx_queues], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mwifiex_uap_cleanup_tx_queues(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.mwifiex_private, ptr %0, i64 0, i32 1
%3 = tail call i32 @spin_lock_bh(ptr noundef nonnull %2) #2
%4 = load i32, ptr @MAX_NUM_TID, align 4, !tbaa !5
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %31
6: ; preds = %1
%7 = getelementptr inbounds %struct.mwifiex_private, ptr %0, i64 0, i32 1, i32 1
%8 = load i32, ptr %0, align 8, !tbaa !9
br label %9
9: ; preds = %6, %25
%10 = phi i32 [ %8, %6 ], [ %28, %25 ]
%11 = phi i32 [ %4, %6 ], [ %29, %25 ]
%12 = phi i32 [ 0, %6 ], [ %26, %25 ]
%13 = icmp eq i32 %10, %11
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 0, ptr %0, align 8, !tbaa !9
br label %15
15: ; preds = %14, %9
%16 = phi i32 [ 0, %14 ], [ %10, %9 ]
%17 = load ptr, ptr %7, align 8, !tbaa !13
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %18
%20 = tail call i64 @mwifiex_uap_del_tx_pkts_in_ralist(ptr noundef nonnull %0, ptr noundef %19, i32 noundef %12) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %15
%23 = load i32, ptr %0, align 8, !tbaa !9
%24 = add nsw i32 %23, 1
store i32 %24, ptr %0, align 8, !tbaa !9
br label %31
25: ; preds = %15
%26 = add nuw nsw i32 %12, 1
%27 = load i32, ptr %0, align 8, !tbaa !9
%28 = add nsw i32 %27, 1
store i32 %28, ptr %0, align 8, !tbaa !9
%29 = load i32, ptr @MAX_NUM_TID, align 4, !tbaa !5
%30 = icmp slt i32 %26, %29
br i1 %30, label %9, label %31, !llvm.loop !14
31: ; preds = %25, %1, %22
%32 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %2) #2
ret void
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i64 @mwifiex_uap_del_tx_pkts_in_ralist(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"mwifiex_private", !6, i64 0, !11, i64 8}
!11 = !{!"TYPE_4__", !6, i64 0, !12, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_uap_txrx.c_mwifiex_uap_cleanup_tx_queues.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_uap_txrx.c_mwifiex_uap_cleanup_tx_queues.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { %struct.list_head }
%struct.list_head = type { i32 }
@MAX_NUM_TID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mwifiex_uap_cleanup_tx_queues], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mwifiex_uap_cleanup_tx_queues(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = tail call i32 @spin_lock_bh(ptr noundef nonnull %2) #2
%4 = load i32, ptr @MAX_NUM_TID, align 4, !tbaa !6
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %31
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 16
%8 = load i32, ptr %0, align 8, !tbaa !10
br label %9
9: ; preds = %6, %25
%10 = phi i32 [ %8, %6 ], [ %28, %25 ]
%11 = phi i32 [ %4, %6 ], [ %29, %25 ]
%12 = phi i32 [ 0, %6 ], [ %26, %25 ]
%13 = icmp eq i32 %10, %11
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 0, ptr %0, align 8, !tbaa !10
br label %15
15: ; preds = %14, %9
%16 = phi i32 [ 0, %14 ], [ %10, %9 ]
%17 = load ptr, ptr %7, align 8, !tbaa !14
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %18
%20 = tail call i64 @mwifiex_uap_del_tx_pkts_in_ralist(ptr noundef nonnull %0, ptr noundef %19, i32 noundef %12) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %15
%23 = load i32, ptr %0, align 8, !tbaa !10
%24 = add nsw i32 %23, 1
store i32 %24, ptr %0, align 8, !tbaa !10
br label %31
25: ; preds = %15
%26 = add nuw nsw i32 %12, 1
%27 = load i32, ptr %0, align 8, !tbaa !10
%28 = add nsw i32 %27, 1
store i32 %28, ptr %0, align 8, !tbaa !10
%29 = load i32, ptr @MAX_NUM_TID, align 4, !tbaa !6
%30 = icmp slt i32 %26, %29
br i1 %30, label %9, label %31, !llvm.loop !15
31: ; preds = %25, %1, %22
%32 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %2) #2
ret void
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i64 @mwifiex_uap_del_tx_pkts_in_ralist(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"mwifiex_private", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_4__", !7, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_wireless_marvell_mwifiex_extr_uap_txrx.c_mwifiex_uap_cleanup_tx_queues |
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_tree.c_xmlNewDoc.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_tree.c_xmlNewDoc.c"
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.TYPE_5__ = type { i32, i32, i32, i32, i64, ptr, ptr, i32 }
@.str = private unnamed_addr constant [4 x i8] c"1.0\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"building doc\00", align 1
@XML_DOCUMENT_NODE = dso_local local_unnamed_addr global i32 0, align 4
@XML_DOC_USERBUILT = dso_local local_unnamed_addr global i32 0, align 4
@XML_CHAR_ENCODING_UTF8 = dso_local local_unnamed_addr global i32 0, align 4
@__xmlRegisterCallbacks = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @xmlNewDoc(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @xmlMalloc(i32 noundef 4) #2
%3 = inttoptr i64 %2 to ptr
%4 = icmp eq i64 %2, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @xmlTreeErrMemory(ptr noundef nonnull @.str.1) #2
br label %32
7: ; preds = %1
%8 = icmp eq ptr %0, null
%9 = select i1 %8, ptr @.str, ptr %0
%10 = tail call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #2
%11 = load i32, ptr @XML_DOCUMENT_NODE, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 7
store i32 %11, ptr %12, align 8, !tbaa !9
%13 = tail call ptr @xmlStrdup(ptr noundef nonnull %9) #2
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 6
store ptr %13, ptr %14, align 8, !tbaa !13
%15 = icmp eq ptr %13, null
br i1 %15, label %16, label %19
16: ; preds = %7
%17 = tail call i32 @xmlTreeErrMemory(ptr noundef nonnull @.str.1) #2
%18 = tail call i32 @xmlFree(ptr noundef nonnull %3) #2
br label %32
19: ; preds = %7
store i32 -1, ptr %3, align 8, !tbaa !14
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 1
store i32 -1, ptr %20, align 4, !tbaa !15
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 5
store ptr %3, ptr %21, align 8, !tbaa !16
%22 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 4
store i64 0, ptr %22, align 8, !tbaa !17
%23 = load i32, ptr @XML_DOC_USERBUILT, align 4, !tbaa !5
%24 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 3
store i32 %23, ptr %24, align 4, !tbaa !18
%25 = load i32, ptr @XML_CHAR_ENCODING_UTF8, align 4, !tbaa !5
%26 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 2
store i32 %25, ptr %26, align 8, !tbaa !19
%27 = load i64, ptr @__xmlRegisterCallbacks, align 8, !tbaa !20
%28 = icmp eq i64 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %19
%30 = trunc i64 %2 to i32
%31 = tail call i32 @xmlRegisterNodeDefaultValue(i32 noundef %30) #2
br label %32
32: ; preds = %19, %29, %16, %5
%33 = phi ptr [ null, %5 ], [ null, %16 ], [ %3, %29 ], [ %3, %19 ]
ret ptr %33
}
declare i64 @xmlMalloc(i32 noundef) local_unnamed_addr #1
declare i32 @xmlTreeErrMemory(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xmlStrdup(ptr noundef) local_unnamed_addr #1
declare i32 @xmlFree(ptr noundef) local_unnamed_addr #1
declare i32 @xmlRegisterNodeDefaultValue(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 40}
!10 = !{!"TYPE_5__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !12, i64 24, !12, i64 32, !6, i64 40}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 32}
!14 = !{!10, !6, i64 0}
!15 = !{!10, !6, i64 4}
!16 = !{!10, !12, i64 24}
!17 = !{!10, !11, i64 16}
!18 = !{!10, !6, i64 12}
!19 = !{!10, !6, i64 8}
!20 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_tree.c_xmlNewDoc.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_tree.c_xmlNewDoc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"1.0\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"building doc\00", align 1
@XML_DOCUMENT_NODE = common local_unnamed_addr global i32 0, align 4
@XML_DOC_USERBUILT = common local_unnamed_addr global i32 0, align 4
@XML_CHAR_ENCODING_UTF8 = common local_unnamed_addr global i32 0, align 4
@__xmlRegisterCallbacks = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @xmlNewDoc(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @xmlMalloc(i32 noundef 4) #2
%3 = inttoptr i64 %2 to ptr
%4 = icmp eq i64 %2, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @xmlTreeErrMemory(ptr noundef nonnull @.str.1) #2
br label %31
7: ; preds = %1
%8 = icmp eq ptr %0, null
%9 = select i1 %8, ptr @.str, ptr %0
%10 = tail call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #2
%11 = load i32, ptr @XML_DOCUMENT_NODE, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %3, i64 40
store i32 %11, ptr %12, align 8, !tbaa !10
%13 = tail call ptr @xmlStrdup(ptr noundef nonnull %9) #2
%14 = getelementptr inbounds i8, ptr %3, i64 32
store ptr %13, ptr %14, align 8, !tbaa !14
%15 = icmp eq ptr %13, null
br i1 %15, label %16, label %19
16: ; preds = %7
%17 = tail call i32 @xmlTreeErrMemory(ptr noundef nonnull @.str.1) #2
%18 = tail call i32 @xmlFree(ptr noundef nonnull %3) #2
br label %31
19: ; preds = %7
store <2 x i32> <i32 -1, i32 -1>, ptr %3, align 8, !tbaa !6
%20 = getelementptr inbounds i8, ptr %3, i64 24
store ptr %3, ptr %20, align 8, !tbaa !15
%21 = getelementptr inbounds i8, ptr %3, i64 16
store i64 0, ptr %21, align 8, !tbaa !16
%22 = load i32, ptr @XML_DOC_USERBUILT, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %3, i64 12
store i32 %22, ptr %23, align 4, !tbaa !17
%24 = load i32, ptr @XML_CHAR_ENCODING_UTF8, align 4, !tbaa !6
%25 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %24, ptr %25, align 8, !tbaa !18
%26 = load i64, ptr @__xmlRegisterCallbacks, align 8, !tbaa !19
%27 = icmp eq i64 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %19
%29 = trunc i64 %2 to i32
%30 = tail call i32 @xmlRegisterNodeDefaultValue(i32 noundef %29) #2
br label %31
31: ; preds = %19, %28, %16, %5
%32 = phi ptr [ null, %5 ], [ null, %16 ], [ %3, %28 ], [ %3, %19 ]
ret ptr %32
}
declare i64 @xmlMalloc(i32 noundef) local_unnamed_addr #1
declare i32 @xmlTreeErrMemory(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xmlStrdup(ptr noundef) local_unnamed_addr #1
declare i32 @xmlFree(ptr noundef) local_unnamed_addr #1
declare i32 @xmlRegisterNodeDefaultValue(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 40}
!11 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !13, i64 24, !13, i64 32, !7, i64 40}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 32}
!15 = !{!11, !13, i64 24}
!16 = !{!11, !12, i64 16}
!17 = !{!11, !7, i64 12}
!18 = !{!11, !7, i64 8}
!19 = !{!12, !12, i64 0}
| reactos_sdk_lib_3rdparty_libxml2_extr_tree.c_xmlNewDoc |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/dccp/extr_feat.c_dccp_feat_entry_destructor.c'
source_filename = "AnghaBench/fastsocket/kernel/net/dccp/extr_feat.c_dccp_feat_entry_destructor.c"
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.dccp_feat_entry = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dccp_feat_entry_destructor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dccp_feat_entry_destructor(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %8, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.dccp_feat_entry, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i32 @dccp_feat_val_destructor(i32 noundef %5, ptr noundef nonnull %0) #2
%7 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %8
8: ; preds = %3, %1
ret void
}
declare i32 @dccp_feat_val_destructor(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"dccp_feat_entry", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/dccp/extr_feat.c_dccp_feat_entry_destructor.c'
source_filename = "AnghaBench/fastsocket/kernel/net/dccp/extr_feat.c_dccp_feat_entry_destructor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @dccp_feat_entry_destructor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dccp_feat_entry_destructor(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %8, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i32 @dccp_feat_val_destructor(i32 noundef %5, ptr noundef nonnull %0) #2
%7 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %8
8: ; preds = %3, %1
ret void
}
declare i32 @dccp_feat_val_destructor(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"dccp_feat_entry", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_net_dccp_extr_feat.c_dccp_feat_entry_destructor |
; ModuleID = 'AnghaBench/linux/tools/power/x86/turbostat/extr_turbostat.c_has_slv_msrs.c'
source_filename = "AnghaBench/linux/tools/power/x86/turbostat/extr_turbostat.c_has_slv_msrs.c"
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"
@genuine_intel = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @has_slv_msrs(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @genuine_intel, align 4, !tbaa !5
%4 = icmp ne i32 %3, 0
%5 = add i32 %1, -128
%6 = icmp ult i32 %5, 3
%7 = and i1 %6, %4
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/tools/power/x86/turbostat/extr_turbostat.c_has_slv_msrs.c'
source_filename = "AnghaBench/linux/tools/power/x86/turbostat/extr_turbostat.c_has_slv_msrs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@genuine_intel = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 2) i32 @has_slv_msrs(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @genuine_intel, align 4, !tbaa !6
%4 = icmp ne i32 %3, 0
%5 = add i32 %1, -128
%6 = icmp ult i32 %5, 3
%7 = and i1 %6, %4
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_tools_power_x86_turbostat_extr_turbostat.c_has_slv_msrs |
; ModuleID = 'AnghaBench/openssl/test/extr_ssl_test_ctx.c_parse_boolean.c'
source_filename = "AnghaBench/openssl/test/extr_ssl_test_ctx.c_parse_boolean.c"
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"
@.str = private unnamed_addr constant [4 x i8] c"Yes\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"No\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"parse_boolean given: '%s'\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_boolean], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @parse_boolean(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i64 @strcasecmp(ptr noundef %0, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %2
store i32 1, ptr %1, align 4, !tbaa !5
br label %12
6: ; preds = %2
%7 = tail call i64 @strcasecmp(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %6
store i32 0, ptr %1, align 4, !tbaa !5
br label %12
10: ; preds = %6
%11 = tail call i32 @TEST_error(ptr noundef nonnull @.str.2, ptr noundef %0) #2
br label %12
12: ; preds = %10, %9, %5
%13 = phi i32 [ 1, %5 ], [ 1, %9 ], [ 0, %10 ]
ret i32 %13
}
declare i64 @strcasecmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @TEST_error(ptr noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/openssl/test/extr_ssl_test_ctx.c_parse_boolean.c'
source_filename = "AnghaBench/openssl/test/extr_ssl_test_ctx.c_parse_boolean.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"Yes\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"No\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"parse_boolean given: '%s'\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @parse_boolean], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @parse_boolean(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call i64 @strcasecmp(ptr noundef %0, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %2
store i32 1, ptr %1, align 4, !tbaa !6
br label %12
6: ; preds = %2
%7 = tail call i64 @strcasecmp(ptr noundef %0, ptr noundef nonnull @.str.1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %6
store i32 0, ptr %1, align 4, !tbaa !6
br label %12
10: ; preds = %6
%11 = tail call i32 @TEST_error(ptr noundef nonnull @.str.2, ptr noundef %0) #2
br label %12
12: ; preds = %10, %9, %5
%13 = phi i32 [ 1, %5 ], [ 1, %9 ], [ 0, %10 ]
ret i32 %13
}
declare i64 @strcasecmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @TEST_error(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| openssl_test_extr_ssl_test_ctx.c_parse_boolean |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_cmpa_16.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_cmpa_16.c"
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"
@g_dasm_str = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"cmpa.w %s, A%d\00", align 1
@g_cpu_ir = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @d68000_cmpa_16], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @d68000_cmpa_16() #0 {
%1 = load i32, ptr @g_dasm_str, align 4, !tbaa !5
%2 = load i32, ptr @g_cpu_ir, align 4, !tbaa !5
%3 = tail call ptr @get_ea_mode_str_16(i32 noundef %2) #2
%4 = load i32, ptr @g_cpu_ir, align 4, !tbaa !5
%5 = lshr i32 %4, 9
%6 = and i32 %5, 7
%7 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %3, i32 noundef %6) #2
ret void
}
declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @get_ea_mode_str_16(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_cmpa_16.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_cmpa_16.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@g_dasm_str = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"cmpa.w %s, A%d\00", align 1
@g_cpu_ir = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @d68000_cmpa_16], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @d68000_cmpa_16() #0 {
%1 = load i32, ptr @g_dasm_str, align 4, !tbaa !6
%2 = load i32, ptr @g_cpu_ir, align 4, !tbaa !6
%3 = tail call ptr @get_ea_mode_str_16(i32 noundef %2) #2
%4 = load i32, ptr @g_cpu_ir, align 4, !tbaa !6
%5 = lshr i32 %4, 9
%6 = and i32 %5, 7
%7 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %3, i32 noundef %6) #2
ret void
}
declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @get_ea_mode_str_16(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kdasm.c_d68000_cmpa_16 |
; ModuleID = 'AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_notify_module.c_ngx_rtmp_notify_parse_url.c'
source_filename = "AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_notify_module.c_ngx_rtmp_notify_parse_url.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_12__ = type { i32, i32, %struct.TYPE_11__, i64 }
%struct.TYPE_11__ = type { i64, i64 }
%struct.TYPE_14__ = type { i32 }
%struct.TYPE_13__ = type { i64, i64 }
@.str = private unnamed_addr constant [8 x i8] c"http://\00", align 1
@NGX_OK = dso_local local_unnamed_addr global i64 0, align 8
@NGX_LOG_EMERG = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"%s in url \22%V\22\00", align 1
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (%struct.TYPE_12__* (%struct.TYPE_14__*, %struct.TYPE_13__*)* @ngx_rtmp_notify_parse_url to i8*)], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal %struct.TYPE_12__* @ngx_rtmp_notify_parse_url(%struct.TYPE_14__* noundef %0, %struct.TYPE_13__* nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_14__, %struct.TYPE_14__* %0, i64 0, i32 0
%4 = load i32, i32* %3, align 4, !tbaa !5
%5 = tail call %struct.TYPE_12__* @ngx_pcalloc(i32 noundef %4, i32 noundef 32) #2
%6 = icmp eq %struct.TYPE_12__* %5, null
br i1 %6, label %34, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %1, i64 0, i32 0
%9 = load i64, i64* %8, align 8, !tbaa !10
%10 = tail call i64 @ngx_strncasecmp(i64 noundef %9, i32* noundef bitcast ([8 x i8]* @.str to i32*), i32 noundef 7) #2
%11 = icmp eq i64 %10, 0
%12 = select i1 %11, i64 7, i64 0
%13 = getelementptr inbounds %struct.TYPE_13__, %struct.TYPE_13__* %1, i64 0, i32 1
%14 = load i64, i64* %13, align 8, !tbaa !13
%15 = sub i64 %14, %12
%16 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %5, i64 0, i32 2
%17 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %5, i64 0, i32 2, i32 1
store i64 %15, i64* %17, align 8, !tbaa !14
%18 = load i64, i64* %8, align 8, !tbaa !10
%19 = add i64 %18, %12
%20 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %16, i64 0, i32 0
store i64 %19, i64* %20, align 8, !tbaa !17
%21 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %5, i64 0, i32 0
store i32 80, i32* %21, align 8, !tbaa !18
%22 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %5, i64 0, i32 1
store i32 1, i32* %22, align 4, !tbaa !19
%23 = load i32, i32* %3, align 4, !tbaa !5
%24 = tail call i64 @ngx_parse_url(i32 noundef %23, %struct.TYPE_12__* noundef nonnull %5) #2
%25 = load i64, i64* @NGX_OK, align 8, !tbaa !20
%26 = icmp eq i64 %24, %25
br i1 %26, label %34, label %27
27: ; preds = %7
%28 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %5, i64 0, i32 3
%29 = load i64, i64* %28, align 8, !tbaa !21
%30 = icmp eq i64 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %27
%32 = load i32, i32* @NGX_LOG_EMERG, align 4, !tbaa !22
%33 = tail call i32 @ngx_conf_log_error(i32 noundef %32, %struct.TYPE_14__* noundef nonnull %0, i32 noundef 0, i8* noundef getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i64 noundef %29, %struct.TYPE_11__* noundef nonnull %16) #2
br label %34
34: ; preds = %7, %27, %31, %2
%35 = phi %struct.TYPE_12__* [ null, %2 ], [ null, %31 ], [ null, %27 ], [ %5, %7 ]
ret %struct.TYPE_12__* %35
}
declare %struct.TYPE_12__* @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ngx_strncasecmp(i64 noundef, i32* noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ngx_parse_url(i32 noundef, %struct.TYPE_12__* noundef) local_unnamed_addr #1
declare i32 @ngx_conf_log_error(i32 noundef, %struct.TYPE_14__* noundef, i32 noundef, i8* noundef, i64 noundef, %struct.TYPE_11__* noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_14__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_13__", !12, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!15, !12, i64 16}
!15 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !16, i64 8, !12, i64 24}
!16 = !{!"TYPE_11__", !12, i64 0, !12, i64 8}
!17 = !{!15, !12, i64 8}
!18 = !{!15, !7, i64 0}
!19 = !{!15, !7, i64 4}
!20 = !{!12, !12, i64 0}
!21 = !{!15, !12, i64 24}
!22 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_notify_module.c_ngx_rtmp_notify_parse_url.c'
source_filename = "AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_notify_module.c_ngx_rtmp_notify_parse_url.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"http://\00", align 1
@NGX_OK = common local_unnamed_addr global i64 0, align 8
@NGX_LOG_EMERG = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"%s in url \22%V\22\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ngx_rtmp_notify_parse_url], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ngx_rtmp_notify_parse_url(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call ptr @ngx_pcalloc(i32 noundef %3, i32 noundef 32) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %29, label %6
6: ; preds = %2
%7 = load i64, ptr %1, align 8, !tbaa !11
%8 = tail call i64 @ngx_strncasecmp(i64 noundef %7, ptr noundef nonnull @.str, i32 noundef 7) #2
%9 = icmp eq i64 %8, 0
%10 = select i1 %9, i64 7, i64 0
%11 = getelementptr inbounds i8, ptr %1, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = sub i64 %12, %10
%14 = getelementptr inbounds i8, ptr %4, i64 8
%15 = getelementptr inbounds i8, ptr %4, i64 16
store i64 %13, ptr %15, align 8, !tbaa !15
%16 = load i64, ptr %1, align 8, !tbaa !11
%17 = add i64 %16, %10
store i64 %17, ptr %14, align 8, !tbaa !18
store <2 x i32> <i32 80, i32 1>, ptr %4, align 8, !tbaa !19
%18 = load i32, ptr %0, align 4, !tbaa !6
%19 = tail call i64 @ngx_parse_url(i32 noundef %18, ptr noundef nonnull %4) #2
%20 = load i64, ptr @NGX_OK, align 8, !tbaa !20
%21 = icmp eq i64 %19, %20
br i1 %21, label %29, label %22
22: ; preds = %6
%23 = getelementptr inbounds i8, ptr %4, i64 24
%24 = load i64, ptr %23, align 8, !tbaa !21
%25 = icmp eq i64 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %22
%27 = load i32, ptr @NGX_LOG_EMERG, align 4, !tbaa !19
%28 = tail call i32 @ngx_conf_log_error(i32 noundef %27, ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.1, i64 noundef %24, ptr noundef nonnull %14) #2
br label %29
29: ; preds = %6, %22, %26, %2
%30 = phi ptr [ null, %2 ], [ null, %26 ], [ null, %22 ], [ %4, %6 ]
ret ptr %30
}
declare ptr @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ngx_strncasecmp(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ngx_parse_url(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ngx_conf_log_error(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_14__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_13__", !13, i64 0, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !13, i64 16}
!16 = !{!"TYPE_12__", !8, i64 0, !8, i64 4, !17, i64 8, !13, i64 24}
!17 = !{!"TYPE_11__", !13, i64 0, !13, i64 8}
!18 = !{!16, !13, i64 8}
!19 = !{!8, !8, i64 0}
!20 = !{!13, !13, i64 0}
!21 = !{!16, !13, i64 24}
| nginx-rtmp-module_extr_ngx_rtmp_notify_module.c_ngx_rtmp_notify_parse_url |
; ModuleID = 'AnghaBench/qmk_firmware/users/xulkal/extr_custom_encoder.c_encoder_update_user.c'
source_filename = "AnghaBench/qmk_firmware/users/xulkal/extr_custom_encoder.c_encoder_update_user.c"
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"
@encoders = dso_local local_unnamed_addr global ptr null, align 8
@RGB_OLED_MENU = dso_local local_unnamed_addr global i64 0, align 8
@rgb_encoder_state = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @encoder_update_user(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @is_keyboard_master() #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %13, label %5
5: ; preds = %2
%6 = load ptr, ptr @encoders, align 8, !tbaa !5
%7 = getelementptr inbounds ptr, ptr %6, i64 %0
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = sext i32 %1 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = tail call i32 @pgm_read_word(ptr noundef %10) #2
%12 = tail call i32 @tap_code16(i32 noundef %11) #2
br label %13
13: ; preds = %2, %5
ret void
}
declare i32 @is_keyboard_master(...) local_unnamed_addr #1
declare i32 @tap_code16(i32 noundef) local_unnamed_addr #1
declare i32 @pgm_read_word(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/qmk_firmware/users/xulkal/extr_custom_encoder.c_encoder_update_user.c'
source_filename = "AnghaBench/qmk_firmware/users/xulkal/extr_custom_encoder.c_encoder_update_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@encoders = common local_unnamed_addr global ptr null, align 8
@RGB_OLED_MENU = common local_unnamed_addr global i64 0, align 8
@rgb_encoder_state = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @encoder_update_user(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @is_keyboard_master() #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %13, label %5
5: ; preds = %2
%6 = load ptr, ptr @encoders, align 8, !tbaa !6
%7 = getelementptr inbounds ptr, ptr %6, i64 %0
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = sext i32 %1 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = tail call i32 @pgm_read_word(ptr noundef %10) #2
%12 = tail call i32 @tap_code16(i32 noundef %11) #2
br label %13
13: ; preds = %2, %5
ret void
}
declare i32 @is_keyboard_master(...) local_unnamed_addr #1
declare i32 @tap_code16(i32 noundef) local_unnamed_addr #1
declare i32 @pgm_read_word(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| qmk_firmware_users_xulkal_extr_custom_encoder.c_encoder_update_user |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/xd84/extr_custom_matrix_helper.c_matrix_key_count.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/xd84/extr_custom_matrix_helper.c_matrix_key_count.c"
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"
@MATRIX_ROWS = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define weak dso_local i64 @matrix_key_count() local_unnamed_addr #0 {
%1 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !5
%2 = icmp sgt i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %5, %0
%4 = phi i64 [ 0, %0 ], [ %9, %5 ]
ret i64 %4
5: ; preds = %0, %5
%6 = phi i64 [ %10, %5 ], [ 0, %0 ]
%7 = phi i64 [ %9, %5 ], [ 0, %0 ]
%8 = tail call i64 @matrix_bitpop(i64 noundef %6) #2
%9 = add nsw i64 %8, %7
%10 = add nuw nsw i64 %6, 1
%11 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !5
%12 = icmp slt i64 %10, %11
br i1 %12, label %5, label %3, !llvm.loop !9
}
declare i64 @matrix_bitpop(i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/xd84/extr_custom_matrix_helper.c_matrix_key_count.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/xd84/extr_custom_matrix_helper.c_matrix_key_count.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MATRIX_ROWS = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define weak i64 @matrix_key_count() local_unnamed_addr #0 {
%1 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !6
%2 = icmp sgt i64 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %5, %0
%4 = phi i64 [ 0, %0 ], [ %9, %5 ]
ret i64 %4
5: ; preds = %0, %5
%6 = phi i64 [ %10, %5 ], [ 0, %0 ]
%7 = phi i64 [ %9, %5 ], [ 0, %0 ]
%8 = tail call i64 @matrix_bitpop(i64 noundef %6) #2
%9 = add nsw i64 %8, %7
%10 = add nuw nsw i64 %6, 1
%11 = load i64, ptr @MATRIX_ROWS, align 8, !tbaa !6
%12 = icmp slt i64 %10, %11
br i1 %12, label %5, label %3, !llvm.loop !10
}
declare i64 @matrix_bitpop(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| qmk_firmware_keyboards_xd84_extr_custom_matrix_helper.c_matrix_key_count |
; ModuleID = 'AnghaBench/linux/net/bridge/extr_br_if.c_br_del_bridge.c'
source_filename = "AnghaBench/linux/net/bridge/extr_br_if.c_br_del_bridge.c"
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.net_device = type { i32, i32 }
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@IFF_EBRIDGE = dso_local local_unnamed_addr global i32 0, align 4
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
@IFF_UP = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @br_del_bridge(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @rtnl_lock() #2
%4 = tail call ptr @__dev_get_by_name(ptr noundef %0, ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @ENXIO, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %28
9: ; preds = %2
%10 = load i32, ptr %4, align 4, !tbaa !9
%11 = load i32, ptr @IFF_EBRIDGE, align 4, !tbaa !5
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load i32, ptr @EPERM, align 4, !tbaa !5
%16 = sub nsw i32 0, %15
br label %28
17: ; preds = %9
%18 = getelementptr inbounds %struct.net_device, ptr %4, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !11
%20 = load i32, ptr @IFF_UP, align 4, !tbaa !5
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %17
%24 = load i32, ptr @EBUSY, align 4, !tbaa !5
%25 = sub nsw i32 0, %24
br label %28
26: ; preds = %17
%27 = tail call i32 @br_dev_delete(ptr noundef nonnull %4, ptr noundef null) #2
br label %28
28: ; preds = %14, %26, %23, %6
%29 = phi i32 [ %8, %6 ], [ %25, %23 ], [ 0, %26 ], [ %16, %14 ]
%30 = tail call i32 (...) @rtnl_unlock() #2
ret i32 %29
}
declare i32 @rtnl_lock(...) local_unnamed_addr #1
declare ptr @__dev_get_by_name(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @br_dev_delete(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rtnl_unlock(...) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"net_device", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/net/bridge/extr_br_if.c_br_del_bridge.c'
source_filename = "AnghaBench/linux/net/bridge/extr_br_if.c_br_del_bridge.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@IFF_EBRIDGE = common local_unnamed_addr global i32 0, align 4
@EPERM = common local_unnamed_addr global i32 0, align 4
@IFF_UP = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @br_del_bridge(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @rtnl_lock() #2
%4 = tail call ptr @__dev_get_by_name(ptr noundef %0, ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @ENXIO, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %28
9: ; preds = %2
%10 = load i32, ptr %4, align 4, !tbaa !10
%11 = load i32, ptr @IFF_EBRIDGE, align 4, !tbaa !6
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load i32, ptr @EPERM, align 4, !tbaa !6
%16 = sub nsw i32 0, %15
br label %28
17: ; preds = %9
%18 = getelementptr inbounds i8, ptr %4, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = load i32, ptr @IFF_UP, align 4, !tbaa !6
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %17
%24 = load i32, ptr @EBUSY, align 4, !tbaa !6
%25 = sub nsw i32 0, %24
br label %28
26: ; preds = %17
%27 = tail call i32 @br_dev_delete(ptr noundef nonnull %4, ptr noundef null) #2
br label %28
28: ; preds = %14, %26, %23, %6
%29 = phi i32 [ %8, %6 ], [ %25, %23 ], [ 0, %26 ], [ %16, %14 ]
%30 = tail call i32 @rtnl_unlock() #2
ret i32 %29
}
declare i32 @rtnl_lock(...) local_unnamed_addr #1
declare ptr @__dev_get_by_name(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @br_dev_delete(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rtnl_unlock(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"net_device", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
| linux_net_bridge_extr_br_if.c_br_del_bridge |
; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb10.c_libusb_ref_device.c'
source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb10.c_libusb_ref_device.c"
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.TYPE_4__ = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @libusb_ref_device(ptr noundef returned %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %11, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @CTX_LOCK(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = add nsw i32 %7, 1
store i32 %8, ptr %6, align 4, !tbaa !10
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = tail call i32 @CTX_UNLOCK(i32 noundef %9) #2
br label %11
11: ; preds = %1, %3
ret ptr %0
}
declare i32 @CTX_LOCK(i32 noundef) local_unnamed_addr #1
declare i32 @CTX_UNLOCK(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/lib/libusb/extr_libusb10.c_libusb_ref_device.c'
source_filename = "AnghaBench/freebsd/lib/libusb/extr_libusb10.c_libusb_ref_device.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @libusb_ref_device(ptr noundef returned %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %11, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @CTX_LOCK(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = add nsw i32 %7, 1
store i32 %8, ptr %6, align 4, !tbaa !11
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = tail call i32 @CTX_UNLOCK(i32 noundef %9) #2
br label %11
11: ; preds = %1, %3
ret ptr %0
}
declare i32 @CTX_LOCK(i32 noundef) local_unnamed_addr #1
declare i32 @CTX_UNLOCK(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| freebsd_lib_libusb_extr_libusb10.c_libusb_ref_device |
; ModuleID = 'AnghaBench/nanomsg/tools/extr_options.c_nn_option_conflict.c'
source_filename = "AnghaBench/nanomsg/tools/extr_options.c_nn_option_conflict.c"
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.nn_parse_context = type { ptr, ptr, ptr }
%struct.nn_option = type { i64, i64, i32 }
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"%s: Option\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"conflicts with the following options:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @nn_option_conflict], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @nn_option_conflict(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @stderr, align 4, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !9
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef %5) #3
%7 = load i32, ptr @stderr, align 4, !tbaa !5
%8 = tail call i32 @nn_print_option(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %7) #3
%9 = load i32, ptr @stderr, align 4, !tbaa !5
%10 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef nonnull @.str.1) #3
%11 = getelementptr inbounds %struct.nn_parse_context, ptr %0, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = sext i32 %1 to i64
%14 = getelementptr inbounds %struct.nn_option, ptr %12, i64 %13
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = getelementptr inbounds %struct.nn_option, ptr %12, i64 0, i32 2
%17 = load i32, ptr %16, align 8, !tbaa !17
%18 = icmp eq i32 %17, 0
br i1 %18, label %56, label %19
19: ; preds = %2
%20 = getelementptr inbounds %struct.nn_parse_context, ptr %0, i64 0, i32 1
%21 = zext i32 %1 to i64
br label %22
22: ; preds = %19, %47
%23 = phi ptr [ %12, %19 ], [ %48, %47 ]
%24 = phi i64 [ 0, %19 ], [ %50, %47 ]
%25 = phi i32 [ 0, %19 ], [ %49, %47 ]
%26 = icmp eq i64 %24, %21
br i1 %26, label %47, label %27
27: ; preds = %22
%28 = load ptr, ptr %20, align 8, !tbaa !18
%29 = getelementptr inbounds i64, ptr %28, i64 %24
%30 = load i64, ptr %29, align 8, !tbaa !19
%31 = icmp eq i64 %30, 0
br i1 %31, label %47, label %32
32: ; preds = %27
%33 = getelementptr inbounds %struct.nn_option, ptr %23, i64 %24, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !20
%35 = and i64 %34, %15
%36 = icmp eq i64 %35, 0
br i1 %36, label %47, label %37
37: ; preds = %32
%38 = add nsw i32 %25, 1
%39 = load i32, ptr @stderr, align 4, !tbaa !5
%40 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef nonnull @.str.2) #3
%41 = load i32, ptr @stderr, align 4, !tbaa !5
%42 = trunc i64 %24 to i32
%43 = tail call i32 @nn_print_option(ptr noundef nonnull %0, i32 noundef %42, i32 noundef %41) #3
%44 = load i32, ptr @stderr, align 4, !tbaa !5
%45 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef nonnull @.str.3) #3
%46 = load ptr, ptr %11, align 8, !tbaa !13
br label %47
47: ; preds = %27, %32, %37, %22
%48 = phi ptr [ %23, %22 ], [ %46, %37 ], [ %23, %32 ], [ %23, %27 ]
%49 = phi i32 [ %25, %22 ], [ %38, %37 ], [ %25, %32 ], [ %25, %27 ]
%50 = add nuw i64 %24, 1
%51 = getelementptr inbounds %struct.nn_option, ptr %48, i64 %50, i32 2
%52 = load i32, ptr %51, align 8, !tbaa !17
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %22
54: ; preds = %47
%55 = icmp eq i32 %49, 0
br i1 %55, label %56, label %63
56: ; preds = %2, %54
%57 = load i32, ptr @stderr, align 4, !tbaa !5
%58 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef nonnull @.str.2) #3
%59 = load i32, ptr @stderr, align 4, !tbaa !5
%60 = tail call i32 @nn_print_option(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %59) #3
%61 = load i32, ptr @stderr, align 4, !tbaa !5
%62 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef nonnull @.str.3) #3
br label %63
63: ; preds = %56, %54
%64 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @nn_print_option(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn 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 = { noreturn "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 = { nounwind }
attributes #4 = { noreturn 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"nn_parse_context", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 16}
!14 = !{!15, !16, i64 0}
!15 = !{!"nn_option", !16, i64 0, !16, i64 8, !6, i64 16}
!16 = !{!"long", !7, i64 0}
!17 = !{!15, !6, i64 16}
!18 = !{!10, !11, i64 8}
!19 = !{!16, !16, i64 0}
!20 = !{!15, !16, i64 8}
| ; ModuleID = 'AnghaBench/nanomsg/tools/extr_options.c_nn_option_conflict.c'
source_filename = "AnghaBench/nanomsg/tools/extr_options.c_nn_option_conflict.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.nn_option = type { i64, i64, i32 }
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"%s: Option\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"conflicts with the following options:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @nn_option_conflict], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @nn_option_conflict(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @stderr, align 4, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef nonnull @.str, ptr noundef %5) #3
%7 = load i32, ptr @stderr, align 4, !tbaa !6
%8 = tail call i32 @nn_print_option(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %7) #3
%9 = load i32, ptr @stderr, align 4, !tbaa !6
%10 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef nonnull @.str.1) #3
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = sext i32 %1 to i64
%14 = getelementptr inbounds %struct.nn_option, ptr %12, i64 %13
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = getelementptr inbounds i8, ptr %12, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !18
%18 = icmp eq i32 %17, 0
br i1 %18, label %58, label %19
19: ; preds = %2
%20 = getelementptr inbounds i8, ptr %0, i64 8
%21 = zext i32 %1 to i64
br label %22
22: ; preds = %19, %48
%23 = phi ptr [ %12, %19 ], [ %49, %48 ]
%24 = phi i64 [ 0, %19 ], [ %51, %48 ]
%25 = phi ptr [ %12, %19 ], [ %52, %48 ]
%26 = phi i32 [ 0, %19 ], [ %50, %48 ]
%27 = icmp eq i64 %24, %21
br i1 %27, label %48, label %28
28: ; preds = %22
%29 = load ptr, ptr %20, align 8, !tbaa !19
%30 = getelementptr inbounds i64, ptr %29, i64 %24
%31 = load i64, ptr %30, align 8, !tbaa !20
%32 = icmp eq i64 %31, 0
br i1 %32, label %48, label %33
33: ; preds = %28
%34 = getelementptr inbounds i8, ptr %25, i64 8
%35 = load i64, ptr %34, align 8, !tbaa !21
%36 = and i64 %35, %15
%37 = icmp eq i64 %36, 0
br i1 %37, label %48, label %38
38: ; preds = %33
%39 = add nsw i32 %26, 1
%40 = load i32, ptr @stderr, align 4, !tbaa !6
%41 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef nonnull @.str.2) #3
%42 = load i32, ptr @stderr, align 4, !tbaa !6
%43 = trunc nuw nsw i64 %24 to i32
%44 = tail call i32 @nn_print_option(ptr noundef nonnull %0, i32 noundef %43, i32 noundef %42) #3
%45 = load i32, ptr @stderr, align 4, !tbaa !6
%46 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef nonnull @.str.3) #3
%47 = load ptr, ptr %11, align 8, !tbaa !14
br label %48
48: ; preds = %28, %33, %38, %22
%49 = phi ptr [ %23, %22 ], [ %47, %38 ], [ %23, %33 ], [ %23, %28 ]
%50 = phi i32 [ %26, %22 ], [ %39, %38 ], [ %26, %33 ], [ %26, %28 ]
%51 = add nuw nsw i64 %24, 1
%52 = getelementptr inbounds %struct.nn_option, ptr %49, i64 %51
%53 = getelementptr inbounds i8, ptr %52, i64 16
%54 = load i32, ptr %53, align 8, !tbaa !18
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %22
56: ; preds = %48
%57 = icmp eq i32 %50, 0
br i1 %57, label %58, label %65
58: ; preds = %2, %56
%59 = load i32, ptr @stderr, align 4, !tbaa !6
%60 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %59, ptr noundef nonnull @.str.2) #3
%61 = load i32, ptr @stderr, align 4, !tbaa !6
%62 = tail call i32 @nn_print_option(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %61) #3
%63 = load i32, ptr @stderr, align 4, !tbaa !6
%64 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %63, ptr noundef nonnull @.str.3) #3
br label %65
65: ; preds = %58, %56
%66 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @nn_print_option(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"nn_parse_context", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 16}
!15 = !{!16, !17, i64 0}
!16 = !{!"nn_option", !17, i64 0, !17, i64 8, !7, i64 16}
!17 = !{!"long", !8, i64 0}
!18 = !{!16, !7, i64 16}
!19 = !{!11, !12, i64 8}
!20 = !{!17, !17, i64 0}
!21 = !{!16, !17, i64 8}
| nanomsg_tools_extr_options.c_nn_option_conflict |
; ModuleID = 'AnghaBench/jemalloc/src/extr_arena.c_arena_prefork3.c'
source_filename = "AnghaBench/jemalloc/src/extr_arena.c_arena_prefork3.c"
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.TYPE_3__ = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @arena_prefork3(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2
%4 = tail call i32 @eset_prefork(ptr noundef %0, ptr noundef nonnull %3) #2
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%6 = tail call i32 @eset_prefork(ptr noundef %0, ptr noundef nonnull %5) #2
%7 = tail call i32 @eset_prefork(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @eset_prefork(ptr noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/jemalloc/src/extr_arena.c_arena_prefork3.c'
source_filename = "AnghaBench/jemalloc/src/extr_arena.c_arena_prefork3.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @arena_prefork3(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = tail call i32 @eset_prefork(ptr noundef %0, ptr noundef nonnull %3) #2
%5 = getelementptr inbounds i8, ptr %1, i64 4
%6 = tail call i32 @eset_prefork(ptr noundef %0, ptr noundef nonnull %5) #2
%7 = tail call i32 @eset_prefork(ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @eset_prefork(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| jemalloc_src_extr_arena.c_arena_prefork3 |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_atrac9dec.c_parse_gradient.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_atrac9dec.c_parse_gradient.c"
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.TYPE_6__ = type { i32, i32, i32, ptr }
@AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_gradient], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @parse_gradient(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef %2) #0 {
%4 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 2) #3
store i32 %5, ptr %1, align 8, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 5) #3
%9 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 5) #3
br label %16
10: ; preds = %3
%11 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 6) #3
%12 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 6) #3
%13 = add nsw i32 %12, 1
%14 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 5) #3
%15 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 5) #3
br label %16
16: ; preds = %10, %7
%17 = phi i32 [ %14, %10 ], [ %9, %7 ]
%18 = phi i32 [ %15, %10 ], [ 31, %7 ]
%19 = phi i32 [ %11, %10 ], [ %8, %7 ]
%20 = phi i32 [ %13, %10 ], [ 31, %7 ]
store i32 %17, ptr %4, align 4
%21 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
store i32 %18, ptr %21, align 4
%22 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 4) #3
%23 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
store i32 %22, ptr %23, align 4, !tbaa !11
%24 = icmp sge i32 %19, %20
%25 = icmp sgt i32 %20, 31
%26 = or i1 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %16
%28 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !12
br label %119
29: ; preds = %16
%30 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2
%31 = load i32, ptr %30, align 8, !tbaa !13
%32 = icmp sgt i32 %22, %31
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !12
br label %119
35: ; preds = %29
%36 = sub nsw i32 %18, %17
%37 = lshr i32 %36, 30
%38 = and i32 %37, 2
%39 = sub nsw i32 1, %38
%40 = add nsw i32 %39, %17
%41 = tail call i32 @FFABS(i32 noundef %36) #3
%42 = add nsw i32 %41, -1
%43 = sitofp i32 %42 to float
%44 = fdiv float %43, 3.100000e+01
%45 = load ptr, ptr %0, align 8, !tbaa !14
%46 = xor i32 %19, -1
%47 = add i32 %20, %46
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %45, i64 %48
%50 = load ptr, ptr %49, align 8, !tbaa !16
%51 = load i32, ptr %30, align 8, !tbaa !13
%52 = icmp slt i32 %51, 0
br i1 %52, label %57, label %53
53: ; preds = %35
%54 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 3
%55 = load ptr, ptr %54, align 8, !tbaa !17
%56 = sext i32 %19 to i64
br label %96
57: ; preds = %96, %35
%58 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 3
%59 = load ptr, ptr %58, align 8, !tbaa !17
%60 = sext i32 %19 to i64
%61 = sext i32 %20 to i64
%62 = sub nsw i64 %61, %60
%63 = icmp ult i64 %62, 8
br i1 %63, label %94, label %64
64: ; preds = %57
%65 = and i64 %62, -8
%66 = add nsw i64 %65, %60
%67 = insertelement <4 x float> poison, float %44, i64 0
%68 = shufflevector <4 x float> %67, <4 x float> poison, <4 x i32> zeroinitializer
%69 = insertelement <4 x i32> poison, i32 %39, i64 0
%70 = shufflevector <4 x i32> %69, <4 x i32> poison, <4 x i32> zeroinitializer
%71 = insertelement <4 x i32> poison, i32 %40, i64 0
%72 = shufflevector <4 x i32> %71, <4 x i32> poison, <4 x i32> zeroinitializer
%73 = getelementptr i32, ptr %59, i64 %60
br label %74
74: ; preds = %74, %64
%75 = phi i64 [ 0, %64 ], [ %90, %74 ]
%76 = getelementptr inbounds float, ptr %50, i64 %75
%77 = getelementptr inbounds float, ptr %76, i64 4
%78 = load <4 x float>, ptr %76, align 4, !tbaa !18
%79 = load <4 x float>, ptr %77, align 4, !tbaa !18
%80 = fmul <4 x float> %68, %78
%81 = fmul <4 x float> %68, %79
%82 = fptosi <4 x float> %80 to <4 x i32>
%83 = fptosi <4 x float> %81 to <4 x i32>
%84 = mul nsw <4 x i32> %70, %82
%85 = mul nsw <4 x i32> %70, %83
%86 = add nsw <4 x i32> %72, %84
%87 = add nsw <4 x i32> %72, %85
%88 = getelementptr i32, ptr %73, i64 %75
%89 = getelementptr inbounds i32, ptr %88, i64 4
store <4 x i32> %86, ptr %88, align 4, !tbaa !12
store <4 x i32> %87, ptr %89, align 4, !tbaa !12
%90 = add nuw i64 %75, 8
%91 = icmp eq i64 %90, %65
br i1 %91, label %92, label %74, !llvm.loop !20
92: ; preds = %74
%93 = icmp eq i64 %62, %65
br i1 %93, label %119, label %94
94: ; preds = %57, %92
%95 = phi i64 [ %60, %57 ], [ %66, %92 ]
br label %107
96: ; preds = %53, %96
%97 = phi i64 [ 0, %53 ], [ %103, %96 ]
%98 = icmp sge i64 %97, %56
%99 = zext i1 %98 to i64
%100 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 %99
%101 = load i32, ptr %100, align 4, !tbaa !12
%102 = getelementptr inbounds i32, ptr %55, i64 %97
store i32 %101, ptr %102, align 4, !tbaa !12
%103 = add nuw nsw i64 %97, 1
%104 = load i32, ptr %30, align 8, !tbaa !13
%105 = sext i32 %104 to i64
%106 = icmp slt i64 %97, %105
br i1 %106, label %96, label %57, !llvm.loop !24
107: ; preds = %94, %107
%108 = phi i64 [ %117, %107 ], [ %95, %94 ]
%109 = sub nsw i64 %108, %60
%110 = getelementptr inbounds float, ptr %50, i64 %109
%111 = load float, ptr %110, align 4, !tbaa !18
%112 = fmul float %44, %111
%113 = fptosi float %112 to i32
%114 = mul nsw i32 %39, %113
%115 = add nsw i32 %40, %114
%116 = getelementptr inbounds i32, ptr %59, i64 %108
store i32 %115, ptr %116, align 4, !tbaa !12
%117 = add nsw i64 %108, 1
%118 = icmp eq i64 %117, %61
br i1 %118, label %119, label %107, !llvm.loop !25
119: ; preds = %107, %92, %33, %27
%120 = phi i32 [ %28, %27 ], [ %34, %33 ], [ 0, %92 ], [ 0, %107 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %120
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @FFABS(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { inlinehint 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_5__", !10, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!6, !10, i64 16}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !8, i64 0}
!20 = distinct !{!20, !21, !22, !23}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!"llvm.loop.isvectorized", i32 1}
!23 = !{!"llvm.loop.unroll.runtime.disable"}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21, !23, !22}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_atrac9dec.c_parse_gradient.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_atrac9dec.c_parse_gradient.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parse_gradient], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @parse_gradient(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef %2) #0 {
%4 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 2) #3
store i32 %5, ptr %1, align 8, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 5) #3
%9 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 5) #3
br label %16
10: ; preds = %3
%11 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 6) #3
%12 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 6) #3
%13 = add nsw i32 %12, 1
%14 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 5) #3
%15 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 5) #3
br label %16
16: ; preds = %10, %7
%17 = phi i32 [ %14, %10 ], [ %9, %7 ]
%18 = phi i32 [ %15, %10 ], [ 31, %7 ]
%19 = phi i32 [ %11, %10 ], [ %8, %7 ]
%20 = phi i32 [ %13, %10 ], [ 31, %7 ]
store i32 %17, ptr %4, align 4
%21 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %18, ptr %21, align 4
%22 = tail call i32 @get_bits(ptr noundef %2, i32 noundef 4) #3
%23 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %22, ptr %23, align 4, !tbaa !12
%24 = icmp sge i32 %19, %20
%25 = icmp sgt i32 %20, 31
%26 = or i1 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %16
%28 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13
br label %133
29: ; preds = %16
%30 = getelementptr inbounds i8, ptr %1, i64 8
%31 = load i32, ptr %30, align 8, !tbaa !14
%32 = icmp sgt i32 %22, %31
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13
br label %133
35: ; preds = %29
%36 = sub nsw i32 %18, %17
%37 = lshr i32 %36, 30
%38 = and i32 %37, 2
%39 = sub nsw i32 1, %38
%40 = add nsw i32 %39, %17
%41 = tail call i32 @FFABS(i32 noundef %36) #3
%42 = add nsw i32 %41, -1
%43 = sitofp i32 %42 to float
%44 = fdiv float %43, 3.100000e+01
%45 = load ptr, ptr %0, align 8, !tbaa !15
%46 = xor i32 %19, -1
%47 = add i32 %20, %46
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %45, i64 %48
%50 = load ptr, ptr %49, align 8, !tbaa !17
%51 = load i32, ptr %30, align 8, !tbaa !14
%52 = icmp slt i32 %51, 0
br i1 %52, label %57, label %53
53: ; preds = %35
%54 = getelementptr inbounds i8, ptr %1, i64 16
%55 = load ptr, ptr %54, align 8, !tbaa !18
%56 = sext i32 %19 to i64
br label %110
57: ; preds = %110, %35
%58 = getelementptr inbounds i8, ptr %1, i64 16
%59 = load ptr, ptr %58, align 8, !tbaa !18
%60 = sext i32 %19 to i64
%61 = sext i32 %20 to i64
%62 = sub nsw i64 %61, %60
%63 = icmp ult i64 %62, 16
br i1 %63, label %64, label %66
64: ; preds = %108, %57
%65 = phi i64 [ %60, %57 ], [ %68, %108 ]
br label %121
66: ; preds = %57
%67 = and i64 %62, -16
%68 = add nsw i64 %67, %60
%69 = insertelement <4 x float> poison, float %44, i64 0
%70 = shufflevector <4 x float> %69, <4 x float> poison, <4 x i32> zeroinitializer
%71 = insertelement <4 x i32> poison, i32 %39, i64 0
%72 = shufflevector <4 x i32> %71, <4 x i32> poison, <4 x i32> zeroinitializer
%73 = insertelement <4 x i32> poison, i32 %40, i64 0
%74 = shufflevector <4 x i32> %73, <4 x i32> poison, <4 x i32> zeroinitializer
%75 = getelementptr i32, ptr %59, i64 %60
br label %76
76: ; preds = %76, %66
%77 = phi i64 [ 0, %66 ], [ %106, %76 ]
%78 = getelementptr inbounds float, ptr %50, i64 %77
%79 = getelementptr inbounds i8, ptr %78, i64 16
%80 = getelementptr inbounds i8, ptr %78, i64 32
%81 = getelementptr inbounds i8, ptr %78, i64 48
%82 = load <4 x float>, ptr %78, align 4, !tbaa !19
%83 = load <4 x float>, ptr %79, align 4, !tbaa !19
%84 = load <4 x float>, ptr %80, align 4, !tbaa !19
%85 = load <4 x float>, ptr %81, align 4, !tbaa !19
%86 = fmul <4 x float> %70, %82
%87 = fmul <4 x float> %70, %83
%88 = fmul <4 x float> %70, %84
%89 = fmul <4 x float> %70, %85
%90 = fptosi <4 x float> %86 to <4 x i32>
%91 = fptosi <4 x float> %87 to <4 x i32>
%92 = fptosi <4 x float> %88 to <4 x i32>
%93 = fptosi <4 x float> %89 to <4 x i32>
%94 = mul nsw <4 x i32> %72, %90
%95 = mul nsw <4 x i32> %72, %91
%96 = mul nsw <4 x i32> %72, %92
%97 = mul nsw <4 x i32> %72, %93
%98 = add nsw <4 x i32> %74, %94
%99 = add nsw <4 x i32> %74, %95
%100 = add nsw <4 x i32> %74, %96
%101 = add nsw <4 x i32> %74, %97
%102 = getelementptr i32, ptr %75, i64 %77
%103 = getelementptr inbounds i8, ptr %102, i64 16
%104 = getelementptr inbounds i8, ptr %102, i64 32
%105 = getelementptr inbounds i8, ptr %102, i64 48
store <4 x i32> %98, ptr %102, align 4, !tbaa !13
store <4 x i32> %99, ptr %103, align 4, !tbaa !13
store <4 x i32> %100, ptr %104, align 4, !tbaa !13
store <4 x i32> %101, ptr %105, align 4, !tbaa !13
%106 = add nuw i64 %77, 16
%107 = icmp eq i64 %106, %67
br i1 %107, label %108, label %76, !llvm.loop !21
108: ; preds = %76
%109 = icmp eq i64 %62, %67
br i1 %109, label %133, label %64
110: ; preds = %53, %110
%111 = phi i64 [ 0, %53 ], [ %117, %110 ]
%112 = icmp sge i64 %111, %56
%113 = zext i1 %112 to i64
%114 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 %113
%115 = load i32, ptr %114, align 4, !tbaa !13
%116 = getelementptr inbounds i32, ptr %55, i64 %111
store i32 %115, ptr %116, align 4, !tbaa !13
%117 = add nuw nsw i64 %111, 1
%118 = load i32, ptr %30, align 8, !tbaa !14
%119 = sext i32 %118 to i64
%120 = icmp slt i64 %111, %119
br i1 %120, label %110, label %57, !llvm.loop !25
121: ; preds = %64, %121
%122 = phi i64 [ %131, %121 ], [ %65, %64 ]
%123 = sub nsw i64 %122, %60
%124 = getelementptr inbounds float, ptr %50, i64 %123
%125 = load float, ptr %124, align 4, !tbaa !19
%126 = fmul float %44, %125
%127 = fptosi float %126 to i32
%128 = mul nsw i32 %39, %127
%129 = add nsw i32 %40, %128
%130 = getelementptr inbounds i32, ptr %59, i64 %122
store i32 %129, ptr %130, align 4, !tbaa !13
%131 = add nsw i64 %122, 1
%132 = icmp eq i64 %131, %61
br i1 %132, label %133, label %121, !llvm.loop !26
133: ; preds = %121, %108, %33, %27
%134 = phi i32 [ %28, %27 ], [ %34, %33 ], [ 0, %108 ], [ 0, %121 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %134
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @FFABS(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 8}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_5__", !11, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!7, !11, i64 16}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !9, i64 0}
!21 = distinct !{!21, !22, !23, !24}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!"llvm.loop.isvectorized", i32 1}
!24 = !{!"llvm.loop.unroll.runtime.disable"}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !22, !24, !23}
| FFmpeg_libavcodec_extr_atrac9dec.c_parse_gradient |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/extr_nv50.c_nv50_i2c_new.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/extr_nv50.c_nv50_i2c_new.c"
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"
@nv50_i2c = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @nv50_i2c_new(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @nvkm_i2c_new_(ptr noundef nonnull @nv50_i2c, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
ret i32 %4
}
declare i32 @nvkm_i2c_new_(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/extr_nv50.c_nv50_i2c_new.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/extr_nv50.c_nv50_i2c_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nv50_i2c = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @nv50_i2c_new(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @nvkm_i2c_new_(ptr noundef nonnull @nv50_i2c, ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
ret i32 %4
}
declare i32 @nvkm_i2c_new_(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_nouveau_nvkm_subdev_i2c_extr_nv50.c_nv50_i2c_new |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm355_ccdc.c_ccdc_enable_output_to_sdram.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm355_ccdc.c_ccdc_enable_output_to_sdram.c"
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"
@SYNCEN = dso_local local_unnamed_addr global i32 0, align 4
@CCDC_SYNCEN_WEN_MASK = dso_local local_unnamed_addr global i32 0, align 4
@CCDC_SYNCEN_WEN_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccdc_enable_output_to_sdram], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ccdc_enable_output_to_sdram(i32 noundef %0) #0 {
%2 = load i32, ptr @SYNCEN, align 4, !tbaa !5
%3 = tail call i32 @regr(i32 noundef %2) #2
%4 = load i32, ptr @CCDC_SYNCEN_WEN_MASK, align 4, !tbaa !5
%5 = xor i32 %4, -1
%6 = and i32 %3, %5
%7 = load i32, ptr @CCDC_SYNCEN_WEN_SHIFT, align 4, !tbaa !5
%8 = shl i32 %0, %7
%9 = and i32 %8, %4
%10 = or i32 %9, %6
%11 = load i32, ptr @SYNCEN, align 4, !tbaa !5
%12 = tail call i32 @regw(i32 noundef %10, i32 noundef %11) #2
ret void
}
declare i32 @regr(i32 noundef) local_unnamed_addr #1
declare i32 @regw(i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm355_ccdc.c_ccdc_enable_output_to_sdram.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm355_ccdc.c_ccdc_enable_output_to_sdram.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SYNCEN = common local_unnamed_addr global i32 0, align 4
@CCDC_SYNCEN_WEN_MASK = common local_unnamed_addr global i32 0, align 4
@CCDC_SYNCEN_WEN_SHIFT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ccdc_enable_output_to_sdram], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ccdc_enable_output_to_sdram(i32 noundef %0) #0 {
%2 = load i32, ptr @SYNCEN, align 4, !tbaa !6
%3 = tail call i32 @regr(i32 noundef %2) #2
%4 = load i32, ptr @CCDC_SYNCEN_WEN_MASK, align 4, !tbaa !6
%5 = xor i32 %4, -1
%6 = and i32 %3, %5
%7 = load i32, ptr @CCDC_SYNCEN_WEN_SHIFT, align 4, !tbaa !6
%8 = shl i32 %0, %7
%9 = and i32 %8, %4
%10 = or i32 %9, %6
%11 = load i32, ptr @SYNCEN, align 4, !tbaa !6
%12 = tail call i32 @regw(i32 noundef %10, i32 noundef %11) #2
ret void
}
declare i32 @regr(i32 noundef) local_unnamed_addr #1
declare i32 @regw(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_media_video_davinci_extr_dm355_ccdc.c_ccdc_enable_output_to_sdram |
; ModuleID = 'AnghaBench/linux/drivers/i3c/extr_master.c_i3c_master_getmwl_locked.c'
source_filename = "AnghaBench/linux/drivers/i3c/extr_master.c_i3c_master_getmwl_locked.c"
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.i3c_ccc_cmd_dest = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.i3c_ccc_cmd = type { i32 }
%struct.i3c_device_info = type { i32, i32 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@I3C_CCC_GETMWL = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @i3c_master_getmwl_locked], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @i3c_master_getmwl_locked(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = alloca %struct.i3c_ccc_cmd_dest, align 4
%4 = alloca %struct.i3c_ccc_cmd, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = getelementptr inbounds %struct.i3c_device_info, ptr %1, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = call ptr @i3c_ccc_cmd_dest_init(ptr noundef nonnull %3, i32 noundef %6, i32 noundef 4) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%11 = sub nsw i32 0, %10
br label %29
12: ; preds = %2
%13 = load i32, ptr @I3C_CCC_GETMWL, align 4, !tbaa !10
%14 = call i32 @i3c_ccc_cmd_init(ptr noundef nonnull %4, i32 noundef 1, i32 noundef %13, ptr noundef nonnull %3, i32 noundef 1) #3
%15 = call i32 @i3c_master_send_ccc_cmd_locked(ptr noundef %0, ptr noundef nonnull %4) #3
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %26
17: ; preds = %12
%18 = load i32, ptr %3, align 4, !tbaa !11
%19 = icmp eq i32 %18, 4
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i32, ptr @EIO, align 4, !tbaa !10
%22 = sub nsw i32 0, %21
br label %26
23: ; preds = %17
%24 = load i32, ptr %7, align 4, !tbaa !14
%25 = call i32 @be16_to_cpu(i32 noundef %24) #3
store i32 %25, ptr %1, align 4, !tbaa !16
br label %26
26: ; preds = %12, %23, %20
%27 = phi i32 [ %15, %12 ], [ %22, %20 ], [ 0, %23 ]
%28 = call i32 @i3c_ccc_cmd_dest_cleanup(ptr noundef nonnull %3) #3
br label %29
29: ; preds = %26, %9
%30 = phi i32 [ %27, %26 ], [ %11, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @i3c_ccc_cmd_dest_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @i3c_ccc_cmd_init(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @i3c_master_send_ccc_cmd_locked(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @i3c_ccc_cmd_dest_cleanup(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"i3c_device_info", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"i3c_ccc_cmd_dest", !13, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"i3c_ccc_mwl", !7, i64 0}
!16 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/i3c/extr_master.c_i3c_master_getmwl_locked.c'
source_filename = "AnghaBench/linux/drivers/i3c/extr_master.c_i3c_master_getmwl_locked.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.i3c_ccc_cmd_dest = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.i3c_ccc_cmd = type { i32 }
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@I3C_CCC_GETMWL = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @i3c_master_getmwl_locked], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @i3c_master_getmwl_locked(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = alloca %struct.i3c_ccc_cmd_dest, align 4
%4 = alloca %struct.i3c_ccc_cmd, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = getelementptr inbounds i8, ptr %1, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = call ptr @i3c_ccc_cmd_dest_init(ptr noundef nonnull %3, i32 noundef %6, i32 noundef 4) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%11 = sub nsw i32 0, %10
br label %29
12: ; preds = %2
%13 = load i32, ptr @I3C_CCC_GETMWL, align 4, !tbaa !11
%14 = call i32 @i3c_ccc_cmd_init(ptr noundef nonnull %4, i32 noundef 1, i32 noundef %13, ptr noundef nonnull %3, i32 noundef 1) #3
%15 = call i32 @i3c_master_send_ccc_cmd_locked(ptr noundef %0, ptr noundef nonnull %4) #3
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %26
17: ; preds = %12
%18 = load i32, ptr %3, align 4, !tbaa !12
%19 = icmp eq i32 %18, 4
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i32, ptr @EIO, align 4, !tbaa !11
%22 = sub nsw i32 0, %21
br label %26
23: ; preds = %17
%24 = load i32, ptr %7, align 4, !tbaa !15
%25 = call i32 @be16_to_cpu(i32 noundef %24) #3
store i32 %25, ptr %1, align 4, !tbaa !17
br label %26
26: ; preds = %12, %23, %20
%27 = phi i32 [ %15, %12 ], [ %22, %20 ], [ 0, %23 ]
%28 = call i32 @i3c_ccc_cmd_dest_cleanup(ptr noundef nonnull %3) #3
br label %29
29: ; preds = %26, %9
%30 = phi i32 [ %27, %26 ], [ %11, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @i3c_ccc_cmd_dest_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @i3c_ccc_cmd_init(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @i3c_master_send_ccc_cmd_locked(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @i3c_ccc_cmd_dest_cleanup(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"i3c_device_info", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"i3c_ccc_cmd_dest", !14, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"i3c_ccc_mwl", !8, i64 0}
!17 = !{!7, !8, i64 0}
| linux_drivers_i3c_extr_master.c_i3c_master_getmwl_locked |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_qsvenc.c_clear_unused_frames.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_qsvenc.c_clear_unused_frames.c"
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.TYPE_9__ = type { ptr, i64, ptr, i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { %struct.TYPE_7__ }
%struct.TYPE_7__ = type { i32 }
@AV_PIX_FMT_QSV = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @clear_unused_frames], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @clear_unused_frames(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %27, label %4
4: ; preds = %1, %24
%5 = phi ptr [ %25, %24 ], [ %2, %1 ]
%6 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !9
%8 = icmp eq i64 %7, 0
br i1 %8, label %24, label %9
9: ; preds = %4
%10 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 4
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %24
13: ; preds = %9
%14 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 3
%15 = tail call i32 @free_encoder_ctrl_payloads(ptr noundef nonnull %14) #2
%16 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 2
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = load i64, ptr %17, align 8, !tbaa !17
%19 = load i64, ptr @AV_PIX_FMT_QSV, align 8, !tbaa !19
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %13
%22 = tail call i32 @av_frame_unref(ptr noundef nonnull %17) #2
br label %23
23: ; preds = %21, %13
store i64 0, ptr %6, align 8, !tbaa !9
br label %24
24: ; preds = %23, %9, %4
%25 = load ptr, ptr %5, align 8, !tbaa !5
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %4, !llvm.loop !20
27: ; preds = %24, %1
ret void
}
declare i32 @free_encoder_ctrl_payloads(ptr noundef) local_unnamed_addr #1
declare i32 @av_frame_unref(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_9__", !6, i64 0, !11, i64 8, !6, i64 16, !12, i64 24, !13, i64 28}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"TYPE_7__", !12, i64 0}
!15 = !{!10, !12, i64 28}
!16 = !{!10, !6, i64 16}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_11__", !11, i64 0}
!19 = !{!11, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_qsvenc.c_clear_unused_frames.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_qsvenc.c_clear_unused_frames.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_PIX_FMT_QSV = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @clear_unused_frames], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @clear_unused_frames(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %27, label %4
4: ; preds = %1, %24
%5 = phi ptr [ %25, %24 ], [ %2, %1 ]
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = icmp eq i64 %7, 0
br i1 %8, label %24, label %9
9: ; preds = %4
%10 = getelementptr inbounds i8, ptr %5, i64 28
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %24
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %5, i64 24
%15 = tail call i32 @free_encoder_ctrl_payloads(ptr noundef nonnull %14) #2
%16 = getelementptr inbounds i8, ptr %5, i64 16
%17 = load ptr, ptr %16, align 8, !tbaa !17
%18 = load i64, ptr %17, align 8, !tbaa !18
%19 = load i64, ptr @AV_PIX_FMT_QSV, align 8, !tbaa !20
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %13
%22 = tail call i32 @av_frame_unref(ptr noundef nonnull %17) #2
br label %23
23: ; preds = %21, %13
store i64 0, ptr %6, align 8, !tbaa !10
br label %24
24: ; preds = %23, %9, %4
%25 = load ptr, ptr %5, align 8, !tbaa !6
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %4, !llvm.loop !21
27: ; preds = %24, %1
ret void
}
declare i32 @free_encoder_ctrl_payloads(ptr noundef) local_unnamed_addr #1
declare i32 @av_frame_unref(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_9__", !7, i64 0, !12, i64 8, !7, i64 16, !13, i64 24, !14, i64 28}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!"TYPE_8__", !15, i64 0}
!15 = !{!"TYPE_7__", !13, i64 0}
!16 = !{!11, !13, i64 28}
!17 = !{!11, !7, i64 16}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_11__", !12, i64 0}
!20 = !{!12, !12, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libavcodec_extr_qsvenc.c_clear_unused_frames |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecx_meth.c_ecx_bits.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecx_meth.c_ecx_bits.c"
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"
@X25519_BITS = dso_local local_unnamed_addr global i32 0, align 4
@X448_BITS = dso_local local_unnamed_addr global i32 0, align 4
@ED448_BITS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ecx_bits], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ecx_bits(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = tail call i64 @IS25519(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = tail call i64 @ISX448(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
%11 = select i1 %10, ptr @ED448_BITS, ptr @X448_BITS
br label %12
12: ; preds = %6, %1
%13 = phi ptr [ @X25519_BITS, %1 ], [ %11, %6 ]
%14 = load i32, ptr %13, align 4, !tbaa !13
ret i32 %14
}
declare i64 @IS25519(i32 noundef) local_unnamed_addr #1
declare i64 @ISX448(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecx_meth.c_ecx_bits.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ecx_meth.c_ecx_bits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@X25519_BITS = common local_unnamed_addr global i32 0, align 4
@X448_BITS = common local_unnamed_addr global i32 0, align 4
@ED448_BITS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ecx_bits], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ecx_bits(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = tail call i64 @IS25519(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = tail call i64 @ISX448(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
%11 = select i1 %10, ptr @ED448_BITS, ptr @X448_BITS
br label %12
12: ; preds = %6, %1
%13 = phi ptr [ @X25519_BITS, %1 ], [ %11, %6 ]
%14 = load i32, ptr %13, align 4, !tbaa !14
ret i32 %14
}
declare i64 @IS25519(i32 noundef) local_unnamed_addr #1
declare i64 @ISX448(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| freebsd_crypto_openssl_crypto_ec_extr_ecx_meth.c_ecx_bits |
; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_super.c_check_volume_empty.c'
source_filename = "AnghaBench/linux/fs/ubifs/extr_super.c_check_volume_empty.c"
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.ubifs_info = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_volume_empty], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @check_volume_empty(ptr noundef %0) #0 {
store i32 1, ptr %0, align 4, !tbaa !5
%2 = getelementptr inbounds %struct.ubifs_info, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %19
5: ; preds = %1, %14
%6 = phi i32 [ %16, %14 ], [ 0, %1 ]
%7 = tail call i32 @ubifs_is_mapped(ptr noundef nonnull %0, i32 noundef %6) #2
%8 = lshr i32 %7, 31
%9 = tail call i64 @unlikely(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %5
%12 = icmp eq i32 %7, 1
br i1 %12, label %13, label %14
13: ; preds = %11
store i32 0, ptr %0, align 4, !tbaa !5
br label %19
14: ; preds = %11
%15 = tail call i32 (...) @cond_resched() #2
%16 = add nuw nsw i32 %6, 1
%17 = load i32, ptr %2, align 4, !tbaa !10
%18 = icmp slt i32 %16, %17
br i1 %18, label %5, label %19, !llvm.loop !11
19: ; preds = %5, %14, %1, %13
%20 = phi i32 [ 0, %13 ], [ 0, %1 ], [ %7, %5 ], [ 0, %14 ]
ret i32 %20
}
declare i32 @ubifs_is_mapped(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @cond_resched(...) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ubifs_info", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_super.c_check_volume_empty.c'
source_filename = "AnghaBench/linux/fs/ubifs/extr_super.c_check_volume_empty.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @check_volume_empty], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @check_volume_empty(ptr noundef %0) #0 {
store i32 1, ptr %0, align 4, !tbaa !6
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %19
5: ; preds = %1, %14
%6 = phi i32 [ %16, %14 ], [ 0, %1 ]
%7 = tail call i32 @ubifs_is_mapped(ptr noundef nonnull %0, i32 noundef %6) #2
%8 = lshr i32 %7, 31
%9 = tail call i64 @unlikely(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %5
%12 = icmp eq i32 %7, 1
br i1 %12, label %13, label %14
13: ; preds = %11
store i32 0, ptr %0, align 4, !tbaa !6
br label %19
14: ; preds = %11
%15 = tail call i32 @cond_resched() #2
%16 = add nuw nsw i32 %6, 1
%17 = load i32, ptr %2, align 4, !tbaa !11
%18 = icmp slt i32 %16, %17
br i1 %18, label %5, label %19, !llvm.loop !12
19: ; preds = %5, %14, %1, %13
%20 = phi i32 [ 0, %13 ], [ 0, %1 ], [ %7, %5 ], [ 0, %14 ]
ret i32 %20
}
declare i32 @ubifs_is_mapped(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @cond_resched(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ubifs_info", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| linux_fs_ubifs_extr_super.c_check_volume_empty |
; ModuleID = 'AnghaBench/kphp-kdb/binlog/extr_check-binlog.c_usage.c'
source_filename = "AnghaBench/kphp-kdb/binlog/extr_check-binlog.c_usage.c"
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"
@FullVersionStr = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [1679 x i8] c"check-binlog [-u<username>] [-c<max-conn>] [-v] [-b<backups_dir>] [-a<binlog-name>] <binlog>\0A\09Checking binlog tool.\0A\09[-v]\09\09output statistical and debug information into stderr\0A\09[-s<N>]\09limit disk reading speed to N bytes in second, e.g. 32m, N > 1g means no limit\0A\09[-q]\09quick test (only slice sizes and rotation consistency check)\0A\09[-H<heap-size>]\09defines maximum heap size (default: %lld bytes).\0A\09[-I<buffsize>]\09set IO buffer size (default buffsize is 16Mb)\0A\09\09for bin.bz files buffsize is equal to KFS_BINLOG_ZIP_CHUNK_SIZE (%d bytes)\0A\09[-i]\09disable check that snapshot is readable in the case removed first binlog file, \0A\09\09NOTICE: snapshot heuristics doesn't work in the case of news-engine, ...\0A\09[-k]\09\09keep going on fatal errors\0A\09[-E<N>]\09show only first <N> errors for each binlog\0A\09[-S]\09backups have same names as original binlogs (no suffix with dot and 10 digits), check storage-engine volumes\0A\09[-A]\09allow first available slice starts from LEV_ROTATE_FROM (Example: adstat).\0A\09[-b<backups_dir>]\09set backups dir\0A\09[-B<backups_suboptions>]\09set backups suboptions\0ABackup suboptions:\0A\09'p'\09partial check, warning in the case no correct backup\0A\09'P'\09partial check, error in the case no correct backup\0A\09'f'\09full check, warning in the case no correct backup\0A\09'F'\09full check, error in the case no correct backup\0A\09'd'\09warn if there is incorrect backup and at least one correct backup\0A\09'r'\09warn if there is multiple correct backups\0A\09'm'\09warn shorter backup for not last binlog file\0A\09'M'\09error shorter backup for not last binlog file\0A\09'l'\09warn shorter backup for last binlog file\0A\09'L'\09error shorter backup for last binlog file\0ASpecifying backups suboptions as 'all' is equivalent to '%s'.\0A\00", align 1
@heap_memory = dso_local local_unnamed_addr global i32 0, align 4
@KFS_BINLOG_ZIP_CHUNK_SIZE = dso_local local_unnamed_addr global ptr null, align 8
@BACKUP_ALL_SUBOPTIONS = dso_local local_unnamed_addr global i32 0, align 4
@str = private unnamed_addr constant [84 x i8] c"\0A$./check-binlog -m <src1.bin> <src2.bin>\0A\09Only rotate logevents consistency check.\00", align 1
; Function Attrs: noreturn nounwind uwtable
define dso_local void @usage() local_unnamed_addr #0 {
%1 = load ptr, ptr @FullVersionStr, align 8, !tbaa !5
%2 = tail call i32 @puts(ptr nonnull dereferenceable(1) %1)
%3 = load i32, ptr @heap_memory, align 4, !tbaa !9
%4 = load ptr, ptr @KFS_BINLOG_ZIP_CHUNK_SIZE, align 8, !tbaa !5
%5 = load i32, ptr @BACKUP_ALL_SUBOPTIONS, align 4, !tbaa !9
%6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %3, ptr noundef %4, i32 noundef %5)
%7 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%8 = tail call i32 @exit(i32 noundef 2) #4
unreachable
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { noreturn 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 = { 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 #2 = { noreturn "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 = { nofree nounwind }
attributes #4 = { noreturn 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/kphp-kdb/binlog/extr_check-binlog.c_usage.c'
source_filename = "AnghaBench/kphp-kdb/binlog/extr_check-binlog.c_usage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FullVersionStr = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [1679 x i8] c"check-binlog [-u<username>] [-c<max-conn>] [-v] [-b<backups_dir>] [-a<binlog-name>] <binlog>\0A\09Checking binlog tool.\0A\09[-v]\09\09output statistical and debug information into stderr\0A\09[-s<N>]\09limit disk reading speed to N bytes in second, e.g. 32m, N > 1g means no limit\0A\09[-q]\09quick test (only slice sizes and rotation consistency check)\0A\09[-H<heap-size>]\09defines maximum heap size (default: %lld bytes).\0A\09[-I<buffsize>]\09set IO buffer size (default buffsize is 16Mb)\0A\09\09for bin.bz files buffsize is equal to KFS_BINLOG_ZIP_CHUNK_SIZE (%d bytes)\0A\09[-i]\09disable check that snapshot is readable in the case removed first binlog file, \0A\09\09NOTICE: snapshot heuristics doesn't work in the case of news-engine, ...\0A\09[-k]\09\09keep going on fatal errors\0A\09[-E<N>]\09show only first <N> errors for each binlog\0A\09[-S]\09backups have same names as original binlogs (no suffix with dot and 10 digits), check storage-engine volumes\0A\09[-A]\09allow first available slice starts from LEV_ROTATE_FROM (Example: adstat).\0A\09[-b<backups_dir>]\09set backups dir\0A\09[-B<backups_suboptions>]\09set backups suboptions\0ABackup suboptions:\0A\09'p'\09partial check, warning in the case no correct backup\0A\09'P'\09partial check, error in the case no correct backup\0A\09'f'\09full check, warning in the case no correct backup\0A\09'F'\09full check, error in the case no correct backup\0A\09'd'\09warn if there is incorrect backup and at least one correct backup\0A\09'r'\09warn if there is multiple correct backups\0A\09'm'\09warn shorter backup for not last binlog file\0A\09'M'\09error shorter backup for not last binlog file\0A\09'l'\09warn shorter backup for last binlog file\0A\09'L'\09error shorter backup for last binlog file\0ASpecifying backups suboptions as 'all' is equivalent to '%s'.\0A\00", align 1
@heap_memory = common local_unnamed_addr global i32 0, align 4
@KFS_BINLOG_ZIP_CHUNK_SIZE = common local_unnamed_addr global ptr null, align 8
@BACKUP_ALL_SUBOPTIONS = common local_unnamed_addr global i32 0, align 4
@str = private unnamed_addr constant [84 x i8] c"\0A$./check-binlog -m <src1.bin> <src2.bin>\0A\09Only rotate logevents consistency check.\00", align 1
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define void @usage() local_unnamed_addr #0 {
%1 = load ptr, ptr @FullVersionStr, align 8, !tbaa !6
%2 = tail call i32 @puts(ptr nonnull dereferenceable(1) %1)
%3 = load i32, ptr @heap_memory, align 4, !tbaa !10
%4 = load ptr, ptr @KFS_BINLOG_ZIP_CHUNK_SIZE, align 8, !tbaa !6
%5 = load i32, ptr @BACKUP_ALL_SUBOPTIONS, align 4, !tbaa !10
%6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %3, ptr noundef %4, i32 noundef %5)
%7 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%8 = tail call i32 @exit(i32 noundef 2) #4
unreachable
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| kphp-kdb_binlog_extr_check-binlog.c_usage |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/saa7134/extr_saa7134-dvb.c_philips_td1316_tuner_set_params.c'
source_filename = "AnghaBench/linux/drivers/media/pci/saa7134/extr_saa7134-dvb.c_philips_td1316_tuner_set_params.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @philips_td1316_tuner_set_params], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @philips_td1316_tuner_set_params(ptr noundef %0) #0 {
%2 = tail call i32 @philips_tda6651_pll_set(ptr noundef %0) #2
ret i32 %2
}
declare i32 @philips_tda6651_pll_set(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/pci/saa7134/extr_saa7134-dvb.c_philips_td1316_tuner_set_params.c'
source_filename = "AnghaBench/linux/drivers/media/pci/saa7134/extr_saa7134-dvb.c_philips_td1316_tuner_set_params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @philips_td1316_tuner_set_params], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @philips_td1316_tuner_set_params(ptr noundef %0) #0 {
%2 = tail call i32 @philips_tda6651_pll_set(ptr noundef %0) #2
ret i32 %2
}
declare i32 @philips_tda6651_pll_set(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_media_pci_saa7134_extr_saa7134-dvb.c_philips_td1316_tuner_set_params |
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/vmx/extr_vmcs12.h_vmcs_field_to_offset.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/vmx/extr_vmcs12.h_vmcs_field_to_offset.c"
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"
@ENOENT = dso_local local_unnamed_addr global i16 0, align 2
@nr_vmcs12_fields = dso_local local_unnamed_addr global i32 0, align 4
@vmcs_field_to_offset_table = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vmcs_field_to_offset], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal signext i16 @vmcs_field_to_offset(i64 noundef %0) #0 {
%2 = icmp ult i64 %0, 32768
br i1 %2, label %6, label %3
3: ; preds = %1
%4 = load i16, ptr @ENOENT, align 2, !tbaa !5
%5 = sub i16 0, %4
br label %23
6: ; preds = %1
%7 = tail call i32 @ROL16(i64 noundef %0, i32 noundef 6) #2
%8 = load i32, ptr @nr_vmcs12_fields, align 4, !tbaa !9
%9 = icmp ult i32 %7, %8
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = load i16, ptr @ENOENT, align 2, !tbaa !5
%12 = sub i16 0, %11
br label %23
13: ; preds = %6
%14 = tail call i32 @array_index_nospec(i32 noundef %7, i32 noundef %8) #2
%15 = load ptr, ptr @vmcs_field_to_offset_table, align 8, !tbaa !11
%16 = zext i32 %14 to i64
%17 = getelementptr inbounds i16, ptr %15, i64 %16
%18 = load i16, ptr %17, align 2, !tbaa !5
%19 = icmp eq i16 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %13
%21 = load i16, ptr @ENOENT, align 2, !tbaa !5
%22 = sub i16 0, %21
br label %23
23: ; preds = %13, %20, %10, %3
%24 = phi i16 [ %5, %3 ], [ %12, %10 ], [ %22, %20 ], [ %18, %13 ]
ret i16 %24
}
declare i32 @ROL16(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @array_index_nospec(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint 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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kvm/vmx/extr_vmcs12.h_vmcs_field_to_offset.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/vmx/extr_vmcs12.h_vmcs_field_to_offset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOENT = common local_unnamed_addr global i16 0, align 2
@nr_vmcs12_fields = common local_unnamed_addr global i32 0, align 4
@vmcs_field_to_offset_table = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @vmcs_field_to_offset], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal signext i16 @vmcs_field_to_offset(i64 noundef %0) #0 {
%2 = icmp ult i64 %0, 32768
br i1 %2, label %6, label %3
3: ; preds = %1
%4 = load i16, ptr @ENOENT, align 2, !tbaa !6
%5 = sub i16 0, %4
br label %23
6: ; preds = %1
%7 = tail call i32 @ROL16(i64 noundef %0, i32 noundef 6) #2
%8 = load i32, ptr @nr_vmcs12_fields, align 4, !tbaa !10
%9 = icmp ult i32 %7, %8
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = load i16, ptr @ENOENT, align 2, !tbaa !6
%12 = sub i16 0, %11
br label %23
13: ; preds = %6
%14 = tail call i32 @array_index_nospec(i32 noundef %7, i32 noundef %8) #2
%15 = load ptr, ptr @vmcs_field_to_offset_table, align 8, !tbaa !12
%16 = zext i32 %14 to i64
%17 = getelementptr inbounds i16, ptr %15, i64 %16
%18 = load i16, ptr %17, align 2, !tbaa !6
%19 = icmp eq i16 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %13
%21 = load i16, ptr @ENOENT, align 2, !tbaa !6
%22 = sub i16 0, %21
br label %23
23: ; preds = %13, %20, %10, %3
%24 = phi i16 [ %5, %3 ], [ %12, %10 ], [ %22, %20 ], [ %18, %13 ]
ret i16 %24
}
declare i32 @ROL16(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @array_index_nospec(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
| linux_arch_x86_kvm_vmx_extr_vmcs12.h_vmcs_field_to_offset |
; ModuleID = 'AnghaBench/sqlcipher/ext/fts1/extr_fulltext.c_fulltextRowid.c'
source_filename = "AnghaBench/sqlcipher/ext/fts1/extr_fulltext.c_fulltextRowid.c"
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"
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fulltextRowid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fulltextRowid(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @sqlite3_column_int64(i32 noundef %3, i32 noundef 0) #2
store i32 %4, ptr %1, align 4, !tbaa !10
%5 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10
ret i32 %5
}
declare i32 @sqlite3_column_int64(i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/fts1/extr_fulltext.c_fulltextRowid.c'
source_filename = "AnghaBench/sqlcipher/ext/fts1/extr_fulltext.c_fulltextRowid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fulltextRowid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fulltextRowid(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @sqlite3_column_int64(i32 noundef %3, i32 noundef 0) #2
store i32 %4, ptr %1, align 4, !tbaa !11
%5 = load i32, ptr @SQLITE_OK, align 4, !tbaa !11
ret i32 %5
}
declare i32 @sqlite3_column_int64(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| sqlcipher_ext_fts1_extr_fulltext.c_fulltextRowid |
; ModuleID = 'AnghaBench/gb-studio/buildTools/linux-x64/gbdk/libc/extr_ltoa.c_ltoa.c'
source_filename = "AnghaBench/gb-studio/buildTools/linux-x64/gbdk/libc/extr_ltoa.c_ltoa.c"
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"
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @ltoa(i64 noundef %0, ptr noundef returned %1) local_unnamed_addr #0 {
%3 = tail call i64 @llvm.abs.i64(i64 %0, i1 true)
br label %4
4: ; preds = %4, %2
%5 = phi i64 [ %10, %4 ], [ 0, %2 ]
%6 = phi i64 [ %12, %4 ], [ %3, %2 ]
%7 = urem i64 %6, 10
%8 = trunc i64 %7 to i8
%9 = or disjoint i8 %8, 48
%10 = add nuw i64 %5, 1
%11 = getelementptr inbounds i8, ptr %1, i64 %5
store i8 %9, ptr %11, align 1, !tbaa !5
%12 = udiv i64 %6, 10
%13 = icmp ugt i64 %6, 9
br i1 %13, label %4, label %14, !llvm.loop !8
14: ; preds = %4
%15 = icmp sgt i64 %0, -1
br i1 %15, label %20, label %16
16: ; preds = %14
%17 = add i64 %5, 2
%18 = and i64 %10, 4294967295
%19 = getelementptr inbounds i8, ptr %1, i64 %18
store i8 45, ptr %19, align 1, !tbaa !5
br label %20
20: ; preds = %16, %14
%21 = phi i64 [ %17, %16 ], [ %10, %14 ]
%22 = shl i64 %21, 32
%23 = ashr exact i64 %22, 32
%24 = getelementptr inbounds i8, ptr %1, i64 %23
store i8 0, ptr %24, align 1, !tbaa !5
%25 = tail call i32 @reverse(ptr noundef nonnull %1) #3
ret ptr %1
}
declare i32 @reverse(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.abs.i64(i64, i1 immarg) #2
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 speculatable willreturn memory(none) }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/gb-studio/buildTools/linux-x64/gbdk/libc/extr_ltoa.c_ltoa.c'
source_filename = "AnghaBench/gb-studio/buildTools/linux-x64/gbdk/libc/extr_ltoa.c_ltoa.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @ltoa(i64 noundef %0, ptr noundef returned %1) local_unnamed_addr #0 {
%3 = tail call i64 @llvm.abs.i64(i64 %0, i1 true)
br label %4
4: ; preds = %4, %2
%5 = phi i64 [ %13, %4 ], [ 0, %2 ]
%6 = phi i64 [ %8, %4 ], [ %3, %2 ]
%7 = freeze i64 %6
%8 = udiv i64 %7, 10
%9 = mul i64 %8, 10
%10 = sub i64 %7, %9
%11 = trunc nuw nsw i64 %10 to i8
%12 = or disjoint i8 %11, 48
%13 = add nuw nsw i64 %5, 1
%14 = getelementptr inbounds i8, ptr %1, i64 %5
store i8 %12, ptr %14, align 1, !tbaa !6
%15 = icmp ult i64 %6, 10
br i1 %15, label %16, label %4, !llvm.loop !9
16: ; preds = %4
%17 = icmp sgt i64 %0, -1
br i1 %17, label %22, label %18
18: ; preds = %16
%19 = add nuw i64 %5, 2
%20 = and i64 %13, 4294967295
%21 = getelementptr inbounds i8, ptr %1, i64 %20
store i8 45, ptr %21, align 1, !tbaa !6
br label %22
22: ; preds = %18, %16
%23 = phi i64 [ %19, %18 ], [ %13, %16 ]
%24 = shl i64 %23, 32
%25 = ashr exact i64 %24, 32
%26 = getelementptr inbounds i8, ptr %1, i64 %25
store i8 0, ptr %26, align 1, !tbaa !6
%27 = tail call i32 @reverse(ptr noundef nonnull %1) #3
ret ptr %1
}
declare i32 @reverse(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.abs.i64(i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| gb-studio_buildTools_linux-x64_gbdk_libc_extr_ltoa.c_ltoa |
; ModuleID = 'AnghaBench/linux/fs/jbd2/extr_transaction.c___jbd2_journal_refile_buffer.c'
source_filename = "AnghaBench/linux/fs/jbd2/extr_transaction.c___jbd2_journal_refile_buffer.c"
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.TYPE_4__ = type { i64, ptr }
%struct.journal_head = type { ptr, i64, ptr }
@BJ_Forget = dso_local local_unnamed_addr global i32 0, align 4
@BJ_Metadata = dso_local local_unnamed_addr global i32 0, align 4
@BJ_Reserved = dso_local local_unnamed_addr global i32 0, align 4
@T_RUNNING = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @__jbd2_journal_refile_buffer(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @jh2bh(ptr noundef %0) #2
%3 = tail call i32 @jbd_is_locked_bh_state(ptr noundef %2) #2
%4 = tail call i32 @J_ASSERT_JH(ptr noundef %0, i32 noundef %3) #2
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = tail call i32 @assert_spin_locked(ptr noundef %9) #2
br label %11
11: ; preds = %7, %1
%12 = getelementptr inbounds %struct.journal_head, ptr %0, i64 0, i32 2
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = tail call i32 @__jbd2_journal_unfile_buffer(ptr noundef nonnull %0) #2
br label %42
17: ; preds = %11
%18 = tail call i32 @test_clear_buffer_jbddirty(ptr noundef %2) #2
%19 = tail call i32 @__jbd2_journal_temp_unlink_buffer(ptr noundef nonnull %0) #2
%20 = load ptr, ptr %12, align 8, !tbaa !13
store ptr %20, ptr %0, align 8, !tbaa !5
store ptr null, ptr %12, align 8, !tbaa !13
%21 = tail call i64 @buffer_freed(ptr noundef %2) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %17
%24 = getelementptr inbounds %struct.journal_head, ptr %0, i64 0, i32 1
%25 = load i64, ptr %24, align 8, !tbaa !14
%26 = icmp eq i64 %25, 0
%27 = select i1 %26, ptr @BJ_Reserved, ptr @BJ_Metadata
br label %28
28: ; preds = %23, %17
%29 = phi ptr [ @BJ_Forget, %17 ], [ %27, %23 ]
%30 = load i32, ptr %29, align 4, !tbaa !15
%31 = load ptr, ptr %0, align 8, !tbaa !5
%32 = tail call i32 @__jbd2_journal_file_buffer(ptr noundef nonnull %0, ptr noundef %31, i32 noundef %30) #2
%33 = load ptr, ptr %0, align 8, !tbaa !5
%34 = load i64, ptr %33, align 8, !tbaa !17
%35 = load i64, ptr @T_RUNNING, align 8, !tbaa !18
%36 = icmp eq i64 %34, %35
%37 = zext i1 %36 to i32
%38 = tail call i32 @J_ASSERT_JH(ptr noundef nonnull %0, i32 noundef %37) #2
%39 = icmp eq i32 %18, 0
br i1 %39, label %42, label %40
40: ; preds = %28
%41 = tail call i32 @set_buffer_jbddirty(ptr noundef %2) #2
br label %42
42: ; preds = %28, %40, %15
ret void
}
declare ptr @jh2bh(ptr noundef) local_unnamed_addr #1
declare i32 @J_ASSERT_JH(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jbd_is_locked_bh_state(ptr noundef) local_unnamed_addr #1
declare i32 @assert_spin_locked(ptr noundef) local_unnamed_addr #1
declare i32 @__jbd2_journal_unfile_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @test_clear_buffer_jbddirty(ptr noundef) local_unnamed_addr #1
declare i32 @__jbd2_journal_temp_unlink_buffer(ptr noundef) local_unnamed_addr #1
declare i64 @buffer_freed(ptr noundef) local_unnamed_addr #1
declare i32 @__jbd2_journal_file_buffer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_buffer_jbddirty(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"journal_head", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"TYPE_4__", !10, i64 0, !7, i64 8}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !10, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!12, !10, i64 0}
!18 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/jbd2/extr_transaction.c___jbd2_journal_refile_buffer.c'
source_filename = "AnghaBench/linux/fs/jbd2/extr_transaction.c___jbd2_journal_refile_buffer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BJ_Forget = common local_unnamed_addr global i32 0, align 4
@BJ_Metadata = common local_unnamed_addr global i32 0, align 4
@BJ_Reserved = common local_unnamed_addr global i32 0, align 4
@T_RUNNING = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @__jbd2_journal_refile_buffer(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @jh2bh(ptr noundef %0) #2
%3 = tail call i32 @jbd_is_locked_bh_state(ptr noundef %2) #2
%4 = tail call i32 @J_ASSERT_JH(ptr noundef %0, i32 noundef %3) #2
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %5, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = tail call i32 @assert_spin_locked(ptr noundef %9) #2
br label %11
11: ; preds = %7, %1
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = tail call i32 @__jbd2_journal_unfile_buffer(ptr noundef nonnull %0) #2
br label %42
17: ; preds = %11
%18 = tail call i32 @test_clear_buffer_jbddirty(ptr noundef %2) #2
%19 = tail call i32 @__jbd2_journal_temp_unlink_buffer(ptr noundef nonnull %0) #2
%20 = load ptr, ptr %12, align 8, !tbaa !14
store ptr %20, ptr %0, align 8, !tbaa !6
store ptr null, ptr %12, align 8, !tbaa !14
%21 = tail call i64 @buffer_freed(ptr noundef %2) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %17
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load i64, ptr %24, align 8, !tbaa !15
%26 = icmp eq i64 %25, 0
%27 = select i1 %26, ptr @BJ_Reserved, ptr @BJ_Metadata
br label %28
28: ; preds = %23, %17
%29 = phi ptr [ @BJ_Forget, %17 ], [ %27, %23 ]
%30 = load i32, ptr %29, align 4, !tbaa !16
%31 = load ptr, ptr %0, align 8, !tbaa !6
%32 = tail call i32 @__jbd2_journal_file_buffer(ptr noundef nonnull %0, ptr noundef %31, i32 noundef %30) #2
%33 = load ptr, ptr %0, align 8, !tbaa !6
%34 = load i64, ptr %33, align 8, !tbaa !18
%35 = load i64, ptr @T_RUNNING, align 8, !tbaa !19
%36 = icmp eq i64 %34, %35
%37 = zext i1 %36 to i32
%38 = tail call i32 @J_ASSERT_JH(ptr noundef nonnull %0, i32 noundef %37) #2
%39 = icmp eq i32 %18, 0
br i1 %39, label %42, label %40
40: ; preds = %28
%41 = tail call i32 @set_buffer_jbddirty(ptr noundef %2) #2
br label %42
42: ; preds = %28, %40, %15
ret void
}
declare ptr @jh2bh(ptr noundef) local_unnamed_addr #1
declare i32 @J_ASSERT_JH(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @jbd_is_locked_bh_state(ptr noundef) local_unnamed_addr #1
declare i32 @assert_spin_locked(ptr noundef) local_unnamed_addr #1
declare i32 @__jbd2_journal_unfile_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @test_clear_buffer_jbddirty(ptr noundef) local_unnamed_addr #1
declare i32 @__jbd2_journal_temp_unlink_buffer(ptr noundef) local_unnamed_addr #1
declare i64 @buffer_freed(ptr noundef) local_unnamed_addr #1
declare i32 @__jbd2_journal_file_buffer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_buffer_jbddirty(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"journal_head", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !8, i64 8}
!13 = !{!"TYPE_4__", !11, i64 0, !8, i64 8}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !11, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !9, i64 0}
!18 = !{!13, !11, i64 0}
!19 = !{!11, !11, i64 0}
| linux_fs_jbd2_extr_transaction.c___jbd2_journal_refile_buffer |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb/extr_opera1.c_opera1_frontend_attach.c'
source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb/extr_opera1.c_opera1_frontend_attach.c"
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.dvb_usb_adapter = type { ptr, ptr }
@stv0299_attach = dso_local local_unnamed_addr global i32 0, align 4
@opera1_stv0299_config = dso_local global i32 0, align 4
@opera1_set_voltage = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"not attached stv0299\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @opera1_frontend_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @opera1_frontend_attach(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @stv0299_attach, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.dvb_usb_adapter, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = tail call ptr @dvb_attach(i32 noundef %2, ptr noundef nonnull @opera1_stv0299_config, ptr noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !12
store ptr %5, ptr %6, align 8, !tbaa !13
%7 = icmp eq ptr %5, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = load i32, ptr @opera1_set_voltage, align 4, !tbaa !5
store i32 %9, ptr %5, align 4, !tbaa !15
br label %14
10: ; preds = %1
%11 = tail call i32 @info(ptr noundef nonnull @.str) #2
%12 = load i32, ptr @EIO, align 4, !tbaa !5
%13 = sub nsw i32 0, %12
br label %14
14: ; preds = %10, %8
%15 = phi i32 [ 0, %8 ], [ %13, %10 ]
ret i32 %15
}
declare ptr @dvb_attach(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @info(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"dvb_usb_adapter", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_7__", !11, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_8__", !17, i64 0}
!17 = !{!"TYPE_5__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb/extr_opera1.c_opera1_frontend_attach.c'
source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb/extr_opera1.c_opera1_frontend_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stv0299_attach = common local_unnamed_addr global i32 0, align 4
@opera1_stv0299_config = common global i32 0, align 4
@opera1_set_voltage = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"not attached stv0299\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @opera1_frontend_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @opera1_frontend_attach(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @stv0299_attach, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = tail call ptr @dvb_attach(i32 noundef %2, ptr noundef nonnull @opera1_stv0299_config, ptr noundef %4) #2
%6 = load ptr, ptr %0, align 8, !tbaa !13
store ptr %5, ptr %6, align 8, !tbaa !14
%7 = icmp eq ptr %5, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = load i32, ptr @opera1_set_voltage, align 4, !tbaa !6
store i32 %9, ptr %5, align 4, !tbaa !16
br label %14
10: ; preds = %1
%11 = tail call i32 @info(ptr noundef nonnull @.str) #2
%12 = load i32, ptr @EIO, align 4, !tbaa !6
%13 = sub nsw i32 0, %12
br label %14
14: ; preds = %10, %8
%15 = phi i32 [ 0, %8 ], [ %13, %10 ]
ret i32 %15
}
declare ptr @dvb_attach(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @info(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"dvb_usb_adapter", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_7__", !12, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_8__", !18, i64 0}
!18 = !{!"TYPE_5__", !7, i64 0}
| linux_drivers_media_usb_dvb-usb_extr_opera1.c_opera1_frontend_attach |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_tda8290.c_tda8290_init_if.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_tda8290.c_tda8290_init_if.c"
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.tda8290_priv = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @tda8290_init_if], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tda8290_init_if(ptr nocapture noundef readonly %0) #0 {
%2 = alloca [2 x i8], align 2
%3 = alloca [2 x i8], align 2
%4 = alloca [2 x i8], align 2
%5 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #3
store i16 28464, ptr %2, align 2
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #3
store i16 288, ptr %3, align 2
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
store i16 2848, ptr %4, align 2
%6 = getelementptr inbounds %struct.tda8290_priv, ptr %5, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = add i32 %7, -1
%9 = icmp ult i32 %8, 2
%10 = select i1 %9, ptr %3, ptr %4
%11 = call i32 @tuner_i2c_xfer_send(ptr noundef nonnull %5, ptr noundef nonnull %10, i32 noundef 2) #3
%12 = call i32 @tuner_i2c_xfer_send(ptr noundef nonnull %5, ptr noundef nonnull %2, i32 noundef 2) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @tuner_i2c_xfer_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dvb_frontend", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"tda8290_priv", !12, i64 0, !13, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_2__", !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_tda8290.c_tda8290_init_if.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_tda8290.c_tda8290_init_if.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @tda8290_init_if], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tda8290_init_if(ptr nocapture noundef readonly %0) #0 {
%2 = alloca [2 x i8], align 2
%3 = alloca [2 x i8], align 2
%4 = alloca [2 x i8], align 2
%5 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #3
store i16 28464, ptr %2, align 2
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #3
store i16 288, ptr %3, align 2
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
store i16 2848, ptr %4, align 2
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = add i32 %7, -1
%9 = icmp ult i32 %8, 2
%10 = select i1 %9, ptr %3, ptr %4
%11 = call i32 @tuner_i2c_xfer_send(ptr noundef nonnull %5, ptr noundef nonnull %10, i32 noundef 2) #3
%12 = call i32 @tuner_i2c_xfer_send(ptr noundef nonnull %5, ptr noundef nonnull %2, i32 noundef 2) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @tuner_i2c_xfer_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dvb_frontend", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 4}
!12 = !{!"tda8290_priv", !13, i64 0, !14, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!"TYPE_2__", !13, i64 0}
| fastsocket_kernel_drivers_media_common_tuners_extr_tda8290.c_tda8290_init_if |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_led.h_ieee80211_led_names.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_led.h_ieee80211_led_names.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ieee80211_led_names], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @ieee80211_led_names(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_led.h_ieee80211_led_names.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_led.h_ieee80211_led_names.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ieee80211_led_names], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @ieee80211_led_names(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_net_mac80211_extr_led.h_ieee80211_led_names |
; ModuleID = 'AnghaBench/exploitdb/exploits/multiple/dos/extr_39366.c_go.c'
source_filename = "AnghaBench/exploitdb/exploits/multiple/dos/extr_39366.c_go.c"
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"
@start = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @go(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = tail call i32 @usleep(i32 noundef 1) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @exit_it(i32 noundef %3) #2
ret void
}
declare i32 @usleep(i32 noundef) local_unnamed_addr #1
declare i32 @exit_it(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/multiple/dos/extr_39366.c_go.c'
source_filename = "AnghaBench/exploitdb/exploits/multiple/dos/extr_39366.c_go.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@start = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @go(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = tail call i32 @usleep(i32 noundef 1) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @exit_it(i32 noundef %3) #2
ret void
}
declare i32 @usleep(i32 noundef) local_unnamed_addr #1
declare i32 @exit_it(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| exploitdb_exploits_multiple_dos_extr_39366.c_go |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_uk.c_i40iw_send.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_uk.c_i40iw_send.c"
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.i40iw_post_sq_info = type { i32, i32, i32, i32, i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { %struct.i40iw_post_send }
%struct.i40iw_post_send = type { i64, ptr }
%struct.TYPE_4__ = type { i64 }
%struct.i40iw_qp_uk = type { i64, i32 }
@I40IW_ERR_INVALID_FRAG_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@I40IW_ERR_QP_TOOMANY_WRS_POSTED = dso_local local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_REMSTAG = dso_local local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_OPCODE = dso_local local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_ADDFRAGCNT = dso_local local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_READFENCE = dso_local local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_LOCALFENCE = dso_local local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_SIGCOMPL = dso_local local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_VALID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @i40iw_send], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @i40iw_send(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%7 = getelementptr inbounds %struct.i40iw_post_sq_info, ptr %1, i64 0, i32 5
%8 = load i64, ptr %0, align 8, !tbaa !5
%9 = load i64, ptr %7, align 8, !tbaa !11
%10 = icmp ult i64 %8, %9
br i1 %10, label %38, label %11
11: ; preds = %4
%12 = icmp eq i64 %9, 0
br i1 %12, label %48, label %13
13: ; preds = %11
%14 = getelementptr inbounds %struct.i40iw_post_sq_info, ptr %1, i64 0, i32 5, i32 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !14
%16 = icmp ult i64 %9, 4
br i1 %16, label %35, label %17
17: ; preds = %13
%18 = and i64 %9, -4
br label %19
19: ; preds = %19, %17
%20 = phi i64 [ 0, %17 ], [ %29, %19 ]
%21 = phi <2 x i64> [ zeroinitializer, %17 ], [ %27, %19 ]
%22 = phi <2 x i64> [ zeroinitializer, %17 ], [ %28, %19 ]
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %20
%24 = getelementptr inbounds i64, ptr %23, i64 2
%25 = load <2 x i64>, ptr %23, align 8, !tbaa !15
%26 = load <2 x i64>, ptr %24, align 8, !tbaa !15
%27 = add <2 x i64> %25, %21
%28 = add <2 x i64> %26, %22
%29 = add nuw i64 %20, 4
%30 = icmp eq i64 %29, %18
br i1 %30, label %31, label %19, !llvm.loop !17
31: ; preds = %19
%32 = add <2 x i64> %28, %27
%33 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %32)
%34 = icmp eq i64 %9, %18
br i1 %34, label %48, label %35
35: ; preds = %13, %31
%36 = phi i64 [ 0, %13 ], [ %33, %31 ]
%37 = phi i64 [ 0, %13 ], [ %18, %31 ]
br label %40
38: ; preds = %4
%39 = load i32, ptr @I40IW_ERR_INVALID_FRAG_COUNT, align 4, !tbaa !21
br label %118
40: ; preds = %35, %40
%41 = phi i64 [ %45, %40 ], [ %36, %35 ]
%42 = phi i64 [ %46, %40 ], [ %37, %35 ]
%43 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %42
%44 = load i64, ptr %43, align 8, !tbaa !15
%45 = add i64 %44, %41
%46 = add nuw i64 %42, 1
%47 = icmp eq i64 %46, %9
br i1 %47, label %48, label %40, !llvm.loop !22
48: ; preds = %40, %31, %11
%49 = phi i64 [ 0, %11 ], [ %33, %31 ], [ %45, %40 ]
%50 = call i32 @i40iw_fragcnt_to_wqesize_sq(i64 noundef %9, ptr noundef nonnull %6) #4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %118
52: ; preds = %48
%53 = load i32, ptr %6, align 4, !tbaa !21
%54 = getelementptr inbounds %struct.i40iw_post_sq_info, ptr %1, i64 0, i32 4
%55 = load i32, ptr %54, align 8, !tbaa !23
%56 = call ptr @i40iw_qp_get_next_send_wqe(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %53, i64 noundef %49, i32 noundef %55) #4
%57 = icmp eq ptr %56, null
br i1 %57, label %58, label %60
58: ; preds = %52
%59 = load i32, ptr @I40IW_ERR_QP_TOOMANY_WRS_POSTED, align 4, !tbaa !21
br label %118
60: ; preds = %52
%61 = load i32, ptr %1, align 8, !tbaa !26
%62 = call i32 @set_64bit_val(ptr noundef nonnull %56, i32 noundef 16, i32 noundef 0) #4
%63 = trunc i64 %2 to i32
%64 = load i32, ptr @I40IWQPSQ_REMSTAG, align 4, !tbaa !21
%65 = call i32 @LS_64(i32 noundef %63, i32 noundef %64) #4
%66 = getelementptr inbounds %struct.i40iw_post_sq_info, ptr %1, i64 0, i32 1
%67 = load i32, ptr %66, align 4, !tbaa !27
%68 = load i32, ptr @I40IWQPSQ_OPCODE, align 4, !tbaa !21
%69 = call i32 @LS_64(i32 noundef %67, i32 noundef %68) #4
%70 = or i32 %69, %65
%71 = load i64, ptr %7, align 8, !tbaa !11
%72 = icmp ugt i64 %71, 1
%73 = trunc i64 %71 to i32
%74 = add i32 %73, -1
%75 = select i1 %72, i32 %74, i32 0
%76 = load i32, ptr @I40IWQPSQ_ADDFRAGCNT, align 4, !tbaa !21
%77 = call i32 @LS_64(i32 noundef %75, i32 noundef %76) #4
%78 = or i32 %70, %77
%79 = load i32, ptr @I40IWQPSQ_READFENCE, align 4, !tbaa !21
%80 = call i32 @LS_64(i32 noundef %61, i32 noundef %79) #4
%81 = or i32 %78, %80
%82 = getelementptr inbounds %struct.i40iw_post_sq_info, ptr %1, i64 0, i32 2
%83 = load i32, ptr %82, align 8, !tbaa !28
%84 = load i32, ptr @I40IWQPSQ_LOCALFENCE, align 4, !tbaa !21
%85 = call i32 @LS_64(i32 noundef %83, i32 noundef %84) #4
%86 = or i32 %81, %85
%87 = getelementptr inbounds %struct.i40iw_post_sq_info, ptr %1, i64 0, i32 3
%88 = load i32, ptr %87, align 4, !tbaa !29
%89 = load i32, ptr @I40IWQPSQ_SIGCOMPL, align 4, !tbaa !21
%90 = call i32 @LS_64(i32 noundef %88, i32 noundef %89) #4
%91 = or i32 %86, %90
%92 = getelementptr inbounds %struct.i40iw_qp_uk, ptr %0, i64 0, i32 1
%93 = load i32, ptr %92, align 8, !tbaa !30
%94 = load i32, ptr @I40IWQPSQ_VALID, align 4, !tbaa !21
%95 = call i32 @LS_64(i32 noundef %93, i32 noundef %94) #4
%96 = or i32 %91, %95
%97 = getelementptr inbounds %struct.i40iw_post_sq_info, ptr %1, i64 0, i32 5, i32 0, i32 1
%98 = load ptr, ptr %97, align 8, !tbaa !14
%99 = call i32 @i40iw_set_fragment(ptr noundef nonnull %56, i64 noundef 0, ptr noundef %98) #4
%100 = load i64, ptr %7, align 8, !tbaa !11
%101 = icmp ugt i64 %100, 1
br i1 %101, label %102, label %112
102: ; preds = %60, %102
%103 = phi i64 [ %108, %102 ], [ 32, %60 ]
%104 = phi i64 [ %109, %102 ], [ 1, %60 ]
%105 = load ptr, ptr %97, align 8, !tbaa !14
%106 = getelementptr inbounds %struct.TYPE_4__, ptr %105, i64 %104
%107 = call i32 @i40iw_set_fragment(ptr noundef nonnull %56, i64 noundef %103, ptr noundef nonnull %106) #4
%108 = add i64 %103, 16
%109 = add nuw i64 %104, 1
%110 = load i64, ptr %7, align 8, !tbaa !11
%111 = icmp ult i64 %109, %110
br i1 %111, label %102, label %112, !llvm.loop !31
112: ; preds = %102, %60
%113 = call i32 (...) @wmb() #4
%114 = call i32 @set_64bit_val(ptr noundef nonnull %56, i32 noundef 24, i32 noundef %96) #4
%115 = icmp eq i32 %3, 0
br i1 %115, label %118, label %116
116: ; preds = %112
%117 = call i32 @i40iw_qp_post_wr(ptr noundef nonnull %0) #4
br label %118
118: ; preds = %112, %116, %48, %58, %38
%119 = phi i32 [ %39, %38 ], [ %59, %58 ], [ %50, %48 ], [ 0, %116 ], [ 0, %112 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
ret i32 %119
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @i40iw_fragcnt_to_wqesize_sq(i64 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @i40iw_qp_get_next_send_wqe(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_64bit_val(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LS_64(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @i40iw_set_fragment(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @wmb(...) local_unnamed_addr #2
declare i32 @i40iw_qp_post_wr(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #3
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 speculatable willreturn memory(none) }
attributes #4 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"i40iw_qp_uk", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"i40iw_post_send", !7, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_4__", !7, i64 0}
!17 = distinct !{!17, !18, !19, !20}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = !{!10, !10, i64 0}
!22 = distinct !{!22, !18, !20, !19}
!23 = !{!24, !10, i64 16}
!24 = !{!"i40iw_post_sq_info", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !25, i64 24}
!25 = !{!"TYPE_3__", !12, i64 0}
!26 = !{!24, !10, i64 0}
!27 = !{!24, !10, i64 4}
!28 = !{!24, !10, i64 8}
!29 = !{!24, !10, i64 12}
!30 = !{!6, !10, i64 8}
!31 = distinct !{!31, !18}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_uk.c_i40iw_send.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_uk.c_i40iw_send.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i64 }
@I40IW_ERR_INVALID_FRAG_COUNT = common local_unnamed_addr global i32 0, align 4
@I40IW_ERR_QP_TOOMANY_WRS_POSTED = common local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_REMSTAG = common local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_OPCODE = common local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_ADDFRAGCNT = common local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_READFENCE = common local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_LOCALFENCE = common local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_SIGCOMPL = common local_unnamed_addr global i32 0, align 4
@I40IWQPSQ_VALID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @i40iw_send], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @i40iw_send(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%7 = getelementptr inbounds i8, ptr %1, i64 24
%8 = load i64, ptr %0, align 8, !tbaa !6
%9 = load i64, ptr %7, align 8, !tbaa !12
%10 = icmp ult i64 %8, %9
br i1 %10, label %48, label %11
11: ; preds = %4
%12 = icmp eq i64 %9, 0
br i1 %12, label %58, label %13
13: ; preds = %11
%14 = getelementptr inbounds i8, ptr %1, i64 32
%15 = load ptr, ptr %14, align 8, !tbaa !15
%16 = icmp ult i64 %9, 8
br i1 %16, label %17, label %20
17: ; preds = %42, %13
%18 = phi i64 [ 0, %13 ], [ %46, %42 ]
%19 = phi i64 [ 0, %13 ], [ %21, %42 ]
br label %50
20: ; preds = %13
%21 = and i64 %9, -8
br label %22
22: ; preds = %22, %20
%23 = phi i64 [ 0, %20 ], [ %40, %22 ]
%24 = phi <2 x i64> [ zeroinitializer, %20 ], [ %36, %22 ]
%25 = phi <2 x i64> [ zeroinitializer, %20 ], [ %37, %22 ]
%26 = phi <2 x i64> [ zeroinitializer, %20 ], [ %38, %22 ]
%27 = phi <2 x i64> [ zeroinitializer, %20 ], [ %39, %22 ]
%28 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %23
%29 = getelementptr inbounds i8, ptr %28, i64 16
%30 = getelementptr inbounds i8, ptr %28, i64 32
%31 = getelementptr inbounds i8, ptr %28, i64 48
%32 = load <2 x i64>, ptr %28, align 8, !tbaa !16
%33 = load <2 x i64>, ptr %29, align 8, !tbaa !16
%34 = load <2 x i64>, ptr %30, align 8, !tbaa !16
%35 = load <2 x i64>, ptr %31, align 8, !tbaa !16
%36 = add <2 x i64> %32, %24
%37 = add <2 x i64> %33, %25
%38 = add <2 x i64> %34, %26
%39 = add <2 x i64> %35, %27
%40 = add nuw i64 %23, 8
%41 = icmp eq i64 %40, %21
br i1 %41, label %42, label %22, !llvm.loop !18
42: ; preds = %22
%43 = add <2 x i64> %37, %36
%44 = add <2 x i64> %38, %43
%45 = add <2 x i64> %39, %44
%46 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %45)
%47 = icmp eq i64 %9, %21
br i1 %47, label %58, label %17
48: ; preds = %4
%49 = load i32, ptr @I40IW_ERR_INVALID_FRAG_COUNT, align 4, !tbaa !22
br label %128
50: ; preds = %17, %50
%51 = phi i64 [ %55, %50 ], [ %18, %17 ]
%52 = phi i64 [ %56, %50 ], [ %19, %17 ]
%53 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i64 %52
%54 = load i64, ptr %53, align 8, !tbaa !16
%55 = add i64 %54, %51
%56 = add nuw i64 %52, 1
%57 = icmp eq i64 %56, %9
br i1 %57, label %58, label %50, !llvm.loop !23
58: ; preds = %50, %42, %11
%59 = phi i64 [ 0, %11 ], [ %46, %42 ], [ %55, %50 ]
%60 = call i32 @i40iw_fragcnt_to_wqesize_sq(i64 noundef %9, ptr noundef nonnull %6) #4
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %128
62: ; preds = %58
%63 = load i32, ptr %6, align 4, !tbaa !22
%64 = getelementptr inbounds i8, ptr %1, i64 16
%65 = load i32, ptr %64, align 8, !tbaa !24
%66 = call ptr @i40iw_qp_get_next_send_wqe(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %63, i64 noundef %59, i32 noundef %65) #4
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %70
68: ; preds = %62
%69 = load i32, ptr @I40IW_ERR_QP_TOOMANY_WRS_POSTED, align 4, !tbaa !22
br label %128
70: ; preds = %62
%71 = load i32, ptr %1, align 8, !tbaa !27
%72 = call i32 @set_64bit_val(ptr noundef nonnull %66, i32 noundef 16, i32 noundef 0) #4
%73 = trunc i64 %2 to i32
%74 = load i32, ptr @I40IWQPSQ_REMSTAG, align 4, !tbaa !22
%75 = call i32 @LS_64(i32 noundef %73, i32 noundef %74) #4
%76 = getelementptr inbounds i8, ptr %1, i64 4
%77 = load i32, ptr %76, align 4, !tbaa !28
%78 = load i32, ptr @I40IWQPSQ_OPCODE, align 4, !tbaa !22
%79 = call i32 @LS_64(i32 noundef %77, i32 noundef %78) #4
%80 = or i32 %79, %75
%81 = load i64, ptr %7, align 8, !tbaa !12
%82 = icmp ugt i64 %81, 1
%83 = trunc i64 %81 to i32
%84 = add i32 %83, -1
%85 = select i1 %82, i32 %84, i32 0
%86 = load i32, ptr @I40IWQPSQ_ADDFRAGCNT, align 4, !tbaa !22
%87 = call i32 @LS_64(i32 noundef %85, i32 noundef %86) #4
%88 = or i32 %80, %87
%89 = load i32, ptr @I40IWQPSQ_READFENCE, align 4, !tbaa !22
%90 = call i32 @LS_64(i32 noundef %71, i32 noundef %89) #4
%91 = or i32 %88, %90
%92 = getelementptr inbounds i8, ptr %1, i64 8
%93 = load i32, ptr %92, align 8, !tbaa !29
%94 = load i32, ptr @I40IWQPSQ_LOCALFENCE, align 4, !tbaa !22
%95 = call i32 @LS_64(i32 noundef %93, i32 noundef %94) #4
%96 = or i32 %91, %95
%97 = getelementptr inbounds i8, ptr %1, i64 12
%98 = load i32, ptr %97, align 4, !tbaa !30
%99 = load i32, ptr @I40IWQPSQ_SIGCOMPL, align 4, !tbaa !22
%100 = call i32 @LS_64(i32 noundef %98, i32 noundef %99) #4
%101 = or i32 %96, %100
%102 = getelementptr inbounds i8, ptr %0, i64 8
%103 = load i32, ptr %102, align 8, !tbaa !31
%104 = load i32, ptr @I40IWQPSQ_VALID, align 4, !tbaa !22
%105 = call i32 @LS_64(i32 noundef %103, i32 noundef %104) #4
%106 = or i32 %101, %105
%107 = getelementptr inbounds i8, ptr %1, i64 32
%108 = load ptr, ptr %107, align 8, !tbaa !15
%109 = call i32 @i40iw_set_fragment(ptr noundef nonnull %66, i64 noundef 0, ptr noundef %108) #4
%110 = load i64, ptr %7, align 8, !tbaa !12
%111 = icmp ugt i64 %110, 1
br i1 %111, label %112, label %122
112: ; preds = %70, %112
%113 = phi i64 [ %118, %112 ], [ 32, %70 ]
%114 = phi i64 [ %119, %112 ], [ 1, %70 ]
%115 = load ptr, ptr %107, align 8, !tbaa !15
%116 = getelementptr inbounds %struct.TYPE_4__, ptr %115, i64 %114
%117 = call i32 @i40iw_set_fragment(ptr noundef nonnull %66, i64 noundef %113, ptr noundef nonnull %116) #4
%118 = add i64 %113, 16
%119 = add nuw i64 %114, 1
%120 = load i64, ptr %7, align 8, !tbaa !12
%121 = icmp ult i64 %119, %120
br i1 %121, label %112, label %122, !llvm.loop !32
122: ; preds = %112, %70
%123 = call i32 @wmb() #4
%124 = call i32 @set_64bit_val(ptr noundef nonnull %66, i32 noundef 24, i32 noundef %106) #4
%125 = icmp eq i32 %3, 0
br i1 %125, label %128, label %126
126: ; preds = %122
%127 = call i32 @i40iw_qp_post_wr(ptr noundef nonnull %0) #4
br label %128
128: ; preds = %122, %126, %58, %68, %48
%129 = phi i32 [ %49, %48 ], [ %69, %68 ], [ %60, %58 ], [ 0, %126 ], [ 0, %122 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
ret i32 %129
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @i40iw_fragcnt_to_wqesize_sq(i64 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @i40iw_qp_get_next_send_wqe(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_64bit_val(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LS_64(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @i40iw_set_fragment(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @wmb(...) local_unnamed_addr #2
declare i32 @i40iw_qp_post_wr(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"i40iw_qp_uk", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"i40iw_post_send", !8, i64 0, !14, i64 8}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_4__", !8, i64 0}
!18 = distinct !{!18, !19, !20, !21}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = !{!11, !11, i64 0}
!23 = distinct !{!23, !19, !21, !20}
!24 = !{!25, !11, i64 16}
!25 = !{!"i40iw_post_sq_info", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !26, i64 24}
!26 = !{!"TYPE_3__", !13, i64 0}
!27 = !{!25, !11, i64 0}
!28 = !{!25, !11, i64 4}
!29 = !{!25, !11, i64 8}
!30 = !{!25, !11, i64 12}
!31 = !{!7, !11, i64 8}
!32 = distinct !{!32, !19}
| linux_drivers_infiniband_hw_i40iw_extr_i40iw_uk.c_i40iw_send |
; ModuleID = 'AnghaBench/mpv/test/extr_linked_list.c_STUPID_SHIT.c'
source_filename = "AnghaBench/mpv/test/extr_linked_list.c_STUPID_SHIT.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @STUPID_SHIT], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef ptr @STUPID_SHIT(ptr noundef readnone returned %0) #0 {
ret ptr %0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/mpv/test/extr_linked_list.c_STUPID_SHIT.c'
source_filename = "AnghaBench/mpv/test/extr_linked_list.c_STUPID_SHIT.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @STUPID_SHIT], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef ptr @STUPID_SHIT(ptr noundef readnone returned %0) #0 {
ret ptr %0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| mpv_test_extr_linked_list.c_STUPID_SHIT |
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_socket.c_mac_socket_copy_label.c'
source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_socket.c_mac_socket_copy_label.c"
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"
@socket_copy_label = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mac_socket_copy_label(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @socket_copy_label, align 4, !tbaa !5
%4 = tail call i32 @MAC_POLICY_PERFORM_NOSLEEP(i32 noundef %3, ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @MAC_POLICY_PERFORM_NOSLEEP(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_socket.c_mac_socket_copy_label.c'
source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_socket.c_mac_socket_copy_label.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@socket_copy_label = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mac_socket_copy_label(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @socket_copy_label, align 4, !tbaa !6
%4 = tail call i32 @MAC_POLICY_PERFORM_NOSLEEP(i32 noundef %3, ptr noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @MAC_POLICY_PERFORM_NOSLEEP(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_security_mac_extr_mac_socket.c_mac_socket_copy_label |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/async/extr_async_wait.c_ASYNC_WAIT_CTX_clear_fd.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/async/extr_async_wait.c_ASYNC_WAIT_CTX_clear_fd.c"
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.TYPE_3__ = type { i32, i32, ptr }
%struct.fd_lookup_st = type { i32, ptr, i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ASYNC_WAIT_CTX_clear_fd(ptr nocapture noundef %0, ptr noundef readnone %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %40, label %6
6: ; preds = %2, %11
%7 = phi ptr [ %13, %11 ], [ %4, %2 ]
%8 = phi ptr [ %7, %11 ], [ null, %2 ]
%9 = load i32, ptr %7, align 8, !tbaa !9
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %15, %6
%12 = getelementptr inbounds %struct.fd_lookup_st, ptr %7, i64 0, i32 3
%13 = load ptr, ptr %12, align 8, !tbaa !5
%14 = icmp eq ptr %13, null
br i1 %14, label %40, label %6, !llvm.loop !12
15: ; preds = %6
%16 = getelementptr inbounds %struct.fd_lookup_st, ptr %7, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !14
%18 = icmp eq ptr %17, %1
br i1 %18, label %19, label %11
19: ; preds = %15
%20 = getelementptr inbounds %struct.fd_lookup_st, ptr %7, i64 0, i32 2
%21 = load i32, ptr %20, align 8, !tbaa !15
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %37
23: ; preds = %19
%24 = icmp eq ptr %4, %7
br i1 %24, label %25, label %28
25: ; preds = %23
%26 = getelementptr inbounds %struct.fd_lookup_st, ptr %4, i64 0, i32 3
%27 = load ptr, ptr %26, align 8, !tbaa !16
store ptr %27, ptr %3, align 8, !tbaa !17
br label %32
28: ; preds = %23
%29 = getelementptr inbounds %struct.fd_lookup_st, ptr %7, i64 0, i32 3
%30 = load ptr, ptr %29, align 8, !tbaa !16
%31 = getelementptr inbounds %struct.fd_lookup_st, ptr %8, i64 0, i32 3
store ptr %30, ptr %31, align 8, !tbaa !16
br label %32
32: ; preds = %28, %25
%33 = tail call i32 @OPENSSL_free(ptr noundef nonnull %7) #2
%34 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%35 = load i32, ptr %34, align 4, !tbaa !19
%36 = add nsw i32 %35, -1
store i32 %36, ptr %34, align 4, !tbaa !19
br label %40
37: ; preds = %19
store i32 1, ptr %7, align 8, !tbaa !9
%38 = load i32, ptr %0, align 8, !tbaa !20
%39 = add nsw i32 %38, 1
store i32 %39, ptr %0, align 8, !tbaa !20
br label %40
40: ; preds = %11, %2, %37, %32
%41 = phi i32 [ 1, %32 ], [ 1, %37 ], [ 0, %2 ], [ 0, %11 ]
ret i32 %41
}
declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"fd_lookup_st", !11, i64 0, !6, i64 8, !11, i64 16, !6, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!10, !6, i64 8}
!15 = !{!10, !11, i64 16}
!16 = !{!10, !6, i64 24}
!17 = !{!18, !6, i64 8}
!18 = !{!"TYPE_3__", !11, i64 0, !11, i64 4, !6, i64 8}
!19 = !{!18, !11, i64 4}
!20 = !{!18, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/async/extr_async_wait.c_ASYNC_WAIT_CTX_clear_fd.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/async/extr_async_wait.c_ASYNC_WAIT_CTX_clear_fd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @ASYNC_WAIT_CTX_clear_fd(ptr nocapture noundef %0, ptr noundef readnone %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %36, label %6
6: ; preds = %2, %11
%7 = phi ptr [ %13, %11 ], [ %4, %2 ]
%8 = phi ptr [ %7, %11 ], [ null, %2 ]
%9 = load i32, ptr %7, align 8, !tbaa !10
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %15, %6
%12 = getelementptr inbounds i8, ptr %7, i64 24
%13 = load ptr, ptr %12, align 8, !tbaa !6
%14 = icmp eq ptr %13, null
br i1 %14, label %36, label %6, !llvm.loop !13
15: ; preds = %6
%16 = getelementptr inbounds i8, ptr %7, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !15
%18 = icmp eq ptr %17, %1
br i1 %18, label %19, label %11
19: ; preds = %15
%20 = getelementptr inbounds i8, ptr %7, i64 16
%21 = load i32, ptr %20, align 8, !tbaa !16
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %33
23: ; preds = %19
%24 = icmp eq ptr %4, %7
%25 = getelementptr inbounds i8, ptr %7, i64 24
%26 = load ptr, ptr %25, align 8, !tbaa !17
%27 = getelementptr inbounds i8, ptr %8, i64 24
%28 = select i1 %24, ptr %3, ptr %27
store ptr %26, ptr %28, align 8, !tbaa !6
%29 = tail call i32 @OPENSSL_free(ptr noundef nonnull %7) #2
%30 = getelementptr inbounds i8, ptr %0, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !18
%32 = add nsw i32 %31, -1
store i32 %32, ptr %30, align 4, !tbaa !18
br label %36
33: ; preds = %19
store i32 1, ptr %7, align 8, !tbaa !10
%34 = load i32, ptr %0, align 8, !tbaa !20
%35 = add nsw i32 %34, 1
store i32 %35, ptr %0, align 8, !tbaa !20
br label %36
36: ; preds = %11, %2, %33, %23
%37 = phi i32 [ 1, %23 ], [ 1, %33 ], [ 0, %2 ], [ 0, %11 ]
ret i32 %37
}
declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"fd_lookup_st", !12, i64 0, !7, i64 8, !12, i64 16, !7, i64 24}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!11, !7, i64 8}
!16 = !{!11, !12, i64 16}
!17 = !{!11, !7, i64 24}
!18 = !{!19, !12, i64 4}
!19 = !{!"TYPE_3__", !12, i64 0, !12, i64 4, !7, i64 8}
!20 = !{!19, !12, i64 0}
| freebsd_crypto_openssl_crypto_async_extr_async_wait.c_ASYNC_WAIT_CTX_clear_fd |
; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_elan_i2c_core.c_elan_write_fw_block.c'
source_filename = "AnghaBench/linux/drivers/input/mouse/extr_elan_i2c_core.c_elan_write_fw_block.c"
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.elan_tp_data = type { ptr, ptr }
@ETP_RETRY_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"IAP retrying page %d (error: %d)\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @elan_write_fw_block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @elan_write_fw_block(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @ETP_RETRY_COUNT, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.elan_tp_data, ptr %0, i64 0, i32 1
br label %7
7: ; preds = %14, %4
%8 = phi i32 [ %5, %4 ], [ %17, %14 ]
%9 = load ptr, ptr %6, align 8, !tbaa !9
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = load ptr, ptr %0, align 8, !tbaa !14
%12 = tail call i32 %10(ptr noundef %11, ptr noundef %1, i32 noundef %2, i32 noundef %3) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %7
%15 = load ptr, ptr %0, align 8, !tbaa !14
%16 = tail call i32 @dev_dbg(ptr noundef %15, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %12) #2
%17 = add nsw i32 %8, -1
%18 = icmp sgt i32 %8, 1
br i1 %18, label %7, label %19, !llvm.loop !15
19: ; preds = %14, %7
ret i32 %12
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"elan_tp_data", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0}
!14 = !{!10, !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_elan_i2c_core.c_elan_write_fw_block.c'
source_filename = "AnghaBench/linux/drivers/input/mouse/extr_elan_i2c_core.c_elan_write_fw_block.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETP_RETRY_COUNT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"IAP retrying page %d (error: %d)\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @elan_write_fw_block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @elan_write_fw_block(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @ETP_RETRY_COUNT, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 8
br label %7
7: ; preds = %14, %4
%8 = phi i32 [ %5, %4 ], [ %17, %14 ]
%9 = load ptr, ptr %6, align 8, !tbaa !10
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = load ptr, ptr %0, align 8, !tbaa !15
%12 = tail call i32 %10(ptr noundef %11, ptr noundef %1, i32 noundef %2, i32 noundef %3) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %7
%15 = load ptr, ptr %0, align 8, !tbaa !15
%16 = tail call i32 @dev_dbg(ptr noundef %15, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %12) #2
%17 = add nsw i32 %8, -1
%18 = icmp sgt i32 %8, 1
br i1 %18, label %7, label %19, !llvm.loop !16
19: ; preds = %14, %7
ret i32 %12
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"elan_tp_data", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_3__", !12, i64 0}
!15 = !{!11, !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| linux_drivers_input_mouse_extr_elan_i2c_core.c_elan_write_fw_block |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_parse_retry.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_parse_retry.c"
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.TYPE_2__ = type { i32 }
@errno = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [28 x i8] c"Error parsing retries count\00", align 1
@snmp_client = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @parse_retry(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp ne ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i32 @assert(i32 noundef %3) #3
%5 = load i64, ptr @errno, align 8, !tbaa !5
store i64 0, ptr @errno, align 8, !tbaa !5
%6 = tail call i32 @strtoul(ptr nocapture noundef %0, ptr noundef null, i32 noundef 10)
%7 = load i64, ptr @errno, align 8, !tbaa !5
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @warn(ptr noundef nonnull @.str) #3
br label %12
11: ; preds = %1
store i32 %6, ptr @snmp_client, align 4, !tbaa !9
br label %12
12: ; preds = %11, %9
%13 = phi i32 [ 2, %11 ], [ -1, %9 ]
%14 = shl i64 %5, 32
%15 = ashr exact i64 %14, 32
store i64 %15, ptr @errno, align 8, !tbaa !5
ret i32 %13
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn
declare i32 @strtoul(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #2
declare i32 @warn(ptr noundef) local_unnamed_addr #1
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 nofree nounwind willreturn "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_parse_retry.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_parse_retry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@errno = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [28 x i8] c"Error parsing retries count\00", align 1
@snmp_client = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 3) i32 @parse_retry(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp ne ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i32 @assert(i32 noundef %3) #3
%5 = load i64, ptr @errno, align 8, !tbaa !6
store i64 0, ptr @errno, align 8, !tbaa !6
%6 = tail call i32 @strtoul(ptr nocapture noundef %0, ptr noundef null, i32 noundef 10)
%7 = load i64, ptr @errno, align 8, !tbaa !6
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @warn(ptr noundef nonnull @.str) #3
br label %12
11: ; preds = %1
store i32 %6, ptr @snmp_client, align 4, !tbaa !10
br label %12
12: ; preds = %11, %9
%13 = phi i32 [ 2, %11 ], [ -1, %9 ]
%14 = shl i64 %5, 32
%15 = ashr exact i64 %14, 32
store i64 %15, ptr @errno, align 8, !tbaa !6
ret i32 %13
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn
declare i32 @strtoul(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #2
declare i32 @warn(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| freebsd_usr.sbin_bsnmpd_tools_libbsnmptools_extr_bsnmptools.c_parse_retry |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_necp_client.c_necp_client_id_cmp.c'
source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_necp_client.c_necp_client_id_cmp.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @necp_client_id_cmp], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @necp_client_id_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = tail call i32 @uuid_compare(i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @uuid_compare(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint 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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"necp_client", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_necp_client.c_necp_client_id_cmp.c'
source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_necp_client.c_necp_client_id_cmp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @necp_client_id_cmp], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @necp_client_id_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = tail call i32 @uuid_compare(i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @uuid_compare(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"necp_client", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| darwin-xnu_bsd_net_extr_necp_client.c_necp_client_id_cmp |
; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_st_pressure_core.c_st_press_get_settings.c'
source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_st_pressure_core.c_st_press_get_settings.c"
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.st_sensor_settings = type { i32 }
@st_press_sensors_settings = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @st_press_get_settings(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @st_press_sensors_settings, align 8, !tbaa !5
%3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2
%4 = tail call i32 @st_sensors_get_settings_index(ptr noundef %0, ptr noundef %2, i32 noundef %3) #2
%5 = icmp slt i32 %4, 0
%6 = load ptr, ptr @st_press_sensors_settings, align 8
%7 = zext nneg i32 %4 to i64
%8 = getelementptr inbounds %struct.st_sensor_settings, ptr %6, i64 %7
%9 = select i1 %5, ptr null, ptr %8
ret ptr %9
}
declare i32 @st_sensors_get_settings_index(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_st_pressure_core.c_st_press_get_settings.c'
source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_st_pressure_core.c_st_press_get_settings.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.st_sensor_settings = type { i32 }
@st_press_sensors_settings = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @st_press_get_settings(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @st_press_sensors_settings, align 8, !tbaa !6
%3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2
%4 = tail call i32 @st_sensors_get_settings_index(ptr noundef %0, ptr noundef %2, i32 noundef %3) #2
%5 = icmp slt i32 %4, 0
%6 = load ptr, ptr @st_press_sensors_settings, align 8
%7 = zext nneg i32 %4 to i64
%8 = getelementptr inbounds %struct.st_sensor_settings, ptr %6, i64 %7
%9 = select i1 %5, ptr null, ptr %8
ret ptr %9
}
declare i32 @st_sensors_get_settings_index(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_iio_pressure_extr_st_pressure_core.c_st_press_get_settings |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_message.c_test_group_ind_mask_bit.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_message.c_test_group_ind_mask_bit.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_group_ind_mask_bit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @test_group_ind_mask_bit(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = ashr i32 %1, 5
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i64, ptr %3, i64 %5
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = and i32 %1, 31
%9 = zext nneg i32 %8 to i64
%10 = shl nuw nsw i64 1, %9
%11 = and i64 %7, %10
%12 = icmp ne i64 %11, 0
%13 = zext i1 %12 to i32
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_message.c_test_group_ind_mask_bit.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_message.c_test_group_ind_mask_bit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @test_group_ind_mask_bit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @test_group_ind_mask_bit(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = ashr i32 %1, 5
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i64, ptr %3, i64 %5
%7 = load i64, ptr %6, align 8, !tbaa !11
%8 = and i32 %1, 31
%9 = zext nneg i32 %8 to i64
%10 = shl nuw nsw i64 1, %9
%11 = and i64 %7, %10
%12 = icmp ne i64 %11, 0
%13 = zext i1 %12 to i32
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
| fastsocket_kernel_drivers_isdn_hardware_eicon_extr_message.c_test_group_ind_mask_bit |
; ModuleID = 'AnghaBench/mpv/options/extr_m_option.c_check_choice.c'
source_filename = "AnghaBench/mpv/options/extr_m_option.c_check_choice.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_choice], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @check_choice(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, i32 noundef %4) #0 {
switch i32 %0, label %27 [
i32 -1, label %6
i32 1, label %16
]
6: ; preds = %5
%7 = load i32, ptr %2, align 4, !tbaa !5
%8 = icmp eq i32 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %6
%10 = load i32, ptr %3, align 4, !tbaa !5
%11 = icmp slt i32 %10, %4
%12 = icmp slt i32 %4, %1
%13 = and i1 %12, %11
br i1 %13, label %26, label %27
14: ; preds = %6
%15 = icmp slt i32 %4, %1
br i1 %15, label %26, label %27
16: ; preds = %5
%17 = load i32, ptr %2, align 4, !tbaa !5
%18 = icmp eq i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %16
%20 = load i32, ptr %3, align 4, !tbaa !5
%21 = icmp sgt i32 %20, %4
%22 = icmp sgt i32 %4, %1
%23 = and i1 %22, %21
br i1 %23, label %26, label %27
24: ; preds = %16
%25 = icmp sgt i32 %4, %1
br i1 %25, label %26, label %27
26: ; preds = %19, %9, %24, %14
store i32 1, ptr %2, align 4, !tbaa !5
store i32 %4, ptr %3, align 4, !tbaa !5
br label %27
27: ; preds = %9, %14, %5, %26, %24, %19
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/mpv/options/extr_m_option.c_check_choice.c'
source_filename = "AnghaBench/mpv/options/extr_m_option.c_check_choice.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @check_choice], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @check_choice(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, i32 noundef %4) #0 {
switch i32 %0, label %27 [
i32 -1, label %6
i32 1, label %16
]
6: ; preds = %5
%7 = load i32, ptr %2, align 4, !tbaa !6
%8 = icmp eq i32 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %6
%10 = load i32, ptr %3, align 4, !tbaa !6
%11 = icmp slt i32 %10, %4
%12 = icmp slt i32 %4, %1
%13 = and i1 %12, %11
br i1 %13, label %26, label %27
14: ; preds = %6
%15 = icmp slt i32 %4, %1
br i1 %15, label %26, label %27
16: ; preds = %5
%17 = load i32, ptr %2, align 4, !tbaa !6
%18 = icmp eq i32 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %16
%20 = load i32, ptr %3, align 4, !tbaa !6
%21 = icmp sgt i32 %20, %4
%22 = icmp sgt i32 %4, %1
%23 = and i1 %22, %21
br i1 %23, label %26, label %27
24: ; preds = %16
%25 = icmp sgt i32 %4, %1
br i1 %25, label %26, label %27
26: ; preds = %19, %9, %24, %14
store i32 1, ptr %2, align 4, !tbaa !6
store i32 %4, ptr %3, align 4, !tbaa !6
br label %27
27: ; preds = %9, %14, %5, %26, %24, %19
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| mpv_options_extr_m_option.c_check_choice |
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_rdma.c_qlnx_rdma_dev_close.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_rdma.c_qlnx_rdma_dev_close.c"
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.qlnx_host = type { i64, i32 }
@.str = private unnamed_addr constant [33 x i8] c"enter ha = %p qlnx_rdma_if = %p\0A\00", align 1
@qlnx_rdma_if = dso_local local_unnamed_addr global ptr null, align 8
@ECORE_PCI_ETH_IWARP = dso_local local_unnamed_addr global i64 0, align 8
@ECORE_PCI_ETH_ROCE = dso_local local_unnamed_addr global i64 0, align 8
@QLNX_ETHDEV_DOWN = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"exit ha = %p qlnx_rdma_if = %p\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @qlnx_rdma_dev_close(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @qlnx_rdma_if, align 8, !tbaa !5
%3 = tail call i32 @QL_DPRINT12(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %2) #2
%4 = load ptr, ptr @qlnx_rdma_if, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %21, label %6
6: ; preds = %1
%7 = load i64, ptr %0, align 8, !tbaa !9
%8 = load i64, ptr @ECORE_PCI_ETH_IWARP, align 8, !tbaa !13
%9 = icmp eq i64 %7, %8
%10 = load i64, ptr @ECORE_PCI_ETH_ROCE, align 8
%11 = icmp eq i64 %7, %10
%12 = select i1 %9, i1 true, i1 %11
br i1 %12, label %13, label %21
13: ; preds = %6
%14 = load ptr, ptr %4, align 8, !tbaa !14
%15 = getelementptr inbounds %struct.qlnx_host, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 8, !tbaa !16
%17 = load i32, ptr @QLNX_ETHDEV_DOWN, align 4, !tbaa !17
%18 = tail call i32 %14(ptr noundef nonnull %0, i32 noundef %16, i32 noundef %17) #2
%19 = load ptr, ptr @qlnx_rdma_if, align 8, !tbaa !5
%20 = tail call i32 @QL_DPRINT12(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef %19) #2
br label %21
21: ; preds = %6, %1, %13
ret void
}
declare i32 @QL_DPRINT12(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"qlnx_host", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_3__", !6, i64 0}
!16 = !{!10, !12, i64 8}
!17 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_rdma.c_qlnx_rdma_dev_close.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_rdma.c_qlnx_rdma_dev_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [33 x i8] c"enter ha = %p qlnx_rdma_if = %p\0A\00", align 1
@qlnx_rdma_if = common local_unnamed_addr global ptr null, align 8
@ECORE_PCI_ETH_IWARP = common local_unnamed_addr global i64 0, align 8
@ECORE_PCI_ETH_ROCE = common local_unnamed_addr global i64 0, align 8
@QLNX_ETHDEV_DOWN = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"exit ha = %p qlnx_rdma_if = %p\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @qlnx_rdma_dev_close(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @qlnx_rdma_if, align 8, !tbaa !6
%3 = tail call i32 @QL_DPRINT12(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %0, ptr noundef %2) #2
%4 = load ptr, ptr @qlnx_rdma_if, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %21, label %6
6: ; preds = %1
%7 = load i64, ptr %0, align 8, !tbaa !10
%8 = load i64, ptr @ECORE_PCI_ETH_IWARP, align 8, !tbaa !14
%9 = icmp eq i64 %7, %8
%10 = load i64, ptr @ECORE_PCI_ETH_ROCE, align 8
%11 = icmp eq i64 %7, %10
%12 = select i1 %9, i1 true, i1 %11
br i1 %12, label %13, label %21
13: ; preds = %6
%14 = load ptr, ptr %4, align 8, !tbaa !15
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i32, ptr %15, align 8, !tbaa !17
%17 = load i32, ptr @QLNX_ETHDEV_DOWN, align 4, !tbaa !18
%18 = tail call i32 %14(ptr noundef nonnull %0, i32 noundef %16, i32 noundef %17) #2
%19 = load ptr, ptr @qlnx_rdma_if, align 8, !tbaa !6
%20 = tail call i32 @QL_DPRINT12(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef %19) #2
br label %21
21: ; preds = %6, %1, %13
ret void
}
declare i32 @QL_DPRINT12(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"qlnx_host", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0}
!17 = !{!11, !13, i64 8}
!18 = !{!13, !13, i64 0}
| freebsd_sys_dev_qlnx_qlnxe_extr_qlnx_rdma.c_qlnx_rdma_dev_close |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-realview/extr_clock.c_clk_get_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-realview/extr_clock.c_clk_get_rate.c"
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"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i64 @clk_get_rate(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
ret i64 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"clk", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-realview/extr_clock.c_clk_get_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-realview/extr_clock.c_clk_get_rate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i64 @clk_get_rate(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
ret i64 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"clk", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_arm_mach-realview_extr_clock.c_clk_get_rate |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_ahci_dm816.c_ahci_dm816_get_mpy_bits.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_ahci_dm816.c_ahci_dm816_get_mpy_bits.c"
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"
@AHCI_DM816_PLL_OUT = dso_local local_unnamed_addr global i64 0, align 8
@pll_mpy_table = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ahci_dm816_get_mpy_bits], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ahci_dm816_get_mpy_bits(i64 noundef %0) #0 {
%2 = load i64, ptr @AHCI_DM816_PLL_OUT, align 8, !tbaa !5
%3 = udiv i64 %0, 100
%4 = udiv i64 %2, %3
%5 = load ptr, ptr @pll_mpy_table, align 8, !tbaa !9
%6 = tail call i32 @ARRAY_SIZE(ptr noundef %5) #2
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %21
8: ; preds = %1, %14
%9 = phi i64 [ %15, %14 ], [ 0, %1 ]
%10 = load ptr, ptr @pll_mpy_table, align 8, !tbaa !9
%11 = getelementptr inbounds i64, ptr %10, i64 %9
%12 = load i64, ptr %11, align 8, !tbaa !5
%13 = icmp eq i64 %12, %4
br i1 %13, label %19, label %14
14: ; preds = %8
%15 = add nuw nsw i64 %9, 1
%16 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %10) #2
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %8, label %21, !llvm.loop !11
19: ; preds = %8
%20 = trunc i64 %9 to i32
br label %21
21: ; preds = %14, %19, %1
%22 = phi i32 [ -1, %1 ], [ %20, %19 ], [ -1, %14 ]
ret i32 %22
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_ahci_dm816.c_ahci_dm816_get_mpy_bits.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_ahci_dm816.c_ahci_dm816_get_mpy_bits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AHCI_DM816_PLL_OUT = common local_unnamed_addr global i64 0, align 8
@pll_mpy_table = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @ahci_dm816_get_mpy_bits], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ahci_dm816_get_mpy_bits(i64 noundef %0) #0 {
%2 = load i64, ptr @AHCI_DM816_PLL_OUT, align 8, !tbaa !6
%3 = udiv i64 %0, 100
%4 = udiv i64 %2, %3
%5 = load ptr, ptr @pll_mpy_table, align 8, !tbaa !10
%6 = tail call i32 @ARRAY_SIZE(ptr noundef %5) #2
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %21
8: ; preds = %1, %14
%9 = phi i64 [ %15, %14 ], [ 0, %1 ]
%10 = load ptr, ptr @pll_mpy_table, align 8, !tbaa !10
%11 = getelementptr inbounds i64, ptr %10, i64 %9
%12 = load i64, ptr %11, align 8, !tbaa !6
%13 = icmp eq i64 %12, %4
br i1 %13, label %19, label %14
14: ; preds = %8
%15 = add nuw nsw i64 %9, 1
%16 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %10) #2
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %8, label %21, !llvm.loop !12
19: ; preds = %8
%20 = trunc nuw nsw i64 %9 to i32
br label %21
21: ; preds = %14, %19, %1
%22 = phi i32 [ -1, %1 ], [ %20, %19 ], [ -1, %14 ]
ret i32 %22
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| linux_drivers_ata_extr_ahci_dm816.c_ahci_dm816_get_mpy_bits |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-bcmring/csp/dmac/extr_dmacHw_extra.c_dmacHw_freeMem.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-bcmring/csp/dmac/extr_dmacHw_extra.c_dmacHw_freeMem.c"
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.TYPE_10__ = type { ptr, ptr }
%struct.TYPE_9__ = type { i32, i64, i64, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32 }
@dmacHw_DESC_FREE = dso_local local_unnamed_addr global i32 0, align 4
@dmacHw_FREE_USER_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
@pFree = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dmacHw_freeMem(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @dmacHw_GET_DESC_RING(ptr noundef %1) #2
%5 = icmp eq ptr %2, null
br i1 %5, label %43, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 1
%8 = load ptr, ptr %4, align 8, !tbaa !5
%9 = load ptr, ptr %7, align 8, !tbaa !10
%10 = icmp eq ptr %8, %9
br i1 %10, label %43, label %11
11: ; preds = %6, %36
%12 = phi ptr [ %40, %36 ], [ %8, %6 ]
%13 = phi i32 [ %39, %36 ], [ 0, %6 ]
%14 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0, i32 3
%15 = load i32, ptr %14, align 8, !tbaa !11
%16 = load i32, ptr @dmacHw_DESC_FREE, align 4, !tbaa !16
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %43, label %19
19: ; preds = %11
%20 = load i32, ptr %12, align 8, !tbaa !17
%21 = load i32, ptr @dmacHw_FREE_USER_MEMORY, align 4, !tbaa !16
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %36
23: ; preds = %19
%24 = load i32, ptr %0, align 4, !tbaa !18
%25 = tail call i64 @dmacHw_DST_IS_MEMORY(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
%27 = load ptr, ptr %4, align 8, !tbaa !5
%28 = getelementptr inbounds %struct.TYPE_9__, ptr %27, i64 0, i32 1
%29 = getelementptr inbounds %struct.TYPE_9__, ptr %27, i64 0, i32 2
%30 = select i1 %26, ptr %28, ptr %29
%31 = load i64, ptr %30, align 8, !tbaa !20
%32 = inttoptr i64 %31 to ptr
tail call void %2(ptr noundef %32) #2
%33 = load i32, ptr @dmacHw_FREE_USER_MEMORY, align 4, !tbaa !16
%34 = xor i32 %33, -1
%35 = load ptr, ptr %4, align 8, !tbaa !5
store i32 %34, ptr %35, align 8, !tbaa !17
br label %36
36: ; preds = %23, %19
%37 = load i32, ptr @pFree, align 4, !tbaa !16
%38 = tail call i32 @dmacHw_NEXT_DESC(ptr noundef nonnull %4, i32 noundef %37) #2
%39 = add nuw nsw i32 %13, 1
%40 = load ptr, ptr %4, align 8, !tbaa !5
%41 = load ptr, ptr %7, align 8, !tbaa !10
%42 = icmp eq ptr %40, %41
br i1 %42, label %43, label %11, !llvm.loop !21
43: ; preds = %36, %11, %6, %3
%44 = phi i32 [ -1, %3 ], [ 0, %6 ], [ %39, %36 ], [ %13, %11 ]
ret i32 %44
}
declare ptr @dmacHw_GET_DESC_RING(ptr noundef) local_unnamed_addr #1
declare i64 @dmacHw_DST_IS_MEMORY(i32 noundef) local_unnamed_addr #1
declare i32 @dmacHw_NEXT_DESC(ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_10__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !13, i64 24}
!12 = !{!"TYPE_9__", !13, i64 0, !14, i64 8, !14, i64 16, !15, i64 24}
!13 = !{!"int", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"TYPE_8__", !13, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !13, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_11__", !13, i64 0}
!20 = !{!14, !14, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-bcmring/csp/dmac/extr_dmacHw_extra.c_dmacHw_freeMem.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-bcmring/csp/dmac/extr_dmacHw_extra.c_dmacHw_freeMem.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dmacHw_DESC_FREE = common local_unnamed_addr global i32 0, align 4
@dmacHw_FREE_USER_MEMORY = common local_unnamed_addr global i32 0, align 4
@pFree = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dmacHw_freeMem(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 {
%4 = tail call ptr @dmacHw_GET_DESC_RING(ptr noundef %1) #2
%5 = icmp eq ptr %2, null
br i1 %5, label %42, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %4, i64 8
%8 = load ptr, ptr %4, align 8, !tbaa !6
%9 = load ptr, ptr %7, align 8, !tbaa !11
%10 = icmp eq ptr %8, %9
br i1 %10, label %42, label %11
11: ; preds = %6, %35
%12 = phi ptr [ %39, %35 ], [ %8, %6 ]
%13 = phi i32 [ %38, %35 ], [ 0, %6 ]
%14 = getelementptr inbounds i8, ptr %12, i64 24
%15 = load i32, ptr %14, align 8, !tbaa !12
%16 = load i32, ptr @dmacHw_DESC_FREE, align 4, !tbaa !17
%17 = and i32 %16, %15
%18 = icmp eq i32 %17, 0
br i1 %18, label %42, label %19
19: ; preds = %11
%20 = load i32, ptr %12, align 8, !tbaa !18
%21 = load i32, ptr @dmacHw_FREE_USER_MEMORY, align 4, !tbaa !17
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %35
23: ; preds = %19
%24 = load i32, ptr %0, align 4, !tbaa !19
%25 = tail call i64 @dmacHw_DST_IS_MEMORY(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
%27 = load ptr, ptr %4, align 8, !tbaa !6
%28 = select i1 %26, i64 8, i64 16
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i64, ptr %29, align 8, !tbaa !21
%31 = inttoptr i64 %30 to ptr
tail call void %2(ptr noundef %31) #2
%32 = load i32, ptr @dmacHw_FREE_USER_MEMORY, align 4, !tbaa !17
%33 = xor i32 %32, -1
%34 = load ptr, ptr %4, align 8, !tbaa !6
store i32 %33, ptr %34, align 8, !tbaa !18
br label %35
35: ; preds = %23, %19
%36 = load i32, ptr @pFree, align 4, !tbaa !17
%37 = tail call i32 @dmacHw_NEXT_DESC(ptr noundef nonnull %4, i32 noundef %36) #2
%38 = add nuw nsw i32 %13, 1
%39 = load ptr, ptr %4, align 8, !tbaa !6
%40 = load ptr, ptr %7, align 8, !tbaa !11
%41 = icmp eq ptr %39, %40
br i1 %41, label %42, label %11, !llvm.loop !22
42: ; preds = %35, %11, %6, %3
%43 = phi i32 [ -1, %3 ], [ 0, %6 ], [ %38, %35 ], [ %13, %11 ]
ret i32 %43
}
declare ptr @dmacHw_GET_DESC_RING(ptr noundef) local_unnamed_addr #1
declare i64 @dmacHw_DST_IS_MEMORY(i32 noundef) local_unnamed_addr #1
declare i32 @dmacHw_NEXT_DESC(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_10__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !14, i64 24}
!13 = !{!"TYPE_9__", !14, i64 0, !15, i64 8, !15, i64 16, !16, i64 24}
!14 = !{!"int", !9, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!"TYPE_8__", !14, i64 0}
!17 = !{!14, !14, i64 0}
!18 = !{!13, !14, i64 0}
!19 = !{!20, !14, i64 0}
!20 = !{!"TYPE_11__", !14, i64 0}
!21 = !{!15, !15, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_arch_arm_mach-bcmring_csp_dmac_extr_dmacHw_extra.c_dmacHw_freeMem |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_arm.c_emit_sarsr.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_arm.c_emit_sarsr.c"
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"
; Function Attrs: nounwind uwtable
define dso_local void @emit_sarsr(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @emit_andimm(i32 noundef %1, i32 noundef -2, i32 noundef %1) #2
%4 = tail call i32 @emit_asrs_imm(i32 noundef %0, i32 noundef 1, i32 noundef %0) #2
%5 = tail call i32 @emit_adcimm(i32 noundef %1, i32 noundef 0, i32 noundef %1) #2
ret void
}
declare i32 @emit_andimm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emit_asrs_imm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emit_adcimm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_arm.c_emit_sarsr.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_arm.c_emit_sarsr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @emit_sarsr(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @emit_andimm(i32 noundef %1, i32 noundef -2, i32 noundef %1) #2
%4 = tail call i32 @emit_asrs_imm(i32 noundef %0, i32 noundef 1, i32 noundef %0) #2
%5 = tail call i32 @emit_adcimm(i32 noundef %1, i32 noundef 0, i32 noundef %1) #2
ret void
}
declare i32 @emit_andimm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emit_asrs_imm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @emit_adcimm(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Provenance_Cores_Yabause_yabause_src_sh2_dynarec_extr_assem_arm.c_emit_sarsr |
; ModuleID = 'AnghaBench/RetroArch/menu/extr_menu_animation.c_menu_animation_ticker_smooth_fw.c'
source_filename = "AnghaBench/RetroArch/menu/extr_menu_animation.c_menu_animation_ticker_smooth_fw.c"
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.TYPE_3__ = type { i32, i32, ptr, i64, ptr, i32, ptr, i64, i32, i64, i32 }
@.str = private unnamed_addr constant [4 x i8] c"...\00", align 1
@ticker_spacer_default = dso_local local_unnamed_addr global i64 0, align 8
@ticker_is_active = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @menu_animation_ticker_smooth_fw(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = load i32, ptr %0, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 7
%12 = load i64, ptr %11, align 8, !tbaa !12
%13 = tail call i64 @utf8len(i64 noundef %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %139, label %15
15: ; preds = %1
%16 = trunc i64 %13 to i32
%17 = mul i32 %10, %16
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = icmp ugt i32 %17, %19
br i1 %20, label %35, label %21
21: ; preds = %15
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%23 = load ptr, ptr %22, align 8, !tbaa !14
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%25 = load i64, ptr %24, align 8, !tbaa !15
%26 = load i64, ptr %11, align 8, !tbaa !12
%27 = tail call i32 @utf8cpy(ptr noundef %23, i64 noundef %25, i64 noundef %26, i32 noundef %16) #3
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%29 = load ptr, ptr %28, align 8, !tbaa !16
%30 = icmp eq ptr %29, null
br i1 %30, label %32, label %31
31: ; preds = %21
store i32 %17, ptr %29, align 4, !tbaa !17
br label %32
32: ; preds = %31, %21
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6
%34 = load ptr, ptr %33, align 8, !tbaa !18
store i64 0, ptr %34, align 8, !tbaa !19
br label %148
35: ; preds = %15
%36 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 10
%37 = load i32, ptr %36, align 8, !tbaa !20
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %63
39: ; preds = %35
%40 = mul i32 %10, 3
%41 = icmp ult i32 %19, %40
br i1 %41, label %139, label %42
42: ; preds = %39
%43 = sub i32 %19, %40
%44 = udiv i32 %43, %10
%45 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%46 = load ptr, ptr %45, align 8, !tbaa !14
%47 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%48 = load i64, ptr %47, align 8, !tbaa !15
%49 = load i64, ptr %11, align 8, !tbaa !12
%50 = tail call i32 @utf8cpy(ptr noundef %46, i64 noundef %48, i64 noundef %49, i32 noundef %44) #3
%51 = load ptr, ptr %45, align 8, !tbaa !14
%52 = load i64, ptr %47, align 8, !tbaa !15
%53 = tail call i32 @strlcat(ptr noundef %51, ptr noundef nonnull @.str, i64 noundef %52) #3
%54 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%55 = load ptr, ptr %54, align 8, !tbaa !16
%56 = icmp eq ptr %55, null
br i1 %56, label %60, label %57
57: ; preds = %42
%58 = add i32 %44, 3
%59 = mul i32 %58, %10
store i32 %59, ptr %55, align 4, !tbaa !17
br label %60
60: ; preds = %57, %42
%61 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6
%62 = load ptr, ptr %61, align 8, !tbaa !18
store i64 0, ptr %62, align 8, !tbaa !19
br label %148
63: ; preds = %35
%64 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 9
%65 = load i64, ptr %64, align 8, !tbaa !21
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = load i64, ptr @ticker_spacer_default, align 8, !tbaa !19
store i64 %68, ptr %64, align 8, !tbaa !21
br label %69
69: ; preds = %67, %63
%70 = phi i64 [ %68, %67 ], [ %65, %63 ]
%71 = tail call i64 @utf8len(i64 noundef %70) #3
%72 = icmp eq i64 %71, 0
br i1 %72, label %139, label %73
73: ; preds = %69
%74 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
%75 = load i32, ptr %74, align 8, !tbaa !22
%76 = icmp eq i32 %75, 128
br i1 %76, label %77, label %110
77: ; preds = %73
%78 = trunc i64 %71 to i32
%79 = mul i32 %10, %78
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !17
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !17
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !17
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !17
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 0, ptr %6, align 4, !tbaa !17
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
store i32 0, ptr %7, align 4, !tbaa !17
%80 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 8
%81 = load i32, ptr %80, align 8, !tbaa !23
%82 = load i32, ptr %18, align 4, !tbaa !13
%83 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6
%84 = load ptr, ptr %83, align 8, !tbaa !18
%85 = call i32 @menu_animation_ticker_smooth_loop_fw(i32 noundef %81, i32 noundef %17, i64 noundef %13, i32 noundef %79, i64 noundef %71, i32 noundef %10, i32 noundef %82, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef %84) #3
%86 = load i64, ptr %11, align 8, !tbaa !12
%87 = load i64, ptr %64, align 8, !tbaa !21
%88 = load i32, ptr %2, align 4, !tbaa !17
%89 = load i32, ptr %3, align 4, !tbaa !17
%90 = load i32, ptr %4, align 4, !tbaa !17
%91 = load i32, ptr %5, align 4, !tbaa !17
%92 = load i32, ptr %6, align 4, !tbaa !17
%93 = load i32, ptr %7, align 4, !tbaa !17
%94 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%95 = load ptr, ptr %94, align 8, !tbaa !14
%96 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%97 = load i64, ptr %96, align 8, !tbaa !15
%98 = call i32 @build_ticker_loop_string(i64 noundef %86, i64 noundef %87, i32 noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92, i32 noundef %93, ptr noundef %95, i64 noundef %97) #3
%99 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%100 = load ptr, ptr %99, align 8, !tbaa !16
%101 = icmp eq ptr %100, null
br i1 %101, label %109, label %102
102: ; preds = %77
%103 = load i32, ptr %3, align 4, !tbaa !17
%104 = load i32, ptr %5, align 4, !tbaa !17
%105 = add i32 %104, %103
%106 = load i32, ptr %7, align 4, !tbaa !17
%107 = add i32 %105, %106
%108 = mul i32 %107, %10
store i32 %108, ptr %100, align 4, !tbaa !17
br label %109
109: ; preds = %102, %77
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %138
110: ; preds = %73
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 0, ptr %8, align 4, !tbaa !17
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
store i32 0, ptr %9, align 4, !tbaa !17
%111 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%112 = load ptr, ptr %111, align 8, !tbaa !14
store i8 0, ptr %112, align 1, !tbaa !24
%113 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 8
%114 = load i32, ptr %113, align 8, !tbaa !23
%115 = load i32, ptr %18, align 4, !tbaa !13
%116 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6
%117 = load ptr, ptr %116, align 8, !tbaa !18
%118 = call i32 @menu_animation_ticker_smooth_generic_fw(i32 noundef %114, i32 noundef %17, i64 noundef %13, i32 noundef %10, i32 noundef %115, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %117) #3
%119 = load i32, ptr %9, align 4, !tbaa !17
%120 = icmp eq i32 %119, 0
br i1 %120, label %130, label %121
121: ; preds = %110
%122 = load ptr, ptr %111, align 8, !tbaa !14
%123 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%124 = load i64, ptr %123, align 8, !tbaa !15
%125 = load i64, ptr %11, align 8, !tbaa !12
%126 = load i32, ptr %8, align 4, !tbaa !17
%127 = call i64 @utf8skip(i64 noundef %125, i32 noundef %126) #3
%128 = load i32, ptr %9, align 4, !tbaa !17
%129 = call i32 @utf8cpy(ptr noundef %122, i64 noundef %124, i64 noundef %127, i32 noundef %128) #3
br label %130
130: ; preds = %121, %110
%131 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%132 = load ptr, ptr %131, align 8, !tbaa !16
%133 = icmp eq ptr %132, null
br i1 %133, label %137, label %134
134: ; preds = %130
%135 = load i32, ptr %9, align 4, !tbaa !17
%136 = mul i32 %135, %10
store i32 %136, ptr %132, align 4, !tbaa !17
br label %137
137: ; preds = %134, %130
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
br label %138
138: ; preds = %137, %109
store i32 1, ptr @ticker_is_active, align 4, !tbaa !17
br label %148
139: ; preds = %1, %69, %39
%140 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6
%141 = load ptr, ptr %140, align 8, !tbaa !18
store i64 0, ptr %141, align 8, !tbaa !19
%142 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%143 = load i64, ptr %142, align 8, !tbaa !15
%144 = icmp sgt i64 %143, 0
br i1 %144, label %145, label %148
145: ; preds = %139
%146 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%147 = load ptr, ptr %146, align 8, !tbaa !14
store i8 0, ptr %147, align 1, !tbaa !24
br label %148
148: ; preds = %32, %138, %60, %145, %139
%149 = phi i32 [ 0, %145 ], [ 0, %139 ], [ 0, %32 ], [ 1, %138 ], [ 0, %60 ]
ret i32 %149
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @utf8len(i64 noundef) local_unnamed_addr #2
declare i32 @utf8cpy(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlcat(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @menu_animation_ticker_smooth_loop_fw(i32 noundef, i32 noundef, i64 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @build_ticker_loop_string(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @menu_animation_ticker_smooth_generic_fw(i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @utf8skip(i64 noundef, i32 noundef) local_unnamed_addr #2
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !11, i64 48, !7, i64 56, !11, i64 64, !7, i64 72}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 48}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !10, i64 8}
!15 = !{!6, !11, i64 16}
!16 = !{!6, !10, i64 24}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !10, i64 40}
!19 = !{!11, !11, i64 0}
!20 = !{!6, !7, i64 72}
!21 = !{!6, !11, i64 64}
!22 = !{!6, !7, i64 32}
!23 = !{!6, !7, i64 56}
!24 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/menu/extr_menu_animation.c_menu_animation_ticker_smooth_fw.c'
source_filename = "AnghaBench/RetroArch/menu/extr_menu_animation.c_menu_animation_ticker_smooth_fw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"...\00", align 1
@ticker_spacer_default = common local_unnamed_addr global i64 0, align 8
@ticker_is_active = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @menu_animation_ticker_smooth_fw(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = load i32, ptr %0, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %0, i64 48
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = tail call i64 @utf8len(i64 noundef %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %139, label %15
15: ; preds = %1
%16 = trunc i64 %13 to i32
%17 = mul i32 %10, %16
%18 = getelementptr inbounds i8, ptr %0, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = icmp ugt i32 %17, %19
br i1 %20, label %35, label %21
21: ; preds = %15
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = load ptr, ptr %22, align 8, !tbaa !15
%24 = getelementptr inbounds i8, ptr %0, i64 16
%25 = load i64, ptr %24, align 8, !tbaa !16
%26 = load i64, ptr %11, align 8, !tbaa !13
%27 = tail call i32 @utf8cpy(ptr noundef %23, i64 noundef %25, i64 noundef %26, i32 noundef %16) #3
%28 = getelementptr inbounds i8, ptr %0, i64 24
%29 = load ptr, ptr %28, align 8, !tbaa !17
%30 = icmp eq ptr %29, null
br i1 %30, label %32, label %31
31: ; preds = %21
store i32 %17, ptr %29, align 4, !tbaa !18
br label %32
32: ; preds = %31, %21
%33 = getelementptr inbounds i8, ptr %0, i64 40
%34 = load ptr, ptr %33, align 8, !tbaa !19
store i64 0, ptr %34, align 8, !tbaa !20
br label %148
35: ; preds = %15
%36 = getelementptr inbounds i8, ptr %0, i64 72
%37 = load i32, ptr %36, align 8, !tbaa !21
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %63
39: ; preds = %35
%40 = mul i32 %10, 3
%41 = icmp ult i32 %19, %40
br i1 %41, label %139, label %42
42: ; preds = %39
%43 = sub i32 %19, %40
%44 = udiv i32 %43, %10
%45 = getelementptr inbounds i8, ptr %0, i64 8
%46 = load ptr, ptr %45, align 8, !tbaa !15
%47 = getelementptr inbounds i8, ptr %0, i64 16
%48 = load i64, ptr %47, align 8, !tbaa !16
%49 = load i64, ptr %11, align 8, !tbaa !13
%50 = tail call i32 @utf8cpy(ptr noundef %46, i64 noundef %48, i64 noundef %49, i32 noundef %44) #3
%51 = load ptr, ptr %45, align 8, !tbaa !15
%52 = load i64, ptr %47, align 8, !tbaa !16
%53 = tail call i32 @strlcat(ptr noundef %51, ptr noundef nonnull @.str, i64 noundef %52) #3
%54 = getelementptr inbounds i8, ptr %0, i64 24
%55 = load ptr, ptr %54, align 8, !tbaa !17
%56 = icmp eq ptr %55, null
br i1 %56, label %60, label %57
57: ; preds = %42
%58 = add i32 %44, 3
%59 = mul i32 %58, %10
store i32 %59, ptr %55, align 4, !tbaa !18
br label %60
60: ; preds = %57, %42
%61 = getelementptr inbounds i8, ptr %0, i64 40
%62 = load ptr, ptr %61, align 8, !tbaa !19
store i64 0, ptr %62, align 8, !tbaa !20
br label %148
63: ; preds = %35
%64 = getelementptr inbounds i8, ptr %0, i64 64
%65 = load i64, ptr %64, align 8, !tbaa !22
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = load i64, ptr @ticker_spacer_default, align 8, !tbaa !20
store i64 %68, ptr %64, align 8, !tbaa !22
br label %69
69: ; preds = %67, %63
%70 = phi i64 [ %68, %67 ], [ %65, %63 ]
%71 = tail call i64 @utf8len(i64 noundef %70) #3
%72 = icmp eq i64 %71, 0
br i1 %72, label %139, label %73
73: ; preds = %69
%74 = getelementptr inbounds i8, ptr %0, i64 32
%75 = load i32, ptr %74, align 8, !tbaa !23
%76 = icmp eq i32 %75, 128
br i1 %76, label %77, label %110
77: ; preds = %73
%78 = trunc i64 %71 to i32
%79 = mul i32 %10, %78
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !18
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !18
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !18
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !18
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 0, ptr %6, align 4, !tbaa !18
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
store i32 0, ptr %7, align 4, !tbaa !18
%80 = getelementptr inbounds i8, ptr %0, i64 56
%81 = load i32, ptr %80, align 8, !tbaa !24
%82 = load i32, ptr %18, align 4, !tbaa !14
%83 = getelementptr inbounds i8, ptr %0, i64 40
%84 = load ptr, ptr %83, align 8, !tbaa !19
%85 = call i32 @menu_animation_ticker_smooth_loop_fw(i32 noundef %81, i32 noundef %17, i64 noundef %13, i32 noundef %79, i64 noundef %71, i32 noundef %10, i32 noundef %82, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef %84) #3
%86 = load i64, ptr %11, align 8, !tbaa !13
%87 = load i64, ptr %64, align 8, !tbaa !22
%88 = load i32, ptr %2, align 4, !tbaa !18
%89 = load i32, ptr %3, align 4, !tbaa !18
%90 = load i32, ptr %4, align 4, !tbaa !18
%91 = load i32, ptr %5, align 4, !tbaa !18
%92 = load i32, ptr %6, align 4, !tbaa !18
%93 = load i32, ptr %7, align 4, !tbaa !18
%94 = getelementptr inbounds i8, ptr %0, i64 8
%95 = load ptr, ptr %94, align 8, !tbaa !15
%96 = getelementptr inbounds i8, ptr %0, i64 16
%97 = load i64, ptr %96, align 8, !tbaa !16
%98 = call i32 @build_ticker_loop_string(i64 noundef %86, i64 noundef %87, i32 noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92, i32 noundef %93, ptr noundef %95, i64 noundef %97) #3
%99 = getelementptr inbounds i8, ptr %0, i64 24
%100 = load ptr, ptr %99, align 8, !tbaa !17
%101 = icmp eq ptr %100, null
br i1 %101, label %109, label %102
102: ; preds = %77
%103 = load i32, ptr %3, align 4, !tbaa !18
%104 = load i32, ptr %5, align 4, !tbaa !18
%105 = add i32 %104, %103
%106 = load i32, ptr %7, align 4, !tbaa !18
%107 = add i32 %105, %106
%108 = mul i32 %107, %10
store i32 %108, ptr %100, align 4, !tbaa !18
br label %109
109: ; preds = %102, %77
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %138
110: ; preds = %73
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 0, ptr %8, align 4, !tbaa !18
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
store i32 0, ptr %9, align 4, !tbaa !18
%111 = getelementptr inbounds i8, ptr %0, i64 8
%112 = load ptr, ptr %111, align 8, !tbaa !15
store i8 0, ptr %112, align 1, !tbaa !25
%113 = getelementptr inbounds i8, ptr %0, i64 56
%114 = load i32, ptr %113, align 8, !tbaa !24
%115 = load i32, ptr %18, align 4, !tbaa !14
%116 = getelementptr inbounds i8, ptr %0, i64 40
%117 = load ptr, ptr %116, align 8, !tbaa !19
%118 = call i32 @menu_animation_ticker_smooth_generic_fw(i32 noundef %114, i32 noundef %17, i64 noundef %13, i32 noundef %10, i32 noundef %115, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %117) #3
%119 = load i32, ptr %9, align 4, !tbaa !18
%120 = icmp eq i32 %119, 0
br i1 %120, label %130, label %121
121: ; preds = %110
%122 = load ptr, ptr %111, align 8, !tbaa !15
%123 = getelementptr inbounds i8, ptr %0, i64 16
%124 = load i64, ptr %123, align 8, !tbaa !16
%125 = load i64, ptr %11, align 8, !tbaa !13
%126 = load i32, ptr %8, align 4, !tbaa !18
%127 = call i64 @utf8skip(i64 noundef %125, i32 noundef %126) #3
%128 = load i32, ptr %9, align 4, !tbaa !18
%129 = call i32 @utf8cpy(ptr noundef %122, i64 noundef %124, i64 noundef %127, i32 noundef %128) #3
br label %130
130: ; preds = %121, %110
%131 = getelementptr inbounds i8, ptr %0, i64 24
%132 = load ptr, ptr %131, align 8, !tbaa !17
%133 = icmp eq ptr %132, null
br i1 %133, label %137, label %134
134: ; preds = %130
%135 = load i32, ptr %9, align 4, !tbaa !18
%136 = mul i32 %135, %10
store i32 %136, ptr %132, align 4, !tbaa !18
br label %137
137: ; preds = %134, %130
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
br label %138
138: ; preds = %137, %109
store i32 1, ptr @ticker_is_active, align 4, !tbaa !18
br label %148
139: ; preds = %1, %69, %39
%140 = getelementptr inbounds i8, ptr %0, i64 40
%141 = load ptr, ptr %140, align 8, !tbaa !19
store i64 0, ptr %141, align 8, !tbaa !20
%142 = getelementptr inbounds i8, ptr %0, i64 16
%143 = load i64, ptr %142, align 8, !tbaa !16
%144 = icmp sgt i64 %143, 0
br i1 %144, label %145, label %148
145: ; preds = %139
%146 = getelementptr inbounds i8, ptr %0, i64 8
%147 = load ptr, ptr %146, align 8, !tbaa !15
store i8 0, ptr %147, align 1, !tbaa !25
br label %148
148: ; preds = %32, %138, %60, %145, %139
%149 = phi i32 [ 0, %145 ], [ 0, %139 ], [ 0, %32 ], [ 1, %138 ], [ 0, %60 ]
ret i32 %149
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @utf8len(i64 noundef) local_unnamed_addr #2
declare i32 @utf8cpy(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlcat(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @menu_animation_ticker_smooth_loop_fw(i32 noundef, i32 noundef, i64 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @build_ticker_loop_string(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @menu_animation_ticker_smooth_generic_fw(i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @utf8skip(i64 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !11, i64 24, !8, i64 32, !11, i64 40, !12, i64 48, !8, i64 56, !12, i64 64, !8, i64 72}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !12, i64 48}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !11, i64 8}
!16 = !{!7, !12, i64 16}
!17 = !{!7, !11, i64 24}
!18 = !{!8, !8, i64 0}
!19 = !{!7, !11, i64 40}
!20 = !{!12, !12, i64 0}
!21 = !{!7, !8, i64 72}
!22 = !{!7, !12, i64 64}
!23 = !{!7, !8, i64 32}
!24 = !{!7, !8, i64 56}
!25 = !{!9, !9, i64 0}
| RetroArch_menu_extr_menu_animation.c_menu_animation_ticker_smooth_fw |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_ipv4.c___tcp_v4_send_synack.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_ipv4.c___tcp_v4_send_synack.c"
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.sk_buff = type { i32, i32 }
%struct.inet_request_sock = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__tcp_v4_send_synack], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__tcp_v4_send_synack(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @inet_rsk(ptr noundef %1) #2
%5 = icmp eq ptr %2, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call ptr @inet_csk_route_req(ptr noundef %0, ptr noundef %1) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %32, label %9
9: ; preds = %6, %3
%10 = phi ptr [ %2, %3 ], [ %7, %6 ]
%11 = tail call ptr @tcp_make_synack(ptr noundef %0, ptr noundef nonnull %10, ptr noundef %1) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %29, label %13
13: ; preds = %9
%14 = tail call ptr @tcp_hdr(ptr noundef nonnull %11) #2
%15 = getelementptr inbounds %struct.sk_buff, ptr %11, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !5
%17 = getelementptr inbounds %struct.inet_request_sock, ptr %4, i64 0, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !10
%19 = getelementptr inbounds %struct.inet_request_sock, ptr %4, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !12
%21 = load i32, ptr %11, align 4, !tbaa !13
%22 = tail call i32 @csum_partial(ptr noundef %14, i32 noundef %16, i32 noundef %21) #2
%23 = tail call i32 @tcp_v4_check(i32 noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %22) #2
store i32 %23, ptr %14, align 4, !tbaa !14
%24 = load i32, ptr %17, align 4, !tbaa !10
%25 = load i32, ptr %19, align 4, !tbaa !12
%26 = load i32, ptr %4, align 4, !tbaa !16
%27 = tail call i32 @ip_build_and_send_pkt(ptr noundef nonnull %11, ptr noundef %0, i32 noundef %24, i32 noundef %25, i32 noundef %26) #2
%28 = tail call i32 @net_xmit_eval(i32 noundef %27) #2
br label %29
29: ; preds = %13, %9
%30 = phi i32 [ %28, %13 ], [ -1, %9 ]
%31 = tail call i32 @dst_release(ptr noundef nonnull %10) #2
br label %32
32: ; preds = %6, %29
%33 = phi i32 [ %30, %29 ], [ -1, %6 ]
ret i32 %33
}
declare ptr @inet_rsk(ptr noundef) local_unnamed_addr #1
declare ptr @inet_csk_route_req(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @tcp_make_synack(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @tcp_hdr(ptr noundef) local_unnamed_addr #1
declare i32 @tcp_v4_check(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @csum_partial(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ip_build_and_send_pkt(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @net_xmit_eval(i32 noundef) local_unnamed_addr #1
declare i32 @dst_release(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"sk_buff", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"inet_request_sock", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"tcphdr", !7, i64 0}
!16 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_ipv4.c___tcp_v4_send_synack.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_ipv4.c___tcp_v4_send_synack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @__tcp_v4_send_synack], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__tcp_v4_send_synack(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @inet_rsk(ptr noundef %1) #2
%5 = icmp eq ptr %2, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call ptr @inet_csk_route_req(ptr noundef %0, ptr noundef %1) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %32, label %9
9: ; preds = %6, %3
%10 = phi ptr [ %2, %3 ], [ %7, %6 ]
%11 = tail call ptr @tcp_make_synack(ptr noundef %0, ptr noundef nonnull %10, ptr noundef %1) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %29, label %13
13: ; preds = %9
%14 = tail call ptr @tcp_hdr(ptr noundef nonnull %11) #2
%15 = getelementptr inbounds i8, ptr %11, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !6
%17 = getelementptr inbounds i8, ptr %4, i64 8
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = getelementptr inbounds i8, ptr %4, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = load i32, ptr %11, align 4, !tbaa !14
%22 = tail call i32 @csum_partial(ptr noundef %14, i32 noundef %16, i32 noundef %21) #2
%23 = tail call i32 @tcp_v4_check(i32 noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %22) #2
store i32 %23, ptr %14, align 4, !tbaa !15
%24 = load i32, ptr %17, align 4, !tbaa !11
%25 = load i32, ptr %19, align 4, !tbaa !13
%26 = load i32, ptr %4, align 4, !tbaa !17
%27 = tail call i32 @ip_build_and_send_pkt(ptr noundef nonnull %11, ptr noundef %0, i32 noundef %24, i32 noundef %25, i32 noundef %26) #2
%28 = tail call i32 @net_xmit_eval(i32 noundef %27) #2
br label %29
29: ; preds = %13, %9
%30 = phi i32 [ %28, %13 ], [ -1, %9 ]
%31 = tail call i32 @dst_release(ptr noundef nonnull %10) #2
br label %32
32: ; preds = %6, %29
%33 = phi i32 [ %30, %29 ], [ -1, %6 ]
ret i32 %33
}
declare ptr @inet_rsk(ptr noundef) local_unnamed_addr #1
declare ptr @inet_csk_route_req(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @tcp_make_synack(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @tcp_hdr(ptr noundef) local_unnamed_addr #1
declare i32 @tcp_v4_check(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @csum_partial(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ip_build_and_send_pkt(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @net_xmit_eval(i32 noundef) local_unnamed_addr #1
declare i32 @dst_release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"sk_buff", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"inet_request_sock", !8, i64 0, !8, i64 4, !8, i64 8}
!13 = !{!12, !8, i64 4}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"tcphdr", !8, i64 0}
!17 = !{!12, !8, i64 0}
| fastsocket_kernel_net_ipv4_extr_tcp_ipv4.c___tcp_v4_send_synack |
; ModuleID = 'AnghaBench/scrcpy/app/src/extr_scrcpy.c_event_loop.c'
source_filename = "AnghaBench/scrcpy/app/src/extr_scrcpy.c_event_loop.c"
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"
@event_watcher = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @event_loop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @event_loop(i32 %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
br label %4
4: ; preds = %7, %2
%5 = call i64 @SDL_WaitEvent(ptr noundef nonnull %3) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = call i32 @handle_event(ptr noundef nonnull %3, i32 noundef %1) #3
switch i32 %8, label %4 [
i32 128, label %9
i32 129, label %10
], !llvm.loop !5
9: ; preds = %7
br label %10
10: ; preds = %4, %7, %9
%11 = phi i32 [ 1, %9 ], [ 0, %7 ], [ 0, %4 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @SDL_WaitEvent(ptr noundef) local_unnamed_addr #2
declare i32 @handle_event(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/scrcpy/app/src/extr_scrcpy.c_event_loop.c'
source_filename = "AnghaBench/scrcpy/app/src/extr_scrcpy.c_event_loop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@event_watcher = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @event_loop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @event_loop(i32 %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
br label %4
4: ; preds = %7, %2
%5 = call i64 @SDL_WaitEvent(ptr noundef nonnull %3) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = call i32 @handle_event(ptr noundef nonnull %3, i32 noundef %1) #3
switch i32 %8, label %4 [
i32 128, label %9
i32 129, label %11
], !llvm.loop !6
9: ; preds = %4, %7
%10 = phi i32 [ 1, %7 ], [ 0, %4 ]
br label %11
11: ; preds = %7, %9
%12 = phi i32 [ %10, %9 ], [ 0, %7 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @SDL_WaitEvent(ptr noundef) local_unnamed_addr #2
declare i32 @handle_event(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| scrcpy_app_src_extr_scrcpy.c_event_loop |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/thunder/extr_nic_main.c_nic_enable_vf.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/thunder/extr_nic_main.c_nic_enable_vf.c"
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.nicpf = type { ptr, i32, i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @nic_enable_vf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nic_enable_vf(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = sext i32 %1 to i64
%6 = getelementptr inbounds i32, ptr %4, i64 %5
store i32 %2, ptr %6, align 4, !tbaa !11
%7 = getelementptr inbounds %struct.nicpf, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = icmp sgt i32 %8, %1
br i1 %9, label %10, label %23
10: ; preds = %3
%11 = getelementptr inbounds %struct.nicpf, ptr %0, i64 0, i32 3
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = getelementptr inbounds i32, ptr %12, i64 %5
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = tail call i32 @NIC_GET_BGX_FROM_VF_LMAC_MAP(i32 noundef %14) #2
%16 = load ptr, ptr %11, align 8, !tbaa !13
%17 = getelementptr inbounds i32, ptr %16, i64 %5
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = tail call i32 @NIC_GET_LMAC_FROM_VF_LMAC_MAP(i32 noundef %18) #2
%20 = getelementptr inbounds %struct.nicpf, ptr %0, i64 0, i32 2
%21 = load i32, ptr %20, align 4, !tbaa !14
%22 = tail call i32 @bgx_lmac_rx_tx_enable(i32 noundef %21, i32 noundef %15, i32 noundef %19, i32 noundef %2) #2
br label %23
23: ; preds = %3, %10
ret void
}
declare i32 @NIC_GET_BGX_FROM_VF_LMAC_MAP(i32 noundef) local_unnamed_addr #1
declare i32 @NIC_GET_LMAC_FROM_VF_LMAC_MAP(i32 noundef) local_unnamed_addr #1
declare i32 @bgx_lmac_rx_tx_enable(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nicpf", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !10, i64 12}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/thunder/extr_nic_main.c_nic_enable_vf.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/thunder/extr_nic_main.c_nic_enable_vf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @nic_enable_vf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nic_enable_vf(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = sext i32 %1 to i64
%6 = getelementptr inbounds i32, ptr %4, i64 %5
store i32 %2, ptr %6, align 4, !tbaa !12
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr %7, align 8, !tbaa !13
%9 = icmp sgt i32 %8, %1
br i1 %9, label %10, label %23
10: ; preds = %3
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = getelementptr inbounds i32, ptr %12, i64 %5
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = tail call i32 @NIC_GET_BGX_FROM_VF_LMAC_MAP(i32 noundef %14) #2
%16 = load ptr, ptr %11, align 8, !tbaa !14
%17 = getelementptr inbounds i32, ptr %16, i64 %5
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = tail call i32 @NIC_GET_LMAC_FROM_VF_LMAC_MAP(i32 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %0, i64 12
%21 = load i32, ptr %20, align 4, !tbaa !15
%22 = tail call i32 @bgx_lmac_rx_tx_enable(i32 noundef %21, i32 noundef %15, i32 noundef %19, i32 noundef %2) #2
br label %23
23: ; preds = %3, %10
ret void
}
declare i32 @NIC_GET_BGX_FROM_VF_LMAC_MAP(i32 noundef) local_unnamed_addr #1
declare i32 @NIC_GET_LMAC_FROM_VF_LMAC_MAP(i32 noundef) local_unnamed_addr #1
declare i32 @bgx_lmac_rx_tx_enable(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nicpf", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !11, i64 12}
| linux_drivers_net_ethernet_cavium_thunder_extr_nic_main.c_nic_enable_vf |
; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_ibmvscsi_tgt.c_system_id_show.c'
source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_ibmvscsi_tgt.c_system_id_show.c"
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"
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@system_id = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @system_id_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @system_id_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%5 = load ptr, ptr @system_id, align 8, !tbaa !9
%6 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %5) #2
ret i32 %6
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_ibmvscsi_tgt.c_system_id_show.c'
source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_ibmvscsi_tgt.c_system_id_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@system_id = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @system_id_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @system_id_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6
%5 = load ptr, ptr @system_id, align 8, !tbaa !10
%6 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %5) #2
ret i32 %6
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| linux_drivers_scsi_ibmvscsi_tgt_extr_ibmvscsi_tgt.c_system_id_show |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-vect-transform.c_vect_is_simple_cond.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-vect-transform.c_vect_is_simple_cond.c"
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"
@SSA_NAME = dso_local local_unnamed_addr global i64 0, align 8
@INTEGER_CST = dso_local local_unnamed_addr global i64 0, align 8
@REAL_CST = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vect_is_simple_cond], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vect_is_simple_cond(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%7 = tail call i32 @COMPARISON_CLASS_P(i32 noundef %0) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %44, label %9
9: ; preds = %2
%10 = tail call i32 @TREE_OPERAND(i32 noundef %0, i32 noundef 0) #3
%11 = tail call i32 @TREE_OPERAND(i32 noundef %0, i32 noundef 1) #3
%12 = tail call i64 @TREE_CODE(i32 noundef %10) #3
%13 = load i64, ptr @SSA_NAME, align 8, !tbaa !5
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%16 = tail call i32 @SSA_NAME_DEF_STMT(i32 noundef %10) #3
store i32 %16, ptr %5, align 4, !tbaa !9
%17 = call i32 @vect_is_simple_use(i32 noundef %10, i32 noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%18 = icmp eq i32 %17, 0
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br i1 %18, label %44, label %27
19: ; preds = %9
%20 = tail call i64 @TREE_CODE(i32 noundef %10) #3
%21 = load i64, ptr @INTEGER_CST, align 8, !tbaa !5
%22 = icmp eq i64 %20, %21
br i1 %22, label %27, label %23
23: ; preds = %19
%24 = tail call i64 @TREE_CODE(i32 noundef %10) #3
%25 = load i64, ptr @REAL_CST, align 8, !tbaa !5
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %44
27: ; preds = %19, %23, %15
%28 = call i64 @TREE_CODE(i32 noundef %11) #3
%29 = load i64, ptr @SSA_NAME, align 8, !tbaa !5
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %35
31: ; preds = %27
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%32 = call i32 @SSA_NAME_DEF_STMT(i32 noundef %11) #3
store i32 %32, ptr %6, align 4, !tbaa !9
%33 = call i32 @vect_is_simple_use(i32 noundef %11, i32 noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%34 = icmp eq i32 %33, 0
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
br i1 %34, label %44, label %43
35: ; preds = %27
%36 = call i64 @TREE_CODE(i32 noundef %11) #3
%37 = load i64, ptr @INTEGER_CST, align 8, !tbaa !5
%38 = icmp eq i64 %36, %37
br i1 %38, label %43, label %39
39: ; preds = %35
%40 = call i64 @TREE_CODE(i32 noundef %11) #3
%41 = load i64, ptr @REAL_CST, align 8, !tbaa !5
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %44
43: ; preds = %35, %39, %31
br label %44
44: ; preds = %39, %23, %2, %15, %31, %43
%45 = phi i32 [ 1, %43 ], [ 0, %31 ], [ 0, %15 ], [ 0, %2 ], [ 0, %23 ], [ 0, %39 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %45
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @COMPARISON_CLASS_P(i32 noundef) local_unnamed_addr #2
declare i32 @TREE_OPERAND(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @TREE_CODE(i32 noundef) local_unnamed_addr #2
declare i32 @SSA_NAME_DEF_STMT(i32 noundef) local_unnamed_addr #2
declare i32 @vect_is_simple_use(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-vect-transform.c_vect_is_simple_cond.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-vect-transform.c_vect_is_simple_cond.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SSA_NAME = common local_unnamed_addr global i64 0, align 8
@INTEGER_CST = common local_unnamed_addr global i64 0, align 8
@REAL_CST = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @vect_is_simple_cond], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @vect_is_simple_cond(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%7 = tail call i32 @COMPARISON_CLASS_P(i32 noundef %0) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %44, label %9
9: ; preds = %2
%10 = tail call i32 @TREE_OPERAND(i32 noundef %0, i32 noundef 0) #3
%11 = tail call i32 @TREE_OPERAND(i32 noundef %0, i32 noundef 1) #3
%12 = tail call i64 @TREE_CODE(i32 noundef %10) #3
%13 = load i64, ptr @SSA_NAME, align 8, !tbaa !6
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%16 = tail call i32 @SSA_NAME_DEF_STMT(i32 noundef %10) #3
store i32 %16, ptr %5, align 4, !tbaa !10
%17 = call i32 @vect_is_simple_use(i32 noundef %10, i32 noundef %1, ptr noundef nonnull %5, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%18 = icmp eq i32 %17, 0
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br i1 %18, label %44, label %27
19: ; preds = %9
%20 = tail call i64 @TREE_CODE(i32 noundef %10) #3
%21 = load i64, ptr @INTEGER_CST, align 8, !tbaa !6
%22 = icmp eq i64 %20, %21
br i1 %22, label %27, label %23
23: ; preds = %19
%24 = tail call i64 @TREE_CODE(i32 noundef %10) #3
%25 = load i64, ptr @REAL_CST, align 8, !tbaa !6
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %44
27: ; preds = %19, %23, %15
%28 = call i64 @TREE_CODE(i32 noundef %11) #3
%29 = load i64, ptr @SSA_NAME, align 8, !tbaa !6
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %35
31: ; preds = %27
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%32 = call i32 @SSA_NAME_DEF_STMT(i32 noundef %11) #3
store i32 %32, ptr %6, align 4, !tbaa !10
%33 = call i32 @vect_is_simple_use(i32 noundef %11, i32 noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%34 = icmp eq i32 %33, 0
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
br i1 %34, label %44, label %43
35: ; preds = %27
%36 = call i64 @TREE_CODE(i32 noundef %11) #3
%37 = load i64, ptr @INTEGER_CST, align 8, !tbaa !6
%38 = icmp eq i64 %36, %37
br i1 %38, label %43, label %39
39: ; preds = %35
%40 = call i64 @TREE_CODE(i32 noundef %11) #3
%41 = load i64, ptr @REAL_CST, align 8, !tbaa !6
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %44
43: ; preds = %35, %39, %31
br label %44
44: ; preds = %39, %23, %2, %15, %31, %43
%45 = phi i32 [ 1, %43 ], [ 0, %31 ], [ 0, %15 ], [ 0, %2 ], [ 0, %23 ], [ 0, %39 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %45
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @COMPARISON_CLASS_P(i32 noundef) local_unnamed_addr #2
declare i32 @TREE_OPERAND(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @TREE_CODE(i32 noundef) local_unnamed_addr #2
declare i32 @SSA_NAME_DEF_STMT(i32 noundef) local_unnamed_addr #2
declare i32 @vect_is_simple_use(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| freebsd_contrib_gcc_extr_tree-vect-transform.c_vect_is_simple_cond |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_DRAW_INDX_2_2_NUM_INDICES.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_DRAW_INDX_2_2_NUM_INDICES.c"
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"
@CP_DRAW_INDX_2_2_NUM_INDICES__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@CP_DRAW_INDX_2_2_NUM_INDICES__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @CP_DRAW_INDX_2_2_NUM_INDICES], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @CP_DRAW_INDX_2_2_NUM_INDICES(i32 noundef %0) #0 {
%2 = load i32, ptr @CP_DRAW_INDX_2_2_NUM_INDICES__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @CP_DRAW_INDX_2_2_NUM_INDICES__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_DRAW_INDX_2_2_NUM_INDICES.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_DRAW_INDX_2_2_NUM_INDICES.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CP_DRAW_INDX_2_2_NUM_INDICES__SHIFT = common local_unnamed_addr global i32 0, align 4
@CP_DRAW_INDX_2_2_NUM_INDICES__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @CP_DRAW_INDX_2_2_NUM_INDICES], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @CP_DRAW_INDX_2_2_NUM_INDICES(i32 noundef %0) #0 {
%2 = load i32, ptr @CP_DRAW_INDX_2_2_NUM_INDICES__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @CP_DRAW_INDX_2_2_NUM_INDICES__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_adreno_extr_adreno_pm4.xml.h_CP_DRAW_INDX_2_2_NUM_INDICES |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_common.c_i40e_led_is_mine.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_common.c_i40e_led_is_mine.c"
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.i40e_hw = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { ptr }
@I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK = dso_local local_unnamed_addr global i32 0, align 4
@I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @i40e_led_is_mine], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @i40e_led_is_mine(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.i40e_hw, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = sext i32 %1 to i64
%6 = getelementptr inbounds i32, ptr %4, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = icmp eq i32 %7, 0
br i1 %8, label %23, label %9
9: ; preds = %2
%10 = tail call i32 @I40E_GLGEN_GPIO_CTL(i32 noundef %1) #2
%11 = tail call i32 @rd32(ptr noundef nonnull %0, i32 noundef %10) #2
%12 = load i32, ptr @I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK, align 4, !tbaa !12
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %9
%16 = load i32, ptr @I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK, align 4, !tbaa !12
%17 = and i32 %16, %11
%18 = load i32, ptr @I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT, align 4, !tbaa !12
%19 = ashr i32 %17, %18
%20 = load i32, ptr %0, align 8, !tbaa !13
%21 = icmp eq i32 %19, %20
%22 = select i1 %21, i32 %11, i32 0
br label %23
23: ; preds = %15, %9, %2
%24 = phi i32 [ 0, %2 ], [ 0, %9 ], [ %22, %15 ]
ret i32 %24
}
declare i32 @rd32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @I40E_GLGEN_GPIO_CTL(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"i40e_hw", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_common.c_i40e_led_is_mine.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/i40e/extr_i40e_common.c_i40e_led_is_mine.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK = common local_unnamed_addr global i32 0, align 4
@I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT = common local_unnamed_addr global i32 0, align 4
@I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @i40e_led_is_mine], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @i40e_led_is_mine(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = sext i32 %1 to i64
%6 = getelementptr inbounds i32, ptr %4, i64 %5
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = icmp eq i32 %7, 0
br i1 %8, label %23, label %9
9: ; preds = %2
%10 = tail call i32 @I40E_GLGEN_GPIO_CTL(i32 noundef %1) #2
%11 = tail call i32 @rd32(ptr noundef nonnull %0, i32 noundef %10) #2
%12 = load i32, ptr @I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK, align 4, !tbaa !13
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %23
15: ; preds = %9
%16 = load i32, ptr @I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK, align 4, !tbaa !13
%17 = and i32 %16, %11
%18 = load i32, ptr @I40E_GLGEN_GPIO_CTL_PRT_NUM_SHIFT, align 4, !tbaa !13
%19 = ashr i32 %17, %18
%20 = load i32, ptr %0, align 8, !tbaa !14
%21 = icmp eq i32 %19, %20
%22 = select i1 %21, i32 %11, i32 0
br label %23
23: ; preds = %15, %9, %2
%24 = phi i32 [ 0, %2 ], [ 0, %9 ], [ %22, %15 ]
ret i32 %24
}
declare i32 @rd32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @I40E_GLGEN_GPIO_CTL(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"i40e_hw", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 0}
| linux_drivers_net_ethernet_intel_i40e_extr_i40e_common.c_i40e_led_is_mine |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_imm.c_imm_wakeup.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_imm.c_imm_wakeup.c"
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.TYPE_3__ = type { i64, i32 }
@arbitration_lock = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @imm_wakeup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @imm_wakeup(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @arbitration_lock, i64 noundef undef) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %12, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = tail call i64 @parport_claim(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %5
%11 = tail call i32 @got_it(ptr noundef nonnull %0) #2
store i64 0, ptr %0, align 8, !tbaa !5
br label %12
12: ; preds = %5, %10, %1
%13 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @arbitration_lock, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @parport_claim(i32 noundef) local_unnamed_addr #1
declare i32 @got_it(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_imm.c_imm_wakeup.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_imm.c_imm_wakeup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@arbitration_lock = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @imm_wakeup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @imm_wakeup(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @arbitration_lock, i64 noundef undef) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %12, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = tail call i64 @parport_claim(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %5
%11 = tail call i32 @got_it(ptr noundef nonnull %0) #2
store i64 0, ptr %0, align 8, !tbaa !6
br label %12
12: ; preds = %5, %10, %1
%13 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @arbitration_lock, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @parport_claim(i32 noundef) local_unnamed_addr #1
declare i32 @got_it(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
| linux_drivers_scsi_extr_imm.c_imm_wakeup |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fence.c_radeon_fence_wait.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fence.c_radeon_fence_wait.c"
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"
@MAX_SCHEDULE_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @radeon_fence_wait(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MAX_SCHEDULE_TIMEOUT, align 4, !tbaa !5
%4 = tail call i64 @radeon_fence_wait_timeout(ptr noundef %0, i32 noundef %1, i32 noundef %3) #3
%5 = tail call i64 @llvm.smin.i64(i64 %4, i64 0)
%6 = trunc i64 %5 to i32
ret i32 %6
}
declare i64 @radeon_fence_wait_timeout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
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 speculatable willreturn memory(none) }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fence.c_radeon_fence_wait.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fence.c_radeon_fence_wait.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_SCHEDULE_TIMEOUT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @radeon_fence_wait(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MAX_SCHEDULE_TIMEOUT, align 4, !tbaa !6
%4 = tail call i64 @radeon_fence_wait_timeout(ptr noundef %0, i32 noundef %1, i32 noundef %3) #3
%5 = tail call i64 @llvm.smin.i64(i64 %4, i64 0)
%6 = trunc i64 %5 to i32
ret i32 %6
}
declare i64 @radeon_fence_wait_timeout(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_radeon_extr_radeon_fence.c_radeon_fence_wait |
; ModuleID = 'AnghaBench/linux/arch/mips/sibyte/sb1250/extr_smp.c_sb1250_smp_init.c'
source_filename = "AnghaBench/linux/arch/mips/sibyte/sb1250/extr_smp.c_sb1250_smp_init.c"
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"
@STATUSF_IP4 = dso_local local_unnamed_addr global i32 0, align 4
@STATUSF_IP3 = dso_local local_unnamed_addr global i32 0, align 4
@STATUSF_IP2 = dso_local local_unnamed_addr global i32 0, align 4
@STATUSF_IP1 = dso_local local_unnamed_addr global i32 0, align 4
@STATUSF_IP0 = dso_local local_unnamed_addr global i32 0, align 4
@ST0_IM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @sb1250_smp_init() local_unnamed_addr #0 {
%1 = load i32, ptr @STATUSF_IP4, align 4, !tbaa !5
%2 = load i32, ptr @STATUSF_IP3, align 4, !tbaa !5
%3 = or i32 %2, %1
%4 = load i32, ptr @STATUSF_IP2, align 4, !tbaa !5
%5 = or i32 %3, %4
%6 = load i32, ptr @STATUSF_IP1, align 4, !tbaa !5
%7 = or i32 %5, %6
%8 = load i32, ptr @STATUSF_IP0, align 4, !tbaa !5
%9 = or i32 %7, %8
%10 = load i32, ptr @ST0_IM, align 4, !tbaa !5
%11 = tail call i32 @change_c0_status(i32 noundef %10, i32 noundef %9) #2
ret void
}
declare i32 @change_c0_status(i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/mips/sibyte/sb1250/extr_smp.c_sb1250_smp_init.c'
source_filename = "AnghaBench/linux/arch/mips/sibyte/sb1250/extr_smp.c_sb1250_smp_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STATUSF_IP4 = common local_unnamed_addr global i32 0, align 4
@STATUSF_IP3 = common local_unnamed_addr global i32 0, align 4
@STATUSF_IP2 = common local_unnamed_addr global i32 0, align 4
@STATUSF_IP1 = common local_unnamed_addr global i32 0, align 4
@STATUSF_IP0 = common local_unnamed_addr global i32 0, align 4
@ST0_IM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @sb1250_smp_init() local_unnamed_addr #0 {
%1 = load i32, ptr @STATUSF_IP4, align 4, !tbaa !6
%2 = load i32, ptr @STATUSF_IP3, align 4, !tbaa !6
%3 = or i32 %2, %1
%4 = load i32, ptr @STATUSF_IP2, align 4, !tbaa !6
%5 = or i32 %3, %4
%6 = load i32, ptr @STATUSF_IP1, align 4, !tbaa !6
%7 = or i32 %5, %6
%8 = load i32, ptr @STATUSF_IP0, align 4, !tbaa !6
%9 = or i32 %7, %8
%10 = load i32, ptr @ST0_IM, align 4, !tbaa !6
%11 = tail call i32 @change_c0_status(i32 noundef %10, i32 noundef %9) #2
ret void
}
declare i32 @change_c0_status(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_mips_sibyte_sb1250_extr_smp.c_sb1250_smp_init |
; ModuleID = 'AnghaBench/linux/scripts/kconfig/extr_gconf.c_on_show_range1_activate.c'
source_filename = "AnghaBench/linux/scripts/kconfig/extr_gconf.c_on_show_range1_activate.c"
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"
@show_range = dso_local local_unnamed_addr global i32 0, align 4
@tree2_w = dso_local local_unnamed_addr global i32 0, align 4
@COL_NO = dso_local local_unnamed_addr global i32 0, align 4
@COL_MOD = dso_local local_unnamed_addr global i32 0, align 4
@COL_YES = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @on_show_range1_activate(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @GTK_CHECK_MENU_ITEM(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !5
store i32 %4, ptr @show_range, align 4, !tbaa !10
%5 = load i32, ptr @tree2_w, align 4, !tbaa !10
%6 = tail call i32 @GTK_TREE_VIEW(i32 noundef %5) #2
%7 = load i32, ptr @COL_NO, align 4, !tbaa !10
%8 = tail call ptr @gtk_tree_view_get_column(i32 noundef %6, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = load i32, ptr @show_range, align 4, !tbaa !10
%12 = tail call i32 @gtk_tree_view_column_set_visible(ptr noundef nonnull %8, i32 noundef %11) #2
br label %13
13: ; preds = %10, %2
%14 = load i32, ptr @tree2_w, align 4, !tbaa !10
%15 = tail call i32 @GTK_TREE_VIEW(i32 noundef %14) #2
%16 = load i32, ptr @COL_MOD, align 4, !tbaa !10
%17 = tail call ptr @gtk_tree_view_get_column(i32 noundef %15, i32 noundef %16) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %13
%20 = load i32, ptr @show_range, align 4, !tbaa !10
%21 = tail call i32 @gtk_tree_view_column_set_visible(ptr noundef nonnull %17, i32 noundef %20) #2
br label %22
22: ; preds = %19, %13
%23 = load i32, ptr @tree2_w, align 4, !tbaa !10
%24 = tail call i32 @GTK_TREE_VIEW(i32 noundef %23) #2
%25 = load i32, ptr @COL_YES, align 4, !tbaa !10
%26 = tail call ptr @gtk_tree_view_get_column(i32 noundef %24, i32 noundef %25) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %22
%29 = load i32, ptr @show_range, align 4, !tbaa !10
%30 = tail call i32 @gtk_tree_view_column_set_visible(ptr noundef nonnull %26, i32 noundef %29) #2
br label %31
31: ; preds = %28, %22
ret void
}
declare ptr @GTK_CHECK_MENU_ITEM(ptr noundef) local_unnamed_addr #1
declare ptr @gtk_tree_view_get_column(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GTK_TREE_VIEW(i32 noundef) local_unnamed_addr #1
declare i32 @gtk_tree_view_column_set_visible(ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/scripts/kconfig/extr_gconf.c_on_show_range1_activate.c'
source_filename = "AnghaBench/linux/scripts/kconfig/extr_gconf.c_on_show_range1_activate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@show_range = common local_unnamed_addr global i32 0, align 4
@tree2_w = common local_unnamed_addr global i32 0, align 4
@COL_NO = common local_unnamed_addr global i32 0, align 4
@COL_MOD = common local_unnamed_addr global i32 0, align 4
@COL_YES = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @on_show_range1_activate(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @GTK_CHECK_MENU_ITEM(ptr noundef %0) #2
%4 = load i32, ptr %3, align 4, !tbaa !6
store i32 %4, ptr @show_range, align 4, !tbaa !11
%5 = load i32, ptr @tree2_w, align 4, !tbaa !11
%6 = tail call i32 @GTK_TREE_VIEW(i32 noundef %5) #2
%7 = load i32, ptr @COL_NO, align 4, !tbaa !11
%8 = tail call ptr @gtk_tree_view_get_column(i32 noundef %6, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = load i32, ptr @show_range, align 4, !tbaa !11
%12 = tail call i32 @gtk_tree_view_column_set_visible(ptr noundef nonnull %8, i32 noundef %11) #2
br label %13
13: ; preds = %10, %2
%14 = load i32, ptr @tree2_w, align 4, !tbaa !11
%15 = tail call i32 @GTK_TREE_VIEW(i32 noundef %14) #2
%16 = load i32, ptr @COL_MOD, align 4, !tbaa !11
%17 = tail call ptr @gtk_tree_view_get_column(i32 noundef %15, i32 noundef %16) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %13
%20 = load i32, ptr @show_range, align 4, !tbaa !11
%21 = tail call i32 @gtk_tree_view_column_set_visible(ptr noundef nonnull %17, i32 noundef %20) #2
br label %22
22: ; preds = %19, %13
%23 = load i32, ptr @tree2_w, align 4, !tbaa !11
%24 = tail call i32 @GTK_TREE_VIEW(i32 noundef %23) #2
%25 = load i32, ptr @COL_YES, align 4, !tbaa !11
%26 = tail call ptr @gtk_tree_view_get_column(i32 noundef %24, i32 noundef %25) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %22
%29 = load i32, ptr @show_range, align 4, !tbaa !11
%30 = tail call i32 @gtk_tree_view_column_set_visible(ptr noundef nonnull %26, i32 noundef %29) #2
br label %31
31: ; preds = %28, %22
ret void
}
declare ptr @GTK_CHECK_MENU_ITEM(ptr noundef) local_unnamed_addr #1
declare ptr @gtk_tree_view_get_column(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GTK_TREE_VIEW(i32 noundef) local_unnamed_addr #1
declare i32 @gtk_tree_view_column_set_visible(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_scripts_kconfig_extr_gconf.c_on_show_range1_activate |
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpiolib.c_gpiod_set_consumer_name.c'
source_filename = "AnghaBench/linux/drivers/gpio/extr_gpiolib.c_gpiod_set_consumer_name.c"
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"
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @gpiod_set_consumer_name(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @VALIDATE_DESC(ptr noundef %0) #2
%4 = icmp eq ptr %1, null
br i1 %4, label %12, label %5
5: ; preds = %2
%6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%7 = tail call ptr @kstrdup_const(ptr noundef nonnull %1, i32 noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%11 = sub nsw i32 0, %10
br label %17
12: ; preds = %5, %2
%13 = phi ptr [ %7, %5 ], [ null, %2 ]
%14 = load i32, ptr %0, align 4, !tbaa !9
%15 = tail call i32 @kfree_const(i32 noundef %14) #2
%16 = tail call i32 @desc_set_label(ptr noundef nonnull %0, ptr noundef %13) #2
br label %17
17: ; preds = %12, %9
%18 = phi i32 [ 0, %12 ], [ %11, %9 ]
ret i32 %18
}
declare i32 @VALIDATE_DESC(ptr noundef) local_unnamed_addr #1
declare ptr @kstrdup_const(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree_const(i32 noundef) local_unnamed_addr #1
declare i32 @desc_set_label(ptr noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"gpio_desc", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpiolib.c_gpiod_set_consumer_name.c'
source_filename = "AnghaBench/linux/drivers/gpio/extr_gpiolib.c_gpiod_set_consumer_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @gpiod_set_consumer_name(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @VALIDATE_DESC(ptr noundef %0) #2
%4 = icmp eq ptr %1, null
br i1 %4, label %12, label %5
5: ; preds = %2
%6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%7 = tail call ptr @kstrdup_const(ptr noundef nonnull %1, i32 noundef %6) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%11 = sub nsw i32 0, %10
br label %17
12: ; preds = %5, %2
%13 = phi ptr [ %7, %5 ], [ null, %2 ]
%14 = load i32, ptr %0, align 4, !tbaa !10
%15 = tail call i32 @kfree_const(i32 noundef %14) #2
%16 = tail call i32 @desc_set_label(ptr noundef nonnull %0, ptr noundef %13) #2
br label %17
17: ; preds = %12, %9
%18 = phi i32 [ 0, %12 ], [ %11, %9 ]
ret i32 %18
}
declare i32 @VALIDATE_DESC(ptr noundef) local_unnamed_addr #1
declare ptr @kstrdup_const(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree_const(i32 noundef) local_unnamed_addr #1
declare i32 @desc_set_label(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"gpio_desc", !7, i64 0}
| linux_drivers_gpio_extr_gpiolib.c_gpiod_set_consumer_name |
; ModuleID = 'AnghaBench/linux/net/core/extr_skbuff.c_skb_checksum.c'
source_filename = "AnghaBench/linux/net/core/extr_skbuff.c_skb_checksum.c"
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.skb_checksum_ops = type { i32, i32 }
@csum_block_add_ext = dso_local local_unnamed_addr global i32 0, align 4
@csum_partial_ext = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @skb_checksum(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.skb_checksum_ops, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr @csum_block_add_ext, align 4, !tbaa !5
store i32 %6, ptr %5, align 4, !tbaa !9
%7 = getelementptr inbounds %struct.skb_checksum_ops, ptr %5, i64 0, i32 1
%8 = load i32, ptr @csum_partial_ext, align 4, !tbaa !5
store i32 %8, ptr %7, align 4, !tbaa !11
%9 = call i32 @__skb_checksum(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__skb_checksum(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"skb_checksum_ops", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/net/core/extr_skbuff.c_skb_checksum.c'
source_filename = "AnghaBench/linux/net/core/extr_skbuff.c_skb_checksum.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.skb_checksum_ops = type { i32, i32 }
@csum_block_add_ext = common local_unnamed_addr global i32 0, align 4
@csum_partial_ext = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @skb_checksum(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.skb_checksum_ops, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr @csum_block_add_ext, align 4, !tbaa !6
store i32 %6, ptr %5, align 4, !tbaa !10
%7 = getelementptr inbounds i8, ptr %5, i64 4
%8 = load i32, ptr @csum_partial_ext, align 4, !tbaa !6
store i32 %8, ptr %7, align 4, !tbaa !12
%9 = call i32 @__skb_checksum(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @__skb_checksum(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"skb_checksum_ops", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
| linux_net_core_extr_skbuff.c_skb_checksum |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_eucJP_CP932.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_eucJP_CP932.c"
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"
@LC_ALL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"Japanese_Japan\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ja_JP.SJIS\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"CP932 locale not available on this system.\00", align 1
@ARCHIVE_OK = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [17 x i8] c"hdrcharset=eucJP\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"This system cannot convert character-set from eucJP.\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"\8A\BF\8E\9A.txt\00", align 1
@ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"\95\\.txt\00", align 1
@ARCHIVE_EOF = dso_local local_unnamed_addr global i32 0, align 4
@ARCHIVE_FILTER_COMPRESS = dso_local local_unnamed_addr global i32 0, align 4
@ARCHIVE_FORMAT_TAR_USTAR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_read_format_ustar_filename_eucJP_CP932], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_read_format_ustar_filename_eucJP_CP932(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr @LC_ALL, align 4, !tbaa !5
%4 = tail call ptr @setlocale(i32 noundef %3, ptr noundef nonnull @.str) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load i32, ptr @LC_ALL, align 4, !tbaa !5
%8 = tail call ptr @setlocale(i32 noundef %7, ptr noundef nonnull @.str.1) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = tail call i32 @skipping(ptr noundef nonnull @.str.2) #3
br label %78
12: ; preds = %6, %1
%13 = tail call ptr (...) @archive_read_new() #3
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #3
%17 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%18 = tail call i32 @archive_read_support_filter_all(ptr noundef %13) #3
%19 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %17, i32 noundef %18) #3
%20 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%21 = tail call i32 @archive_read_support_format_all(ptr noundef %13) #3
%22 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %20, i32 noundef %21) #3
%23 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%24 = tail call i32 @archive_read_set_options(ptr noundef %13, ptr noundef nonnull @.str.3) #3
%25 = icmp eq i32 %23, %24
br i1 %25, label %28, label %26
26: ; preds = %12
%27 = tail call i32 @skipping(ptr noundef nonnull @.str.4) #3
br label %74
28: ; preds = %12
%29 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%30 = tail call i32 @archive_read_open_filename(ptr noundef %13, ptr noundef %0, i32 noundef 10240) #3
%31 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %29, i32 noundef %30) #3
%32 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%33 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3
%34 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %32, i32 noundef %33) #3
%35 = load ptr, ptr %2, align 8, !tbaa !9
%36 = call i32 @archive_entry_pathname(ptr noundef %35) #3
%37 = call i32 @assertEqualString(ptr noundef nonnull @.str.5, i32 noundef %36) #3
%38 = load ptr, ptr %2, align 8, !tbaa !9
%39 = call i32 @archive_entry_size(ptr noundef %38) #3
%40 = call i32 @assertEqualInt(i32 noundef 8, i32 noundef %39) #3
%41 = load ptr, ptr %2, align 8, !tbaa !9
%42 = call i32 @archive_entry_is_encrypted(ptr noundef %41) #3
%43 = call i32 @assertEqualInt(i32 noundef %42, i32 noundef 0) #3
%44 = call i32 @archive_read_has_encrypted_entries(ptr noundef %13) #3
%45 = load i32, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED, align 4, !tbaa !5
%46 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %44, i32 noundef %45) #3
%47 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%48 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3
%49 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %47, i32 noundef %48) #3
%50 = load ptr, ptr %2, align 8, !tbaa !9
%51 = call i32 @archive_entry_pathname(ptr noundef %50) #3
%52 = call i32 @assertEqualString(ptr noundef nonnull @.str.6, i32 noundef %51) #3
%53 = load ptr, ptr %2, align 8, !tbaa !9
%54 = call i32 @archive_entry_size(ptr noundef %53) #3
%55 = call i32 @assertEqualInt(i32 noundef 4, i32 noundef %54) #3
%56 = load ptr, ptr %2, align 8, !tbaa !9
%57 = call i32 @archive_entry_is_encrypted(ptr noundef %56) #3
%58 = call i32 @assertEqualInt(i32 noundef %57, i32 noundef 0) #3
%59 = call i32 @archive_read_has_encrypted_entries(ptr noundef %13) #3
%60 = load i32, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED, align 4, !tbaa !5
%61 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %59, i32 noundef %60) #3
%62 = load i32, ptr @ARCHIVE_EOF, align 4, !tbaa !5
%63 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3
%64 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %62, i32 noundef %63) #3
%65 = load i32, ptr @ARCHIVE_FILTER_COMPRESS, align 4, !tbaa !5
%66 = call i32 @archive_filter_code(ptr noundef %13, i32 noundef 0) #3
%67 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %65, i32 noundef %66) #3
%68 = load i32, ptr @ARCHIVE_FORMAT_TAR_USTAR, align 4, !tbaa !5
%69 = call i32 @archive_format(ptr noundef %13) #3
%70 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %68, i32 noundef %69) #3
%71 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%72 = call i32 @archive_read_close(ptr noundef %13) #3
%73 = call i32 @assertEqualInt(i32 noundef %71, i32 noundef %72) #3
br label %74
74: ; preds = %28, %26
%75 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
%76 = call i32 @archive_read_free(ptr noundef %13) #3
%77 = call i32 @assertEqualInt(i32 noundef %75, i32 noundef %76) #3
br label %78
78: ; preds = %74, %10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @skipping(ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @archive_read_new(...) local_unnamed_addr #2
declare i32 @assertEqualIntA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_read_support_filter_all(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_support_format_all(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_set_options(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_open_filename(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_read_next_header(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assertEqualString(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_pathname(ptr noundef) local_unnamed_addr #2
declare i32 @assertEqualInt(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_size(ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_is_encrypted(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_has_encrypted_entries(ptr noundef) local_unnamed_addr #2
declare i32 @archive_filter_code(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_format(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_close(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_eucJP_CP932.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_eucJP_CP932.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LC_ALL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"Japanese_Japan\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ja_JP.SJIS\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"CP932 locale not available on this system.\00", align 1
@ARCHIVE_OK = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [17 x i8] c"hdrcharset=eucJP\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"This system cannot convert character-set from eucJP.\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"\8A\BF\8E\9A.txt\00", align 1
@ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"\95\\.txt\00", align 1
@ARCHIVE_EOF = common local_unnamed_addr global i32 0, align 4
@ARCHIVE_FILTER_COMPRESS = common local_unnamed_addr global i32 0, align 4
@ARCHIVE_FORMAT_TAR_USTAR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @test_read_format_ustar_filename_eucJP_CP932], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_read_format_ustar_filename_eucJP_CP932(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr @LC_ALL, align 4, !tbaa !6
%4 = tail call ptr @setlocale(i32 noundef %3, ptr noundef nonnull @.str) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load i32, ptr @LC_ALL, align 4, !tbaa !6
%8 = tail call ptr @setlocale(i32 noundef %7, ptr noundef nonnull @.str.1) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = tail call i32 @skipping(ptr noundef nonnull @.str.2) #3
br label %78
12: ; preds = %6, %1
%13 = tail call ptr @archive_read_new() #3
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #3
%17 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%18 = tail call i32 @archive_read_support_filter_all(ptr noundef %13) #3
%19 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %17, i32 noundef %18) #3
%20 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%21 = tail call i32 @archive_read_support_format_all(ptr noundef %13) #3
%22 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %20, i32 noundef %21) #3
%23 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%24 = tail call i32 @archive_read_set_options(ptr noundef %13, ptr noundef nonnull @.str.3) #3
%25 = icmp eq i32 %23, %24
br i1 %25, label %28, label %26
26: ; preds = %12
%27 = tail call i32 @skipping(ptr noundef nonnull @.str.4) #3
br label %74
28: ; preds = %12
%29 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%30 = tail call i32 @archive_read_open_filename(ptr noundef %13, ptr noundef %0, i32 noundef 10240) #3
%31 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %29, i32 noundef %30) #3
%32 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%33 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3
%34 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %32, i32 noundef %33) #3
%35 = load ptr, ptr %2, align 8, !tbaa !10
%36 = call i32 @archive_entry_pathname(ptr noundef %35) #3
%37 = call i32 @assertEqualString(ptr noundef nonnull @.str.5, i32 noundef %36) #3
%38 = load ptr, ptr %2, align 8, !tbaa !10
%39 = call i32 @archive_entry_size(ptr noundef %38) #3
%40 = call i32 @assertEqualInt(i32 noundef 8, i32 noundef %39) #3
%41 = load ptr, ptr %2, align 8, !tbaa !10
%42 = call i32 @archive_entry_is_encrypted(ptr noundef %41) #3
%43 = call i32 @assertEqualInt(i32 noundef %42, i32 noundef 0) #3
%44 = call i32 @archive_read_has_encrypted_entries(ptr noundef %13) #3
%45 = load i32, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED, align 4, !tbaa !6
%46 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %44, i32 noundef %45) #3
%47 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%48 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3
%49 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %47, i32 noundef %48) #3
%50 = load ptr, ptr %2, align 8, !tbaa !10
%51 = call i32 @archive_entry_pathname(ptr noundef %50) #3
%52 = call i32 @assertEqualString(ptr noundef nonnull @.str.6, i32 noundef %51) #3
%53 = load ptr, ptr %2, align 8, !tbaa !10
%54 = call i32 @archive_entry_size(ptr noundef %53) #3
%55 = call i32 @assertEqualInt(i32 noundef 4, i32 noundef %54) #3
%56 = load ptr, ptr %2, align 8, !tbaa !10
%57 = call i32 @archive_entry_is_encrypted(ptr noundef %56) #3
%58 = call i32 @assertEqualInt(i32 noundef %57, i32 noundef 0) #3
%59 = call i32 @archive_read_has_encrypted_entries(ptr noundef %13) #3
%60 = load i32, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED, align 4, !tbaa !6
%61 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %59, i32 noundef %60) #3
%62 = load i32, ptr @ARCHIVE_EOF, align 4, !tbaa !6
%63 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3
%64 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %62, i32 noundef %63) #3
%65 = load i32, ptr @ARCHIVE_FILTER_COMPRESS, align 4, !tbaa !6
%66 = call i32 @archive_filter_code(ptr noundef %13, i32 noundef 0) #3
%67 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %65, i32 noundef %66) #3
%68 = load i32, ptr @ARCHIVE_FORMAT_TAR_USTAR, align 4, !tbaa !6
%69 = call i32 @archive_format(ptr noundef %13) #3
%70 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %68, i32 noundef %69) #3
%71 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%72 = call i32 @archive_read_close(ptr noundef %13) #3
%73 = call i32 @assertEqualInt(i32 noundef %71, i32 noundef %72) #3
br label %74
74: ; preds = %28, %26
%75 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
%76 = call i32 @archive_read_free(ptr noundef %13) #3
%77 = call i32 @assertEqualInt(i32 noundef %75, i32 noundef %76) #3
br label %78
78: ; preds = %74, %10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @skipping(ptr noundef) local_unnamed_addr #2
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @archive_read_new(...) local_unnamed_addr #2
declare i32 @assertEqualIntA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_read_support_filter_all(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_support_format_all(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_set_options(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_open_filename(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_read_next_header(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @assertEqualString(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_pathname(ptr noundef) local_unnamed_addr #2
declare i32 @assertEqualInt(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_entry_size(ptr noundef) local_unnamed_addr #2
declare i32 @archive_entry_is_encrypted(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_has_encrypted_entries(ptr noundef) local_unnamed_addr #2
declare i32 @archive_filter_code(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @archive_format(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_close(ptr noundef) local_unnamed_addr #2
declare i32 @archive_read_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_libarchive_libarchive_test_extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_eucJP_CP932 |
; ModuleID = 'AnghaBench/linux/drivers/net/hyperv/extr_netvsc_drv.c_netvsc_get_rxnfc.c'
source_filename = "AnghaBench/linux/drivers/net/hyperv/extr_netvsc_drv.c_netvsc_get_rxnfc.c"
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.ethtool_rxnfc = type { i32, i32 }
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @netvsc_get_rxnfc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @netvsc_get_rxnfc(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call ptr @rtnl_dereference(i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %3
%9 = load i32, ptr @ENODEV, align 4, !tbaa !10
%10 = sub nsw i32 0, %9
br label %21
11: ; preds = %3
%12 = load i32, ptr %1, align 4, !tbaa !11
switch i32 %12, label %18 [
i32 128, label %13
i32 129, label %16
]
13: ; preds = %11
%14 = load i32, ptr %6, align 4, !tbaa !13
%15 = getelementptr inbounds %struct.ethtool_rxnfc, ptr %1, i64 0, i32 1
store i32 %14, ptr %15, align 4, !tbaa !15
br label %21
16: ; preds = %11
%17 = tail call i32 @netvsc_get_rss_hash_opts(ptr noundef nonnull %4, ptr noundef nonnull %1) #2
br label %21
18: ; preds = %11
%19 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !10
%20 = sub nsw i32 0, %19
br label %21
21: ; preds = %18, %16, %13, %8
%22 = phi i32 [ %20, %18 ], [ %17, %16 ], [ 0, %13 ], [ %10, %8 ]
ret i32 %22
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare ptr @rtnl_dereference(i32 noundef) local_unnamed_addr #1
declare i32 @netvsc_get_rss_hash_opts(ptr noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"net_device_context", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"ethtool_rxnfc", !7, i64 0, !7, i64 4}
!13 = !{!14, !7, i64 0}
!14 = !{!"netvsc_device", !7, i64 0}
!15 = !{!12, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/hyperv/extr_netvsc_drv.c_netvsc_get_rxnfc.c'
source_filename = "AnghaBench/linux/drivers/net/hyperv/extr_netvsc_drv.c_netvsc_get_rxnfc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @netvsc_get_rxnfc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @netvsc_get_rxnfc(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call ptr @rtnl_dereference(i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %3
%9 = load i32, ptr @ENODEV, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %21
11: ; preds = %3
%12 = load i32, ptr %1, align 4, !tbaa !12
switch i32 %12, label %18 [
i32 128, label %13
i32 129, label %16
]
13: ; preds = %11
%14 = load i32, ptr %6, align 4, !tbaa !14
%15 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %14, ptr %15, align 4, !tbaa !16
br label %21
16: ; preds = %11
%17 = tail call i32 @netvsc_get_rss_hash_opts(ptr noundef nonnull %4, ptr noundef nonnull %1) #2
br label %21
18: ; preds = %11
%19 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !11
%20 = sub nsw i32 0, %19
br label %21
21: ; preds = %18, %16, %13, %8
%22 = phi i32 [ %20, %18 ], [ %17, %16 ], [ 0, %13 ], [ %10, %8 ]
ret i32 %22
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare ptr @rtnl_dereference(i32 noundef) local_unnamed_addr #1
declare i32 @netvsc_get_rss_hash_opts(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"net_device_context", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"ethtool_rxnfc", !8, i64 0, !8, i64 4}
!14 = !{!15, !8, i64 0}
!15 = !{!"netvsc_device", !8, i64 0}
!16 = !{!13, !8, i64 4}
| linux_drivers_net_hyperv_extr_netvsc_drv.c_netvsc_get_rxnfc |
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_media-iovideo-io.h_get_video_colorspace_name.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_media-iovideo-io.h_get_video_colorspace_name.c"
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"
@.str = private unnamed_addr constant [4 x i8] c"709\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"601\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_video_colorspace_name], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef nonnull ptr @get_video_colorspace_name(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 129
%3 = select i1 %2, ptr @.str, ptr @.str.1
ret ptr %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/extr_media-iovideo-io.h_get_video_colorspace_name.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_media-iovideo-io.h_get_video_colorspace_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"709\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"601\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @get_video_colorspace_name], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef nonnull ptr @get_video_colorspace_name(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 129
%3 = select i1 %2, ptr @.str, ptr @.str.1
ret ptr %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| obs-studio_libobs_extr_media-iovideo-io.h_get_video_colorspace_name |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ec2_smpl.c_ec_GF2m_simple_group_get_degree.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ec2_smpl.c_ec_GF2m_simple_group_get_degree.c"
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"
; Function Attrs: nounwind uwtable
define dso_local i32 @ec_GF2m_simple_group_get_degree(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @BN_num_bits(i32 noundef %2) #2
%4 = add nsw i32 %3, -1
ret i32 %4
}
declare i32 @BN_num_bits(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ec2_smpl.c_ec_GF2m_simple_group_get_degree.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ec2_smpl.c_ec_GF2m_simple_group_get_degree.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483648, 2147483647) i32 @ec_GF2m_simple_group_get_degree(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @BN_num_bits(i32 noundef %2) #2
%4 = add nsw i32 %3, -1
ret i32 %4
}
declare i32 @BN_num_bits(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_crypto_openssl_crypto_ec_extr_ec2_smpl.c_ec_GF2m_simple_group_get_degree |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sun/extr_niu.c_niu_init_tx_mac.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/sun/extr_niu.c_niu_init_tx_mac.c"
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.niu = type { i32, ptr }
@ETH_DATA_LEN = dso_local local_unnamed_addr global i64 0, align 8
@NIU_FLAGS_XMAC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @niu_init_tx_mac], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @niu_init_tx_mac(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.niu, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = load i64, ptr @ETH_DATA_LEN, align 8, !tbaa !14
%6 = icmp sgt i64 %4, %5
%7 = select i1 %6, i32 9216, i32 1522
%8 = tail call i32 @BUG_ON(i32 noundef 0) #2
%9 = load i32, ptr %0, align 8, !tbaa !15
%10 = load i32, ptr @NIU_FLAGS_XMAC, align 4, !tbaa !16
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %1
%14 = tail call i32 @niu_init_tx_xmac(ptr noundef nonnull %0, i32 noundef 64, i32 noundef %7) #2
br label %17
15: ; preds = %1
%16 = tail call i32 @niu_init_tx_bmac(ptr noundef nonnull %0, i32 noundef 64, i32 noundef %7) #2
br label %17
17: ; preds = %15, %13
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @niu_init_tx_xmac(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @niu_init_tx_bmac(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"niu", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sun/extr_niu.c_niu_init_tx_mac.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/sun/extr_niu.c_niu_init_tx_mac.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETH_DATA_LEN = common local_unnamed_addr global i64 0, align 8
@NIU_FLAGS_XMAC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @niu_init_tx_mac], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @niu_init_tx_mac(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = load i64, ptr @ETH_DATA_LEN, align 8, !tbaa !15
%6 = icmp sgt i64 %4, %5
%7 = select i1 %6, i32 9216, i32 1522
%8 = tail call i32 @BUG_ON(i32 noundef 0) #2
%9 = load i32, ptr %0, align 8, !tbaa !16
%10 = load i32, ptr @NIU_FLAGS_XMAC, align 4, !tbaa !17
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %1
%14 = tail call i32 @niu_init_tx_xmac(ptr noundef nonnull %0, i32 noundef 64, i32 noundef %7) #2
br label %17
15: ; preds = %1
%16 = tail call i32 @niu_init_tx_bmac(ptr noundef nonnull %0, i32 noundef 64, i32 noundef %7) #2
br label %17
17: ; preds = %15, %13
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @niu_init_tx_xmac(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @niu_init_tx_bmac(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"niu", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!8, !8, i64 0}
| linux_drivers_net_ethernet_sun_extr_niu.c_niu_init_tx_mac |
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_actionName.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_actionName.c"
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"
@.str = private unnamed_addr constant [9 x i8] c"SET NULL\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"SET DEFAULT\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"CASCADE\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"RESTRICT\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"NO ACTION\00", align 1
@OE_None = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @actionName], section "llvm.metadata"
@reltable.actionName = private unnamed_addr constant [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.actionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.actionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.actionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.actionName to i64)) to i32)], align 4
; Function Attrs: nounwind uwtable
define internal noundef nonnull ptr @actionName(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 4
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = load i32, ptr @OE_None, align 4, !tbaa !5
%6 = icmp eq i32 %5, %0
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #3
br label %13
9: ; preds = %1
%10 = zext nneg i32 %2 to i64
%11 = shl i64 %10, 2
%12 = call ptr @llvm.load.relative.i64(ptr @reltable.actionName, i64 %11)
br label %13
13: ; preds = %9, %4
%14 = phi ptr [ @.str.4, %4 ], [ %12, %9 ]
ret ptr %14
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #2
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: read) }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_actionName.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_actionName.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [9 x i8] c"SET NULL\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"SET DEFAULT\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"CASCADE\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"RESTRICT\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"NO ACTION\00", align 1
@OE_None = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @actionName], section "llvm.metadata"
@switch.table.actionName = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.3, ptr @.str.2], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef nonnull ptr @actionName(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 4
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = load i32, ptr @OE_None, align 4, !tbaa !6
%6 = icmp eq i32 %5, %0
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #2
br label %13
9: ; preds = %1
%10 = zext nneg i32 %2 to i64
%11 = getelementptr inbounds [4 x ptr], ptr @switch.table.actionName, i64 0, i64 %10
%12 = load ptr, ptr %11, align 8
br label %13
13: ; preds = %9, %4
%14 = phi ptr [ @.str.4, %4 ], [ %12, %9 ]
ret ptr %14
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_actionName |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_evmap.c_event_changelist_assert_ok_foreach_iter_fn.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_evmap.c_event_changelist_assert_ok_foreach_iter_fn.c"
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.event_change = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @event_changelist_assert_ok_foreach_iter_fn], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @event_changelist_assert_ok_foreach_iter_fn(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture readnone %3) #0 {
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = icmp eq i32 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %4
%9 = load ptr, ptr %0, align 8, !tbaa !10
%10 = sext i32 %6 to i64
%11 = getelementptr %struct.event_change, ptr %9, i64 %10
%12 = getelementptr %struct.event_change, ptr %11, i64 -1
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = icmp eq i64 %13, %1
%15 = zext i1 %14 to i32
%16 = tail call i32 @EVUTIL_ASSERT(i32 noundef %15) #2
br label %17
17: ; preds = %8, %4
ret i32 0
}
declare i32 @EVUTIL_ASSERT(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"event_changelist_fdinfo", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"event_changelist", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"event_change", !15, i64 0}
!15 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_evmap.c_event_changelist_assert_ok_foreach_iter_fn.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_evmap.c_event_changelist_assert_ok_foreach_iter_fn.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.event_change = type { i64 }
@llvm.used = appending global [1 x ptr] [ptr @event_changelist_assert_ok_foreach_iter_fn], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @event_changelist_assert_ok_foreach_iter_fn(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture readnone %3) #0 {
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = icmp eq i32 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %4
%9 = load ptr, ptr %0, align 8, !tbaa !11
%10 = sext i32 %6 to i64
%11 = getelementptr %struct.event_change, ptr %9, i64 %10
%12 = getelementptr i8, ptr %11, i64 -8
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = icmp eq i64 %13, %1
%15 = zext i1 %14 to i32
%16 = tail call i32 @EVUTIL_ASSERT(i32 noundef %15) #2
br label %17
17: ; preds = %8, %4
ret i32 0
}
declare i32 @EVUTIL_ASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"event_changelist_fdinfo", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"event_changelist", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"event_change", !16, i64 0}
!16 = !{!"long", !9, i64 0}
| freebsd_contrib_ntp_sntp_libevent_extr_evmap.c_event_changelist_assert_ok_foreach_iter_fn |
; ModuleID = 'AnghaBench/reactos/dll/opengl/glu32/src/libutil/extr_mipmap.c_halve1Dimage_float.c'
source_filename = "AnghaBench/reactos/dll/opengl/glu32/src/libutil/extr_mipmap.c_halve1Dimage_float.c"
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"
@BOX2 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @halve1Dimage_float], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @halve1Dimage_float(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef writeonly %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 {
%10 = sdiv i32 %1, 2
%11 = sdiv i32 %2, 2
%12 = icmp eq i32 %1, 1
%13 = icmp eq i32 %2, 1
%14 = or i1 %12, %13
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #2
%17 = icmp ne i32 %1, %2
%18 = zext i1 %17 to i32
%19 = tail call i32 @assert(i32 noundef %18) #2
br i1 %13, label %20, label %67
20: ; preds = %9
%21 = icmp ne i32 %1, 1
%22 = zext i1 %21 to i32
%23 = tail call i32 @assert(i32 noundef %22) #2
%24 = icmp sgt i32 %1, 1
br i1 %24, label %25, label %60
25: ; preds = %20
%26 = icmp sgt i32 %0, 0
%27 = icmp eq i32 %8, 0
%28 = sext i32 %7 to i64
%29 = sext i32 %5 to i64
br label %30
30: ; preds = %25, %54
%31 = phi i32 [ 0, %25 ], [ %58, %54 ]
%32 = phi ptr [ %4, %25 ], [ %56, %54 ]
%33 = phi ptr [ %3, %25 ], [ %57, %54 ]
br i1 %26, label %34, label %54
34: ; preds = %30, %45
%35 = phi i32 [ %52, %45 ], [ 0, %30 ]
%36 = phi ptr [ %51, %45 ], [ %32, %30 ]
%37 = phi ptr [ %50, %45 ], [ %33, %30 ]
%38 = getelementptr inbounds i8, ptr %37, i64 %28
br i1 %27, label %42, label %39
39: ; preds = %34
%40 = tail call double @__GLU_SWAP_4_BYTES(ptr noundef %37) #2
%41 = tail call double @__GLU_SWAP_4_BYTES(ptr noundef %38) #2
br label %45
42: ; preds = %34
%43 = load double, ptr %37, align 8, !tbaa !5
%44 = load double, ptr %38, align 8, !tbaa !5
br label %45
45: ; preds = %42, %39
%46 = phi double [ %41, %39 ], [ %44, %42 ]
%47 = phi double [ %40, %39 ], [ %43, %42 ]
%48 = fadd double %46, %47
%49 = fmul double %48, 5.000000e-01
store double %49, ptr %36, align 8, !tbaa !5
%50 = getelementptr inbounds i8, ptr %37, i64 %29
%51 = getelementptr inbounds double, ptr %36, i64 1
%52 = add nuw nsw i32 %35, 1
%53 = icmp eq i32 %52, %0
br i1 %53, label %54, label %34, !llvm.loop !9
54: ; preds = %45, %30
%55 = phi ptr [ %33, %30 ], [ %50, %45 ]
%56 = phi ptr [ %32, %30 ], [ %51, %45 ]
%57 = getelementptr inbounds i8, ptr %55, i64 %28
%58 = add nuw nsw i32 %31, 1
%59 = icmp eq i32 %58, %10
br i1 %59, label %60, label %30, !llvm.loop !11
60: ; preds = %54, %20
%61 = phi ptr [ %3, %20 ], [ %57, %54 ]
%62 = phi ptr [ %4, %20 ], [ %56, %54 ]
%63 = mul nsw i32 %7, %1
%64 = sub nsw i32 %6, %63
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %61, i64 %65
br label %109
67: ; preds = %9
br i1 %12, label %68, label %109
68: ; preds = %67
%69 = tail call i32 @assert(i32 noundef 1) #2
%70 = icmp sgt i32 %2, 1
br i1 %70, label %71, label %109
71: ; preds = %68
%72 = sub nsw i32 %6, %7
%73 = icmp sgt i32 %0, 0
%74 = icmp eq i32 %8, 0
%75 = sext i32 %6 to i64
%76 = sext i32 %5 to i64
%77 = sext i32 %72 to i64
br label %78
78: ; preds = %71, %102
%79 = phi i32 [ 0, %71 ], [ %107, %102 ]
%80 = phi ptr [ %4, %71 ], [ %104, %102 ]
%81 = phi ptr [ %3, %71 ], [ %106, %102 ]
br i1 %73, label %82, label %102
82: ; preds = %78, %93
%83 = phi i32 [ %100, %93 ], [ 0, %78 ]
%84 = phi ptr [ %99, %93 ], [ %80, %78 ]
%85 = phi ptr [ %98, %93 ], [ %81, %78 ]
%86 = getelementptr inbounds i8, ptr %85, i64 %75
br i1 %74, label %90, label %87
87: ; preds = %82
%88 = tail call double @__GLU_SWAP_4_BYTES(ptr noundef %85) #2
%89 = tail call double @__GLU_SWAP_4_BYTES(ptr noundef %86) #2
br label %93
90: ; preds = %82
%91 = load double, ptr %85, align 8, !tbaa !5
%92 = load double, ptr %86, align 8, !tbaa !5
br label %93
93: ; preds = %90, %87
%94 = phi double [ %89, %87 ], [ %92, %90 ]
%95 = phi double [ %88, %87 ], [ %91, %90 ]
%96 = fadd double %94, %95
%97 = fmul double %96, 5.000000e-01
store double %97, ptr %84, align 8, !tbaa !5
%98 = getelementptr inbounds i8, ptr %85, i64 %76
%99 = getelementptr inbounds double, ptr %84, i64 1
%100 = add nuw nsw i32 %83, 1
%101 = icmp eq i32 %100, %0
br i1 %101, label %102, label %82, !llvm.loop !12
102: ; preds = %93, %78
%103 = phi ptr [ %81, %78 ], [ %98, %93 ]
%104 = phi ptr [ %80, %78 ], [ %99, %93 ]
%105 = getelementptr inbounds i8, ptr %103, i64 %77
%106 = getelementptr inbounds i8, ptr %105, i64 %75
%107 = add nuw nsw i32 %79, 1
%108 = icmp eq i32 %107, %11
br i1 %108, label %109, label %78, !llvm.loop !13
109: ; preds = %102, %68, %67, %60
%110 = phi ptr [ %66, %60 ], [ %3, %67 ], [ %3, %68 ], [ %106, %102 ]
%111 = phi ptr [ %62, %60 ], [ %4, %67 ], [ %4, %68 ], [ %104, %102 ]
%112 = phi i32 [ 1, %60 ], [ %11, %67 ], [ %11, %68 ], [ %11, %102 ]
%113 = phi i32 [ %10, %60 ], [ %10, %67 ], [ 1, %68 ], [ 1, %102 ]
%114 = mul nsw i32 %6, %2
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %3, i64 %115
%117 = icmp eq ptr %110, %116
%118 = zext i1 %117 to i32
%119 = tail call i32 @assert(i32 noundef %118) #2
%120 = mul nsw i32 %5, %0
%121 = mul i32 %120, %112
%122 = mul i32 %121, %113
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8, ptr %4, i64 %123
%125 = icmp eq ptr %111, %124
%126 = zext i1 %125 to i32
%127 = tail call i32 @assert(i32 noundef %126) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare double @__GLU_SWAP_4_BYTES(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
| ; ModuleID = 'AnghaBench/reactos/dll/opengl/glu32/src/libutil/extr_mipmap.c_halve1Dimage_float.c'
source_filename = "AnghaBench/reactos/dll/opengl/glu32/src/libutil/extr_mipmap.c_halve1Dimage_float.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BOX2 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @halve1Dimage_float], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @halve1Dimage_float(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef writeonly %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 {
%10 = sdiv i32 %1, 2
%11 = sdiv i32 %2, 2
%12 = icmp eq i32 %1, 1
%13 = icmp eq i32 %2, 1
%14 = or i1 %12, %13
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #2
%17 = icmp ne i32 %1, %2
%18 = zext i1 %17 to i32
%19 = tail call i32 @assert(i32 noundef %18) #2
br i1 %13, label %20, label %67
20: ; preds = %9
%21 = icmp ne i32 %1, 1
%22 = zext i1 %21 to i32
%23 = tail call i32 @assert(i32 noundef %22) #2
%24 = icmp sgt i32 %1, 1
br i1 %24, label %25, label %60
25: ; preds = %20
%26 = icmp sgt i32 %0, 0
%27 = icmp eq i32 %8, 0
%28 = sext i32 %7 to i64
%29 = sext i32 %5 to i64
br label %30
30: ; preds = %25, %54
%31 = phi i32 [ 0, %25 ], [ %58, %54 ]
%32 = phi ptr [ %4, %25 ], [ %56, %54 ]
%33 = phi ptr [ %3, %25 ], [ %57, %54 ]
br i1 %26, label %34, label %54
34: ; preds = %30, %45
%35 = phi i32 [ %52, %45 ], [ 0, %30 ]
%36 = phi ptr [ %51, %45 ], [ %32, %30 ]
%37 = phi ptr [ %50, %45 ], [ %33, %30 ]
%38 = getelementptr inbounds i8, ptr %37, i64 %28
br i1 %27, label %42, label %39
39: ; preds = %34
%40 = tail call double @__GLU_SWAP_4_BYTES(ptr noundef %37) #2
%41 = tail call double @__GLU_SWAP_4_BYTES(ptr noundef %38) #2
br label %45
42: ; preds = %34
%43 = load double, ptr %37, align 8, !tbaa !6
%44 = load double, ptr %38, align 8, !tbaa !6
br label %45
45: ; preds = %42, %39
%46 = phi double [ %41, %39 ], [ %44, %42 ]
%47 = phi double [ %40, %39 ], [ %43, %42 ]
%48 = fadd double %46, %47
%49 = fmul double %48, 5.000000e-01
store double %49, ptr %36, align 8, !tbaa !6
%50 = getelementptr inbounds i8, ptr %37, i64 %29
%51 = getelementptr inbounds i8, ptr %36, i64 8
%52 = add nuw nsw i32 %35, 1
%53 = icmp eq i32 %52, %0
br i1 %53, label %54, label %34, !llvm.loop !10
54: ; preds = %45, %30
%55 = phi ptr [ %33, %30 ], [ %50, %45 ]
%56 = phi ptr [ %32, %30 ], [ %51, %45 ]
%57 = getelementptr inbounds i8, ptr %55, i64 %28
%58 = add nuw nsw i32 %31, 1
%59 = icmp eq i32 %58, %10
br i1 %59, label %60, label %30, !llvm.loop !12
60: ; preds = %54, %20
%61 = phi ptr [ %3, %20 ], [ %57, %54 ]
%62 = phi ptr [ %4, %20 ], [ %56, %54 ]
%63 = mul nsw i32 %7, %1
%64 = sub nsw i32 %6, %63
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %61, i64 %65
br label %109
67: ; preds = %9
br i1 %12, label %68, label %109
68: ; preds = %67
%69 = tail call i32 @assert(i32 noundef 1) #2
%70 = icmp sgt i32 %2, 1
br i1 %70, label %71, label %109
71: ; preds = %68
%72 = sub nsw i32 %6, %7
%73 = icmp sgt i32 %0, 0
%74 = icmp eq i32 %8, 0
%75 = sext i32 %6 to i64
%76 = sext i32 %5 to i64
%77 = sext i32 %72 to i64
br label %78
78: ; preds = %71, %102
%79 = phi i32 [ 0, %71 ], [ %107, %102 ]
%80 = phi ptr [ %4, %71 ], [ %104, %102 ]
%81 = phi ptr [ %3, %71 ], [ %106, %102 ]
br i1 %73, label %82, label %102
82: ; preds = %78, %93
%83 = phi i32 [ %100, %93 ], [ 0, %78 ]
%84 = phi ptr [ %99, %93 ], [ %80, %78 ]
%85 = phi ptr [ %98, %93 ], [ %81, %78 ]
%86 = getelementptr inbounds i8, ptr %85, i64 %75
br i1 %74, label %90, label %87
87: ; preds = %82
%88 = tail call double @__GLU_SWAP_4_BYTES(ptr noundef %85) #2
%89 = tail call double @__GLU_SWAP_4_BYTES(ptr noundef %86) #2
br label %93
90: ; preds = %82
%91 = load double, ptr %85, align 8, !tbaa !6
%92 = load double, ptr %86, align 8, !tbaa !6
br label %93
93: ; preds = %90, %87
%94 = phi double [ %89, %87 ], [ %92, %90 ]
%95 = phi double [ %88, %87 ], [ %91, %90 ]
%96 = fadd double %94, %95
%97 = fmul double %96, 5.000000e-01
store double %97, ptr %84, align 8, !tbaa !6
%98 = getelementptr inbounds i8, ptr %85, i64 %76
%99 = getelementptr inbounds i8, ptr %84, i64 8
%100 = add nuw nsw i32 %83, 1
%101 = icmp eq i32 %100, %0
br i1 %101, label %102, label %82, !llvm.loop !13
102: ; preds = %93, %78
%103 = phi ptr [ %81, %78 ], [ %98, %93 ]
%104 = phi ptr [ %80, %78 ], [ %99, %93 ]
%105 = getelementptr inbounds i8, ptr %103, i64 %77
%106 = getelementptr inbounds i8, ptr %105, i64 %75
%107 = add nuw nsw i32 %79, 1
%108 = icmp eq i32 %107, %11
br i1 %108, label %109, label %78, !llvm.loop !14
109: ; preds = %102, %68, %67, %60
%110 = phi ptr [ %66, %60 ], [ %3, %67 ], [ %3, %68 ], [ %106, %102 ]
%111 = phi ptr [ %62, %60 ], [ %4, %67 ], [ %4, %68 ], [ %104, %102 ]
%112 = phi i32 [ 1, %60 ], [ %11, %67 ], [ %11, %68 ], [ %11, %102 ]
%113 = phi i32 [ %10, %60 ], [ %10, %67 ], [ 1, %68 ], [ 1, %102 ]
%114 = mul nsw i32 %6, %2
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %3, i64 %115
%117 = icmp eq ptr %110, %116
%118 = zext i1 %117 to i32
%119 = tail call i32 @assert(i32 noundef %118) #2
%120 = mul nsw i32 %5, %0
%121 = mul i32 %120, %112
%122 = mul i32 %121, %113
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8, ptr %4, i64 %123
%125 = icmp eq ptr %111, %124
%126 = zext i1 %125 to i32
%127 = tail call i32 @assert(i32 noundef %126) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare double @__GLU_SWAP_4_BYTES(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
| reactos_dll_opengl_glu32_src_libutil_extr_mipmap.c_halve1Dimage_float |
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_em_txrx.c_em_isc_rxd_available.c'
source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_em_txrx.c_em_isc_rxd_available.c"
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.adapter = type { ptr, ptr }
%struct.em_rx_queue = type { %struct.rx_ring }
%struct.rx_ring = type { ptr }
%union.e1000_rx_desc_extended = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@E1000_RXD_STAT_DD = dso_local local_unnamed_addr global i32 0, align 4
@E1000_RXD_STAT_EOP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @em_isc_rxd_available], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @em_isc_rxd_available(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load ptr, ptr %0, align 8, !tbaa !10
%8 = getelementptr inbounds %struct.em_rx_queue, ptr %7, i64 %1
%9 = load ptr, ptr %6, align 8, !tbaa !11
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = icmp sgt i32 %10, 0
%12 = icmp sgt i32 %3, -1
%13 = and i1 %12, %11
br i1 %13, label %14, label %39
14: ; preds = %4, %25
%15 = phi i32 [ %30, %25 ], [ %2, %4 ]
%16 = phi i32 [ %35, %25 ], [ 0, %4 ]
%17 = load ptr, ptr %8, align 8, !tbaa !15
%18 = sext i32 %15 to i64
%19 = getelementptr inbounds %union.e1000_rx_desc_extended, ptr %17, i64 %18
%20 = load i32, ptr %19, align 4, !tbaa !17
%21 = tail call i32 @le32toh(i32 noundef %20) #2
%22 = load i32, ptr @E1000_RXD_STAT_DD, align 4, !tbaa !13
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %39, label %25
25: ; preds = %14
%26 = add nsw i32 %15, 1
%27 = load ptr, ptr %6, align 8, !tbaa !11
%28 = load i32, ptr %27, align 4, !tbaa !13
%29 = icmp eq i32 %26, %28
%30 = select i1 %29, i32 0, i32 %26
%31 = load i32, ptr @E1000_RXD_STAT_EOP, align 4, !tbaa !13
%32 = and i32 %31, %21
%33 = icmp ne i32 %32, 0
%34 = zext i1 %33 to i32
%35 = add nuw nsw i32 %16, %34
%36 = icmp slt i32 %35, %28
%37 = icmp sle i32 %35, %3
%38 = and i1 %37, %36
br i1 %38, label %14, label %39, !llvm.loop !18
39: ; preds = %25, %14, %4
%40 = phi i32 [ 0, %4 ], [ %16, %14 ], [ %35, %25 ]
ret i32 %40
}
declare i32 @le32toh(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"adapter", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_6__", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"rx_ring", !7, i64 0}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_em_txrx.c_em_isc_rxd_available.c'
source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_em_txrx.c_em_isc_rxd_available.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.em_rx_queue = type { %struct.rx_ring }
%struct.rx_ring = type { ptr }
%union.e1000_rx_desc_extended = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@E1000_RXD_STAT_DD = common local_unnamed_addr global i32 0, align 4
@E1000_RXD_STAT_EOP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @em_isc_rxd_available], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @em_isc_rxd_available(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load ptr, ptr %0, align 8, !tbaa !11
%8 = getelementptr inbounds %struct.em_rx_queue, ptr %7, i64 %1
%9 = load ptr, ptr %6, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = icmp sgt i32 %10, 0
%12 = icmp sgt i32 %3, -1
%13 = and i1 %12, %11
br i1 %13, label %14, label %39
14: ; preds = %4, %25
%15 = phi i32 [ %30, %25 ], [ %2, %4 ]
%16 = phi i32 [ %35, %25 ], [ 0, %4 ]
%17 = load ptr, ptr %8, align 8, !tbaa !16
%18 = sext i32 %15 to i64
%19 = getelementptr inbounds %union.e1000_rx_desc_extended, ptr %17, i64 %18
%20 = load i32, ptr %19, align 4, !tbaa !18
%21 = tail call i32 @le32toh(i32 noundef %20) #2
%22 = load i32, ptr @E1000_RXD_STAT_DD, align 4, !tbaa !14
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %39, label %25
25: ; preds = %14
%26 = add nsw i32 %15, 1
%27 = load ptr, ptr %6, align 8, !tbaa !12
%28 = load i32, ptr %27, align 4, !tbaa !14
%29 = icmp eq i32 %26, %28
%30 = select i1 %29, i32 0, i32 %26
%31 = load i32, ptr @E1000_RXD_STAT_EOP, align 4, !tbaa !14
%32 = and i32 %31, %21
%33 = icmp ne i32 %32, 0
%34 = zext i1 %33 to i32
%35 = add nuw nsw i32 %16, %34
%36 = icmp slt i32 %35, %28
%37 = icmp sle i32 %35, %3
%38 = and i1 %37, %36
br i1 %38, label %14, label %39, !llvm.loop !19
39: ; preds = %25, %14, %4
%40 = phi i32 [ 0, %4 ], [ %16, %14 ], [ %35, %25 ]
ret i32 %40
}
declare i32 @le32toh(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"adapter", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_6__", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"rx_ring", !8, i64 0}
!18 = !{!9, !9, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_e1000_extr_em_txrx.c_em_isc_rxd_available |
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-unpack.c_fz_unpack_mono_line_unscaled.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-unpack.c_fz_unpack_mono_line_unscaled.c"
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"
@get1_tab_1 = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @fz_unpack_mono_line_unscaled], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fz_unpack_mono_line_unscaled(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 %3) #0 {
%5 = ashr i32 %2, 3
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %23
7: ; preds = %4, %7
%8 = phi i32 [ %19, %7 ], [ 0, %4 ]
%9 = phi ptr [ %18, %7 ], [ %0, %4 ]
%10 = phi ptr [ %12, %7 ], [ %1, %4 ]
%11 = load ptr, ptr @get1_tab_1, align 8, !tbaa !5
%12 = getelementptr inbounds i8, ptr %10, i64 1
%13 = load i8, ptr %10, align 1, !tbaa !9
%14 = zext i8 %13 to i64
%15 = getelementptr inbounds i32, ptr %11, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !10
%17 = tail call i32 @memcpy(ptr noundef %9, i32 noundef %16, i32 noundef 8) #2
%18 = getelementptr inbounds i8, ptr %9, i64 8
%19 = add nuw nsw i32 %8, 1
%20 = icmp eq i32 %19, %5
br i1 %20, label %21, label %7, !llvm.loop !12
21: ; preds = %7
%22 = and i32 %2, -8
br label %23
23: ; preds = %21, %4
%24 = phi ptr [ %1, %4 ], [ %12, %21 ]
%25 = phi ptr [ %0, %4 ], [ %18, %21 ]
%26 = phi i32 [ 0, %4 ], [ %22, %21 ]
%27 = icmp slt i32 %26, %2
br i1 %27, label %28, label %36
28: ; preds = %23
%29 = load ptr, ptr @get1_tab_1, align 8, !tbaa !5
%30 = load i8, ptr %24, align 1, !tbaa !9
%31 = sub nsw i32 %2, %26
%32 = tail call i64 @VGMASK(i8 noundef zeroext %30, i32 noundef %31) #2
%33 = getelementptr inbounds i32, ptr %29, i64 %32
%34 = load i32, ptr %33, align 4, !tbaa !10
%35 = tail call i32 @memcpy(ptr noundef %25, i32 noundef %34, i32 noundef %31) #2
br label %36
36: ; preds = %28, %23
ret void
}
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @VGMASK(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-unpack.c_fz_unpack_mono_line_unscaled.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-unpack.c_fz_unpack_mono_line_unscaled.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@get1_tab_1 = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @fz_unpack_mono_line_unscaled], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fz_unpack_mono_line_unscaled(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 %3) #0 {
%5 = ashr i32 %2, 3
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %23
7: ; preds = %4, %7
%8 = phi i32 [ %19, %7 ], [ 0, %4 ]
%9 = phi ptr [ %18, %7 ], [ %0, %4 ]
%10 = phi ptr [ %12, %7 ], [ %1, %4 ]
%11 = load ptr, ptr @get1_tab_1, align 8, !tbaa !6
%12 = getelementptr inbounds i8, ptr %10, i64 1
%13 = load i8, ptr %10, align 1, !tbaa !10
%14 = zext i8 %13 to i64
%15 = getelementptr inbounds i32, ptr %11, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !11
%17 = tail call i32 @memcpy(ptr noundef %9, i32 noundef %16, i32 noundef 8) #2
%18 = getelementptr inbounds i8, ptr %9, i64 8
%19 = add nuw nsw i32 %8, 1
%20 = icmp eq i32 %19, %5
br i1 %20, label %21, label %7, !llvm.loop !13
21: ; preds = %7
%22 = and i32 %2, -8
br label %23
23: ; preds = %21, %4
%24 = phi ptr [ %1, %4 ], [ %12, %21 ]
%25 = phi ptr [ %0, %4 ], [ %18, %21 ]
%26 = phi i32 [ 0, %4 ], [ %22, %21 ]
%27 = icmp slt i32 %26, %2
br i1 %27, label %28, label %36
28: ; preds = %23
%29 = load ptr, ptr @get1_tab_1, align 8, !tbaa !6
%30 = load i8, ptr %24, align 1, !tbaa !10
%31 = sub nsw i32 %2, %26
%32 = tail call i64 @VGMASK(i8 noundef zeroext %30, i32 noundef %31) #2
%33 = getelementptr inbounds i32, ptr %29, i64 %32
%34 = load i32, ptr %33, align 4, !tbaa !11
%35 = tail call i32 @memcpy(ptr noundef %25, i32 noundef %34, i32 noundef %31) #2
br label %36
36: ; preds = %28, %23
ret void
}
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @VGMASK(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| sumatrapdf_mupdf_source_fitz_extr_draw-unpack.c_fz_unpack_mono_line_unscaled |
; ModuleID = 'AnghaBench/darknet/src/extr_stb_image_write.h_stbiw__jpg_DCT.c'
source_filename = "AnghaBench/darknet/src/extr_stb_image_write.h_stbiw__jpg_DCT.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @stbiw__jpg_DCT], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @stbiw__jpg_DCT(ptr nocapture noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef %5, ptr nocapture noundef %6, ptr nocapture noundef %7) #0 {
%9 = load float, ptr %0, align 4, !tbaa !5
%10 = load float, ptr %1, align 4, !tbaa !5
%11 = load float, ptr %2, align 4, !tbaa !5
%12 = load float, ptr %3, align 4, !tbaa !5
%13 = load float, ptr %4, align 4, !tbaa !5
%14 = load float, ptr %5, align 4, !tbaa !5
%15 = load float, ptr %6, align 4, !tbaa !5
%16 = load float, ptr %7, align 4, !tbaa !5
%17 = fadd float %9, %16
%18 = fsub float %9, %16
%19 = fadd float %10, %15
%20 = fsub float %10, %15
%21 = fadd float %11, %14
%22 = fsub float %11, %14
%23 = fadd float %12, %13
%24 = fsub float %12, %13
%25 = fadd float %23, %17
%26 = fsub float %17, %23
%27 = fadd float %21, %19
%28 = fsub float %19, %21
%29 = fadd float %27, %25
%30 = fsub float %25, %27
%31 = fadd float %28, %26
%32 = fmul float %31, 0x3FE6A09E60000000
%33 = fadd float %26, %32
%34 = fsub float %26, %32
%35 = fadd float %24, %22
%36 = fadd float %22, %20
%37 = fadd float %20, %18
%38 = fsub float %35, %37
%39 = fmul float %38, 0x3FD87DE2A0000000
%40 = tail call float @llvm.fmuladd.f32(float %35, float 0x3FE1517A80000000, float %39)
%41 = tail call float @llvm.fmuladd.f32(float %37, float 0x3FF4E7AEA0000000, float %39)
%42 = fmul float %36, 0x3FE6A09E60000000
%43 = fadd float %18, %42
%44 = fsub float %18, %42
%45 = fadd float %44, %40
store float %45, ptr %5, align 4, !tbaa !5
%46 = fsub float %44, %40
store float %46, ptr %3, align 4, !tbaa !5
%47 = fadd float %43, %41
store float %47, ptr %1, align 4, !tbaa !5
%48 = fsub float %43, %41
store float %48, ptr %7, align 4, !tbaa !5
store float %29, ptr %0, align 4, !tbaa !5
store float %33, ptr %2, align 4, !tbaa !5
store float %30, ptr %4, align 4, !tbaa !5
store float %34, ptr %6, align 4, !tbaa !5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/darknet/src/extr_stb_image_write.h_stbiw__jpg_DCT.c'
source_filename = "AnghaBench/darknet/src/extr_stb_image_write.h_stbiw__jpg_DCT.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @stbiw__jpg_DCT], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @stbiw__jpg_DCT(ptr nocapture noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef %5, ptr nocapture noundef %6, ptr nocapture noundef %7) #0 {
%9 = load float, ptr %0, align 4, !tbaa !6
%10 = load float, ptr %1, align 4, !tbaa !6
%11 = load float, ptr %2, align 4, !tbaa !6
%12 = load float, ptr %3, align 4, !tbaa !6
%13 = load float, ptr %4, align 4, !tbaa !6
%14 = load float, ptr %5, align 4, !tbaa !6
%15 = load float, ptr %6, align 4, !tbaa !6
%16 = load float, ptr %7, align 4, !tbaa !6
%17 = fadd float %9, %16
%18 = fsub float %9, %16
%19 = fadd float %10, %15
%20 = fsub float %10, %15
%21 = fadd float %11, %14
%22 = fsub float %11, %14
%23 = fadd float %12, %13
%24 = fsub float %12, %13
%25 = fadd float %23, %17
%26 = fsub float %17, %23
%27 = fadd float %21, %19
%28 = fsub float %19, %21
%29 = fadd float %27, %25
%30 = fsub float %25, %27
%31 = fadd float %28, %26
%32 = fmul float %31, 0x3FE6A09E60000000
%33 = fadd float %26, %32
%34 = fsub float %26, %32
%35 = fadd float %24, %22
%36 = fadd float %22, %20
%37 = fadd float %20, %18
%38 = fsub float %35, %37
%39 = fmul float %38, 0x3FD87DE2A0000000
%40 = tail call float @llvm.fmuladd.f32(float %35, float 0x3FE1517A80000000, float %39)
%41 = tail call float @llvm.fmuladd.f32(float %37, float 0x3FF4E7AEA0000000, float %39)
%42 = fmul float %36, 0x3FE6A09E60000000
%43 = fadd float %18, %42
%44 = fsub float %18, %42
%45 = fadd float %44, %40
store float %45, ptr %5, align 4, !tbaa !6
%46 = fsub float %44, %40
store float %46, ptr %3, align 4, !tbaa !6
%47 = fadd float %43, %41
store float %47, ptr %1, align 4, !tbaa !6
%48 = fsub float %43, %41
store float %48, ptr %7, align 4, !tbaa !6
store float %29, ptr %0, align 4, !tbaa !6
store float %33, ptr %2, align 4, !tbaa !6
store float %30, ptr %4, align 4, !tbaa !6
store float %34, ptr %6, align 4, !tbaa !6
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| darknet_src_extr_stb_image_write.h_stbiw__jpg_DCT |
; ModuleID = 'AnghaBench/beanstalkd/extr_file.c_fileread.c'
source_filename = "AnghaBench/beanstalkd/extr_file.c_fileread.c"
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"
@.str = private unnamed_addr constant [8 x i8] c"version\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"%s: unknown version: %d\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @fileread(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @readfull(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 4, ptr noundef nonnull %3, ptr noundef nonnull @.str) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = load i32, ptr %3, align 4, !tbaa !5
br label %30
9: ; preds = %2
%10 = load i32, ptr %4, align 4, !tbaa !5
switch i32 %10, label %27 [
i32 129, label %11
i32 128, label %19
]
11: ; preds = %9
%12 = call i32 @fileincref(ptr noundef %0) #3
br label %13
13: ; preds = %13, %11
%14 = call i32 @readrec(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %13, !llvm.loop !9
16: ; preds = %13
%17 = call i32 @filedecref(ptr noundef %0) #3
%18 = load i32, ptr %3, align 4, !tbaa !5
br label %30
19: ; preds = %9
%20 = call i32 @fileincref(ptr noundef %0) #3
br label %21
21: ; preds = %21, %19
%22 = call i32 @readrec5(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %21, !llvm.loop !11
24: ; preds = %21
%25 = call i32 @filedecref(ptr noundef %0) #3
%26 = load i32, ptr %3, align 4, !tbaa !5
br label %30
27: ; preds = %9
%28 = load i32, ptr %0, align 4, !tbaa !12
%29 = call i32 @warnx(ptr noundef nonnull @.str.1, i32 noundef %28, i32 noundef %10) #3
br label %30
30: ; preds = %27, %24, %16, %7
%31 = phi i32 [ 1, %27 ], [ %26, %24 ], [ %18, %16 ], [ %8, %7 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @readfull(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fileincref(ptr noundef) local_unnamed_addr #2
declare i32 @readrec(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @filedecref(ptr noundef) local_unnamed_addr #2
declare i32 @readrec5(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @warnx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_8__", !6, i64 0}
| ; ModuleID = 'AnghaBench/beanstalkd/extr_file.c_fileread.c'
source_filename = "AnghaBench/beanstalkd/extr_file.c_fileread.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"version\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"%s: unknown version: %d\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @fileread(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @readfull(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 4, ptr noundef nonnull %3, ptr noundef nonnull @.str) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = load i32, ptr %3, align 4, !tbaa !6
br label %30
9: ; preds = %2
%10 = load i32, ptr %4, align 4, !tbaa !6
switch i32 %10, label %27 [
i32 129, label %11
i32 128, label %19
]
11: ; preds = %9
%12 = call i32 @fileincref(ptr noundef %0) #3
br label %13
13: ; preds = %13, %11
%14 = call i32 @readrec(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %13, !llvm.loop !10
16: ; preds = %13
%17 = call i32 @filedecref(ptr noundef %0) #3
%18 = load i32, ptr %3, align 4, !tbaa !6
br label %30
19: ; preds = %9
%20 = call i32 @fileincref(ptr noundef %0) #3
br label %21
21: ; preds = %21, %19
%22 = call i32 @readrec5(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %21, !llvm.loop !12
24: ; preds = %21
%25 = call i32 @filedecref(ptr noundef %0) #3
%26 = load i32, ptr %3, align 4, !tbaa !6
br label %30
27: ; preds = %9
%28 = load i32, ptr %0, align 4, !tbaa !13
%29 = call i32 @warnx(ptr noundef nonnull @.str.1, i32 noundef %28, i32 noundef %10) #3
br label %30
30: ; preds = %27, %24, %16, %7
%31 = phi i32 [ 1, %27 ], [ %26, %24 ], [ %18, %16 ], [ %8, %7 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @readfull(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fileincref(ptr noundef) local_unnamed_addr #2
declare i32 @readrec(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @filedecref(ptr noundef) local_unnamed_addr #2
declare i32 @readrec5(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @warnx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_8__", !7, i64 0}
| beanstalkd_extr_file.c_fileread |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/miuni32/extr_miuni32.c_matrix_init_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/miuni32/extr_miuni32.c_matrix_init_kb.c"
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"
; Function Attrs: nounwind uwtable
define dso_local void @matrix_init_kb() local_unnamed_addr #0 {
%1 = tail call i32 (...) @matrix_init_user() #2
ret void
}
declare i32 @matrix_init_user(...) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/miuni32/extr_miuni32.c_matrix_init_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/miuni32/extr_miuni32.c_matrix_init_kb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @matrix_init_kb() local_unnamed_addr #0 {
%1 = tail call i32 @matrix_init_user() #2
ret void
}
declare i32 @matrix_init_user(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_miuni32_extr_miuni32.c_matrix_init_kb |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_erp.c_zfcp_erp_strategy_check_fsfreq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_erp.c_zfcp_erp_strategy_check_fsfreq.c"
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.zfcp_erp_action = type { i32, ptr, ptr }
%struct.TYPE_2__ = type { i32, ptr }
@ZFCP_STATUS_ERP_DISMISSED = dso_local local_unnamed_addr global i32 0, align 4
@ZFCP_STATUS_ERP_TIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@ZFCP_STATUS_FSFREQ_DISMISSED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"erscf_1\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"erscf_2\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @zfcp_erp_strategy_check_fsfreq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @zfcp_erp_strategy_check_fsfreq(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.zfcp_erp_action, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.zfcp_erp_action, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %51, label %7
7: ; preds = %1
%8 = tail call i32 @spin_lock(ptr noundef %3) #2
%9 = load ptr, ptr %4, align 8, !tbaa !11
%10 = tail call i64 @zfcp_reqlist_find_safe(ptr noundef %3, ptr noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %48, label %12
12: ; preds = %7
%13 = load ptr, ptr %4, align 8, !tbaa !11
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !12
%16 = icmp eq ptr %15, %0
br i1 %16, label %17, label %48
17: ; preds = %12
%18 = load i32, ptr %0, align 8, !tbaa !14
%19 = load i32, ptr @ZFCP_STATUS_ERP_DISMISSED, align 4, !tbaa !15
%20 = load i32, ptr @ZFCP_STATUS_ERP_TIMEDOUT, align 4, !tbaa !15
%21 = or i32 %20, %19
%22 = and i32 %21, %18
%23 = icmp eq i32 %22, 0
br i1 %23, label %33, label %24
24: ; preds = %17
%25 = load i32, ptr @ZFCP_STATUS_FSFREQ_DISMISSED, align 4, !tbaa !15
%26 = load i32, ptr %13, align 8, !tbaa !16
%27 = or i32 %26, %25
store i32 %27, ptr %13, align 8, !tbaa !16
%28 = tail call i32 @zfcp_dbf_rec_action(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2
%29 = load ptr, ptr %4, align 8, !tbaa !11
%30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i64 0, i32 1
store ptr null, ptr %30, align 8, !tbaa !12
%31 = load i32, ptr %0, align 8, !tbaa !14
%32 = load i32, ptr @ZFCP_STATUS_ERP_TIMEDOUT, align 4, !tbaa !15
br label %33
33: ; preds = %24, %17
%34 = phi ptr [ %29, %24 ], [ %13, %17 ]
%35 = phi i32 [ %32, %24 ], [ %20, %17 ]
%36 = phi i32 [ %31, %24 ], [ %18, %17 ]
%37 = and i32 %35, %36
%38 = icmp eq i32 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %33
%40 = tail call i32 @zfcp_dbf_rec_action(ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2
%41 = load ptr, ptr %4, align 8, !tbaa !11
br label %42
42: ; preds = %39, %33
%43 = phi ptr [ %41, %39 ], [ %34, %33 ]
%44 = load i32, ptr %43, align 8, !tbaa !16
%45 = load i32, ptr @ZFCP_STATUS_FSFREQ_DISMISSED, align 4, !tbaa !15
%46 = and i32 %45, %44
%47 = icmp eq i32 %46, 0
br i1 %47, label %49, label %48
48: ; preds = %7, %12, %42
store ptr null, ptr %4, align 8, !tbaa !11
br label %49
49: ; preds = %48, %42
%50 = tail call i32 @spin_unlock(ptr noundef %3) #2
br label %51
51: ; preds = %1, %49
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i64 @zfcp_reqlist_find_safe(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_dbf_rec_action(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"zfcp_erp_action", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !10, i64 8}
!13 = !{!"TYPE_2__", !7, i64 0, !10, i64 8}
!14 = !{!6, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!13, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_erp.c_zfcp_erp_strategy_check_fsfreq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_erp.c_zfcp_erp_strategy_check_fsfreq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZFCP_STATUS_ERP_DISMISSED = common local_unnamed_addr global i32 0, align 4
@ZFCP_STATUS_ERP_TIMEDOUT = common local_unnamed_addr global i32 0, align 4
@ZFCP_STATUS_FSFREQ_DISMISSED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"erscf_1\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"erscf_2\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @zfcp_erp_strategy_check_fsfreq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @zfcp_erp_strategy_check_fsfreq(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = icmp eq ptr %5, null
br i1 %6, label %51, label %7
7: ; preds = %1
%8 = tail call i32 @spin_lock(ptr noundef %3) #2
%9 = load ptr, ptr %4, align 8, !tbaa !12
%10 = tail call i64 @zfcp_reqlist_find_safe(ptr noundef %3, ptr noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %48, label %12
12: ; preds = %7
%13 = load ptr, ptr %4, align 8, !tbaa !12
%14 = getelementptr inbounds i8, ptr %13, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !13
%16 = icmp eq ptr %15, %0
br i1 %16, label %17, label %48
17: ; preds = %12
%18 = load i32, ptr %0, align 8, !tbaa !15
%19 = load i32, ptr @ZFCP_STATUS_ERP_DISMISSED, align 4, !tbaa !16
%20 = load i32, ptr @ZFCP_STATUS_ERP_TIMEDOUT, align 4, !tbaa !16
%21 = or i32 %20, %19
%22 = and i32 %21, %18
%23 = icmp eq i32 %22, 0
br i1 %23, label %33, label %24
24: ; preds = %17
%25 = load i32, ptr @ZFCP_STATUS_FSFREQ_DISMISSED, align 4, !tbaa !16
%26 = load i32, ptr %13, align 8, !tbaa !17
%27 = or i32 %26, %25
store i32 %27, ptr %13, align 8, !tbaa !17
%28 = tail call i32 @zfcp_dbf_rec_action(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2
%29 = load ptr, ptr %4, align 8, !tbaa !12
%30 = getelementptr inbounds i8, ptr %29, i64 8
store ptr null, ptr %30, align 8, !tbaa !13
%31 = load i32, ptr %0, align 8, !tbaa !15
%32 = load i32, ptr @ZFCP_STATUS_ERP_TIMEDOUT, align 4, !tbaa !16
br label %33
33: ; preds = %24, %17
%34 = phi ptr [ %29, %24 ], [ %13, %17 ]
%35 = phi i32 [ %32, %24 ], [ %20, %17 ]
%36 = phi i32 [ %31, %24 ], [ %18, %17 ]
%37 = and i32 %35, %36
%38 = icmp eq i32 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %33
%40 = tail call i32 @zfcp_dbf_rec_action(ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2
%41 = load ptr, ptr %4, align 8, !tbaa !12
br label %42
42: ; preds = %39, %33
%43 = phi ptr [ %41, %39 ], [ %34, %33 ]
%44 = load i32, ptr %43, align 8, !tbaa !17
%45 = load i32, ptr @ZFCP_STATUS_FSFREQ_DISMISSED, align 4, !tbaa !16
%46 = and i32 %45, %44
%47 = icmp eq i32 %46, 0
br i1 %47, label %49, label %48
48: ; preds = %7, %12, %42
store ptr null, ptr %4, align 8, !tbaa !12
br label %49
49: ; preds = %48, %42
%50 = tail call i32 @spin_unlock(ptr noundef %3) #2
br label %51
51: ; preds = %1, %49
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i64 @zfcp_reqlist_find_safe(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zfcp_dbf_rec_action(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"zfcp_erp_action", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !11, i64 8}
!14 = !{!"TYPE_2__", !8, i64 0, !11, i64 8}
!15 = !{!7, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!14, !8, i64 0}
| fastsocket_kernel_drivers_s390_scsi_extr_zfcp_erp.c_zfcp_erp_strategy_check_fsfreq |
; ModuleID = 'AnghaBench/freebsd/sbin/hastd/extr_hast_checksum.c_hast_crc32_checksum.c'
source_filename = "AnghaBench/freebsd/sbin/hastd/extr_hast_checksum.c_hast_crc32_checksum.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @hast_crc32_checksum], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hast_crc32_checksum(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call i32 @crc32(ptr noundef %0, i64 noundef %1) #3
store i32 %6, ptr %5, align 4, !tbaa !5
%7 = call i32 @bcopy(ptr noundef nonnull %5, ptr noundef %2, i32 noundef 4) #3
store i64 4, ptr %3, align 8, !tbaa !9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @crc32(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sbin/hastd/extr_hast_checksum.c_hast_crc32_checksum.c'
source_filename = "AnghaBench/freebsd/sbin/hastd/extr_hast_checksum.c_hast_crc32_checksum.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @hast_crc32_checksum], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hast_crc32_checksum(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call i32 @crc32(ptr noundef %0, i64 noundef %1) #3
store i32 %6, ptr %5, align 4, !tbaa !6
%7 = call i32 @bcopy(ptr noundef nonnull %5, ptr noundef %2, i32 noundef 4) #3
store i64 4, ptr %3, align 8, !tbaa !10
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @crc32(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| freebsd_sbin_hastd_extr_hast_checksum.c_hast_crc32_checksum |
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_biba/extr_mac_biba.c_biba_inpcb_create.c'
source_filename = "AnghaBench/freebsd/sys/security/mac_biba/extr_mac_biba.c_biba_inpcb_create.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @biba_inpcb_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @biba_inpcb_create(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, ptr noundef %3) #0 {
%5 = tail call ptr @SLOT(ptr noundef %1) #2
%6 = tail call ptr @SLOT(ptr noundef %3) #2
%7 = tail call i32 @SOCK_LOCK(ptr noundef %0) #2
%8 = tail call i32 @biba_copy_effective(ptr noundef %5, ptr noundef %6) #2
%9 = tail call i32 @SOCK_UNLOCK(ptr noundef %0) #2
ret void
}
declare ptr @SLOT(ptr noundef) local_unnamed_addr #1
declare i32 @SOCK_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @biba_copy_effective(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @SOCK_UNLOCK(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/security/mac_biba/extr_mac_biba.c_biba_inpcb_create.c'
source_filename = "AnghaBench/freebsd/sys/security/mac_biba/extr_mac_biba.c_biba_inpcb_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @biba_inpcb_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @biba_inpcb_create(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, ptr noundef %3) #0 {
%5 = tail call ptr @SLOT(ptr noundef %1) #2
%6 = tail call ptr @SLOT(ptr noundef %3) #2
%7 = tail call i32 @SOCK_LOCK(ptr noundef %0) #2
%8 = tail call i32 @biba_copy_effective(ptr noundef %5, ptr noundef %6) #2
%9 = tail call i32 @SOCK_UNLOCK(ptr noundef %0) #2
ret void
}
declare ptr @SLOT(ptr noundef) local_unnamed_addr #1
declare i32 @SOCK_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @biba_copy_effective(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @SOCK_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_security_mac_biba_extr_mac_biba.c_biba_inpcb_create |
; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_libmp4.h_mp4_box_headersize.c'
source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_libmp4.h_mp4_box_headersize.c"
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.TYPE_3__ = type { i32, i64 }
@ATOM_uuid = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @mp4_box_headersize], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i64 @mp4_box_headersize(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp eq i32 %2, 1
%4 = select i1 %3, i64 16, i64 8
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = load i64, ptr @ATOM_uuid, align 8, !tbaa !12
%8 = icmp eq i64 %6, %7
%9 = select i1 %8, i64 16, i64 0
%10 = add nuw nsw i64 %9, %4
ret i64 %10
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_libmp4.h_mp4_box_headersize.c'
source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_libmp4.h_mp4_box_headersize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATOM_uuid = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @mp4_box_headersize], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i64 8, 33) i64 @mp4_box_headersize(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp eq i32 %2, 1
%4 = select i1 %3, i64 16, i64 8
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = load i64, ptr @ATOM_uuid, align 8, !tbaa !13
%8 = icmp eq i64 %6, %7
%9 = select i1 %8, i64 16, i64 0
%10 = add nuw nsw i64 %9, %4
ret i64 %10
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
| vlc_modules_demux_mp4_extr_libmp4.h_mp4_box_headersize |
; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_pager_write_changecounter.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_pager_write_changecounter.c"
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.TYPE_5__ = type { i64, ptr }
@SQLITE_VERSION_NUMBER = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @pager_write_changecounter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pager_write_changecounter(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = inttoptr i64 %4 to ptr
%6 = tail call i64 @sqlite3Get4byte(ptr noundef %5) #2
%7 = add nsw i64 %6, 1
%8 = load i64, ptr %0, align 8, !tbaa !13
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds i8, ptr %9, i64 24
%11 = tail call i32 @put32bits(ptr noundef nonnull %10, i64 noundef %7) #2
%12 = load i64, ptr %0, align 8, !tbaa !13
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds i8, ptr %13, i64 92
%15 = tail call i32 @put32bits(ptr noundef nonnull %14, i64 noundef %7) #2
%16 = load i64, ptr %0, align 8, !tbaa !13
%17 = inttoptr i64 %16 to ptr
%18 = getelementptr inbounds i8, ptr %17, i64 96
%19 = load i64, ptr @SQLITE_VERSION_NUMBER, align 8, !tbaa !14
%20 = tail call i32 @put32bits(ptr noundef nonnull %18, i64 noundef %19) #2
ret void
}
declare i64 @sqlite3Get4byte(ptr noundef) local_unnamed_addr #1
declare i32 @put32bits(ptr noundef, i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_4__", !7, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_pager_write_changecounter.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_pager_write_changecounter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_VERSION_NUMBER = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @pager_write_changecounter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pager_write_changecounter(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = inttoptr i64 %4 to ptr
%6 = tail call i64 @sqlite3Get4byte(ptr noundef %5) #2
%7 = add nsw i64 %6, 1
%8 = load i64, ptr %0, align 8, !tbaa !14
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds i8, ptr %9, i64 24
%11 = tail call i32 @put32bits(ptr noundef nonnull %10, i64 noundef %7) #2
%12 = load i64, ptr %0, align 8, !tbaa !14
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds i8, ptr %13, i64 92
%15 = tail call i32 @put32bits(ptr noundef nonnull %14, i64 noundef %7) #2
%16 = load i64, ptr %0, align 8, !tbaa !14
%17 = inttoptr i64 %16 to ptr
%18 = getelementptr inbounds i8, ptr %17, i64 96
%19 = load i64, ptr @SQLITE_VERSION_NUMBER, align 8, !tbaa !15
%20 = tail call i32 @put32bits(ptr noundef nonnull %18, i64 noundef %19) #2
ret void
}
declare i64 @sqlite3Get4byte(ptr noundef) local_unnamed_addr #1
declare i32 @put32bits(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_4__", !8, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
| wcdb_android_sqlcipher_extr_sqlite3.c_pager_write_changecounter |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_switch.c_ice_add_vsi.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_switch.c_ice_add_vsi.c"
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"
@ICE_MAX_VSI = dso_local local_unnamed_addr global i64 0, align 8
@ICE_ERR_PARAM = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ICE_ERR_NO_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ice_add_vsi(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i64, ptr @ICE_MAX_VSI, align 8, !tbaa !5
%6 = icmp sgt i64 %5, %1
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = load i32, ptr @ICE_ERR_PARAM, align 4, !tbaa !9
br label %31
9: ; preds = %4
%10 = tail call i32 @ice_aq_add_vsi(ptr noundef %0, ptr noundef %2, ptr noundef %3) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %31
12: ; preds = %9
%13 = tail call ptr @ice_get_vsi_ctx(ptr noundef %0, i64 noundef %1) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = tail call i32 @ice_hw_to_dev(ptr noundef %0) #2
%17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9
%18 = tail call ptr @devm_kzalloc(i32 noundef %16, i32 noundef 8, i32 noundef %17) #2
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = tail call i32 @ice_aq_free_vsi(ptr noundef %0, ptr noundef %2, i32 noundef 0, ptr noundef %3) #2
%22 = load i32, ptr @ICE_ERR_NO_MEMORY, align 4, !tbaa !9
br label %31
23: ; preds = %15
%24 = load i64, ptr %2, align 8, !tbaa !5
store i64 %24, ptr %18, align 8, !tbaa !5
%25 = tail call i32 @ice_save_vsi_ctx(ptr noundef %0, i64 noundef %1, ptr noundef nonnull %18) #2
br label %31
26: ; preds = %12
%27 = load i64, ptr %13, align 8, !tbaa !11
%28 = load i64, ptr %2, align 8, !tbaa !11
%29 = icmp eq i64 %27, %28
br i1 %29, label %31, label %30
30: ; preds = %26
store i64 %28, ptr %13, align 8, !tbaa !11
br label %31
31: ; preds = %23, %30, %26, %9, %20, %7
%32 = phi i32 [ %8, %7 ], [ %22, %20 ], [ %10, %9 ], [ 0, %26 ], [ 0, %30 ], [ 0, %23 ]
ret i32 %32
}
declare i32 @ice_aq_add_vsi(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ice_get_vsi_ctx(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ice_hw_to_dev(ptr noundef) local_unnamed_addr #1
declare i32 @ice_aq_free_vsi(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ice_save_vsi_ctx(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"ice_vsi_ctx", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_switch.c_ice_add_vsi.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ice/extr_ice_switch.c_ice_add_vsi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ICE_MAX_VSI = common local_unnamed_addr global i64 0, align 8
@ICE_ERR_PARAM = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ICE_ERR_NO_MEMORY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ice_add_vsi(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i64, ptr @ICE_MAX_VSI, align 8, !tbaa !6
%6 = icmp sgt i64 %5, %1
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = load i32, ptr @ICE_ERR_PARAM, align 4, !tbaa !10
br label %31
9: ; preds = %4
%10 = tail call i32 @ice_aq_add_vsi(ptr noundef %0, ptr noundef %2, ptr noundef %3) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %31
12: ; preds = %9
%13 = tail call ptr @ice_get_vsi_ctx(ptr noundef %0, i64 noundef %1) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = tail call i32 @ice_hw_to_dev(ptr noundef %0) #2
%17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10
%18 = tail call ptr @devm_kzalloc(i32 noundef %16, i32 noundef 8, i32 noundef %17) #2
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = tail call i32 @ice_aq_free_vsi(ptr noundef %0, ptr noundef %2, i32 noundef 0, ptr noundef %3) #2
%22 = load i32, ptr @ICE_ERR_NO_MEMORY, align 4, !tbaa !10
br label %31
23: ; preds = %15
%24 = load i64, ptr %2, align 8, !tbaa !6
store i64 %24, ptr %18, align 8, !tbaa !6
%25 = tail call i32 @ice_save_vsi_ctx(ptr noundef %0, i64 noundef %1, ptr noundef nonnull %18) #2
br label %31
26: ; preds = %12
%27 = load i64, ptr %13, align 8, !tbaa !12
%28 = load i64, ptr %2, align 8, !tbaa !12
%29 = icmp eq i64 %27, %28
br i1 %29, label %31, label %30
30: ; preds = %26
store i64 %28, ptr %13, align 8, !tbaa !12
br label %31
31: ; preds = %23, %30, %26, %9, %20, %7
%32 = phi i32 [ %8, %7 ], [ %22, %20 ], [ %10, %9 ], [ 0, %26 ], [ 0, %30 ], [ 0, %23 ]
ret i32 %32
}
declare i32 @ice_aq_add_vsi(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @ice_get_vsi_ctx(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ice_hw_to_dev(ptr noundef) local_unnamed_addr #1
declare i32 @ice_aq_free_vsi(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ice_save_vsi_ctx(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"ice_vsi_ctx", !7, i64 0}
| linux_drivers_net_ethernet_intel_ice_extr_ice_switch.c_ice_add_vsi |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_aic.c_ar9003_aic_cal_done.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_aic.c_ar9003_aic_cal_done.c"
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"
@ATH_AIC_BT_JUPITER_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@ATH_AIC_BT_AIC_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@AIC_CAL_STATE_DONE = dso_local local_unnamed_addr global i32 0, align 4
@AIC_CAL_STATE_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ar9003_aic_cal_done], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ar9003_aic_cal_done(ptr noundef %0) #0 {
%2 = load i32, ptr @ATH_AIC_BT_JUPITER_CTRL, align 4, !tbaa !5
%3 = tail call i32 @REG_READ(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @ATH_AIC_BT_AIC_ENABLE, align 4, !tbaa !5
%5 = xor i32 %4, -1
%6 = and i32 %3, %5
%7 = tail call i32 @REG_WRITE(ptr noundef %0, i32 noundef %2, i32 noundef %6) #2
%8 = tail call i64 @ar9003_aic_cal_post_process(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr @AIC_CAL_STATE_ERROR, align 4
%11 = load i32, ptr @AIC_CAL_STATE_DONE, align 4
%12 = select i1 %9, i32 %10, i32 %11
store i32 %12, ptr %0, align 4, !tbaa !9
ret void
}
declare i32 @REG_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_READ(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ar9003_aic_cal_post_process(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"ath9k_hw_aic", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_aic.c_ar9003_aic_cal_done.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ar9003_aic.c_ar9003_aic_cal_done.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATH_AIC_BT_JUPITER_CTRL = common local_unnamed_addr global i32 0, align 4
@ATH_AIC_BT_AIC_ENABLE = common local_unnamed_addr global i32 0, align 4
@AIC_CAL_STATE_DONE = common local_unnamed_addr global i32 0, align 4
@AIC_CAL_STATE_ERROR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ar9003_aic_cal_done], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ar9003_aic_cal_done(ptr noundef %0) #0 {
%2 = load i32, ptr @ATH_AIC_BT_JUPITER_CTRL, align 4, !tbaa !6
%3 = tail call i32 @REG_READ(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @ATH_AIC_BT_AIC_ENABLE, align 4, !tbaa !6
%5 = xor i32 %4, -1
%6 = and i32 %3, %5
%7 = tail call i32 @REG_WRITE(ptr noundef %0, i32 noundef %2, i32 noundef %6) #2
%8 = tail call i64 @ar9003_aic_cal_post_process(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr @AIC_CAL_STATE_ERROR, align 4
%11 = load i32, ptr @AIC_CAL_STATE_DONE, align 4
%12 = select i1 %9, i32 %10, i32 %11
store i32 %12, ptr %0, align 4, !tbaa !10
ret void
}
declare i32 @REG_WRITE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REG_READ(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ar9003_aic_cal_post_process(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"ath9k_hw_aic", !7, i64 0}
| linux_drivers_net_wireless_ath_ath9k_extr_ar9003_aic.c_ar9003_aic_cal_done |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/fcoe/extr_fcoe_sysfs.c_store_ctlr_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/fcoe/extr_fcoe_sysfs.c_store_ctlr_mode.c"
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.fcoe_ctlr_device = type { i32, ptr, i32 }
@FCOE_MAX_MODENAME_LEN = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"Cannot change mode when enabled.\00", align 1
@EBUSY = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [34 x i8] c"Mode change not supported by LLD.\00", align 1
@ENOTSUPP = dso_local local_unnamed_addr global i64 0, align 8
@FIP_CONN_TYPE_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Unknown mode %s provided.\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Mode changed to %s.\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Mode change not supported.\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @store_ctlr_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @store_ctlr_mode(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @dev_to_ctlr(ptr noundef %0) #2
%6 = load i32, ptr @FCOE_MAX_MODENAME_LEN, align 4, !tbaa !5
%7 = add nsw i32 %6, 1
%8 = zext i32 %7 to i64
%9 = alloca i8, i64 %8, align 16
%10 = sext i32 %6 to i64
%11 = icmp ult i64 %10, %3
br i1 %11, label %12, label %15
12: ; preds = %4
%13 = load i64, ptr @EINVAL, align 8, !tbaa !9
%14 = sub i64 0, %13
br label %54
15: ; preds = %4
%16 = call i32 @strncpy(ptr noundef nonnull %9, ptr noundef %2, i64 noundef %3) #2
%17 = getelementptr i8, ptr %9, i64 %3
%18 = getelementptr i8, ptr %17, i64 -1
%19 = load i8, ptr %18, align 1, !tbaa !11
%20 = icmp eq i8 %19, 10
%21 = select i1 %20, ptr %18, ptr %17
store i8 0, ptr %21, align 1, !tbaa !11
%22 = load i32, ptr %5, align 8, !tbaa !12
switch i32 %22, label %50 [
i32 129, label %23
i32 130, label %27
]
23: ; preds = %15
%24 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str) #2
%25 = load i64, ptr @EBUSY, align 8, !tbaa !9
%26 = sub i64 0, %25
br label %54
27: ; preds = %15
%28 = getelementptr inbounds %struct.fcoe_ctlr_device, ptr %5, i64 0, i32 1
%29 = load ptr, ptr %28, align 8, !tbaa !15
%30 = load ptr, ptr %29, align 8, !tbaa !16
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %36
32: ; preds = %27
%33 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str.1) #2
%34 = load i64, ptr @ENOTSUPP, align 8, !tbaa !9
%35 = sub i64 0, %34
br label %54
36: ; preds = %27
%37 = call i32 @fcoe_parse_mode(ptr noundef nonnull %9) #2
%38 = getelementptr inbounds %struct.fcoe_ctlr_device, ptr %5, i64 0, i32 2
store i32 %37, ptr %38, align 8, !tbaa !18
%39 = load i32, ptr @FIP_CONN_TYPE_UNKNOWN, align 4, !tbaa !5
%40 = icmp eq i32 %37, %39
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str.2, ptr noundef %2) #2
%43 = load i64, ptr @EINVAL, align 8, !tbaa !9
%44 = sub i64 0, %43
br label %54
45: ; preds = %36
%46 = load ptr, ptr %28, align 8, !tbaa !15
%47 = load ptr, ptr %46, align 8, !tbaa !16
%48 = call i32 %47(ptr noundef nonnull %5) #2
%49 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str.3, ptr noundef %2) #2
br label %54
50: ; preds = %15
%51 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str.4) #2
%52 = load i64, ptr @ENOTSUPP, align 8, !tbaa !9
%53 = sub i64 0, %52
br label %54
54: ; preds = %50, %45, %41, %32, %23, %12
%55 = phi i64 [ %14, %12 ], [ %53, %50 ], [ %44, %41 ], [ %3, %45 ], [ %35, %32 ], [ %26, %23 ]
ret i64 %55
}
declare ptr @dev_to_ctlr(ptr noundef) local_unnamed_addr #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @LIBFCOE_SYSFS_DBG(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @fcoe_parse_mode(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !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 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"fcoe_ctlr_device", !6, i64 0, !14, i64 8, !6, i64 16}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_2__", !14, i64 0}
!18 = !{!13, !6, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/fcoe/extr_fcoe_sysfs.c_store_ctlr_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/fcoe/extr_fcoe_sysfs.c_store_ctlr_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FCOE_MAX_MODENAME_LEN = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"Cannot change mode when enabled.\00", align 1
@EBUSY = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [34 x i8] c"Mode change not supported by LLD.\00", align 1
@ENOTSUPP = common local_unnamed_addr global i64 0, align 8
@FIP_CONN_TYPE_UNKNOWN = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Unknown mode %s provided.\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Mode changed to %s.\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Mode change not supported.\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @store_ctlr_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @store_ctlr_mode(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @dev_to_ctlr(ptr noundef %0) #2
%6 = load i32, ptr @FCOE_MAX_MODENAME_LEN, align 4, !tbaa !6
%7 = add nsw i32 %6, 1
%8 = zext i32 %7 to i64
%9 = alloca i8, i64 %8, align 1
%10 = sext i32 %6 to i64
%11 = icmp ult i64 %10, %3
br i1 %11, label %12, label %15
12: ; preds = %4
%13 = load i64, ptr @EINVAL, align 8, !tbaa !10
%14 = sub i64 0, %13
br label %54
15: ; preds = %4
%16 = call i32 @strncpy(ptr noundef nonnull %9, ptr noundef %2, i64 noundef %3) #2
%17 = getelementptr i8, ptr %9, i64 %3
%18 = getelementptr i8, ptr %17, i64 -1
%19 = load i8, ptr %18, align 1, !tbaa !12
%20 = icmp eq i8 %19, 10
%21 = select i1 %20, ptr %18, ptr %17
store i8 0, ptr %21, align 1, !tbaa !12
%22 = load i32, ptr %5, align 8, !tbaa !13
switch i32 %22, label %50 [
i32 129, label %23
i32 130, label %27
]
23: ; preds = %15
%24 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str) #2
%25 = load i64, ptr @EBUSY, align 8, !tbaa !10
%26 = sub i64 0, %25
br label %54
27: ; preds = %15
%28 = getelementptr inbounds i8, ptr %5, i64 8
%29 = load ptr, ptr %28, align 8, !tbaa !16
%30 = load ptr, ptr %29, align 8, !tbaa !17
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %36
32: ; preds = %27
%33 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str.1) #2
%34 = load i64, ptr @ENOTSUPP, align 8, !tbaa !10
%35 = sub i64 0, %34
br label %54
36: ; preds = %27
%37 = call i32 @fcoe_parse_mode(ptr noundef nonnull %9) #2
%38 = getelementptr inbounds i8, ptr %5, i64 16
store i32 %37, ptr %38, align 8, !tbaa !19
%39 = load i32, ptr @FIP_CONN_TYPE_UNKNOWN, align 4, !tbaa !6
%40 = icmp eq i32 %37, %39
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str.2, ptr noundef %2) #2
%43 = load i64, ptr @EINVAL, align 8, !tbaa !10
%44 = sub i64 0, %43
br label %54
45: ; preds = %36
%46 = load ptr, ptr %28, align 8, !tbaa !16
%47 = load ptr, ptr %46, align 8, !tbaa !17
%48 = call i32 %47(ptr noundef nonnull %5) #2
%49 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str.3, ptr noundef %2) #2
br label %54
50: ; preds = %15
%51 = call i32 (ptr, ptr, ...) @LIBFCOE_SYSFS_DBG(ptr noundef nonnull %5, ptr noundef nonnull @.str.4) #2
%52 = load i64, ptr @ENOTSUPP, align 8, !tbaa !10
%53 = sub i64 0, %52
br label %54
54: ; preds = %50, %45, %41, %32, %23, %12
%55 = phi i64 [ %14, %12 ], [ %53, %50 ], [ %44, %41 ], [ %3, %45 ], [ %35, %32 ], [ %26, %23 ]
ret i64 %55
}
declare ptr @dev_to_ctlr(ptr noundef) local_unnamed_addr #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @LIBFCOE_SYSFS_DBG(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @fcoe_parse_mode(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"fcoe_ctlr_device", !7, i64 0, !15, i64 8, !7, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!18, !15, i64 0}
!18 = !{!"TYPE_2__", !15, i64 0}
!19 = !{!14, !7, i64 16}
| fastsocket_kernel_drivers_scsi_fcoe_extr_fcoe_sysfs.c_store_ctlr_mode |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_sata_link_hardreset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_sata_link_hardreset.c"
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"
@.str = private unnamed_addr constant [7 x i8] c"ENTER\0A\00", align 1
@SCR_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@ATA_TMOUT_PMP_SRST_WAIT = dso_local local_unnamed_addr global i32 0, align 4
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@KERN_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"COMRESET failed (errno=%d)\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"EXIT, rc=%d\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @sata_link_hardreset(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef writeonly %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i32 (ptr, ...) @DPRINTK(ptr noundef nonnull @.str) #3
%8 = icmp eq ptr %3, null
br i1 %8, label %10, label %9
9: ; preds = %5
store i32 0, ptr %3, align 4, !tbaa !5
br label %10
10: ; preds = %9, %5
%11 = tail call i64 @sata_set_spd_needed(ptr noundef %0) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %26, label %13
13: ; preds = %10
%14 = load i32, ptr @SCR_CONTROL, align 4, !tbaa !5
%15 = call i32 @sata_scr_read(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %6) #3
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %74
17: ; preds = %13
%18 = load i32, ptr %6, align 4, !tbaa !5
%19 = and i32 %18, 240
%20 = or disjoint i32 %19, 772
store i32 %20, ptr %6, align 4, !tbaa !5
%21 = load i32, ptr @SCR_CONTROL, align 4, !tbaa !5
%22 = call i32 @sata_scr_write(ptr noundef %0, i32 noundef %21, i32 noundef %20) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %74
24: ; preds = %17
%25 = call i32 @sata_set_spd(ptr noundef %0) #3
br label %26
26: ; preds = %24, %10
%27 = load i32, ptr @SCR_CONTROL, align 4, !tbaa !5
%28 = call i32 @sata_scr_read(ptr noundef %0, i32 noundef %27, ptr noundef nonnull %6) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %74
30: ; preds = %26
%31 = load i32, ptr %6, align 4, !tbaa !5
%32 = and i32 %31, 240
%33 = or disjoint i32 %32, 769
store i32 %33, ptr %6, align 4, !tbaa !5
%34 = load i32, ptr @SCR_CONTROL, align 4, !tbaa !5
%35 = call i32 @sata_scr_write_flush(ptr noundef %0, i32 noundef %34, i32 noundef %33) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %74
37: ; preds = %30
%38 = load i32, ptr %0, align 4, !tbaa !9
%39 = call i32 @ata_msleep(i32 noundef %38, i32 noundef 1) #3
%40 = call i32 @sata_link_resume(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2) #3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %74
42: ; preds = %37
%43 = call i64 @ata_phys_link_offline(ptr noundef nonnull %0) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %84
45: ; preds = %42
br i1 %8, label %47, label %46
46: ; preds = %45
store i32 1, ptr %3, align 4, !tbaa !5
br label %47
47: ; preds = %46, %45
%48 = load i32, ptr %0, align 4, !tbaa !9
%49 = call i64 @sata_pmp_supported(i32 noundef %48) #3
%50 = icmp eq i64 %49, 0
br i1 %50, label %67, label %51
51: ; preds = %47
%52 = call i64 @ata_is_host_link(ptr noundef nonnull %0) #3
%53 = icmp eq i64 %52, 0
br i1 %53, label %67, label %54
54: ; preds = %51
%55 = icmp eq ptr %4, null
br i1 %55, label %64, label %56
56: ; preds = %54
%57 = load i32, ptr @jiffies, align 4, !tbaa !5
%58 = load i32, ptr @ATA_TMOUT_PMP_SRST_WAIT, align 4, !tbaa !5
%59 = call i64 @ata_deadline(i32 noundef %57, i32 noundef %58) #3
%60 = call i64 @time_after(i64 noundef %59, i64 noundef %2) #3
%61 = icmp eq i64 %60, 0
%62 = select i1 %61, i64 %59, i64 %2
%63 = call i32 @ata_wait_ready(ptr noundef nonnull %0, i64 noundef %62, ptr noundef nonnull %4) #3
br label %64
64: ; preds = %56, %54
%65 = load i32, ptr @EAGAIN, align 4, !tbaa !5
%66 = sub nsw i32 0, %65
br label %71
67: ; preds = %51, %47
%68 = icmp eq ptr %4, null
br i1 %68, label %84, label %69
69: ; preds = %67
%70 = call i32 @ata_wait_ready(ptr noundef nonnull %0, i64 noundef %2, ptr noundef nonnull %4) #3
br label %71
71: ; preds = %69, %64
%72 = phi i32 [ %66, %64 ], [ %70, %69 ]
%73 = icmp eq i32 %72, 0
br i1 %73, label %84, label %74
74: ; preds = %37, %30, %26, %17, %13, %71
%75 = phi i32 [ %72, %71 ], [ %40, %37 ], [ %35, %30 ], [ %28, %26 ], [ %22, %17 ], [ %15, %13 ]
%76 = load i32, ptr @EAGAIN, align 4, !tbaa !5
%77 = sub nsw i32 0, %76
%78 = icmp eq i32 %75, %77
br i1 %78, label %84, label %79
79: ; preds = %74
br i1 %8, label %81, label %80
80: ; preds = %79
store i32 0, ptr %3, align 4, !tbaa !5
br label %81
81: ; preds = %80, %79
%82 = load i32, ptr @KERN_ERR, align 4, !tbaa !5
%83 = call i32 @ata_link_printk(ptr noundef %0, i32 noundef %82, ptr noundef nonnull @.str.1, i32 noundef %75) #3
br label %84
84: ; preds = %67, %42, %81, %74, %71
%85 = phi i32 [ %75, %81 ], [ %75, %74 ], [ 0, %71 ], [ 0, %42 ], [ 0, %67 ]
%86 = call i32 (ptr, ...) @DPRINTK(ptr noundef nonnull @.str.2, i32 noundef %85) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %85
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DPRINTK(ptr noundef, ...) local_unnamed_addr #2
declare i64 @sata_set_spd_needed(ptr noundef) local_unnamed_addr #2
declare i32 @sata_scr_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sata_scr_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sata_set_spd(ptr noundef) local_unnamed_addr #2
declare i32 @sata_scr_write_flush(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ata_msleep(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sata_link_resume(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @ata_phys_link_offline(ptr noundef) local_unnamed_addr #2
declare i64 @sata_pmp_supported(i32 noundef) local_unnamed_addr #2
declare i64 @ata_is_host_link(ptr noundef) local_unnamed_addr #2
declare i64 @ata_deadline(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @ata_wait_ready(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @ata_link_printk(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"ata_link", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_sata_link_hardreset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-core.c_sata_link_hardreset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"ENTER\0A\00", align 1
@SCR_CONTROL = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i32 0, align 4
@ATA_TMOUT_PMP_SRST_WAIT = common local_unnamed_addr global i32 0, align 4
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@KERN_ERR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"COMRESET failed (errno=%d)\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"EXIT, rc=%d\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @sata_link_hardreset(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef writeonly %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i32 (ptr, ...) @DPRINTK(ptr noundef nonnull @.str) #3
%8 = icmp eq ptr %3, null
br i1 %8, label %10, label %9
9: ; preds = %5
store i32 0, ptr %3, align 4, !tbaa !6
br label %10
10: ; preds = %9, %5
%11 = tail call i64 @sata_set_spd_needed(ptr noundef %0) #3
%12 = icmp eq i64 %11, 0
br i1 %12, label %26, label %13
13: ; preds = %10
%14 = load i32, ptr @SCR_CONTROL, align 4, !tbaa !6
%15 = call i32 @sata_scr_read(ptr noundef %0, i32 noundef %14, ptr noundef nonnull %6) #3
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %74
17: ; preds = %13
%18 = load i32, ptr %6, align 4, !tbaa !6
%19 = and i32 %18, 240
%20 = or disjoint i32 %19, 772
store i32 %20, ptr %6, align 4, !tbaa !6
%21 = load i32, ptr @SCR_CONTROL, align 4, !tbaa !6
%22 = call i32 @sata_scr_write(ptr noundef %0, i32 noundef %21, i32 noundef %20) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %74
24: ; preds = %17
%25 = call i32 @sata_set_spd(ptr noundef %0) #3
br label %26
26: ; preds = %24, %10
%27 = load i32, ptr @SCR_CONTROL, align 4, !tbaa !6
%28 = call i32 @sata_scr_read(ptr noundef %0, i32 noundef %27, ptr noundef nonnull %6) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %74
30: ; preds = %26
%31 = load i32, ptr %6, align 4, !tbaa !6
%32 = and i32 %31, 240
%33 = or disjoint i32 %32, 769
store i32 %33, ptr %6, align 4, !tbaa !6
%34 = load i32, ptr @SCR_CONTROL, align 4, !tbaa !6
%35 = call i32 @sata_scr_write_flush(ptr noundef %0, i32 noundef %34, i32 noundef %33) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %74
37: ; preds = %30
%38 = load i32, ptr %0, align 4, !tbaa !10
%39 = call i32 @ata_msleep(i32 noundef %38, i32 noundef 1) #3
%40 = call i32 @sata_link_resume(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2) #3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %74
42: ; preds = %37
%43 = call i64 @ata_phys_link_offline(ptr noundef nonnull %0) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %84
45: ; preds = %42
br i1 %8, label %47, label %46
46: ; preds = %45
store i32 1, ptr %3, align 4, !tbaa !6
br label %47
47: ; preds = %46, %45
%48 = load i32, ptr %0, align 4, !tbaa !10
%49 = call i64 @sata_pmp_supported(i32 noundef %48) #3
%50 = icmp eq i64 %49, 0
br i1 %50, label %67, label %51
51: ; preds = %47
%52 = call i64 @ata_is_host_link(ptr noundef nonnull %0) #3
%53 = icmp eq i64 %52, 0
br i1 %53, label %67, label %54
54: ; preds = %51
%55 = icmp eq ptr %4, null
br i1 %55, label %64, label %56
56: ; preds = %54
%57 = load i32, ptr @jiffies, align 4, !tbaa !6
%58 = load i32, ptr @ATA_TMOUT_PMP_SRST_WAIT, align 4, !tbaa !6
%59 = call i64 @ata_deadline(i32 noundef %57, i32 noundef %58) #3
%60 = call i64 @time_after(i64 noundef %59, i64 noundef %2) #3
%61 = icmp eq i64 %60, 0
%62 = select i1 %61, i64 %59, i64 %2
%63 = call i32 @ata_wait_ready(ptr noundef nonnull %0, i64 noundef %62, ptr noundef nonnull %4) #3
br label %64
64: ; preds = %56, %54
%65 = load i32, ptr @EAGAIN, align 4, !tbaa !6
%66 = sub nsw i32 0, %65
br label %71
67: ; preds = %51, %47
%68 = icmp eq ptr %4, null
br i1 %68, label %84, label %69
69: ; preds = %67
%70 = call i32 @ata_wait_ready(ptr noundef nonnull %0, i64 noundef %2, ptr noundef nonnull %4) #3
br label %71
71: ; preds = %69, %64
%72 = phi i32 [ %66, %64 ], [ %70, %69 ]
%73 = icmp eq i32 %72, 0
br i1 %73, label %84, label %74
74: ; preds = %37, %30, %26, %17, %13, %71
%75 = phi i32 [ %72, %71 ], [ %40, %37 ], [ %35, %30 ], [ %28, %26 ], [ %22, %17 ], [ %15, %13 ]
%76 = load i32, ptr @EAGAIN, align 4, !tbaa !6
%77 = sub nsw i32 0, %76
%78 = icmp eq i32 %75, %77
br i1 %78, label %84, label %79
79: ; preds = %74
br i1 %8, label %81, label %80
80: ; preds = %79
store i32 0, ptr %3, align 4, !tbaa !6
br label %81
81: ; preds = %80, %79
%82 = load i32, ptr @KERN_ERR, align 4, !tbaa !6
%83 = call i32 @ata_link_printk(ptr noundef %0, i32 noundef %82, ptr noundef nonnull @.str.1, i32 noundef %75) #3
br label %84
84: ; preds = %67, %42, %81, %74, %71
%85 = phi i32 [ %75, %81 ], [ %75, %74 ], [ 0, %71 ], [ 0, %42 ], [ 0, %67 ]
%86 = call i32 (ptr, ...) @DPRINTK(ptr noundef nonnull @.str.2, i32 noundef %85) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %85
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DPRINTK(ptr noundef, ...) local_unnamed_addr #2
declare i64 @sata_set_spd_needed(ptr noundef) local_unnamed_addr #2
declare i32 @sata_scr_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sata_scr_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sata_set_spd(ptr noundef) local_unnamed_addr #2
declare i32 @sata_scr_write_flush(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ata_msleep(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sata_link_resume(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @ata_phys_link_offline(ptr noundef) local_unnamed_addr #2
declare i64 @sata_pmp_supported(i32 noundef) local_unnamed_addr #2
declare i64 @ata_is_host_link(ptr noundef) local_unnamed_addr #2
declare i64 @ata_deadline(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @ata_wait_ready(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @ata_link_printk(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"ata_link", !7, i64 0}
| fastsocket_kernel_drivers_ata_extr_libata-core.c_sata_link_hardreset |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_breakpoint.c_ep_find_event_name_end.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_breakpoint.c_ep_find_event_name_end.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ep_find_event_name_end], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @ep_find_event_name_end(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %19, label %3
3: ; preds = %1
%4 = load i8, ptr %0, align 1, !tbaa !5
%5 = icmp eq i8 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %3, %15
%7 = phi i8 [ %17, %15 ], [ %4, %3 ]
%8 = phi ptr [ %9, %15 ], [ null, %3 ]
%9 = phi ptr [ %16, %15 ], [ %0, %3 ]
%10 = tail call i32 @isalnum(i8 noundef signext %7) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %6
%13 = load i8, ptr %9, align 1, !tbaa !5
%14 = icmp eq i8 %13, 95
br i1 %14, label %15, label %19
15: ; preds = %12, %6
%16 = getelementptr inbounds i8, ptr %9, i64 1
%17 = load i8, ptr %16, align 1, !tbaa !5
%18 = icmp eq i8 %17, 0
br i1 %18, label %19, label %6, !llvm.loop !8
19: ; preds = %12, %15, %3, %1
%20 = phi ptr [ null, %1 ], [ null, %3 ], [ %8, %12 ], [ %9, %15 ]
ret ptr %20
}
declare i32 @isalnum(i8 noundef signext) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_breakpoint.c_ep_find_event_name_end.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_breakpoint.c_ep_find_event_name_end.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ep_find_event_name_end], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @ep_find_event_name_end(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %19, label %3
3: ; preds = %1
%4 = load i8, ptr %0, align 1, !tbaa !6
%5 = icmp eq i8 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %3, %15
%7 = phi i8 [ %17, %15 ], [ %4, %3 ]
%8 = phi ptr [ %9, %15 ], [ null, %3 ]
%9 = phi ptr [ %16, %15 ], [ %0, %3 ]
%10 = tail call i32 @isalnum(i8 noundef signext %7) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %6
%13 = load i8, ptr %9, align 1, !tbaa !6
%14 = icmp eq i8 %13, 95
br i1 %14, label %15, label %19
15: ; preds = %12, %6
%16 = getelementptr inbounds i8, ptr %9, i64 1
%17 = load i8, ptr %16, align 1, !tbaa !6
%18 = icmp eq i8 %17, 0
br i1 %18, label %19, label %6, !llvm.loop !9
19: ; preds = %12, %15, %3, %1
%20 = phi ptr [ null, %1 ], [ null, %3 ], [ %8, %12 ], [ %9, %15 ]
ret ptr %20
}
declare i32 @isalnum(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_gdb_gdb_extr_breakpoint.c_ep_find_event_name_end |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_opp.c_opp2_dpg_is_blanked.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_opp.c_opp2_dpg_is_blanked.c"
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"
@DPG_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@DPG_EN = dso_local local_unnamed_addr global i32 0, align 4
@DPG_MODE = dso_local local_unnamed_addr global i32 0, align 4
@DPG_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@DPG_DOUBLE_BUFFER_PENDING = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @opp2_dpg_is_blanked(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = tail call ptr @TO_DCN20_OPP(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = load i32, ptr @DPG_CONTROL, align 4, !tbaa !5
%7 = load i32, ptr @DPG_EN, align 4, !tbaa !5
%8 = load i32, ptr @DPG_MODE, align 4, !tbaa !5
%9 = call i32 @REG_GET_2(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %2, i32 noundef %8, ptr noundef nonnull %3) #3
%10 = load i32, ptr @DPG_STATUS, align 4, !tbaa !5
%11 = load i32, ptr @DPG_DOUBLE_BUFFER_PENDING, align 4, !tbaa !5
%12 = call i32 @REG_GET(i32 noundef %10, i32 noundef %11, ptr noundef nonnull %4) #3
%13 = load i32, ptr %2, align 4, !tbaa !5
%14 = icmp eq i32 %13, 1
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 0
%17 = select i1 %14, i1 %16, i1 false
%18 = zext i1 %17 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @TO_DCN20_OPP(ptr noundef) local_unnamed_addr #2
declare i32 @REG_GET_2(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @REG_GET(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_opp.c_opp2_dpg_is_blanked.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_opp.c_opp2_dpg_is_blanked.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DPG_CONTROL = common local_unnamed_addr global i32 0, align 4
@DPG_EN = common local_unnamed_addr global i32 0, align 4
@DPG_MODE = common local_unnamed_addr global i32 0, align 4
@DPG_STATUS = common local_unnamed_addr global i32 0, align 4
@DPG_DOUBLE_BUFFER_PENDING = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @opp2_dpg_is_blanked(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = tail call ptr @TO_DCN20_OPP(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = load i32, ptr @DPG_CONTROL, align 4, !tbaa !6
%7 = load i32, ptr @DPG_EN, align 4, !tbaa !6
%8 = load i32, ptr @DPG_MODE, align 4, !tbaa !6
%9 = call i32 @REG_GET_2(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %2, i32 noundef %8, ptr noundef nonnull %3) #3
%10 = load i32, ptr @DPG_STATUS, align 4, !tbaa !6
%11 = load i32, ptr @DPG_DOUBLE_BUFFER_PENDING, align 4, !tbaa !6
%12 = call i32 @REG_GET(i32 noundef %10, i32 noundef %11, ptr noundef nonnull %4) #3
%13 = load i32, ptr %2, align 4, !tbaa !6
%14 = icmp eq i32 %13, 1
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 0
%17 = select i1 %14, i1 %16, i1 false
%18 = zext i1 %17 to i32
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @TO_DCN20_OPP(ptr noundef) local_unnamed_addr #2
declare i32 @REG_GET_2(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @REG_GET(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_amd_display_dc_dcn20_extr_dcn20_opp.c_opp2_dpg_is_blanked |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.