IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/dos/extr_36773.c_connect_to_server.c' source_filename = "AnghaBench/exploitdb/exploits/windows/dos/extr_36773.c_connect_to_server.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.sockaddr_in = type { i32, i32, i32 } @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"\0A Error : Could not create socket \0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"\0A inet_pton error occured\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\0A Error : Connect Failed \0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @connect_to_server(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.sockaddr_in, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3 %3 = load i32, ptr @AF_INET, align 4, !tbaa !5 %4 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !5 %5 = tail call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) #3 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @printf(ptr noundef nonnull @.str) #3 br label %25 9: ; preds = %1 %10 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 48, i32 noundef 12) #3 %11 = load i32, ptr @AF_INET, align 4, !tbaa !5 %12 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i64 0, i32 2 store i32 %11, ptr %12, align 4, !tbaa !9 %13 = call i32 @htons(i32 noundef 80) #3 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i64 0, i32 1 store i32 %13, ptr %14, align 4, !tbaa !11 %15 = load i32, ptr @AF_INET, align 4, !tbaa !5 %16 = call i64 @inet_pton(i32 noundef %15, ptr noundef %0, ptr noundef nonnull %2) #3 %17 = icmp slt i64 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %9 %19 = call i32 @printf(ptr noundef nonnull @.str.1) #3 br label %25 20: ; preds = %9 %21 = call i64 @connect(i32 noundef %5, ptr noundef nonnull %2, i32 noundef 12) #3 %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @printf(ptr noundef nonnull @.str.2) #3 br label %25 25: ; preds = %20, %23, %18, %7 %26 = phi i32 [ 1, %7 ], [ 1, %18 ], [ 1, %23 ], [ %5, %20 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @connect(i32 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, !6, i64 8} !10 = !{!"sockaddr_in", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/dos/extr_36773.c_connect_to_server.c' source_filename = "AnghaBench/exploitdb/exploits/windows/dos/extr_36773.c_connect_to_server.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sockaddr_in = type { i32, i32, i32 } @AF_INET = common local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"\0A Error : Could not create socket \0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"\0A inet_pton error occured\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\0A Error : Connect Failed \0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, -2147483648) i32 @connect_to_server(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.sockaddr_in, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3 %3 = load i32, ptr @AF_INET, align 4, !tbaa !6 %4 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !6 %5 = tail call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) #3 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @printf(ptr noundef nonnull @.str) #3 br label %25 9: ; preds = %1 %10 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 48, i32 noundef 12) #3 %11 = load i32, ptr @AF_INET, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %11, ptr %12, align 4, !tbaa !10 %13 = call i32 @htons(i32 noundef 80) #3 %14 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %13, ptr %14, align 4, !tbaa !12 %15 = load i32, ptr @AF_INET, align 4, !tbaa !6 %16 = call i64 @inet_pton(i32 noundef %15, ptr noundef %0, ptr noundef nonnull %2) #3 %17 = icmp slt i64 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %9 %19 = call i32 @printf(ptr noundef nonnull @.str.1) #3 br label %25 20: ; preds = %9 %21 = call i64 @connect(i32 noundef %5, ptr noundef nonnull %2, i32 noundef 12) #3 %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 @printf(ptr noundef nonnull @.str.2) #3 br label %25 25: ; preds = %20, %23, %18, %7 %26 = phi i32 [ 1, %7 ], [ 1, %18 ], [ 1, %23 ], [ %5, %20 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @connect(i32 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, !7, i64 8} !11 = !{!"sockaddr_in", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 4}
exploitdb_exploits_windows_dos_extr_36773.c_connect_to_server
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_blowfish.c_mbedtls_blowfish_init.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_blowfish.c_mbedtls_blowfish_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" ; Function Attrs: nounwind uwtable define dso_local void @mbedtls_blowfish_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2 ret void } declare i32 @memset(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)"}
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_blowfish.c_mbedtls_blowfish_init.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_blowfish.c_mbedtls_blowfish_init.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 @mbedtls_blowfish_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2 ret void } declare i32 @memset(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)"}
RetroArch_deps_mbedtls_extr_blowfish.c_mbedtls_blowfish_init
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/conf/extr_conf_mod.c_module_add.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/conf/extr_conf_mod.c_module_add.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_7__ = type { ptr, ptr, ptr, ptr } @supported_modules = dso_local local_unnamed_addr global ptr null, align 8 @CONF_F_MODULE_ADD = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @module_add], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @module_add(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load ptr, ptr @supported_modules, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %4 %8 = tail call ptr (...) @sk_CONF_MODULE_new_null() #2 store ptr %8, ptr @supported_modules, align 8, !tbaa !5 %9 = icmp eq ptr %8, null br i1 %9, label %33, label %10 10: ; preds = %4, %7 %11 = tail call ptr @OPENSSL_zalloc(i32 noundef 32) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr @CONF_F_MODULE_ADD, align 4, !tbaa !9 %15 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !9 %16 = tail call i32 @CONFerr(i32 noundef %14, i32 noundef %15) #2 br label %33 17: ; preds = %10 %18 = getelementptr inbounds %struct.TYPE_7__, ptr %11, i64 0, i32 3 store ptr %0, ptr %18, align 8, !tbaa !11 %19 = tail call ptr @OPENSSL_strdup(ptr noundef %1) #2 store ptr %19, ptr %11, align 8, !tbaa !13 %20 = getelementptr inbounds %struct.TYPE_7__, ptr %11, i64 0, i32 2 store ptr %2, ptr %20, align 8, !tbaa !14 %21 = getelementptr inbounds %struct.TYPE_7__, ptr %11, i64 0, i32 1 store ptr %3, ptr %21, align 8, !tbaa !15 %22 = icmp eq ptr %19, null br i1 %22, label %23, label %25 23: ; preds = %17 %24 = tail call i32 @OPENSSL_free(ptr noundef nonnull %11) #2 br label %33 25: ; preds = %17 %26 = load ptr, ptr @supported_modules, align 8, !tbaa !5 %27 = tail call i32 @sk_CONF_MODULE_push(ptr noundef %26, ptr noundef nonnull %11) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %25 %30 = load ptr, ptr %11, align 8, !tbaa !13 %31 = tail call i32 @OPENSSL_free(ptr noundef %30) #2 %32 = tail call i32 @OPENSSL_free(ptr noundef nonnull %11) #2 br label %33 33: ; preds = %25, %7, %29, %23, %13 %34 = phi ptr [ null, %13 ], [ null, %23 ], [ null, %29 ], [ null, %7 ], [ %11, %25 ] ret ptr %34 } declare ptr @sk_CONF_MODULE_new_null(...) local_unnamed_addr #1 declare ptr @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare i32 @CONFerr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @OPENSSL_strdup(ptr noundef) local_unnamed_addr #1 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 declare i32 @sk_CONF_MODULE_push(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, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !6, i64 24} !12 = !{!"TYPE_7__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24} !13 = !{!12, !6, i64 0} !14 = !{!12, !6, i64 16} !15 = !{!12, !6, i64 8}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/conf/extr_conf_mod.c_module_add.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/conf/extr_conf_mod.c_module_add.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @supported_modules = common local_unnamed_addr global ptr null, align 8 @CONF_F_MODULE_ADD = common local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @module_add], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @module_add(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load ptr, ptr @supported_modules, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %4 %8 = tail call ptr @sk_CONF_MODULE_new_null() #2 store ptr %8, ptr @supported_modules, align 8, !tbaa !6 %9 = icmp eq ptr %8, null br i1 %9, label %33, label %10 10: ; preds = %4, %7 %11 = tail call ptr @OPENSSL_zalloc(i32 noundef 32) #2 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr @CONF_F_MODULE_ADD, align 4, !tbaa !10 %15 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !10 %16 = tail call i32 @CONFerr(i32 noundef %14, i32 noundef %15) #2 br label %33 17: ; preds = %10 %18 = getelementptr inbounds i8, ptr %11, i64 24 store ptr %0, ptr %18, align 8, !tbaa !12 %19 = tail call ptr @OPENSSL_strdup(ptr noundef %1) #2 store ptr %19, ptr %11, align 8, !tbaa !14 %20 = getelementptr inbounds i8, ptr %11, i64 16 store ptr %2, ptr %20, align 8, !tbaa !15 %21 = getelementptr inbounds i8, ptr %11, i64 8 store ptr %3, ptr %21, align 8, !tbaa !16 %22 = icmp eq ptr %19, null br i1 %22, label %23, label %25 23: ; preds = %17 %24 = tail call i32 @OPENSSL_free(ptr noundef nonnull %11) #2 br label %33 25: ; preds = %17 %26 = load ptr, ptr @supported_modules, align 8, !tbaa !6 %27 = tail call i32 @sk_CONF_MODULE_push(ptr noundef %26, ptr noundef nonnull %11) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %25 %30 = load ptr, ptr %11, align 8, !tbaa !14 %31 = tail call i32 @OPENSSL_free(ptr noundef %30) #2 %32 = tail call i32 @OPENSSL_free(ptr noundef nonnull %11) #2 br label %33 33: ; preds = %25, %7, %29, %23, %13 %34 = phi ptr [ null, %13 ], [ null, %23 ], [ null, %29 ], [ null, %7 ], [ %11, %25 ] ret ptr %34 } declare ptr @sk_CONF_MODULE_new_null(...) local_unnamed_addr #1 declare ptr @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare i32 @CONFerr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @OPENSSL_strdup(ptr noundef) local_unnamed_addr #1 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 declare i32 @sk_CONF_MODULE_push(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, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 24} !13 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !14 = !{!13, !7, i64 0} !15 = !{!13, !7, i64 16} !16 = !{!13, !7, i64 8}
freebsd_crypto_openssl_crypto_conf_extr_conf_mod.c_module_add
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslanalyze.c_ApCheckRegMethod.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslanalyze.c_ApCheckRegMethod.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, ptr, ptr, i32 } @METHOD_NAME__REG = dso_local local_unnamed_addr global i32 0, align 4 @PARSEOP_OPERATIONREGION = dso_local local_unnamed_addr global i64 0, align 8 @ASL_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @ASL_MSG_NO_REGION = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ApCheckRegMethod(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @METHOD_NAME__REG, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4 %4 = tail call i32 @ACPI_COMPARE_NAMESEG(i32 noundef %2, ptr noundef nonnull %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %26, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3 %8 = load ptr, ptr %7, align 8, !tbaa !9 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = icmp eq ptr %10, null br i1 %11, label %22, label %12 12: ; preds = %6 %13 = load i64, ptr @PARSEOP_OPERATIONREGION, align 8, !tbaa !15 br label %18 14: ; preds = %18 %15 = getelementptr inbounds %struct.TYPE_5__, ptr %19, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !14 %17 = icmp eq ptr %16, null br i1 %17, label %22, label %18, !llvm.loop !16 18: ; preds = %12, %14 %19 = phi ptr [ %10, %12 ], [ %16, %14 ] %20 = load i64, ptr %19, align 8, !tbaa !18 %21 = icmp eq i64 %20, %13 br i1 %21, label %26, label %14 22: ; preds = %14, %6 %23 = load i32, ptr @ASL_WARNING, align 4, !tbaa !5 %24 = load i32, ptr @ASL_MSG_NO_REGION, align 4, !tbaa !5 %25 = tail call i32 @AslError(i32 noundef %23, i32 noundef %24, ptr noundef %0, ptr noundef null) #2 br label %26 26: ; preds = %18, %1, %22 ret void } declare i32 @ACPI_COMPARE_NAMESEG(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AslError(i32 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, !13, i64 24} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"TYPE_5__", !12, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !6, i64 32} !12 = !{!"long", !7, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !12, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!10, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslanalyze.c_ApCheckRegMethod.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslanalyze.c_ApCheckRegMethod.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @METHOD_NAME__REG = common local_unnamed_addr global i32 0, align 4 @PARSEOP_OPERATIONREGION = common local_unnamed_addr global i64 0, align 8 @ASL_WARNING = common local_unnamed_addr global i32 0, align 4 @ASL_MSG_NO_REGION = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ApCheckRegMethod(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @METHOD_NAME__REG, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 32 %4 = tail call i32 @ACPI_COMPARE_NAMESEG(i32 noundef %2, ptr noundef nonnull %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %26, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = getelementptr inbounds i8, ptr %8, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !15 %11 = icmp eq ptr %10, null br i1 %11, label %22, label %12 12: ; preds = %6 %13 = load i64, ptr @PARSEOP_OPERATIONREGION, align 8, !tbaa !16 br label %18 14: ; preds = %18 %15 = getelementptr inbounds i8, ptr %19, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = icmp eq ptr %16, null br i1 %17, label %22, label %18, !llvm.loop !17 18: ; preds = %12, %14 %19 = phi ptr [ %10, %12 ], [ %16, %14 ] %20 = load i64, ptr %19, align 8, !tbaa !19 %21 = icmp eq i64 %20, %13 br i1 %21, label %26, label %14 22: ; preds = %14, %6 %23 = load i32, ptr @ASL_WARNING, align 4, !tbaa !6 %24 = load i32, ptr @ASL_MSG_NO_REGION, align 4, !tbaa !6 %25 = tail call i32 @AslError(i32 noundef %23, i32 noundef %24, ptr noundef %0, ptr noundef null) #2 br label %26 26: ; preds = %18, %1, %22 ret void } declare i32 @ACPI_COMPARE_NAMESEG(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AslError(i32 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, !14, i64 24} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !7, i64 32} !13 = !{!"long", !8, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !13, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!11, !13, i64 0}
freebsd_sys_contrib_dev_acpica_compiler_extr_aslanalyze.c_ApCheckRegMethod
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elf64-mips.c_mips_elf64_be_swap_reloc_out.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf64-mips.c_mips_elf64_be_swap_reloc_out.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 { i64, ptr, i32, ptr, i32, ptr } %struct.TYPE_5__ = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @mips_elf64_be_swap_reloc_out], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mips_elf64_be_swap_reloc_out(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = alloca %struct.TYPE_6__, align 8 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #3 %5 = load i64, ptr %1, align 8, !tbaa !5 store i64 %5, ptr %4, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 1 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = icmp eq i64 %5, %7 %9 = zext i1 %8 to i32 %10 = tail call i32 @BFD_ASSERT(i32 noundef %9) #3 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !14 %13 = tail call ptr @ELF64_MIPS_R_TYPE(i32 noundef %12) #3 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 5 store ptr %13, ptr %14, align 8, !tbaa !15 %15 = load i32, ptr %11, align 8, !tbaa !14 %16 = tail call i32 @ELF64_R_SYM(i32 noundef %15) #3 %17 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 4 store i32 %16, ptr %17, align 8, !tbaa !16 %18 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 1, i32 1 %19 = load i32, ptr %18, align 8, !tbaa !14 %20 = tail call ptr @ELF64_MIPS_R_TYPE(i32 noundef %19) #3 %21 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 3 store ptr %20, ptr %21, align 8, !tbaa !17 %22 = load i32, ptr %18, align 8, !tbaa !14 %23 = tail call i32 @ELF64_MIPS_R_SSYM(i32 noundef %22) #3 %24 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 2 store i32 %23, ptr %24, align 8, !tbaa !18 %25 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 2, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !14 %27 = tail call ptr @ELF64_MIPS_R_TYPE(i32 noundef %26) #3 %28 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 1 store ptr %27, ptr %28, align 8, !tbaa !19 %29 = call i32 @mips_elf64_swap_reloc_out(ptr noundef %0, ptr noundef nonnull %4, ptr noundef %2) #3 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #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 @BFD_ASSERT(i32 noundef) local_unnamed_addr #2 declare ptr @ELF64_MIPS_R_TYPE(i32 noundef) local_unnamed_addr #2 declare i32 @ELF64_R_SYM(i32 noundef) local_unnamed_addr #2 declare i32 @ELF64_MIPS_R_SSYM(i32 noundef) local_unnamed_addr #2 declare i32 @mips_elf64_swap_reloc_out(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, !7, i64 0} !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 = !{!"int", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_6__", !7, i64 0, !13, i64 8, !10, i64 16, !13, i64 24, !10, i64 32, !13, i64 40} !13 = !{!"any pointer", !8, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!12, !13, i64 40} !16 = !{!12, !10, i64 32} !17 = !{!12, !13, i64 24} !18 = !{!12, !10, i64 16} !19 = !{!12, !13, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elf64-mips.c_mips_elf64_be_swap_reloc_out.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf64-mips.c_mips_elf64_be_swap_reloc_out.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i64, ptr, i32, ptr, i32, ptr } @llvm.used = appending global [1 x ptr] [ptr @mips_elf64_be_swap_reloc_out], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mips_elf64_be_swap_reloc_out(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = alloca %struct.TYPE_6__, align 8 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #3 %5 = load i64, ptr %1, align 8, !tbaa !6 store i64 %5, ptr %4, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %1, i64 16 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = icmp eq i64 %5, %7 %9 = zext i1 %8 to i32 %10 = tail call i32 @BFD_ASSERT(i32 noundef %9) #3 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !15 %13 = tail call ptr @ELF64_MIPS_R_TYPE(i32 noundef %12) #3 %14 = getelementptr inbounds i8, ptr %4, i64 40 store ptr %13, ptr %14, align 8, !tbaa !16 %15 = load i32, ptr %11, align 8, !tbaa !15 %16 = tail call i32 @ELF64_R_SYM(i32 noundef %15) #3 %17 = getelementptr inbounds i8, ptr %4, i64 32 store i32 %16, ptr %17, align 8, !tbaa !17 %18 = getelementptr inbounds i8, ptr %1, i64 24 %19 = load i32, ptr %18, align 8, !tbaa !15 %20 = tail call ptr @ELF64_MIPS_R_TYPE(i32 noundef %19) #3 %21 = getelementptr inbounds i8, ptr %4, i64 24 store ptr %20, ptr %21, align 8, !tbaa !18 %22 = load i32, ptr %18, align 8, !tbaa !15 %23 = tail call i32 @ELF64_MIPS_R_SSYM(i32 noundef %22) #3 %24 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %23, ptr %24, align 8, !tbaa !19 %25 = getelementptr inbounds i8, ptr %1, i64 40 %26 = load i32, ptr %25, align 8, !tbaa !15 %27 = tail call ptr @ELF64_MIPS_R_TYPE(i32 noundef %26) #3 %28 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %27, ptr %28, align 8, !tbaa !20 %29 = call i32 @mips_elf64_swap_reloc_out(ptr noundef %0, ptr noundef nonnull %4, ptr noundef %2) #3 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #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 @BFD_ASSERT(i32 noundef) local_unnamed_addr #2 declare ptr @ELF64_MIPS_R_TYPE(i32 noundef) local_unnamed_addr #2 declare i32 @ELF64_R_SYM(i32 noundef) local_unnamed_addr #2 declare i32 @ELF64_MIPS_R_SSYM(i32 noundef) local_unnamed_addr #2 declare i32 @mips_elf64_swap_reloc_out(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, !8, i64 0} !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 = !{!"int", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_6__", !8, i64 0, !14, i64 8, !11, i64 16, !14, i64 24, !11, i64 32, !14, i64 40} !14 = !{!"any pointer", !9, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!13, !14, i64 40} !17 = !{!13, !11, i64 32} !18 = !{!13, !14, i64 24} !19 = !{!13, !11, i64 16} !20 = !{!13, !14, i64 8}
freebsd_contrib_binutils_bfd_extr_elf64-mips.c_mips_elf64_be_swap_reloc_out
; ModuleID = 'AnghaBench/linux/crypto/extr_testmgr.c___alg_test_hash.c' source_filename = "AnghaBench/linux/crypto/extr_testmgr.c___alg_test_hash.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.hash_testvec = type { i32 } @.str = private unnamed_addr constant [53 x i8] c"alg: hash: failed to allocate transform for %s: %ld\0A\00", align 1 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"alg: hash: failed to allocate request for %s\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [51 x i8] c"alg: hash: failed to allocate test buffers for %s\0A\00", align 1 @TESTMGR_POISON_LEN = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [56 x i8] c"alg: hash: failed to allocate hash state buffer for %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @__alg_test_hash], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__alg_test_hash(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 store ptr null, ptr %8, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 store ptr null, ptr %9, align 8, !tbaa !5 %10 = tail call ptr @crypto_alloc_ahash(ptr noundef %2, i32 noundef %3, i32 noundef %4) #3 %11 = tail call i64 @IS_ERR(ptr noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %7 %14 = tail call i32 @PTR_ERR(ptr noundef %10) #3 %15 = tail call i32 (ptr, ptr, ...) @pr_err(ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %14) #3 %16 = tail call i32 @PTR_ERR(ptr noundef %10) #3 br label %95 17: ; preds = %7 %18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9 %19 = tail call ptr @ahash_request_alloc(ptr noundef %10, i32 noundef %18) #3 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %17 %22 = tail call i32 (ptr, ptr, ...) @pr_err(ptr noundef nonnull @.str.1, ptr noundef %2) #3 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !9 %24 = sub nsw i32 0, %23 br label %77 25: ; preds = %17 %26 = call i32 @alloc_shash(ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef nonnull %9) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %77 28: ; preds = %25 %29 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9 %30 = call ptr @kmalloc(i32 noundef 4, i32 noundef %29) #3 %31 = icmp eq ptr %30, null br i1 %31, label %35, label %32 32: ; preds = %28 %33 = call i64 @init_test_sglist(ptr noundef nonnull %30) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %32, %28 %36 = call i32 (ptr, ptr, ...) @pr_err(ptr noundef nonnull @.str.2, ptr noundef %2) #3 %37 = call i32 @kfree(ptr noundef %30) #3 %38 = load i32, ptr @ENOMEM, align 4, !tbaa !9 %39 = sub nsw i32 0, %38 br label %77 40: ; preds = %32 %41 = call i32 @crypto_ahash_statesize(ptr noundef %10) #3 %42 = load ptr, ptr %8, align 8, !tbaa !5 %43 = icmp eq ptr %42, null br i1 %43, label %47, label %44 44: ; preds = %40 %45 = call i32 @crypto_shash_statesize(ptr noundef nonnull %42) #3 %46 = call i32 @max(i32 noundef %41, i32 noundef %45) #3 br label %47 47: ; preds = %44, %40 %48 = phi i32 [ %46, %44 ], [ %41, %40 ] %49 = load i32, ptr @TESTMGR_POISON_LEN, align 4, !tbaa !9 %50 = add i32 %49, %48 %51 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9 %52 = call ptr @kmalloc(i32 noundef %50, i32 noundef %51) #3 %53 = icmp eq ptr %52, null br i1 %53, label %58, label %54 54: ; preds = %47 %55 = icmp eq i32 %1, 0 br i1 %55, label %74, label %56 56: ; preds = %54 %57 = zext i32 %1 to i64 br label %63 58: ; preds = %47 %59 = call i32 (ptr, ptr, ...) @pr_err(ptr noundef nonnull @.str.3, ptr noundef %2) #3 %60 = load i32, ptr @ENOMEM, align 4, !tbaa !9 %61 = sub nsw i32 0, %60 %62 = call i32 @kfree(ptr noundef null) #3 br label %83 63: ; preds = %56, %70 %64 = phi i64 [ 0, %56 ], [ %72, %70 ] %65 = getelementptr inbounds %struct.hash_testvec, ptr %0, i64 %64 %66 = load ptr, ptr %9, align 8, !tbaa !5 %67 = trunc i64 %64 to i32 %68 = call i32 @test_hash_vec(ptr noundef %2, ptr noundef %65, i32 noundef %67, ptr noundef nonnull %19, ptr noundef %66, ptr noundef nonnull %30, ptr noundef nonnull %52) #3 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %80 70: ; preds = %63 %71 = call i32 (...) @cond_resched() #3 %72 = add nuw nsw i64 %64, 1 %73 = icmp eq i64 %72, %57 br i1 %73, label %74, label %63, !llvm.loop !11 74: ; preds = %70, %54 %75 = load ptr, ptr %9, align 8, !tbaa !5 %76 = call i32 @test_hash_vs_generic_impl(ptr noundef %2, ptr noundef %5, i32 noundef %6, ptr noundef nonnull %19, ptr noundef %75, ptr noundef nonnull %30, ptr noundef nonnull %52) #3 br label %80 77: ; preds = %25, %35, %21 %78 = phi i32 [ %24, %21 ], [ %39, %35 ], [ %26, %25 ] %79 = call i32 @kfree(ptr noundef null) #3 br label %87 80: ; preds = %63, %74 %81 = phi i32 [ %76, %74 ], [ %68, %63 ] %82 = call i32 @kfree(ptr noundef nonnull %52) #3 br label %83 83: ; preds = %80, %58 %84 = phi i32 [ %61, %58 ], [ %81, %80 ] %85 = call i32 @destroy_test_sglist(ptr noundef nonnull %30) #3 %86 = call i32 @kfree(ptr noundef nonnull %30) #3 br label %87 87: ; preds = %77, %83 %88 = phi i32 [ %78, %77 ], [ %84, %83 ] %89 = load ptr, ptr %9, align 8, !tbaa !5 %90 = call i32 @kfree(ptr noundef %89) #3 %91 = load ptr, ptr %8, align 8, !tbaa !5 %92 = call i32 @crypto_free_shash(ptr noundef %91) #3 %93 = call i32 @ahash_request_free(ptr noundef %19) #3 %94 = call i32 @crypto_free_ahash(ptr noundef %10) #3 br label %95 95: ; preds = %87, %13 %96 = phi i32 [ %16, %13 ], [ %88, %87 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 ret i32 %96 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @crypto_alloc_ahash(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare ptr @ahash_request_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @alloc_shash(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @init_test_sglist(ptr noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_ahash_statesize(ptr noundef) local_unnamed_addr #2 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @crypto_shash_statesize(ptr noundef) local_unnamed_addr #2 declare i32 @test_hash_vec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cond_resched(...) local_unnamed_addr #2 declare i32 @test_hash_vs_generic_impl(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @destroy_test_sglist(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_free_shash(ptr noundef) local_unnamed_addr #2 declare i32 @ahash_request_free(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_free_ahash(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 = !{!"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} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/crypto/extr_testmgr.c___alg_test_hash.c' source_filename = "AnghaBench/linux/crypto/extr_testmgr.c___alg_test_hash.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.hash_testvec = type { i32 } @.str = private unnamed_addr constant [53 x i8] c"alg: hash: failed to allocate transform for %s: %ld\0A\00", align 1 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"alg: hash: failed to allocate request for %s\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [51 x i8] c"alg: hash: failed to allocate test buffers for %s\0A\00", align 1 @TESTMGR_POISON_LEN = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [56 x i8] c"alg: hash: failed to allocate hash state buffer for %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @__alg_test_hash], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__alg_test_hash(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 store ptr null, ptr %8, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 store ptr null, ptr %9, align 8, !tbaa !6 %10 = tail call ptr @crypto_alloc_ahash(ptr noundef %2, i32 noundef %3, i32 noundef %4) #3 %11 = tail call i64 @IS_ERR(ptr noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %7 %14 = tail call i32 @PTR_ERR(ptr noundef %10) #3 %15 = tail call i32 (ptr, ptr, ...) @pr_err(ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %14) #3 %16 = tail call i32 @PTR_ERR(ptr noundef %10) #3 br label %95 17: ; preds = %7 %18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %19 = tail call ptr @ahash_request_alloc(ptr noundef %10, i32 noundef %18) #3 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %17 %22 = tail call i32 (ptr, ptr, ...) @pr_err(ptr noundef nonnull @.str.1, ptr noundef %2) #3 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %24 = sub nsw i32 0, %23 br label %77 25: ; preds = %17 %26 = call i32 @alloc_shash(ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef nonnull %9) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %77 28: ; preds = %25 %29 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %30 = call ptr @kmalloc(i32 noundef 4, i32 noundef %29) #3 %31 = icmp eq ptr %30, null br i1 %31, label %35, label %32 32: ; preds = %28 %33 = call i64 @init_test_sglist(ptr noundef nonnull %30) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %32, %28 %36 = call i32 (ptr, ptr, ...) @pr_err(ptr noundef nonnull @.str.2, ptr noundef %2) #3 %37 = call i32 @kfree(ptr noundef %30) #3 %38 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %39 = sub nsw i32 0, %38 br label %77 40: ; preds = %32 %41 = call i32 @crypto_ahash_statesize(ptr noundef %10) #3 %42 = load ptr, ptr %8, align 8, !tbaa !6 %43 = icmp eq ptr %42, null br i1 %43, label %47, label %44 44: ; preds = %40 %45 = call i32 @crypto_shash_statesize(ptr noundef nonnull %42) #3 %46 = call i32 @max(i32 noundef %41, i32 noundef %45) #3 br label %47 47: ; preds = %44, %40 %48 = phi i32 [ %46, %44 ], [ %41, %40 ] %49 = load i32, ptr @TESTMGR_POISON_LEN, align 4, !tbaa !10 %50 = add i32 %49, %48 %51 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %52 = call ptr @kmalloc(i32 noundef %50, i32 noundef %51) #3 %53 = icmp eq ptr %52, null br i1 %53, label %58, label %54 54: ; preds = %47 %55 = icmp eq i32 %1, 0 br i1 %55, label %74, label %56 56: ; preds = %54 %57 = zext i32 %1 to i64 br label %63 58: ; preds = %47 %59 = call i32 (ptr, ptr, ...) @pr_err(ptr noundef nonnull @.str.3, ptr noundef %2) #3 %60 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %61 = sub nsw i32 0, %60 %62 = call i32 @kfree(ptr noundef null) #3 br label %83 63: ; preds = %56, %70 %64 = phi i64 [ 0, %56 ], [ %72, %70 ] %65 = getelementptr inbounds %struct.hash_testvec, ptr %0, i64 %64 %66 = load ptr, ptr %9, align 8, !tbaa !6 %67 = trunc nuw i64 %64 to i32 %68 = call i32 @test_hash_vec(ptr noundef %2, ptr noundef %65, i32 noundef %67, ptr noundef nonnull %19, ptr noundef %66, ptr noundef nonnull %30, ptr noundef nonnull %52) #3 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %80 70: ; preds = %63 %71 = call i32 @cond_resched() #3 %72 = add nuw nsw i64 %64, 1 %73 = icmp eq i64 %72, %57 br i1 %73, label %74, label %63, !llvm.loop !12 74: ; preds = %70, %54 %75 = load ptr, ptr %9, align 8, !tbaa !6 %76 = call i32 @test_hash_vs_generic_impl(ptr noundef %2, ptr noundef %5, i32 noundef %6, ptr noundef nonnull %19, ptr noundef %75, ptr noundef nonnull %30, ptr noundef nonnull %52) #3 br label %80 77: ; preds = %25, %35, %21 %78 = phi i32 [ %24, %21 ], [ %39, %35 ], [ %26, %25 ] %79 = call i32 @kfree(ptr noundef null) #3 br label %87 80: ; preds = %63, %74 %81 = phi i32 [ %76, %74 ], [ %68, %63 ] %82 = call i32 @kfree(ptr noundef nonnull %52) #3 br label %83 83: ; preds = %80, %58 %84 = phi i32 [ %61, %58 ], [ %81, %80 ] %85 = call i32 @destroy_test_sglist(ptr noundef nonnull %30) #3 %86 = call i32 @kfree(ptr noundef nonnull %30) #3 br label %87 87: ; preds = %77, %83 %88 = phi i32 [ %78, %77 ], [ %84, %83 ] %89 = load ptr, ptr %9, align 8, !tbaa !6 %90 = call i32 @kfree(ptr noundef %89) #3 %91 = load ptr, ptr %8, align 8, !tbaa !6 %92 = call i32 @crypto_free_shash(ptr noundef %91) #3 %93 = call i32 @ahash_request_free(ptr noundef %19) #3 %94 = call i32 @crypto_free_ahash(ptr noundef %10) #3 br label %95 95: ; preds = %87, %13 %96 = phi i32 [ %16, %13 ], [ %88, %87 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 ret i32 %96 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @crypto_alloc_ahash(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare ptr @ahash_request_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @alloc_shash(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @init_test_sglist(ptr noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_ahash_statesize(ptr noundef) local_unnamed_addr #2 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @crypto_shash_statesize(ptr noundef) local_unnamed_addr #2 declare i32 @test_hash_vec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cond_resched(...) local_unnamed_addr #2 declare i32 @test_hash_vs_generic_impl(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @destroy_test_sglist(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_free_shash(ptr noundef) local_unnamed_addr #2 declare i32 @ahash_request_free(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_free_ahash(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 = !{!"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} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_crypto_extr_testmgr.c___alg_test_hash
; ModuleID = 'AnghaBench/vlc/modules/hw/d3d11/extr_d3d11_surface.c_DeleteFilter.c' source_filename = "AnghaBench/vlc/modules/hw/d3d11/extr_d3d11_surface.c_DeleteFilter.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, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @DeleteFilter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @DeleteFilter(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @module_unneed(ptr noundef nonnull %0, i64 noundef %3) #2 br label %7 7: ; preds = %5, %1 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %9 = tail call i32 @es_format_Clean(ptr noundef nonnull %8) #2 %10 = tail call i32 @es_format_Clean(ptr noundef nonnull %0) #2 %11 = tail call i32 @vlc_object_delete(ptr noundef nonnull %0) #2 ret void } declare i32 @module_unneed(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @es_format_Clean(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_object_delete(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 8} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/hw/d3d11/extr_d3d11_surface.c_DeleteFilter.c' source_filename = "AnghaBench/vlc/modules/hw/d3d11/extr_d3d11_surface.c_DeleteFilter.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 @DeleteFilter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @DeleteFilter(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @module_unneed(ptr noundef nonnull %0, i64 noundef %3) #2 br label %7 7: ; preds = %5, %1 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = tail call i32 @es_format_Clean(ptr noundef nonnull %8) #2 %10 = tail call i32 @es_format_Clean(ptr noundef nonnull %0) #2 %11 = tail call i32 @vlc_object_delete(ptr noundef nonnull %0) #2 ret void } declare i32 @module_unneed(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @es_format_Clean(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_object_delete(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 8} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0}
vlc_modules_hw_d3d11_extr_d3d11_surface.c_DeleteFilter
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_tscs42xx.c_dac_event.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_tscs42xx.c_dac_event.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.tscs42xx = type { i32, i32, i32 } @COEFF_RAM_COEFF_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dac_event], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dac_event(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call ptr @snd_soc_dapm_to_component(i32 noundef %4) #2 %6 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %5) #2 %7 = getelementptr inbounds %struct.tscs42xx, ptr %6, i64 0, i32 1 %8 = tail call i32 @mutex_lock(ptr noundef nonnull %7) #2 %9 = load i32, ptr %6, align 4, !tbaa !10 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %3 %12 = getelementptr inbounds %struct.tscs42xx, ptr %6, i64 0, i32 2 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = load i32, ptr @COEFF_RAM_COEFF_COUNT, align 4, !tbaa !13 %15 = tail call i32 @write_coeff_ram(ptr noundef %5, i32 noundef %13, i32 noundef 0, i32 noundef %14) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %11 store i32 1, ptr %6, align 4, !tbaa !10 br label %18 18: ; preds = %3, %17, %11 %19 = phi i32 [ %15, %11 ], [ 0, %17 ], [ 0, %3 ] %20 = tail call i32 @mutex_unlock(ptr noundef nonnull %7) #2 ret i32 %19 } declare ptr @snd_soc_dapm_to_component(i32 noundef) local_unnamed_addr #1 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @write_coeff_ram(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_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, !7, i64 0} !6 = !{!"snd_soc_dapm_widget", !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 = !{!"tscs42xx", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 8} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_tscs42xx.c_dac_event.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_tscs42xx.c_dac_event.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @COEFF_RAM_COEFF_COUNT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dac_event], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @dac_event(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call ptr @snd_soc_dapm_to_component(i32 noundef %4) #2 %6 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %5) #2 %7 = getelementptr inbounds i8, ptr %6, i64 4 %8 = tail call i32 @mutex_lock(ptr noundef nonnull %7) #2 %9 = load i32, ptr %6, align 4, !tbaa !11 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %3 %12 = getelementptr inbounds i8, ptr %6, i64 8 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = load i32, ptr @COEFF_RAM_COEFF_COUNT, align 4, !tbaa !14 %15 = tail call i32 @write_coeff_ram(ptr noundef %5, i32 noundef %13, i32 noundef 0, i32 noundef %14) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %11 store i32 1, ptr %6, align 4, !tbaa !11 br label %18 18: ; preds = %3, %17, %11 %19 = phi i32 [ %15, %11 ], [ 0, %17 ], [ 0, %3 ] %20 = tail call i32 @mutex_unlock(ptr noundef nonnull %7) #2 ret i32 %19 } declare ptr @snd_soc_dapm_to_component(i32 noundef) local_unnamed_addr #1 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @write_coeff_ram(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_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, !8, i64 0} !7 = !{!"snd_soc_dapm_widget", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"tscs42xx", !8, i64 0, !8, i64 4, !8, i64 8} !13 = !{!12, !8, i64 8} !14 = !{!8, !8, i64 0}
linux_sound_soc_codecs_extr_tscs42xx.c_dac_event
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_socket.c_sodisconnect.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_socket.c_sodisconnect.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.socket = type { i32, ptr } @SS_ISCONNECTED = dso_local local_unnamed_addr global i32 0, align 4 @ENOTCONN = dso_local local_unnamed_addr global i32 0, align 4 @SS_ISDISCONNECTING = dso_local local_unnamed_addr global i32 0, align 4 @EALREADY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sodisconnect(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @SS_ISCONNECTED, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load i32, ptr @ENOTCONN, align 4, !tbaa !11 br label %21 8: ; preds = %1 %9 = load i32, ptr @SS_ISDISCONNECTING, align 4, !tbaa !11 %10 = and i32 %9, %2 %11 = icmp eq i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %8 %13 = load i32, ptr @EALREADY, align 4, !tbaa !11 br label %21 14: ; preds = %8 %15 = tail call i32 @VNET_SO_ASSERT(ptr noundef nonnull %0) #2 %16 = getelementptr inbounds %struct.socket, ptr %0, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !12 %18 = load ptr, ptr %17, align 8, !tbaa !13 %19 = load ptr, ptr %18, align 8, !tbaa !15 %20 = tail call i32 %19(ptr noundef nonnull %0) #2 br label %21 21: ; preds = %14, %12, %6 %22 = phi i32 [ %7, %6 ], [ %13, %12 ], [ %20, %14 ] ret i32 %22 } declare i32 @VNET_SO_ASSERT(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 = !{!"socket", !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 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_4__", !10, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_3__", !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_socket.c_sodisconnect.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_socket.c_sodisconnect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SS_ISCONNECTED = common local_unnamed_addr global i32 0, align 4 @ENOTCONN = common local_unnamed_addr global i32 0, align 4 @SS_ISDISCONNECTING = common local_unnamed_addr global i32 0, align 4 @EALREADY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sodisconnect(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @SS_ISCONNECTED, align 4, !tbaa !12 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load i32, ptr @ENOTCONN, align 4, !tbaa !12 br label %21 8: ; preds = %1 %9 = load i32, ptr @SS_ISDISCONNECTING, align 4, !tbaa !12 %10 = and i32 %9, %2 %11 = icmp eq i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %8 %13 = load i32, ptr @EALREADY, align 4, !tbaa !12 br label %21 14: ; preds = %8 %15 = tail call i32 @VNET_SO_ASSERT(ptr noundef nonnull %0) #2 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !13 %18 = load ptr, ptr %17, align 8, !tbaa !14 %19 = load ptr, ptr %18, align 8, !tbaa !16 %20 = tail call i32 %19(ptr noundef nonnull %0) #2 br label %21 21: ; preds = %14, %12, %6 %22 = phi i32 [ %7, %6 ], [ %13, %12 ], [ %20, %14 ] ret i32 %22 } declare i32 @VNET_SO_ASSERT(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 = !{!"socket", !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 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_4__", !11, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_3__", !11, i64 0}
freebsd_sys_kern_extr_uipc_socket.c_sodisconnect
; ModuleID = 'AnghaBench/linux/security/tomoyo/extr_file.c_tomoyo_update_path_number_acl.c' source_filename = "AnghaBench/linux/security/tomoyo/extr_file.c_tomoyo_update_path_number_acl.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.tomoyo_path_number_acl = type { i32, i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @TOMOYO_TYPE_PATH_NUMBER_ACL = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @tomoyo_same_path_number_acl = dso_local local_unnamed_addr global i32 0, align 4 @tomoyo_merge_path_number_acl = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tomoyo_update_path_number_acl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tomoyo_update_path_number_acl(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.tomoyo_path_number_acl, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.tomoyo_path_number_acl, ptr %3, i64 0, i32 1 store i32 0, ptr %4, align 4, !tbaa !11 %5 = getelementptr inbounds %struct.tomoyo_path_number_acl, ptr %3, i64 0, i32 2 %6 = load i32, ptr @TOMOYO_TYPE_PATH_NUMBER_ACL, align 4, !tbaa !12 store i32 %6, ptr %5, align 4, !tbaa !13 %7 = getelementptr inbounds %struct.tomoyo_path_number_acl, ptr %3, i64 0, i32 3 store i32 %0, ptr %7, align 4, !tbaa !14 %8 = call i32 @tomoyo_parse_name_union(ptr noundef %1, ptr noundef nonnull %4) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = call i32 @tomoyo_parse_number_union(ptr noundef %1, ptr noundef nonnull %3) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10, %2 %14 = load i32, ptr @EINVAL, align 4, !tbaa !12 %15 = sub nsw i32 0, %14 br label %20 16: ; preds = %10 %17 = load i32, ptr @tomoyo_same_path_number_acl, align 4, !tbaa !12 %18 = load i32, ptr @tomoyo_merge_path_number_acl, align 4, !tbaa !12 %19 = call i32 @tomoyo_update_domain(ptr noundef nonnull %5, i32 noundef 16, ptr noundef %1, i32 noundef %17, i32 noundef %18) #3 br label %20 20: ; preds = %16, %13 %21 = phi i32 [ %19, %16 ], [ %15, %13 ] %22 = call i32 @tomoyo_put_name_union(ptr noundef nonnull %4) #3 %23 = call i32 @tomoyo_put_number_union(ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @tomoyo_parse_name_union(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tomoyo_parse_number_union(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tomoyo_update_domain(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tomoyo_put_name_union(ptr noundef) local_unnamed_addr #2 declare i32 @tomoyo_put_number_union(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 0} !6 = !{!"tomoyo_path_number_acl", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!7, !7, i64 0} !13 = !{!10, !7, i64 0} !14 = !{!6, !7, i64 12}
; ModuleID = 'AnghaBench/linux/security/tomoyo/extr_file.c_tomoyo_update_path_number_acl.c' source_filename = "AnghaBench/linux/security/tomoyo/extr_file.c_tomoyo_update_path_number_acl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.tomoyo_path_number_acl = type { i32, i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @TOMOYO_TYPE_PATH_NUMBER_ACL = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @tomoyo_same_path_number_acl = common local_unnamed_addr global i32 0, align 4 @tomoyo_merge_path_number_acl = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tomoyo_update_path_number_acl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tomoyo_update_path_number_acl(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.tomoyo_path_number_acl, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = getelementptr inbounds i8, ptr %3, i64 4 store <2 x i32> zeroinitializer, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load i32, ptr @TOMOYO_TYPE_PATH_NUMBER_ACL, align 4, !tbaa !6 store i32 %6, ptr %5, align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %3, i64 12 store i32 %0, ptr %7, align 4, !tbaa !12 %8 = call i32 @tomoyo_parse_name_union(ptr noundef %1, ptr noundef nonnull %4) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = call i32 @tomoyo_parse_number_union(ptr noundef %1, ptr noundef nonnull %3) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10, %2 %14 = load i32, ptr @EINVAL, align 4, !tbaa !6 %15 = sub nsw i32 0, %14 br label %20 16: ; preds = %10 %17 = load i32, ptr @tomoyo_same_path_number_acl, align 4, !tbaa !6 %18 = load i32, ptr @tomoyo_merge_path_number_acl, align 4, !tbaa !6 %19 = call i32 @tomoyo_update_domain(ptr noundef nonnull %5, i32 noundef 16, ptr noundef %1, i32 noundef %17, i32 noundef %18) #3 br label %20 20: ; preds = %16, %13 %21 = phi i32 [ %19, %16 ], [ %15, %13 ] %22 = call i32 @tomoyo_put_name_union(ptr noundef nonnull %4) #3 %23 = call i32 @tomoyo_put_number_union(ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @tomoyo_parse_name_union(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tomoyo_parse_number_union(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tomoyo_update_domain(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tomoyo_put_name_union(ptr noundef) local_unnamed_addr #2 declare i32 @tomoyo_put_number_union(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 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !7, i64 12} !13 = !{!"tomoyo_path_number_acl", !7, i64 0, !7, i64 4, !11, i64 8, !7, i64 12}
linux_security_tomoyo_extr_file.c_tomoyo_update_path_number_acl
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/intel_th/extr_core.c_intel_th_match.c' source_filename = "AnghaBench/linux/drivers/hwtracing/intel_th/extr_core.c_intel_th_match.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.intel_th_driver = type { i32, i32 } %struct.intel_th_device = type { i64, i32 } @INTEL_TH_SWITCH = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_th_match], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @intel_th_match(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @to_intel_th_driver(ptr noundef %1) #2 %4 = tail call ptr @to_intel_th_device(ptr noundef %0) #2 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = load i64, ptr @INTEL_TH_SWITCH, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = getelementptr inbounds %struct.intel_th_driver, ptr %3, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = icmp eq i32 %10, 0 br i1 %11, label %22, label %12 12: ; preds = %8 %13 = load i32, ptr %3, align 4, !tbaa !14 %14 = icmp eq i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %12, %2 %16 = getelementptr inbounds %struct.intel_th_device, ptr %4, i64 0, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !15 %18 = load i32, ptr %1, align 4, !tbaa !16 %19 = tail call i32 @strcmp(i32 noundef %17, i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 %21 = zext i1 %20 to i32 br label %22 22: ; preds = %8, %12, %15 %23 = phi i32 [ %21, %15 ], [ 0, %12 ], [ 0, %8 ] ret i32 %23 } declare ptr @to_intel_th_driver(ptr noundef) local_unnamed_addr #1 declare ptr @to_intel_th_device(ptr noundef) local_unnamed_addr #1 declare i32 @strcmp(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 = !{!"intel_th_device", !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 = !{!7, !7, i64 0} !12 = !{!13, !10, i64 4} !13 = !{!"intel_th_driver", !10, i64 0, !10, i64 4} !14 = !{!13, !10, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!17, !10, i64 0} !17 = !{!"device_driver", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/intel_th/extr_core.c_intel_th_match.c' source_filename = "AnghaBench/linux/drivers/hwtracing/intel_th/extr_core.c_intel_th_match.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INTEL_TH_SWITCH = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @intel_th_match], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @intel_th_match(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @to_intel_th_driver(ptr noundef %1) #2 %4 = tail call ptr @to_intel_th_device(ptr noundef %0) #2 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = load i64, ptr @INTEL_TH_SWITCH, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %3, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = icmp eq i32 %10, 0 br i1 %11, label %22, label %12 12: ; preds = %8 %13 = load i32, ptr %3, align 4, !tbaa !15 %14 = icmp eq i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %12, %2 %16 = getelementptr inbounds i8, ptr %4, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = load i32, ptr %1, align 4, !tbaa !17 %19 = tail call i32 @strcmp(i32 noundef %17, i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 %21 = zext i1 %20 to i32 br label %22 22: ; preds = %8, %12, %15 %23 = phi i32 [ %21, %15 ], [ 0, %12 ], [ 0, %8 ] ret i32 %23 } declare ptr @to_intel_th_driver(ptr noundef) local_unnamed_addr #1 declare ptr @to_intel_th_device(ptr noundef) local_unnamed_addr #1 declare i32 @strcmp(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 = !{!"intel_th_device", !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 = !{!8, !8, i64 0} !13 = !{!14, !11, i64 4} !14 = !{!"intel_th_driver", !11, i64 0, !11, i64 4} !15 = !{!14, !11, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!18, !11, i64 0} !18 = !{!"device_driver", !11, i64 0}
linux_drivers_hwtracing_intel_th_extr_core.c_intel_th_match
; ModuleID = 'AnghaBench/linux/drivers/md/bcache/extr_bset.c_inorder_to_tree.c' source_filename = "AnghaBench/linux/drivers/md/bcache/extr_bset.c_inorder_to_tree.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.bset_tree = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @inorder_to_tree], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @inorder_to_tree(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.bset_tree, ptr %1, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = load i32, ptr %1, align 4, !tbaa !10 %6 = tail call i32 @__inorder_to_tree(i32 noundef %0, i32 noundef %4, i32 noundef %5) #2 ret i32 %6 } declare i32 @__inorder_to_tree(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 4} !6 = !{!"bset_tree", !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 0}
; ModuleID = 'AnghaBench/linux/drivers/md/bcache/extr_bset.c_inorder_to_tree.c' source_filename = "AnghaBench/linux/drivers/md/bcache/extr_bset.c_inorder_to_tree.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 @inorder_to_tree], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @inorder_to_tree(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = load i32, ptr %1, align 4, !tbaa !11 %6 = tail call i32 @__inorder_to_tree(i32 noundef %0, i32 noundef %4, i32 noundef %5) #2 ret i32 %6 } declare i32 @__inorder_to_tree(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 4} !7 = !{!"bset_tree", !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 0}
linux_drivers_md_bcache_extr_bset.c_inorder_to_tree
; ModuleID = 'AnghaBench/linux/sound/drivers/extr_portman2x4.c_portman_write_data.c' source_filename = "AnghaBench/linux/sound/drivers/extr_portman2x4.c_portman_write_data.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 @portman_write_data], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @portman_write_data(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = tail call i32 @parport_write_data(i32 noundef %4, i32 noundef %1) #2 ret void } declare i32 @parport_write_data(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 = !{!"portman", !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_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/sound/drivers/extr_portman2x4.c_portman_write_data.c' source_filename = "AnghaBench/linux/sound/drivers/extr_portman2x4.c_portman_write_data.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 @portman_write_data], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @portman_write_data(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = tail call i32 @parport_write_data(i32 noundef %4, i32 noundef %1) #2 ret void } declare i32 @parport_write_data(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 = !{!"portman", !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_2__", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_sound_drivers_extr_portman2x4.c_portman_write_data
; ModuleID = 'AnghaBench/linux/sound/spi/extr_at73c213.c_snd_at73c213_remove.c' source_filename = "AnghaBench/linux/sound/spi/extr_at73c213.c_snd_at73c213_remove.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.snd_at73c213 = type { ptr, ptr, ptr } %struct.TYPE_4__ = type { i32, i32 } @CR = dso_local local_unnamed_addr global i32 0, align 4 @CR_TXDIS = dso_local local_unnamed_addr global i32 0, align 4 @DAC_LMPG = dso_local local_unnamed_addr global i64 0, align 8 @DAC_RMPG = dso_local local_unnamed_addr global i64 0, align 8 @DAC_LLOG = dso_local local_unnamed_addr global i64 0, align 8 @DAC_RLOG = dso_local local_unnamed_addr global i64 0, align 8 @DAC_LLIG = dso_local local_unnamed_addr global i64 0, align 8 @DAC_RLIG = dso_local local_unnamed_addr global i64 0, align 8 @DAC_AUXG = dso_local local_unnamed_addr global i64 0, align 8 @PA_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @PA_CTRL_APALP = dso_local local_unnamed_addr global i32 0, align 4 @DAC_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @DAC_PRECH = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_at73c213_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @snd_at73c213_remove(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.snd_at73c213, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @clk_enable(i32 noundef %6) #2 %8 = load ptr, ptr %4, align 8, !tbaa !10 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !15 %11 = load i32, ptr @CR, align 4, !tbaa !16 %12 = load i32, ptr @CR_TXDIS, align 4, !tbaa !16 %13 = tail call i32 @SSC_BIT(i32 noundef %12) #2 %14 = tail call i32 @ssc_writel(i32 noundef %10, i32 noundef %11, i32 noundef %13) #2 %15 = load ptr, ptr %4, align 8, !tbaa !10 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = tail call i32 @clk_disable(i32 noundef %16) #2 %18 = load i64, ptr @DAC_LMPG, align 8, !tbaa !17 %19 = tail call i32 @snd_at73c213_write_reg(ptr noundef %3, i64 noundef %18, i32 noundef 63) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %73 21: ; preds = %1 %22 = load i64, ptr @DAC_RMPG, align 8, !tbaa !17 %23 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %22, i32 noundef 63) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %73 25: ; preds = %21 %26 = load i64, ptr @DAC_LLOG, align 8, !tbaa !17 %27 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %26, i32 noundef 63) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %73 29: ; preds = %25 %30 = load i64, ptr @DAC_RLOG, align 8, !tbaa !17 %31 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %30, i32 noundef 63) #2 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %73 33: ; preds = %29 %34 = load i64, ptr @DAC_LLIG, align 8, !tbaa !17 %35 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %34, i32 noundef 17) #2 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %73 37: ; preds = %33 %38 = load i64, ptr @DAC_RLIG, align 8, !tbaa !17 %39 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %38, i32 noundef 17) #2 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %73 41: ; preds = %37 %42 = load i64, ptr @DAC_AUXG, align 8, !tbaa !17 %43 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %42, i32 noundef 17) #2 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %73 45: ; preds = %41 %46 = load i64, ptr @PA_CTRL, align 8, !tbaa !17 %47 = load ptr, ptr %3, align 8, !tbaa !19 %48 = getelementptr inbounds i32, ptr %47, i64 %46 %49 = load i32, ptr %48, align 4, !tbaa !16 %50 = or i32 %49, 15 %51 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %46, i32 noundef %50) #2 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %73 53: ; preds = %45 %54 = tail call i32 @msleep(i32 noundef 10) #2 %55 = load i64, ptr @PA_CTRL, align 8, !tbaa !17 %56 = load i32, ptr @PA_CTRL_APALP, align 4, !tbaa !16 %57 = shl nuw i32 1, %56 %58 = or i32 %57, 15 %59 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %55, i32 noundef %58) #2 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %73 61: ; preds = %53 %62 = load i64, ptr @DAC_CTRL, align 8, !tbaa !17 %63 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %62, i32 noundef 12) #2 %64 = icmp eq i32 %63, 0 br i1 %64, label %65, label %73 65: ; preds = %61 %66 = tail call i32 @msleep(i32 noundef 2) #2 %67 = load i64, ptr @DAC_CTRL, align 8, !tbaa !17 %68 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %67, i32 noundef 0) #2 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %65 %71 = load i64, ptr @DAC_PRECH, align 8, !tbaa !17 %72 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %71, i32 noundef 0) #2 br label %73 73: ; preds = %70, %65, %61, %53, %45, %41, %37, %33, %29, %25, %21, %1 %74 = getelementptr inbounds %struct.snd_at73c213, ptr %3, i64 0, i32 2 %75 = load ptr, ptr %74, align 8, !tbaa !20 %76 = load i32, ptr %75, align 4, !tbaa !21 %77 = tail call i32 @clk_disable(i32 noundef %76) #2 %78 = load ptr, ptr %4, align 8, !tbaa !10 %79 = tail call i32 @ssc_free(ptr noundef %78) #2 %80 = tail call i32 @snd_card_free(ptr noundef nonnull %2) #2 ret i32 0 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @clk_enable(i32 noundef) local_unnamed_addr #1 declare i32 @ssc_writel(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SSC_BIT(i32 noundef) local_unnamed_addr #1 declare i32 @clk_disable(i32 noundef) local_unnamed_addr #1 declare i32 @snd_at73c213_write_reg(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @ssc_free(ptr noundef) local_unnamed_addr #1 declare i32 @snd_card_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, !7, i64 0} !6 = !{!"snd_card", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"snd_at73c213", !7, i64 0, !7, i64 8, !7, i64 16} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_4__", !14, i64 0, !14, i64 4} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 4} !16 = !{!14, !14, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !8, i64 0} !19 = !{!11, !7, i64 0} !20 = !{!11, !7, i64 16} !21 = !{!22, !14, i64 0} !22 = !{!"TYPE_3__", !14, i64 0}
; ModuleID = 'AnghaBench/linux/sound/spi/extr_at73c213.c_snd_at73c213_remove.c' source_filename = "AnghaBench/linux/sound/spi/extr_at73c213.c_snd_at73c213_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CR = common local_unnamed_addr global i32 0, align 4 @CR_TXDIS = common local_unnamed_addr global i32 0, align 4 @DAC_LMPG = common local_unnamed_addr global i64 0, align 8 @DAC_RMPG = common local_unnamed_addr global i64 0, align 8 @DAC_LLOG = common local_unnamed_addr global i64 0, align 8 @DAC_RLOG = common local_unnamed_addr global i64 0, align 8 @DAC_LLIG = common local_unnamed_addr global i64 0, align 8 @DAC_RLIG = common local_unnamed_addr global i64 0, align 8 @DAC_AUXG = common local_unnamed_addr global i64 0, align 8 @PA_CTRL = common local_unnamed_addr global i64 0, align 8 @PA_CTRL_APALP = common local_unnamed_addr global i32 0, align 4 @DAC_CTRL = common local_unnamed_addr global i64 0, align 8 @DAC_PRECH = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @snd_at73c213_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @snd_at73c213_remove(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = tail call i32 @clk_enable(i32 noundef %6) #2 %8 = load ptr, ptr %4, align 8, !tbaa !11 %9 = getelementptr inbounds i8, ptr %8, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !16 %11 = load i32, ptr @CR, align 4, !tbaa !17 %12 = load i32, ptr @CR_TXDIS, align 4, !tbaa !17 %13 = tail call i32 @SSC_BIT(i32 noundef %12) #2 %14 = tail call i32 @ssc_writel(i32 noundef %10, i32 noundef %11, i32 noundef %13) #2 %15 = load ptr, ptr %4, align 8, !tbaa !11 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = tail call i32 @clk_disable(i32 noundef %16) #2 %18 = load i64, ptr @DAC_LMPG, align 8, !tbaa !18 %19 = tail call i32 @snd_at73c213_write_reg(ptr noundef %3, i64 noundef %18, i32 noundef 63) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %73 21: ; preds = %1 %22 = load i64, ptr @DAC_RMPG, align 8, !tbaa !18 %23 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %22, i32 noundef 63) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %73 25: ; preds = %21 %26 = load i64, ptr @DAC_LLOG, align 8, !tbaa !18 %27 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %26, i32 noundef 63) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %73 29: ; preds = %25 %30 = load i64, ptr @DAC_RLOG, align 8, !tbaa !18 %31 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %30, i32 noundef 63) #2 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %73 33: ; preds = %29 %34 = load i64, ptr @DAC_LLIG, align 8, !tbaa !18 %35 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %34, i32 noundef 17) #2 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %73 37: ; preds = %33 %38 = load i64, ptr @DAC_RLIG, align 8, !tbaa !18 %39 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %38, i32 noundef 17) #2 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %73 41: ; preds = %37 %42 = load i64, ptr @DAC_AUXG, align 8, !tbaa !18 %43 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %42, i32 noundef 17) #2 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %73 45: ; preds = %41 %46 = load i64, ptr @PA_CTRL, align 8, !tbaa !18 %47 = load ptr, ptr %3, align 8, !tbaa !20 %48 = getelementptr inbounds i32, ptr %47, i64 %46 %49 = load i32, ptr %48, align 4, !tbaa !17 %50 = or i32 %49, 15 %51 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %46, i32 noundef %50) #2 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %73 53: ; preds = %45 %54 = tail call i32 @msleep(i32 noundef 10) #2 %55 = load i64, ptr @PA_CTRL, align 8, !tbaa !18 %56 = load i32, ptr @PA_CTRL_APALP, align 4, !tbaa !17 %57 = shl nuw i32 1, %56 %58 = or i32 %57, 15 %59 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %55, i32 noundef %58) #2 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %73 61: ; preds = %53 %62 = load i64, ptr @DAC_CTRL, align 8, !tbaa !18 %63 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %62, i32 noundef 12) #2 %64 = icmp eq i32 %63, 0 br i1 %64, label %65, label %73 65: ; preds = %61 %66 = tail call i32 @msleep(i32 noundef 2) #2 %67 = load i64, ptr @DAC_CTRL, align 8, !tbaa !18 %68 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %67, i32 noundef 0) #2 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %65 %71 = load i64, ptr @DAC_PRECH, align 8, !tbaa !18 %72 = tail call i32 @snd_at73c213_write_reg(ptr noundef nonnull %3, i64 noundef %71, i32 noundef 0) #2 br label %73 73: ; preds = %70, %65, %61, %53, %45, %41, %37, %33, %29, %25, %21, %1 %74 = getelementptr inbounds i8, ptr %3, i64 16 %75 = load ptr, ptr %74, align 8, !tbaa !21 %76 = load i32, ptr %75, align 4, !tbaa !22 %77 = tail call i32 @clk_disable(i32 noundef %76) #2 %78 = load ptr, ptr %4, align 8, !tbaa !11 %79 = tail call i32 @ssc_free(ptr noundef %78) #2 %80 = tail call i32 @snd_card_free(ptr noundef nonnull %2) #2 ret i32 0 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @clk_enable(i32 noundef) local_unnamed_addr #1 declare i32 @ssc_writel(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SSC_BIT(i32 noundef) local_unnamed_addr #1 declare i32 @clk_disable(i32 noundef) local_unnamed_addr #1 declare i32 @snd_at73c213_write_reg(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @ssc_free(ptr noundef) local_unnamed_addr #1 declare i32 @snd_card_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, !8, i64 0} !7 = !{!"snd_card", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"snd_at73c213", !8, i64 0, !8, i64 8, !8, i64 16} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_4__", !15, i64 0, !15, i64 4} !15 = !{!"int", !9, i64 0} !16 = !{!14, !15, i64 4} !17 = !{!15, !15, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"long", !9, i64 0} !20 = !{!12, !8, i64 0} !21 = !{!12, !8, i64 16} !22 = !{!23, !15, i64 0} !23 = !{!"TYPE_3__", !15, i64 0}
linux_sound_spi_extr_at73c213.c_snd_at73c213_remove
; ModuleID = 'AnghaBench/freebsd/contrib/libc-pwcache/extr_pwcache.c_group_from_gid.c' source_filename = "AnghaBench/freebsd/contrib/libc-pwcache/extr_pwcache.c_group_from_gid.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, ptr } @gidtb = dso_local local_unnamed_addr global ptr null, align 8 @GID_SZ = dso_local local_unnamed_addr global i32 0, align 4 @VALID = dso_local local_unnamed_addr global i64 0, align 8 @gropn = dso_local local_unnamed_addr global i32 0, align 4 @GNMLEN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 @INVALID = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @group_from_gid(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @gidtb, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %2 %6 = tail call i64 (...) @gidtb_start() #2 %7 = icmp slt i64 %6, 0 br i1 %7, label %72, label %8 8: ; preds = %5 %9 = load ptr, ptr @gidtb, align 8, !tbaa !5 br label %10 10: ; preds = %8, %2 %11 = phi ptr [ %9, %8 ], [ %3, %2 ] %12 = load i32, ptr @GID_SZ, align 4, !tbaa !9 %13 = srem i32 %0, %12 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %11, i64 %14 %16 = load ptr, ptr %15, align 8, !tbaa !5 %17 = icmp eq ptr %16, null br i1 %17, label %32, label %18 18: ; preds = %10 %19 = load i64, ptr %16, align 8, !tbaa !11 %20 = icmp sgt i64 %19, 0 br i1 %20, label %21, label %32 21: ; preds = %18 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !14 %24 = icmp eq i32 %23, %0 br i1 %24, label %25, label %32 25: ; preds = %21 %26 = icmp eq i32 %1, 0 %27 = load i64, ptr @VALID, align 8 %28 = icmp eq i64 %19, %27 %29 = select i1 %26, i1 true, i1 %28 br i1 %29, label %30, label %72 30: ; preds = %25 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %16, i64 0, i32 2 br label %69 32: ; preds = %21, %18, %10 %33 = load i32, ptr @gropn, align 4, !tbaa !9 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %32 %36 = tail call i32 @_pwcache_setgroupent(i32 noundef 1) #2 %37 = load i32, ptr @gropn, align 4, !tbaa !9 %38 = add nsw i32 %37, 1 store i32 %38, ptr @gropn, align 4, !tbaa !9 br label %39 39: ; preds = %35, %32 br i1 %17, label %40, label %43 40: ; preds = %39 %41 = tail call i64 @malloc(i32 noundef 24) #2 %42 = inttoptr i64 %41 to ptr store ptr %42, ptr %15, align 8, !tbaa !5 br label %43 43: ; preds = %40, %39 %44 = phi ptr [ %42, %40 ], [ %16, %39 ] %45 = tail call ptr @_pwcache_getgrgid(i32 noundef %0) #2 %46 = icmp eq ptr %45, null %47 = icmp eq ptr %44, null br i1 %46, label %48, label %58 48: ; preds = %43 br i1 %47, label %72, label %49 49: ; preds = %48 %50 = getelementptr inbounds %struct.TYPE_3__, ptr %44, i64 0, i32 1 store i32 %0, ptr %50, align 8, !tbaa !14 %51 = getelementptr inbounds %struct.TYPE_3__, ptr %44, i64 0, i32 2 %52 = load ptr, ptr %51, align 8, !tbaa !15 %53 = load i32, ptr @GNMLEN, align 4, !tbaa !9 %54 = sext i32 %0 to i64 %55 = tail call i32 @snprintf(ptr noundef %52, i32 noundef %53, ptr noundef nonnull @.str, i64 noundef %54) #2 %56 = load i64, ptr @INVALID, align 8, !tbaa !16 store i64 %56, ptr %44, align 8, !tbaa !11 %57 = icmp eq i32 %1, 0 br i1 %57, label %67, label %72 58: ; preds = %43 br i1 %47, label %69, label %59 59: ; preds = %58 %60 = getelementptr inbounds %struct.TYPE_3__, ptr %44, i64 0, i32 1 store i32 %0, ptr %60, align 8, !tbaa !14 %61 = getelementptr inbounds %struct.TYPE_3__, ptr %44, i64 0, i32 2 %62 = load ptr, ptr %61, align 8, !tbaa !15 %63 = load ptr, ptr %45, align 8, !tbaa !17 %64 = load i32, ptr @GNMLEN, align 4, !tbaa !9 %65 = tail call i32 @strlcpy(ptr noundef %62, ptr noundef %63, i32 noundef %64) #2 %66 = load i64, ptr @VALID, align 8, !tbaa !16 store i64 %66, ptr %44, align 8, !tbaa !11 br label %67 67: ; preds = %49, %59 %68 = getelementptr inbounds %struct.TYPE_3__, ptr %44, i64 0, i32 2 br label %69 69: ; preds = %58, %30, %67 %70 = phi ptr [ %68, %67 ], [ %31, %30 ], [ %45, %58 ] %71 = load ptr, ptr %70, align 8, !tbaa !5 br label %72 72: ; preds = %69, %49, %48, %25, %5 %73 = phi ptr [ null, %5 ], [ null, %25 ], [ null, %48 ], [ null, %49 ], [ %71, %69 ] ret ptr %73 } declare i64 @gidtb_start(...) local_unnamed_addr #1 declare i32 @_pwcache_setgroupent(i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare ptr @_pwcache_getgrgid(i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @strlcpy(ptr noundef, 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, !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} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0, !10, i64 8, !6, i64 16} !13 = !{!"long", !7, i64 0} !14 = !{!12, !10, i64 8} !15 = !{!12, !6, i64 16} !16 = !{!13, !13, i64 0} !17 = !{!18, !6, i64 0} !18 = !{!"group", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libc-pwcache/extr_pwcache.c_group_from_gid.c' source_filename = "AnghaBench/freebsd/contrib/libc-pwcache/extr_pwcache.c_group_from_gid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gidtb = common local_unnamed_addr global ptr null, align 8 @GID_SZ = common local_unnamed_addr global i32 0, align 4 @VALID = common local_unnamed_addr global i64 0, align 8 @gropn = common local_unnamed_addr global i32 0, align 4 @GNMLEN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 @INVALID = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @group_from_gid(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @gidtb, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %2 %6 = tail call i64 @gidtb_start() #2 %7 = icmp slt i64 %6, 0 br i1 %7, label %72, label %8 8: ; preds = %5 %9 = load ptr, ptr @gidtb, align 8, !tbaa !6 br label %10 10: ; preds = %8, %2 %11 = phi ptr [ %9, %8 ], [ %3, %2 ] %12 = load i32, ptr @GID_SZ, align 4, !tbaa !10 %13 = srem i32 %0, %12 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %11, i64 %14 %16 = load ptr, ptr %15, align 8, !tbaa !6 %17 = icmp eq ptr %16, null br i1 %17, label %32, label %18 18: ; preds = %10 %19 = load i64, ptr %16, align 8, !tbaa !12 %20 = icmp sgt i64 %19, 0 br i1 %20, label %21, label %32 21: ; preds = %18 %22 = getelementptr inbounds i8, ptr %16, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !15 %24 = icmp eq i32 %23, %0 br i1 %24, label %25, label %32 25: ; preds = %21 %26 = icmp eq i32 %1, 0 %27 = load i64, ptr @VALID, align 8 %28 = icmp eq i64 %19, %27 %29 = select i1 %26, i1 true, i1 %28 br i1 %29, label %30, label %72 30: ; preds = %25 %31 = getelementptr inbounds i8, ptr %16, i64 16 br label %69 32: ; preds = %21, %18, %10 %33 = load i32, ptr @gropn, align 4, !tbaa !10 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %39 35: ; preds = %32 %36 = tail call i32 @_pwcache_setgroupent(i32 noundef 1) #2 %37 = load i32, ptr @gropn, align 4, !tbaa !10 %38 = add nsw i32 %37, 1 store i32 %38, ptr @gropn, align 4, !tbaa !10 br label %39 39: ; preds = %35, %32 br i1 %17, label %40, label %43 40: ; preds = %39 %41 = tail call i64 @malloc(i32 noundef 24) #2 %42 = inttoptr i64 %41 to ptr store ptr %42, ptr %15, align 8, !tbaa !6 br label %43 43: ; preds = %40, %39 %44 = phi ptr [ %42, %40 ], [ %16, %39 ] %45 = tail call ptr @_pwcache_getgrgid(i32 noundef %0) #2 %46 = icmp eq ptr %45, null %47 = icmp eq ptr %44, null br i1 %46, label %48, label %58 48: ; preds = %43 br i1 %47, label %72, label %49 49: ; preds = %48 %50 = getelementptr inbounds i8, ptr %44, i64 8 store i32 %0, ptr %50, align 8, !tbaa !15 %51 = getelementptr inbounds i8, ptr %44, i64 16 %52 = load ptr, ptr %51, align 8, !tbaa !16 %53 = load i32, ptr @GNMLEN, align 4, !tbaa !10 %54 = sext i32 %0 to i64 %55 = tail call i32 @snprintf(ptr noundef %52, i32 noundef %53, ptr noundef nonnull @.str, i64 noundef %54) #2 %56 = load i64, ptr @INVALID, align 8, !tbaa !17 store i64 %56, ptr %44, align 8, !tbaa !12 %57 = icmp eq i32 %1, 0 br i1 %57, label %67, label %72 58: ; preds = %43 br i1 %47, label %69, label %59 59: ; preds = %58 %60 = getelementptr inbounds i8, ptr %44, i64 8 store i32 %0, ptr %60, align 8, !tbaa !15 %61 = getelementptr inbounds i8, ptr %44, i64 16 %62 = load ptr, ptr %61, align 8, !tbaa !16 %63 = load ptr, ptr %45, align 8, !tbaa !18 %64 = load i32, ptr @GNMLEN, align 4, !tbaa !10 %65 = tail call i32 @strlcpy(ptr noundef %62, ptr noundef %63, i32 noundef %64) #2 %66 = load i64, ptr @VALID, align 8, !tbaa !17 store i64 %66, ptr %44, align 8, !tbaa !12 br label %67 67: ; preds = %49, %59 %68 = getelementptr inbounds i8, ptr %44, i64 16 br label %69 69: ; preds = %58, %30, %67 %70 = phi ptr [ %68, %67 ], [ %31, %30 ], [ %45, %58 ] %71 = load ptr, ptr %70, align 8, !tbaa !6 br label %72 72: ; preds = %69, %49, %48, %25, %5 %73 = phi ptr [ null, %5 ], [ null, %25 ], [ null, %48 ], [ null, %49 ], [ %71, %69 ] ret ptr %73 } declare i64 @gidtb_start(...) local_unnamed_addr #1 declare i32 @_pwcache_setgroupent(i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare ptr @_pwcache_getgrgid(i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @strlcpy(ptr noundef, 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, !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} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0, !11, i64 8, !7, i64 16} !14 = !{!"long", !8, i64 0} !15 = !{!13, !11, i64 8} !16 = !{!13, !7, i64 16} !17 = !{!14, !14, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"group", !7, i64 0}
freebsd_contrib_libc-pwcache_extr_pwcache.c_group_from_gid
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-nat.c_inf_pick_first_thread.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-nat.c_inf_pick_first_thread.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 { ptr, i64 } @current_inferior = dso_local local_unnamed_addr global ptr null, align 8 @next_thread_id = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @inf_pick_first_thread], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @inf_pick_first_thread() #0 { %1 = load ptr, ptr @current_inferior, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !9 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %0 %6 = load ptr, ptr %1, align 8, !tbaa !12 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %5, %0 br label %9 9: ; preds = %5, %8 %10 = phi ptr [ @next_thread_id, %8 ], [ %6, %5 ] %11 = load i32, ptr %10, align 4, !tbaa !13 ret i32 %11 } 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, !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_4__", !6, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-nat.c_inf_pick_first_thread.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-nat.c_inf_pick_first_thread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @current_inferior = common local_unnamed_addr global ptr null, align 8 @next_thread_id = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @inf_pick_first_thread], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @inf_pick_first_thread() #0 { %1 = load ptr, ptr @current_inferior, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %1, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !10 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %0 %6 = load ptr, ptr %1, align 8, !tbaa !13 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %5, %0 br label %9 9: ; preds = %5, %8 %10 = phi ptr [ @next_thread_id, %8 ], [ %6, %5 ] %11 = load i32, ptr %10, align 4, !tbaa !14 ret i32 %11 } 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, !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_4__", !7, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0}
freebsd_contrib_gdb_gdb_extr_gnu-nat.c_inf_pick_first_thread
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pragmaVtabColumn.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pragmaVtabColumn.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 { ptr, i32 } @SQLITE_TRANSIENT = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pragmaVtabColumn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pragmaVtabColumn(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %0, align 8 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = icmp sgt i32 %6, %2 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !10 %11 = tail call i32 @sqlite3_column_value(i32 noundef %10, i32 noundef %2) #2 %12 = tail call i32 @sqlite3_result_value(ptr noundef %1, i32 noundef %11) #2 br label %20 13: ; preds = %3 %14 = sub nsw i32 %2, %6 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %5, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = load i32, ptr @SQLITE_TRANSIENT, align 4, !tbaa !13 %19 = tail call i32 @sqlite3_result_text(ptr noundef %1, i32 noundef %17, i32 noundef -1, i32 noundef %18) #2 br label %20 20: ; preds = %13, %8 %21 = load i32, ptr @SQLITE_OK, align 4, !tbaa !13 ret i32 %21 } declare i32 @sqlite3_result_value(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_column_value(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_text(ptr 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 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_6__", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pragmaVtabColumn.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_pragmaVtabColumn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_TRANSIENT = common local_unnamed_addr global i32 0, align 4 @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pragmaVtabColumn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pragmaVtabColumn(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %0, align 8 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = icmp sgt i32 %6, %2 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !11 %11 = tail call i32 @sqlite3_column_value(i32 noundef %10, i32 noundef %2) #2 %12 = tail call i32 @sqlite3_result_value(ptr noundef %1, i32 noundef %11) #2 br label %20 13: ; preds = %3 %14 = sub nsw i32 %2, %6 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %5, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = load i32, ptr @SQLITE_TRANSIENT, align 4, !tbaa !14 %19 = tail call i32 @sqlite3_result_text(ptr noundef %1, i32 noundef %17, i32 noundef -1, i32 noundef %18) #2 br label %20 20: ; preds = %13, %8 %21 = load i32, ptr @SQLITE_OK, align 4, !tbaa !14 ret i32 %21 } declare i32 @sqlite3_result_value(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_column_value(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_text(ptr 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 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"TYPE_6__", !13, i64 0, !8, i64 8} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0}
ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_pragmaVtabColumn
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_packet_decoder.c_pt_pkt_decode_fup.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_packet_decoder.c_pt_pkt_decode_fup.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.pt_packet = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.pt_packet_decoder = type { i32, i32 } @pte_internal = dso_local local_unnamed_addr global i32 0, align 4 @ppt_fup = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @pt_pkt_decode_fup(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp ne ptr %0, null %4 = icmp ne ptr %1, null %5 = and i1 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @pte_internal, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %18 9: ; preds = %2 %10 = getelementptr inbounds %struct.pt_packet, ptr %1, i64 0, i32 2 %11 = getelementptr inbounds %struct.pt_packet_decoder, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !9 %13 = tail call i32 @pt_pkt_read_ip(ptr noundef nonnull %10, i32 noundef %12, ptr noundef nonnull %0) #2 %14 = icmp slt i32 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %9 %16 = load i32, ptr @ppt_fup, align 4, !tbaa !5 %17 = getelementptr inbounds %struct.pt_packet, ptr %1, i64 0, i32 1 store i32 %16, ptr %17, align 4, !tbaa !11 store i32 %13, ptr %1, align 4, !tbaa !14 br label %18 18: ; preds = %9, %15, %6 %19 = phi i32 [ %13, %15 ], [ %8, %6 ], [ %13, %9 ] ret i32 %19 } declare i32 @pt_pkt_read_ip(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)"} !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 4} !10 = !{!"pt_packet_decoder", !6, i64 0, !6, i64 4} !11 = !{!12, !6, i64 4} !12 = !{!"pt_packet", !6, i64 0, !6, i64 4, !13, i64 8} !13 = !{!"TYPE_2__", !6, i64 0} !14 = !{!12, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_packet_decoder.c_pt_pkt_decode_fup.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_packet_decoder.c_pt_pkt_decode_fup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pte_internal = common local_unnamed_addr global i32 0, align 4 @ppt_fup = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @pt_pkt_decode_fup(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp ne ptr %0, null %4 = icmp ne ptr %1, null %5 = and i1 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @pte_internal, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %18 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = getelementptr inbounds i8, ptr %0, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = tail call i32 @pt_pkt_read_ip(ptr noundef nonnull %10, i32 noundef %12, ptr noundef nonnull %0) #2 %14 = icmp slt i32 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %9 %16 = load i32, ptr @ppt_fup, align 4, !tbaa !6 %17 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %16, ptr %17, align 4, !tbaa !12 store i32 %13, ptr %1, align 4, !tbaa !15 br label %18 18: ; preds = %9, %15, %6 %19 = phi i32 [ %13, %15 ], [ %8, %6 ], [ %13, %9 ] ret i32 %19 } declare i32 @pt_pkt_read_ip(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)"} !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 4} !11 = !{!"pt_packet_decoder", !7, i64 0, !7, i64 4} !12 = !{!13, !7, i64 4} !13 = !{!"pt_packet", !7, i64 0, !7, i64 4, !14, i64 8} !14 = !{!"TYPE_2__", !7, i64 0} !15 = !{!13, !7, i64 0}
freebsd_contrib_processor-trace_libipt_src_extr_pt_packet_decoder.c_pt_pkt_decode_fup
; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/hw/extr_host1x06_hardware.h_host1x_opcode_gather.c' source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_host1x06_hardware.h_host1x_opcode_gather.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_opcode_gather], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @host1x_opcode_gather(i32 noundef %0) #0 { %2 = or i32 %0, 1610612736 ret i32 %2 } 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_host1x06_hardware.h_host1x_opcode_gather.c' source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_host1x06_hardware.h_host1x_opcode_gather.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_opcode_gather], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef range(i32 1610612736, 0) i32 @host1x_opcode_gather(i32 noundef %0) #0 { %2 = or i32 %0, 1610612736 ret i32 %2 } 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_host1x06_hardware.h_host1x_opcode_gather
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_addi_32_al.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_addi_32_al.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" @FLAG_N = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_V = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_C = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_X = dso_local local_unnamed_addr global i32 0, align 4 @FLAG_Z = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @m68k_op_addi_32_al], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @m68k_op_addi_32_al() #0 { %1 = tail call i64 (...) @OPER_I_32() #2 %2 = tail call i64 (...) @EA_AL_32() #2 %3 = tail call i64 @m68ki_read_32(i64 noundef %2) #2 %4 = add nsw i64 %3, %1 %5 = tail call i32 @NFLAG_32(i64 noundef %4) #2 store i32 %5, ptr @FLAG_N, align 4, !tbaa !5 %6 = tail call i32 @VFLAG_ADD_32(i64 noundef %1, i64 noundef %3, i64 noundef %4) #2 store i32 %6, ptr @FLAG_V, align 4, !tbaa !5 %7 = tail call i32 @CFLAG_ADD_32(i64 noundef %1, i64 noundef %3, i64 noundef %4) #2 store i32 %7, ptr @FLAG_C, align 4, !tbaa !5 store i32 %7, ptr @FLAG_X, align 4, !tbaa !5 %8 = tail call i32 @MASK_OUT_ABOVE_32(i64 noundef %4) #2 store i32 %8, ptr @FLAG_Z, align 4, !tbaa !5 %9 = tail call i32 @m68ki_write_32(i64 noundef %2, i32 noundef %8) #2 ret void } declare i64 @OPER_I_32(...) local_unnamed_addr #1 declare i64 @EA_AL_32(...) local_unnamed_addr #1 declare i64 @m68ki_read_32(i64 noundef) local_unnamed_addr #1 declare i32 @NFLAG_32(i64 noundef) local_unnamed_addr #1 declare i32 @VFLAG_ADD_32(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @CFLAG_ADD_32(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @MASK_OUT_ABOVE_32(i64 noundef) local_unnamed_addr #1 declare i32 @m68ki_write_32(i64 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/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_addi_32_al.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_addi_32_al.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FLAG_N = common local_unnamed_addr global i32 0, align 4 @FLAG_V = common local_unnamed_addr global i32 0, align 4 @FLAG_C = common local_unnamed_addr global i32 0, align 4 @FLAG_X = common local_unnamed_addr global i32 0, align 4 @FLAG_Z = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @m68k_op_addi_32_al], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @m68k_op_addi_32_al() #0 { %1 = tail call i64 @OPER_I_32() #2 %2 = tail call i64 @EA_AL_32() #2 %3 = tail call i64 @m68ki_read_32(i64 noundef %2) #2 %4 = add nsw i64 %3, %1 %5 = tail call i32 @NFLAG_32(i64 noundef %4) #2 store i32 %5, ptr @FLAG_N, align 4, !tbaa !6 %6 = tail call i32 @VFLAG_ADD_32(i64 noundef %1, i64 noundef %3, i64 noundef %4) #2 store i32 %6, ptr @FLAG_V, align 4, !tbaa !6 %7 = tail call i32 @CFLAG_ADD_32(i64 noundef %1, i64 noundef %3, i64 noundef %4) #2 store i32 %7, ptr @FLAG_C, align 4, !tbaa !6 store i32 %7, ptr @FLAG_X, align 4, !tbaa !6 %8 = tail call i32 @MASK_OUT_ABOVE_32(i64 noundef %4) #2 store i32 %8, ptr @FLAG_Z, align 4, !tbaa !6 %9 = tail call i32 @m68ki_write_32(i64 noundef %2, i32 noundef %8) #2 ret void } declare i64 @OPER_I_32(...) local_unnamed_addr #1 declare i64 @EA_AL_32(...) local_unnamed_addr #1 declare i64 @m68ki_read_32(i64 noundef) local_unnamed_addr #1 declare i32 @NFLAG_32(i64 noundef) local_unnamed_addr #1 declare i32 @VFLAG_ADD_32(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @CFLAG_ADD_32(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @MASK_OUT_ABOVE_32(i64 noundef) local_unnamed_addr #1 declare i32 @m68ki_write_32(i64 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"}
Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_addi_32_al
; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_htmlembed.c_HTMLEmbedElement_QI.c' source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_htmlembed.c_HTMLEmbedElement_QI.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 { %struct.TYPE_5__, i32 } %struct.TYPE_5__ = type { i32 } @.str = private unnamed_addr constant [15 x i8] c"(%p)->(%s %p)\0A\00", align 1 @IID_IUnknown = dso_local global i32 0, align 4 @IID_IDispatch = dso_local global i32 0, align 4 @IID_IHTMLEmbedElement = dso_local global i32 0, align 4 @S_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @HTMLEmbedElement_QI], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @HTMLEmbedElement_QI(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @impl_from_HTMLDOMNode(ptr noundef %0) #2 %5 = tail call i32 @debugstr_mshtml_guid(i32 noundef %1) #2 %6 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %4, i32 noundef %5, ptr noundef %2) #2 %7 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IUnknown, i32 noundef %1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %3 %10 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IDispatch, i32 noundef %1) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLEmbedElement, i32 noundef %1) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = tail call i32 @HTMLElement_QI(ptr noundef %4, i32 noundef %1, ptr noundef %2) #2 br label %21 17: ; preds = %12, %9, %3 %18 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 1 store ptr %18, ptr %2, align 8, !tbaa !5 %19 = tail call i32 @IUnknown_AddRef(ptr noundef nonnull %18) #2 %20 = load i32, ptr @S_OK, align 4, !tbaa !9 br label %21 21: ; preds = %17, %15 %22 = phi i32 [ %20, %17 ], [ %16, %15 ] ret i32 %22 } declare ptr @impl_from_HTMLDOMNode(ptr noundef) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @debugstr_mshtml_guid(i32 noundef) local_unnamed_addr #1 declare i64 @IsEqualGUID(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @HTMLElement_QI(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IUnknown_AddRef(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, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_htmlembed.c_HTMLEmbedElement_QI.c' source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_htmlembed.c_HTMLEmbedElement_QI.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 [15 x i8] c"(%p)->(%s %p)\0A\00", align 1 @IID_IUnknown = common global i32 0, align 4 @IID_IDispatch = common global i32 0, align 4 @IID_IHTMLEmbedElement = common global i32 0, align 4 @S_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @HTMLEmbedElement_QI], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @HTMLEmbedElement_QI(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @impl_from_HTMLDOMNode(ptr noundef %0) #2 %5 = tail call i32 @debugstr_mshtml_guid(i32 noundef %1) #2 %6 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %4, i32 noundef %5, ptr noundef %2) #2 %7 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IUnknown, i32 noundef %1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %3 %10 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IDispatch, i32 noundef %1) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLEmbedElement, i32 noundef %1) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = tail call i32 @HTMLElement_QI(ptr noundef %4, i32 noundef %1, ptr noundef %2) #2 br label %21 17: ; preds = %12, %9, %3 %18 = getelementptr inbounds i8, ptr %4, i64 4 store ptr %18, ptr %2, align 8, !tbaa !6 %19 = tail call i32 @IUnknown_AddRef(ptr noundef nonnull %18) #2 %20 = load i32, ptr @S_OK, align 4, !tbaa !10 br label %21 21: ; preds = %17, %15 %22 = phi i32 [ %20, %17 ], [ %16, %15 ] ret i32 %22 } declare ptr @impl_from_HTMLDOMNode(ptr noundef) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @debugstr_mshtml_guid(i32 noundef) local_unnamed_addr #1 declare i64 @IsEqualGUID(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @HTMLElement_QI(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IUnknown_AddRef(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, !11, i64 0} !11 = !{!"int", !8, i64 0}
reactos_dll_win32_mshtml_extr_htmlembed.c_HTMLEmbedElement_QI
; ModuleID = 'AnghaBench/linux/net/netlabel/extr_netlabel_mgmt.c_netlbl_mgmt_listdef.c' source_filename = "AnghaBench/linux/net/netlabel/extr_netlabel_mgmt.c_netlbl_mgmt_listdef.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" @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @NLBL_MGMT_A_FAMILY = dso_local local_unnamed_addr global i64 0, align 8 @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @NLMSG_DEFAULT_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @netlbl_mgmt_gnl_family = dso_local global i32 0, align 4 @NLBL_MGMT_C_LISTDEF = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @netlbl_mgmt_listdef], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @netlbl_mgmt_listdef(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %4 = sub nsw i32 0, %3 %5 = load ptr, ptr %1, align 8, !tbaa !9 %6 = load i64, ptr @NLBL_MGMT_A_FAMILY, align 8, !tbaa !12 %7 = getelementptr inbounds i64, ptr %5, i64 %6 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = tail call i32 @nla_get_u16(i64 noundef %8) #2 br label %14 12: ; preds = %2 %13 = load i32, ptr @AF_INET, align 4, !tbaa !5 br label %14 14: ; preds = %12, %10 %15 = phi i32 [ %11, %10 ], [ %13, %12 ] %16 = load i32, ptr @NLMSG_DEFAULT_SIZE, align 4, !tbaa !5 %17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %18 = tail call ptr @nlmsg_new(i32 noundef %16, i32 noundef %17) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %14 %21 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %22 = sub nsw i32 0, %21 br label %45 23: ; preds = %14 %24 = load i32, ptr @NLBL_MGMT_C_LISTDEF, align 4, !tbaa !5 %25 = tail call ptr @genlmsg_put_reply(ptr noundef nonnull %18, ptr noundef nonnull %1, ptr noundef nonnull @netlbl_mgmt_gnl_family, i32 noundef 0, i32 noundef %24) #2 %26 = icmp eq ptr %25, null br i1 %26, label %42, label %27 27: ; preds = %23 %28 = tail call i32 (...) @rcu_read_lock() #2 %29 = tail call ptr @netlbl_domhsh_getentry(ptr noundef null, i32 noundef %15) #2 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i32, ptr @ENOENT, align 4, !tbaa !5 %33 = sub nsw i32 0, %32 %34 = tail call i32 (...) @rcu_read_unlock() #2 br label %42 35: ; preds = %27 %36 = tail call i32 @netlbl_mgmt_listentry(ptr noundef nonnull %18, ptr noundef nonnull %29) #2 %37 = tail call i32 (...) @rcu_read_unlock() #2 %38 = icmp eq i32 %36, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = tail call i32 @genlmsg_end(ptr noundef nonnull %18, ptr noundef nonnull %25) #2 %41 = tail call i32 @genlmsg_reply(ptr noundef nonnull %18, ptr noundef nonnull %1) #2 br label %45 42: ; preds = %35, %23, %31 %43 = phi i32 [ %4, %23 ], [ %33, %31 ], [ %36, %35 ] %44 = tail call i32 @kfree_skb(ptr noundef nonnull %18) #2 br label %45 45: ; preds = %42, %39, %20 %46 = phi i32 [ %22, %20 ], [ %43, %42 ], [ %41, %39 ] ret i32 %46 } declare i32 @nla_get_u16(i64 noundef) local_unnamed_addr #1 declare ptr @nlmsg_new(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @genlmsg_put_reply(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @netlbl_domhsh_getentry(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netlbl_mgmt_listentry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @genlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @genlmsg_reply(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(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 0} !10 = !{!"genl_info", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/netlabel/extr_netlabel_mgmt.c_netlbl_mgmt_listdef.c' source_filename = "AnghaBench/linux/net/netlabel/extr_netlabel_mgmt.c_netlbl_mgmt_listdef.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @NLBL_MGMT_A_FAMILY = common local_unnamed_addr global i64 0, align 8 @AF_INET = common local_unnamed_addr global i32 0, align 4 @NLMSG_DEFAULT_SIZE = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @netlbl_mgmt_gnl_family = common global i32 0, align 4 @NLBL_MGMT_C_LISTDEF = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @netlbl_mgmt_listdef], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @netlbl_mgmt_listdef(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %4 = sub nsw i32 0, %3 %5 = load ptr, ptr %1, align 8, !tbaa !10 %6 = load i64, ptr @NLBL_MGMT_A_FAMILY, align 8, !tbaa !13 %7 = getelementptr inbounds i64, ptr %5, i64 %6 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = tail call i32 @nla_get_u16(i64 noundef %8) #2 br label %14 12: ; preds = %2 %13 = load i32, ptr @AF_INET, align 4, !tbaa !6 br label %14 14: ; preds = %12, %10 %15 = phi i32 [ %11, %10 ], [ %13, %12 ] %16 = load i32, ptr @NLMSG_DEFAULT_SIZE, align 4, !tbaa !6 %17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %18 = tail call ptr @nlmsg_new(i32 noundef %16, i32 noundef %17) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %14 %21 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %22 = sub nsw i32 0, %21 br label %45 23: ; preds = %14 %24 = load i32, ptr @NLBL_MGMT_C_LISTDEF, align 4, !tbaa !6 %25 = tail call ptr @genlmsg_put_reply(ptr noundef nonnull %18, ptr noundef nonnull %1, ptr noundef nonnull @netlbl_mgmt_gnl_family, i32 noundef 0, i32 noundef %24) #2 %26 = icmp eq ptr %25, null br i1 %26, label %42, label %27 27: ; preds = %23 %28 = tail call i32 @rcu_read_lock() #2 %29 = tail call ptr @netlbl_domhsh_getentry(ptr noundef null, i32 noundef %15) #2 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i32, ptr @ENOENT, align 4, !tbaa !6 %33 = sub nsw i32 0, %32 %34 = tail call i32 @rcu_read_unlock() #2 br label %42 35: ; preds = %27 %36 = tail call i32 @netlbl_mgmt_listentry(ptr noundef nonnull %18, ptr noundef nonnull %29) #2 %37 = tail call i32 @rcu_read_unlock() #2 %38 = icmp eq i32 %36, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = tail call i32 @genlmsg_end(ptr noundef nonnull %18, ptr noundef nonnull %25) #2 %41 = tail call i32 @genlmsg_reply(ptr noundef nonnull %18, ptr noundef nonnull %1) #2 br label %45 42: ; preds = %35, %23, %31 %43 = phi i32 [ %4, %23 ], [ %33, %31 ], [ %36, %35 ] %44 = tail call i32 @kfree_skb(ptr noundef nonnull %18) #2 br label %45 45: ; preds = %42, %39, %20 %46 = phi i32 [ %22, %20 ], [ %43, %42 ], [ %41, %39 ] ret i32 %46 } declare i32 @nla_get_u16(i64 noundef) local_unnamed_addr #1 declare ptr @nlmsg_new(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @genlmsg_put_reply(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @netlbl_domhsh_getentry(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netlbl_mgmt_listentry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @genlmsg_end(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @genlmsg_reply(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(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 0} !11 = !{!"genl_info", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0}
linux_net_netlabel_extr_netlabel_mgmt.c_netlbl_mgmt_listdef
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/adfs/extr_adfs.h_ADFS_SB.c' source_filename = "AnghaBench/fastsocket/kernel/fs/adfs/extr_adfs.h_ADFS_SB.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 @ADFS_SB], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal ptr @ADFS_SB(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %2 } attributes #0 = { inlinehint 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 = !{!"super_block", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/adfs/extr_adfs.h_ADFS_SB.c' source_filename = "AnghaBench/fastsocket/kernel/fs/adfs/extr_adfs.h_ADFS_SB.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 @ADFS_SB], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal ptr @ADFS_SB(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %2 } attributes #0 = { inlinehint 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 = !{!"super_block", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_adfs_extr_adfs.h_ADFS_SB
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/ptrace/extr_ptrace-tar.h_validate_tar_registers.c' source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/ptrace/extr_ptrace-tar.h_validate_tar_registers.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" @TEST_FAIL = dso_local local_unnamed_addr global i32 0, align 4 @TEST_PASS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @validate_tar_registers(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = icmp eq i64 %5, %1 %7 = getelementptr inbounds i64, ptr %0, i64 1 %8 = load i64, ptr %7, align 8, !tbaa !5 %9 = icmp eq i64 %8, %2 %10 = getelementptr inbounds i64, ptr %0, i64 2 %11 = load i64, ptr %10, align 8, !tbaa !5 %12 = icmp eq i64 %11, %3 %13 = select i1 %12, i1 %9, i1 false %14 = select i1 %13, i1 %6, i1 false %15 = load i32, ptr @TEST_PASS, align 4 %16 = load i32, ptr @TEST_FAIL, align 4 %17 = select i1 %14, i32 %15, i32 %16 ret i32 %17 } 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, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/ptrace/extr_ptrace-tar.h_validate_tar_registers.c' source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/ptrace/extr_ptrace-tar.h_validate_tar_registers.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TEST_FAIL = common local_unnamed_addr global i32 0, align 4 @TEST_PASS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @validate_tar_registers(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = icmp eq i64 %5, %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !6 %9 = icmp eq i64 %8, %2 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i64, ptr %10, align 8, !tbaa !6 %12 = icmp eq i64 %11, %3 %13 = select i1 %12, i1 %9, i1 false %14 = select i1 %13, i1 %6, i1 false %15 = load i32, ptr @TEST_PASS, align 4 %16 = load i32, ptr @TEST_FAIL, align 4 %17 = select i1 %14, i32 %15, i32 %16 ret i32 %17 } 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, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_tools_testing_selftests_powerpc_ptrace_extr_ptrace-tar.h_validate_tar_registers
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_dashenc.c_write_hls_media_playlist.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_dashenc.c_write_hls_media_playlist.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_20__ = type { i32, i64, ptr, i32, ptr, i32, i32 } %struct.TYPE_21__ = type { double, i32, i64, i32, i32 } %struct.TYPE_19__ = type { double, i32, i32, i32, i64 } @.str = private unnamed_addr constant [5 x i8] c"file\00", align 1 @SEGMENT_TYPE_MP4 = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"%s.tmp\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @PLAYLIST_TYPE_NONE = dso_local local_unnamed_addr global i32 0, align 4 @AV_LOG_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [35 x i8] c"ff_hls_write_file_entry get error\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"#EXT-X-PREFETCH:%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"renaming file %s to %s failed\0A\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_hls_media_playlist], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write_hls_media_playlist(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca [1024 x i8], align 16 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = load ptr, ptr %1, align 8, !tbaa !5 %13 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 2 %14 = load ptr, ptr %13, align 8, !tbaa !10 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = load ptr, ptr %15, align 8, !tbaa !16 %17 = load i32, ptr %16, align 4, !tbaa !17 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4 store ptr null, ptr %8, align 8, !tbaa !16 %18 = getelementptr inbounds %struct.TYPE_21__, ptr %12, i64 0, i32 3 %19 = load i32, ptr %18, align 8, !tbaa !20 %20 = tail call ptr @avio_find_protocol_name(i32 noundef %19) #4 %21 = icmp eq ptr %20, null br i1 %21, label %25, label %22 22: ; preds = %5 %23 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %20, ptr noundef nonnull dereferenceable(5) @.str) %24 = icmp eq i32 %23, 0 br label %25 25: ; preds = %22, %5 %26 = phi i1 [ false, %5 ], [ %24, %22 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4 store double 0.000000e+00, ptr %11, align 8, !tbaa !23 %27 = call i32 @get_start_index_number(ptr noundef nonnull %0, ptr noundef nonnull %12, ptr noundef nonnull %9, ptr noundef nonnull %10) #4 %28 = getelementptr inbounds %struct.TYPE_21__, ptr %12, i64 0, i32 4 %29 = load i32, ptr %28, align 4, !tbaa !24 %30 = icmp eq i32 %29, 0 br i1 %30, label %165, label %31 31: ; preds = %25 %32 = load i32, ptr %9, align 4, !tbaa !25 %33 = load i32, ptr %0, align 8, !tbaa !26 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %165 35: ; preds = %31 %36 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 1 %37 = load i64, ptr %36, align 8, !tbaa !27 %38 = load i64, ptr @SEGMENT_TYPE_MP4, align 8, !tbaa !28 %39 = icmp eq i64 %37, %38 br i1 %39, label %40, label %165 40: ; preds = %35 %41 = load i32, ptr %18, align 8, !tbaa !20 %42 = call i32 @get_hls_playlist_name(ptr noundef nonnull %7, i32 noundef 1024, i32 noundef %41, i32 noundef %2) #4 %43 = select i1 %26, ptr @.str.1, ptr @.str.2 %44 = call i32 @snprintf(ptr noundef nonnull %6, i32 noundef 1024, ptr noundef nonnull %43, ptr noundef nonnull %7) #4 %45 = call i32 @set_http_options(ptr noundef nonnull %8, ptr noundef nonnull %12) #4 %46 = getelementptr inbounds %struct.TYPE_21__, ptr %12, i64 0, i32 1 %47 = call i32 @dashenc_io_open(ptr noundef nonnull %1, ptr noundef nonnull %46, ptr noundef nonnull %6, ptr noundef nonnull %8) #4 %48 = call i32 @av_dict_free(ptr noundef nonnull %8) #4 %49 = icmp slt i32 %47, 0 br i1 %49, label %50, label %52 50: ; preds = %40 %51 = call i32 @handle_io_open_error(ptr noundef nonnull %1, i32 noundef %47, ptr noundef nonnull %6) #4 br label %165 52: ; preds = %40 %53 = load i32, ptr %9, align 4, !tbaa !25 %54 = load i32, ptr %0, align 8, !tbaa !26 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %82 56: ; preds = %52 %57 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 4 %58 = sitofp i32 %17 to double %59 = sext i32 %53 to i64 br label %60 60: ; preds = %56, %76 %61 = phi i32 [ %54, %56 ], [ %77, %76 ] %62 = phi i64 [ %59, %56 ], [ %79, %76 ] %63 = phi i32 [ 0, %56 ], [ %78, %76 ] %64 = load ptr, ptr %57, align 8, !tbaa !29 %65 = getelementptr inbounds ptr, ptr %64, i64 %62 %66 = load ptr, ptr %65, align 8, !tbaa !16 %67 = getelementptr inbounds %struct.TYPE_19__, ptr %66, i64 0, i32 4 %68 = load i64, ptr %67, align 8, !tbaa !30 %69 = sitofp i64 %68 to double %70 = fdiv double %69, %58 %71 = sitofp i32 %63 to double %72 = fcmp ult double %70, %71 br i1 %72, label %76, label %73 73: ; preds = %60 %74 = call i32 @lrint(double noundef %70) #4 %75 = load i32, ptr %0, align 8, !tbaa !26 br label %76 76: ; preds = %73, %60 %77 = phi i32 [ %75, %73 ], [ %61, %60 ] %78 = phi i32 [ %74, %73 ], [ %63, %60 ] %79 = add nsw i64 %62, 1 %80 = sext i32 %77 to i64 %81 = icmp slt i64 %79, %80 br i1 %81, label %60, label %82, !llvm.loop !32 82: ; preds = %76, %52 %83 = phi i32 [ 0, %52 ], [ %78, %76 ] %84 = load i32, ptr %46, align 8, !tbaa !34 %85 = load i32, ptr %10, align 4, !tbaa !25 %86 = load i32, ptr @PLAYLIST_TYPE_NONE, align 4, !tbaa !25 %87 = call i32 @ff_hls_write_playlist_header(i32 noundef %84, i32 noundef 6, i32 noundef -1, i32 noundef %83, i32 noundef %85, i32 noundef %86, i32 noundef 0) #4 %88 = load i32, ptr %46, align 8, !tbaa !34 %89 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 3 %90 = load i32, ptr %89, align 8, !tbaa !35 %91 = getelementptr inbounds %struct.TYPE_21__, ptr %12, i64 0, i32 2 %92 = load i64, ptr %91, align 8, !tbaa !36 %93 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 6 %94 = load i32, ptr %93, align 4, !tbaa !37 %95 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 5 %96 = load i32, ptr %95, align 8, !tbaa !38 %97 = call i32 @ff_hls_write_init_file(i32 noundef %88, i32 noundef %90, i64 noundef %92, i32 noundef %94, i32 noundef %96) #4 %98 = load i32, ptr %9, align 4, !tbaa !25 %99 = load i32, ptr %0, align 8, !tbaa !26 %100 = icmp slt i32 %98, %99 br i1 %100, label %101, label %146 101: ; preds = %82 %102 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 4 %103 = sitofp i32 %17 to double %104 = sext i32 %98 to i64 br label %105 105: ; preds = %101, %141 %106 = phi i64 [ %104, %101 ], [ %142, %141 ] %107 = phi i32 [ %99, %101 ], [ %143, %141 ] %108 = load ptr, ptr %102, align 8, !tbaa !29 %109 = getelementptr inbounds ptr, ptr %108, i64 %106 %110 = load ptr, ptr %109, align 8, !tbaa !16 %111 = load double, ptr %11, align 8, !tbaa !23 %112 = fcmp oeq double %111, 0.000000e+00 br i1 %112, label %113, label %119 113: ; preds = %105 %114 = icmp eq i32 %107, 1 br i1 %114, label %115, label %117 115: ; preds = %113 %116 = load double, ptr %12, align 8, !tbaa !39 store double %116, ptr %11, align 8, !tbaa !23 br label %119 117: ; preds = %113 %118 = load double, ptr %110, align 8, !tbaa !40 store double %118, ptr %11, align 8, !tbaa !23 br label %119 119: ; preds = %115, %117, %105 %120 = phi double [ %116, %115 ], [ %118, %117 ], [ %111, %105 ] store double %120, ptr %110, align 8, !tbaa !40 %121 = load i32, ptr %46, align 8, !tbaa !34 %122 = load i64, ptr %91, align 8, !tbaa !36 %123 = getelementptr inbounds %struct.TYPE_19__, ptr %110, i64 0, i32 4 %124 = load i64, ptr %123, align 8, !tbaa !30 %125 = sitofp i64 %124 to double %126 = fdiv double %125, %103 %127 = getelementptr inbounds %struct.TYPE_19__, ptr %110, i64 0, i32 3 %128 = load i32, ptr %127, align 8, !tbaa !41 %129 = getelementptr inbounds %struct.TYPE_19__, ptr %110, i64 0, i32 2 %130 = load i32, ptr %129, align 4, !tbaa !42 %131 = icmp eq i64 %122, 0 %132 = getelementptr inbounds %struct.TYPE_19__, ptr %110, i64 0, i32 1 %133 = select i1 %131, ptr %132, ptr %89 %134 = load i32, ptr %133, align 8, !tbaa !25 %135 = call i32 @ff_hls_write_file_entry(i32 noundef %121, i32 noundef 0, i64 noundef %122, double noundef %126, i32 noundef 0, i32 noundef %128, i32 noundef %130, ptr noundef null, i32 noundef %134, ptr noundef nonnull %11, i32 noundef 0, i32 noundef 0, i32 noundef 0) #4 %136 = icmp slt i32 %135, 0 br i1 %136, label %137, label %141 137: ; preds = %119 %138 = load ptr, ptr %13, align 8, !tbaa !10 %139 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !25 %140 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef %138, i32 noundef %139, ptr noundef nonnull @.str.3) #4 br label %141 141: ; preds = %137, %119 %142 = add nsw i64 %106, 1 %143 = load i32, ptr %0, align 8, !tbaa !26 %144 = sext i32 %143 to i64 %145 = icmp slt i64 %142, %144 br i1 %145, label %105, label %146, !llvm.loop !43 146: ; preds = %141, %82 %147 = icmp eq ptr %4, null br i1 %147, label %151, label %148 148: ; preds = %146 %149 = load i32, ptr %46, align 8, !tbaa !34 %150 = call i32 @avio_printf(i32 noundef %149, ptr noundef nonnull @.str.4, ptr noundef nonnull %4) #4 br label %151 151: ; preds = %148, %146 %152 = icmp eq i32 %3, 0 br i1 %152, label %156, label %153 153: ; preds = %151 %154 = load i32, ptr %46, align 8, !tbaa !34 %155 = call i32 @ff_hls_write_end_list(i32 noundef %154) #4 br label %156 156: ; preds = %153, %151 %157 = call i32 @dashenc_io_close(ptr noundef nonnull %1, ptr noundef nonnull %46, ptr noundef nonnull %6) #4 br i1 %26, label %158, label %165 158: ; preds = %156 %159 = call i64 @avpriv_io_move(ptr noundef nonnull %6, ptr noundef nonnull %7) #4 %160 = icmp slt i64 %159, 0 br i1 %160, label %161, label %165 161: ; preds = %158 %162 = load ptr, ptr %13, align 8, !tbaa !10 %163 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !25 %164 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef %162, i32 noundef %163, ptr noundef nonnull @.str.5, ptr noundef nonnull %6, ptr noundef nonnull %7) #4 br label %165 165: ; preds = %156, %161, %158, %25, %31, %35, %50 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #4 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 @avio_find_protocol_name(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @get_start_index_number(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_hls_playlist_name(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @set_http_options(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dashenc_io_open(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_dict_free(ptr noundef) local_unnamed_addr #2 declare i32 @handle_io_open_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lrint(double 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 @ff_hls_write_playlist_header(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ff_hls_write_init_file(i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ff_hls_write_file_entry(i32 noundef, i32 noundef, i64 noundef, double noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @avio_printf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ff_hls_write_end_list(i32 noundef) local_unnamed_addr #2 declare i32 @dashenc_io_close(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @avpriv_io_move(ptr noundef, ptr 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = !{!"TYPE_22__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_20__", !12, i64 0, !13, i64 8, !7, i64 16, !12, i64 24, !7, i64 32, !12, i64 40, !12, i64 44} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_16__", !7, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_18__", !19, i64 0} !19 = !{!"TYPE_17__", !12, i64 0} !20 = !{!21, !12, i64 24} !21 = !{!"TYPE_21__", !22, i64 0, !12, i64 8, !13, i64 16, !12, i64 24, !12, i64 28} !22 = !{!"double", !8, i64 0} !23 = !{!22, !22, i64 0} !24 = !{!21, !12, i64 28} !25 = !{!12, !12, i64 0} !26 = !{!11, !12, i64 0} !27 = !{!11, !13, i64 8} !28 = !{!13, !13, i64 0} !29 = !{!11, !7, i64 32} !30 = !{!31, !13, i64 24} !31 = !{!"TYPE_19__", !22, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !13, i64 24} !32 = distinct !{!32, !33} !33 = !{!"llvm.loop.mustprogress"} !34 = !{!21, !12, i64 8} !35 = !{!11, !12, i64 24} !36 = !{!21, !13, i64 16} !37 = !{!11, !12, i64 44} !38 = !{!11, !12, i64 40} !39 = !{!21, !22, i64 0} !40 = !{!31, !22, i64 0} !41 = !{!31, !12, i64 16} !42 = !{!31, !12, i64 12} !43 = distinct !{!43, !33}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_dashenc.c_write_hls_media_playlist.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_dashenc.c_write_hls_media_playlist.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 [5 x i8] c"file\00", align 1 @SEGMENT_TYPE_MP4 = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"%s.tmp\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @PLAYLIST_TYPE_NONE = common local_unnamed_addr global i32 0, align 4 @AV_LOG_WARNING = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [35 x i8] c"ff_hls_write_file_entry get error\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"#EXT-X-PREFETCH:%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c"renaming file %s to %s failed\0A\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @write_hls_media_playlist], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write_hls_media_playlist(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca [1024 x i8], align 1 %7 = alloca [1024 x i8], align 1 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = load ptr, ptr %1, align 8, !tbaa !6 %13 = getelementptr inbounds i8, ptr %0, i64 16 %14 = load ptr, ptr %13, align 8, !tbaa !11 %15 = load ptr, ptr %14, align 8, !tbaa !15 %16 = load ptr, ptr %15, align 8, !tbaa !17 %17 = load i32, ptr %16, align 4, !tbaa !18 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4 store ptr null, ptr %8, align 8, !tbaa !17 %18 = getelementptr inbounds i8, ptr %12, i64 24 %19 = load i32, ptr %18, align 8, !tbaa !21 %20 = tail call ptr @avio_find_protocol_name(i32 noundef %19) #4 %21 = icmp eq ptr %20, null br i1 %21, label %25, label %22 22: ; preds = %5 %23 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %20, ptr noundef nonnull dereferenceable(5) @.str) %24 = icmp eq i32 %23, 0 br label %25 25: ; preds = %22, %5 %26 = phi i1 [ false, %5 ], [ %24, %22 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4 store double 0.000000e+00, ptr %11, align 8, !tbaa !24 %27 = call i32 @get_start_index_number(ptr noundef nonnull %0, ptr noundef nonnull %12, ptr noundef nonnull %9, ptr noundef nonnull %10) #4 %28 = getelementptr inbounds i8, ptr %12, i64 28 %29 = load i32, ptr %28, align 4, !tbaa !25 %30 = icmp eq i32 %29, 0 br i1 %30, label %165, label %31 31: ; preds = %25 %32 = load i32, ptr %9, align 4, !tbaa !26 %33 = load i32, ptr %0, align 8, !tbaa !27 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %165 35: ; preds = %31 %36 = getelementptr inbounds i8, ptr %0, i64 8 %37 = load i64, ptr %36, align 8, !tbaa !28 %38 = load i64, ptr @SEGMENT_TYPE_MP4, align 8, !tbaa !29 %39 = icmp eq i64 %37, %38 br i1 %39, label %40, label %165 40: ; preds = %35 %41 = load i32, ptr %18, align 8, !tbaa !21 %42 = call i32 @get_hls_playlist_name(ptr noundef nonnull %7, i32 noundef 1024, i32 noundef %41, i32 noundef %2) #4 %43 = select i1 %26, ptr @.str.1, ptr @.str.2 %44 = call i32 @snprintf(ptr noundef nonnull %6, i32 noundef 1024, ptr noundef nonnull %43, ptr noundef nonnull %7) #4 %45 = call i32 @set_http_options(ptr noundef nonnull %8, ptr noundef nonnull %12) #4 %46 = getelementptr inbounds i8, ptr %12, i64 8 %47 = call i32 @dashenc_io_open(ptr noundef nonnull %1, ptr noundef nonnull %46, ptr noundef nonnull %6, ptr noundef nonnull %8) #4 %48 = call i32 @av_dict_free(ptr noundef nonnull %8) #4 %49 = icmp slt i32 %47, 0 br i1 %49, label %50, label %52 50: ; preds = %40 %51 = call i32 @handle_io_open_error(ptr noundef nonnull %1, i32 noundef %47, ptr noundef nonnull %6) #4 br label %165 52: ; preds = %40 %53 = load i32, ptr %9, align 4, !tbaa !26 %54 = load i32, ptr %0, align 8, !tbaa !27 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %82 56: ; preds = %52 %57 = getelementptr inbounds i8, ptr %0, i64 32 %58 = sitofp i32 %17 to double %59 = sext i32 %53 to i64 br label %60 60: ; preds = %56, %76 %61 = phi i32 [ %54, %56 ], [ %77, %76 ] %62 = phi i64 [ %59, %56 ], [ %79, %76 ] %63 = phi i32 [ 0, %56 ], [ %78, %76 ] %64 = load ptr, ptr %57, align 8, !tbaa !30 %65 = getelementptr inbounds ptr, ptr %64, i64 %62 %66 = load ptr, ptr %65, align 8, !tbaa !17 %67 = getelementptr inbounds i8, ptr %66, i64 24 %68 = load i64, ptr %67, align 8, !tbaa !31 %69 = sitofp i64 %68 to double %70 = fdiv double %69, %58 %71 = sitofp i32 %63 to double %72 = fcmp ult double %70, %71 br i1 %72, label %76, label %73 73: ; preds = %60 %74 = call i32 @lrint(double noundef %70) #4 %75 = load i32, ptr %0, align 8, !tbaa !27 br label %76 76: ; preds = %73, %60 %77 = phi i32 [ %75, %73 ], [ %61, %60 ] %78 = phi i32 [ %74, %73 ], [ %63, %60 ] %79 = add nsw i64 %62, 1 %80 = sext i32 %77 to i64 %81 = icmp slt i64 %79, %80 br i1 %81, label %60, label %82, !llvm.loop !33 82: ; preds = %76, %52 %83 = phi i32 [ 0, %52 ], [ %78, %76 ] %84 = load i32, ptr %46, align 8, !tbaa !35 %85 = load i32, ptr %10, align 4, !tbaa !26 %86 = load i32, ptr @PLAYLIST_TYPE_NONE, align 4, !tbaa !26 %87 = call i32 @ff_hls_write_playlist_header(i32 noundef %84, i32 noundef 6, i32 noundef -1, i32 noundef %83, i32 noundef %85, i32 noundef %86, i32 noundef 0) #4 %88 = load i32, ptr %46, align 8, !tbaa !35 %89 = getelementptr inbounds i8, ptr %0, i64 24 %90 = load i32, ptr %89, align 8, !tbaa !36 %91 = getelementptr inbounds i8, ptr %12, i64 16 %92 = load i64, ptr %91, align 8, !tbaa !37 %93 = getelementptr inbounds i8, ptr %0, i64 44 %94 = load i32, ptr %93, align 4, !tbaa !38 %95 = getelementptr inbounds i8, ptr %0, i64 40 %96 = load i32, ptr %95, align 8, !tbaa !39 %97 = call i32 @ff_hls_write_init_file(i32 noundef %88, i32 noundef %90, i64 noundef %92, i32 noundef %94, i32 noundef %96) #4 %98 = load i32, ptr %9, align 4, !tbaa !26 %99 = load i32, ptr %0, align 8, !tbaa !27 %100 = icmp slt i32 %98, %99 br i1 %100, label %101, label %146 101: ; preds = %82 %102 = getelementptr inbounds i8, ptr %0, i64 32 %103 = sitofp i32 %17 to double %104 = sext i32 %98 to i64 br label %105 105: ; preds = %101, %141 %106 = phi i64 [ %104, %101 ], [ %142, %141 ] %107 = phi i32 [ %99, %101 ], [ %143, %141 ] %108 = load ptr, ptr %102, align 8, !tbaa !30 %109 = getelementptr inbounds ptr, ptr %108, i64 %106 %110 = load ptr, ptr %109, align 8, !tbaa !17 %111 = load double, ptr %11, align 8, !tbaa !24 %112 = fcmp oeq double %111, 0.000000e+00 br i1 %112, label %113, label %119 113: ; preds = %105 %114 = icmp eq i32 %107, 1 br i1 %114, label %115, label %117 115: ; preds = %113 %116 = load double, ptr %12, align 8, !tbaa !40 store double %116, ptr %11, align 8, !tbaa !24 br label %119 117: ; preds = %113 %118 = load double, ptr %110, align 8, !tbaa !41 store double %118, ptr %11, align 8, !tbaa !24 br label %119 119: ; preds = %115, %117, %105 %120 = phi double [ %116, %115 ], [ %118, %117 ], [ %111, %105 ] store double %120, ptr %110, align 8, !tbaa !41 %121 = load i32, ptr %46, align 8, !tbaa !35 %122 = load i64, ptr %91, align 8, !tbaa !37 %123 = getelementptr inbounds i8, ptr %110, i64 24 %124 = load i64, ptr %123, align 8, !tbaa !31 %125 = sitofp i64 %124 to double %126 = fdiv double %125, %103 %127 = getelementptr inbounds i8, ptr %110, i64 16 %128 = load i32, ptr %127, align 8, !tbaa !42 %129 = getelementptr inbounds i8, ptr %110, i64 12 %130 = load i32, ptr %129, align 4, !tbaa !43 %131 = icmp eq i64 %122, 0 %132 = getelementptr inbounds i8, ptr %110, i64 8 %133 = select i1 %131, ptr %132, ptr %89 %134 = load i32, ptr %133, align 8, !tbaa !26 %135 = call i32 @ff_hls_write_file_entry(i32 noundef %121, i32 noundef 0, i64 noundef %122, double noundef %126, i32 noundef 0, i32 noundef %128, i32 noundef %130, ptr noundef null, i32 noundef %134, ptr noundef nonnull %11, i32 noundef 0, i32 noundef 0, i32 noundef 0) #4 %136 = icmp slt i32 %135, 0 br i1 %136, label %137, label %141 137: ; preds = %119 %138 = load ptr, ptr %13, align 8, !tbaa !11 %139 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !26 %140 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef %138, i32 noundef %139, ptr noundef nonnull @.str.3) #4 br label %141 141: ; preds = %137, %119 %142 = add nsw i64 %106, 1 %143 = load i32, ptr %0, align 8, !tbaa !27 %144 = sext i32 %143 to i64 %145 = icmp slt i64 %142, %144 br i1 %145, label %105, label %146, !llvm.loop !44 146: ; preds = %141, %82 %147 = icmp eq ptr %4, null br i1 %147, label %151, label %148 148: ; preds = %146 %149 = load i32, ptr %46, align 8, !tbaa !35 %150 = call i32 @avio_printf(i32 noundef %149, ptr noundef nonnull @.str.4, ptr noundef nonnull %4) #4 br label %151 151: ; preds = %148, %146 %152 = icmp eq i32 %3, 0 br i1 %152, label %156, label %153 153: ; preds = %151 %154 = load i32, ptr %46, align 8, !tbaa !35 %155 = call i32 @ff_hls_write_end_list(i32 noundef %154) #4 br label %156 156: ; preds = %153, %151 %157 = call i32 @dashenc_io_close(ptr noundef nonnull %1, ptr noundef nonnull %46, ptr noundef nonnull %6) #4 br i1 %26, label %158, label %165 158: ; preds = %156 %159 = call i64 @avpriv_io_move(ptr noundef nonnull %6, ptr noundef nonnull %7) #4 %160 = icmp slt i64 %159, 0 br i1 %160, label %161, label %165 161: ; preds = %158 %162 = load ptr, ptr %13, align 8, !tbaa !11 %163 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !26 %164 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef %162, i32 noundef %163, ptr noundef nonnull @.str.5, ptr noundef nonnull %6, ptr noundef nonnull %7) #4 br label %165 165: ; preds = %156, %161, %158, %25, %31, %35, %50 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #4 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 @avio_find_protocol_name(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @get_start_index_number(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_hls_playlist_name(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @set_http_options(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dashenc_io_open(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_dict_free(ptr noundef) local_unnamed_addr #2 declare i32 @handle_io_open_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lrint(double 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 @ff_hls_write_playlist_header(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ff_hls_write_init_file(i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ff_hls_write_file_entry(i32 noundef, i32 noundef, i64 noundef, double noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @avio_printf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ff_hls_write_end_list(i32 noundef) local_unnamed_addr #2 declare i32 @dashenc_io_close(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @avpriv_io_move(ptr noundef, ptr 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #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 = !{!"TYPE_22__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 16} !12 = !{!"TYPE_20__", !13, i64 0, !14, i64 8, !8, i64 16, !13, i64 24, !8, i64 32, !13, i64 40, !13, i64 44} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_16__", !8, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!19, !13, i64 0} !19 = !{!"TYPE_18__", !20, i64 0} !20 = !{!"TYPE_17__", !13, i64 0} !21 = !{!22, !13, i64 24} !22 = !{!"TYPE_21__", !23, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !13, i64 28} !23 = !{!"double", !9, i64 0} !24 = !{!23, !23, i64 0} !25 = !{!22, !13, i64 28} !26 = !{!13, !13, i64 0} !27 = !{!12, !13, i64 0} !28 = !{!12, !14, i64 8} !29 = !{!14, !14, i64 0} !30 = !{!12, !8, i64 32} !31 = !{!32, !14, i64 24} !32 = !{!"TYPE_19__", !23, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !14, i64 24} !33 = distinct !{!33, !34} !34 = !{!"llvm.loop.mustprogress"} !35 = !{!22, !13, i64 8} !36 = !{!12, !13, i64 24} !37 = !{!22, !14, i64 16} !38 = !{!12, !13, i64 44} !39 = !{!12, !13, i64 40} !40 = !{!22, !23, i64 0} !41 = !{!32, !23, i64 0} !42 = !{!32, !13, i64 16} !43 = !{!32, !13, i64 12} !44 = distinct !{!44, !34}
FFmpeg_libavformat_extr_dashenc.c_write_hls_media_playlist
; ModuleID = 'AnghaBench/goaccess/src/extr_settings.c_verify_formats.c' source_filename = "AnghaBench/goaccess/src/extr_settings.c_verify_formats.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 { ptr, ptr, ptr } @conf = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @ERR_FORMAT_NO_TIME_FMT = dso_local local_unnamed_addr global ptr null, align 8 @ERR_FORMAT_NO_DATE_FMT = dso_local local_unnamed_addr global ptr null, align 8 @ERR_FORMAT_NO_LOG_FMT = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local ptr @verify_formats() local_unnamed_addr #0 { %1 = load ptr, ptr @conf, align 8, !tbaa !5 %2 = icmp eq ptr %1, null br i1 %2, label %6, label %3 3: ; preds = %0 %4 = load i8, ptr %1, align 1, !tbaa !10 %5 = icmp eq i8 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3, %0 %7 = load ptr, ptr @ERR_FORMAT_NO_TIME_FMT, align 8, !tbaa !11 br label %24 8: ; preds = %3 %9 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @conf, i64 0, i32 1), align 8, !tbaa !12 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i8, ptr %9, align 1, !tbaa !10 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11, %8 %15 = load ptr, ptr @ERR_FORMAT_NO_DATE_FMT, align 8, !tbaa !11 br label %24 16: ; preds = %11 %17 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @conf, i64 0, i32 2), align 8, !tbaa !13 %18 = icmp eq ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %16 %20 = load i8, ptr %17, align 1, !tbaa !10 %21 = icmp eq i8 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19, %16 %23 = load ptr, ptr @ERR_FORMAT_NO_LOG_FMT, align 8, !tbaa !11 br label %24 24: ; preds = %19, %22, %14, %6 %25 = phi ptr [ %7, %6 ], [ %15, %14 ], [ %23, %22 ], [ null, %19 ] ret ptr %25 } 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_2__", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/goaccess/src/extr_settings.c_verify_formats.c' source_filename = "AnghaBench/goaccess/src/extr_settings.c_verify_formats.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 { ptr, ptr, ptr } @conf = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @ERR_FORMAT_NO_TIME_FMT = common local_unnamed_addr global ptr null, align 8 @ERR_FORMAT_NO_DATE_FMT = common local_unnamed_addr global ptr null, align 8 @ERR_FORMAT_NO_LOG_FMT = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define ptr @verify_formats() local_unnamed_addr #0 { %1 = load ptr, ptr @conf, align 8, !tbaa !6 %2 = icmp eq ptr %1, null br i1 %2, label %6, label %3 3: ; preds = %0 %4 = load i8, ptr %1, align 1, !tbaa !11 %5 = icmp eq i8 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3, %0 %7 = load ptr, ptr @ERR_FORMAT_NO_TIME_FMT, align 8, !tbaa !12 br label %24 8: ; preds = %3 %9 = load ptr, ptr getelementptr inbounds (i8, ptr @conf, i64 8), align 8, !tbaa !13 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i8, ptr %9, align 1, !tbaa !11 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11, %8 %15 = load ptr, ptr @ERR_FORMAT_NO_DATE_FMT, align 8, !tbaa !12 br label %24 16: ; preds = %11 %17 = load ptr, ptr getelementptr inbounds (i8, ptr @conf, i64 16), align 8, !tbaa !14 %18 = icmp eq ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %16 %20 = load i8, ptr %17, align 1, !tbaa !11 %21 = icmp eq i8 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19, %16 %23 = load ptr, ptr @ERR_FORMAT_NO_LOG_FMT, align 8, !tbaa !12 br label %24 24: ; preds = %19, %22, %14, %6 %25 = phi ptr [ %7, %6 ], [ %15, %14 ], [ %23, %22 ], [ null, %19 ] ret ptr %25 } 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_2__", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!9, !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 16}
goaccess_src_extr_settings.c_verify_formats
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-st.c_st_pctl_set_function.c' source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-st.c_st_pctl_set_function.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 @st_pctl_set_function], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @st_pctl_set_function(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = tail call i32 @st_gpio_pin(i32 noundef %1) #3 %7 = icmp eq ptr %5, null br i1 %7, label %18, label %8 8: ; preds = %3 %9 = shl nsw i32 %6, 2 %10 = call i32 @regmap_field_read(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %11 = shl i32 15, %9 %12 = xor i32 %11, -1 %13 = load i32, ptr %4, align 4, !tbaa !10 %14 = and i32 %13, %12 %15 = shl i32 %2, %9 %16 = or i32 %14, %15 store i32 %16, ptr %4, align 4, !tbaa !10 %17 = call i32 @regmap_field_write(ptr noundef nonnull %5, i32 noundef %16) #3 br label %18 18: ; preds = %3, %8 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 @st_gpio_pin(i32 noundef) local_unnamed_addr #2 declare i32 @regmap_field_read(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @regmap_field_write(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 = !{!"st_pio_control", !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}
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-st.c_st_pctl_set_function.c' source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-st.c_st_pctl_set_function.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 @st_pctl_set_function], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @st_pctl_set_function(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = tail call i32 @st_gpio_pin(i32 noundef %1) #3 %7 = icmp eq ptr %5, null br i1 %7, label %18, label %8 8: ; preds = %3 %9 = shl nsw i32 %6, 2 %10 = call i32 @regmap_field_read(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %11 = shl i32 15, %9 %12 = xor i32 %11, -1 %13 = load i32, ptr %4, align 4, !tbaa !11 %14 = and i32 %13, %12 %15 = shl i32 %2, %9 %16 = or i32 %14, %15 store i32 %16, ptr %4, align 4, !tbaa !11 %17 = call i32 @regmap_field_write(ptr noundef nonnull %5, i32 noundef %16) #3 br label %18 18: ; preds = %3, %8 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 @st_gpio_pin(i32 noundef) local_unnamed_addr #2 declare i32 @regmap_field_read(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @regmap_field_write(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 = !{!"st_pio_control", !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 = !{!"int", !9, i64 0}
linux_drivers_pinctrl_extr_pinctrl-st.c_st_pctl_set_function
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_route.c_ipv4_cow_metrics.c' source_filename = "AnghaBench/linux/net/ipv4/extr_route.c_ipv4_cow_metrics.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 @ipv4_cow_metrics], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noalias noundef ptr @ipv4_cow_metrics(ptr nocapture readnone %0, i64 %1) #0 { %3 = tail call i32 @WARN_ON(i32 noundef 1) #2 ret ptr null } declare i32 @WARN_ON(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/net/ipv4/extr_route.c_ipv4_cow_metrics.c' source_filename = "AnghaBench/linux/net/ipv4/extr_route.c_ipv4_cow_metrics.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 @ipv4_cow_metrics], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noalias noundef ptr @ipv4_cow_metrics(ptr nocapture readnone %0, i64 %1) #0 { %3 = tail call i32 @WARN_ON(i32 noundef 1) #2 ret ptr null } declare i32 @WARN_ON(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_net_ipv4_extr_route.c_ipv4_cow_metrics
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/i386/extr_gthr-win32.c___gthr_win32_recursive_mutex_init_function.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/i386/extr_gthr-win32.c___gthr_win32_recursive_mutex_init_function.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, i64, i64 } ; Function Attrs: nounwind uwtable define dso_local void @__gthr_win32_recursive_mutex_init_function(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { store i32 -1, ptr %0, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false) %3 = tail call i32 @CreateSemaphore(ptr noundef null, i32 noundef 0, i32 noundef 65535, ptr noundef null) #3 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store i32 %3, ptr %4, align 4, !tbaa !11 ret void } declare i32 @CreateSemaphore(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, 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 nounwind willreturn memory(argmem: write) } 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, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/i386/extr_gthr-win32.c___gthr_win32_recursive_mutex_init_function.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/i386/extr_gthr-win32.c___gthr_win32_recursive_mutex_init_function.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 @__gthr_win32_recursive_mutex_init_function(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { store i32 -1, ptr %0, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %0, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false) %3 = tail call i32 @CreateSemaphore(ptr noundef null, i32 noundef 0, i32 noundef 65535, ptr noundef null) #3 %4 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %3, ptr %4, align 4, !tbaa !12 ret void } declare i32 @CreateSemaphore(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, 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 nounwind willreturn memory(argmem: write) } 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, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 4}
freebsd_contrib_gcc_config_i386_extr_gthr-win32.c___gthr_win32_recursive_mutex_init_function
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_event_req_get.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_event_req_get.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.ib_cm_req_event_param = type { i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } %struct.ib_ucm_req_event_resp = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ib_ucm_event_req_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ib_ucm_event_req_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.ib_cm_req_event_param, ptr %1, i64 0, i32 14 %4 = getelementptr inbounds %struct.ib_ucm_req_event_resp, ptr %0, i64 0, i32 14 %5 = load <2 x i32>, ptr %3, align 8, !tbaa !5 store <2 x i32> %5, ptr %4, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.ib_cm_req_event_param, ptr %1, i64 0, i32 10 %7 = getelementptr inbounds %struct.ib_ucm_req_event_resp, ptr %0, i64 0, i32 10 %8 = load <4 x i32>, ptr %6, align 8, !tbaa !5 store <4 x i32> %8, ptr %7, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.ib_cm_req_event_param, ptr %1, i64 0, i32 6 %10 = getelementptr inbounds %struct.ib_ucm_req_event_resp, ptr %0, i64 0, i32 6 %11 = load <4 x i32>, ptr %9, align 8, !tbaa !5 store <4 x i32> %11, ptr %10, align 4, !tbaa !5 %12 = getelementptr inbounds %struct.ib_cm_req_event_param, ptr %1, i64 0, i32 2 %13 = getelementptr inbounds %struct.ib_ucm_req_event_resp, ptr %0, i64 0, i32 2 %14 = load <4 x i32>, ptr %12, align 8, !tbaa !5 store <4 x i32> %14, ptr %13, align 4, !tbaa !5 %15 = getelementptr inbounds %struct.ib_ucm_req_event_resp, ptr %0, i64 0, i32 1 %16 = getelementptr inbounds %struct.ib_cm_req_event_param, ptr %1, i64 0, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !9 %18 = tail call i32 @ib_copy_path_rec_to_user(ptr noundef nonnull %15, i64 noundef %17) #2 %19 = load i64, ptr %1, align 8, !tbaa !12 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %2 %22 = tail call i32 @ib_copy_path_rec_to_user(ptr noundef nonnull %0, i64 noundef %19) #2 br label %23 23: ; preds = %21, %2 ret void } declare i32 @ib_copy_path_rec_to_user(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, !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 = !{!"ib_cm_req_event_param", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_event_req_get.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_ucm.c_ib_ucm_event_req_get.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 @ib_ucm_event_req_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ib_ucm_event_req_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 64 %4 = getelementptr inbounds i8, ptr %0, i64 56 %5 = load <2 x i32>, ptr %3, align 8, !tbaa !6 store <2 x i32> %5, ptr %4, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 48 %7 = getelementptr inbounds i8, ptr %0, i64 40 %8 = load <4 x i32>, ptr %6, align 8, !tbaa !6 store <4 x i32> %8, ptr %7, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %1, i64 32 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = load <4 x i32>, ptr %9, align 8, !tbaa !6 store <4 x i32> %11, ptr %10, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %1, i64 16 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = load <4 x i32>, ptr %12, align 8, !tbaa !6 store <4 x i32> %14, ptr %13, align 4, !tbaa !6 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = getelementptr inbounds i8, ptr %1, i64 8 %17 = load i64, ptr %16, align 8, !tbaa !10 %18 = tail call i32 @ib_copy_path_rec_to_user(ptr noundef nonnull %15, i64 noundef %17) #2 %19 = load i64, ptr %1, align 8, !tbaa !13 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %2 %22 = tail call i32 @ib_copy_path_rec_to_user(ptr noundef nonnull %0, i64 noundef %19) #2 br label %23 23: ; preds = %21, %2 ret void } declare i32 @ib_copy_path_rec_to_user(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, !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 = !{!"ib_cm_req_event_param", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0}
fastsocket_kernel_drivers_infiniband_core_extr_ucm.c_ib_ucm_event_req_get
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_rcutorture.c_sched_torture_read_unlock.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_rcutorture.c_sched_torture_read_unlock.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 @sched_torture_read_unlock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sched_torture_read_unlock(i32 %0) #0 { %2 = tail call i32 (...) @preempt_enable() #2 ret void } declare i32 @preempt_enable(...) 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/fastsocket/kernel/kernel/extr_rcutorture.c_sched_torture_read_unlock.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_rcutorture.c_sched_torture_read_unlock.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 @sched_torture_read_unlock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sched_torture_read_unlock(i32 %0) #0 { %2 = tail call i32 @preempt_enable() #2 ret void } declare i32 @preempt_enable(...) 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)"}
fastsocket_kernel_kernel_extr_rcutorture.c_sched_torture_read_unlock
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_dma-axi-dmac.c_axi_dmac_free_chan_resources.c' source_filename = "AnghaBench/linux/drivers/dma/extr_dma-axi-dmac.c_axi_dmac_free_chan_resources.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 @axi_dmac_free_chan_resources], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @axi_dmac_free_chan_resources(ptr noundef %0) #0 { %2 = tail call i32 @to_virt_chan(ptr noundef %0) #2 %3 = tail call i32 @vchan_free_chan_resources(i32 noundef %2) #2 ret void } declare i32 @vchan_free_chan_resources(i32 noundef) local_unnamed_addr #1 declare i32 @to_virt_chan(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/dma/extr_dma-axi-dmac.c_axi_dmac_free_chan_resources.c' source_filename = "AnghaBench/linux/drivers/dma/extr_dma-axi-dmac.c_axi_dmac_free_chan_resources.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 @axi_dmac_free_chan_resources], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @axi_dmac_free_chan_resources(ptr noundef %0) #0 { %2 = tail call i32 @to_virt_chan(ptr noundef %0) #2 %3 = tail call i32 @vchan_free_chan_resources(i32 noundef %2) #2 ret void } declare i32 @vchan_free_chan_resources(i32 noundef) local_unnamed_addr #1 declare i32 @to_virt_chan(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_dma_extr_dma-axi-dmac.c_axi_dmac_free_chan_resources
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/extr_pcie.c_qtnf_tune_pcie_mps.c' source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/extr_pcie.c_qtnf_tune_pcie_mps.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.pci_dev = type { i32, ptr } @.str = private unnamed_addr constant [48 x i8] c"failed to set mps to %d, keep using current %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"set mps to %d (was %d, max %d)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @qtnf_tune_pcie_mps], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qtnf_tune_pcie_mps(ptr noundef %0) #0 { %2 = tail call i32 @pcie_get_mps(ptr noundef %0) #2 %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = shl i32 128, %3 %5 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = icmp eq ptr %6, null br i1 %7, label %17, label %8 8: ; preds = %1 %9 = load ptr, ptr %6, align 8, !tbaa !12 %10 = icmp eq ptr %9, null br i1 %10, label %17, label %11 11: ; preds = %8 %12 = tail call i64 @pci_is_pcie(ptr noundef nonnull %9) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = tail call i32 @pcie_get_mps(ptr noundef nonnull %9) #2 %16 = tail call i32 @min(i32 noundef %4, i32 noundef %15) #2 br label %17 17: ; preds = %11, %14, %8, %1 %18 = phi i32 [ %16, %14 ], [ %4, %11 ], [ %4, %8 ], [ %4, %1 ] %19 = tail call i32 @pcie_set_mps(ptr noundef nonnull %0, i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %18, i32 noundef %2) #2 br label %25 23: ; preds = %17 %24 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %18, i32 noundef %2, i32 noundef %4) #2 br label %25 25: ; preds = %23, %21 ret void } declare i32 @pcie_get_mps(ptr noundef) local_unnamed_addr #1 declare i64 @pci_is_pcie(ptr noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pcie_set_mps(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_debug(ptr 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 = !{!"pci_dev", !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 = !{!6, !10, i64 8} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_2__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/extr_pcie.c_qtnf_tune_pcie_mps.c' source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/extr_pcie.c_qtnf_tune_pcie_mps.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 [48 x i8] c"failed to set mps to %d, keep using current %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"set mps to %d (was %d, max %d)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @qtnf_tune_pcie_mps], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qtnf_tune_pcie_mps(ptr noundef %0) #0 { %2 = tail call i32 @pcie_get_mps(ptr noundef %0) #2 %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = shl i32 128, %3 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = icmp eq ptr %6, null br i1 %7, label %17, label %8 8: ; preds = %1 %9 = load ptr, ptr %6, align 8, !tbaa !13 %10 = icmp eq ptr %9, null br i1 %10, label %17, label %11 11: ; preds = %8 %12 = tail call i64 @pci_is_pcie(ptr noundef nonnull %9) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = tail call i32 @pcie_get_mps(ptr noundef nonnull %9) #2 %16 = tail call i32 @min(i32 noundef %4, i32 noundef %15) #2 br label %17 17: ; preds = %11, %14, %8, %1 %18 = phi i32 [ %16, %14 ], [ %4, %11 ], [ %4, %8 ], [ %4, %1 ] %19 = tail call i32 @pcie_set_mps(ptr noundef nonnull %0, i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %18, i32 noundef %2) #2 br label %25 23: ; preds = %17 %24 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %18, i32 noundef %2, i32 noundef %4) #2 br label %25 25: ; preds = %23, %21 ret void } declare i32 @pcie_get_mps(ptr noundef) local_unnamed_addr #1 declare i64 @pci_is_pcie(ptr noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pcie_set_mps(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_debug(ptr 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 = !{!"pci_dev", !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 = !{!7, !11, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_2__", !11, i64 0}
linux_drivers_net_wireless_quantenna_qtnfmac_pcie_extr_pcie.c_qtnf_tune_pcie_mps
; ModuleID = 'AnghaBench/memcached/extr_crawler.c_crawler_expired_doneclass.c' source_filename = "AnghaBench/memcached/extr_crawler.c_crawler_expired_doneclass.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.crawler_expired_data = type { i32, ptr } %struct.TYPE_4__ = type { i32, i32 } @current_time = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @crawler_expired_doneclass], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @crawler_expired_doneclass(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @pthread_mutex_lock(ptr noundef %4) #2 %6 = load i32, ptr @current_time, align 4, !tbaa !10 %7 = getelementptr inbounds %struct.crawler_expired_data, ptr %4, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = sext i32 %1 to i64 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %9, i32 1 store i32 %6, ptr %10, align 4, !tbaa !15 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %9 store i32 1, ptr %11, align 4, !tbaa !17 %12 = tail call i32 @pthread_mutex_unlock(ptr noundef %4) #2 ret void } declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_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, !7, i64 0} !6 = !{!"TYPE_5__", !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, !14, i64 8} !13 = !{!"crawler_expired_data", !11, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !11, i64 4} !16 = !{!"TYPE_4__", !11, i64 0, !11, i64 4} !17 = !{!16, !11, i64 0}
; ModuleID = 'AnghaBench/memcached/extr_crawler.c_crawler_expired_doneclass.c' source_filename = "AnghaBench/memcached/extr_crawler.c_crawler_expired_doneclass.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 { i32, i32 } @current_time = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @crawler_expired_doneclass], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @crawler_expired_doneclass(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @pthread_mutex_lock(ptr noundef %4) #2 %6 = load i32, ptr @current_time, align 4, !tbaa !11 %7 = getelementptr inbounds i8, ptr %4, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = sext i32 %1 to i64 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %9, i32 1 store i32 %6, ptr %10, align 4, !tbaa !16 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 %9 store i32 1, ptr %11, align 4, !tbaa !18 %12 = tail call i32 @pthread_mutex_unlock(ptr noundef %4) #2 ret void } declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_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, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"crawler_expired_data", !12, i64 0, !15, i64 8} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !12, i64 4} !17 = !{!"TYPE_4__", !12, i64 0, !12, i64 4} !18 = !{!17, !12, i64 0}
memcached_extr_crawler.c_crawler_expired_doneclass
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_ssl_tls.c_ssl_bitmask_check.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_ssl_tls.c_ssl_bitmask_check.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 @ssl_bitmask_check], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef i32 @ssl_bitmask_check(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = lshr i64 %1, 3 %4 = icmp ult i64 %1, 8 br i1 %4, label %8, label %16 5: ; preds = %16 %6 = add nuw nsw i64 %17, 1 %7 = icmp eq i64 %6, %3 br i1 %7, label %8, label %16, !llvm.loop !5 8: ; preds = %5, %2 %9 = and i64 %1, 7 %10 = icmp eq i64 %9, 0 br i1 %10, label %52, label %11 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %0, i64 %3 %13 = load i8, ptr %12, align 1, !tbaa !7 %14 = zext i8 %13 to i32 %15 = icmp sgt i8 %13, -1 br i1 %15, label %52, label %21 16: ; preds = %2, %5 %17 = phi i64 [ %6, %5 ], [ 0, %2 ] %18 = getelementptr inbounds i8, ptr %0, i64 %17 %19 = load i8, ptr %18, align 1, !tbaa !7 %20 = icmp eq i8 %19, -1 br i1 %20, label %5, label %52 21: ; preds = %11 %22 = icmp eq i64 %9, 1 br i1 %22, label %52, label %23, !llvm.loop !10 23: ; preds = %21 %24 = and i32 %14, 64 %25 = icmp eq i32 %24, 0 br i1 %25, label %52, label %26 26: ; preds = %23 %27 = icmp eq i64 %9, 2 br i1 %27, label %52, label %28, !llvm.loop !10 28: ; preds = %26 %29 = and i32 %14, 32 %30 = icmp eq i32 %29, 0 br i1 %30, label %52, label %31 31: ; preds = %28 %32 = icmp eq i64 %9, 3 br i1 %32, label %52, label %33, !llvm.loop !10 33: ; preds = %31 %34 = and i32 %14, 16 %35 = icmp eq i32 %34, 0 br i1 %35, label %52, label %36 36: ; preds = %33 %37 = icmp eq i64 %9, 4 br i1 %37, label %52, label %38, !llvm.loop !10 38: ; preds = %36 %39 = and i32 %14, 8 %40 = icmp eq i32 %39, 0 br i1 %40, label %52, label %41 41: ; preds = %38 %42 = icmp eq i64 %9, 5 br i1 %42, label %52, label %43, !llvm.loop !10 43: ; preds = %41 %44 = and i32 %14, 4 %45 = icmp eq i32 %44, 0 br i1 %45, label %52, label %46 46: ; preds = %43 %47 = icmp eq i64 %9, 6 br i1 %47, label %52, label %48, !llvm.loop !10 48: ; preds = %46 %49 = and i32 %14, 2 %50 = icmp eq i32 %49, 0 %51 = select i1 %50, i32 -1, i32 0 br label %52 52: ; preds = %48, %16, %11, %21, %23, %26, %28, %31, %33, %36, %38, %41, %43, %46, %8 %53 = phi i32 [ 0, %8 ], [ -1, %11 ], [ 0, %21 ], [ -1, %23 ], [ 0, %26 ], [ -1, %28 ], [ 0, %31 ], [ -1, %33 ], [ 0, %36 ], [ -1, %38 ], [ 0, %41 ], [ -1, %43 ], [ 0, %46 ], [ %51, %48 ], [ -1, %16 ] ret i32 %53 } attributes #0 = { nofree norecurse nosync nounwind 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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = !{!8, !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !6}
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_ssl_tls.c_ssl_bitmask_check.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_ssl_tls.c_ssl_bitmask_check.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 @ssl_bitmask_check], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) define internal range(i32 -1, 1) i32 @ssl_bitmask_check(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = lshr i64 %1, 3 %4 = icmp ult i64 %1, 8 br i1 %4, label %8, label %16 5: ; preds = %16 %6 = add nuw nsw i64 %17, 1 %7 = icmp eq i64 %6, %3 br i1 %7, label %8, label %16, !llvm.loop !6 8: ; preds = %5, %2 %9 = and i64 %1, 7 %10 = icmp eq i64 %9, 0 br i1 %10, label %52, label %11 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %0, i64 %3 %13 = load i8, ptr %12, align 1, !tbaa !8 %14 = zext i8 %13 to i32 %15 = icmp sgt i8 %13, -1 br i1 %15, label %52, label %21 16: ; preds = %2, %5 %17 = phi i64 [ %6, %5 ], [ 0, %2 ] %18 = getelementptr inbounds i8, ptr %0, i64 %17 %19 = load i8, ptr %18, align 1, !tbaa !8 %20 = icmp eq i8 %19, -1 br i1 %20, label %5, label %52 21: ; preds = %11 %22 = icmp eq i64 %9, 1 br i1 %22, label %52, label %23, !llvm.loop !11 23: ; preds = %21 %24 = and i32 %14, 64 %25 = icmp eq i32 %24, 0 br i1 %25, label %52, label %26 26: ; preds = %23 %27 = icmp eq i64 %9, 2 br i1 %27, label %52, label %28, !llvm.loop !11 28: ; preds = %26 %29 = and i32 %14, 32 %30 = icmp eq i32 %29, 0 br i1 %30, label %52, label %31 31: ; preds = %28 %32 = icmp eq i64 %9, 3 br i1 %32, label %52, label %33, !llvm.loop !11 33: ; preds = %31 %34 = and i32 %14, 16 %35 = icmp eq i32 %34, 0 br i1 %35, label %52, label %36 36: ; preds = %33 %37 = icmp eq i64 %9, 4 br i1 %37, label %52, label %38, !llvm.loop !11 38: ; preds = %36 %39 = and i32 %14, 8 %40 = icmp eq i32 %39, 0 br i1 %40, label %52, label %41 41: ; preds = %38 %42 = icmp eq i64 %9, 5 br i1 %42, label %52, label %43, !llvm.loop !11 43: ; preds = %41 %44 = and i32 %14, 4 %45 = icmp eq i32 %44, 0 br i1 %45, label %52, label %46 46: ; preds = %43 %47 = icmp eq i64 %9, 6 br i1 %47, label %52, label %48, !llvm.loop !11 48: ; preds = %46 %49 = and i32 %14, 2 %50 = icmp eq i32 %49, 0 %51 = select i1 %50, i32 -1, i32 0 br label %52 52: ; preds = %48, %16, %11, %21, %23, %26, %28, %31, %33, %36, %38, %41, %43, %46, %8 %53 = phi i32 [ 0, %8 ], [ -1, %11 ], [ 0, %21 ], [ -1, %23 ], [ 0, %26 ], [ -1, %28 ], [ 0, %31 ], [ -1, %33 ], [ 0, %36 ], [ -1, %38 ], [ 0, %41 ], [ -1, %43 ], [ 0, %46 ], [ %51, %48 ], [ -1, %16 ] ret i32 %53 } attributes #0 = { nofree norecurse nosync nounwind ssp 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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!9, !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !7}
RetroArch_deps_mbedtls_extr_ssl_tls.c_ssl_bitmask_check
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/dos/extr_3289.c_sock_recv.c' source_filename = "AnghaBench/exploitdb/exploits/linux/dos/extr_3289.c_sock_recv.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 @sock_recv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sock_recv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @recv(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #2 %5 = icmp sgt i32 %4, -1 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = zext nneg i32 %4 to i64 %8 = getelementptr inbounds i8, ptr %1, i64 %7 store i8 0, ptr %8, align 1, !tbaa !5 br label %9 9: ; preds = %6, %3 ret i32 %4 } declare i32 @recv(i32 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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/dos/extr_3289.c_sock_recv.c' source_filename = "AnghaBench/exploitdb/exploits/linux/dos/extr_3289.c_sock_recv.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 @sock_recv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sock_recv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @recv(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 0) #2 %5 = icmp sgt i32 %4, -1 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = zext nneg i32 %4 to i64 %8 = getelementptr inbounds i8, ptr %1, i64 %7 store i8 0, ptr %8, align 1, !tbaa !6 br label %9 9: ; preds = %6, %3 ret i32 %4 } declare i32 @recv(i32 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
exploitdb_exploits_linux_dos_extr_3289.c_sock_recv
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_tvp5150.c_query_lock.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_tvp5150.c_query_lock.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.tvp5150 = type { i32, i32, i64 } @TVP5150_STATUS_REG_1 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @query_lock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @query_lock(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @to_tvp5150(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = getelementptr inbounds %struct.tvp5150, ptr %3, i64 0, i32 2 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = load i32, ptr %3, align 8, !tbaa !11 br label %18 9: ; preds = %1 %10 = getelementptr inbounds %struct.tvp5150, ptr %3, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = load i32, ptr @TVP5150_STATUS_REG_1, align 4, !tbaa !13 %13 = call i32 @regmap_read(i32 noundef %11, i32 noundef %12, ptr noundef nonnull %2) #3 %14 = load i32, ptr %2, align 4, !tbaa !13 %15 = and i32 %14, 14 %16 = icmp eq i32 %15, 14 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %9, %7 %19 = phi i32 [ %8, %7 ], [ %17, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %19 } ; 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_tvp5150(ptr noundef) local_unnamed_addr #2 declare i32 @regmap_read(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, !10, i64 8} !6 = !{!"tvp5150", !7, i64 0, !7, i64 4, !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, !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_tvp5150.c_query_lock.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_tvp5150.c_query_lock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TVP5150_STATUS_REG_1 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @query_lock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @query_lock(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @to_tvp5150(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = load i32, ptr %3, align 8, !tbaa !12 br label %18 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %3, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = load i32, ptr @TVP5150_STATUS_REG_1, align 4, !tbaa !14 %13 = call i32 @regmap_read(i32 noundef %11, i32 noundef %12, ptr noundef nonnull %2) #3 %14 = load i32, ptr %2, align 4, !tbaa !14 %15 = and i32 %14, 14 %16 = icmp eq i32 %15, 14 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %9, %7 %19 = phi i32 [ %8, %7 ], [ %17, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %19 } ; 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_tvp5150(ptr noundef) local_unnamed_addr #2 declare i32 @regmap_read(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, !11, i64 8} !7 = !{!"tvp5150", !8, i64 0, !8, i64 4, !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, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!8, !8, i64 0}
linux_drivers_media_i2c_extr_tvp5150.c_query_lock
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ibmpex.c_ibmpex_reset_high_low.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ibmpex.c_ibmpex_reset_high_low.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 @ibmpex_reset_high_low], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i64 @ibmpex_reset_high_low(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i64 noundef returned %3) #0 { %5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %6 = tail call i32 @ibmpex_reset_high_low_data(ptr noundef %5) #2 ret i64 %3 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @ibmpex_reset_high_low_data(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/fastsocket/kernel/drivers/hwmon/extr_ibmpex.c_ibmpex_reset_high_low.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ibmpex.c_ibmpex_reset_high_low.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 @ibmpex_reset_high_low], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i64 @ibmpex_reset_high_low(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i64 noundef returned %3) #0 { %5 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %6 = tail call i32 @ibmpex_reset_high_low_data(ptr noundef %5) #2 ret i64 %3 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @ibmpex_reset_high_low_data(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)"}
fastsocket_kernel_drivers_hwmon_extr_ibmpex.c_ibmpex_reset_high_low
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/udc/aspeed-vhub/extr_dev.c_ast_vhub_ep_status.c' source_filename = "AnghaBench/linux/drivers/usb/gadget/udc/aspeed-vhub/extr_dev.c_ast_vhub_ep_status.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.ast_vhub_dev = type { i32, ptr } %struct.TYPE_4__ = type { i32, i64, i64, i32 } %struct.ast_vhub_ep = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @USB_ENDPOINT_NUMBER_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"GET_STATUS(ep%d)\0A\00", align 1 @AST_VHUB_NUM_GEN_EPs = dso_local local_unnamed_addr global i32 0, align 4 @std_req_stall = dso_local local_unnamed_addr global i32 0, align 4 @USB_DIR_IN = dso_local local_unnamed_addr global i32 0, align 4 @USB_ENDPOINT_HALT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ast_vhub_ep_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ast_vhub_ep_status(ptr noundef %0, i32 noundef %1, i32 %2) #0 { %4 = load i32, ptr @USB_ENDPOINT_NUMBER_MASK, align 4, !tbaa !5 %5 = and i32 %4, %1 %6 = tail call i32 @DDBG(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %5) #2 %7 = load i32, ptr @AST_VHUB_NUM_GEN_EPs, align 4, !tbaa !5 %8 = icmp slt i32 %5, %7 br i1 %8, label %11, label %9 9: ; preds = %3 %10 = load i32, ptr @std_req_stall, align 4, !tbaa !5 br label %54 11: ; preds = %3 %12 = icmp eq i32 %5, 0 br i1 %12, label %51, label %13 13: ; preds = %11 %14 = getelementptr inbounds %struct.ast_vhub_dev, ptr %0, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !9 %16 = sext i32 %5 to i64 %17 = getelementptr ptr, ptr %15, i64 %16 %18 = getelementptr ptr, ptr %17, i64 -1 %19 = load ptr, ptr %18, align 8, !tbaa !12 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %13 %22 = load i32, ptr @std_req_stall, align 4, !tbaa !5 br label %54 23: ; preds = %13 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i64 0, i32 3 %25 = load i32, ptr %24, align 8, !tbaa !13 %26 = icmp eq i32 %25, 0 br i1 %26, label %42, label %27 27: ; preds = %23 %28 = getelementptr inbounds %struct.ast_vhub_ep, ptr %19, i64 0, i32 1 %29 = load i32, ptr %28, align 8, !tbaa !18 %30 = icmp eq i32 %29, 0 br i1 %30, label %42, label %31 31: ; preds = %27 %32 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i64 0, i32 2 %33 = load i64, ptr %32, align 8, !tbaa !19 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %42 35: ; preds = %31 %36 = load i32, ptr %19, align 8, !tbaa !20 %37 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !5 %38 = and i32 %37, %1 %39 = icmp ne i32 %38, 0 %40 = zext i1 %39 to i32 %41 = icmp eq i32 %36, %40 br i1 %41, label %44, label %42 42: ; preds = %35, %31, %27, %23 %43 = load i32, ptr @std_req_stall, align 4, !tbaa !5 br label %54 44: ; preds = %35 %45 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i64 0, i32 1 %46 = load i64, ptr %45, align 8, !tbaa !21 %47 = icmp eq i64 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %44 %49 = load i32, ptr @USB_ENDPOINT_HALT, align 4, !tbaa !5 %50 = shl nuw i32 1, %49 br label %51 51: ; preds = %44, %48, %11 %52 = phi i32 [ %50, %48 ], [ 0, %44 ], [ 0, %11 ] %53 = tail call i32 @ast_vhub_simple_reply(ptr noundef %0, i32 noundef %52, i32 noundef 0) #2 br label %54 54: ; preds = %51, %42, %21, %9 %55 = phi i32 [ %10, %9 ], [ %43, %42 ], [ %53, %51 ], [ %22, %21 ] ret i32 %55 } declare i32 @DDBG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ast_vhub_simple_reply(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 = !{!"ast_vhub_dev", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !6, i64 24} !14 = !{!"ast_vhub_ep", !15, i64 0, !17, i64 32} !15 = !{!"TYPE_4__", !6, i64 0, !16, i64 8, !16, i64 16, !6, i64 24} !16 = !{!"long", !7, i64 0} !17 = !{!"TYPE_3__", !6, i64 0} !18 = !{!14, !6, i64 32} !19 = !{!14, !16, i64 16} !20 = !{!14, !6, i64 0} !21 = !{!14, !16, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/udc/aspeed-vhub/extr_dev.c_ast_vhub_ep_status.c' source_filename = "AnghaBench/linux/drivers/usb/gadget/udc/aspeed-vhub/extr_dev.c_ast_vhub_ep_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USB_ENDPOINT_NUMBER_MASK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"GET_STATUS(ep%d)\0A\00", align 1 @AST_VHUB_NUM_GEN_EPs = common local_unnamed_addr global i32 0, align 4 @std_req_stall = common local_unnamed_addr global i32 0, align 4 @USB_DIR_IN = common local_unnamed_addr global i32 0, align 4 @USB_ENDPOINT_HALT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ast_vhub_ep_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ast_vhub_ep_status(ptr noundef %0, i32 noundef %1, i32 %2) #0 { %4 = load i32, ptr @USB_ENDPOINT_NUMBER_MASK, align 4, !tbaa !6 %5 = and i32 %4, %1 %6 = tail call i32 @DDBG(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %5) #2 %7 = load i32, ptr @AST_VHUB_NUM_GEN_EPs, align 4, !tbaa !6 %8 = icmp slt i32 %5, %7 br i1 %8, label %11, label %9 9: ; preds = %3 %10 = load i32, ptr @std_req_stall, align 4, !tbaa !6 br label %54 11: ; preds = %3 %12 = icmp eq i32 %5, 0 br i1 %12, label %51, label %13 13: ; preds = %11 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !10 %16 = sext i32 %5 to i64 %17 = getelementptr ptr, ptr %15, i64 %16 %18 = getelementptr i8, ptr %17, i64 -8 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %13 %22 = load i32, ptr @std_req_stall, align 4, !tbaa !6 br label %54 23: ; preds = %13 %24 = getelementptr inbounds i8, ptr %19, i64 24 %25 = load i32, ptr %24, align 8, !tbaa !14 %26 = icmp eq i32 %25, 0 br i1 %26, label %42, label %27 27: ; preds = %23 %28 = getelementptr inbounds i8, ptr %19, i64 32 %29 = load i32, ptr %28, align 8, !tbaa !19 %30 = icmp eq i32 %29, 0 br i1 %30, label %42, label %31 31: ; preds = %27 %32 = getelementptr inbounds i8, ptr %19, i64 16 %33 = load i64, ptr %32, align 8, !tbaa !20 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %42 35: ; preds = %31 %36 = load i32, ptr %19, align 8, !tbaa !21 %37 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !6 %38 = and i32 %37, %1 %39 = icmp ne i32 %38, 0 %40 = zext i1 %39 to i32 %41 = icmp eq i32 %36, %40 br i1 %41, label %44, label %42 42: ; preds = %35, %31, %27, %23 %43 = load i32, ptr @std_req_stall, align 4, !tbaa !6 br label %54 44: ; preds = %35 %45 = getelementptr inbounds i8, ptr %19, i64 8 %46 = load i64, ptr %45, align 8, !tbaa !22 %47 = icmp eq i64 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %44 %49 = load i32, ptr @USB_ENDPOINT_HALT, align 4, !tbaa !6 %50 = shl nuw i32 1, %49 br label %51 51: ; preds = %44, %48, %11 %52 = phi i32 [ %50, %48 ], [ 0, %44 ], [ 0, %11 ] %53 = tail call i32 @ast_vhub_simple_reply(ptr noundef %0, i32 noundef %52, i32 noundef 0) #2 br label %54 54: ; preds = %51, %42, %21, %9 %55 = phi i32 [ %10, %9 ], [ %43, %42 ], [ %53, %51 ], [ %22, %21 ] ret i32 %55 } declare i32 @DDBG(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ast_vhub_simple_reply(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 = !{!"ast_vhub_dev", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !7, i64 24} !15 = !{!"ast_vhub_ep", !16, i64 0, !18, i64 32} !16 = !{!"TYPE_4__", !7, i64 0, !17, i64 8, !17, i64 16, !7, i64 24} !17 = !{!"long", !8, i64 0} !18 = !{!"TYPE_3__", !7, i64 0} !19 = !{!15, !7, i64 32} !20 = !{!15, !17, i64 16} !21 = !{!15, !7, i64 0} !22 = !{!15, !17, i64 8}
linux_drivers_usb_gadget_udc_aspeed-vhub_extr_dev.c_ast_vhub_ep_status
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_timer.c_timer_diff.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_timer.c_timer_diff.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.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/darwin-xnu/bsd/netinet/extr_tcp_timer.c_timer_diff.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_timer.c_timer_diff.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" !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)"}
darwin-xnu_bsd_netinet_extr_tcp_timer.c_timer_diff
; ModuleID = 'AnghaBench/git/compat/win32/extr_....git-compat-util.h_strip_suffix_mem.c' source_filename = "AnghaBench/git/compat/win32/extr_....git-compat-util.h_strip_suffix_mem.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 @strip_suffix_mem], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @strip_suffix_mem(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) #0 { %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = icmp ult i64 %5, %4 br i1 %6, label %15, label %7 7: ; preds = %3 %8 = sub i64 %5, %4 %9 = getelementptr inbounds i8, ptr %0, i64 %8 %10 = tail call i64 @memcmp(ptr noundef %9, ptr noundef %2, i64 noundef %4) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %7 %13 = load i64, ptr %1, align 8, !tbaa !5 %14 = sub i64 %13, %4 store i64 %14, ptr %1, align 8, !tbaa !5 br label %15 15: ; preds = %3, %7, %12 %16 = phi i32 [ 1, %12 ], [ 0, %7 ], [ 0, %3 ] ret i32 %16 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 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 nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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"}
; ModuleID = 'AnghaBench/git/compat/win32/extr_....git-compat-util.h_strip_suffix_mem.c' source_filename = "AnghaBench/git/compat/win32/extr_....git-compat-util.h_strip_suffix_mem.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 @strip_suffix_mem], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @strip_suffix_mem(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) #0 { %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #3 %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = icmp ult i64 %5, %4 br i1 %6, label %15, label %7 7: ; preds = %3 %8 = sub i64 %5, %4 %9 = getelementptr inbounds i8, ptr %0, i64 %8 %10 = tail call i64 @memcmp(ptr noundef %9, ptr noundef %2, i64 noundef %4) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %7 %13 = load i64, ptr %1, align 8, !tbaa !6 %14 = sub i64 %13, %4 store i64 %14, ptr %1, align 8, !tbaa !6 br label %15 15: ; preds = %3, %7, %12 %16 = phi i32 [ 1, %12 ], [ 0, %7 ], [ 0, %3 ] ret i32 %16 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 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 nofree nounwind willreturn memory(argmem: read) "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 = { "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"}
git_compat_win32_extr_....git-compat-util.h_strip_suffix_mem
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_si.c_dce6_line_buffer_adjust.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_si.c_dce6_line_buffer_adjust.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.radeon_crtc = type { i32, i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64 } @DC_LB_MEMORY_SPLIT = dso_local local_unnamed_addr global i64 0, align 8 @PIPE0_DMIF_BUFFER_CONTROL = dso_local local_unnamed_addr global i64 0, align 8 @DMIF_BUFFERS_ALLOCATED_COMPLETED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dce6_line_buffer_adjust], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @dce6_line_buffer_adjust(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef readnone %2, ptr noundef readnone %3) #0 { %5 = load i32, ptr %1, align 8, !tbaa !5 %6 = shl nsw i32 %5, 5 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds %struct.radeon_crtc, ptr %1, i64 0, i32 2 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = icmp ne i64 %9, 0 %11 = icmp ne ptr %2, null %12 = and i1 %11, %10 %13 = icmp eq ptr %3, null %14 = select i1 %13, i64 2, i64 1 %15 = and i1 %12, %13 %16 = select i1 %15, i64 2, i64 0 %17 = select i1 %12, i64 %14, i64 0 %18 = load i64, ptr @DC_LB_MEMORY_SPLIT, align 8, !tbaa !13 %19 = getelementptr inbounds %struct.radeon_crtc, ptr %1, i64 0, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !14 %21 = add nsw i64 %20, %18 %22 = tail call i32 @DC_LB_MEMORY_CONFIG(i64 noundef %16) #2 %23 = tail call i32 @WREG32(i64 noundef %21, i32 noundef %22) #2 %24 = load i64, ptr @PIPE0_DMIF_BUFFER_CONTROL, align 8, !tbaa !13 %25 = add nsw i64 %24, %7 %26 = tail call i32 @DMIF_BUFFERS_ALLOCATED(i64 noundef %17) #2 %27 = tail call i32 @WREG32(i64 noundef %25, i32 noundef %26) #2 %28 = load i64, ptr %0, align 8, !tbaa !15 %29 = icmp sgt i64 %28, 0 br i1 %29, label %30, label %43 30: ; preds = %4, %38 %31 = phi i64 [ %40, %38 ], [ 0, %4 ] %32 = load i64, ptr @PIPE0_DMIF_BUFFER_CONTROL, align 8, !tbaa !13 %33 = add nsw i64 %32, %7 %34 = tail call i32 @RREG32(i64 noundef %33) #2 %35 = load i32, ptr @DMIF_BUFFERS_ALLOCATED_COMPLETED, align 4, !tbaa !17 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %30 %39 = tail call i32 @udelay(i32 noundef 1) #2 %40 = add nuw nsw i64 %31, 1 %41 = load i64, ptr %0, align 8, !tbaa !15 %42 = icmp slt i64 %40, %41 br i1 %42, label %30, label %43, !llvm.loop !18 43: ; preds = %38, %30, %4 %44 = select i1 %15, i64 16384, i64 8192 %45 = load i64, ptr %8, align 8, !tbaa !12 %46 = icmp ne i64 %45, 0 %47 = and i1 %11, %46 %48 = select i1 %47, i64 %44, i64 0 ret i64 %48 } declare i32 @WREG32(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DC_LB_MEMORY_CONFIG(i64 noundef) local_unnamed_addr #1 declare i32 @DMIF_BUFFERS_ALLOCATED(i64 noundef) local_unnamed_addr #1 declare i32 @RREG32(i64 noundef) local_unnamed_addr #1 declare i32 @udelay(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 = !{!"radeon_crtc", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"TYPE_2__", !10, i64 0} !12 = !{!6, !10, i64 16} !13 = !{!10, !10, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!16, !10, i64 0} !16 = !{!"radeon_device", !10, i64 0} !17 = !{!7, !7, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_si.c_dce6_line_buffer_adjust.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_si.c_dce6_line_buffer_adjust.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DC_LB_MEMORY_SPLIT = common local_unnamed_addr global i64 0, align 8 @PIPE0_DMIF_BUFFER_CONTROL = common local_unnamed_addr global i64 0, align 8 @DMIF_BUFFERS_ALLOCATED_COMPLETED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dce6_line_buffer_adjust], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i64 0, 16385) i64 @dce6_line_buffer_adjust(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef readnone %2, ptr noundef readnone %3) #0 { %5 = load i32, ptr %1, align 8, !tbaa !6 %6 = shl nsw i32 %5, 5 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %1, i64 16 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = icmp ne i64 %9, 0 %11 = icmp ne ptr %2, null %12 = and i1 %11, %10 %13 = icmp eq ptr %3, null %14 = select i1 %13, i64 2, i64 1 %15 = and i1 %12, %13 %16 = select i1 %15, i64 2, i64 0 %17 = select i1 %12, i64 %14, i64 0 %18 = load i64, ptr @DC_LB_MEMORY_SPLIT, align 8, !tbaa !14 %19 = getelementptr inbounds i8, ptr %1, i64 8 %20 = load i64, ptr %19, align 8, !tbaa !15 %21 = add nsw i64 %20, %18 %22 = tail call i32 @DC_LB_MEMORY_CONFIG(i64 noundef %16) #2 %23 = tail call i32 @WREG32(i64 noundef %21, i32 noundef %22) #2 %24 = load i64, ptr @PIPE0_DMIF_BUFFER_CONTROL, align 8, !tbaa !14 %25 = add nsw i64 %24, %7 %26 = tail call i32 @DMIF_BUFFERS_ALLOCATED(i64 noundef %17) #2 %27 = tail call i32 @WREG32(i64 noundef %25, i32 noundef %26) #2 %28 = load i64, ptr %0, align 8, !tbaa !16 %29 = icmp sgt i64 %28, 0 br i1 %29, label %30, label %43 30: ; preds = %4, %38 %31 = phi i64 [ %40, %38 ], [ 0, %4 ] %32 = load i64, ptr @PIPE0_DMIF_BUFFER_CONTROL, align 8, !tbaa !14 %33 = add nsw i64 %32, %7 %34 = tail call i32 @RREG32(i64 noundef %33) #2 %35 = load i32, ptr @DMIF_BUFFERS_ALLOCATED_COMPLETED, align 4, !tbaa !18 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %43 38: ; preds = %30 %39 = tail call i32 @udelay(i32 noundef 1) #2 %40 = add nuw nsw i64 %31, 1 %41 = load i64, ptr %0, align 8, !tbaa !16 %42 = icmp slt i64 %40, %41 br i1 %42, label %30, label %43, !llvm.loop !19 43: ; preds = %38, %30, %4 %44 = select i1 %15, i64 16384, i64 8192 %45 = load i64, ptr %8, align 8, !tbaa !13 %46 = icmp ne i64 %45, 0 %47 = and i1 %11, %46 %48 = select i1 %47, i64 %44, i64 0 ret i64 %48 } declare i32 @WREG32(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DC_LB_MEMORY_CONFIG(i64 noundef) local_unnamed_addr #1 declare i32 @DMIF_BUFFERS_ALLOCATED(i64 noundef) local_unnamed_addr #1 declare i32 @RREG32(i64 noundef) local_unnamed_addr #1 declare i32 @udelay(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 = !{!"radeon_crtc", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"TYPE_2__", !11, i64 0} !13 = !{!7, !11, i64 16} !14 = !{!11, !11, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!17, !11, i64 0} !17 = !{!"radeon_device", !11, i64 0} !18 = !{!8, !8, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_radeon_extr_si.c_dce6_line_buffer_adjust
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_printcmd.c_build_address_symbolic.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_printcmd.c_build_address_symbolic.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" @overlay_debugging = dso_local local_unnamed_addr global i64 0, align 8 @asm_demangle = dso_local local_unnamed_addr global i64 0, align 8 @max_symbolic_offset = dso_local local_unnamed_addr global i64 0, align 8 @print_symbol_filename = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @build_address_symbolic(i64 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #0 { store i32 0, ptr %6, align 4, !tbaa !5 %8 = load i64, ptr @overlay_debugging, align 8, !tbaa !9 %9 = icmp eq i64 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %7 %11 = tail call ptr @find_pc_overlay(i64 noundef %0) #2 %12 = tail call i64 @pc_in_unmapped_range(i64 noundef %0, ptr noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %10 store i32 1, ptr %6, align 4, !tbaa !5 %15 = tail call i64 @overlay_mapped_address(i64 noundef %0, ptr noundef %11) #2 br label %16 16: ; preds = %10, %14, %7 %17 = phi ptr [ %11, %14 ], [ %11, %10 ], [ null, %7 ] %18 = phi i64 [ %15, %14 ], [ %0, %10 ], [ %0, %7 ] %19 = tail call ptr @lookup_minimal_symbol_by_pc_section(i64 noundef %18, ptr noundef %17) #2 %20 = tail call ptr @find_pc_sect_function(i64 noundef %18, ptr noundef %17) #2 %21 = icmp eq ptr %20, null br i1 %21, label %36, label %22 22: ; preds = %16 %23 = tail call i32 @SYMBOL_BLOCK_VALUE(ptr noundef nonnull %20) #2 %24 = tail call i64 @BLOCK_START(i32 noundef %23) #2 %25 = icmp ne i32 %1, 0 %26 = load i64, ptr @asm_demangle, align 8 %27 = icmp ne i64 %26, 0 %28 = select i1 %25, i1 true, i1 %27 br i1 %28, label %29, label %31 29: ; preds = %22 %30 = tail call ptr @SYMBOL_PRINT_NAME(ptr noundef nonnull %20) #2 br label %33 31: ; preds = %22 %32 = tail call ptr @DEPRECATED_SYMBOL_NAME(ptr noundef nonnull %20) #2 br label %33 33: ; preds = %29, %31 %34 = phi ptr [ %30, %29 ], [ %32, %31 ] %35 = icmp eq ptr %19, null br i1 %35, label %54, label %40 36: ; preds = %16 %37 = icmp eq ptr %19, null br i1 %37, label %77, label %38 38: ; preds = %36 %39 = tail call i64 @SYMBOL_VALUE_ADDRESS(ptr noundef nonnull %19) #2 br label %44 40: ; preds = %33 %41 = tail call i64 @SYMBOL_VALUE_ADDRESS(ptr noundef nonnull %19) #2 %42 = icmp sgt i64 %41, %24 %43 = or i1 %21, %42 br i1 %43, label %44, label %55 44: ; preds = %38, %40 %45 = tail call i64 @SYMBOL_VALUE_ADDRESS(ptr noundef nonnull %19) #2 %46 = icmp ne i32 %1, 0 %47 = load i64, ptr @asm_demangle, align 8 %48 = icmp ne i64 %47, 0 %49 = select i1 %46, i1 true, i1 %48 br i1 %49, label %50, label %52 50: ; preds = %44 %51 = tail call ptr @SYMBOL_PRINT_NAME(ptr noundef nonnull %19) #2 br label %55 52: ; preds = %44 %53 = tail call ptr @DEPRECATED_SYMBOL_NAME(ptr noundef nonnull %19) #2 br label %55 54: ; preds = %33 br i1 %21, label %77, label %55 55: ; preds = %50, %52, %40, %54 %56 = phi i64 [ %24, %54 ], [ %24, %40 ], [ %45, %52 ], [ %45, %50 ] %57 = phi ptr [ %34, %54 ], [ %34, %40 ], [ %53, %52 ], [ %51, %50 ] %58 = load i64, ptr @max_symbolic_offset, align 8, !tbaa !9 %59 = add nsw i64 %58, %56 %60 = icmp sgt i64 %18, %59 %61 = icmp sgt i64 %58, 0 %62 = and i1 %61, %60 br i1 %62, label %77, label %63 63: ; preds = %55 %64 = sub nsw i64 %18, %56 %65 = trunc i64 %64 to i32 store i32 %65, ptr %3, align 4, !tbaa !5 %66 = tail call ptr @xstrdup(ptr noundef %57) #2 store ptr %66, ptr %2, align 8, !tbaa !11 %67 = load i64, ptr @print_symbol_filename, align 8, !tbaa !9 %68 = icmp eq i64 %67, 0 br i1 %68, label %77, label %69 69: ; preds = %63 %70 = tail call { i32, ptr } @find_pc_sect_line(i64 noundef %18, ptr noundef %17, i32 noundef 0) #2 %71 = extractvalue { i32, ptr } %70, 1 %72 = icmp eq ptr %71, null br i1 %72, label %77, label %73 73: ; preds = %69 %74 = extractvalue { i32, ptr } %70, 0 %75 = load ptr, ptr %71, align 8, !tbaa !13 %76 = tail call ptr @xstrdup(ptr noundef %75) #2 store ptr %76, ptr %4, align 8, !tbaa !11 store i32 %74, ptr %5, align 4, !tbaa !5 br label %77 77: ; preds = %36, %63, %69, %73, %55, %54 %78 = phi i32 [ 1, %54 ], [ 1, %55 ], [ 0, %73 ], [ 0, %69 ], [ 0, %63 ], [ 1, %36 ] ret i32 %78 } declare ptr @find_pc_overlay(i64 noundef) local_unnamed_addr #1 declare i64 @pc_in_unmapped_range(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @overlay_mapped_address(i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @lookup_minimal_symbol_by_pc_section(i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @find_pc_sect_function(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @BLOCK_START(i32 noundef) local_unnamed_addr #1 declare i32 @SYMBOL_BLOCK_VALUE(ptr noundef) local_unnamed_addr #1 declare ptr @SYMBOL_PRINT_NAME(ptr noundef) local_unnamed_addr #1 declare ptr @DEPRECATED_SYMBOL_NAME(ptr noundef) local_unnamed_addr #1 declare i64 @SYMBOL_VALUE_ADDRESS(ptr noundef) local_unnamed_addr #1 declare ptr @xstrdup(ptr noundef) local_unnamed_addr #1 declare { i32, ptr } @find_pc_sect_line(i64 noundef, 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, !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, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_2__", !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_printcmd.c_build_address_symbolic.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_printcmd.c_build_address_symbolic.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @overlay_debugging = common local_unnamed_addr global i64 0, align 8 @asm_demangle = common local_unnamed_addr global i64 0, align 8 @max_symbolic_offset = common local_unnamed_addr global i64 0, align 8 @print_symbol_filename = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @build_address_symbolic(i64 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #0 { store i32 0, ptr %6, align 4, !tbaa !6 %8 = load i64, ptr @overlay_debugging, align 8, !tbaa !10 %9 = icmp eq i64 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %7 %11 = tail call ptr @find_pc_overlay(i64 noundef %0) #2 %12 = tail call i64 @pc_in_unmapped_range(i64 noundef %0, ptr noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %10 store i32 1, ptr %6, align 4, !tbaa !6 %15 = tail call i64 @overlay_mapped_address(i64 noundef %0, ptr noundef %11) #2 br label %16 16: ; preds = %10, %14, %7 %17 = phi ptr [ %11, %14 ], [ %11, %10 ], [ null, %7 ] %18 = phi i64 [ %15, %14 ], [ %0, %10 ], [ %0, %7 ] %19 = tail call ptr @lookup_minimal_symbol_by_pc_section(i64 noundef %18, ptr noundef %17) #2 %20 = tail call ptr @find_pc_sect_function(i64 noundef %18, ptr noundef %17) #2 %21 = icmp eq ptr %20, null br i1 %21, label %36, label %22 22: ; preds = %16 %23 = tail call i32 @SYMBOL_BLOCK_VALUE(ptr noundef nonnull %20) #2 %24 = tail call i64 @BLOCK_START(i32 noundef %23) #2 %25 = icmp ne i32 %1, 0 %26 = load i64, ptr @asm_demangle, align 8 %27 = icmp ne i64 %26, 0 %28 = select i1 %25, i1 true, i1 %27 br i1 %28, label %29, label %31 29: ; preds = %22 %30 = tail call ptr @SYMBOL_PRINT_NAME(ptr noundef nonnull %20) #2 br label %33 31: ; preds = %22 %32 = tail call ptr @DEPRECATED_SYMBOL_NAME(ptr noundef nonnull %20) #2 br label %33 33: ; preds = %29, %31 %34 = phi ptr [ %30, %29 ], [ %32, %31 ] %35 = icmp eq ptr %19, null br i1 %35, label %53, label %40 36: ; preds = %16 %37 = icmp eq ptr %19, null br i1 %37, label %77, label %38 38: ; preds = %36 %39 = tail call i64 @SYMBOL_VALUE_ADDRESS(ptr noundef nonnull %19) #2 br label %43 40: ; preds = %33 %41 = tail call i64 @SYMBOL_VALUE_ADDRESS(ptr noundef nonnull %19) #2 %42 = icmp sgt i64 %41, %24 br i1 %42, label %43, label %53 43: ; preds = %38, %40 %44 = tail call i64 @SYMBOL_VALUE_ADDRESS(ptr noundef nonnull %19) #2 %45 = icmp ne i32 %1, 0 %46 = load i64, ptr @asm_demangle, align 8 %47 = icmp ne i64 %46, 0 %48 = select i1 %45, i1 true, i1 %47 br i1 %48, label %49, label %51 49: ; preds = %43 %50 = tail call ptr @SYMBOL_PRINT_NAME(ptr noundef nonnull %19) #2 br label %53 51: ; preds = %43 %52 = tail call ptr @DEPRECATED_SYMBOL_NAME(ptr noundef nonnull %19) #2 br label %53 53: ; preds = %33, %49, %51, %40 %54 = phi ptr [ %34, %40 ], [ %52, %51 ], [ %50, %49 ], [ %34, %33 ] %55 = phi i64 [ %24, %40 ], [ %44, %51 ], [ %44, %49 ], [ %24, %33 ] %56 = load i64, ptr @max_symbolic_offset, align 8, !tbaa !10 %57 = add nsw i64 %56, %55 %58 = icmp sgt i64 %18, %57 %59 = icmp sgt i64 %56, 0 %60 = and i1 %59, %58 br i1 %60, label %77, label %61 61: ; preds = %53 %62 = sub nsw i64 %18, %55 %63 = trunc i64 %62 to i32 store i32 %63, ptr %3, align 4, !tbaa !6 %64 = tail call ptr @xstrdup(ptr noundef %54) #2 store ptr %64, ptr %2, align 8, !tbaa !12 %65 = load i64, ptr @print_symbol_filename, align 8, !tbaa !10 %66 = icmp eq i64 %65, 0 br i1 %66, label %77, label %67 67: ; preds = %61 %68 = tail call [2 x i64] @find_pc_sect_line(i64 noundef %18, ptr noundef %17, i32 noundef 0) #2 %69 = extractvalue [2 x i64] %68, 1 %70 = icmp eq i64 %69, 0 br i1 %70, label %77, label %71 71: ; preds = %67 %72 = inttoptr i64 %69 to ptr %73 = extractvalue [2 x i64] %68, 0 %74 = load ptr, ptr %72, align 8, !tbaa !14 %75 = tail call ptr @xstrdup(ptr noundef %74) #2 store ptr %75, ptr %4, align 8, !tbaa !12 %76 = trunc i64 %73 to i32 store i32 %76, ptr %5, align 4, !tbaa !6 br label %77 77: ; preds = %36, %61, %67, %71, %53 %78 = phi i32 [ 1, %53 ], [ 0, %71 ], [ 0, %67 ], [ 0, %61 ], [ 1, %36 ] ret i32 %78 } declare ptr @find_pc_overlay(i64 noundef) local_unnamed_addr #1 declare i64 @pc_in_unmapped_range(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @overlay_mapped_address(i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @lookup_minimal_symbol_by_pc_section(i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @find_pc_sect_function(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @BLOCK_START(i32 noundef) local_unnamed_addr #1 declare i32 @SYMBOL_BLOCK_VALUE(ptr noundef) local_unnamed_addr #1 declare ptr @SYMBOL_PRINT_NAME(ptr noundef) local_unnamed_addr #1 declare ptr @DEPRECATED_SYMBOL_NAME(ptr noundef) local_unnamed_addr #1 declare i64 @SYMBOL_VALUE_ADDRESS(ptr noundef) local_unnamed_addr #1 declare ptr @xstrdup(ptr noundef) local_unnamed_addr #1 declare [2 x i64] @find_pc_sect_line(i64 noundef, 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, !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, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_2__", !13, i64 0}
freebsd_contrib_gdb_gdb_extr_printcmd.c_build_address_symbolic
; ModuleID = 'AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_blink_screen.c' source_filename = "AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_blink_screen.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 { i32, i32, ptr, ptr, i32 } %struct.TYPE_11__ = type { i32, i32, i64 } @SBT_1S = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @blink_screen], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @blink_screen(ptr noundef %0) #0 { %2 = tail call i64 @ISGRAPHSC(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 %4 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 br i1 %3, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr %5, align 8, !tbaa !11 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %28 9: ; preds = %1, %6 %10 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 store i32 0, ptr %5, align 8, !tbaa !11 %11 = tail call i32 @mark_all(ptr noundef nonnull %0) #2 %12 = load ptr, ptr %10, align 8, !tbaa !5 %13 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 4 %14 = load i32, ptr %13, align 8, !tbaa !14 %15 = tail call ptr @SC_DEV(ptr noundef %12, i32 noundef %14) #2 %16 = tail call i64 @tty_opened_ns(ptr noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %9 %19 = tail call i32 @sctty_outwakeup(ptr noundef %15) #2 br label %20 20: ; preds = %18, %9 %21 = load ptr, ptr %10, align 8, !tbaa !5 %22 = getelementptr inbounds %struct.TYPE_11__, ptr %21, i64 0, i32 2 %23 = load i64, ptr %22, align 8, !tbaa !15 %24 = icmp eq i64 %23, 0 br i1 %24, label %46, label %25 25: ; preds = %20 %26 = add nsw i64 %23, -1 %27 = tail call i32 @sc_switch_scr(ptr noundef nonnull %21, i64 noundef %26) #2 br label %46 28: ; preds = %6 %29 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 3 %30 = load ptr, ptr %29, align 8, !tbaa !16 %31 = load ptr, ptr %30, align 8, !tbaa !17 %32 = load i32, ptr %0, align 8, !tbaa !19 %33 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1 %34 = load i32, ptr %33, align 4, !tbaa !20 %35 = mul nsw i32 %34, %32 %36 = and i32 %7, 1 %37 = tail call i32 %31(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %35, i32 noundef %36) #2 %38 = load ptr, ptr %4, align 8, !tbaa !5 %39 = load i32, ptr %38, align 8, !tbaa !11 %40 = add nsw i32 %39, -1 store i32 %40, ptr %38, align 8, !tbaa !11 %41 = getelementptr inbounds %struct.TYPE_11__, ptr %38, i64 0, i32 1 %42 = load i32, ptr @SBT_1S, align 4, !tbaa !21 %43 = sdiv i32 %42, 15 %44 = tail call i32 @C_PREL(i32 noundef 0) #2 %45 = tail call i32 @callout_reset_sbt(ptr noundef nonnull %41, i32 noundef %43, i32 noundef 0, ptr noundef nonnull @blink_screen, ptr noundef nonnull %0, i32 noundef %44) #2 br label %46 46: ; preds = %20, %25, %28 ret void } declare i64 @ISGRAPHSC(ptr noundef) local_unnamed_addr #1 declare i32 @mark_all(ptr noundef) local_unnamed_addr #1 declare ptr @SC_DEV(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @tty_opened_ns(ptr noundef) local_unnamed_addr #1 declare i32 @sctty_outwakeup(ptr noundef) local_unnamed_addr #1 declare i32 @sc_switch_scr(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @callout_reset_sbt(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @C_PREL(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 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24} !7 = !{!"int", !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_11__", !7, i64 0, !7, i64 4, !13, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!6, !7, i64 24} !15 = !{!12, !13, i64 8} !16 = !{!6, !10, i64 16} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_9__", !10, i64 0} !19 = !{!6, !7, i64 0} !20 = !{!6, !7, i64 4} !21 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_blink_screen.c' source_filename = "AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_blink_screen.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SBT_1S = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @blink_screen], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @blink_screen(ptr noundef %0) #0 { %2 = tail call i64 @ISGRAPHSC(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 br i1 %3, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr %5, align 8, !tbaa !12 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %27 9: ; preds = %1, %6 store i32 0, ptr %5, align 8, !tbaa !12 %10 = tail call i32 @mark_all(ptr noundef nonnull %0) #2 %11 = load ptr, ptr %4, align 8, !tbaa !6 %12 = getelementptr inbounds i8, ptr %0, i64 24 %13 = load i32, ptr %12, align 8, !tbaa !15 %14 = tail call ptr @SC_DEV(ptr noundef %11, i32 noundef %13) #2 %15 = tail call i64 @tty_opened_ns(ptr noundef %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %9 %18 = tail call i32 @sctty_outwakeup(ptr noundef %14) #2 br label %19 19: ; preds = %17, %9 %20 = load ptr, ptr %4, align 8, !tbaa !6 %21 = getelementptr inbounds i8, ptr %20, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = icmp eq i64 %22, 0 br i1 %23, label %45, label %24 24: ; preds = %19 %25 = add nsw i64 %22, -1 %26 = tail call i32 @sc_switch_scr(ptr noundef nonnull %20, i64 noundef %25) #2 br label %45 27: ; preds = %6 %28 = getelementptr inbounds i8, ptr %0, i64 16 %29 = load ptr, ptr %28, align 8, !tbaa !17 %30 = load ptr, ptr %29, align 8, !tbaa !18 %31 = load i32, ptr %0, align 8, !tbaa !20 %32 = getelementptr inbounds i8, ptr %0, i64 4 %33 = load i32, ptr %32, align 4, !tbaa !21 %34 = mul nsw i32 %33, %31 %35 = and i32 %7, 1 %36 = tail call i32 %30(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %34, i32 noundef %35) #2 %37 = load ptr, ptr %4, align 8, !tbaa !6 %38 = load i32, ptr %37, align 8, !tbaa !12 %39 = add nsw i32 %38, -1 store i32 %39, ptr %37, align 8, !tbaa !12 %40 = getelementptr inbounds i8, ptr %37, i64 4 %41 = load i32, ptr @SBT_1S, align 4, !tbaa !22 %42 = sdiv i32 %41, 15 %43 = tail call i32 @C_PREL(i32 noundef 0) #2 %44 = tail call i32 @callout_reset_sbt(ptr noundef nonnull %40, i32 noundef %42, i32 noundef 0, ptr noundef nonnull @blink_screen, ptr noundef nonnull %0, i32 noundef %43) #2 br label %45 45: ; preds = %19, %24, %27 ret void } declare i64 @ISGRAPHSC(ptr noundef) local_unnamed_addr #1 declare i32 @mark_all(ptr noundef) local_unnamed_addr #1 declare ptr @SC_DEV(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @tty_opened_ns(ptr noundef) local_unnamed_addr #1 declare i32 @sctty_outwakeup(ptr noundef) local_unnamed_addr #1 declare i32 @sc_switch_scr(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @callout_reset_sbt(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @C_PREL(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 = !{!"TYPE_10__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24} !8 = !{!"int", !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_11__", !8, i64 0, !8, i64 4, !14, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!7, !8, i64 24} !16 = !{!13, !14, i64 8} !17 = !{!7, !11, i64 16} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_9__", !11, i64 0} !20 = !{!7, !8, i64 0} !21 = !{!7, !8, i64 4} !22 = !{!8, !8, i64 0}
freebsd_sys_dev_syscons_extr_syscons.c_blink_screen
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/legacy/extr_zstd_v05.c_ZSTDv05_nextSrcSizeToDecompress.c' source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/legacy/extr_zstd_v05.c_ZSTDv05_nextSrcSizeToDecompress.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 @ZSTDv05_nextSrcSizeToDecompress(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 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/legacy/extr_zstd_v05.c_ZSTDv05_nextSrcSizeToDecompress.c' source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/legacy/extr_zstd_v05.c_ZSTDv05_nextSrcSizeToDecompress.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 @ZSTDv05_nextSrcSizeToDecompress(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 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
borg_src_borg_algorithms_zstd_lib_legacy_extr_zstd_v05.c_ZSTDv05_nextSrcSizeToDecompress
; ModuleID = 'AnghaBench/curl/lib/extr_multi.c_curl_multi_socket_all.c' source_filename = "AnghaBench/curl/lib/extr_multi.c_curl_multi_socket_all.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" @CURLM_RECURSIVE_API_CALL = dso_local local_unnamed_addr global i64 0, align 8 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @CURL_SOCKET_BAD = dso_local local_unnamed_addr global i32 0, align 4 @CURLM_OK = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @curl_multi_socket_all(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = load i64, ptr @CURLM_RECURSIVE_API_CALL, align 8, !tbaa !10 br label %15 7: ; preds = %2 %8 = load i32, ptr @TRUE, align 4, !tbaa !11 %9 = load i32, ptr @CURL_SOCKET_BAD, align 4, !tbaa !11 %10 = tail call i64 @multi_socket(ptr noundef nonnull %0, i32 noundef %8, i32 noundef %9, i32 noundef 0, ptr noundef %1) #2 %11 = load i64, ptr @CURLM_OK, align 8, !tbaa !10 %12 = icmp slt i64 %11, %10 br i1 %12, label %15, label %13 13: ; preds = %7 %14 = tail call i32 @Curl_update_timer(ptr noundef nonnull %0) #2 br label %15 15: ; preds = %7, %13, %5 %16 = phi i64 [ %6, %5 ], [ %10, %13 ], [ %10, %7 ] ret i64 %16 } declare i64 @multi_socket(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Curl_update_timer(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 = !{!"Curl_multi", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/curl/lib/extr_multi.c_curl_multi_socket_all.c' source_filename = "AnghaBench/curl/lib/extr_multi.c_curl_multi_socket_all.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CURLM_RECURSIVE_API_CALL = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global i32 0, align 4 @CURL_SOCKET_BAD = common local_unnamed_addr global i32 0, align 4 @CURLM_OK = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @curl_multi_socket_all(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = load i64, ptr @CURLM_RECURSIVE_API_CALL, align 8, !tbaa !11 br label %15 7: ; preds = %2 %8 = load i32, ptr @TRUE, align 4, !tbaa !12 %9 = load i32, ptr @CURL_SOCKET_BAD, align 4, !tbaa !12 %10 = tail call i64 @multi_socket(ptr noundef nonnull %0, i32 noundef %8, i32 noundef %9, i32 noundef 0, ptr noundef %1) #2 %11 = load i64, ptr @CURLM_OK, align 8, !tbaa !11 %12 = icmp slt i64 %11, %10 br i1 %12, label %15, label %13 13: ; preds = %7 %14 = tail call i32 @Curl_update_timer(ptr noundef nonnull %0) #2 br label %15 15: ; preds = %7, %13, %5 %16 = phi i64 [ %6, %5 ], [ %10, %13 ], [ %10, %7 ] ret i64 %16 } declare i64 @multi_socket(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Curl_update_timer(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 = !{!"Curl_multi", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
curl_lib_extr_multi.c_curl_multi_socket_all
; ModuleID = 'AnghaBench/freebsd/stand/common/extr_interp_parse.c_parse.c' source_filename = "AnghaBench/freebsd/stand/common/extr_interp_parse.c_parse.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" @PARSE_BUFSIZE = dso_local local_unnamed_addr global i64 0, align 8 @args = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @parse(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 store i32 0, ptr %0, align 4, !tbaa !5 store i32 0, ptr %4, align 4, !tbaa !5 %5 = icmp eq ptr %2, null br i1 %5, label %208, label %6 6: ; preds = %3 %7 = tail call ptr @backslash(ptr noundef nonnull %2) #4 %8 = icmp eq ptr %7, null br i1 %8, label %208, label %9 9: ; preds = %6 %10 = tail call i32 (...) @clean() #4 %11 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !9 %12 = trunc i64 %11 to i32 %13 = tail call i64 @malloc(i32 noundef %12) #4 %14 = inttoptr i64 %13 to ptr %15 = load i8, ptr %7, align 1, !tbaa !11 %16 = icmp eq i8 %15, 0 br i1 %16, label %189, label %17 17: ; preds = %9, %168 %18 = phi i8 [ %175, %168 ], [ %15, %9 ] %19 = phi i32 [ %174, %168 ], [ 0, %9 ] %20 = phi ptr [ %173, %168 ], [ %7, %9 ] %21 = phi i8 [ %172, %168 ], [ 0, %9 ] %22 = phi i8 [ %171, %168 ], [ 0, %9 ] %23 = phi i8 [ %170, %168 ], [ 0, %9 ] %24 = phi i64 [ %169, %168 ], [ 0, %9 ] switch i32 %19, label %167 [ i32 0, label %25 i32 2, label %123 i32 1, label %129 ] 25: ; preds = %17 %26 = icmp eq i8 %18, 92 br i1 %26, label %27, label %41 27: ; preds = %25 %28 = getelementptr inbounds i8, ptr %20, i64 1 %29 = load i8, ptr %28, align 1, !tbaa !11 %30 = icmp eq i8 %29, 0 br i1 %30, label %41, label %31 31: ; preds = %27 %32 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !9 %33 = add i64 %32, -1 %34 = icmp eq i64 %24, %33 %35 = zext i1 %34 to i32 %36 = call i32 @PARSE_FAIL(i32 noundef %35) #4 %37 = getelementptr inbounds i8, ptr %20, i64 2 %38 = load i8, ptr %28, align 1, !tbaa !11 %39 = add i64 %24, 1 %40 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 %38, ptr %40, align 1, !tbaa !11 br label %168 41: ; preds = %27, %25 %42 = call i32 @isquote(i8 noundef signext %18) #4 %43 = icmp eq i32 %42, 0 br i1 %43, label %63, label %44 44: ; preds = %41 %45 = icmp eq i8 %22, 0 br i1 %45, label %46, label %48 46: ; preds = %44 %47 = load i8, ptr %20, align 1, !tbaa !11 br label %48 48: ; preds = %44, %46 %49 = phi i8 [ %47, %46 ], [ 0, %44 ] %50 = icmp eq i8 %21, 0 br i1 %50, label %61, label %51 51: ; preds = %48 %52 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !9 %53 = add i64 %52, -1 %54 = icmp eq i64 %24, %53 %55 = zext i1 %54 to i32 %56 = call i32 @PARSE_FAIL(i32 noundef %55) #4 %57 = getelementptr inbounds i8, ptr %20, i64 1 %58 = load i8, ptr %20, align 1, !tbaa !11 %59 = add i64 %24, 1 %60 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 %58, ptr %60, align 1, !tbaa !11 br label %168 61: ; preds = %48 %62 = getelementptr inbounds i8, ptr %20, i64 1 br label %168 63: ; preds = %41 %64 = load i8, ptr %20, align 1, !tbaa !11 %65 = call i32 @isdquote(i8 noundef signext %64) #4 %66 = icmp eq i32 %65, 0 br i1 %66, label %86, label %67 67: ; preds = %63 %68 = icmp eq i8 %21, 0 br i1 %68, label %69, label %71 69: ; preds = %67 %70 = load i8, ptr %20, align 1, !tbaa !11 br label %71 71: ; preds = %67, %69 %72 = phi i8 [ %70, %69 ], [ 0, %67 ] %73 = icmp eq i8 %22, 0 br i1 %73, label %84, label %74 74: ; preds = %71 %75 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !9 %76 = add i64 %75, -1 %77 = icmp eq i64 %24, %76 %78 = zext i1 %77 to i32 %79 = call i32 @PARSE_FAIL(i32 noundef %78) #4 %80 = getelementptr inbounds i8, ptr %20, i64 1 %81 = load i8, ptr %20, align 1, !tbaa !11 %82 = add i64 %24, 1 %83 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 %81, ptr %83, align 1, !tbaa !11 br label %168 84: ; preds = %71 %85 = getelementptr inbounds i8, ptr %20, i64 1 br label %168 86: ; preds = %63 %87 = load i8, ptr %20, align 1, !tbaa !11 %88 = call i32 @isspace(i8 noundef signext %87) #4 %89 = icmp eq i32 %88, 0 %90 = icmp ne i8 %22, 0 %91 = select i1 %89, i1 true, i1 %90 %92 = icmp ne i8 %21, 0 %93 = select i1 %91, i1 true, i1 %92 br i1 %93, label %102, label %94 94: ; preds = %86 %95 = icmp eq i64 %24, 0 br i1 %95, label %100, label %96 96: ; preds = %94 %97 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 0, ptr %97, align 1, !tbaa !11 %98 = call i32 @insert(ptr noundef nonnull %4, ptr noundef %14) #4 %99 = call i32 @PARSE_FAIL(i32 noundef %98) #4 br label %100 100: ; preds = %96, %94 %101 = getelementptr inbounds i8, ptr %20, i64 1 br label %168 102: ; preds = %86 %103 = load i8, ptr %20, align 1, !tbaa !11 %104 = icmp ne i8 %103, 36 %105 = select i1 %104, i1 true, i1 %90 br i1 %105, label %113, label %106 106: ; preds = %102 %107 = getelementptr inbounds i8, ptr %20, i64 1 %108 = load i8, ptr %107, align 1, !tbaa !11 %109 = call signext i8 @isdelim(i8 noundef signext %108) #4 %110 = icmp eq i8 %109, 0 %111 = getelementptr inbounds i8, ptr %20, i64 2 %112 = select i1 %110, ptr %107, ptr %111 br label %168 113: ; preds = %102 %114 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !9 %115 = add i64 %114, -1 %116 = icmp eq i64 %24, %115 %117 = zext i1 %116 to i32 %118 = call i32 @PARSE_FAIL(i32 noundef %117) #4 %119 = getelementptr inbounds i8, ptr %20, i64 1 %120 = load i8, ptr %20, align 1, !tbaa !11 %121 = add i64 %24, 1 %122 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 %120, ptr %122, align 1, !tbaa !11 br label %168 123: ; preds = %17 %124 = call i32 @isspace(i8 noundef signext %18) #4 %125 = icmp ne i32 %124, 0 %126 = zext i1 %125 to i64 %127 = getelementptr inbounds i8, ptr %20, i64 %126 %128 = select i1 %125, i32 2, i32 0 br label %168 129: ; preds = %17 %130 = icmp eq i8 %23, 0 br i1 %130, label %136, label %131 131: ; preds = %129 %132 = call ptr @strchr(ptr noundef nonnull %20, i8 noundef signext %23) #4 %133 = icmp eq ptr %132, null %134 = zext i1 %133 to i32 %135 = call i32 @PARSE_FAIL(i32 noundef %134) #4 br label %145 136: ; preds = %129, %141 %137 = phi ptr [ %142, %141 ], [ %20, %129 ] %138 = phi i8 [ %143, %141 ], [ %18, %129 ] %139 = call i32 @isspace(i8 noundef signext %138) #4 %140 = icmp eq i32 %139, 0 br i1 %140, label %141, label %145 141: ; preds = %136 %142 = getelementptr inbounds i8, ptr %137, i64 1 %143 = load i8, ptr %142, align 1, !tbaa !11 %144 = icmp eq i8 %143, 0 br i1 %144, label %145, label %136, !llvm.loop !12 145: ; preds = %136, %141, %131 %146 = phi ptr [ %132, %131 ], [ %142, %141 ], [ %137, %136 ] %147 = load i8, ptr %146, align 1, !tbaa !11 store i8 0, ptr %146, align 1, !tbaa !11 %148 = call ptr @variable_lookup(ptr noundef nonnull %20) #4 %149 = icmp eq ptr %148, null br i1 %149, label %162, label %150 150: ; preds = %145 %151 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %148) %152 = getelementptr inbounds i8, ptr %14, i64 %24 %153 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !9 %154 = xor i64 %24, -1 %155 = add i64 %153, %154 %156 = call i32 @strncpy(ptr noundef %152, ptr noundef nonnull %148, i64 noundef %155) #4 %157 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !9 %158 = trunc i64 %157 to i32 %159 = add i32 %158, -1 %160 = call i64 @min(i64 noundef %151, i32 noundef %159) #4 %161 = add i64 %160, %24 br label %162 162: ; preds = %150, %145 %163 = phi i64 [ %161, %150 ], [ %24, %145 ] store i8 %147, ptr %146, align 1, !tbaa !11 %164 = icmp ne i8 %23, 0 %165 = zext i1 %164 to i64 %166 = getelementptr inbounds i8, ptr %146, i64 %165 br label %168 167: ; preds = %17 unreachable 168: ; preds = %123, %31, %84, %74, %106, %113, %100, %51, %61, %162 %169 = phi i64 [ %163, %162 ], [ %39, %31 ], [ %59, %51 ], [ %24, %61 ], [ %82, %74 ], [ %24, %84 ], [ %121, %113 ], [ %24, %106 ], [ 0, %100 ], [ %24, %123 ] %170 = phi i8 [ %23, %162 ], [ %23, %31 ], [ %23, %51 ], [ %23, %61 ], [ %23, %74 ], [ %23, %84 ], [ %23, %113 ], [ %109, %106 ], [ %23, %100 ], [ %23, %123 ] %171 = phi i8 [ %22, %162 ], [ %22, %31 ], [ %49, %51 ], [ %49, %61 ], [ %22, %74 ], [ 0, %84 ], [ %22, %113 ], [ 0, %106 ], [ 0, %100 ], [ %22, %123 ] %172 = phi i8 [ %21, %162 ], [ %21, %31 ], [ %21, %51 ], [ 0, %61 ], [ %72, %74 ], [ %72, %84 ], [ %21, %113 ], [ %21, %106 ], [ 0, %100 ], [ %21, %123 ] %173 = phi ptr [ %166, %162 ], [ %37, %31 ], [ %57, %51 ], [ %62, %61 ], [ %80, %74 ], [ %85, %84 ], [ %119, %113 ], [ %112, %106 ], [ %101, %100 ], [ %127, %123 ] %174 = phi i32 [ 0, %162 ], [ 0, %31 ], [ 0, %51 ], [ 0, %61 ], [ 0, %74 ], [ 0, %84 ], [ 0, %113 ], [ 1, %106 ], [ 2, %100 ], [ %128, %123 ] %175 = load i8, ptr %173, align 1, !tbaa !11 %176 = icmp eq i8 %175, 0 br i1 %176, label %177, label %17, !llvm.loop !14 177: ; preds = %168 %178 = icmp ne i8 %171, 0 %179 = icmp ne i8 %172, 0 %180 = select i1 %178, i1 true, i1 %179 %181 = zext i1 %180 to i32 %182 = icmp eq i32 %174, 0 %183 = call i32 @PARSE_FAIL(i32 noundef %181) #4 %184 = icmp ne i64 %169, 0 %185 = and i1 %184, %182 br i1 %185, label %186, label %192 186: ; preds = %177 %187 = getelementptr inbounds i8, ptr %14, i64 %169 store i8 0, ptr %187, align 1, !tbaa !11 %188 = call i32 @insert(ptr noundef nonnull %4, ptr noundef %14) #4 br label %189 189: ; preds = %9, %186 %190 = phi i32 [ %188, %186 ], [ 0, %9 ] %191 = call i32 @PARSE_FAIL(i32 noundef %190) #4 br label %192 192: ; preds = %189, %177 %193 = load ptr, ptr @args, align 8, !tbaa !15 %194 = load i32, ptr %4, align 4, !tbaa !5 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds ptr, ptr %193, i64 %195 store ptr null, ptr %196, align 8, !tbaa !15 store i32 %194, ptr %0, align 4, !tbaa !5 %197 = shl i32 %194, 3 %198 = or disjoint i32 %197, 1 %199 = call i64 @malloc(i32 noundef %198) #4 %200 = inttoptr i64 %199 to ptr store ptr %200, ptr %1, align 8, !tbaa !15 %201 = load ptr, ptr @args, align 8, !tbaa !15 %202 = load i32, ptr %4, align 4, !tbaa !5 %203 = shl i32 %202, 3 %204 = or disjoint i32 %203, 1 %205 = call i32 @bcopy(ptr noundef %201, ptr noundef %200, i32 noundef %204) #4 %206 = call i32 @free(ptr noundef %14) #4 %207 = call i32 @free(ptr noundef nonnull %7) #4 br label %208 208: ; preds = %3, %6, %192 %209 = phi i32 [ 0, %192 ], [ 1, %6 ], [ 1, %3 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %209 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @backslash(ptr noundef) local_unnamed_addr #2 declare i32 @clean(...) local_unnamed_addr #2 declare i64 @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @PARSE_FAIL(i32 noundef) local_unnamed_addr #2 declare i32 @isquote(i8 noundef signext) local_unnamed_addr #2 declare i32 @isdquote(i8 noundef signext) local_unnamed_addr #2 declare i32 @isspace(i8 noundef signext) local_unnamed_addr #2 declare i32 @insert(ptr noundef, ptr noundef) local_unnamed_addr #2 declare signext i8 @isdelim(i8 noundef signext) local_unnamed_addr #2 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare ptr @variable_lookup(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @min(i64 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 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @free(ptr 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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, !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/stand/common/extr_interp_parse.c_parse.c' source_filename = "AnghaBench/freebsd/stand/common/extr_interp_parse.c_parse.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PARSE_BUFSIZE = common local_unnamed_addr global i64 0, align 8 @args = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @parse(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 store i32 0, ptr %0, align 4, !tbaa !6 store i32 0, ptr %4, align 4, !tbaa !6 %5 = icmp eq ptr %2, null br i1 %5, label %208, label %6 6: ; preds = %3 %7 = tail call ptr @backslash(ptr noundef nonnull %2) #4 %8 = icmp eq ptr %7, null br i1 %8, label %208, label %9 9: ; preds = %6 %10 = tail call i32 @clean() #4 %11 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !10 %12 = trunc i64 %11 to i32 %13 = tail call i64 @malloc(i32 noundef %12) #4 %14 = inttoptr i64 %13 to ptr %15 = load i8, ptr %7, align 1, !tbaa !12 %16 = icmp eq i8 %15, 0 br i1 %16, label %189, label %17 17: ; preds = %9, %168 %18 = phi i8 [ %175, %168 ], [ %15, %9 ] %19 = phi i32 [ %174, %168 ], [ 0, %9 ] %20 = phi ptr [ %173, %168 ], [ %7, %9 ] %21 = phi i8 [ %172, %168 ], [ 0, %9 ] %22 = phi i8 [ %171, %168 ], [ 0, %9 ] %23 = phi i8 [ %170, %168 ], [ 0, %9 ] %24 = phi i64 [ %169, %168 ], [ 0, %9 ] switch i32 %19, label %167 [ i32 0, label %25 i32 2, label %123 i32 1, label %129 ] 25: ; preds = %17 %26 = icmp eq i8 %18, 92 br i1 %26, label %27, label %41 27: ; preds = %25 %28 = getelementptr inbounds i8, ptr %20, i64 1 %29 = load i8, ptr %28, align 1, !tbaa !12 %30 = icmp eq i8 %29, 0 br i1 %30, label %41, label %31 31: ; preds = %27 %32 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !10 %33 = add i64 %32, -1 %34 = icmp eq i64 %24, %33 %35 = zext i1 %34 to i32 %36 = call i32 @PARSE_FAIL(i32 noundef %35) #4 %37 = getelementptr inbounds i8, ptr %20, i64 2 %38 = load i8, ptr %28, align 1, !tbaa !12 %39 = add i64 %24, 1 %40 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 %38, ptr %40, align 1, !tbaa !12 br label %168 41: ; preds = %27, %25 %42 = call i32 @isquote(i8 noundef signext %18) #4 %43 = icmp eq i32 %42, 0 br i1 %43, label %63, label %44 44: ; preds = %41 %45 = icmp eq i8 %22, 0 br i1 %45, label %46, label %48 46: ; preds = %44 %47 = load i8, ptr %20, align 1, !tbaa !12 br label %48 48: ; preds = %44, %46 %49 = phi i8 [ %47, %46 ], [ 0, %44 ] %50 = icmp eq i8 %21, 0 br i1 %50, label %61, label %51 51: ; preds = %48 %52 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !10 %53 = add i64 %52, -1 %54 = icmp eq i64 %24, %53 %55 = zext i1 %54 to i32 %56 = call i32 @PARSE_FAIL(i32 noundef %55) #4 %57 = getelementptr inbounds i8, ptr %20, i64 1 %58 = load i8, ptr %20, align 1, !tbaa !12 %59 = add i64 %24, 1 %60 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 %58, ptr %60, align 1, !tbaa !12 br label %168 61: ; preds = %48 %62 = getelementptr inbounds i8, ptr %20, i64 1 br label %168 63: ; preds = %41 %64 = load i8, ptr %20, align 1, !tbaa !12 %65 = call i32 @isdquote(i8 noundef signext %64) #4 %66 = icmp eq i32 %65, 0 br i1 %66, label %86, label %67 67: ; preds = %63 %68 = icmp eq i8 %21, 0 br i1 %68, label %69, label %71 69: ; preds = %67 %70 = load i8, ptr %20, align 1, !tbaa !12 br label %71 71: ; preds = %67, %69 %72 = phi i8 [ %70, %69 ], [ 0, %67 ] %73 = icmp eq i8 %22, 0 br i1 %73, label %84, label %74 74: ; preds = %71 %75 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !10 %76 = add i64 %75, -1 %77 = icmp eq i64 %24, %76 %78 = zext i1 %77 to i32 %79 = call i32 @PARSE_FAIL(i32 noundef %78) #4 %80 = getelementptr inbounds i8, ptr %20, i64 1 %81 = load i8, ptr %20, align 1, !tbaa !12 %82 = add i64 %24, 1 %83 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 %81, ptr %83, align 1, !tbaa !12 br label %168 84: ; preds = %71 %85 = getelementptr inbounds i8, ptr %20, i64 1 br label %168 86: ; preds = %63 %87 = load i8, ptr %20, align 1, !tbaa !12 %88 = call i32 @isspace(i8 noundef signext %87) #4 %89 = icmp eq i32 %88, 0 %90 = icmp ne i8 %22, 0 %91 = select i1 %89, i1 true, i1 %90 %92 = icmp ne i8 %21, 0 %93 = select i1 %91, i1 true, i1 %92 br i1 %93, label %102, label %94 94: ; preds = %86 %95 = icmp eq i64 %24, 0 br i1 %95, label %100, label %96 96: ; preds = %94 %97 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 0, ptr %97, align 1, !tbaa !12 %98 = call i32 @insert(ptr noundef nonnull %4, ptr noundef %14) #4 %99 = call i32 @PARSE_FAIL(i32 noundef %98) #4 br label %100 100: ; preds = %96, %94 %101 = getelementptr inbounds i8, ptr %20, i64 1 br label %168 102: ; preds = %86 %103 = load i8, ptr %20, align 1, !tbaa !12 %104 = icmp ne i8 %103, 36 %105 = select i1 %104, i1 true, i1 %90 br i1 %105, label %113, label %106 106: ; preds = %102 %107 = getelementptr inbounds i8, ptr %20, i64 1 %108 = load i8, ptr %107, align 1, !tbaa !12 %109 = call signext i8 @isdelim(i8 noundef signext %108) #4 %110 = icmp eq i8 %109, 0 %111 = getelementptr inbounds i8, ptr %20, i64 2 %112 = select i1 %110, ptr %107, ptr %111 br label %168 113: ; preds = %102 %114 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !10 %115 = add i64 %114, -1 %116 = icmp eq i64 %24, %115 %117 = zext i1 %116 to i32 %118 = call i32 @PARSE_FAIL(i32 noundef %117) #4 %119 = getelementptr inbounds i8, ptr %20, i64 1 %120 = load i8, ptr %20, align 1, !tbaa !12 %121 = add i64 %24, 1 %122 = getelementptr inbounds i8, ptr %14, i64 %24 store i8 %120, ptr %122, align 1, !tbaa !12 br label %168 123: ; preds = %17 %124 = call i32 @isspace(i8 noundef signext %18) #4 %125 = icmp ne i32 %124, 0 %126 = zext i1 %125 to i64 %127 = getelementptr inbounds i8, ptr %20, i64 %126 %128 = select i1 %125, i32 2, i32 0 br label %168 129: ; preds = %17 %130 = icmp eq i8 %23, 0 br i1 %130, label %136, label %131 131: ; preds = %129 %132 = call ptr @strchr(ptr noundef nonnull %20, i8 noundef signext %23) #4 %133 = icmp eq ptr %132, null %134 = zext i1 %133 to i32 %135 = call i32 @PARSE_FAIL(i32 noundef %134) #4 br label %145 136: ; preds = %129, %141 %137 = phi ptr [ %142, %141 ], [ %20, %129 ] %138 = phi i8 [ %143, %141 ], [ %18, %129 ] %139 = call i32 @isspace(i8 noundef signext %138) #4 %140 = icmp eq i32 %139, 0 br i1 %140, label %141, label %145 141: ; preds = %136 %142 = getelementptr inbounds i8, ptr %137, i64 1 %143 = load i8, ptr %142, align 1, !tbaa !12 %144 = icmp eq i8 %143, 0 br i1 %144, label %145, label %136, !llvm.loop !13 145: ; preds = %136, %141, %131 %146 = phi ptr [ %132, %131 ], [ %142, %141 ], [ %137, %136 ] %147 = load i8, ptr %146, align 1, !tbaa !12 store i8 0, ptr %146, align 1, !tbaa !12 %148 = call ptr @variable_lookup(ptr noundef nonnull %20) #4 %149 = icmp eq ptr %148, null br i1 %149, label %162, label %150 150: ; preds = %145 %151 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %148) %152 = getelementptr inbounds i8, ptr %14, i64 %24 %153 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !10 %154 = xor i64 %24, -1 %155 = add i64 %153, %154 %156 = call i32 @strncpy(ptr noundef %152, ptr noundef nonnull %148, i64 noundef %155) #4 %157 = load i64, ptr @PARSE_BUFSIZE, align 8, !tbaa !10 %158 = trunc i64 %157 to i32 %159 = add i32 %158, -1 %160 = call i64 @min(i64 noundef %151, i32 noundef %159) #4 %161 = add i64 %160, %24 br label %162 162: ; preds = %150, %145 %163 = phi i64 [ %161, %150 ], [ %24, %145 ] store i8 %147, ptr %146, align 1, !tbaa !12 %164 = icmp ne i8 %23, 0 %165 = zext i1 %164 to i64 %166 = getelementptr inbounds i8, ptr %146, i64 %165 br label %168 167: ; preds = %17 unreachable 168: ; preds = %123, %31, %84, %74, %106, %113, %100, %51, %61, %162 %169 = phi i64 [ %163, %162 ], [ %39, %31 ], [ %59, %51 ], [ %24, %61 ], [ %82, %74 ], [ %24, %84 ], [ %121, %113 ], [ %24, %106 ], [ 0, %100 ], [ %24, %123 ] %170 = phi i8 [ %23, %162 ], [ %23, %31 ], [ %23, %51 ], [ %23, %61 ], [ %23, %74 ], [ %23, %84 ], [ %23, %113 ], [ %109, %106 ], [ %23, %100 ], [ %23, %123 ] %171 = phi i8 [ %22, %162 ], [ %22, %31 ], [ %49, %51 ], [ %49, %61 ], [ %22, %74 ], [ 0, %84 ], [ %22, %113 ], [ 0, %106 ], [ 0, %100 ], [ %22, %123 ] %172 = phi i8 [ %21, %162 ], [ %21, %31 ], [ %21, %51 ], [ 0, %61 ], [ %72, %74 ], [ %72, %84 ], [ %21, %113 ], [ %21, %106 ], [ 0, %100 ], [ %21, %123 ] %173 = phi ptr [ %166, %162 ], [ %37, %31 ], [ %57, %51 ], [ %62, %61 ], [ %80, %74 ], [ %85, %84 ], [ %119, %113 ], [ %112, %106 ], [ %101, %100 ], [ %127, %123 ] %174 = phi i32 [ 0, %162 ], [ 0, %31 ], [ 0, %51 ], [ 0, %61 ], [ 0, %74 ], [ 0, %84 ], [ 0, %113 ], [ 1, %106 ], [ 2, %100 ], [ %128, %123 ] %175 = load i8, ptr %173, align 1, !tbaa !12 %176 = icmp eq i8 %175, 0 br i1 %176, label %177, label %17, !llvm.loop !15 177: ; preds = %168 %178 = icmp ne i8 %171, 0 %179 = icmp ne i8 %172, 0 %180 = select i1 %178, i1 true, i1 %179 %181 = zext i1 %180 to i32 %182 = icmp eq i32 %174, 0 %183 = call i32 @PARSE_FAIL(i32 noundef %181) #4 %184 = icmp ne i64 %169, 0 %185 = and i1 %184, %182 br i1 %185, label %186, label %192 186: ; preds = %177 %187 = getelementptr inbounds i8, ptr %14, i64 %169 store i8 0, ptr %187, align 1, !tbaa !12 %188 = call i32 @insert(ptr noundef nonnull %4, ptr noundef %14) #4 br label %189 189: ; preds = %9, %186 %190 = phi i32 [ %188, %186 ], [ 0, %9 ] %191 = call i32 @PARSE_FAIL(i32 noundef %190) #4 br label %192 192: ; preds = %189, %177 %193 = load ptr, ptr @args, align 8, !tbaa !16 %194 = load i32, ptr %4, align 4, !tbaa !6 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds ptr, ptr %193, i64 %195 store ptr null, ptr %196, align 8, !tbaa !16 store i32 %194, ptr %0, align 4, !tbaa !6 %197 = shl i32 %194, 3 %198 = or disjoint i32 %197, 1 %199 = call i64 @malloc(i32 noundef %198) #4 %200 = inttoptr i64 %199 to ptr store ptr %200, ptr %1, align 8, !tbaa !16 %201 = load ptr, ptr @args, align 8, !tbaa !16 %202 = load i32, ptr %4, align 4, !tbaa !6 %203 = shl i32 %202, 3 %204 = or disjoint i32 %203, 1 %205 = call i32 @bcopy(ptr noundef %201, ptr noundef %200, i32 noundef %204) #4 %206 = call i32 @free(ptr noundef %14) #4 %207 = call i32 @free(ptr noundef nonnull %7) #4 br label %208 208: ; preds = %3, %6, %192 %209 = phi i32 [ 0, %192 ], [ 1, %6 ], [ 1, %3 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %209 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @backslash(ptr noundef) local_unnamed_addr #2 declare i32 @clean(...) local_unnamed_addr #2 declare i64 @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @PARSE_FAIL(i32 noundef) local_unnamed_addr #2 declare i32 @isquote(i8 noundef signext) local_unnamed_addr #2 declare i32 @isdquote(i8 noundef signext) local_unnamed_addr #2 declare i32 @isspace(i8 noundef signext) local_unnamed_addr #2 declare i32 @insert(ptr noundef, ptr noundef) local_unnamed_addr #2 declare signext i8 @isdelim(i8 noundef signext) local_unnamed_addr #2 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare ptr @variable_lookup(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @min(i64 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 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @free(ptr 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #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, !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 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14} !16 = !{!17, !17, i64 0} !17 = !{!"any pointer", !8, i64 0}
freebsd_stand_common_extr_interp_parse.c_parse
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_dbreaka0_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_dbreaka0_Slot_inst_encode.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 @Opcode_xsr_dbreaka0_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @Opcode_xsr_dbreaka0_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 6393856, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) 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/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_dbreaka0_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_dbreaka0_Slot_inst_encode.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 @Opcode_xsr_dbreaka0_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @Opcode_xsr_dbreaka0_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 6393856, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) 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"}
radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Opcode_xsr_dbreaka0_Slot_inst_encode
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_enh_desc.c_enh_desc_get_rx_status.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_enh_desc.c_enh_desc_get_rx_status.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_stats = type { i32, i32, i32 } %struct.stmmac_extra_stats = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @good_frame = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_OWN = dso_local local_unnamed_addr global i32 0, align 4 @dma_own = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_LAST_DESCRIPTOR = dso_local local_unnamed_addr global i32 0, align 4 @discard_frame = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_ERROR_SUMMARY = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_DESCRIPTOR_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_OVERFLOW_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_IPC_CSUM_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"\09IPC Csum Error/Giant frame\0A\00", align 1 @RDES0_COLLISION = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_RECEIVE_WATCHDOG = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_MII_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_CRC_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_FRAME_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @ERDES0_RX_MAC_ADDR = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_DRIBBLING = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_SA_FILTER_FAIL = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_DA_FILTER_FAIL = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_LENGTH_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @RDES0_VLAN_TAG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @enh_desc_get_rx_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @enh_desc_get_rx_status(ptr nocapture noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !5 %5 = tail call i32 @le32_to_cpu(i32 noundef %4) #2 %6 = load i32, ptr @good_frame, align 4, !tbaa !10 %7 = load i32, ptr @RDES0_OWN, align 4, !tbaa !10 %8 = and i32 %7, %5 %9 = tail call i64 @unlikely(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %3 %12 = load i32, ptr @dma_own, align 4, !tbaa !10 br label %161 13: ; preds = %3 %14 = load i32, ptr @RDES0_LAST_DESCRIPTOR, align 4, !tbaa !10 %15 = and i32 %14, %5 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i64 @unlikely(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %20 20: ; preds = %13 %21 = getelementptr inbounds %struct.net_device_stats, ptr %0, i64 0, i32 2 %22 = load i32, ptr %21, align 4, !tbaa !11 %23 = add nsw i32 %22, 1 store i32 %23, ptr %21, align 4, !tbaa !11 %24 = load i32, ptr @discard_frame, align 4, !tbaa !10 br label %161 25: ; preds = %13 %26 = load i32, ptr @RDES0_ERROR_SUMMARY, align 4, !tbaa !10 %27 = and i32 %26, %5 %28 = tail call i64 @unlikely(i32 noundef %27) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %98, label %30 30: ; preds = %25 %31 = load i32, ptr @RDES0_DESCRIPTOR_ERROR, align 4, !tbaa !10 %32 = and i32 %31, %5 %33 = tail call i64 @unlikely(i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %42, label %35 35: ; preds = %30 %36 = getelementptr inbounds %struct.stmmac_extra_stats, ptr %1, i64 0, i32 9 %37 = load i32, ptr %36, align 4, !tbaa !13 %38 = add nsw i32 %37, 1 store i32 %38, ptr %36, align 4, !tbaa !13 %39 = getelementptr inbounds %struct.net_device_stats, ptr %0, i64 0, i32 2 %40 = load i32, ptr %39, align 4, !tbaa !11 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !11 br label %42 42: ; preds = %35, %30 %43 = load i32, ptr @RDES0_OVERFLOW_ERROR, align 4, !tbaa !10 %44 = and i32 %43, %5 %45 = tail call i64 @unlikely(i32 noundef %44) #2 %46 = icmp eq i64 %45, 0 br i1 %46, label %51, label %47 47: ; preds = %42 %48 = getelementptr inbounds %struct.stmmac_extra_stats, ptr %1, i64 0, i32 8 %49 = load i32, ptr %48, align 4, !tbaa !15 %50 = add nsw i32 %49, 1 store i32 %50, ptr %48, align 4, !tbaa !15 br label %51 51: ; preds = %47, %42 %52 = load i32, ptr @RDES0_IPC_CSUM_ERROR, align 4, !tbaa !10 %53 = and i32 %52, %5 %54 = tail call i64 @unlikely(i32 noundef %53) #2 %55 = icmp eq i64 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %51 %57 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2 br label %58 58: ; preds = %56, %51 %59 = load i32, ptr @RDES0_COLLISION, align 4, !tbaa !10 %60 = and i32 %59, %5 %61 = tail call i64 @unlikely(i32 noundef %60) #2 %62 = icmp eq i64 %61, 0 br i1 %62, label %67, label %63 63: ; preds = %58 %64 = getelementptr inbounds %struct.net_device_stats, ptr %0, i64 0, i32 1 %65 = load i32, ptr %64, align 4, !tbaa !16 %66 = add nsw i32 %65, 1 store i32 %66, ptr %64, align 4, !tbaa !16 br label %67 67: ; preds = %63, %58 %68 = load i32, ptr @RDES0_RECEIVE_WATCHDOG, align 4, !tbaa !10 %69 = and i32 %68, %5 %70 = tail call i64 @unlikely(i32 noundef %69) #2 %71 = icmp eq i64 %70, 0 br i1 %71, label %76, label %72 72: ; preds = %67 %73 = getelementptr inbounds %struct.stmmac_extra_stats, ptr %1, i64 0, i32 7 %74 = load i32, ptr %73, align 4, !tbaa !17 %75 = add nsw i32 %74, 1 store i32 %75, ptr %73, align 4, !tbaa !17 br label %76 76: ; preds = %72, %67 %77 = load i32, ptr @RDES0_MII_ERROR, align 4, !tbaa !10 %78 = and i32 %77, %5 %79 = tail call i64 @unlikely(i32 noundef %78) #2 %80 = icmp eq i64 %79, 0 br i1 %80, label %85, label %81 81: ; preds = %76 %82 = getelementptr inbounds %struct.stmmac_extra_stats, ptr %1, i64 0, i32 6 %83 = load i32, ptr %82, align 4, !tbaa !18 %84 = add nsw i32 %83, 1 store i32 %84, ptr %82, align 4, !tbaa !18 br label %85 85: ; preds = %81, %76 %86 = load i32, ptr @RDES0_CRC_ERROR, align 4, !tbaa !10 %87 = and i32 %86, %5 %88 = tail call i64 @unlikely(i32 noundef %87) #2 %89 = icmp eq i64 %88, 0 br i1 %89, label %96, label %90 90: ; preds = %85 %91 = getelementptr inbounds %struct.stmmac_extra_stats, ptr %1, i64 0, i32 5 %92 = load i32, ptr %91, align 4, !tbaa !19 %93 = add nsw i32 %92, 1 store i32 %93, ptr %91, align 4, !tbaa !19 %94 = load i32, ptr %0, align 4, !tbaa !20 %95 = add nsw i32 %94, 1 store i32 %95, ptr %0, align 4, !tbaa !20 br label %96 96: ; preds = %90, %85 %97 = load i32, ptr @discard_frame, align 4, !tbaa !10 br label %98 98: ; preds = %96, %25 %99 = phi i32 [ %97, %96 ], [ %6, %25 ] %100 = load i32, ptr @good_frame, align 4, !tbaa !10 %101 = icmp eq i32 %99, %100 %102 = zext i1 %101 to i32 %103 = tail call i64 @likely(i32 noundef %102) #2 %104 = icmp eq i64 %103, 0 br i1 %104, label %119, label %105 105: ; preds = %98 %106 = load i32, ptr @RDES0_IPC_CSUM_ERROR, align 4, !tbaa !10 %107 = and i32 %106, %5 %108 = icmp ne i32 %107, 0 %109 = zext i1 %108 to i32 %110 = load i32, ptr @RDES0_FRAME_TYPE, align 4, !tbaa !10 %111 = and i32 %110, %5 %112 = icmp ne i32 %111, 0 %113 = zext i1 %112 to i32 %114 = load i32, ptr @ERDES0_RX_MAC_ADDR, align 4, !tbaa !10 %115 = and i32 %114, %5 %116 = icmp ne i32 %115, 0 %117 = zext i1 %116 to i32 %118 = tail call i32 @enh_desc_coe_rdes0(i32 noundef %109, i32 noundef %113, i32 noundef %117) #2 br label %119 119: ; preds = %105, %98 %120 = phi i32 [ %118, %105 ], [ %99, %98 ] %121 = load i32, ptr @RDES0_DRIBBLING, align 4, !tbaa !10 %122 = and i32 %121, %5 %123 = tail call i64 @unlikely(i32 noundef %122) #2 %124 = icmp eq i64 %123, 0 br i1 %124, label %129, label %125 125: ; preds = %119 %126 = getelementptr inbounds %struct.stmmac_extra_stats, ptr %1, i64 0, i32 4 %127 = load i32, ptr %126, align 4, !tbaa !21 %128 = add nsw i32 %127, 1 store i32 %128, ptr %126, align 4, !tbaa !21 br label %129 129: ; preds = %125, %119 %130 = load i32, ptr @RDES0_SA_FILTER_FAIL, align 4, !tbaa !10 %131 = and i32 %130, %5 %132 = tail call i64 @unlikely(i32 noundef %131) #2 %133 = icmp eq i64 %132, 0 br i1 %133, label %139, label %134 134: ; preds = %129 %135 = getelementptr inbounds %struct.stmmac_extra_stats, ptr %1, i64 0, i32 3 %136 = load i32, ptr %135, align 4, !tbaa !22 %137 = add nsw i32 %136, 1 store i32 %137, ptr %135, align 4, !tbaa !22 %138 = load i32, ptr @discard_frame, align 4, !tbaa !10 br label %139 139: ; preds = %134, %129 %140 = phi i32 [ %138, %134 ], [ %120, %129 ] %141 = load i32, ptr @RDES0_DA_FILTER_FAIL, align 4, !tbaa !10 %142 = and i32 %141, %5 %143 = tail call i64 @unlikely(i32 noundef %142) #2 %144 = icmp eq i64 %143, 0 br i1 %144, label %150, label %145 145: ; preds = %139 %146 = getelementptr inbounds %struct.stmmac_extra_stats, ptr %1, i64 0, i32 2 %147 = load i32, ptr %146, align 4, !tbaa !23 %148 = add nsw i32 %147, 1 store i32 %148, ptr %146, align 4, !tbaa !23 %149 = load i32, ptr @discard_frame, align 4, !tbaa !10 br label %150 150: ; preds = %145, %139 %151 = phi i32 [ %149, %145 ], [ %140, %139 ] %152 = load i32, ptr @RDES0_LENGTH_ERROR, align 4, !tbaa !10 %153 = and i32 %152, %5 %154 = tail call i64 @unlikely(i32 noundef %153) #2 %155 = icmp eq i64 %154, 0 br i1 %155, label %161, label %156 156: ; preds = %150 %157 = getelementptr inbounds %struct.stmmac_extra_stats, ptr %1, i64 0, i32 1 %158 = load i32, ptr %157, align 4, !tbaa !24 %159 = add nsw i32 %158, 1 store i32 %159, ptr %157, align 4, !tbaa !24 %160 = load i32, ptr @discard_frame, align 4, !tbaa !10 br label %161 161: ; preds = %150, %156, %20, %11 %162 = phi i32 [ %12, %11 ], [ %24, %20 ], [ %160, %156 ], [ %151, %150 ] ret i32 %162 } declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @enh_desc_coe_rdes0(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 = !{!"dma_desc", !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 8} !12 = !{!"net_device_stats", !7, i64 0, !7, i64 4, !7, i64 8} !13 = !{!14, !7, i64 36} !14 = !{!"stmmac_extra_stats", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36} !15 = !{!14, !7, i64 32} !16 = !{!12, !7, i64 4} !17 = !{!14, !7, i64 28} !18 = !{!14, !7, i64 24} !19 = !{!14, !7, i64 20} !20 = !{!12, !7, i64 0} !21 = !{!14, !7, i64 16} !22 = !{!14, !7, i64 12} !23 = !{!14, !7, i64 8} !24 = !{!14, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_enh_desc.c_enh_desc_get_rx_status.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_enh_desc.c_enh_desc_get_rx_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @good_frame = common local_unnamed_addr global i32 0, align 4 @RDES0_OWN = common local_unnamed_addr global i32 0, align 4 @dma_own = common local_unnamed_addr global i32 0, align 4 @RDES0_LAST_DESCRIPTOR = common local_unnamed_addr global i32 0, align 4 @discard_frame = common local_unnamed_addr global i32 0, align 4 @RDES0_ERROR_SUMMARY = common local_unnamed_addr global i32 0, align 4 @RDES0_DESCRIPTOR_ERROR = common local_unnamed_addr global i32 0, align 4 @RDES0_OVERFLOW_ERROR = common local_unnamed_addr global i32 0, align 4 @RDES0_IPC_CSUM_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"\09IPC Csum Error/Giant frame\0A\00", align 1 @RDES0_COLLISION = common local_unnamed_addr global i32 0, align 4 @RDES0_RECEIVE_WATCHDOG = common local_unnamed_addr global i32 0, align 4 @RDES0_MII_ERROR = common local_unnamed_addr global i32 0, align 4 @RDES0_CRC_ERROR = common local_unnamed_addr global i32 0, align 4 @RDES0_FRAME_TYPE = common local_unnamed_addr global i32 0, align 4 @ERDES0_RX_MAC_ADDR = common local_unnamed_addr global i32 0, align 4 @RDES0_DRIBBLING = common local_unnamed_addr global i32 0, align 4 @RDES0_SA_FILTER_FAIL = common local_unnamed_addr global i32 0, align 4 @RDES0_DA_FILTER_FAIL = common local_unnamed_addr global i32 0, align 4 @RDES0_LENGTH_ERROR = common local_unnamed_addr global i32 0, align 4 @RDES0_VLAN_TAG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @enh_desc_get_rx_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @enh_desc_get_rx_status(ptr nocapture noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !6 %5 = tail call i32 @le32_to_cpu(i32 noundef %4) #2 %6 = load i32, ptr @good_frame, align 4, !tbaa !11 %7 = load i32, ptr @RDES0_OWN, align 4, !tbaa !11 %8 = and i32 %7, %5 %9 = tail call i64 @unlikely(i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %3 %12 = load i32, ptr @dma_own, align 4, !tbaa !11 br label %161 13: ; preds = %3 %14 = load i32, ptr @RDES0_LAST_DESCRIPTOR, align 4, !tbaa !11 %15 = and i32 %14, %5 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i64 @unlikely(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %20 20: ; preds = %13 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load i32, ptr %21, align 4, !tbaa !12 %23 = add nsw i32 %22, 1 store i32 %23, ptr %21, align 4, !tbaa !12 %24 = load i32, ptr @discard_frame, align 4, !tbaa !11 br label %161 25: ; preds = %13 %26 = load i32, ptr @RDES0_ERROR_SUMMARY, align 4, !tbaa !11 %27 = and i32 %26, %5 %28 = tail call i64 @unlikely(i32 noundef %27) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %98, label %30 30: ; preds = %25 %31 = load i32, ptr @RDES0_DESCRIPTOR_ERROR, align 4, !tbaa !11 %32 = and i32 %31, %5 %33 = tail call i64 @unlikely(i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %42, label %35 35: ; preds = %30 %36 = getelementptr inbounds i8, ptr %1, i64 36 %37 = load i32, ptr %36, align 4, !tbaa !14 %38 = add nsw i32 %37, 1 store i32 %38, ptr %36, align 4, !tbaa !14 %39 = getelementptr inbounds i8, ptr %0, i64 8 %40 = load i32, ptr %39, align 4, !tbaa !12 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !12 br label %42 42: ; preds = %35, %30 %43 = load i32, ptr @RDES0_OVERFLOW_ERROR, align 4, !tbaa !11 %44 = and i32 %43, %5 %45 = tail call i64 @unlikely(i32 noundef %44) #2 %46 = icmp eq i64 %45, 0 br i1 %46, label %51, label %47 47: ; preds = %42 %48 = getelementptr inbounds i8, ptr %1, i64 32 %49 = load i32, ptr %48, align 4, !tbaa !16 %50 = add nsw i32 %49, 1 store i32 %50, ptr %48, align 4, !tbaa !16 br label %51 51: ; preds = %47, %42 %52 = load i32, ptr @RDES0_IPC_CSUM_ERROR, align 4, !tbaa !11 %53 = and i32 %52, %5 %54 = tail call i64 @unlikely(i32 noundef %53) #2 %55 = icmp eq i64 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %51 %57 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2 br label %58 58: ; preds = %56, %51 %59 = load i32, ptr @RDES0_COLLISION, align 4, !tbaa !11 %60 = and i32 %59, %5 %61 = tail call i64 @unlikely(i32 noundef %60) #2 %62 = icmp eq i64 %61, 0 br i1 %62, label %67, label %63 63: ; preds = %58 %64 = getelementptr inbounds i8, ptr %0, i64 4 %65 = load i32, ptr %64, align 4, !tbaa !17 %66 = add nsw i32 %65, 1 store i32 %66, ptr %64, align 4, !tbaa !17 br label %67 67: ; preds = %63, %58 %68 = load i32, ptr @RDES0_RECEIVE_WATCHDOG, align 4, !tbaa !11 %69 = and i32 %68, %5 %70 = tail call i64 @unlikely(i32 noundef %69) #2 %71 = icmp eq i64 %70, 0 br i1 %71, label %76, label %72 72: ; preds = %67 %73 = getelementptr inbounds i8, ptr %1, i64 28 %74 = load i32, ptr %73, align 4, !tbaa !18 %75 = add nsw i32 %74, 1 store i32 %75, ptr %73, align 4, !tbaa !18 br label %76 76: ; preds = %72, %67 %77 = load i32, ptr @RDES0_MII_ERROR, align 4, !tbaa !11 %78 = and i32 %77, %5 %79 = tail call i64 @unlikely(i32 noundef %78) #2 %80 = icmp eq i64 %79, 0 br i1 %80, label %85, label %81 81: ; preds = %76 %82 = getelementptr inbounds i8, ptr %1, i64 24 %83 = load i32, ptr %82, align 4, !tbaa !19 %84 = add nsw i32 %83, 1 store i32 %84, ptr %82, align 4, !tbaa !19 br label %85 85: ; preds = %81, %76 %86 = load i32, ptr @RDES0_CRC_ERROR, align 4, !tbaa !11 %87 = and i32 %86, %5 %88 = tail call i64 @unlikely(i32 noundef %87) #2 %89 = icmp eq i64 %88, 0 br i1 %89, label %96, label %90 90: ; preds = %85 %91 = getelementptr inbounds i8, ptr %1, i64 20 %92 = load i32, ptr %91, align 4, !tbaa !20 %93 = add nsw i32 %92, 1 store i32 %93, ptr %91, align 4, !tbaa !20 %94 = load i32, ptr %0, align 4, !tbaa !21 %95 = add nsw i32 %94, 1 store i32 %95, ptr %0, align 4, !tbaa !21 br label %96 96: ; preds = %90, %85 %97 = load i32, ptr @discard_frame, align 4, !tbaa !11 br label %98 98: ; preds = %96, %25 %99 = phi i32 [ %97, %96 ], [ %6, %25 ] %100 = load i32, ptr @good_frame, align 4, !tbaa !11 %101 = icmp eq i32 %99, %100 %102 = zext i1 %101 to i32 %103 = tail call i64 @likely(i32 noundef %102) #2 %104 = icmp eq i64 %103, 0 br i1 %104, label %119, label %105 105: ; preds = %98 %106 = load i32, ptr @RDES0_IPC_CSUM_ERROR, align 4, !tbaa !11 %107 = and i32 %106, %5 %108 = icmp ne i32 %107, 0 %109 = zext i1 %108 to i32 %110 = load i32, ptr @RDES0_FRAME_TYPE, align 4, !tbaa !11 %111 = and i32 %110, %5 %112 = icmp ne i32 %111, 0 %113 = zext i1 %112 to i32 %114 = load i32, ptr @ERDES0_RX_MAC_ADDR, align 4, !tbaa !11 %115 = and i32 %114, %5 %116 = icmp ne i32 %115, 0 %117 = zext i1 %116 to i32 %118 = tail call i32 @enh_desc_coe_rdes0(i32 noundef %109, i32 noundef %113, i32 noundef %117) #2 br label %119 119: ; preds = %105, %98 %120 = phi i32 [ %118, %105 ], [ %99, %98 ] %121 = load i32, ptr @RDES0_DRIBBLING, align 4, !tbaa !11 %122 = and i32 %121, %5 %123 = tail call i64 @unlikely(i32 noundef %122) #2 %124 = icmp eq i64 %123, 0 br i1 %124, label %129, label %125 125: ; preds = %119 %126 = getelementptr inbounds i8, ptr %1, i64 16 %127 = load i32, ptr %126, align 4, !tbaa !22 %128 = add nsw i32 %127, 1 store i32 %128, ptr %126, align 4, !tbaa !22 br label %129 129: ; preds = %125, %119 %130 = load i32, ptr @RDES0_SA_FILTER_FAIL, align 4, !tbaa !11 %131 = and i32 %130, %5 %132 = tail call i64 @unlikely(i32 noundef %131) #2 %133 = icmp eq i64 %132, 0 br i1 %133, label %139, label %134 134: ; preds = %129 %135 = getelementptr inbounds i8, ptr %1, i64 12 %136 = load i32, ptr %135, align 4, !tbaa !23 %137 = add nsw i32 %136, 1 store i32 %137, ptr %135, align 4, !tbaa !23 %138 = load i32, ptr @discard_frame, align 4, !tbaa !11 br label %139 139: ; preds = %134, %129 %140 = phi i32 [ %138, %134 ], [ %120, %129 ] %141 = load i32, ptr @RDES0_DA_FILTER_FAIL, align 4, !tbaa !11 %142 = and i32 %141, %5 %143 = tail call i64 @unlikely(i32 noundef %142) #2 %144 = icmp eq i64 %143, 0 br i1 %144, label %150, label %145 145: ; preds = %139 %146 = getelementptr inbounds i8, ptr %1, i64 8 %147 = load i32, ptr %146, align 4, !tbaa !24 %148 = add nsw i32 %147, 1 store i32 %148, ptr %146, align 4, !tbaa !24 %149 = load i32, ptr @discard_frame, align 4, !tbaa !11 br label %150 150: ; preds = %145, %139 %151 = phi i32 [ %149, %145 ], [ %140, %139 ] %152 = load i32, ptr @RDES0_LENGTH_ERROR, align 4, !tbaa !11 %153 = and i32 %152, %5 %154 = tail call i64 @unlikely(i32 noundef %153) #2 %155 = icmp eq i64 %154, 0 br i1 %155, label %161, label %156 156: ; preds = %150 %157 = getelementptr inbounds i8, ptr %1, i64 4 %158 = load i32, ptr %157, align 4, !tbaa !25 %159 = add nsw i32 %158, 1 store i32 %159, ptr %157, align 4, !tbaa !25 %160 = load i32, ptr @discard_frame, align 4, !tbaa !11 br label %161 161: ; preds = %150, %156, %20, %11 %162 = phi i32 [ %12, %11 ], [ %24, %20 ], [ %160, %156 ], [ %151, %150 ] ret i32 %162 } declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @enh_desc_coe_rdes0(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 = !{!"dma_desc", !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 8} !13 = !{!"net_device_stats", !8, i64 0, !8, i64 4, !8, i64 8} !14 = !{!15, !8, i64 36} !15 = !{!"stmmac_extra_stats", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36} !16 = !{!15, !8, i64 32} !17 = !{!13, !8, i64 4} !18 = !{!15, !8, i64 28} !19 = !{!15, !8, i64 24} !20 = !{!15, !8, i64 20} !21 = !{!13, !8, i64 0} !22 = !{!15, !8, i64 16} !23 = !{!15, !8, i64 12} !24 = !{!15, !8, i64 8} !25 = !{!15, !8, i64 4}
linux_drivers_net_ethernet_stmicro_stmmac_extr_enh_desc.c_enh_desc_get_rx_status
; ModuleID = 'AnghaBench/esp-idf/components/soc/esp32/extr_emac_hal.c_emac_hal_set_csr_clock_range.c' source_filename = "AnghaBench/esp-idf/components/soc/esp32/extr_emac_hal.c_emac_hal_set_csr_clock_range.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" @CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define dso_local void @emac_hal_set_csr_clock_range(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ, align 4 %3 = add i32 %2, -20 %4 = icmp ult i32 %3, 15 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = load ptr, ptr %0, align 8, !tbaa !5 store i32 2, ptr %6, align 4, !tbaa !10 br label %28 7: ; preds = %1 %8 = add i32 %2, -35 %9 = icmp ult i32 %8, 25 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = load ptr, ptr %0, align 8, !tbaa !5 store i32 3, ptr %11, align 4, !tbaa !10 br label %28 12: ; preds = %7 %13 = add i32 %2, -60 %14 = icmp ult i32 %13, 40 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = load ptr, ptr %0, align 8, !tbaa !5 store i32 0, ptr %16, align 4, !tbaa !10 br label %28 17: ; preds = %12 %18 = add i32 %2, -100 %19 = icmp ult i32 %18, 50 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = load ptr, ptr %0, align 8, !tbaa !5 store i32 1, ptr %21, align 4, !tbaa !10 br label %28 22: ; preds = %17 %23 = add i32 %2, -151 %24 = icmp ult i32 %23, 99 %25 = load ptr, ptr %0, align 8, !tbaa !5 br i1 %24, label %26, label %27 26: ; preds = %22 store i32 4, ptr %25, align 4, !tbaa !10 br label %28 27: ; preds = %22 store i32 5, ptr %25, align 4, !tbaa !10 br label %28 28: ; preds = %10, %20, %27, %26, %15, %5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, 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_7__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/soc/esp32/extr_emac_hal.c_emac_hal_set_csr_clock_range.c' source_filename = "AnghaBench/esp-idf/components/soc/esp32/extr_emac_hal.c_emac_hal_set_csr_clock_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define void @emac_hal_set_csr_clock_range(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ, align 4 %3 = add i32 %2, -20 %4 = icmp ult i32 %3, 15 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = load ptr, ptr %0, align 8, !tbaa !6 store i32 2, ptr %6, align 4, !tbaa !11 br label %28 7: ; preds = %1 %8 = add i32 %2, -35 %9 = icmp ult i32 %8, 25 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = load ptr, ptr %0, align 8, !tbaa !6 store i32 3, ptr %11, align 4, !tbaa !11 br label %28 12: ; preds = %7 %13 = add i32 %2, -60 %14 = icmp ult i32 %13, 40 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = load ptr, ptr %0, align 8, !tbaa !6 store i32 0, ptr %16, align 4, !tbaa !11 br label %28 17: ; preds = %12 %18 = add i32 %2, -100 %19 = icmp ult i32 %18, 50 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = load ptr, ptr %0, align 8, !tbaa !6 store i32 1, ptr %21, align 4, !tbaa !11 br label %28 22: ; preds = %17 %23 = add i32 %2, -151 %24 = icmp ult i32 %23, 99 %25 = load ptr, ptr %0, align 8, !tbaa !6 br i1 %24, label %26, label %27 26: ; preds = %22 store i32 4, ptr %25, align 4, !tbaa !11 br label %28 27: ; preds = %22 store i32 5, ptr %25, align 4, !tbaa !11 br label %28 28: ; preds = %10, %20, %27, %26, %15, %5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, 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_7__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 0} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"int", !9, i64 0}
esp-idf_components_soc_esp32_extr_emac_hal.c_emac_hal_set_csr_clock_range
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx.c_ahc_find_period.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx.c_ahc_find_period.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.ahc_syncrate = type { i64, i64, i64, ptr } @AHC_ULTRA2 = dso_local local_unnamed_addr global i32 0, align 4 @SXFR_ULTRA2 = dso_local local_unnamed_addr global i64 0, align 8 @SXFR = dso_local local_unnamed_addr global i64 0, align 8 @ahc_syncrates = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local i64 @ahc_find_period(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @AHC_ULTRA2, align 4, !tbaa !10 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = load i64, ptr @SXFR, align 8 %9 = load i64, ptr @SXFR_ULTRA2, align 8 %10 = select i1 %7, i64 %8, i64 %9 %11 = and i64 %10, %1 %12 = load ptr, ptr @ahc_syncrates, align 8, !tbaa !11 %13 = getelementptr inbounds %struct.ahc_syncrate, ptr %12, i64 %2, i32 3 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = icmp eq ptr %14, null br i1 %15, label %39, label %16 16: ; preds = %3 %17 = getelementptr inbounds %struct.ahc_syncrate, ptr %12, i64 %2 br label %18 18: ; preds = %16, %31 %19 = phi ptr [ %17, %16 ], [ %32, %31 ] br i1 %7, label %26, label %20 20: ; preds = %18 %21 = load i64, ptr %19, align 8, !tbaa !16 %22 = icmp eq i64 %21, 0 br i1 %22, label %39, label %23 23: ; preds = %20 %24 = and i64 %9, %21 %25 = icmp eq i64 %11, %24 br i1 %25, label %36, label %31 26: ; preds = %18 %27 = getelementptr inbounds %struct.ahc_syncrate, ptr %19, i64 0, i32 2 %28 = load i64, ptr %27, align 8, !tbaa !17 %29 = and i64 %8, %28 %30 = icmp eq i64 %11, %29 br i1 %30, label %36, label %31 31: ; preds = %26, %23 %32 = getelementptr inbounds %struct.ahc_syncrate, ptr %19, i64 1 %33 = getelementptr inbounds %struct.ahc_syncrate, ptr %19, i64 1, i32 3 %34 = load ptr, ptr %33, align 8, !tbaa !13 %35 = icmp eq ptr %34, null br i1 %35, label %39, label %18, !llvm.loop !18 36: ; preds = %26, %23 %37 = getelementptr inbounds %struct.ahc_syncrate, ptr %19, i64 0, i32 1 %38 = load i64, ptr %37, align 8, !tbaa !20 br label %39 39: ; preds = %20, %31, %36, %3 %40 = phi i64 [ 0, %3 ], [ %38, %36 ], [ 0, %31 ], [ 0, %20 ] ret i64 %40 } 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 = !{!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} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 24} !14 = !{!"ahc_syncrate", !15, i64 0, !15, i64 8, !15, i64 16, !12, i64 24} !15 = !{!"long", !8, i64 0} !16 = !{!14, !15, i64 0} !17 = !{!14, !15, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!14, !15, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx.c_ahc_find_period.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7xxx.c_ahc_find_period.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ahc_syncrate = type { i64, i64, i64, ptr } @AHC_ULTRA2 = common local_unnamed_addr global i32 0, align 4 @SXFR_ULTRA2 = common local_unnamed_addr global i64 0, align 8 @SXFR = common local_unnamed_addr global i64 0, align 8 @ahc_syncrates = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define i64 @ahc_find_period(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @AHC_ULTRA2, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = load i64, ptr @SXFR, align 8 %9 = load i64, ptr @SXFR_ULTRA2, align 8 %10 = select i1 %7, i64 %8, i64 %9 %11 = and i64 %10, %1 %12 = load ptr, ptr @ahc_syncrates, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.ahc_syncrate, ptr %12, i64 %2 %14 = getelementptr inbounds i8, ptr %13, i64 24 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = icmp eq ptr %15, null br i1 %16, label %38, label %17 17: ; preds = %3, %30 %18 = phi ptr [ %31, %30 ], [ %13, %3 ] br i1 %7, label %25, label %19 19: ; preds = %17 %20 = load i64, ptr %18, align 8, !tbaa !17 %21 = icmp eq i64 %20, 0 br i1 %21, label %38, label %22 22: ; preds = %19 %23 = and i64 %9, %20 %24 = icmp eq i64 %11, %23 br i1 %24, label %35, label %30 25: ; preds = %17 %26 = getelementptr inbounds i8, ptr %18, i64 16 %27 = load i64, ptr %26, align 8, !tbaa !18 %28 = and i64 %8, %27 %29 = icmp eq i64 %11, %28 br i1 %29, label %35, label %30 30: ; preds = %25, %22 %31 = getelementptr inbounds i8, ptr %18, i64 32 %32 = getelementptr inbounds i8, ptr %18, i64 56 %33 = load ptr, ptr %32, align 8, !tbaa !14 %34 = icmp eq ptr %33, null br i1 %34, label %38, label %17, !llvm.loop !19 35: ; preds = %25, %22 %36 = getelementptr inbounds i8, ptr %18, i64 8 %37 = load i64, ptr %36, align 8, !tbaa !21 br label %38 38: ; preds = %19, %30, %35, %3 %39 = phi i64 [ 0, %3 ], [ %37, %35 ], [ 0, %30 ], [ 0, %19 ] ret i64 %39 } 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 = !{!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} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !13, i64 24} !15 = !{!"ahc_syncrate", !16, i64 0, !16, i64 8, !16, i64 16, !13, i64 24} !16 = !{!"long", !9, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!15, !16, i64 16} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!15, !16, i64 8}
freebsd_sys_dev_aic7xxx_extr_aic7xxx.c_ahc_find_period
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_muls_aa_hl_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_muls_aa_hl_Slot_inst_encode.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 @Opcode_muls_aa_hl_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @Opcode_muls_aa_hl_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 8192004, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) 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/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_muls_aa_hl_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_muls_aa_hl_Slot_inst_encode.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 @Opcode_muls_aa_hl_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @Opcode_muls_aa_hl_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 8192004, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) 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"}
radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Opcode_muls_aa_hl_Slot_inst_encode
; ModuleID = 'AnghaBench/lab/engine/code/botlib/extr_be_aas_bspq3.c_AAS_NextBSPEntity.c' source_filename = "AnghaBench/lab/engine/code/botlib/extr_be_aas_bspq3.c_AAS_NextBSPEntity.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_2__ = type { i32 } @bspworld = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind readonly uwtable willreturn define dso_local i32 @AAS_NextBSPEntity(i32 noundef %0) local_unnamed_addr #0 { %2 = add nsw i32 %0, 1 %3 = icmp sgt i32 %0, -1 %4 = load i32, i32* getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @bspworld, i64 0, i32 0), align 4 %5 = icmp slt i32 %2, %4 %6 = select i1 %3, i1 %5, i1 false %7 = select i1 %6, i32 %2, i32 0 ret i32 %7 } attributes #0 = { mustprogress nofree norecurse nosync nounwind readonly uwtable willreturn "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" } !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"}
; ModuleID = 'AnghaBench/lab/engine/code/botlib/extr_be_aas_bspq3.c_AAS_NextBSPEntity.c' source_filename = "AnghaBench/lab/engine/code/botlib/extr_be_aas_bspq3.c_AAS_NextBSPEntity.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 } @bspworld = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define range(i32 0, -2147483648) i32 @AAS_NextBSPEntity(i32 noundef %0) local_unnamed_addr #0 { %2 = add nsw i32 %0, 1 %3 = icmp sgt i32 %0, -1 %4 = load i32, ptr @bspworld, align 4 %5 = icmp slt i32 %2, %4 %6 = select i1 %3, i1 %5, i1 false %7 = select i1 %6, i32 %2, i32 0 ret i32 %7 } 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)"}
lab_engine_code_botlib_extr_be_aas_bspq3.c_AAS_NextBSPEntity
; ModuleID = 'AnghaBench/openssl/ssl/extr_ssl_ciph.c_ssl_get_cipher_by_char.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_ciph.c_ssl_get_cipher_by_char.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 ptr @ssl_get_cipher_by_char(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = tail call ptr %5(ptr noundef %1) #1 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %3 %9 = icmp eq i32 %2, 0 br i1 %9, label %10, label %13 10: ; preds = %8 %11 = load i64, ptr %6, align 8, !tbaa !12 %12 = icmp eq i64 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %10, %8 br label %14 14: ; preds = %3, %10, %13 %15 = phi ptr [ %6, %13 ], [ null, %10 ], [ null, %3 ] ret ptr %15 } 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 = { 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_9__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_7__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/openssl/ssl/extr_ssl_ciph.c_ssl_get_cipher_by_char.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_ciph.c_ssl_get_cipher_by_char.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 @ssl_get_cipher_by_char(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call ptr %5(ptr noundef %1) #1 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %3 %9 = icmp eq i32 %2, 0 br i1 %9, label %10, label %13 10: ; preds = %8 %11 = load i64, ptr %6, align 8, !tbaa !13 %12 = icmp eq i64 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %10, %8 br label %14 14: ; preds = %3, %10, %13 %15 = phi ptr [ %6, %13 ], [ null, %10 ], [ null, %3 ] ret ptr %15 } 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 = { 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_9__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_7__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_8__", !15, i64 0} !15 = !{!"long", !9, i64 0}
openssl_ssl_extr_ssl_ciph.c_ssl_get_cipher_by_char
; ModuleID = 'AnghaBench/htop/extr_Action.c_Action_setBindings.c' source_filename = "AnghaBench/htop/extr_Action.c_Action_setBindings.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" @actionResize = dso_local local_unnamed_addr global i32 0, align 4 @KEY_RESIZE = dso_local local_unnamed_addr global i64 0, align 8 @actionSortByMemory = dso_local local_unnamed_addr global i32 0, align 4 @actionSortByTime = dso_local local_unnamed_addr global i32 0, align 4 @actionSortByCPU = dso_local local_unnamed_addr global i32 0, align 4 @actionToggleUserlandThreads = dso_local local_unnamed_addr global i32 0, align 4 @actionToggleKernelThreads = dso_local local_unnamed_addr global i32 0, align 4 @actionToggleProgramPath = dso_local local_unnamed_addr global i32 0, align 4 @actionToggleTreeView = dso_local local_unnamed_addr global i32 0, align 4 @actionIncFilter = dso_local local_unnamed_addr global i32 0, align 4 @actionIncSearch = dso_local local_unnamed_addr global i32 0, align 4 @actionHigherPriority = dso_local local_unnamed_addr global i32 0, align 4 @actionLowerPriority = dso_local local_unnamed_addr global i32 0, align 4 @actionInvertSortOrder = dso_local local_unnamed_addr global i32 0, align 4 @actionExpandCollapseOrSortColumn = dso_local local_unnamed_addr global i32 0, align 4 @actionSetSortColumn = dso_local local_unnamed_addr global i32 0, align 4 @actionQuit = dso_local local_unnamed_addr global i32 0, align 4 @actionSetAffinity = dso_local local_unnamed_addr global i32 0, align 4 @actionKill = dso_local local_unnamed_addr global i32 0, align 4 @actionExpandOrCollapse = dso_local local_unnamed_addr global i32 0, align 4 @KEY_RECLICK = dso_local local_unnamed_addr global i64 0, align 8 @actionCollapseIntoParent = dso_local local_unnamed_addr global i32 0, align 4 @actionFilterByUser = dso_local local_unnamed_addr global i32 0, align 4 @Action_follow = dso_local local_unnamed_addr global i32 0, align 4 @actionSetup = dso_local local_unnamed_addr global i32 0, align 4 @actionLsof = dso_local local_unnamed_addr global i32 0, align 4 @actionStrace = dso_local local_unnamed_addr global i32 0, align 4 @actionTag = dso_local local_unnamed_addr global i32 0, align 4 @actionRedraw = dso_local local_unnamed_addr global i32 0, align 4 @actionHelp = dso_local local_unnamed_addr global i32 0, align 4 @actionUntagAll = dso_local local_unnamed_addr global i32 0, align 4 @actionTagAllChildren = dso_local local_unnamed_addr global i32 0, align 4 @actionShowEnvScreen = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @Action_setBindings(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @actionResize, align 4, !tbaa !5 %3 = load i64, ptr @KEY_RESIZE, align 8, !tbaa !9 %4 = getelementptr inbounds i32, ptr %0, i64 %3 store i32 %2, ptr %4, align 4, !tbaa !5 %5 = load i32, ptr @actionSortByMemory, align 4, !tbaa !5 %6 = getelementptr inbounds i32, ptr %0, i64 77 store i32 %5, ptr %6, align 4, !tbaa !5 %7 = load i32, ptr @actionSortByTime, align 4, !tbaa !5 %8 = getelementptr inbounds i32, ptr %0, i64 84 store i32 %7, ptr %8, align 4, !tbaa !5 %9 = load i32, ptr @actionSortByCPU, align 4, !tbaa !5 %10 = getelementptr inbounds i32, ptr %0, i64 80 store i32 %9, ptr %10, align 4, !tbaa !5 %11 = load i32, ptr @actionToggleUserlandThreads, align 4, !tbaa !5 %12 = getelementptr inbounds i32, ptr %0, i64 72 store i32 %11, ptr %12, align 4, !tbaa !5 %13 = load i32, ptr @actionToggleKernelThreads, align 4, !tbaa !5 %14 = getelementptr inbounds i32, ptr %0, i64 75 store i32 %13, ptr %14, align 4, !tbaa !5 %15 = load i32, ptr @actionToggleProgramPath, align 4, !tbaa !5 %16 = getelementptr inbounds i32, ptr %0, i64 112 store i32 %15, ptr %16, align 4, !tbaa !5 %17 = load i32, ptr @actionToggleTreeView, align 4, !tbaa !5 %18 = getelementptr inbounds i32, ptr %0, i64 116 store i32 %17, ptr %18, align 4, !tbaa !5 %19 = tail call i64 @KEY_F(i32 noundef 5) #2 %20 = getelementptr inbounds i32, ptr %0, i64 %19 store i32 %17, ptr %20, align 4, !tbaa !5 %21 = load i32, ptr @actionIncFilter, align 4, !tbaa !5 %22 = tail call i64 @KEY_F(i32 noundef 4) #2 %23 = getelementptr inbounds i32, ptr %0, i64 %22 store i32 %21, ptr %23, align 4, !tbaa !5 %24 = load i32, ptr @actionIncFilter, align 4, !tbaa !5 %25 = getelementptr inbounds i32, ptr %0, i64 92 store i32 %24, ptr %25, align 4, !tbaa !5 %26 = load i32, ptr @actionIncSearch, align 4, !tbaa !5 %27 = tail call i64 @KEY_F(i32 noundef 3) #2 %28 = getelementptr inbounds i32, ptr %0, i64 %27 store i32 %26, ptr %28, align 4, !tbaa !5 %29 = load i32, ptr @actionIncSearch, align 4, !tbaa !5 %30 = getelementptr inbounds i32, ptr %0, i64 47 store i32 %29, ptr %30, align 4, !tbaa !5 %31 = load i32, ptr @actionHigherPriority, align 4, !tbaa !5 %32 = getelementptr inbounds i32, ptr %0, i64 93 store i32 %31, ptr %32, align 4, !tbaa !5 %33 = tail call i64 @KEY_F(i32 noundef 7) #2 %34 = getelementptr inbounds i32, ptr %0, i64 %33 store i32 %31, ptr %34, align 4, !tbaa !5 %35 = load i32, ptr @actionLowerPriority, align 4, !tbaa !5 %36 = getelementptr inbounds i32, ptr %0, i64 91 store i32 %35, ptr %36, align 4, !tbaa !5 %37 = tail call i64 @KEY_F(i32 noundef 8) #2 %38 = getelementptr inbounds i32, ptr %0, i64 %37 store i32 %35, ptr %38, align 4, !tbaa !5 %39 = load i32, ptr @actionInvertSortOrder, align 4, !tbaa !5 %40 = getelementptr inbounds i32, ptr %0, i64 73 store i32 %39, ptr %40, align 4, !tbaa !5 %41 = load i32, ptr @actionExpandCollapseOrSortColumn, align 4, !tbaa !5 %42 = tail call i64 @KEY_F(i32 noundef 6) #2 %43 = getelementptr inbounds i32, ptr %0, i64 %42 store i32 %41, ptr %43, align 4, !tbaa !5 %44 = load i32, ptr @actionExpandCollapseOrSortColumn, align 4, !tbaa !5 %45 = tail call i64 @KEY_F(i32 noundef 18) #2 %46 = getelementptr inbounds i32, ptr %0, i64 %45 store i32 %44, ptr %46, align 4, !tbaa !5 %47 = load i32, ptr @actionSetSortColumn, align 4, !tbaa !5 %48 = getelementptr inbounds i32, ptr %0, i64 60 store i32 %47, ptr %48, align 4, !tbaa !5 %49 = getelementptr inbounds i32, ptr %0, i64 44 store i32 %47, ptr %49, align 4, !tbaa !5 %50 = getelementptr inbounds i32, ptr %0, i64 62 store i32 %47, ptr %50, align 4, !tbaa !5 %51 = getelementptr inbounds i32, ptr %0, i64 46 store i32 %47, ptr %51, align 4, !tbaa !5 %52 = load i32, ptr @actionQuit, align 4, !tbaa !5 %53 = tail call i64 @KEY_F(i32 noundef 10) #2 %54 = getelementptr inbounds i32, ptr %0, i64 %53 store i32 %52, ptr %54, align 4, !tbaa !5 %55 = load i32, ptr @actionQuit, align 4, !tbaa !5 %56 = getelementptr inbounds i32, ptr %0, i64 113 store i32 %55, ptr %56, align 4, !tbaa !5 %57 = load i32, ptr @actionSetAffinity, align 4, !tbaa !5 %58 = getelementptr inbounds i32, ptr %0, i64 97 store i32 %57, ptr %58, align 4, !tbaa !5 %59 = load i32, ptr @actionKill, align 4, !tbaa !5 %60 = tail call i64 @KEY_F(i32 noundef 9) #2 %61 = getelementptr inbounds i32, ptr %0, i64 %60 store i32 %59, ptr %61, align 4, !tbaa !5 %62 = load i32, ptr @actionKill, align 4, !tbaa !5 %63 = getelementptr inbounds i32, ptr %0, i64 107 store i32 %62, ptr %63, align 4, !tbaa !5 %64 = load i32, ptr @actionExpandOrCollapse, align 4, !tbaa !5 %65 = load i64, ptr @KEY_RECLICK, align 8, !tbaa !9 %66 = getelementptr inbounds i32, ptr %0, i64 %65 store i32 %64, ptr %66, align 4, !tbaa !5 %67 = getelementptr inbounds i32, ptr %0, i64 43 store i32 %64, ptr %67, align 4, !tbaa !5 %68 = getelementptr inbounds i32, ptr %0, i64 61 store i32 %64, ptr %68, align 4, !tbaa !5 %69 = getelementptr inbounds i32, ptr %0, i64 45 store i32 %64, ptr %69, align 4, !tbaa !5 %70 = load i32, ptr @actionCollapseIntoParent, align 4, !tbaa !5 %71 = getelementptr inbounds i32, ptr %0, i64 127 store i32 %70, ptr %71, align 4, !tbaa !5 %72 = load i32, ptr @actionFilterByUser, align 4, !tbaa !5 %73 = getelementptr inbounds i32, ptr %0, i64 117 store i32 %72, ptr %73, align 4, !tbaa !5 %74 = load i32, ptr @Action_follow, align 4, !tbaa !5 %75 = getelementptr inbounds i32, ptr %0, i64 70 store i32 %74, ptr %75, align 4, !tbaa !5 %76 = load i32, ptr @actionSetup, align 4, !tbaa !5 %77 = getelementptr inbounds i32, ptr %0, i64 83 store i32 %76, ptr %77, align 4, !tbaa !5 %78 = getelementptr inbounds i32, ptr %0, i64 67 store i32 %76, ptr %78, align 4, !tbaa !5 %79 = tail call i64 @KEY_F(i32 noundef 2) #2 %80 = getelementptr inbounds i32, ptr %0, i64 %79 store i32 %76, ptr %80, align 4, !tbaa !5 %81 = load i32, ptr @actionLsof, align 4, !tbaa !5 %82 = getelementptr inbounds i32, ptr %0, i64 108 store i32 %81, ptr %82, align 4, !tbaa !5 %83 = load i32, ptr @actionStrace, align 4, !tbaa !5 %84 = getelementptr inbounds i32, ptr %0, i64 115 store i32 %83, ptr %84, align 4, !tbaa !5 %85 = load i32, ptr @actionTag, align 4, !tbaa !5 %86 = getelementptr inbounds i32, ptr %0, i64 32 store i32 %85, ptr %86, align 4, !tbaa !5 %87 = load i32, ptr @actionRedraw, align 4, !tbaa !5 %88 = getelementptr inbounds i32, ptr %0, i64 12 store i32 %87, ptr %88, align 4, !tbaa !5 %89 = load i32, ptr @actionHelp, align 4, !tbaa !5 %90 = tail call i64 @KEY_F(i32 noundef 1) #2 %91 = getelementptr inbounds i32, ptr %0, i64 %90 store i32 %89, ptr %91, align 4, !tbaa !5 %92 = load i32, ptr @actionHelp, align 4, !tbaa !5 %93 = getelementptr inbounds i32, ptr %0, i64 104 store i32 %92, ptr %93, align 4, !tbaa !5 %94 = getelementptr inbounds i32, ptr %0, i64 63 store i32 %92, ptr %94, align 4, !tbaa !5 %95 = load i32, ptr @actionUntagAll, align 4, !tbaa !5 %96 = getelementptr inbounds i32, ptr %0, i64 85 store i32 %95, ptr %96, align 4, !tbaa !5 %97 = load i32, ptr @actionTagAllChildren, align 4, !tbaa !5 %98 = getelementptr inbounds i32, ptr %0, i64 99 store i32 %97, ptr %98, align 4, !tbaa !5 %99 = load i32, ptr @actionShowEnvScreen, align 4, !tbaa !5 %100 = getelementptr inbounds i32, ptr %0, i64 101 store i32 %99, ptr %100, align 4, !tbaa !5 ret void } declare i64 @KEY_F(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, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/htop/extr_Action.c_Action_setBindings.c' source_filename = "AnghaBench/htop/extr_Action.c_Action_setBindings.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @actionResize = common local_unnamed_addr global i32 0, align 4 @KEY_RESIZE = common local_unnamed_addr global i64 0, align 8 @actionSortByMemory = common local_unnamed_addr global i32 0, align 4 @actionSortByTime = common local_unnamed_addr global i32 0, align 4 @actionSortByCPU = common local_unnamed_addr global i32 0, align 4 @actionToggleUserlandThreads = common local_unnamed_addr global i32 0, align 4 @actionToggleKernelThreads = common local_unnamed_addr global i32 0, align 4 @actionToggleProgramPath = common local_unnamed_addr global i32 0, align 4 @actionToggleTreeView = common local_unnamed_addr global i32 0, align 4 @actionIncFilter = common local_unnamed_addr global i32 0, align 4 @actionIncSearch = common local_unnamed_addr global i32 0, align 4 @actionHigherPriority = common local_unnamed_addr global i32 0, align 4 @actionLowerPriority = common local_unnamed_addr global i32 0, align 4 @actionInvertSortOrder = common local_unnamed_addr global i32 0, align 4 @actionExpandCollapseOrSortColumn = common local_unnamed_addr global i32 0, align 4 @actionSetSortColumn = common local_unnamed_addr global i32 0, align 4 @actionQuit = common local_unnamed_addr global i32 0, align 4 @actionSetAffinity = common local_unnamed_addr global i32 0, align 4 @actionKill = common local_unnamed_addr global i32 0, align 4 @actionExpandOrCollapse = common local_unnamed_addr global i32 0, align 4 @KEY_RECLICK = common local_unnamed_addr global i64 0, align 8 @actionCollapseIntoParent = common local_unnamed_addr global i32 0, align 4 @actionFilterByUser = common local_unnamed_addr global i32 0, align 4 @Action_follow = common local_unnamed_addr global i32 0, align 4 @actionSetup = common local_unnamed_addr global i32 0, align 4 @actionLsof = common local_unnamed_addr global i32 0, align 4 @actionStrace = common local_unnamed_addr global i32 0, align 4 @actionTag = common local_unnamed_addr global i32 0, align 4 @actionRedraw = common local_unnamed_addr global i32 0, align 4 @actionHelp = common local_unnamed_addr global i32 0, align 4 @actionUntagAll = common local_unnamed_addr global i32 0, align 4 @actionTagAllChildren = common local_unnamed_addr global i32 0, align 4 @actionShowEnvScreen = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @Action_setBindings(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @actionResize, align 4, !tbaa !6 %3 = load i64, ptr @KEY_RESIZE, align 8, !tbaa !10 %4 = getelementptr inbounds i32, ptr %0, i64 %3 store i32 %2, ptr %4, align 4, !tbaa !6 %5 = load i32, ptr @actionSortByMemory, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 308 store i32 %5, ptr %6, align 4, !tbaa !6 %7 = load i32, ptr @actionSortByTime, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %0, i64 336 store i32 %7, ptr %8, align 4, !tbaa !6 %9 = load i32, ptr @actionSortByCPU, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %0, i64 320 store i32 %9, ptr %10, align 4, !tbaa !6 %11 = load i32, ptr @actionToggleUserlandThreads, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %0, i64 288 store i32 %11, ptr %12, align 4, !tbaa !6 %13 = load i32, ptr @actionToggleKernelThreads, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %0, i64 300 store i32 %13, ptr %14, align 4, !tbaa !6 %15 = load i32, ptr @actionToggleProgramPath, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %0, i64 448 store i32 %15, ptr %16, align 4, !tbaa !6 %17 = load i32, ptr @actionToggleTreeView, align 4, !tbaa !6 %18 = getelementptr inbounds i8, ptr %0, i64 464 store i32 %17, ptr %18, align 4, !tbaa !6 %19 = tail call i64 @KEY_F(i32 noundef 5) #2 %20 = getelementptr inbounds i32, ptr %0, i64 %19 store i32 %17, ptr %20, align 4, !tbaa !6 %21 = load i32, ptr @actionIncFilter, align 4, !tbaa !6 %22 = tail call i64 @KEY_F(i32 noundef 4) #2 %23 = getelementptr inbounds i32, ptr %0, i64 %22 store i32 %21, ptr %23, align 4, !tbaa !6 %24 = load i32, ptr @actionIncFilter, align 4, !tbaa !6 %25 = getelementptr inbounds i8, ptr %0, i64 368 store i32 %24, ptr %25, align 4, !tbaa !6 %26 = load i32, ptr @actionIncSearch, align 4, !tbaa !6 %27 = tail call i64 @KEY_F(i32 noundef 3) #2 %28 = getelementptr inbounds i32, ptr %0, i64 %27 store i32 %26, ptr %28, align 4, !tbaa !6 %29 = load i32, ptr @actionIncSearch, align 4, !tbaa !6 %30 = getelementptr inbounds i8, ptr %0, i64 188 store i32 %29, ptr %30, align 4, !tbaa !6 %31 = load i32, ptr @actionHigherPriority, align 4, !tbaa !6 %32 = getelementptr inbounds i8, ptr %0, i64 372 store i32 %31, ptr %32, align 4, !tbaa !6 %33 = tail call i64 @KEY_F(i32 noundef 7) #2 %34 = getelementptr inbounds i32, ptr %0, i64 %33 store i32 %31, ptr %34, align 4, !tbaa !6 %35 = load i32, ptr @actionLowerPriority, align 4, !tbaa !6 %36 = getelementptr inbounds i8, ptr %0, i64 364 store i32 %35, ptr %36, align 4, !tbaa !6 %37 = tail call i64 @KEY_F(i32 noundef 8) #2 %38 = getelementptr inbounds i32, ptr %0, i64 %37 store i32 %35, ptr %38, align 4, !tbaa !6 %39 = load i32, ptr @actionInvertSortOrder, align 4, !tbaa !6 %40 = getelementptr inbounds i8, ptr %0, i64 292 store i32 %39, ptr %40, align 4, !tbaa !6 %41 = load i32, ptr @actionExpandCollapseOrSortColumn, align 4, !tbaa !6 %42 = tail call i64 @KEY_F(i32 noundef 6) #2 %43 = getelementptr inbounds i32, ptr %0, i64 %42 store i32 %41, ptr %43, align 4, !tbaa !6 %44 = load i32, ptr @actionExpandCollapseOrSortColumn, align 4, !tbaa !6 %45 = tail call i64 @KEY_F(i32 noundef 18) #2 %46 = getelementptr inbounds i32, ptr %0, i64 %45 store i32 %44, ptr %46, align 4, !tbaa !6 %47 = load i32, ptr @actionSetSortColumn, align 4, !tbaa !6 %48 = getelementptr inbounds i8, ptr %0, i64 240 store i32 %47, ptr %48, align 4, !tbaa !6 %49 = getelementptr inbounds i8, ptr %0, i64 176 store i32 %47, ptr %49, align 4, !tbaa !6 %50 = getelementptr inbounds i8, ptr %0, i64 248 store i32 %47, ptr %50, align 4, !tbaa !6 %51 = getelementptr inbounds i8, ptr %0, i64 184 store i32 %47, ptr %51, align 4, !tbaa !6 %52 = load i32, ptr @actionQuit, align 4, !tbaa !6 %53 = tail call i64 @KEY_F(i32 noundef 10) #2 %54 = getelementptr inbounds i32, ptr %0, i64 %53 store i32 %52, ptr %54, align 4, !tbaa !6 %55 = load i32, ptr @actionQuit, align 4, !tbaa !6 %56 = getelementptr inbounds i8, ptr %0, i64 452 store i32 %55, ptr %56, align 4, !tbaa !6 %57 = load i32, ptr @actionSetAffinity, align 4, !tbaa !6 %58 = getelementptr inbounds i8, ptr %0, i64 388 store i32 %57, ptr %58, align 4, !tbaa !6 %59 = load i32, ptr @actionKill, align 4, !tbaa !6 %60 = tail call i64 @KEY_F(i32 noundef 9) #2 %61 = getelementptr inbounds i32, ptr %0, i64 %60 store i32 %59, ptr %61, align 4, !tbaa !6 %62 = load i32, ptr @actionKill, align 4, !tbaa !6 %63 = getelementptr inbounds i8, ptr %0, i64 428 store i32 %62, ptr %63, align 4, !tbaa !6 %64 = load i32, ptr @actionExpandOrCollapse, align 4, !tbaa !6 %65 = load i64, ptr @KEY_RECLICK, align 8, !tbaa !10 %66 = getelementptr inbounds i32, ptr %0, i64 %65 store i32 %64, ptr %66, align 4, !tbaa !6 %67 = getelementptr inbounds i8, ptr %0, i64 172 store i32 %64, ptr %67, align 4, !tbaa !6 %68 = getelementptr inbounds i8, ptr %0, i64 244 store i32 %64, ptr %68, align 4, !tbaa !6 %69 = getelementptr inbounds i8, ptr %0, i64 180 store i32 %64, ptr %69, align 4, !tbaa !6 %70 = load i32, ptr @actionCollapseIntoParent, align 4, !tbaa !6 %71 = getelementptr inbounds i8, ptr %0, i64 508 store i32 %70, ptr %71, align 4, !tbaa !6 %72 = load i32, ptr @actionFilterByUser, align 4, !tbaa !6 %73 = getelementptr inbounds i8, ptr %0, i64 468 store i32 %72, ptr %73, align 4, !tbaa !6 %74 = load i32, ptr @Action_follow, align 4, !tbaa !6 %75 = getelementptr inbounds i8, ptr %0, i64 280 store i32 %74, ptr %75, align 4, !tbaa !6 %76 = load i32, ptr @actionSetup, align 4, !tbaa !6 %77 = getelementptr inbounds i8, ptr %0, i64 332 store i32 %76, ptr %77, align 4, !tbaa !6 %78 = getelementptr inbounds i8, ptr %0, i64 268 store i32 %76, ptr %78, align 4, !tbaa !6 %79 = tail call i64 @KEY_F(i32 noundef 2) #2 %80 = getelementptr inbounds i32, ptr %0, i64 %79 store i32 %76, ptr %80, align 4, !tbaa !6 %81 = load i32, ptr @actionLsof, align 4, !tbaa !6 %82 = getelementptr inbounds i8, ptr %0, i64 432 store i32 %81, ptr %82, align 4, !tbaa !6 %83 = load i32, ptr @actionStrace, align 4, !tbaa !6 %84 = getelementptr inbounds i8, ptr %0, i64 460 store i32 %83, ptr %84, align 4, !tbaa !6 %85 = load i32, ptr @actionTag, align 4, !tbaa !6 %86 = getelementptr inbounds i8, ptr %0, i64 128 store i32 %85, ptr %86, align 4, !tbaa !6 %87 = load i32, ptr @actionRedraw, align 4, !tbaa !6 %88 = getelementptr inbounds i8, ptr %0, i64 48 store i32 %87, ptr %88, align 4, !tbaa !6 %89 = load i32, ptr @actionHelp, align 4, !tbaa !6 %90 = tail call i64 @KEY_F(i32 noundef 1) #2 %91 = getelementptr inbounds i32, ptr %0, i64 %90 store i32 %89, ptr %91, align 4, !tbaa !6 %92 = load i32, ptr @actionHelp, align 4, !tbaa !6 %93 = getelementptr inbounds i8, ptr %0, i64 416 store i32 %92, ptr %93, align 4, !tbaa !6 %94 = getelementptr inbounds i8, ptr %0, i64 252 store i32 %92, ptr %94, align 4, !tbaa !6 %95 = load i32, ptr @actionUntagAll, align 4, !tbaa !6 %96 = getelementptr inbounds i8, ptr %0, i64 340 store i32 %95, ptr %96, align 4, !tbaa !6 %97 = load i32, ptr @actionTagAllChildren, align 4, !tbaa !6 %98 = getelementptr inbounds i8, ptr %0, i64 396 store i32 %97, ptr %98, align 4, !tbaa !6 %99 = load i32, ptr @actionShowEnvScreen, align 4, !tbaa !6 %100 = getelementptr inbounds i8, ptr %0, i64 404 store i32 %99, ptr %100, align 4, !tbaa !6 ret void } declare i64 @KEY_F(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, !11, i64 0} !11 = !{!"long", !8, i64 0}
htop_extr_Action.c_Action_setBindings
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_aggsum.c_aggsum_init.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_aggsum.c_aggsum_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" %struct.TYPE_5__ = type { i32, ptr, i32, i32, i32 } %struct.TYPE_6__ = type { i32 } @MUTEX_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @boot_ncpus = dso_local local_unnamed_addr global i32 0, align 4 @KM_SLEEP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @aggsum_init(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @bzero(ptr noundef %0, i32 noundef 32) #2 %4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3 store i32 %1, ptr %4, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4 store i32 %1, ptr %5, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %7 = load i32, ptr @MUTEX_DEFAULT, align 4, !tbaa !12 %8 = tail call i32 @mutex_init(ptr noundef nonnull %6, ptr noundef null, i32 noundef %7, ptr noundef null) #2 %9 = load i32, ptr @boot_ncpus, align 4, !tbaa !12 store i32 %9, ptr %0, align 8, !tbaa !13 %10 = shl i32 %9, 2 %11 = load i32, ptr @KM_SLEEP, align 4, !tbaa !12 %12 = tail call ptr @kmem_zalloc(i32 noundef %10, i32 noundef %11) #2 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 store ptr %12, ptr %13, align 8, !tbaa !14 %14 = load i32, ptr %0, align 8, !tbaa !13 %15 = icmp sgt i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %17, %2 ret void 17: ; preds = %2, %17 %18 = phi i64 [ %23, %17 ], [ 0, %2 ] %19 = load ptr, ptr %13, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.TYPE_6__, ptr %19, i64 %18 %21 = load i32, ptr @MUTEX_DEFAULT, align 4, !tbaa !12 %22 = tail call i32 @mutex_init(ptr noundef %20, ptr noundef null, i32 noundef %21, ptr noundef null) #2 %23 = add nuw nsw i64 %18, 1 %24 = load i32, ptr %0, align 8, !tbaa !13 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %23, %25 br i1 %26, label %17, label %16, !llvm.loop !15 } declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kmem_zalloc(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, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24} !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 24} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !10, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_aggsum.c_aggsum_init.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_aggsum.c_aggsum_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i32 } @MUTEX_DEFAULT = common local_unnamed_addr global i32 0, align 4 @boot_ncpus = common local_unnamed_addr global i32 0, align 4 @KM_SLEEP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @aggsum_init(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @bzero(ptr noundef %0, i32 noundef 32) #2 %4 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %1, ptr %4, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %1, ptr %5, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load i32, ptr @MUTEX_DEFAULT, align 4, !tbaa !13 %8 = tail call i32 @mutex_init(ptr noundef nonnull %6, ptr noundef null, i32 noundef %7, ptr noundef null) #2 %9 = load i32, ptr @boot_ncpus, align 4, !tbaa !13 store i32 %9, ptr %0, align 8, !tbaa !14 %10 = shl i32 %9, 2 %11 = load i32, ptr @KM_SLEEP, align 4, !tbaa !13 %12 = tail call ptr @kmem_zalloc(i32 noundef %10, i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %12, ptr %13, align 8, !tbaa !15 %14 = load i32, ptr %0, align 8, !tbaa !14 %15 = icmp sgt i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %17, %2 ret void 17: ; preds = %2, %17 %18 = phi i64 [ %23, %17 ], [ 0, %2 ] %19 = load ptr, ptr %13, align 8, !tbaa !15 %20 = getelementptr inbounds %struct.TYPE_6__, ptr %19, i64 %18 %21 = load i32, ptr @MUTEX_DEFAULT, align 4, !tbaa !13 %22 = tail call i32 @mutex_init(ptr noundef %20, ptr noundef null, i32 noundef %21, ptr noundef null) #2 %23 = add nuw nsw i64 %18, 1 %24 = load i32, ptr %0, align 8, !tbaa !14 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %23, %25 br i1 %26, label %17, label %16, !llvm.loop !16 } declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kmem_zalloc(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, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24} !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 24} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !11, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_aggsum.c_aggsum_init
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_gu.c_guLightPerspective.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_gu.c_guLightPerspective.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 @guLightPerspective(ptr nocapture noundef readonly %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6) local_unnamed_addr #0 { %8 = fmul float %1, 5.000000e-01 %9 = tail call float @DegToRad(float noundef %8) #3 %10 = tail call float @tanf(float noundef %9) #3 %11 = fdiv float 1.000000e+00, %10 %12 = fdiv float %11, %2 %13 = fmul float %12, %3 %14 = load ptr, ptr %0, align 8, !tbaa !5 store float %13, ptr %14, align 4, !tbaa !9 %15 = getelementptr inbounds float, ptr %14, i64 1 store float 0.000000e+00, ptr %15, align 4, !tbaa !9 %16 = fneg float %5 %17 = getelementptr inbounds float, ptr %14, i64 2 store float %16, ptr %17, align 4, !tbaa !9 %18 = getelementptr inbounds float, ptr %14, i64 3 store float 0.000000e+00, ptr %18, align 4, !tbaa !9 %19 = getelementptr inbounds ptr, ptr %0, i64 1 %20 = load ptr, ptr %19, align 8, !tbaa !5 store float 0.000000e+00, ptr %20, align 4, !tbaa !9 %21 = fmul float %11, %4 %22 = getelementptr inbounds float, ptr %20, i64 1 store float %21, ptr %22, align 4, !tbaa !9 %23 = fneg float %6 %24 = getelementptr inbounds float, ptr %20, i64 2 store float %23, ptr %24, align 4, !tbaa !9 %25 = getelementptr inbounds float, ptr %20, i64 3 store float 0.000000e+00, ptr %25, align 4, !tbaa !9 %26 = getelementptr inbounds ptr, ptr %0, i64 2 %27 = load ptr, ptr %26, align 8, !tbaa !5 store <4 x float> <float 0.000000e+00, float 0.000000e+00, float -1.000000e+00, float 0.000000e+00>, ptr %27, align 4, !tbaa !9 ret void } declare float @DegToRad(float noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) declare float @tanf(float 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 = { "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 memory(write) "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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"float", !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_gu.c_guLightPerspective.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_gu.c_guLightPerspective.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 @guLightPerspective(ptr nocapture noundef readonly %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6) local_unnamed_addr #0 { %8 = fmul float %1, 5.000000e-01 %9 = tail call float @DegToRad(float noundef %8) #3 %10 = tail call float @llvm.tan.f32(float %9) %11 = fdiv float 1.000000e+00, %10 %12 = fdiv float %11, %2 %13 = fmul float %12, %3 %14 = load ptr, ptr %0, align 8, !tbaa !6 store float %13, ptr %14, align 4, !tbaa !10 %15 = getelementptr inbounds i8, ptr %14, i64 4 store float 0.000000e+00, ptr %15, align 4, !tbaa !10 %16 = fneg float %5 %17 = getelementptr inbounds i8, ptr %14, i64 8 store float %16, ptr %17, align 4, !tbaa !10 %18 = getelementptr inbounds i8, ptr %14, i64 12 store float 0.000000e+00, ptr %18, align 4, !tbaa !10 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !6 store float 0.000000e+00, ptr %20, align 4, !tbaa !10 %21 = fmul float %11, %4 %22 = getelementptr inbounds i8, ptr %20, i64 4 store float %21, ptr %22, align 4, !tbaa !10 %23 = fneg float %6 %24 = getelementptr inbounds i8, ptr %20, i64 8 store float %23, ptr %24, align 4, !tbaa !10 %25 = getelementptr inbounds i8, ptr %20, i64 12 store float 0.000000e+00, ptr %25, align 4, !tbaa !10 %26 = getelementptr inbounds i8, ptr %0, i64 16 %27 = load ptr, ptr %26, align 8, !tbaa !6 store <4 x float> <float 0.000000e+00, float 0.000000e+00, float -1.000000e+00, float 0.000000e+00>, ptr %27, align 4, !tbaa !10 ret void } declare float @DegToRad(float noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.tan.f32(float) #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 = { mustprogress 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"float", !8, i64 0}
RetroArch_wii_libogc_libogc_extr_gu.c_guLightPerspective
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_api.c_tcf_block_offload_in_use.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_api.c_tcf_block_offload_in_use.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 @tcf_block_offload_in_use], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tcf_block_offload_in_use(ptr noundef %0) #0 { %2 = tail call i32 @atomic_read(ptr noundef %0) #2 ret i32 %2 } declare i32 @atomic_read(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/net/sched/extr_cls_api.c_tcf_block_offload_in_use.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_api.c_tcf_block_offload_in_use.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 @tcf_block_offload_in_use], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tcf_block_offload_in_use(ptr noundef %0) #0 { %2 = tail call i32 @atomic_read(ptr noundef %0) #2 ret i32 %2 } declare i32 @atomic_read(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_net_sched_extr_cls_api.c_tcf_block_offload_in_use
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu.c_dmu_return_arcbuf.c' source_filename = "AnghaBench/zfs/module/zfs/extr_dmu.c_dmu_return_arcbuf.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" @FTAG = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @dmu_return_arcbuf(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @FTAG, align 4, !tbaa !5 %3 = tail call i32 @arc_return_buf(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @FTAG, align 4, !tbaa !5 %5 = tail call i32 @arc_buf_destroy(ptr noundef %0, i32 noundef %4) #2 ret void } declare i32 @arc_return_buf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @arc_buf_destroy(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu.c_dmu_return_arcbuf.c' source_filename = "AnghaBench/zfs/module/zfs/extr_dmu.c_dmu_return_arcbuf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FTAG = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @dmu_return_arcbuf(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @FTAG, align 4, !tbaa !6 %3 = tail call i32 @arc_return_buf(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @FTAG, align 4, !tbaa !6 %5 = tail call i32 @arc_buf_destroy(ptr noundef %0, i32 noundef %4) #2 ret void } declare i32 @arc_return_buf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @arc_buf_destroy(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
zfs_module_zfs_extr_dmu.c_dmu_return_arcbuf
; ModuleID = 'AnghaBench/esp-idf/components/spi_flash/extr_partition.c_esp_partition_erase_range.c' source_filename = "AnghaBench/esp-idf/components/spi_flash/extr_partition.c_esp_partition_erase_range.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, i64, i32 } @ESP_ERR_INVALID_ARG = dso_local local_unnamed_addr global i32 0, align 4 @ESP_ERR_INVALID_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @SPI_FLASH_SEC_SIZE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @esp_partition_erase_range(ptr noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp ne ptr %0, null %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = icmp ult i64 %7, %1 br i1 %8, label %9, label %11 9: ; preds = %3 %10 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !11 br label %34 11: ; preds = %3 %12 = add i64 %2, %1 %13 = icmp ugt i64 %12, %7 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = load i32, ptr @ESP_ERR_INVALID_SIZE, align 4, !tbaa !11 br label %34 16: ; preds = %11 %17 = load i64, ptr @SPI_FLASH_SEC_SIZE, align 8, !tbaa !12 %18 = urem i64 %2, %17 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = load i32, ptr @ESP_ERR_INVALID_SIZE, align 4, !tbaa !11 br label %34 22: ; preds = %16 %23 = urem i64 %1, %17 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %22 %26 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !11 br label %34 27: ; preds = %22 %28 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %29 = load i32, ptr %28, align 8, !tbaa !13 %30 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %31 = load i64, ptr %30, align 8, !tbaa !14 %32 = add i64 %31, %1 %33 = tail call i32 @esp_flash_erase_region(i32 noundef %29, i64 noundef %32, i64 noundef %2) #2 br label %34 34: ; preds = %27, %25, %20, %14, %9 %35 = phi i32 [ %10, %9 ], [ %15, %14 ], [ %21, %20 ], [ %26, %25 ], [ %33, %27 ] ret i32 %35 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @esp_flash_erase_region(i32 noundef, i64 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, !7, i64 8, !10, i64 16} !7 = !{!"long", !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 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 16} !14 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/esp-idf/components/spi_flash/extr_partition.c_esp_partition_erase_range.c' source_filename = "AnghaBench/esp-idf/components/spi_flash/extr_partition.c_esp_partition_erase_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ESP_ERR_INVALID_ARG = common local_unnamed_addr global i32 0, align 4 @ESP_ERR_INVALID_SIZE = common local_unnamed_addr global i32 0, align 4 @SPI_FLASH_SEC_SIZE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @esp_partition_erase_range(ptr noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp ne ptr %0, null %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = icmp ult i64 %7, %1 br i1 %8, label %9, label %11 9: ; preds = %3 %10 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !12 br label %34 11: ; preds = %3 %12 = add i64 %2, %1 %13 = icmp ugt i64 %12, %7 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = load i32, ptr @ESP_ERR_INVALID_SIZE, align 4, !tbaa !12 br label %34 16: ; preds = %11 %17 = load i64, ptr @SPI_FLASH_SEC_SIZE, align 8, !tbaa !13 %18 = urem i64 %2, %17 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = load i32, ptr @ESP_ERR_INVALID_SIZE, align 4, !tbaa !12 br label %34 22: ; preds = %16 %23 = urem i64 %1, %17 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %22 %26 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !12 br label %34 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %0, i64 16 %29 = load i32, ptr %28, align 8, !tbaa !14 %30 = getelementptr inbounds i8, ptr %0, i64 8 %31 = load i64, ptr %30, align 8, !tbaa !15 %32 = add i64 %31, %1 %33 = tail call i32 @esp_flash_erase_region(i32 noundef %29, i64 noundef %32, i64 noundef %2) #2 br label %34 34: ; preds = %27, %25, %20, %14, %9 %35 = phi i32 [ %10, %9 ], [ %15, %14 ], [ %21, %20 ], [ %26, %25 ], [ %33, %27 ] ret i32 %35 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @esp_flash_erase_region(i32 noundef, i64 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, !8, i64 8, !11, i64 16} !8 = !{!"long", !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 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 16} !15 = !{!7, !8, i64 8}
esp-idf_components_spi_flash_extr_partition.c_esp_partition_erase_range
; ModuleID = 'AnghaBench/Craft/deps/glfw/src/extr_posix_tls.c__glfwCreateContextTLS.c' source_filename = "AnghaBench/Craft/deps/glfw/src/extr_posix_tls.c__glfwCreateContextTLS.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 { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @_glfw = dso_local global %struct.TYPE_4__ zeroinitializer, align 4 @GLFW_PLATFORM_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"POSIX: Failed to create context TLS\00", align 1 @GL_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @GL_TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @_glfwCreateContextTLS() local_unnamed_addr #0 { %1 = tail call i64 @pthread_key_create(ptr noundef nonnull @_glfw, ptr noundef null) #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %6, label %3 3: ; preds = %0 %4 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !5 %5 = tail call i32 @_glfwInputError(i32 noundef %4, ptr noundef nonnull @.str) #2 br label %6 6: ; preds = %0, %3 %7 = phi ptr [ @GL_FALSE, %3 ], [ @GL_TRUE, %0 ] %8 = load i32, ptr %7, align 4, !tbaa !5 ret i32 %8 } declare i64 @pthread_key_create(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_glfwInputError(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Craft/deps/glfw/src/extr_posix_tls.c__glfwCreateContextTLS.c' source_filename = "AnghaBench/Craft/deps/glfw/src/extr_posix_tls.c__glfwCreateContextTLS.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 } @_glfw = common global %struct.TYPE_4__ zeroinitializer, align 4 @GLFW_PLATFORM_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"POSIX: Failed to create context TLS\00", align 1 @GL_FALSE = common local_unnamed_addr global i32 0, align 4 @GL_TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @_glfwCreateContextTLS() local_unnamed_addr #0 { %1 = tail call i64 @pthread_key_create(ptr noundef nonnull @_glfw, ptr noundef null) #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %6, label %3 3: ; preds = %0 %4 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !6 %5 = tail call i32 @_glfwInputError(i32 noundef %4, ptr noundef nonnull @.str) #2 br label %6 6: ; preds = %0, %3 %7 = phi ptr [ @GL_FALSE, %3 ], [ @GL_TRUE, %0 ] %8 = load i32, ptr %7, align 4, !tbaa !6 ret i32 %8 } declare i64 @pthread_key_create(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_glfwInputError(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
Craft_deps_glfw_src_extr_posix_tls.c__glfwCreateContextTLS
; ModuleID = 'AnghaBench/Cinder/src/oggvorbis/ogg/extr_bitwise.c_oggpack_adv1.c' source_filename = "AnghaBench/Cinder/src/oggvorbis/ogg/extr_bitwise.c_oggpack_adv1.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: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define dso_local void @oggpack_adv1(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = add nsw i32 %2, 1 store i32 %3, ptr %0, align 4, !tbaa !5 %4 = icmp sgt i32 %2, 6 br i1 %4, label %5, label %9 5: ; preds = %1 store i32 0, ptr %0, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %7 = load <2 x i32>, ptr %6, align 4, !tbaa !10 %8 = add nsw <2 x i32> %7, <i32 1, i32 1> store <2 x i32> %8, ptr %6, align 4, !tbaa !10 br label %9 9: ; preds = %5, %1 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, !7, i64 0} !6 = !{!"TYPE_3__", !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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/Cinder/src/oggvorbis/ogg/extr_bitwise.c_oggpack_adv1.c' source_filename = "AnghaBench/Cinder/src/oggvorbis/ogg/extr_bitwise.c_oggpack_adv1.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: readwrite) uwtable(sync) define void @oggpack_adv1(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = add nsw i32 %2, 1 store i32 %3, ptr %0, align 4, !tbaa !6 %4 = icmp sgt i32 %2, 6 br i1 %4, label %5, label %9 5: ; preds = %1 store i32 0, ptr %0, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load <2 x i32>, ptr %6, align 4, !tbaa !11 %8 = add nsw <2 x i32> %7, <i32 1, i32 1> store <2 x i32> %8, ptr %6, align 4, !tbaa !11 br label %9 9: ; preds = %5, %1 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, !8, i64 0} !7 = !{!"TYPE_3__", !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 = !{!8, !8, i64 0}
Cinder_src_oggvorbis_ogg_extr_bitwise.c_oggpack_adv1
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_pci.c_mlxsw_pci_cq_sw_cqe_get.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_pci.c_mlxsw_pci_cq_sw_cqe_get.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.mlxsw_pci_queue = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_pci_cq_sw_cqe_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @mlxsw_pci_cq_sw_cqe_get(ptr noundef %0) #0 { %2 = tail call ptr @mlxsw_pci_queue_elem_info_consumer_get(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.mlxsw_pci_queue, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = tail call i32 @mlxsw_pci_cqe_owner_get(i32 noundef %5, ptr noundef %3) #2 %7 = tail call i64 @mlxsw_pci_elem_hw_owned(ptr noundef %0, i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i32, ptr %0, align 4, !tbaa !15 %11 = add nsw i32 %10, 1 store i32 %11, ptr %0, align 4, !tbaa !15 %12 = tail call i32 (...) @rmb() #2 br label %13 13: ; preds = %1, %9 %14 = phi ptr [ %3, %9 ], [ null, %1 ] ret ptr %14 } declare ptr @mlxsw_pci_queue_elem_info_consumer_get(ptr noundef) local_unnamed_addr #1 declare i32 @mlxsw_pci_cqe_owner_get(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @mlxsw_pci_elem_hw_owned(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rmb(...) 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 = !{!"mlxsw_pci_queue_elem_info", !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 = !{!"mlxsw_pci_queue", !12, i64 0, !13, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !12, i64 0} !15 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_pci.c_mlxsw_pci_cq_sw_cqe_get.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_pci.c_mlxsw_pci_cq_sw_cqe_get.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 @mlxsw_pci_cq_sw_cqe_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @mlxsw_pci_cq_sw_cqe_get(ptr noundef %0) #0 { %2 = tail call ptr @mlxsw_pci_queue_elem_info_consumer_get(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = tail call i32 @mlxsw_pci_cqe_owner_get(i32 noundef %5, ptr noundef %3) #2 %7 = tail call i64 @mlxsw_pci_elem_hw_owned(ptr noundef %0, i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i32, ptr %0, align 4, !tbaa !16 %11 = add nsw i32 %10, 1 store i32 %11, ptr %0, align 4, !tbaa !16 %12 = tail call i32 @rmb() #2 br label %13 13: ; preds = %1, %9 %14 = phi ptr [ %3, %9 ], [ null, %1 ] ret ptr %14 } declare ptr @mlxsw_pci_queue_elem_info_consumer_get(ptr noundef) local_unnamed_addr #1 declare i32 @mlxsw_pci_cqe_owner_get(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @mlxsw_pci_elem_hw_owned(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rmb(...) 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 = !{!"mlxsw_pci_queue_elem_info", !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 = !{!"mlxsw_pci_queue", !13, i64 0, !14, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"TYPE_3__", !13, i64 0} !16 = !{!12, !13, i64 0}
linux_drivers_net_ethernet_mellanox_mlxsw_extr_pci.c_mlxsw_pci_cq_sw_cqe_get
; ModuleID = 'AnghaBench/linux/drivers/media/common/saa7146/extr_saa7146_fops.c_fops_mmap.c' source_filename = "AnghaBench/linux/drivers/media/common/saa7146/extr_saa7146_fops.c_fops_mmap.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.saa7146_fh = type { %struct.videobuf_queue, ptr, %struct.videobuf_queue } %struct.videobuf_queue = type { i32 } %struct.video_device = type { i32, i32 } @.str = private unnamed_addr constant [46 x i8] c"V4L2_BUF_TYPE_VIDEO_CAPTURE: file:%p, vma:%p\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"V4L2_BUF_TYPE_VBI_CAPTURE: file:%p, vma:%p\0A\00", align 1 @V4L2_CAP_SLICED_VBI_OUTPUT = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @ERESTARTSYS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fops_mmap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fops_mmap(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @video_devdata(ptr noundef %0) #2 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load i32, ptr %3, align 4, !tbaa !10 switch i32 %5, label %21 [ i32 129, label %6 i32 128, label %9 ] 6: ; preds = %2 %7 = tail call i32 @DEB_EE(ptr noundef nonnull @.str, ptr noundef nonnull %0, ptr noundef %1) #2 %8 = getelementptr inbounds %struct.saa7146_fh, ptr %4, i64 0, i32 2 br label %23 9: ; preds = %2 %10 = tail call i32 @DEB_EE(ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef %1) #2 %11 = getelementptr inbounds %struct.saa7146_fh, ptr %4, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = load ptr, ptr %12, align 8, !tbaa !16 %14 = load i32, ptr %13, align 4, !tbaa !18 %15 = load i32, ptr @V4L2_CAP_SLICED_VBI_OUTPUT, align 4, !tbaa !20 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %23, label %18 18: ; preds = %9 %19 = load i32, ptr @ENODEV, align 4, !tbaa !20 %20 = sub nsw i32 0, %19 br label %36 21: ; preds = %2 %22 = tail call i32 (...) @BUG() #2 br label %23 23: ; preds = %9, %21, %6 %24 = phi ptr [ undef, %21 ], [ %8, %6 ], [ %4, %9 ] %25 = getelementptr inbounds %struct.video_device, ptr %3, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !21 %27 = tail call i64 @mutex_lock_interruptible(i32 noundef %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %32, label %29 29: ; preds = %23 %30 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !20 %31 = sub nsw i32 0, %30 br label %36 32: ; preds = %23 %33 = tail call i32 @videobuf_mmap_mapper(ptr noundef %24, ptr noundef %1) #2 %34 = load i32, ptr %25, align 4, !tbaa !21 %35 = tail call i32 @mutex_unlock(i32 noundef %34) #2 br label %36 36: ; preds = %32, %29, %18 %37 = phi i32 [ %31, %29 ], [ %33, %32 ], [ %20, %18 ] ret i32 %37 } declare ptr @video_devdata(ptr noundef) local_unnamed_addr #1 declare i32 @DEB_EE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 declare i64 @mutex_lock_interruptible(i32 noundef) local_unnamed_addr #1 declare i32 @videobuf_mmap_mapper(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_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 = !{!"file", !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 = !{!"video_device", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 8} !14 = !{!"saa7146_fh", !15, i64 0, !7, i64 8, !15, i64 16} !15 = !{!"videobuf_queue", !12, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_4__", !7, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"TYPE_3__", !12, i64 0} !20 = !{!12, !12, i64 0} !21 = !{!11, !12, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/media/common/saa7146/extr_saa7146_fops.c_fops_mmap.c' source_filename = "AnghaBench/linux/drivers/media/common/saa7146/extr_saa7146_fops.c_fops_mmap.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 [46 x i8] c"V4L2_BUF_TYPE_VIDEO_CAPTURE: file:%p, vma:%p\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"V4L2_BUF_TYPE_VBI_CAPTURE: file:%p, vma:%p\0A\00", align 1 @V4L2_CAP_SLICED_VBI_OUTPUT = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @ERESTARTSYS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fops_mmap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fops_mmap(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @video_devdata(ptr noundef %0) #2 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i32, ptr %3, align 4, !tbaa !11 switch i32 %5, label %21 [ i32 129, label %6 i32 128, label %9 ] 6: ; preds = %2 %7 = tail call i32 @DEB_EE(ptr noundef nonnull @.str, ptr noundef nonnull %0, ptr noundef %1) #2 %8 = getelementptr inbounds i8, ptr %4, i64 16 br label %23 9: ; preds = %2 %10 = tail call i32 @DEB_EE(ptr noundef nonnull @.str.1, ptr noundef nonnull %0, ptr noundef %1) #2 %11 = getelementptr inbounds i8, ptr %4, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !14 %13 = load ptr, ptr %12, align 8, !tbaa !17 %14 = load i32, ptr %13, align 4, !tbaa !19 %15 = load i32, ptr @V4L2_CAP_SLICED_VBI_OUTPUT, align 4, !tbaa !21 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %23, label %18 18: ; preds = %9 %19 = load i32, ptr @ENODEV, align 4, !tbaa !21 %20 = sub nsw i32 0, %19 br label %36 21: ; preds = %2 %22 = tail call i32 @BUG() #2 br label %23 23: ; preds = %9, %21, %6 %24 = phi ptr [ undef, %21 ], [ %8, %6 ], [ %4, %9 ] %25 = getelementptr inbounds i8, ptr %3, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !22 %27 = tail call i64 @mutex_lock_interruptible(i32 noundef %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %32, label %29 29: ; preds = %23 %30 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !21 %31 = sub nsw i32 0, %30 br label %36 32: ; preds = %23 %33 = tail call i32 @videobuf_mmap_mapper(ptr noundef %24, ptr noundef %1) #2 %34 = load i32, ptr %25, align 4, !tbaa !22 %35 = tail call i32 @mutex_unlock(i32 noundef %34) #2 br label %36 36: ; preds = %32, %29, %18 %37 = phi i32 [ %31, %29 ], [ %33, %32 ], [ %20, %18 ] ret i32 %37 } declare ptr @video_devdata(ptr noundef) local_unnamed_addr #1 declare i32 @DEB_EE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 declare i64 @mutex_lock_interruptible(i32 noundef) local_unnamed_addr #1 declare i32 @videobuf_mmap_mapper(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_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 = !{!"file", !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 = !{!"video_device", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 8} !15 = !{!"saa7146_fh", !16, i64 0, !8, i64 8, !16, i64 16} !16 = !{!"videobuf_queue", !13, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_4__", !8, i64 0} !19 = !{!20, !13, i64 0} !20 = !{!"TYPE_3__", !13, i64 0} !21 = !{!13, !13, i64 0} !22 = !{!12, !13, i64 4}
linux_drivers_media_common_saa7146_extr_saa7146_fops.c_fops_mmap
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba7220.c_qib_7220intr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba7220.c_qib_7220intr.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 } %struct.qib_devdata = type { i32, i64, i32, i32, ptr } @QIB_PRESENT = dso_local local_unnamed_addr global i32 0, align 4 @QIB_BADINTR = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @kr_intstatus = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4 @qib_stats = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @QLOGIC_IB_I_BITSEXTANT = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_GPIO = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @kr_intclear = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_RCVAVAIL_MASK = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_RCVAVAIL_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_RCVURG_MASK = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_RCVURG_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_SDMAINT = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_SPIOBUFAVAIL = dso_local local_unnamed_addr global i32 0, align 4 @QIB_INITTED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qib_7220intr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qib_7220intr(i32 %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = load i32, ptr @QIB_PRESENT, align 4, !tbaa !12 %5 = load i32, ptr @QIB_BADINTR, align 4, !tbaa !12 %6 = or i32 %5, %4 %7 = and i32 %6, %3 %8 = icmp eq i32 %7, %4 br i1 %8, label %9, label %118 9: ; preds = %2 %10 = load i32, ptr @kr_intstatus, align 4, !tbaa !12 %11 = tail call i32 @qib_read_kreg64(ptr noundef nonnull %1, i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 %13 = zext i1 %12 to i32 %14 = tail call i64 @unlikely(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %118 16: ; preds = %9 %17 = icmp eq i32 %11, -1 %18 = zext i1 %17 to i32 %19 = tail call i64 @unlikely(i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %16 %22 = tail call i32 @qib_bad_intrstatus(ptr noundef nonnull %1) #2 br label %118 23: ; preds = %16 %24 = load i32, ptr @qib_stats, align 4, !tbaa !13 %25 = add nsw i32 %24, 1 store i32 %25, ptr @qib_stats, align 4, !tbaa !13 %26 = getelementptr inbounds %struct.qib_devdata, ptr %1, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !15 %28 = icmp eq i64 %27, -1 br i1 %28, label %31, label %29 29: ; preds = %23 %30 = add nuw nsw i64 %27, 1 store i64 %30, ptr %26, align 8, !tbaa !15 br label %31 31: ; preds = %29, %23 %32 = load i32, ptr @QLOGIC_IB_I_BITSEXTANT, align 4, !tbaa !12 %33 = xor i32 %32, -1 %34 = load i32, ptr @QLOGIC_IB_I_GPIO, align 4, !tbaa !12 %35 = or i32 %34, %33 %36 = load i32, ptr @QLOGIC_IB_I_ERROR, align 4, !tbaa !12 %37 = or i32 %35, %36 %38 = and i32 %37, %11 %39 = tail call i64 @unlikely(i32 noundef %38) #2 %40 = icmp eq i64 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %31 %42 = tail call i32 @unlikely_7220_intr(ptr noundef nonnull %1, i32 noundef %11) #2 br label %43 43: ; preds = %41, %31 %44 = load i32, ptr @kr_intclear, align 4, !tbaa !12 %45 = tail call i32 @qib_write_kreg(ptr noundef nonnull %1, i32 noundef %44, i32 noundef %11) #2 %46 = load i32, ptr @QLOGIC_IB_I_RCVAVAIL_MASK, align 4, !tbaa !12 %47 = load i32, ptr @QLOGIC_IB_I_RCVAVAIL_SHIFT, align 4, !tbaa !12 %48 = shl i32 %46, %47 %49 = load i32, ptr @QLOGIC_IB_I_RCVURG_MASK, align 4, !tbaa !12 %50 = load i32, ptr @QLOGIC_IB_I_RCVURG_SHIFT, align 4, !tbaa !12 %51 = shl i32 %49, %50 %52 = or i32 %51, %48 %53 = and i32 %52, %11 %54 = icmp eq i32 %53, 0 br i1 %54, label %99, label %55 55: ; preds = %43 %56 = getelementptr inbounds %struct.qib_devdata, ptr %1, i64 0, i32 2 %57 = load i32, ptr %56, align 8, !tbaa !16 %58 = icmp eq i32 %57, 0 br i1 %58, label %91, label %59 59: ; preds = %55 %60 = zext nneg i32 %50 to i64 %61 = shl nuw i64 1, %60 %62 = zext nneg i32 %47 to i64 %63 = shl nuw i64 1, %62 %64 = or i64 %61, %63 %65 = trunc i64 %64 to i32 %66 = getelementptr inbounds %struct.qib_devdata, ptr %1, i64 0, i32 4 br label %67 67: ; preds = %59, %82 %68 = phi i32 [ %57, %59 ], [ %83, %82 ] %69 = phi i64 [ 0, %59 ], [ %86, %82 ] %70 = phi i32 [ %65, %59 ], [ %85, %82 ] %71 = phi i32 [ %53, %59 ], [ %84, %82 ] %72 = and i32 %70, %71 %73 = icmp eq i32 %72, 0 br i1 %73, label %82, label %74 74: ; preds = %67 %75 = xor i32 %70, -1 %76 = and i32 %71, %75 %77 = load ptr, ptr %66, align 8, !tbaa !17 %78 = getelementptr inbounds i32, ptr %77, i64 %69 %79 = load i32, ptr %78, align 4, !tbaa !12 %80 = tail call i32 @qib_kreceive(i32 noundef %79, ptr noundef null, ptr noundef null) #2 %81 = load i32, ptr %56, align 8, !tbaa !16 br label %82 82: ; preds = %74, %67 %83 = phi i32 [ %81, %74 ], [ %68, %67 ] %84 = phi i32 [ %76, %74 ], [ %71, %67 ] %85 = shl i32 %70, 1 %86 = add nuw nsw i64 %69, 1 %87 = zext i32 %83 to i64 %88 = icmp ult i64 %86, %87 br i1 %88, label %67, label %89, !llvm.loop !18 89: ; preds = %82 %90 = icmp eq i32 %84, 0 br i1 %90, label %99, label %91 91: ; preds = %55, %89 %92 = phi i32 [ %84, %89 ], [ %53, %55 ] %93 = load i32, ptr @QLOGIC_IB_I_RCVAVAIL_SHIFT, align 4, !tbaa !12 %94 = ashr i32 %92, %93 %95 = load i32, ptr @QLOGIC_IB_I_RCVURG_SHIFT, align 4, !tbaa !12 %96 = ashr i32 %92, %95 %97 = or i32 %96, %94 %98 = tail call i32 @qib_handle_urcv(ptr noundef nonnull %1, i32 noundef %97) #2 br label %99 99: ; preds = %89, %91, %43 %100 = load i32, ptr @QLOGIC_IB_I_SDMAINT, align 4, !tbaa !12 %101 = and i32 %100, %11 %102 = icmp eq i32 %101, 0 br i1 %102, label %107, label %103 103: ; preds = %99 %104 = getelementptr inbounds %struct.qib_devdata, ptr %1, i64 0, i32 3 %105 = load i32, ptr %104, align 4, !tbaa !20 %106 = tail call i32 @sdma_7220_intr(i32 noundef %105, i32 noundef %11) #2 br label %107 107: ; preds = %103, %99 %108 = load i32, ptr @QLOGIC_IB_I_SPIOBUFAVAIL, align 4, !tbaa !12 %109 = and i32 %108, %11 %110 = icmp eq i32 %109, 0 br i1 %110, label %118, label %111 111: ; preds = %107 %112 = load i32, ptr %1, align 8, !tbaa !5 %113 = load i32, ptr @QIB_INITTED, align 4, !tbaa !12 %114 = and i32 %113, %112 %115 = icmp eq i32 %114, 0 br i1 %115, label %118, label %116 116: ; preds = %111 %117 = tail call i32 @qib_ib_piobufavail(ptr noundef nonnull %1) #2 br label %118 118: ; preds = %107, %111, %116, %9, %2, %21 %119 = phi ptr [ @IRQ_NONE, %21 ], [ @IRQ_HANDLED, %2 ], [ @IRQ_NONE, %9 ], [ @IRQ_HANDLED, %116 ], [ @IRQ_HANDLED, %111 ], [ @IRQ_HANDLED, %107 ] %120 = load i32, ptr %119, align 4, !tbaa !12 ret i32 %120 } declare i32 @qib_read_kreg64(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @qib_bad_intrstatus(ptr noundef) local_unnamed_addr #1 declare i32 @unlikely_7220_intr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qib_write_kreg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qib_kreceive(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qib_handle_urcv(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sdma_7220_intr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qib_ib_piobufavail(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 = !{!"qib_devdata", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_2__", !7, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!6, !7, i64 16} !17 = !{!6, !11, i64 24} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!6, !7, i64 20}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba7220.c_qib_7220intr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba7220.c_qib_7220intr.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 } @QIB_PRESENT = common local_unnamed_addr global i32 0, align 4 @QIB_BADINTR = common local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @kr_intstatus = common local_unnamed_addr global i32 0, align 4 @IRQ_NONE = common local_unnamed_addr global i32 0, align 4 @qib_stats = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @QLOGIC_IB_I_BITSEXTANT = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_GPIO = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_ERROR = common local_unnamed_addr global i32 0, align 4 @kr_intclear = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_RCVAVAIL_MASK = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_RCVAVAIL_SHIFT = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_RCVURG_MASK = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_RCVURG_SHIFT = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_SDMAINT = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_I_SPIOBUFAVAIL = common local_unnamed_addr global i32 0, align 4 @QIB_INITTED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qib_7220intr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @qib_7220intr(i32 %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = load i32, ptr @QIB_PRESENT, align 4, !tbaa !13 %5 = load i32, ptr @QIB_BADINTR, align 4, !tbaa !13 %6 = or i32 %5, %4 %7 = and i32 %6, %3 %8 = icmp eq i32 %7, %4 br i1 %8, label %9, label %118 9: ; preds = %2 %10 = load i32, ptr @kr_intstatus, align 4, !tbaa !13 %11 = tail call i32 @qib_read_kreg64(ptr noundef nonnull %1, i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 %13 = zext i1 %12 to i32 %14 = tail call i64 @unlikely(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %118 16: ; preds = %9 %17 = icmp eq i32 %11, -1 %18 = zext i1 %17 to i32 %19 = tail call i64 @unlikely(i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %16 %22 = tail call i32 @qib_bad_intrstatus(ptr noundef nonnull %1) #2 br label %118 23: ; preds = %16 %24 = load i32, ptr @qib_stats, align 4, !tbaa !14 %25 = add nsw i32 %24, 1 store i32 %25, ptr @qib_stats, align 4, !tbaa !14 %26 = getelementptr inbounds i8, ptr %1, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !16 %28 = icmp eq i64 %27, -1 br i1 %28, label %31, label %29 29: ; preds = %23 %30 = add nuw nsw i64 %27, 1 store i64 %30, ptr %26, align 8, !tbaa !16 br label %31 31: ; preds = %29, %23 %32 = load i32, ptr @QLOGIC_IB_I_BITSEXTANT, align 4, !tbaa !13 %33 = xor i32 %32, -1 %34 = load i32, ptr @QLOGIC_IB_I_GPIO, align 4, !tbaa !13 %35 = or i32 %34, %33 %36 = load i32, ptr @QLOGIC_IB_I_ERROR, align 4, !tbaa !13 %37 = or i32 %35, %36 %38 = and i32 %37, %11 %39 = tail call i64 @unlikely(i32 noundef %38) #2 %40 = icmp eq i64 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %31 %42 = tail call i32 @unlikely_7220_intr(ptr noundef nonnull %1, i32 noundef %11) #2 br label %43 43: ; preds = %41, %31 %44 = load i32, ptr @kr_intclear, align 4, !tbaa !13 %45 = tail call i32 @qib_write_kreg(ptr noundef nonnull %1, i32 noundef %44, i32 noundef %11) #2 %46 = load i32, ptr @QLOGIC_IB_I_RCVAVAIL_MASK, align 4, !tbaa !13 %47 = load i32, ptr @QLOGIC_IB_I_RCVAVAIL_SHIFT, align 4, !tbaa !13 %48 = shl i32 %46, %47 %49 = load i32, ptr @QLOGIC_IB_I_RCVURG_MASK, align 4, !tbaa !13 %50 = load i32, ptr @QLOGIC_IB_I_RCVURG_SHIFT, align 4, !tbaa !13 %51 = shl i32 %49, %50 %52 = or i32 %51, %48 %53 = and i32 %52, %11 %54 = icmp eq i32 %53, 0 br i1 %54, label %99, label %55 55: ; preds = %43 %56 = getelementptr inbounds i8, ptr %1, i64 16 %57 = load i32, ptr %56, align 8, !tbaa !17 %58 = icmp eq i32 %57, 0 br i1 %58, label %91, label %59 59: ; preds = %55 %60 = zext nneg i32 %50 to i64 %61 = shl nuw i64 1, %60 %62 = zext nneg i32 %47 to i64 %63 = shl nuw i64 1, %62 %64 = or i64 %61, %63 %65 = trunc i64 %64 to i32 %66 = getelementptr inbounds i8, ptr %1, i64 24 br label %67 67: ; preds = %59, %82 %68 = phi i32 [ %57, %59 ], [ %83, %82 ] %69 = phi i64 [ 0, %59 ], [ %86, %82 ] %70 = phi i32 [ %65, %59 ], [ %85, %82 ] %71 = phi i32 [ %53, %59 ], [ %84, %82 ] %72 = and i32 %70, %71 %73 = icmp eq i32 %72, 0 br i1 %73, label %82, label %74 74: ; preds = %67 %75 = xor i32 %70, -1 %76 = and i32 %71, %75 %77 = load ptr, ptr %66, align 8, !tbaa !18 %78 = getelementptr inbounds i32, ptr %77, i64 %69 %79 = load i32, ptr %78, align 4, !tbaa !13 %80 = tail call i32 @qib_kreceive(i32 noundef %79, ptr noundef null, ptr noundef null) #2 %81 = load i32, ptr %56, align 8, !tbaa !17 br label %82 82: ; preds = %74, %67 %83 = phi i32 [ %81, %74 ], [ %68, %67 ] %84 = phi i32 [ %76, %74 ], [ %71, %67 ] %85 = shl i32 %70, 1 %86 = add nuw nsw i64 %69, 1 %87 = zext i32 %83 to i64 %88 = icmp ult i64 %86, %87 br i1 %88, label %67, label %89, !llvm.loop !19 89: ; preds = %82 %90 = icmp eq i32 %84, 0 br i1 %90, label %99, label %91 91: ; preds = %55, %89 %92 = phi i32 [ %84, %89 ], [ %53, %55 ] %93 = load i32, ptr @QLOGIC_IB_I_RCVAVAIL_SHIFT, align 4, !tbaa !13 %94 = ashr i32 %92, %93 %95 = load i32, ptr @QLOGIC_IB_I_RCVURG_SHIFT, align 4, !tbaa !13 %96 = ashr i32 %92, %95 %97 = or i32 %96, %94 %98 = tail call i32 @qib_handle_urcv(ptr noundef nonnull %1, i32 noundef %97) #2 br label %99 99: ; preds = %89, %91, %43 %100 = load i32, ptr @QLOGIC_IB_I_SDMAINT, align 4, !tbaa !13 %101 = and i32 %100, %11 %102 = icmp eq i32 %101, 0 br i1 %102, label %107, label %103 103: ; preds = %99 %104 = getelementptr inbounds i8, ptr %1, i64 20 %105 = load i32, ptr %104, align 4, !tbaa !21 %106 = tail call i32 @sdma_7220_intr(i32 noundef %105, i32 noundef %11) #2 br label %107 107: ; preds = %103, %99 %108 = load i32, ptr @QLOGIC_IB_I_SPIOBUFAVAIL, align 4, !tbaa !13 %109 = and i32 %108, %11 %110 = icmp eq i32 %109, 0 br i1 %110, label %118, label %111 111: ; preds = %107 %112 = load i32, ptr %1, align 8, !tbaa !6 %113 = load i32, ptr @QIB_INITTED, align 4, !tbaa !13 %114 = and i32 %113, %112 %115 = icmp eq i32 %114, 0 br i1 %115, label %118, label %116 116: ; preds = %111 %117 = tail call i32 @qib_ib_piobufavail(ptr noundef nonnull %1) #2 br label %118 118: ; preds = %107, %111, %116, %9, %2, %21 %119 = phi ptr [ @IRQ_NONE, %21 ], [ @IRQ_HANDLED, %2 ], [ @IRQ_NONE, %9 ], [ @IRQ_HANDLED, %116 ], [ @IRQ_HANDLED, %111 ], [ @IRQ_HANDLED, %107 ] %120 = load i32, ptr %119, align 4, !tbaa !13 ret i32 %120 } declare i32 @qib_read_kreg64(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @qib_bad_intrstatus(ptr noundef) local_unnamed_addr #1 declare i32 @unlikely_7220_intr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qib_write_kreg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qib_kreceive(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qib_handle_urcv(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sdma_7220_intr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qib_ib_piobufavail(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 = !{!"qib_devdata", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_2__", !8, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!7, !8, i64 16} !18 = !{!7, !12, i64 24} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!7, !8, i64 20}
fastsocket_kernel_drivers_infiniband_hw_qib_extr_qib_iba7220.c_qib_7220intr
; ModuleID = 'AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_wait_on_atomic_t.c' source_filename = "AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_wait_on_atomic_t.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" @current = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [8 x i8] c"watomic\00", align 1 @TASK_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @linux_wait_on_atomic_t(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @current, align 8, !tbaa !5 br label %4 4: ; preds = %10, %2 %5 = tail call i32 @sleepq_lock(ptr noundef %0) #2 %6 = tail call i64 @atomic_read(ptr noundef %0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 @sleepq_release(ptr noundef %0) #2 br label %14 10: ; preds = %4 %11 = tail call i32 @set_task_state(ptr noundef %3, i32 noundef %1) #2 %12 = tail call i32 @linux_add_to_sleepqueue(ptr noundef %0, ptr noundef %3, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef %1) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %4, label %14 14: ; preds = %10, %8 %15 = phi i32 [ 0, %8 ], [ %12, %10 ] %16 = load i32, ptr @TASK_RUNNING, align 4, !tbaa !9 %17 = tail call i32 @set_task_state(ptr noundef %3, i32 noundef %16) #2 ret i32 %15 } declare i32 @sleepq_lock(ptr noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @sleepq_release(ptr noundef) local_unnamed_addr #1 declare i32 @set_task_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @linux_add_to_sleepqueue(ptr noundef, 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 = !{!"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/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_wait_on_atomic_t.c' source_filename = "AnghaBench/freebsd/sys/compat/linuxkpi/common/src/extr_linux_schedule.c_linux_wait_on_atomic_t.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @current = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [8 x i8] c"watomic\00", align 1 @TASK_RUNNING = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @linux_wait_on_atomic_t(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @current, align 8, !tbaa !6 br label %4 4: ; preds = %10, %2 %5 = tail call i32 @sleepq_lock(ptr noundef %0) #2 %6 = tail call i64 @atomic_read(ptr noundef %0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 @sleepq_release(ptr noundef %0) #2 br label %14 10: ; preds = %4 %11 = tail call i32 @set_task_state(ptr noundef %3, i32 noundef %1) #2 %12 = tail call i32 @linux_add_to_sleepqueue(ptr noundef %0, ptr noundef %3, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef %1) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %4, label %14 14: ; preds = %10, %8 %15 = phi i32 [ 0, %8 ], [ %12, %10 ] %16 = load i32, ptr @TASK_RUNNING, align 4, !tbaa !10 %17 = tail call i32 @set_task_state(ptr noundef %3, i32 noundef %16) #2 ret i32 %15 } declare i32 @sleepq_lock(ptr noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @sleepq_release(ptr noundef) local_unnamed_addr #1 declare i32 @set_task_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @linux_add_to_sleepqueue(ptr noundef, 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 = !{!"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}
freebsd_sys_compat_linuxkpi_common_src_extr_linux_schedule.c_linux_wait_on_atomic_t
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_hw.c_atl1c_power_saving.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_hw.c_atl1c_power_saving.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.atl1c_hw = type { i32, i64, i64, ptr } %struct.atl1c_adapter = type { i64, i64, ptr } @SPEED_1000 = dso_local local_unnamed_addr global i64 0, align 8 @MAC_CTRL_SPEED_1000 = dso_local local_unnamed_addr global i32 0, align 4 @MAC_CTRL_SPEED_10_100 = dso_local local_unnamed_addr global i32 0, align 4 @REG_MASTER_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @REG_MAC_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @REG_GPHY_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @MASTER_CTRL_CLK_SEL_DIS = dso_local local_unnamed_addr global i32 0, align 4 @MAC_CTRL_SPEED = dso_local local_unnamed_addr global i32 0, align 4 @MAC_CTRL_DUPLX = dso_local local_unnamed_addr global i32 0, align 4 @MAC_CTRL_RX_EN = dso_local local_unnamed_addr global i32 0, align 4 @MAC_CTRL_TX_EN = dso_local local_unnamed_addr global i32 0, align 4 @FULL_DUPLEX = dso_local local_unnamed_addr global i64 0, align 8 @GPHY_CTRL_EXT_RESET = dso_local local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_CLS = dso_local local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_SEL_ANA_RST = dso_local local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_HIB_PULSE = dso_local local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_HIB_EN = dso_local local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_PHY_IDDQ = dso_local local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_PWDOWN_HW = dso_local local_unnamed_addr global i32 0, align 4 @REG_WOL_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @AT_WUFC_MAG = dso_local local_unnamed_addr global i32 0, align 4 @MAC_CTRL_BC_EN = dso_local local_unnamed_addr global i32 0, align 4 @WOL_MAGIC_EN = dso_local local_unnamed_addr global i32 0, align 4 @WOL_MAGIC_PME_EN = dso_local local_unnamed_addr global i32 0, align 4 @athr_l2c_b = dso_local local_unnamed_addr global i64 0, align 8 @L2CB_V11 = dso_local local_unnamed_addr global i64 0, align 8 @WOL_PATTERN_EN = dso_local local_unnamed_addr global i32 0, align 4 @WOL_PATTERN_PME_EN = dso_local local_unnamed_addr global i32 0, align 4 @AT_WUFC_LNKC = dso_local local_unnamed_addr global i32 0, align 4 @WOL_LINK_CHG_EN = dso_local local_unnamed_addr global i32 0, align 4 @WOL_LINK_CHG_PME_EN = dso_local local_unnamed_addr global i32 0, align 4 @MII_IER = dso_local local_unnamed_addr global i32 0, align 4 @IER_LINK_UP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"%s: write phy MII_IER failed.\0A\00", align 1 @atl1c_driver_name = dso_local local_unnamed_addr global i32 0, align 4 @MII_ISR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"%s: suspend MAC=%x,MASTER=%x,PHY=0x%x,WOL=%x\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @atl1c_power_saving(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = getelementptr inbounds %struct.atl1c_hw, ptr %0, i64 0, i32 3 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.atl1c_adapter, ptr %8, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %11 = load i64, ptr %8, align 8, !tbaa !14 %12 = load i64, ptr @SPEED_1000, align 8, !tbaa !15 %13 = icmp eq i64 %11, %12 %14 = load i32, ptr @MAC_CTRL_SPEED_1000, align 4 %15 = load i32, ptr @MAC_CTRL_SPEED_10_100, align 4 %16 = select i1 %13, i32 %14, i32 %15 %17 = load i32, ptr @REG_MASTER_CTRL, align 4, !tbaa !16 %18 = call i32 @AT_READ_REG(ptr noundef %0, i32 noundef %17, ptr noundef nonnull %3) #3 %19 = load i32, ptr @REG_MAC_CTRL, align 4, !tbaa !16 %20 = call i32 @AT_READ_REG(ptr noundef %0, i32 noundef %19, ptr noundef nonnull %4) #3 %21 = load i32, ptr @REG_GPHY_CTRL, align 4, !tbaa !16 %22 = call i32 @AT_READ_REG(ptr noundef %0, i32 noundef %21, ptr noundef nonnull %5) #3 %23 = load i32, ptr @MASTER_CTRL_CLK_SEL_DIS, align 4, !tbaa !16 %24 = xor i32 %23, -1 %25 = load i32, ptr %3, align 4, !tbaa !16 %26 = and i32 %25, %24 store i32 %26, ptr %3, align 4, !tbaa !16 %27 = load i32, ptr %4, align 4, !tbaa !16 %28 = load i32, ptr @MAC_CTRL_SPEED, align 4, !tbaa !16 %29 = call i32 @FIELD_SETX(i32 noundef %27, i32 noundef %28, i32 noundef %16) #3 %30 = load i32, ptr @MAC_CTRL_DUPLX, align 4, !tbaa !16 %31 = load i32, ptr @MAC_CTRL_RX_EN, align 4, !tbaa !16 %32 = load i32, ptr @MAC_CTRL_TX_EN, align 4, !tbaa !16 %33 = or i32 %30, %32 %34 = or i32 %33, %31 %35 = xor i32 %34, -1 %36 = and i32 %29, %35 store i32 %36, ptr %4, align 4, !tbaa !16 %37 = getelementptr inbounds %struct.atl1c_adapter, ptr %8, i64 0, i32 1 %38 = load i64, ptr %37, align 8, !tbaa !17 %39 = load i64, ptr @FULL_DUPLEX, align 8, !tbaa !15 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %43 41: ; preds = %2 %42 = or i32 %36, %30 store i32 %42, ptr %4, align 4, !tbaa !16 br label %43 43: ; preds = %41, %2 %44 = phi i32 [ %42, %41 ], [ %36, %2 ] %45 = load i32, ptr @GPHY_CTRL_EXT_RESET, align 4, !tbaa !16 %46 = load i32, ptr @GPHY_CTRL_CLS, align 4, !tbaa !16 %47 = or i32 %46, %45 %48 = xor i32 %47, -1 %49 = load i32, ptr %5, align 4, !tbaa !16 %50 = and i32 %49, %48 %51 = load i32, ptr @GPHY_CTRL_SEL_ANA_RST, align 4, !tbaa !16 %52 = load i32, ptr @GPHY_CTRL_HIB_PULSE, align 4, !tbaa !16 %53 = load i32, ptr @GPHY_CTRL_HIB_EN, align 4, !tbaa !16 %54 = or i32 %51, %52 %55 = or i32 %54, %53 %56 = or i32 %55, %50 %57 = icmp eq i32 %1, 0 br i1 %57, label %58, label %76 58: ; preds = %43 %59 = load i32, ptr @MASTER_CTRL_CLK_SEL_DIS, align 4, !tbaa !16 %60 = load i32, ptr %3, align 4, !tbaa !16 %61 = or i32 %60, %59 store i32 %61, ptr %3, align 4, !tbaa !16 %62 = load i32, ptr @GPHY_CTRL_PHY_IDDQ, align 4, !tbaa !16 %63 = load i32, ptr @GPHY_CTRL_PWDOWN_HW, align 4, !tbaa !16 %64 = or i32 %62, %63 %65 = or i32 %64, %56 store i32 %65, ptr %5, align 4, !tbaa !16 %66 = load i32, ptr @REG_MASTER_CTRL, align 4, !tbaa !16 %67 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %66, i32 noundef %61) #3 %68 = load i32, ptr @REG_MAC_CTRL, align 4, !tbaa !16 %69 = load i32, ptr %4, align 4, !tbaa !16 %70 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %68, i32 noundef %69) #3 %71 = load i32, ptr @REG_GPHY_CTRL, align 4, !tbaa !16 %72 = load i32, ptr %5, align 4, !tbaa !16 %73 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %71, i32 noundef %72) #3 %74 = load i32, ptr @REG_WOL_CTRL, align 4, !tbaa !16 %75 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %74, i32 noundef 0) #3 store i32 0, ptr %0, align 8, !tbaa !18 br label %139 76: ; preds = %43 %77 = or i32 %56, %45 store i32 %77, ptr %5, align 4, !tbaa !16 %78 = load i32, ptr @AT_WUFC_MAG, align 4, !tbaa !16 %79 = and i32 %78, %1 %80 = icmp eq i32 %79, 0 br i1 %80, label %102, label %81 81: ; preds = %76 %82 = load i32, ptr @MAC_CTRL_BC_EN, align 4, !tbaa !16 %83 = or i32 %82, %44 %84 = or i32 %83, %31 store i32 %84, ptr %4, align 4, !tbaa !16 %85 = load i32, ptr @WOL_MAGIC_EN, align 4, !tbaa !16 %86 = load i32, ptr @WOL_MAGIC_PME_EN, align 4, !tbaa !16 %87 = or i32 %86, %85 %88 = getelementptr inbounds %struct.atl1c_hw, ptr %0, i64 0, i32 1 %89 = load i64, ptr %88, align 8, !tbaa !19 %90 = load i64, ptr @athr_l2c_b, align 8, !tbaa !15 %91 = icmp eq i64 %89, %90 br i1 %91, label %92, label %102 92: ; preds = %81 %93 = getelementptr inbounds %struct.atl1c_hw, ptr %0, i64 0, i32 2 %94 = load i64, ptr %93, align 8, !tbaa !20 %95 = load i64, ptr @L2CB_V11, align 8, !tbaa !15 %96 = icmp eq i64 %94, %95 br i1 %96, label %97, label %102 97: ; preds = %92 %98 = load i32, ptr @WOL_PATTERN_EN, align 4, !tbaa !16 %99 = load i32, ptr @WOL_PATTERN_PME_EN, align 4, !tbaa !16 %100 = or i32 %98, %99 %101 = or i32 %100, %87 br label %102 102: ; preds = %81, %92, %97, %76 %103 = phi i32 [ %101, %97 ], [ %87, %92 ], [ %87, %81 ], [ 0, %76 ] %104 = load i32, ptr @AT_WUFC_LNKC, align 4, !tbaa !16 %105 = and i32 %104, %1 %106 = icmp eq i32 %105, 0 br i1 %106, label %119, label %107 107: ; preds = %102 %108 = load i32, ptr @WOL_LINK_CHG_EN, align 4, !tbaa !16 %109 = load i32, ptr @WOL_LINK_CHG_PME_EN, align 4, !tbaa !16 %110 = or i32 %108, %109 %111 = or i32 %110, %103 %112 = load i32, ptr @MII_IER, align 4, !tbaa !16 %113 = load i32, ptr @IER_LINK_UP, align 4, !tbaa !16 %114 = call i64 @atl1c_write_phy_reg(ptr noundef nonnull %0, i32 noundef %112, i32 noundef %113) #3 %115 = icmp eq i64 %114, 0 br i1 %115, label %119, label %116 116: ; preds = %107 %117 = load i32, ptr @atl1c_driver_name, align 4, !tbaa !16 %118 = call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %117) #3 br label %119 119: ; preds = %107, %116, %102 %120 = phi i32 [ %111, %116 ], [ %111, %107 ], [ %103, %102 ] %121 = load i32, ptr @MII_ISR, align 4, !tbaa !16 %122 = call i32 @atl1c_read_phy_reg(ptr noundef nonnull %0, i32 noundef %121, ptr noundef nonnull %6) #3 %123 = load i32, ptr @atl1c_driver_name, align 4, !tbaa !16 %124 = load i32, ptr %4, align 4, !tbaa !16 %125 = load i32, ptr %3, align 4, !tbaa !16 %126 = load i32, ptr %5, align 4, !tbaa !16 %127 = call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %10, ptr noundef nonnull @.str.1, i32 noundef %123, i32 noundef %124, i32 noundef %125, i32 noundef %126, i32 noundef %120) #3 %128 = load i32, ptr @REG_MASTER_CTRL, align 4, !tbaa !16 %129 = load i32, ptr %3, align 4, !tbaa !16 %130 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %128, i32 noundef %129) #3 %131 = load i32, ptr @REG_MAC_CTRL, align 4, !tbaa !16 %132 = load i32, ptr %4, align 4, !tbaa !16 %133 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %131, i32 noundef %132) #3 %134 = load i32, ptr @REG_GPHY_CTRL, align 4, !tbaa !16 %135 = load i32, ptr %5, align 4, !tbaa !16 %136 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %134, i32 noundef %135) #3 %137 = load i32, ptr @REG_WOL_CTRL, align 4, !tbaa !16 %138 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %137, i32 noundef %120) #3 br label %139 139: ; preds = %119, %58 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 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @AT_READ_REG(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @FIELD_SETX(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AT_WRITE_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @atl1c_write_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @atl1c_read_phy_reg(ptr 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, !11, i64 24} !6 = !{!"atl1c_hw", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 16} !13 = !{!"atl1c_adapter", !10, i64 0, !10, i64 8, !11, i64 16} !14 = !{!13, !10, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!13, !10, i64 8} !18 = !{!6, !7, i64 0} !19 = !{!6, !10, i64 8} !20 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_hw.c_atl1c_power_saving.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_hw.c_atl1c_power_saving.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SPEED_1000 = common local_unnamed_addr global i64 0, align 8 @MAC_CTRL_SPEED_1000 = common local_unnamed_addr global i32 0, align 4 @MAC_CTRL_SPEED_10_100 = common local_unnamed_addr global i32 0, align 4 @REG_MASTER_CTRL = common local_unnamed_addr global i32 0, align 4 @REG_MAC_CTRL = common local_unnamed_addr global i32 0, align 4 @REG_GPHY_CTRL = common local_unnamed_addr global i32 0, align 4 @MASTER_CTRL_CLK_SEL_DIS = common local_unnamed_addr global i32 0, align 4 @MAC_CTRL_SPEED = common local_unnamed_addr global i32 0, align 4 @MAC_CTRL_DUPLX = common local_unnamed_addr global i32 0, align 4 @MAC_CTRL_RX_EN = common local_unnamed_addr global i32 0, align 4 @MAC_CTRL_TX_EN = common local_unnamed_addr global i32 0, align 4 @FULL_DUPLEX = common local_unnamed_addr global i64 0, align 8 @GPHY_CTRL_EXT_RESET = common local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_CLS = common local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_SEL_ANA_RST = common local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_HIB_PULSE = common local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_HIB_EN = common local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_PHY_IDDQ = common local_unnamed_addr global i32 0, align 4 @GPHY_CTRL_PWDOWN_HW = common local_unnamed_addr global i32 0, align 4 @REG_WOL_CTRL = common local_unnamed_addr global i32 0, align 4 @AT_WUFC_MAG = common local_unnamed_addr global i32 0, align 4 @MAC_CTRL_BC_EN = common local_unnamed_addr global i32 0, align 4 @WOL_MAGIC_EN = common local_unnamed_addr global i32 0, align 4 @WOL_MAGIC_PME_EN = common local_unnamed_addr global i32 0, align 4 @athr_l2c_b = common local_unnamed_addr global i64 0, align 8 @L2CB_V11 = common local_unnamed_addr global i64 0, align 8 @WOL_PATTERN_EN = common local_unnamed_addr global i32 0, align 4 @WOL_PATTERN_PME_EN = common local_unnamed_addr global i32 0, align 4 @AT_WUFC_LNKC = common local_unnamed_addr global i32 0, align 4 @WOL_LINK_CHG_EN = common local_unnamed_addr global i32 0, align 4 @WOL_LINK_CHG_PME_EN = common local_unnamed_addr global i32 0, align 4 @MII_IER = common local_unnamed_addr global i32 0, align 4 @IER_LINK_UP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"%s: write phy MII_IER failed.\0A\00", align 1 @atl1c_driver_name = common local_unnamed_addr global i32 0, align 4 @MII_ISR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"%s: suspend MAC=%x,MASTER=%x,PHY=0x%x,WOL=%x\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @atl1c_power_saving(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %8, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !13 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %11 = load i64, ptr %8, align 8, !tbaa !15 %12 = load i64, ptr @SPEED_1000, align 8, !tbaa !16 %13 = icmp eq i64 %11, %12 %14 = load i32, ptr @MAC_CTRL_SPEED_1000, align 4 %15 = load i32, ptr @MAC_CTRL_SPEED_10_100, align 4 %16 = select i1 %13, i32 %14, i32 %15 %17 = load i32, ptr @REG_MASTER_CTRL, align 4, !tbaa !17 %18 = call i32 @AT_READ_REG(ptr noundef %0, i32 noundef %17, ptr noundef nonnull %3) #3 %19 = load i32, ptr @REG_MAC_CTRL, align 4, !tbaa !17 %20 = call i32 @AT_READ_REG(ptr noundef %0, i32 noundef %19, ptr noundef nonnull %4) #3 %21 = load i32, ptr @REG_GPHY_CTRL, align 4, !tbaa !17 %22 = call i32 @AT_READ_REG(ptr noundef %0, i32 noundef %21, ptr noundef nonnull %5) #3 %23 = load i32, ptr @MASTER_CTRL_CLK_SEL_DIS, align 4, !tbaa !17 %24 = xor i32 %23, -1 %25 = load i32, ptr %3, align 4, !tbaa !17 %26 = and i32 %25, %24 store i32 %26, ptr %3, align 4, !tbaa !17 %27 = load i32, ptr %4, align 4, !tbaa !17 %28 = load i32, ptr @MAC_CTRL_SPEED, align 4, !tbaa !17 %29 = call i32 @FIELD_SETX(i32 noundef %27, i32 noundef %28, i32 noundef %16) #3 %30 = load i32, ptr @MAC_CTRL_DUPLX, align 4, !tbaa !17 %31 = load i32, ptr @MAC_CTRL_RX_EN, align 4, !tbaa !17 %32 = load i32, ptr @MAC_CTRL_TX_EN, align 4, !tbaa !17 %33 = or i32 %30, %32 %34 = or i32 %33, %31 %35 = xor i32 %34, -1 %36 = and i32 %29, %35 store i32 %36, ptr %4, align 4, !tbaa !17 %37 = getelementptr inbounds i8, ptr %8, i64 8 %38 = load i64, ptr %37, align 8, !tbaa !18 %39 = load i64, ptr @FULL_DUPLEX, align 8, !tbaa !16 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %43 41: ; preds = %2 %42 = or i32 %36, %30 store i32 %42, ptr %4, align 4, !tbaa !17 br label %43 43: ; preds = %41, %2 %44 = phi i32 [ %42, %41 ], [ %36, %2 ] %45 = load i32, ptr @GPHY_CTRL_EXT_RESET, align 4, !tbaa !17 %46 = load i32, ptr @GPHY_CTRL_CLS, align 4, !tbaa !17 %47 = or i32 %46, %45 %48 = xor i32 %47, -1 %49 = load i32, ptr %5, align 4, !tbaa !17 %50 = and i32 %49, %48 %51 = load i32, ptr @GPHY_CTRL_SEL_ANA_RST, align 4, !tbaa !17 %52 = load i32, ptr @GPHY_CTRL_HIB_PULSE, align 4, !tbaa !17 %53 = load i32, ptr @GPHY_CTRL_HIB_EN, align 4, !tbaa !17 %54 = or i32 %51, %52 %55 = or i32 %54, %53 %56 = or i32 %55, %50 %57 = icmp eq i32 %1, 0 br i1 %57, label %58, label %76 58: ; preds = %43 %59 = load i32, ptr @MASTER_CTRL_CLK_SEL_DIS, align 4, !tbaa !17 %60 = load i32, ptr %3, align 4, !tbaa !17 %61 = or i32 %60, %59 store i32 %61, ptr %3, align 4, !tbaa !17 %62 = load i32, ptr @GPHY_CTRL_PHY_IDDQ, align 4, !tbaa !17 %63 = load i32, ptr @GPHY_CTRL_PWDOWN_HW, align 4, !tbaa !17 %64 = or i32 %62, %63 %65 = or i32 %64, %56 store i32 %65, ptr %5, align 4, !tbaa !17 %66 = load i32, ptr @REG_MASTER_CTRL, align 4, !tbaa !17 %67 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %66, i32 noundef %61) #3 %68 = load i32, ptr @REG_MAC_CTRL, align 4, !tbaa !17 %69 = load i32, ptr %4, align 4, !tbaa !17 %70 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %68, i32 noundef %69) #3 %71 = load i32, ptr @REG_GPHY_CTRL, align 4, !tbaa !17 %72 = load i32, ptr %5, align 4, !tbaa !17 %73 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %71, i32 noundef %72) #3 %74 = load i32, ptr @REG_WOL_CTRL, align 4, !tbaa !17 %75 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %74, i32 noundef 0) #3 store i32 0, ptr %0, align 8, !tbaa !19 br label %139 76: ; preds = %43 %77 = or i32 %56, %45 store i32 %77, ptr %5, align 4, !tbaa !17 %78 = load i32, ptr @AT_WUFC_MAG, align 4, !tbaa !17 %79 = and i32 %78, %1 %80 = icmp eq i32 %79, 0 br i1 %80, label %102, label %81 81: ; preds = %76 %82 = load i32, ptr @MAC_CTRL_BC_EN, align 4, !tbaa !17 %83 = or i32 %82, %44 %84 = or i32 %83, %31 store i32 %84, ptr %4, align 4, !tbaa !17 %85 = load i32, ptr @WOL_MAGIC_EN, align 4, !tbaa !17 %86 = load i32, ptr @WOL_MAGIC_PME_EN, align 4, !tbaa !17 %87 = or i32 %86, %85 %88 = getelementptr inbounds i8, ptr %0, i64 8 %89 = load i64, ptr %88, align 8, !tbaa !20 %90 = load i64, ptr @athr_l2c_b, align 8, !tbaa !16 %91 = icmp eq i64 %89, %90 br i1 %91, label %92, label %102 92: ; preds = %81 %93 = getelementptr inbounds i8, ptr %0, i64 16 %94 = load i64, ptr %93, align 8, !tbaa !21 %95 = load i64, ptr @L2CB_V11, align 8, !tbaa !16 %96 = icmp eq i64 %94, %95 br i1 %96, label %97, label %102 97: ; preds = %92 %98 = load i32, ptr @WOL_PATTERN_EN, align 4, !tbaa !17 %99 = load i32, ptr @WOL_PATTERN_PME_EN, align 4, !tbaa !17 %100 = or i32 %98, %99 %101 = or i32 %100, %87 br label %102 102: ; preds = %81, %92, %97, %76 %103 = phi i32 [ %101, %97 ], [ %87, %92 ], [ %87, %81 ], [ 0, %76 ] %104 = load i32, ptr @AT_WUFC_LNKC, align 4, !tbaa !17 %105 = and i32 %104, %1 %106 = icmp eq i32 %105, 0 br i1 %106, label %119, label %107 107: ; preds = %102 %108 = load i32, ptr @WOL_LINK_CHG_EN, align 4, !tbaa !17 %109 = load i32, ptr @WOL_LINK_CHG_PME_EN, align 4, !tbaa !17 %110 = or i32 %108, %109 %111 = or i32 %110, %103 %112 = load i32, ptr @MII_IER, align 4, !tbaa !17 %113 = load i32, ptr @IER_LINK_UP, align 4, !tbaa !17 %114 = call i64 @atl1c_write_phy_reg(ptr noundef nonnull %0, i32 noundef %112, i32 noundef %113) #3 %115 = icmp eq i64 %114, 0 br i1 %115, label %119, label %116 116: ; preds = %107 %117 = load i32, ptr @atl1c_driver_name, align 4, !tbaa !17 %118 = call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %117) #3 br label %119 119: ; preds = %107, %116, %102 %120 = phi i32 [ %111, %116 ], [ %111, %107 ], [ %103, %102 ] %121 = load i32, ptr @MII_ISR, align 4, !tbaa !17 %122 = call i32 @atl1c_read_phy_reg(ptr noundef nonnull %0, i32 noundef %121, ptr noundef nonnull %6) #3 %123 = load i32, ptr @atl1c_driver_name, align 4, !tbaa !17 %124 = load i32, ptr %4, align 4, !tbaa !17 %125 = load i32, ptr %3, align 4, !tbaa !17 %126 = load i32, ptr %5, align 4, !tbaa !17 %127 = call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %10, ptr noundef nonnull @.str.1, i32 noundef %123, i32 noundef %124, i32 noundef %125, i32 noundef %126, i32 noundef %120) #3 %128 = load i32, ptr @REG_MASTER_CTRL, align 4, !tbaa !17 %129 = load i32, ptr %3, align 4, !tbaa !17 %130 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %128, i32 noundef %129) #3 %131 = load i32, ptr @REG_MAC_CTRL, align 4, !tbaa !17 %132 = load i32, ptr %4, align 4, !tbaa !17 %133 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %131, i32 noundef %132) #3 %134 = load i32, ptr @REG_GPHY_CTRL, align 4, !tbaa !17 %135 = load i32, ptr %5, align 4, !tbaa !17 %136 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %134, i32 noundef %135) #3 %137 = load i32, ptr @REG_WOL_CTRL, align 4, !tbaa !17 %138 = call i32 @AT_WRITE_REG(ptr noundef nonnull %0, i32 noundef %137, i32 noundef %120) #3 br label %139 139: ; preds = %119, %58 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 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @AT_READ_REG(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @FIELD_SETX(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AT_WRITE_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @atl1c_write_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @atl1c_read_phy_reg(ptr 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, !12, i64 24} !7 = !{!"atl1c_hw", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 16} !14 = !{!"atl1c_adapter", !11, i64 0, !11, i64 8, !12, i64 16} !15 = !{!14, !11, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!14, !11, i64 8} !19 = !{!7, !8, i64 0} !20 = !{!7, !11, i64 8} !21 = !{!7, !11, i64 16}
linux_drivers_net_ethernet_atheros_atl1c_extr_atl1c_hw.c_atl1c_power_saving
; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zfs_vfsops.c_id_to_fuidstr.c' source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zfs_vfsops.c_id_to_fuidstr.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 i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%llx\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @id_to_fuidstr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @id_to_fuidstr(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = icmp eq ptr %1, null br i1 %6, label %16, label %7 7: ; preds = %5 %8 = load i8, ptr %1, align 1, !tbaa !5 %9 = icmp eq i8 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %7 %11 = tail call i32 @zfs_fuid_find_by_domain(ptr noundef %0, ptr noundef nonnull %1, ptr noundef null, i32 noundef %4) #2 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr @ENOENT, align 4, !tbaa !8 %15 = tail call i32 @SET_ERROR(i32 noundef %14) #2 br label %21 16: ; preds = %10, %7, %5 %17 = phi i32 [ %11, %10 ], [ 0, %7 ], [ 0, %5 ] %18 = tail call i64 @FUID_ENCODE(i32 noundef %17, i32 noundef %2) #2 %19 = trunc i64 %18 to i32 %20 = tail call i32 @sprintf(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %19) #2 br label %21 21: ; preds = %16, %13 %22 = phi i32 [ %15, %13 ], [ 0, %16 ] ret i32 %22 } declare i32 @zfs_fuid_find_by_domain(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #1 declare i64 @FUID_ENCODE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, 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, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zfs_vfsops.c_id_to_fuidstr.c' source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zfs_vfsops.c_id_to_fuidstr.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 i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%llx\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @id_to_fuidstr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @id_to_fuidstr(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = icmp eq ptr %1, null br i1 %6, label %16, label %7 7: ; preds = %5 %8 = load i8, ptr %1, align 1, !tbaa !6 %9 = icmp eq i8 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %7 %11 = tail call i32 @zfs_fuid_find_by_domain(ptr noundef %0, ptr noundef nonnull %1, ptr noundef null, i32 noundef %4) #2 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr @ENOENT, align 4, !tbaa !9 %15 = tail call i32 @SET_ERROR(i32 noundef %14) #2 br label %21 16: ; preds = %10, %7, %5 %17 = phi i32 [ %11, %10 ], [ 0, %7 ], [ 0, %5 ] %18 = tail call i64 @FUID_ENCODE(i32 noundef %17, i32 noundef %2) #2 %19 = trunc i64 %18 to i32 %20 = tail call i32 @sprintf(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %19) #2 br label %21 21: ; preds = %16, %13 %22 = phi i32 [ %15, %13 ], [ 0, %16 ] ret i32 %22 } declare i32 @zfs_fuid_find_by_domain(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #1 declare i64 @FUID_ENCODE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, 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, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
zfs_module_os_linux_zfs_extr_zfs_vfsops.c_id_to_fuidstr
; ModuleID = 'AnghaBench/linux/tools/hv/extr_hv_kvp_daemon.c_kvp_key_add_or_modify.c' source_filename = "AnghaBench/linux/tools/hv/extr_hv_kvp_daemon.c_kvp_key_add_or_modify.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, i32, ptr } %struct.kvp_record = type { i32, i32 } @HV_KVP_EXCHANGE_MAX_KEY_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @HV_KVP_EXCHANGE_MAX_VALUE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @kvp_file_info = dso_local local_unnamed_addr global ptr null, align 8 @ENTRIES_PER_BLOCK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @kvp_key_add_or_modify], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @kvp_key_add_or_modify(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = load i32, ptr @HV_KVP_EXCHANGE_MAX_KEY_SIZE, align 4, !tbaa !5 %7 = icmp slt i32 %6, %2 %8 = load i32, ptr @HV_KVP_EXCHANGE_MAX_VALUE_SIZE, align 4 %9 = icmp slt i32 %8, %4 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %71, label %11 11: ; preds = %5 %12 = tail call i32 @kvp_update_mem_state(i32 noundef %0) #2 %13 = load ptr, ptr @kvp_file_info, align 8, !tbaa !9 %14 = sext i32 %0 to i64 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %14 %16 = load i32, ptr %15, align 8, !tbaa !11 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %14, i32 2 %18 = load ptr, ptr %17, align 8, !tbaa !13 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %14, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = icmp sgt i32 %16, 0 br i1 %21, label %22, label %39 22: ; preds = %11 %23 = zext nneg i32 %16 to i64 br label %24 24: ; preds = %22, %34 %25 = phi i64 [ 0, %22 ], [ %35, %34 ] %26 = getelementptr inbounds %struct.kvp_record, ptr %18, i64 %25 %27 = load i32, ptr %26, align 4, !tbaa !15 %28 = tail call i64 @memcmp(ptr noundef %1, i32 noundef %27, i32 noundef %2) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %24 %31 = getelementptr inbounds %struct.kvp_record, ptr %18, i64 %25, i32 1 %32 = load i32, ptr %31, align 4, !tbaa !17 %33 = tail call i32 @memcpy(i32 noundef %32, ptr noundef %3, i32 noundef %4) #2 br label %69 34: ; preds = %24 %35 = add nuw nsw i64 %25, 1 %36 = icmp eq i64 %35, %23 br i1 %36, label %37, label %24, !llvm.loop !18 37: ; preds = %34 %38 = zext nneg i32 %16 to i64 br label %39 39: ; preds = %37, %11 %40 = phi i64 [ 0, %11 ], [ %38, %37 ] %41 = load i32, ptr @ENTRIES_PER_BLOCK, align 4, !tbaa !5 %42 = mul nsw i32 %41, %20 %43 = icmp eq i32 %16, %42 br i1 %43, label %44, label %55 44: ; preds = %39 %45 = shl i32 %20, 3 %46 = add i32 %45, 8 %47 = mul i32 %46, %41 %48 = tail call ptr @realloc(ptr noundef %18, i32 noundef %47) #2 %49 = icmp eq ptr %48, null br i1 %49, label %71, label %50 50: ; preds = %44 %51 = load ptr, ptr @kvp_file_info, align 8, !tbaa !9 %52 = getelementptr inbounds %struct.TYPE_2__, ptr %51, i64 %14, i32 1 %53 = load i32, ptr %52, align 4, !tbaa !14 %54 = add nsw i32 %53, 1 store i32 %54, ptr %52, align 4, !tbaa !14 br label %55 55: ; preds = %50, %39 %56 = phi ptr [ %48, %50 ], [ %18, %39 ] %57 = getelementptr inbounds %struct.kvp_record, ptr %56, i64 %40 %58 = getelementptr inbounds %struct.kvp_record, ptr %56, i64 %40, i32 1 %59 = load i32, ptr %58, align 4, !tbaa !17 %60 = tail call i32 @memcpy(i32 noundef %59, ptr noundef %3, i32 noundef %4) #2 %61 = load i32, ptr %57, align 4, !tbaa !15 %62 = tail call i32 @memcpy(i32 noundef %61, ptr noundef %1, i32 noundef %2) #2 %63 = load ptr, ptr @kvp_file_info, align 8, !tbaa !9 %64 = getelementptr inbounds %struct.TYPE_2__, ptr %63, i64 %14, i32 2 store ptr %56, ptr %64, align 8, !tbaa !13 %65 = load ptr, ptr @kvp_file_info, align 8, !tbaa !9 %66 = getelementptr inbounds %struct.TYPE_2__, ptr %65, i64 %14 %67 = load i32, ptr %66, align 8, !tbaa !11 %68 = add nsw i32 %67, 1 store i32 %68, ptr %66, align 8, !tbaa !11 br label %69 69: ; preds = %30, %55 %70 = tail call i32 @kvp_update_file(i32 noundef %0) #2 br label %71 71: ; preds = %69, %44, %5 %72 = phi i32 [ 1, %5 ], [ 1, %44 ], [ 0, %69 ] ret i32 %72 } declare i32 @kvp_update_mem_state(i32 noundef) local_unnamed_addr #1 declare i64 @memcmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvp_update_file(i32 noundef) local_unnamed_addr #1 declare ptr @realloc(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, !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 = !{!12, !6, i64 0} !12 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !10, i64 8} !13 = !{!12, !10, i64 8} !14 = !{!12, !6, i64 4} !15 = !{!16, !6, i64 0} !16 = !{!"kvp_record", !6, i64 0, !6, i64 4} !17 = !{!16, !6, i64 4} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/tools/hv/extr_hv_kvp_daemon.c_kvp_key_add_or_modify.c' source_filename = "AnghaBench/linux/tools/hv/extr_hv_kvp_daemon.c_kvp_key_add_or_modify.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, i32, ptr } %struct.kvp_record = type { i32, i32 } @HV_KVP_EXCHANGE_MAX_KEY_SIZE = common local_unnamed_addr global i32 0, align 4 @HV_KVP_EXCHANGE_MAX_VALUE_SIZE = common local_unnamed_addr global i32 0, align 4 @kvp_file_info = common local_unnamed_addr global ptr null, align 8 @ENTRIES_PER_BLOCK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @kvp_key_add_or_modify], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @kvp_key_add_or_modify(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = load i32, ptr @HV_KVP_EXCHANGE_MAX_KEY_SIZE, align 4, !tbaa !6 %7 = icmp slt i32 %6, %2 %8 = load i32, ptr @HV_KVP_EXCHANGE_MAX_VALUE_SIZE, align 4 %9 = icmp slt i32 %8, %4 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %69, label %11 11: ; preds = %5 %12 = tail call i32 @kvp_update_mem_state(i32 noundef %0) #2 %13 = load ptr, ptr @kvp_file_info, align 8, !tbaa !10 %14 = sext i32 %0 to i64 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %14 %16 = load i32, ptr %15, align 8, !tbaa !12 %17 = getelementptr inbounds i8, ptr %15, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !14 %19 = getelementptr inbounds i8, ptr %15, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = icmp sgt i32 %16, 0 br i1 %21, label %22, label %37 22: ; preds = %11 %23 = zext nneg i32 %16 to i64 br label %24 24: ; preds = %22, %34 %25 = phi i64 [ 0, %22 ], [ %35, %34 ] %26 = getelementptr inbounds %struct.kvp_record, ptr %18, i64 %25 %27 = load i32, ptr %26, align 4, !tbaa !16 %28 = tail call i64 @memcmp(ptr noundef %1, i32 noundef %27, i32 noundef %2) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %24 %31 = getelementptr inbounds %struct.kvp_record, ptr %18, i64 %25, i32 1 %32 = load i32, ptr %31, align 4, !tbaa !18 %33 = tail call i32 @memcpy(i32 noundef %32, ptr noundef %3, i32 noundef %4) #2 br label %67 34: ; preds = %24 %35 = add nuw nsw i64 %25, 1 %36 = icmp eq i64 %35, %23 br i1 %36, label %37, label %24, !llvm.loop !19 37: ; preds = %34, %11 %38 = phi i64 [ 0, %11 ], [ %23, %34 ] %39 = load i32, ptr @ENTRIES_PER_BLOCK, align 4, !tbaa !6 %40 = mul nsw i32 %39, %20 %41 = icmp eq i32 %16, %40 br i1 %41, label %42, label %53 42: ; preds = %37 %43 = shl i32 %20, 3 %44 = add i32 %43, 8 %45 = mul i32 %44, %39 %46 = tail call ptr @realloc(ptr noundef %18, i32 noundef %45) #2 %47 = icmp eq ptr %46, null br i1 %47, label %69, label %48 48: ; preds = %42 %49 = load ptr, ptr @kvp_file_info, align 8, !tbaa !10 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %49, i64 %14, i32 1 %51 = load i32, ptr %50, align 4, !tbaa !15 %52 = add nsw i32 %51, 1 store i32 %52, ptr %50, align 4, !tbaa !15 br label %53 53: ; preds = %48, %37 %54 = phi ptr [ %46, %48 ], [ %18, %37 ] %55 = getelementptr inbounds %struct.kvp_record, ptr %54, i64 %38 %56 = getelementptr inbounds i8, ptr %55, i64 4 %57 = load i32, ptr %56, align 4, !tbaa !18 %58 = tail call i32 @memcpy(i32 noundef %57, ptr noundef %3, i32 noundef %4) #2 %59 = load i32, ptr %55, align 4, !tbaa !16 %60 = tail call i32 @memcpy(i32 noundef %59, ptr noundef %1, i32 noundef %2) #2 %61 = load ptr, ptr @kvp_file_info, align 8, !tbaa !10 %62 = getelementptr inbounds %struct.TYPE_2__, ptr %61, i64 %14, i32 2 store ptr %54, ptr %62, align 8, !tbaa !14 %63 = load ptr, ptr @kvp_file_info, align 8, !tbaa !10 %64 = getelementptr inbounds %struct.TYPE_2__, ptr %63, i64 %14 %65 = load i32, ptr %64, align 8, !tbaa !12 %66 = add nsw i32 %65, 1 store i32 %66, ptr %64, align 8, !tbaa !12 br label %67 67: ; preds = %30, %53 %68 = tail call i32 @kvp_update_file(i32 noundef %0) #2 br label %69 69: ; preds = %67, %42, %5 %70 = phi i32 [ 1, %5 ], [ 1, %42 ], [ 0, %67 ] ret i32 %70 } declare i32 @kvp_update_mem_state(i32 noundef) local_unnamed_addr #1 declare i64 @memcmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvp_update_file(i32 noundef) local_unnamed_addr #1 declare ptr @realloc(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, !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 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !11, i64 8} !14 = !{!13, !11, i64 8} !15 = !{!13, !7, i64 4} !16 = !{!17, !7, i64 0} !17 = !{!"kvp_record", !7, i64 0, !7, i64 4} !18 = !{!17, !7, i64 4} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
linux_tools_hv_extr_hv_kvp_daemon.c_kvp_key_add_or_modify
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/backlight/extr_progear_bl.c_progearbl_set_intensity.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/backlight/extr_progear_bl.c_progearbl_set_intensity.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, i64, i64 } @FB_BLANK_UNBLANK = dso_local local_unnamed_addr global i64 0, align 8 @pmu_dev = dso_local local_unnamed_addr global i32 0, align 4 @PMU_LPCR = dso_local local_unnamed_addr global i32 0, align 4 @HW_LEVEL_MIN = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @progearbl_set_intensity], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @progearbl_set_intensity(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !12 %5 = load i64, ptr @FB_BLANK_UNBLANK, align 8, !tbaa !13 %6 = icmp eq i64 %4, %5 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2 %8 = load i64, ptr %7, align 8, !tbaa !14 %9 = icmp eq i64 %8, %5 %10 = select i1 %9, i1 %6, i1 false %11 = sext i32 %2 to i64 %12 = load i32, ptr @pmu_dev, align 4, !tbaa !15 %13 = load i32, ptr @PMU_LPCR, align 4, !tbaa !15 %14 = select i1 %10, i64 %11, i64 0 %15 = load i64, ptr @HW_LEVEL_MIN, align 8, !tbaa !13 %16 = add nsw i64 %14, %15 %17 = tail call i32 @pci_write_config_byte(i32 noundef %12, i32 noundef %13, i64 noundef %16) #2 ret i32 0 } declare i32 @pci_write_config_byte(i32 noundef, i32 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, !8, i64 0} !6 = !{!"backlight_device", !7, i64 0} !7 = !{!"TYPE_2__", !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 = !{!"long", !9, i64 0} !12 = !{!6, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!6, !11, i64 16} !15 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/backlight/extr_progear_bl.c_progearbl_set_intensity.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/backlight/extr_progear_bl.c_progearbl_set_intensity.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FB_BLANK_UNBLANK = common local_unnamed_addr global i64 0, align 8 @pmu_dev = common local_unnamed_addr global i32 0, align 4 @PMU_LPCR = common local_unnamed_addr global i32 0, align 4 @HW_LEVEL_MIN = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @progearbl_set_intensity], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @progearbl_set_intensity(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !13 %5 = load i64, ptr @FB_BLANK_UNBLANK, align 8, !tbaa !14 %6 = icmp eq i64 %4, %5 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load i64, ptr %7, align 8, !tbaa !15 %9 = icmp eq i64 %8, %5 %10 = select i1 %9, i1 %6, i1 false %11 = sext i32 %2 to i64 %12 = load i32, ptr @pmu_dev, align 4, !tbaa !16 %13 = load i32, ptr @PMU_LPCR, align 4, !tbaa !16 %14 = select i1 %10, i64 %11, i64 0 %15 = load i64, ptr @HW_LEVEL_MIN, align 8, !tbaa !14 %16 = add nsw i64 %14, %15 %17 = tail call i32 @pci_write_config_byte(i32 noundef %12, i32 noundef %13, i64 noundef %16) #2 ret i32 0 } declare i32 @pci_write_config_byte(i32 noundef, i32 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, !9, i64 0} !7 = !{!"backlight_device", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8, !12, i64 16} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!12, !12, i64 0} !15 = !{!7, !12, i64 16} !16 = !{!9, !9, i64 0}
fastsocket_kernel_drivers_video_backlight_extr_progear_bl.c_progearbl_set_intensity
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv.c_kvm_arch_vcpu_ioctl_get_sregs_hv.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv.c_kvm_arch_vcpu_ioctl_get_sregs_hv.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_12__ = type { i32, ptr, i32 } %struct.kvm_sregs = type { %struct.TYPE_10__, i32 } %struct.TYPE_10__ = type { %struct.TYPE_9__ } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { ptr } %struct.TYPE_11__ = type { i32, i32 } %struct.TYPE_7__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @kvm_arch_vcpu_ioctl_get_sregs_hv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @kvm_arch_vcpu_ioctl_get_sregs_hv(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 16) #2 %4 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 1 store i32 %5, ptr %6, align 8, !tbaa !12 %7 = load i32, ptr %0, align 8, !tbaa !17 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %39 9: ; preds = %2 %10 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !18 %12 = load ptr, ptr %1, align 8, !tbaa !19 %13 = zext nneg i32 %7 to i64 %14 = icmp ult i32 %7, 4 br i1 %14, label %30, label %15 15: ; preds = %9 %16 = and i64 %13, 2147483644 br label %17 17: ; preds = %17, %15 %18 = phi i64 [ 0, %15 ], [ %26, %17 ] %19 = or disjoint i64 %18, 2 %20 = getelementptr inbounds %struct.TYPE_11__, ptr %11, i64 %18 %21 = getelementptr inbounds %struct.TYPE_11__, ptr %11, i64 %19 %22 = load <4 x i32>, ptr %20, align 4, !tbaa !20 %23 = load <4 x i32>, ptr %21, align 4, !tbaa !20 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i64 %18 %25 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i64 %19 store <4 x i32> %22, ptr %24, align 4, !tbaa !20 store <4 x i32> %23, ptr %25, align 4, !tbaa !20 %26 = add nuw i64 %18, 4 %27 = icmp eq i64 %26, %16 br i1 %27, label %28, label %17, !llvm.loop !21 28: ; preds = %17 %29 = icmp eq i64 %16, %13 br i1 %29, label %39, label %30 30: ; preds = %9, %28 %31 = phi i64 [ 0, %9 ], [ %16, %28 ] br label %32 32: ; preds = %30, %32 %33 = phi i64 [ %37, %32 ], [ %31, %30 ] %34 = getelementptr inbounds %struct.TYPE_11__, ptr %11, i64 %33 %35 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i64 %33 %36 = load <2 x i32>, ptr %34, align 4, !tbaa !20 store <2 x i32> %36, ptr %35, align 4, !tbaa !20 %37 = add nuw nsw i64 %33, 1 %38 = icmp eq i64 %37, %13 br i1 %38, label %39, label %32, !llvm.loop !25 39: ; preds = %32, %28, %2 ret i32 0 } declare i32 @memset(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, !8, i64 16} !6 = !{!"kvm_vcpu", !7, i64 0} !7 = !{!"TYPE_12__", !8, i64 0, !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 = !{!13, !8, i64 8} !13 = !{!"kvm_sregs", !14, i64 0, !8, i64 8} !14 = !{!"TYPE_10__", !15, i64 0} !15 = !{!"TYPE_9__", !16, i64 0} !16 = !{!"TYPE_8__", !11, i64 0} !17 = !{!6, !8, i64 0} !18 = !{!6, !11, i64 8} !19 = !{!13, !11, i64 0} !20 = !{!8, !8, 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, !24, !23}
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv.c_kvm_arch_vcpu_ioctl_get_sregs_hv.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv.c_kvm_arch_vcpu_ioctl_get_sregs_hv.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 { i32, i32 } %struct.TYPE_7__ = type { i32, i32 } @llvm.used = appending global [1 x ptr] [ptr @kvm_arch_vcpu_ioctl_get_sregs_hv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @kvm_arch_vcpu_ioctl_get_sregs_hv(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 16) #2 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %5, ptr %6, align 8, !tbaa !13 %7 = load i32, ptr %0, align 8, !tbaa !18 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %39 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !19 %12 = load ptr, ptr %1, align 8, !tbaa !20 %13 = zext nneg i32 %7 to i64 %14 = icmp ult i32 %7, 8 br i1 %14, label %30, label %15 15: ; preds = %9 %16 = and i64 %13, 2147483640 br label %17 17: ; preds = %17, %15 %18 = phi i64 [ 0, %15 ], [ %26, %17 ] %19 = or disjoint i64 %18, 4 %20 = getelementptr inbounds %struct.TYPE_11__, ptr %11, i64 %18 %21 = getelementptr inbounds %struct.TYPE_11__, ptr %11, i64 %19 %22 = load <8 x i32>, ptr %20, align 4, !tbaa !21 %23 = load <8 x i32>, ptr %21, align 4, !tbaa !21 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i64 %18 %25 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i64 %19 store <8 x i32> %22, ptr %24, align 4, !tbaa !21 store <8 x i32> %23, ptr %25, align 4, !tbaa !21 %26 = add nuw i64 %18, 8 %27 = icmp eq i64 %26, %16 br i1 %27, label %28, label %17, !llvm.loop !22 28: ; preds = %17 %29 = icmp eq i64 %16, %13 br i1 %29, label %39, label %30 30: ; preds = %28, %9 %31 = phi i64 [ 0, %9 ], [ %16, %28 ] br label %32 32: ; preds = %30, %32 %33 = phi i64 [ %37, %32 ], [ %31, %30 ] %34 = getelementptr inbounds %struct.TYPE_11__, ptr %11, i64 %33 %35 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i64 %33 %36 = load <2 x i32>, ptr %34, align 4, !tbaa !21 store <2 x i32> %36, ptr %35, align 4, !tbaa !21 %37 = add nuw nsw i64 %33, 1 %38 = icmp eq i64 %37, %13 br i1 %38, label %39, label %32, !llvm.loop !26 39: ; preds = %32, %28, %2 ret i32 0 } declare i32 @memset(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, !9, i64 16} !7 = !{!"kvm_vcpu", !8, i64 0} !8 = !{!"TYPE_12__", !9, i64 0, !12, i64 8, !9, i64 16} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !9, i64 8} !14 = !{!"kvm_sregs", !15, i64 0, !9, i64 8} !15 = !{!"TYPE_10__", !16, i64 0} !16 = !{!"TYPE_9__", !17, i64 0} !17 = !{!"TYPE_8__", !12, i64 0} !18 = !{!7, !9, i64 0} !19 = !{!7, !12, i64 8} !20 = !{!14, !12, i64 0} !21 = !{!9, !9, i64 0} !22 = distinct !{!22, !23, !24, !25} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!"llvm.loop.isvectorized", i32 1} !25 = !{!"llvm.loop.unroll.runtime.disable"} !26 = distinct !{!26, !23, !25, !24}
linux_arch_powerpc_kvm_extr_book3s_hv.c_kvm_arch_vcpu_ioctl_get_sregs_hv
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_rk808-regulator.c_rk808_buck1_2_set_voltage_time_sel.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_rk808-regulator.c_rk808_buck1_2_set_voltage_time_sel.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 @rk808_buck1_2_set_voltage_time_sel], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rk808_buck1_2_set_voltage_time_sel(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2 %5 = tail call i32 @rdev_get_id(ptr noundef %0) #2 %6 = load ptr, ptr %4, align 8, !tbaa !5 %7 = sext i32 %5 to i64 %8 = getelementptr inbounds ptr, ptr %6, i64 %7 %9 = load ptr, ptr %8, align 8, !tbaa !10 %10 = icmp eq ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %3 %12 = tail call i32 @regulator_set_voltage_time_sel(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 br label %13 13: ; preds = %3, %11 %14 = phi i32 [ %12, %11 ], [ 0, %3 ] ret i32 %14 } declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @rdev_get_id(ptr noundef) local_unnamed_addr #1 declare i32 @regulator_set_voltage_time_sel(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, !7, i64 0} !6 = !{!"rk808_regulator_data", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_rk808-regulator.c_rk808_buck1_2_set_voltage_time_sel.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_rk808-regulator.c_rk808_buck1_2_set_voltage_time_sel.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 @rk808_buck1_2_set_voltage_time_sel], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rk808_buck1_2_set_voltage_time_sel(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2 %5 = tail call i32 @rdev_get_id(ptr noundef %0) #2 %6 = load ptr, ptr %4, align 8, !tbaa !6 %7 = sext i32 %5 to i64 %8 = getelementptr inbounds ptr, ptr %6, i64 %7 %9 = load ptr, ptr %8, align 8, !tbaa !11 %10 = icmp eq ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %3 %12 = tail call i32 @regulator_set_voltage_time_sel(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 br label %13 13: ; preds = %3, %11 %14 = phi i32 [ %12, %11 ], [ 0, %3 ] ret i32 %14 } declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @rdev_get_id(ptr noundef) local_unnamed_addr #1 declare i32 @regulator_set_voltage_time_sel(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, !8, i64 0} !7 = !{!"rk808_regulator_data", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_regulator_extr_rk808-regulator.c_rk808_buck1_2_set_voltage_time_sel
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/strmbase/extr_pospass.c_SeekOuter_Release.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/strmbase/extr_pospass.c_SeekOuter_Release.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, ptr, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @SeekOuter_Release], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @SeekOuter_Release(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %5, %1 br label %10 10: ; preds = %5, %9 %11 = phi ptr [ %0, %9 ], [ %3, %5 ] %12 = tail call i32 @IUnknown_Release(ptr noundef nonnull %11) #2 ret i32 %12 } declare i32 @IUnknown_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, !10, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, 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 = !{!"long", !8, i64 0} !12 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/strmbase/extr_pospass.c_SeekOuter_Release.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/strmbase/extr_pospass.c_SeekOuter_Release.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 @SeekOuter_Release], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @SeekOuter_Release(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %5, %1 br label %10 10: ; preds = %5, %9 %11 = phi ptr [ %0, %9 ], [ %3, %5 ] %12 = tail call i32 @IUnknown_Release(ptr noundef nonnull %11) #2 ret i32 %12 } declare i32 @IUnknown_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, !11, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, 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 = !{!"long", !9, i64 0} !13 = !{!7, !12, i64 16}
reactos_sdk_lib_3rdparty_strmbase_extr_pospass.c_SeekOuter_Release
; ModuleID = 'AnghaBench/freebsd/contrib/byacc/extr_main.c_done.c' source_filename = "AnghaBench/freebsd/contrib/byacc/extr_main.c_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" @input_file = dso_local local_unnamed_addr global i32 0, align 4 @output_file = dso_local local_unnamed_addr global i32 0, align 4 @iflag = dso_local local_unnamed_addr global i64 0, align 8 @externs_file = dso_local local_unnamed_addr global i32 0, align 4 @rflag = dso_local local_unnamed_addr global i64 0, align 8 @code_file = dso_local local_unnamed_addr global i32 0, align 4 @action_file = dso_local local_unnamed_addr global i32 0, align 4 @defines_file = dso_local local_unnamed_addr global i32 0, align 4 @graph_file = dso_local local_unnamed_addr global i32 0, align 4 @text_file = dso_local local_unnamed_addr global i32 0, align 4 @union_file = dso_local local_unnamed_addr global i32 0, align 4 @verbose_file = dso_local local_unnamed_addr global i32 0, align 4 @got_intr = dso_local local_unnamed_addr global i64 0, align 8 @EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @code_file_name = dso_local local_unnamed_addr global i32 0, align 4 @defines_file_name = dso_local local_unnamed_addr global i32 0, align 4 @dflag = dso_local local_unnamed_addr global i64 0, align 8 @externs_file_name = dso_local local_unnamed_addr global i32 0, align 4 @gflag = dso_local local_unnamed_addr global i64 0, align 8 @graph_file_name = dso_local local_unnamed_addr global i32 0, align 4 @oflag = dso_local local_unnamed_addr global i64 0, align 8 @output_file_name = dso_local local_unnamed_addr global i32 0, align 4 @verbose_file_name = dso_local local_unnamed_addr global i32 0, align 4 @vflag = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: noreturn nounwind uwtable define dso_local void @done(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @input_file, align 4, !tbaa !5 %3 = tail call i32 @DO_CLOSE(i32 noundef %2) #3 %4 = load i32, ptr @output_file, align 4, !tbaa !5 %5 = tail call i32 @DO_CLOSE(i32 noundef %4) #3 %6 = load i64, ptr @iflag, align 8, !tbaa !9 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i32, ptr @externs_file, align 4, !tbaa !5 %10 = tail call i32 @DO_CLOSE(i32 noundef %9) #3 br label %11 11: ; preds = %8, %1 %12 = load i64, ptr @rflag, align 8, !tbaa !9 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i32, ptr @code_file, align 4, !tbaa !5 %16 = tail call i32 @DO_CLOSE(i32 noundef %15) #3 br label %17 17: ; preds = %14, %11 %18 = load i32, ptr @action_file, align 4, !tbaa !5 %19 = tail call i32 @DO_CLOSE(i32 noundef %18) #3 %20 = load i32, ptr @defines_file, align 4, !tbaa !5 %21 = tail call i32 @DO_CLOSE(i32 noundef %20) #3 %22 = load i32, ptr @graph_file, align 4, !tbaa !5 %23 = tail call i32 @DO_CLOSE(i32 noundef %22) #3 %24 = load i32, ptr @text_file, align 4, !tbaa !5 %25 = tail call i32 @DO_CLOSE(i32 noundef %24) #3 %26 = load i32, ptr @union_file, align 4, !tbaa !5 %27 = tail call i32 @DO_CLOSE(i32 noundef %26) #3 %28 = load i32, ptr @verbose_file, align 4, !tbaa !5 %29 = tail call i32 @DO_CLOSE(i32 noundef %28) #3 %30 = load i64, ptr @got_intr, align 8, !tbaa !9 %31 = icmp eq i64 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %17 %33 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5 %34 = tail call i32 @_exit(i32 noundef %33) #4 unreachable 35: ; preds = %17 %36 = tail call i32 @exit(i32 noundef %0) #4 unreachable } declare i32 @DO_CLOSE(i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) local_unnamed_addr #2 ; 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, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/byacc/extr_main.c_done.c' source_filename = "AnghaBench/freebsd/contrib/byacc/extr_main.c_done.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @input_file = common local_unnamed_addr global i32 0, align 4 @output_file = common local_unnamed_addr global i32 0, align 4 @iflag = common local_unnamed_addr global i64 0, align 8 @externs_file = common local_unnamed_addr global i32 0, align 4 @rflag = common local_unnamed_addr global i64 0, align 8 @code_file = common local_unnamed_addr global i32 0, align 4 @action_file = common local_unnamed_addr global i32 0, align 4 @defines_file = common local_unnamed_addr global i32 0, align 4 @graph_file = common local_unnamed_addr global i32 0, align 4 @text_file = common local_unnamed_addr global i32 0, align 4 @union_file = common local_unnamed_addr global i32 0, align 4 @verbose_file = common local_unnamed_addr global i32 0, align 4 @got_intr = common local_unnamed_addr global i64 0, align 8 @EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4 @code_file_name = common local_unnamed_addr global i32 0, align 4 @defines_file_name = common local_unnamed_addr global i32 0, align 4 @dflag = common local_unnamed_addr global i64 0, align 8 @externs_file_name = common local_unnamed_addr global i32 0, align 4 @gflag = common local_unnamed_addr global i64 0, align 8 @graph_file_name = common local_unnamed_addr global i32 0, align 4 @oflag = common local_unnamed_addr global i64 0, align 8 @output_file_name = common local_unnamed_addr global i32 0, align 4 @verbose_file_name = common local_unnamed_addr global i32 0, align 4 @vflag = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @done(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @input_file, align 4, !tbaa !6 %3 = tail call i32 @DO_CLOSE(i32 noundef %2) #3 %4 = load i32, ptr @output_file, align 4, !tbaa !6 %5 = tail call i32 @DO_CLOSE(i32 noundef %4) #3 %6 = load i64, ptr @iflag, align 8, !tbaa !10 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i32, ptr @externs_file, align 4, !tbaa !6 %10 = tail call i32 @DO_CLOSE(i32 noundef %9) #3 br label %11 11: ; preds = %8, %1 %12 = load i64, ptr @rflag, align 8, !tbaa !10 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %11 %15 = load i32, ptr @code_file, align 4, !tbaa !6 %16 = tail call i32 @DO_CLOSE(i32 noundef %15) #3 br label %17 17: ; preds = %14, %11 %18 = load i32, ptr @action_file, align 4, !tbaa !6 %19 = tail call i32 @DO_CLOSE(i32 noundef %18) #3 %20 = load i32, ptr @defines_file, align 4, !tbaa !6 %21 = tail call i32 @DO_CLOSE(i32 noundef %20) #3 %22 = load i32, ptr @graph_file, align 4, !tbaa !6 %23 = tail call i32 @DO_CLOSE(i32 noundef %22) #3 %24 = load i32, ptr @text_file, align 4, !tbaa !6 %25 = tail call i32 @DO_CLOSE(i32 noundef %24) #3 %26 = load i32, ptr @union_file, align 4, !tbaa !6 %27 = tail call i32 @DO_CLOSE(i32 noundef %26) #3 %28 = load i32, ptr @verbose_file, align 4, !tbaa !6 %29 = tail call i32 @DO_CLOSE(i32 noundef %28) #3 %30 = load i64, ptr @got_intr, align 8, !tbaa !10 %31 = icmp eq i64 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %17 %33 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6 %34 = tail call i32 @_exit(i32 noundef %33) #4 unreachable 35: ; preds = %17 %36 = tail call i32 @exit(i32 noundef %0) #4 unreachable } declare i32 @DO_CLOSE(i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) local_unnamed_addr #2 ; 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, !11, i64 0} !11 = !{!"long", !8, i64 0}
freebsd_contrib_byacc_extr_main.c_done
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_clock_oldops.c_host_get_clock_control.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_clock_oldops.c_host_get_clock_control.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 } @HOST_PRIV_NULL = dso_local local_unnamed_addr global i64 0, align 8 @clock_count = dso_local local_unnamed_addr global i64 0, align 8 @CLOCK_NULL = dso_local local_unnamed_addr global ptr null, align 8 @KERN_INVALID_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4 @clock_list = dso_local local_unnamed_addr global ptr null, align 8 @KERN_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local i32 @host_get_clock_control(i64 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = load i64, ptr @HOST_PRIV_NULL, align 8, !tbaa !5 %5 = icmp ne i64 %4, %0 %6 = load i64, ptr @clock_count, align 8 %7 = icmp ugt i64 %6, %1 %8 = select i1 %5, i1 %7, i1 false br i1 %8, label %11, label %9 9: ; preds = %3 %10 = load ptr, ptr @CLOCK_NULL, align 8, !tbaa !9 br label %17 11: ; preds = %3 %12 = load ptr, ptr @clock_list, align 8, !tbaa !9 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i64 %1 %14 = load i64, ptr %13, align 8, !tbaa !11 %15 = icmp eq i64 %14, 0 %16 = select i1 %15, ptr @KERN_FAILURE, ptr @KERN_SUCCESS br label %17 17: ; preds = %11, %9 %18 = phi ptr [ %13, %11 ], [ %10, %9 ] %19 = phi ptr [ %16, %11 ], [ @KERN_INVALID_ARGUMENT, %9 ] store ptr %18, ptr %2, align 8 %20 = load i32, ptr %19, align 4, !tbaa !13 ret i32 %20 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, 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 = !{!"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 = !{!12, !6, i64 0} !12 = !{!"TYPE_5__", !6, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_clock_oldops.c_host_get_clock_control.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_clock_oldops.c_host_get_clock_control.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i64 } @HOST_PRIV_NULL = common local_unnamed_addr global i64 0, align 8 @clock_count = common local_unnamed_addr global i64 0, align 8 @CLOCK_NULL = common local_unnamed_addr global ptr null, align 8 @KERN_INVALID_ARGUMENT = common local_unnamed_addr global i32 0, align 4 @clock_list = common local_unnamed_addr global ptr null, align 8 @KERN_FAILURE = common local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define i32 @host_get_clock_control(i64 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = load i64, ptr @HOST_PRIV_NULL, align 8, !tbaa !6 %5 = icmp ne i64 %4, %0 %6 = load i64, ptr @clock_count, align 8 %7 = icmp ugt i64 %6, %1 %8 = select i1 %5, i1 %7, i1 false br i1 %8, label %11, label %9 9: ; preds = %3 %10 = load ptr, ptr @CLOCK_NULL, align 8, !tbaa !10 br label %17 11: ; preds = %3 %12 = load ptr, ptr @clock_list, align 8, !tbaa !10 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %12, i64 %1 %14 = load i64, ptr %13, align 8, !tbaa !12 %15 = icmp eq i64 %14, 0 %16 = select i1 %15, ptr @KERN_FAILURE, ptr @KERN_SUCCESS br label %17 17: ; preds = %11, %9 %18 = phi ptr [ %13, %11 ], [ %10, %9 ] %19 = phi ptr [ %16, %11 ], [ @KERN_INVALID_ARGUMENT, %9 ] store ptr %18, ptr %2, align 8 %20 = load i32, ptr %19, align 4, !tbaa !14 ret i32 %20 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, 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 = !{!"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 = !{!13, !7, i64 0} !13 = !{!"TYPE_5__", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0}
darwin-xnu_osfmk_kern_extr_clock_oldops.c_host_get_clock_control
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic.h_qlcnic_fw_cmd_create_rx_ctx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic.h_qlcnic_fw_cmd_create_rx_ctx.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 @qlcnic_fw_cmd_create_rx_ctx], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @qlcnic_fw_cmd_create_rx_ctx(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = tail call i32 %4(ptr noundef nonnull %0) #1 ret i32 %5 } 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 = { 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 = !{!"qlcnic_adapter", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic.h_qlcnic_fw_cmd_create_rx_ctx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic.h_qlcnic_fw_cmd_create_rx_ctx.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 @qlcnic_fw_cmd_create_rx_ctx], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @qlcnic_fw_cmd_create_rx_ctx(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load ptr, ptr %3, align 8, !tbaa !13 %5 = tail call i32 %4(ptr noundef nonnull %0) #1 ret i32 %5 } 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 = { 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 = !{!"qlcnic_adapter", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_4__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_3__", !8, i64 0}
linux_drivers_net_ethernet_qlogic_qlcnic_extr_qlcnic.h_qlcnic_fw_cmd_create_rx_ctx
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/al1/extr_al1.c_led_set_kb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/al1/extr_al1.c_led_set_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" @CONFIG_LED_IO = dso_local local_unnamed_addr global i32 0, align 4 @USB_LED_CAPS_LOCK = dso_local local_unnamed_addr global i32 0, align 4 @PORTB = dso_local local_unnamed_addr global i32 0, align 4 @USB_LED_NUM_LOCK = dso_local local_unnamed_addr global i32 0, align 4 @PORTD = dso_local local_unnamed_addr global i32 0, align 4 @USB_LED_SCROLL_LOCK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @led_set_kb(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @print_dec(i32 noundef %0) #2 %3 = load i32, ptr @USB_LED_CAPS_LOCK, align 4, !tbaa !5 %4 = shl nuw i32 1, %3 %5 = and i32 %4, %0 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @PORTB, align 4 %8 = and i32 %7, -129 %9 = select i1 %6, i32 128, i32 0 %10 = or disjoint i32 %9, %8 store i32 %10, ptr @PORTB, align 4, !tbaa !5 %11 = load i32, ptr @USB_LED_NUM_LOCK, align 4, !tbaa !5 %12 = load i32, ptr @PORTD, align 4 %13 = and i32 %12, -4 %14 = xor i32 %0, -1 %15 = lshr i32 %14, %11 %16 = and i32 %15, 1 %17 = or disjoint i32 %13, %16 %18 = load i32, ptr @USB_LED_SCROLL_LOCK, align 4, !tbaa !5 %19 = shl nuw i32 1, %18 %20 = and i32 %19, %0 %21 = icmp eq i32 %20, 0 %22 = select i1 %21, i32 2, i32 0 %23 = or disjoint i32 %22, %17 store i32 %23, ptr @PORTD, align 4, !tbaa !5 %24 = tail call i32 @led_set_user(i32 noundef %0) #2 ret void } declare i32 @print_dec(i32 noundef) local_unnamed_addr #1 declare i32 @led_set_user(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/qmk_firmware/keyboards/al1/extr_al1.c_led_set_kb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/al1/extr_al1.c_led_set_kb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CONFIG_LED_IO = common local_unnamed_addr global i32 0, align 4 @USB_LED_CAPS_LOCK = common local_unnamed_addr global i32 0, align 4 @PORTB = common local_unnamed_addr global i32 0, align 4 @USB_LED_NUM_LOCK = common local_unnamed_addr global i32 0, align 4 @PORTD = common local_unnamed_addr global i32 0, align 4 @USB_LED_SCROLL_LOCK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @led_set_kb(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @print_dec(i32 noundef %0) #2 %3 = load i32, ptr @USB_LED_CAPS_LOCK, align 4, !tbaa !6 %4 = shl nuw i32 1, %3 %5 = and i32 %4, %0 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @PORTB, align 4 %8 = and i32 %7, -129 %9 = select i1 %6, i32 128, i32 0 %10 = or disjoint i32 %9, %8 store i32 %10, ptr @PORTB, align 4, !tbaa !6 %11 = load i32, ptr @USB_LED_NUM_LOCK, align 4, !tbaa !6 %12 = load i32, ptr @PORTD, align 4 %13 = and i32 %12, -4 %14 = xor i32 %0, -1 %15 = lshr i32 %14, %11 %16 = and i32 %15, 1 %17 = or disjoint i32 %13, %16 %18 = load i32, ptr @USB_LED_SCROLL_LOCK, align 4, !tbaa !6 %19 = shl nuw i32 1, %18 %20 = and i32 %19, %0 %21 = icmp eq i32 %20, 0 %22 = select i1 %21, i32 2, i32 0 %23 = or disjoint i32 %22, %17 store i32 %23, ptr @PORTD, align 4, !tbaa !6 %24 = tail call i32 @led_set_user(i32 noundef %0) #2 ret void } declare i32 @print_dec(i32 noundef) local_unnamed_addr #1 declare i32 @led_set_user(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"}
qmk_firmware_keyboards_al1_extr_al1.c_led_set_kb
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_7zStream.c_LookInStream_LookRead.c' source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_7zStream.c_LookInStream_LookRead.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 { ptr, ptr } @SZ_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @LookInStream_LookRead(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load i64, ptr %2, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = load i32, ptr @SZ_OK, align 4, !tbaa !9 br label %20 9: ; preds = %3 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !11 %12 = call i32 %11(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %2) #3 %13 = call i32 @RINOK(i32 noundef %12) #3 %14 = load ptr, ptr %4, align 8, !tbaa !14 %15 = load i64, ptr %2, align 8, !tbaa !5 %16 = call i32 @memcpy(ptr noundef %1, ptr noundef %14, i64 noundef %15) #3 %17 = load ptr, ptr %0, align 8, !tbaa !15 %18 = load i64, ptr %2, align 8, !tbaa !5 %19 = call i32 %17(ptr noundef nonnull %0, i64 noundef %18) #3 br label %20 20: ; preds = %9, %7 %21 = phi i32 [ %8, %7 ], [ %19, %9 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RINOK(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(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 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} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_5__", !13, i64 0, !13, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_7zStream.c_LookInStream_LookRead.c' source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_7zStream.c_LookInStream_LookRead.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SZ_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @LookInStream_LookRead(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load i64, ptr %2, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = load i32, ptr @SZ_OK, align 4, !tbaa !10 br label %20 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = call i32 %11(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %2) #3 %13 = call i32 @RINOK(i32 noundef %12) #3 %14 = load ptr, ptr %4, align 8, !tbaa !15 %15 = load i64, ptr %2, align 8, !tbaa !6 %16 = call i32 @memcpy(ptr noundef %1, ptr noundef %14, i64 noundef %15) #3 %17 = load ptr, ptr %0, align 8, !tbaa !16 %18 = load i64, ptr %2, align 8, !tbaa !6 %19 = call i32 %17(ptr noundef nonnull %0, i64 noundef %18) #3 br label %20 20: ; preds = %9, %7 %21 = phi i32 [ %8, %7 ], [ %19, %9 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RINOK(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(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 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} !12 = !{!13, !14, i64 8} !13 = !{!"TYPE_5__", !14, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 0}
sumatrapdf_ext_lzma_C_extr_7zStream.c_LookInStream_LookRead
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_fixedarray.c_spl_fixedarray_object_write_dimension_helper.c' source_filename = "AnghaBench/php-src/ext/spl/extr_spl_fixedarray.c_spl_fixedarray_object_write_dimension_helper.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 } @spl_ce_RuntimeException = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Index invalid or out of range\00", align 1 @IS_LONG = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @spl_fixedarray_object_write_dimension_helper], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @spl_fixedarray_object_write_dimension_helper(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = icmp eq ptr %1, null br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @spl_ce_RuntimeException, align 4, !tbaa !5 %7 = tail call i32 @zend_throw_exception(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef 0) #2 br label %38 8: ; preds = %3 %9 = tail call i64 @Z_TYPE_P(ptr noundef nonnull %1) #2 %10 = load i64, ptr @IS_LONG, align 8, !tbaa !9 %11 = icmp eq i64 %9, %10 br i1 %11, label %14, label %12 12: ; preds = %8 %13 = tail call i64 @spl_offset_convert_to_long(ptr noundef nonnull %1) #2 br label %16 14: ; preds = %8 %15 = tail call i64 @Z_LVAL_P(ptr noundef nonnull %1) #2 br label %16 16: ; preds = %12, %14 %17 = phi i64 [ %13, %12 ], [ %15, %14 ] %18 = load i64, ptr %0, align 8, !tbaa !11 %19 = icmp ult i64 %17, %18 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = load i32, ptr @spl_ce_RuntimeException, align 4, !tbaa !5 %22 = tail call i32 @zend_throw_exception(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef 0) #2 br label %38 23: ; preds = %16 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !15 %26 = getelementptr inbounds i32, ptr %25, i64 %17 %27 = load i32, ptr %26, align 4, !tbaa !5 %28 = tail call i32 @Z_ISUNDEF(i32 noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %23 %31 = load ptr, ptr %24, align 8, !tbaa !15 %32 = getelementptr inbounds i32, ptr %31, i64 %17 %33 = tail call i32 @zval_ptr_dtor(ptr noundef %32) #2 br label %34 34: ; preds = %30, %23 %35 = load ptr, ptr %24, align 8, !tbaa !15 %36 = getelementptr inbounds i32, ptr %35, i64 %17 %37 = tail call i32 @ZVAL_COPY_DEREF(ptr noundef %36, ptr noundef %2) #2 br label %38 38: ; preds = %34, %20, %5 ret void } declare i32 @zend_throw_exception(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @Z_TYPE_P(ptr noundef) local_unnamed_addr #1 declare i64 @spl_offset_convert_to_long(ptr noundef) local_unnamed_addr #1 declare i64 @Z_LVAL_P(ptr noundef) local_unnamed_addr #1 declare i32 @Z_ISUNDEF(i32 noundef) local_unnamed_addr #1 declare i32 @zval_ptr_dtor(ptr noundef) local_unnamed_addr #1 declare i32 @ZVAL_COPY_DEREF(ptr 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"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"TYPE_4__", !10, i64 0, !14, i64 8} !14 = !{!"any pointer", !7, i64 0} !15 = !{!12, !14, i64 8}
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_fixedarray.c_spl_fixedarray_object_write_dimension_helper.c' source_filename = "AnghaBench/php-src/ext/spl/extr_spl_fixedarray.c_spl_fixedarray_object_write_dimension_helper.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @spl_ce_RuntimeException = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Index invalid or out of range\00", align 1 @IS_LONG = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @spl_fixedarray_object_write_dimension_helper], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @spl_fixedarray_object_write_dimension_helper(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = icmp eq ptr %1, null br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @spl_ce_RuntimeException, align 4, !tbaa !6 %7 = tail call i32 @zend_throw_exception(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef 0) #2 br label %38 8: ; preds = %3 %9 = tail call i64 @Z_TYPE_P(ptr noundef nonnull %1) #2 %10 = load i64, ptr @IS_LONG, align 8, !tbaa !10 %11 = icmp eq i64 %9, %10 br i1 %11, label %14, label %12 12: ; preds = %8 %13 = tail call i64 @spl_offset_convert_to_long(ptr noundef nonnull %1) #2 br label %16 14: ; preds = %8 %15 = tail call i64 @Z_LVAL_P(ptr noundef nonnull %1) #2 br label %16 16: ; preds = %12, %14 %17 = phi i64 [ %13, %12 ], [ %15, %14 ] %18 = load i64, ptr %0, align 8, !tbaa !12 %19 = icmp ult i64 %17, %18 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = load i32, ptr @spl_ce_RuntimeException, align 4, !tbaa !6 %22 = tail call i32 @zend_throw_exception(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef 0) #2 br label %38 23: ; preds = %16 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !16 %26 = getelementptr inbounds i32, ptr %25, i64 %17 %27 = load i32, ptr %26, align 4, !tbaa !6 %28 = tail call i32 @Z_ISUNDEF(i32 noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %23 %31 = load ptr, ptr %24, align 8, !tbaa !16 %32 = getelementptr inbounds i32, ptr %31, i64 %17 %33 = tail call i32 @zval_ptr_dtor(ptr noundef %32) #2 br label %34 34: ; preds = %30, %23 %35 = load ptr, ptr %24, align 8, !tbaa !16 %36 = getelementptr inbounds i32, ptr %35, i64 %17 %37 = tail call i32 @ZVAL_COPY_DEREF(ptr noundef %36, ptr noundef %2) #2 br label %38 38: ; preds = %34, %20, %5 ret void } declare i32 @zend_throw_exception(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @Z_TYPE_P(ptr noundef) local_unnamed_addr #1 declare i64 @spl_offset_convert_to_long(ptr noundef) local_unnamed_addr #1 declare i64 @Z_LVAL_P(ptr noundef) local_unnamed_addr #1 declare i32 @Z_ISUNDEF(i32 noundef) local_unnamed_addr #1 declare i32 @zval_ptr_dtor(ptr noundef) local_unnamed_addr #1 declare i32 @ZVAL_COPY_DEREF(ptr 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"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"TYPE_4__", !11, i64 0, !15, i64 8} !15 = !{!"any pointer", !8, i64 0} !16 = !{!13, !15, i64 8}
php-src_ext_spl_extr_spl_fixedarray.c_spl_fixedarray_object_write_dimension_helper
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_cf-parser.h_cf_go_to_token.c' source_filename = "AnghaBench/obs-studio/libobs/util/extr_cf-parser.h_cf_go_to_token.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 @cf_go_to_token], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @cf_go_to_token(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i64 @cf_next_token(ptr noundef %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %28, label %6 6: ; preds = %3 %7 = icmp eq ptr %2, null br label %8 8: ; preds = %6, %25 %9 = load ptr, ptr %0, align 8, !tbaa !5 %10 = tail call i64 @strref_cmp(ptr noundef %9, ptr noundef %1) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %28, label %12 12: ; preds = %8 br i1 %7, label %17, label %13 13: ; preds = %12 %14 = load ptr, ptr %0, align 8, !tbaa !5 %15 = tail call i64 @strref_cmp(ptr noundef %14, ptr noundef nonnull %2) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %28, label %17 17: ; preds = %13, %12 %18 = load ptr, ptr %0, align 8, !tbaa !5 %19 = load ptr, ptr %18, align 8, !tbaa !10 %20 = load i8, ptr %19, align 1, !tbaa !13 %21 = icmp eq i8 %20, 123 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = tail call i32 @cf_pass_pair(ptr noundef nonnull %0, i8 noundef signext 123, i8 noundef signext 125) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22, %17 %26 = tail call i64 @cf_next_token(ptr noundef nonnull %0) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %8, !llvm.loop !14 28: ; preds = %8, %13, %22, %25, %3 %29 = phi i32 [ 0, %3 ], [ 0, %25 ], [ 0, %22 ], [ 1, %13 ], [ 1, %8 ] ret i32 %29 } declare i64 @cf_next_token(ptr noundef) local_unnamed_addr #1 declare i64 @strref_cmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cf_pass_pair(ptr noundef, i8 noundef signext, i8 noundef signext) 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 = !{!"cf_parser", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/obs-studio/libobs/util/extr_cf-parser.h_cf_go_to_token.c' source_filename = "AnghaBench/obs-studio/libobs/util/extr_cf-parser.h_cf_go_to_token.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 @cf_go_to_token], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @cf_go_to_token(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i64 @cf_next_token(ptr noundef %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %28, label %6 6: ; preds = %3 %7 = icmp eq ptr %2, null br label %8 8: ; preds = %6, %25 %9 = load ptr, ptr %0, align 8, !tbaa !6 %10 = tail call i64 @strref_cmp(ptr noundef %9, ptr noundef %1) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %28, label %12 12: ; preds = %8 br i1 %7, label %17, label %13 13: ; preds = %12 %14 = load ptr, ptr %0, align 8, !tbaa !6 %15 = tail call i64 @strref_cmp(ptr noundef %14, ptr noundef nonnull %2) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %28, label %17 17: ; preds = %13, %12 %18 = load ptr, ptr %0, align 8, !tbaa !6 %19 = load ptr, ptr %18, align 8, !tbaa !11 %20 = load i8, ptr %19, align 1, !tbaa !14 %21 = icmp eq i8 %20, 123 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = tail call i32 @cf_pass_pair(ptr noundef nonnull %0, i8 noundef signext 123, i8 noundef signext 125) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22, %17 %26 = tail call i64 @cf_next_token(ptr noundef nonnull %0) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %8, !llvm.loop !15 28: ; preds = %8, %13, %22, %25, %3 %29 = phi i32 [ 0, %3 ], [ 0, %25 ], [ 0, %22 ], [ 1, %13 ], [ 1, %8 ] ret i32 %29 } declare i64 @cf_next_token(ptr noundef) local_unnamed_addr #1 declare i64 @strref_cmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cf_pass_pair(ptr noundef, i8 noundef signext, i8 noundef signext) 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 = !{!"cf_parser", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"TYPE_4__", !8, i64 0} !14 = !{!9, !9, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
obs-studio_libobs_util_extr_cf-parser.h_cf_go_to_token
; ModuleID = 'AnghaBench/linux/kernel/time/extr_posix-stubs.c_do_clock_gettime.c' source_filename = "AnghaBench/linux/kernel/time/extr_posix-stubs.c_do_clock_gettime.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" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @do_clock_gettime(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { switch i32 %0, label %9 [ i32 128, label %3 i32 129, label %5 i32 130, label %7 ] 3: ; preds = %2 %4 = tail call i32 @ktime_get_real_ts64(ptr noundef %1) #2 br label %12 5: ; preds = %2 %6 = tail call i32 @ktime_get_ts64(ptr noundef %1) #2 br label %12 7: ; preds = %2 %8 = tail call i32 @ktime_get_boottime_ts64(ptr noundef %1) #2 br label %12 9: ; preds = %2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !5 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %3, %5, %7, %9 %13 = phi i32 [ %11, %9 ], [ 0, %7 ], [ 0, %5 ], [ 0, %3 ] ret i32 %13 } declare i32 @ktime_get_real_ts64(ptr noundef) local_unnamed_addr #1 declare i32 @ktime_get_ts64(ptr noundef) local_unnamed_addr #1 declare i32 @ktime_get_boottime_ts64(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/linux/kernel/time/extr_posix-stubs.c_do_clock_gettime.c' source_filename = "AnghaBench/linux/kernel/time/extr_posix-stubs.c_do_clock_gettime.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 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @do_clock_gettime(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { switch i32 %0, label %9 [ i32 128, label %3 i32 129, label %5 i32 130, label %7 ] 3: ; preds = %2 %4 = tail call i32 @ktime_get_real_ts64(ptr noundef %1) #2 br label %12 5: ; preds = %2 %6 = tail call i32 @ktime_get_ts64(ptr noundef %1) #2 br label %12 7: ; preds = %2 %8 = tail call i32 @ktime_get_boottime_ts64(ptr noundef %1) #2 br label %12 9: ; preds = %2 %10 = load i32, ptr @EINVAL, align 4, !tbaa !6 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %3, %5, %7, %9 %13 = phi i32 [ %11, %9 ], [ 0, %7 ], [ 0, %5 ], [ 0, %3 ] ret i32 %13 } declare i32 @ktime_get_real_ts64(ptr noundef) local_unnamed_addr #1 declare i32 @ktime_get_ts64(ptr noundef) local_unnamed_addr #1 declare i32 @ktime_get_boottime_ts64(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"}
linux_kernel_time_extr_posix-stubs.c_do_clock_gettime
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/validator/extr_val_neg.c_nsec3_no_type.c' source_filename = "AnghaBench/freebsd/contrib/unbound/validator/extr_val_neg.c_nsec3_no_type.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 @nsec3_no_type], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @nsec3_no_type(ptr noundef %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = load i64, ptr %4, align 8, !tbaa !11 %6 = trunc i64 %5 to i32 %7 = icmp sgt i32 %6, 0 br i1 %7, label %11, label %15 8: ; preds = %11 %9 = add nuw nsw i32 %12, 1 %10 = icmp eq i32 %9, %6 br i1 %10, label %15, label %11, !llvm.loop !13 11: ; preds = %2, %8 %12 = phi i32 [ %9, %8 ], [ 0, %2 ] %13 = tail call i64 @nsec3_has_type(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %1) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %8, label %15 15: ; preds = %11, %8, %2 %16 = phi i32 [ 1, %2 ], [ 1, %8 ], [ 0, %11 ] ret i32 %16 } declare i64 @nsec3_has_type(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, !8, i64 0} !6 = !{!"ub_packed_rrset_key", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"packed_rrset_data", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/validator/extr_val_neg.c_nsec3_no_type.c' source_filename = "AnghaBench/freebsd/contrib/unbound/validator/extr_val_neg.c_nsec3_no_type.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 @nsec3_no_type], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @nsec3_no_type(ptr noundef %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = load i64, ptr %4, align 8, !tbaa !12 %6 = trunc i64 %5 to i32 %7 = icmp sgt i32 %6, 0 br i1 %7, label %11, label %15 8: ; preds = %11 %9 = add nuw nsw i32 %12, 1 %10 = icmp eq i32 %9, %6 br i1 %10, label %15, label %11, !llvm.loop !14 11: ; preds = %2, %8 %12 = phi i32 [ %9, %8 ], [ 0, %2 ] %13 = tail call i64 @nsec3_has_type(ptr noundef nonnull %0, i32 noundef %12, i32 noundef %1) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %8, label %15 15: ; preds = %11, %8, %2 %16 = phi i32 [ 1, %2 ], [ 1, %8 ], [ 0, %11 ] ret i32 %16 } declare i64 @nsec3_has_type(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, !9, i64 0} !7 = !{!"ub_packed_rrset_key", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !9, i64 0} !13 = !{!"packed_rrset_data", !9, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_unbound_validator_extr_val_neg.c_nsec3_no_type
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_esbq_req_test.c' source_filename = "AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_esbq_req_test.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 @wl3501_esbq_req_test], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wl3501_esbq_req_test(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !5 %3 = load i64, ptr %0, align 8, !tbaa !9 %4 = add nsw i64 %3, 3 %5 = call i32 @wl3501_get_from_wla(ptr noundef nonnull %0, i64 noundef %4, ptr noundef nonnull %2, i32 noundef 4) #3 %6 = load i32, ptr %2, align 4, !tbaa !5 %7 = and i32 %6, 128 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wl3501_get_from_wla(ptr noundef, i64 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, !11, i64 0} !10 = !{!"wl3501_card", !11, i64 0} !11 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_esbq_req_test.c' source_filename = "AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_esbq_req_test.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 @wl3501_esbq_req_test], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 129) i32 @wl3501_esbq_req_test(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !6 %3 = load i64, ptr %0, align 8, !tbaa !10 %4 = add nsw i64 %3, 3 %5 = call i32 @wl3501_get_from_wla(ptr noundef nonnull %0, i64 noundef %4, ptr noundef nonnull %2, i32 noundef 4) #3 %6 = load i32, ptr %2, align 4, !tbaa !6 %7 = and i32 %6, 128 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wl3501_get_from_wla(ptr noundef, i64 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, !12, i64 0} !11 = !{!"wl3501_card", !12, i64 0} !12 = !{!"long", !8, i64 0}
linux_drivers_net_wireless_extr_wl3501_cs.c_wl3501_esbq_req_test
; ModuleID = 'AnghaBench/tig/src/extr_options.c_commit_order_arg.c' source_filename = "AnghaBench/tig/src/extr_options.c_commit_order_arg.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 { ptr } @commit_order_arg_map = dso_local local_unnamed_addr global ptr null, align 8 @opt_commit_order = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local ptr @commit_order_arg() local_unnamed_addr #0 { %1 = load ptr, ptr @commit_order_arg_map, align 8, !tbaa !5 %2 = load i64, ptr @opt_commit_order, align 8, !tbaa !9 %3 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 %2 %4 = load ptr, ptr %3, align 8, !tbaa !11 ret ptr %4 } 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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/tig/src/extr_options.c_commit_order_arg.c' source_filename = "AnghaBench/tig/src/extr_options.c_commit_order_arg.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 { ptr } @commit_order_arg_map = common local_unnamed_addr global ptr null, align 8 @opt_commit_order = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define ptr @commit_order_arg() local_unnamed_addr #0 { %1 = load ptr, ptr @commit_order_arg_map, align 8, !tbaa !6 %2 = load i64, ptr @opt_commit_order, align 8, !tbaa !10 %3 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 %2 %4 = load ptr, ptr %3, align 8, !tbaa !12 ret ptr %4 } 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, !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} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0}
tig_src_extr_options.c_commit_order_arg
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xact.c_xact_redo_abort.c' source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xact.c_xact_redo_abort.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, i32, i32 } @standbyState = dso_local local_unnamed_addr global i64 0, align 8 @STANDBY_DISABLED = dso_local local_unnamed_addr global i64 0, align 8 @XACT_XINFO_HAS_AE_LOCKS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xact_redo_abort], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xact_redo_abort(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = tail call i32 @TransactionIdIsValid(i32 noundef %1) #2 %4 = tail call i32 @Assert(i32 noundef %3) #2 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call i32 @TransactionIdLatest(i32 noundef %1, i32 noundef %6, i32 noundef %8) #2 %10 = tail call i32 @AdvanceNextFullTransactionIdPastXid(i32 noundef %9) #2 %11 = load i64, ptr @standbyState, align 8, !tbaa !11 %12 = load i64, ptr @STANDBY_DISABLED, align 8, !tbaa !11 %13 = icmp eq i64 %11, %12 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr %5, align 4, !tbaa !5 %16 = load i32, ptr %7, align 4, !tbaa !10 %17 = tail call i32 @TransactionIdAbortTree(i32 noundef %1, i32 noundef %15, i32 noundef %16) #2 br label %34 18: ; preds = %2 %19 = tail call i32 @RecordKnownAssignedTransactionIds(i32 noundef %9) #2 %20 = load i32, ptr %5, align 4, !tbaa !5 %21 = load i32, ptr %7, align 4, !tbaa !10 %22 = tail call i32 @TransactionIdAbortTree(i32 noundef %1, i32 noundef %20, i32 noundef %21) #2 %23 = load i32, ptr %5, align 4, !tbaa !5 %24 = load i32, ptr %7, align 4, !tbaa !10 %25 = tail call i32 @ExpireTreeKnownAssignedTransactionIds(i32 noundef %1, i32 noundef %23, i32 noundef %24, i32 noundef %9) #2 %26 = load i32, ptr %0, align 4, !tbaa !13 %27 = load i32, ptr @XACT_XINFO_HAS_AE_LOCKS, align 4, !tbaa !14 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %18 %31 = load i32, ptr %5, align 4, !tbaa !5 %32 = load i32, ptr %7, align 4, !tbaa !10 %33 = tail call i32 @StandbyReleaseLockTree(i32 noundef %1, i32 noundef %31, i32 noundef %32) #2 br label %34 34: ; preds = %18, %30, %14 %35 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %36 = load i32, ptr %35, align 4, !tbaa !15 %37 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %38 = load i32, ptr %37, align 4, !tbaa !16 %39 = tail call i32 @DropRelationFiles(i32 noundef %36, i32 noundef %38, i32 noundef 1) #2 ret void } declare i32 @Assert(i32 noundef) local_unnamed_addr #1 declare i32 @TransactionIdIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @TransactionIdLatest(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AdvanceNextFullTransactionIdPastXid(i32 noundef) local_unnamed_addr #1 declare i32 @TransactionIdAbortTree(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RecordKnownAssignedTransactionIds(i32 noundef) local_unnamed_addr #1 declare i32 @ExpireTreeKnownAssignedTransactionIds(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @StandbyReleaseLockTree(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DropRelationFiles(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 16} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 12} !11 = !{!12, !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 8} !16 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xact.c_xact_redo_abort.c' source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xact.c_xact_redo_abort.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @standbyState = common local_unnamed_addr global i64 0, align 8 @STANDBY_DISABLED = common local_unnamed_addr global i64 0, align 8 @XACT_XINFO_HAS_AE_LOCKS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xact_redo_abort], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xact_redo_abort(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = tail call i32 @TransactionIdIsValid(i32 noundef %1) #2 %4 = tail call i32 @Assert(i32 noundef %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 12 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @TransactionIdLatest(i32 noundef %1, i32 noundef %6, i32 noundef %8) #2 %10 = tail call i32 @AdvanceNextFullTransactionIdPastXid(i32 noundef %9) #2 %11 = load i64, ptr @standbyState, align 8, !tbaa !12 %12 = load i64, ptr @STANDBY_DISABLED, align 8, !tbaa !12 %13 = icmp eq i64 %11, %12 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr %5, align 4, !tbaa !6 %16 = load i32, ptr %7, align 4, !tbaa !11 %17 = tail call i32 @TransactionIdAbortTree(i32 noundef %1, i32 noundef %15, i32 noundef %16) #2 br label %34 18: ; preds = %2 %19 = tail call i32 @RecordKnownAssignedTransactionIds(i32 noundef %9) #2 %20 = load i32, ptr %5, align 4, !tbaa !6 %21 = load i32, ptr %7, align 4, !tbaa !11 %22 = tail call i32 @TransactionIdAbortTree(i32 noundef %1, i32 noundef %20, i32 noundef %21) #2 %23 = load i32, ptr %5, align 4, !tbaa !6 %24 = load i32, ptr %7, align 4, !tbaa !11 %25 = tail call i32 @ExpireTreeKnownAssignedTransactionIds(i32 noundef %1, i32 noundef %23, i32 noundef %24, i32 noundef %9) #2 %26 = load i32, ptr %0, align 4, !tbaa !14 %27 = load i32, ptr @XACT_XINFO_HAS_AE_LOCKS, align 4, !tbaa !15 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %34, label %30 30: ; preds = %18 %31 = load i32, ptr %5, align 4, !tbaa !6 %32 = load i32, ptr %7, align 4, !tbaa !11 %33 = tail call i32 @StandbyReleaseLockTree(i32 noundef %1, i32 noundef %31, i32 noundef %32) #2 br label %34 34: ; preds = %18, %30, %14 %35 = getelementptr inbounds i8, ptr %0, i64 8 %36 = load i32, ptr %35, align 4, !tbaa !16 %37 = getelementptr inbounds i8, ptr %0, i64 4 %38 = load i32, ptr %37, align 4, !tbaa !17 %39 = tail call i32 @DropRelationFiles(i32 noundef %36, i32 noundef %38, i32 noundef 1) #2 ret void } declare i32 @Assert(i32 noundef) local_unnamed_addr #1 declare i32 @TransactionIdIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @TransactionIdLatest(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AdvanceNextFullTransactionIdPastXid(i32 noundef) local_unnamed_addr #1 declare i32 @TransactionIdAbortTree(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RecordKnownAssignedTransactionIds(i32 noundef) local_unnamed_addr #1 declare i32 @ExpireTreeKnownAssignedTransactionIds(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @StandbyReleaseLockTree(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DropRelationFiles(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 16} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 12} !12 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 8} !17 = !{!7, !8, i64 4}
postgres_src_backend_access_transam_extr_xact.c_xact_redo_abort
; ModuleID = 'AnghaBench/tmux/extr_tty.c_tty_putcode1.c' source_filename = "AnghaBench/tmux/extr_tty.c_tty_putcode1.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 @tty_putcode1(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp slt i32 %2, 0 br i1 %4, label %9, label %5 5: ; preds = %3 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call i32 @tty_term_string1(i32 noundef %6, i32 noundef %1, i32 noundef %2) #2 %8 = tail call i32 @tty_puts(ptr noundef nonnull %0, i32 noundef %7) #2 br label %9 9: ; preds = %3, %5 ret void } declare i32 @tty_puts(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tty_term_string1(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 = !{!"tty", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/tmux/extr_tty.c_tty_putcode1.c' source_filename = "AnghaBench/tmux/extr_tty.c_tty_putcode1.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 @tty_putcode1(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp slt i32 %2, 0 br i1 %4, label %9, label %5 5: ; preds = %3 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call i32 @tty_term_string1(i32 noundef %6, i32 noundef %1, i32 noundef %2) #2 %8 = tail call i32 @tty_puts(ptr noundef nonnull %0, i32 noundef %7) #2 br label %9 9: ; preds = %3, %5 ret void } declare i32 @tty_puts(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tty_term_string1(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 = !{!"tty", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
tmux_extr_tty.c_tty_putcode1
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_path_init.c_GetGame.c' source_filename = "AnghaBench/lab/q3map2/q3map2/extr_path_init.c_GetGame.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 { ptr } @.str = private unnamed_addr constant [7 x i8] c"quake1\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"quake2\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"unreal\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"ut2k3\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"dn3d\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"dnf\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"hl\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"April fools, silly rabbit!\0A\00", align 1 @games = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @GetGame(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %48, label %3 3: ; preds = %1 %4 = load i8, ptr %0, align 1, !tbaa !5 %5 = icmp eq i8 %4, 0 br i1 %5, label %48, label %6 6: ; preds = %3 %7 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %31, label %9 9: ; preds = %6 %10 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %31, label %12 12: ; preds = %9 %13 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #3 %14 = icmp eq i64 %13, 0 br i1 %14, label %31, label %15 15: ; preds = %12 %16 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %31, label %18 18: ; preds = %15 %19 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.4) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %31, label %21 21: ; preds = %18 %22 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.5) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %31, label %24 24: ; preds = %21 %25 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.6) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %31, label %27 27: ; preds = %24 %28 = load ptr, ptr @games, align 8, !tbaa !8 %29 = load ptr, ptr %28, align 8, !tbaa !10 %30 = icmp eq ptr %29, null br i1 %30, label %48, label %40 31: ; preds = %24, %21, %18, %15, %12, %9, %6 %32 = tail call i32 @Sys_Printf(ptr noundef nonnull @.str.7) #3 %33 = tail call i32 @exit(i32 noundef 0) #4 unreachable 34: ; preds = %40 %35 = add nuw i64 %41, 1 %36 = load ptr, ptr @games, align 8, !tbaa !8 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i64 %35 %38 = load ptr, ptr %37, align 8, !tbaa !10 %39 = icmp eq ptr %38, null br i1 %39, label %48, label %40, !llvm.loop !12 40: ; preds = %27, %34 %41 = phi i64 [ %35, %34 ], [ 0, %27 ] %42 = phi ptr [ %38, %34 ], [ %29, %27 ] %43 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull %42) #3 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %34 45: ; preds = %40 %46 = load ptr, ptr @games, align 8, !tbaa !8 %47 = getelementptr inbounds %struct.TYPE_4__, ptr %46, i64 %41 br label %48 48: ; preds = %34, %27, %1, %3, %45 %49 = phi ptr [ %47, %45 ], [ null, %3 ], [ null, %1 ], [ null, %27 ], [ null, %34 ] ret ptr %49 } declare i64 @Q_stricmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Sys_Printf(ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(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 = { "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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"any pointer", !6, i64 0} !10 = !{!11, !9, i64 0} !11 = !{!"TYPE_4__", !9, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_path_init.c_GetGame.c' source_filename = "AnghaBench/lab/q3map2/q3map2/extr_path_init.c_GetGame.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 { ptr } @.str = private unnamed_addr constant [7 x i8] c"quake1\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"quake2\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"unreal\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"ut2k3\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"dn3d\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"dnf\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"hl\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"April fools, silly rabbit!\0A\00", align 1 @games = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @GetGame(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %48, label %3 3: ; preds = %1 %4 = load i8, ptr %0, align 1, !tbaa !6 %5 = icmp eq i8 %4, 0 br i1 %5, label %48, label %6 6: ; preds = %3 %7 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %31, label %9 9: ; preds = %6 %10 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %31, label %12 12: ; preds = %9 %13 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #3 %14 = icmp eq i64 %13, 0 br i1 %14, label %31, label %15 15: ; preds = %12 %16 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %31, label %18 18: ; preds = %15 %19 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.4) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %31, label %21 21: ; preds = %18 %22 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.5) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %31, label %24 24: ; preds = %21 %25 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull @.str.6) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %31, label %27 27: ; preds = %24 %28 = load ptr, ptr @games, align 8, !tbaa !9 %29 = load ptr, ptr %28, align 8, !tbaa !11 %30 = icmp eq ptr %29, null br i1 %30, label %48, label %40 31: ; preds = %24, %21, %18, %15, %12, %9, %6 %32 = tail call i32 @Sys_Printf(ptr noundef nonnull @.str.7) #3 %33 = tail call i32 @exit(i32 noundef 0) #4 unreachable 34: ; preds = %40 %35 = add nuw nsw i64 %41, 1 %36 = load ptr, ptr @games, align 8, !tbaa !9 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i64 %35 %38 = load ptr, ptr %37, align 8, !tbaa !11 %39 = icmp eq ptr %38, null br i1 %39, label %48, label %40, !llvm.loop !13 40: ; preds = %27, %34 %41 = phi i64 [ %35, %34 ], [ 0, %27 ] %42 = phi ptr [ %38, %34 ], [ %29, %27 ] %43 = tail call i64 @Q_stricmp(ptr noundef nonnull %0, ptr noundef nonnull %42) #3 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %34 45: ; preds = %40 %46 = load ptr, ptr @games, align 8, !tbaa !9 %47 = getelementptr inbounds %struct.TYPE_4__, ptr %46, i64 %41 br label %48 48: ; preds = %34, %27, %1, %3, %45 %49 = phi ptr [ %47, %45 ], [ null, %3 ], [ null, %1 ], [ null, %27 ], [ null, %34 ] ret ptr %49 } declare i64 @Q_stricmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Sys_Printf(ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(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 = { "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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_4__", !10, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
lab_q3map2_q3map2_extr_path_init.c_GetGame
; ModuleID = 'AnghaBench/linux/fs/extr_read_write.c_generic_copy_file_range.c' source_filename = "AnghaBench/linux/fs/extr_read_write.c_generic_copy_file_range.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_RW_COUNT = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @generic_copy_file_range(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %1, ptr %7, align 4, !tbaa !5 store i32 %3, ptr %8, align 4, !tbaa !5 %9 = load i64, ptr @MAX_RW_COUNT, align 8 %10 = tail call i64 @llvm.umin.i64(i64 %9, i64 %4) %11 = call i32 @do_splice_direct(ptr noundef %0, ptr noundef nonnull %7, ptr noundef %2, ptr noundef nonnull %8, i64 noundef %10, i32 noundef 0) #3 ret i32 %11 } declare i32 @do_splice_direct(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umin.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/fs/extr_read_write.c_generic_copy_file_range.c' source_filename = "AnghaBench/linux/fs/extr_read_write.c_generic_copy_file_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_RW_COUNT = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @generic_copy_file_range(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %1, ptr %7, align 4, !tbaa !6 store i32 %3, ptr %8, align 4, !tbaa !6 %9 = load i64, ptr @MAX_RW_COUNT, align 8 %10 = tail call i64 @llvm.umin.i64(i64 %9, i64 %4) %11 = call i32 @do_splice_direct(ptr noundef %0, ptr noundef nonnull %7, ptr noundef %2, ptr noundef nonnull %8, i64 noundef %10, i32 noundef 0) #3 ret i32 %11 } declare i32 @do_splice_direct(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umin.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_fs_extr_read_write.c_generic_copy_file_range
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svn/extr_shelve-cmd.c_svn_cl__shelve.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svn/extr_shelve-cmd.c_svn_cl__shelve.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_23__ = type { ptr, ptr } %struct.TYPE_22__ = type { i64, i64, i32, i32, i32, i32, i64, i64 } %struct.TYPE_21__ = type { i32, i64, i32, ptr } %struct.TYPE_24__ = type { i64, i64 } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @SVN_ERR_CL_ARG_PARSING_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [14 x i8] c"deleted '%s'\0A\00", align 1 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @SVN_ERR_CL_INSUFFICIENT_ARGS = dso_local local_unnamed_addr global i32 0, align 4 @svn_depth_unknown = dso_local local_unnamed_addr global i64 0, align 8 @svn_depth_infinity = dso_local local_unnamed_addr global i64 0, align 8 @SVN_ERR_ILLEGAL_TARGET = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"No changes were shelved\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"shelved '%s'\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_cl__shelve(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = getelementptr inbounds %struct.TYPE_23__, ptr %1, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = load ptr, ptr %1, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %11 = getelementptr inbounds %struct.TYPE_22__, ptr %9, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !11 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %3 %15 = getelementptr inbounds %struct.TYPE_21__, ptr %10, i64 0, i32 3 store ptr null, ptr %15, align 8, !tbaa !15 br label %16 16: ; preds = %14, %3 %17 = call ptr @svn_dirent_get_absolute(ptr noundef nonnull %4, ptr noundef nonnull @.str, ptr noundef %2) #3 %18 = call i32 @SVN_ERR(ptr noundef %17) #3 %19 = getelementptr inbounds %struct.TYPE_22__, ptr %9, i64 0, i32 7 %20 = load i64, ptr %19, align 8, !tbaa !17 %21 = icmp eq i64 %20, 0 br i1 %21, label %38, label %22 22: ; preds = %16 %23 = load i64, ptr %0, align 8, !tbaa !18 %24 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 1 %25 = load i64, ptr %24, align 8, !tbaa !20 %26 = icmp slt i64 %23, %25 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = load i32, ptr @SVN_ERR_CL_ARG_PARSING_ERROR, align 4, !tbaa !21 %29 = call ptr @svn_error_create(i32 noundef %28, i32 noundef 0, ptr noundef null) #3 br label %142 30: ; preds = %22 %31 = load ptr, ptr %4, align 8, !tbaa !22 %32 = load i64, ptr %11, align 8, !tbaa !11 %33 = icmp eq i64 %32, 0 %34 = zext i1 %33 to i32 %35 = call ptr @shelves_list(ptr noundef %31, i32 noundef %34, ptr noundef %10, ptr noundef %2) #3 %36 = call i32 @SVN_ERR(ptr noundef %35) #3 %37 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !22 br label %142 38: ; preds = %16 %39 = call ptr @get_name(ptr noundef nonnull %5, ptr noundef %0, ptr noundef %2, ptr noundef %2) #3 %40 = call i32 @SVN_ERR(ptr noundef %39) #3 %41 = getelementptr inbounds %struct.TYPE_22__, ptr %9, i64 0, i32 6 %42 = load i64, ptr %41, align 8, !tbaa !23 %43 = icmp eq i64 %42, 0 br i1 %43, label %67, label %44 44: ; preds = %38 %45 = load i64, ptr %0, align 8, !tbaa !18 %46 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 1 %47 = load i64, ptr %46, align 8, !tbaa !20 %48 = icmp slt i64 %45, %47 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load i32, ptr @SVN_ERR_CL_ARG_PARSING_ERROR, align 4, !tbaa !21 %51 = call ptr @svn_error_create(i32 noundef %50, i32 noundef 0, ptr noundef null) #3 br label %142 52: ; preds = %44 %53 = load ptr, ptr %5, align 8, !tbaa !22 %54 = load ptr, ptr %4, align 8, !tbaa !22 %55 = getelementptr inbounds %struct.TYPE_22__, ptr %9, i64 0, i32 2 %56 = load i32, ptr %55, align 8, !tbaa !24 %57 = call ptr @svn_client_shelves_delete(ptr noundef %53, ptr noundef %54, i32 noundef %56, ptr noundef %10, ptr noundef %2) #3 %58 = call i32 @SVN_ERR(ptr noundef %57) #3 %59 = load i64, ptr %11, align 8, !tbaa !11 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %65 61: ; preds = %52 %62 = load ptr, ptr %5, align 8, !tbaa !22 %63 = call ptr @svn_cmdline_printf(ptr noundef %2, ptr noundef nonnull @.str.1, ptr noundef %62) #3 %64 = call i32 @SVN_ERR(ptr noundef %63) #3 br label %65 65: ; preds = %61, %52 %66 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !22 br label %142 67: ; preds = %38 %68 = getelementptr inbounds %struct.TYPE_22__, ptr %9, i64 0, i32 5 %69 = load i32, ptr %68, align 4, !tbaa !25 %70 = load i32, ptr @FALSE, align 4, !tbaa !21 %71 = call ptr @svn_cl__args_to_target_array_print_reserved(ptr noundef nonnull %6, ptr noundef %0, i32 noundef %69, ptr noundef %10, i32 noundef %70, ptr noundef %2) #3 %72 = call i32 @SVN_ERR(ptr noundef %71) #3 %73 = load ptr, ptr %6, align 8, !tbaa !22 %74 = call i32 @svn_opt_push_implicit_dot_target(ptr noundef %73, ptr noundef %2) #3 %75 = load ptr, ptr %6, align 8, !tbaa !22 %76 = load i32, ptr %75, align 4, !tbaa !26 %77 = icmp eq i32 %76, 0 br i1 %77, label %112, label %78 78: ; preds = %67 %79 = load i64, ptr %9, align 8, !tbaa !28 %80 = call ptr @svn_cl__check_targets_are_local_paths(ptr noundef nonnull %75) #3 %81 = call i32 @SVN_ERR(ptr noundef %80) #3 %82 = load i64, ptr @svn_depth_unknown, align 8, !tbaa !29 %83 = icmp eq i64 %79, %82 %84 = load i64, ptr @svn_depth_infinity, align 8 %85 = select i1 %83, i64 %84, i64 %79 %86 = load ptr, ptr %6, align 8, !tbaa !22 %87 = call ptr @svn_cl__eat_peg_revisions(ptr noundef nonnull %6, ptr noundef %86, ptr noundef %2) #3 %88 = call i32 @SVN_ERR(ptr noundef %87) #3 %89 = getelementptr inbounds %struct.TYPE_21__, ptr %10, i64 0, i32 1 %90 = load i64, ptr %89, align 8, !tbaa !30 %91 = icmp eq i64 %90, 0 br i1 %91, label %97, label %92 92: ; preds = %78 %93 = getelementptr inbounds %struct.TYPE_21__, ptr %10, i64 0, i32 2 %94 = load i32, ptr %93, align 8, !tbaa !31 %95 = call ptr @svn_cl__make_log_msg_baton(ptr noundef nonnull %10, ptr noundef nonnull %9, ptr noundef null, i32 noundef %94, ptr noundef %2) #3 %96 = call i32 @SVN_ERR(ptr noundef %95) #3 br label %97 97: ; preds = %92, %78 %98 = load ptr, ptr %5, align 8, !tbaa !22 %99 = load ptr, ptr %6, align 8, !tbaa !22 %100 = getelementptr inbounds %struct.TYPE_22__, ptr %9, i64 0, i32 4 %101 = load i32, ptr %100, align 8, !tbaa !32 %102 = getelementptr inbounds %struct.TYPE_22__, ptr %9, i64 0, i32 3 %103 = load i32, ptr %102, align 4, !tbaa !33 %104 = getelementptr inbounds %struct.TYPE_22__, ptr %9, i64 0, i32 2 %105 = load i32, ptr %104, align 8, !tbaa !24 %106 = call ptr @svn_client_shelve(ptr noundef %98, ptr noundef %99, i64 noundef %85, i32 noundef %101, i32 noundef %103, i32 noundef %105, ptr noundef nonnull %10, ptr noundef %2) #3 %107 = load i64, ptr %89, align 8, !tbaa !30 %108 = icmp eq i64 %107, 0 br i1 %108, label %115, label %109 109: ; preds = %97 %110 = load i32, ptr %10, align 8, !tbaa !34 %111 = call ptr @svn_cl__cleanup_log_msg(i32 noundef %110, ptr noundef %106, ptr noundef %2) #3 br label %115 112: ; preds = %67 %113 = load i32, ptr @SVN_ERR_CL_INSUFFICIENT_ARGS, align 4, !tbaa !21 %114 = call ptr @svn_error_create(i32 noundef %113, i32 noundef 0, ptr noundef null) #3 br label %142 115: ; preds = %97, %109 %116 = phi ptr [ %111, %109 ], [ %106, %97 ] %117 = call i32 @SVN_ERR(ptr noundef %116) #3 %118 = load ptr, ptr %5, align 8, !tbaa !22 %119 = load ptr, ptr %4, align 8, !tbaa !22 %120 = call ptr @svn_client_shelf_has_changes(ptr noundef nonnull %7, ptr noundef %118, ptr noundef %119, ptr noundef nonnull %10, ptr noundef %2) #3 %121 = call i32 @SVN_ERR(ptr noundef %120) #3 %122 = load i32, ptr %7, align 4, !tbaa !21 %123 = icmp eq i32 %122, 0 br i1 %123, label %124, label %133 124: ; preds = %115 %125 = load ptr, ptr %5, align 8, !tbaa !22 %126 = load ptr, ptr %4, align 8, !tbaa !22 %127 = load i32, ptr %104, align 8, !tbaa !24 %128 = call ptr @svn_client_shelves_delete(ptr noundef %125, ptr noundef %126, i32 noundef %127, ptr noundef nonnull %10, ptr noundef %2) #3 %129 = call i32 @SVN_ERR(ptr noundef %128) #3 %130 = load i32, ptr @SVN_ERR_ILLEGAL_TARGET, align 4, !tbaa !21 %131 = call i32 @_(ptr noundef nonnull @.str.2) #3 %132 = call ptr @svn_error_createf(i32 noundef %130, ptr noundef null, i32 noundef %131) #3 br label %142 133: ; preds = %115 %134 = load i64, ptr %11, align 8, !tbaa !11 %135 = icmp eq i64 %134, 0 br i1 %135, label %136, label %140 136: ; preds = %133 %137 = load ptr, ptr %5, align 8, !tbaa !22 %138 = call ptr @svn_cmdline_printf(ptr noundef %2, ptr noundef nonnull @.str.3, ptr noundef %137) #3 %139 = call i32 @SVN_ERR(ptr noundef %138) #3 br label %140 140: ; preds = %136, %133 %141 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !22 br label %142 142: ; preds = %112, %140, %124, %65, %49, %30, %27 %143 = phi ptr [ %29, %27 ], [ %37, %30 ], [ %51, %49 ], [ %66, %65 ], [ %141, %140 ], [ %132, %124 ], [ %114, %112 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %143 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(ptr noundef) local_unnamed_addr #2 declare ptr @svn_dirent_get_absolute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_create(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @shelves_list(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @get_name(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_client_shelves_delete(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cmdline_printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__args_to_target_array_print_reserved(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_opt_push_implicit_dot_target(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__check_targets_are_local_paths(ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__eat_peg_revisions(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__make_log_msg_baton(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_client_shelve(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__cleanup_log_msg(i32 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 declare ptr @svn_client_shelf_has_changes(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_createf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_(ptr 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 8} !6 = !{!"TYPE_23__", !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, !13, i64 8} !12 = !{!"TYPE_22__", !13, i64 0, !13, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !13, i64 32, !13, i64 40} !13 = !{!"long", !8, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!16, !7, i64 24} !16 = !{!"TYPE_21__", !14, i64 0, !13, i64 8, !14, i64 16, !7, i64 24} !17 = !{!12, !13, i64 40} !18 = !{!19, !13, i64 0} !19 = !{!"TYPE_24__", !13, i64 0, !13, i64 8} !20 = !{!19, !13, i64 8} !21 = !{!14, !14, i64 0} !22 = !{!7, !7, i64 0} !23 = !{!12, !13, i64 32} !24 = !{!12, !14, i64 16} !25 = !{!12, !14, i64 28} !26 = !{!27, !14, i64 0} !27 = !{!"TYPE_25__", !14, i64 0} !28 = !{!12, !13, i64 0} !29 = !{!13, !13, i64 0} !30 = !{!16, !13, i64 8} !31 = !{!16, !14, i64 16} !32 = !{!12, !14, i64 24} !33 = !{!12, !14, i64 20} !34 = !{!16, !14, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svn/extr_shelve-cmd.c_svn_cl__shelve.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svn/extr_shelve-cmd.c_svn_cl__shelve.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 [1 x i8] zeroinitializer, align 1 @SVN_ERR_CL_ARG_PARSING_ERROR = common local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [14 x i8] c"deleted '%s'\0A\00", align 1 @FALSE = common local_unnamed_addr global i32 0, align 4 @SVN_ERR_CL_INSUFFICIENT_ARGS = common local_unnamed_addr global i32 0, align 4 @svn_depth_unknown = common local_unnamed_addr global i64 0, align 8 @svn_depth_infinity = common local_unnamed_addr global i64 0, align 8 @SVN_ERR_ILLEGAL_TARGET = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"No changes were shelved\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"shelved '%s'\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_cl__shelve(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = getelementptr inbounds i8, ptr %1, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = load ptr, ptr %1, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %11 = getelementptr inbounds i8, ptr %9, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !12 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %3 %15 = getelementptr inbounds i8, ptr %10, i64 24 store ptr null, ptr %15, align 8, !tbaa !16 br label %16 16: ; preds = %14, %3 %17 = call ptr @svn_dirent_get_absolute(ptr noundef nonnull %4, ptr noundef nonnull @.str, ptr noundef %2) #3 %18 = call i32 @SVN_ERR(ptr noundef %17) #3 %19 = getelementptr inbounds i8, ptr %9, i64 40 %20 = load i64, ptr %19, align 8, !tbaa !18 %21 = icmp eq i64 %20, 0 br i1 %21, label %38, label %22 22: ; preds = %16 %23 = load i64, ptr %0, align 8, !tbaa !19 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load i64, ptr %24, align 8, !tbaa !21 %26 = icmp slt i64 %23, %25 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = load i32, ptr @SVN_ERR_CL_ARG_PARSING_ERROR, align 4, !tbaa !22 %29 = call ptr @svn_error_create(i32 noundef %28, i32 noundef 0, ptr noundef null) #3 br label %142 30: ; preds = %22 %31 = load ptr, ptr %4, align 8, !tbaa !23 %32 = load i64, ptr %11, align 8, !tbaa !12 %33 = icmp eq i64 %32, 0 %34 = zext i1 %33 to i32 %35 = call ptr @shelves_list(ptr noundef %31, i32 noundef %34, ptr noundef %10, ptr noundef %2) #3 %36 = call i32 @SVN_ERR(ptr noundef %35) #3 %37 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !23 br label %142 38: ; preds = %16 %39 = call ptr @get_name(ptr noundef nonnull %5, ptr noundef %0, ptr noundef %2, ptr noundef %2) #3 %40 = call i32 @SVN_ERR(ptr noundef %39) #3 %41 = getelementptr inbounds i8, ptr %9, i64 32 %42 = load i64, ptr %41, align 8, !tbaa !24 %43 = icmp eq i64 %42, 0 br i1 %43, label %67, label %44 44: ; preds = %38 %45 = load i64, ptr %0, align 8, !tbaa !19 %46 = getelementptr inbounds i8, ptr %0, i64 8 %47 = load i64, ptr %46, align 8, !tbaa !21 %48 = icmp slt i64 %45, %47 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load i32, ptr @SVN_ERR_CL_ARG_PARSING_ERROR, align 4, !tbaa !22 %51 = call ptr @svn_error_create(i32 noundef %50, i32 noundef 0, ptr noundef null) #3 br label %142 52: ; preds = %44 %53 = load ptr, ptr %5, align 8, !tbaa !23 %54 = load ptr, ptr %4, align 8, !tbaa !23 %55 = getelementptr inbounds i8, ptr %9, i64 16 %56 = load i32, ptr %55, align 8, !tbaa !25 %57 = call ptr @svn_client_shelves_delete(ptr noundef %53, ptr noundef %54, i32 noundef %56, ptr noundef %10, ptr noundef %2) #3 %58 = call i32 @SVN_ERR(ptr noundef %57) #3 %59 = load i64, ptr %11, align 8, !tbaa !12 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %65 61: ; preds = %52 %62 = load ptr, ptr %5, align 8, !tbaa !23 %63 = call ptr @svn_cmdline_printf(ptr noundef %2, ptr noundef nonnull @.str.1, ptr noundef %62) #3 %64 = call i32 @SVN_ERR(ptr noundef %63) #3 br label %65 65: ; preds = %61, %52 %66 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !23 br label %142 67: ; preds = %38 %68 = getelementptr inbounds i8, ptr %9, i64 28 %69 = load i32, ptr %68, align 4, !tbaa !26 %70 = load i32, ptr @FALSE, align 4, !tbaa !22 %71 = call ptr @svn_cl__args_to_target_array_print_reserved(ptr noundef nonnull %6, ptr noundef %0, i32 noundef %69, ptr noundef %10, i32 noundef %70, ptr noundef %2) #3 %72 = call i32 @SVN_ERR(ptr noundef %71) #3 %73 = load ptr, ptr %6, align 8, !tbaa !23 %74 = call i32 @svn_opt_push_implicit_dot_target(ptr noundef %73, ptr noundef %2) #3 %75 = load ptr, ptr %6, align 8, !tbaa !23 %76 = load i32, ptr %75, align 4, !tbaa !27 %77 = icmp eq i32 %76, 0 br i1 %77, label %112, label %78 78: ; preds = %67 %79 = load i64, ptr %9, align 8, !tbaa !29 %80 = call ptr @svn_cl__check_targets_are_local_paths(ptr noundef nonnull %75) #3 %81 = call i32 @SVN_ERR(ptr noundef %80) #3 %82 = load i64, ptr @svn_depth_unknown, align 8, !tbaa !30 %83 = icmp eq i64 %79, %82 %84 = load i64, ptr @svn_depth_infinity, align 8 %85 = select i1 %83, i64 %84, i64 %79 %86 = load ptr, ptr %6, align 8, !tbaa !23 %87 = call ptr @svn_cl__eat_peg_revisions(ptr noundef nonnull %6, ptr noundef %86, ptr noundef %2) #3 %88 = call i32 @SVN_ERR(ptr noundef %87) #3 %89 = getelementptr inbounds i8, ptr %10, i64 8 %90 = load i64, ptr %89, align 8, !tbaa !31 %91 = icmp eq i64 %90, 0 br i1 %91, label %97, label %92 92: ; preds = %78 %93 = getelementptr inbounds i8, ptr %10, i64 16 %94 = load i32, ptr %93, align 8, !tbaa !32 %95 = call ptr @svn_cl__make_log_msg_baton(ptr noundef nonnull %10, ptr noundef nonnull %9, ptr noundef null, i32 noundef %94, ptr noundef %2) #3 %96 = call i32 @SVN_ERR(ptr noundef %95) #3 br label %97 97: ; preds = %92, %78 %98 = load ptr, ptr %5, align 8, !tbaa !23 %99 = load ptr, ptr %6, align 8, !tbaa !23 %100 = getelementptr inbounds i8, ptr %9, i64 24 %101 = load i32, ptr %100, align 8, !tbaa !33 %102 = getelementptr inbounds i8, ptr %9, i64 20 %103 = load i32, ptr %102, align 4, !tbaa !34 %104 = getelementptr inbounds i8, ptr %9, i64 16 %105 = load i32, ptr %104, align 8, !tbaa !25 %106 = call ptr @svn_client_shelve(ptr noundef %98, ptr noundef %99, i64 noundef %85, i32 noundef %101, i32 noundef %103, i32 noundef %105, ptr noundef nonnull %10, ptr noundef %2) #3 %107 = load i64, ptr %89, align 8, !tbaa !31 %108 = icmp eq i64 %107, 0 br i1 %108, label %115, label %109 109: ; preds = %97 %110 = load i32, ptr %10, align 8, !tbaa !35 %111 = call ptr @svn_cl__cleanup_log_msg(i32 noundef %110, ptr noundef %106, ptr noundef %2) #3 br label %115 112: ; preds = %67 %113 = load i32, ptr @SVN_ERR_CL_INSUFFICIENT_ARGS, align 4, !tbaa !22 %114 = call ptr @svn_error_create(i32 noundef %113, i32 noundef 0, ptr noundef null) #3 br label %142 115: ; preds = %97, %109 %116 = phi ptr [ %111, %109 ], [ %106, %97 ] %117 = call i32 @SVN_ERR(ptr noundef %116) #3 %118 = load ptr, ptr %5, align 8, !tbaa !23 %119 = load ptr, ptr %4, align 8, !tbaa !23 %120 = call ptr @svn_client_shelf_has_changes(ptr noundef nonnull %7, ptr noundef %118, ptr noundef %119, ptr noundef nonnull %10, ptr noundef %2) #3 %121 = call i32 @SVN_ERR(ptr noundef %120) #3 %122 = load i32, ptr %7, align 4, !tbaa !22 %123 = icmp eq i32 %122, 0 br i1 %123, label %124, label %133 124: ; preds = %115 %125 = load ptr, ptr %5, align 8, !tbaa !23 %126 = load ptr, ptr %4, align 8, !tbaa !23 %127 = load i32, ptr %104, align 8, !tbaa !25 %128 = call ptr @svn_client_shelves_delete(ptr noundef %125, ptr noundef %126, i32 noundef %127, ptr noundef nonnull %10, ptr noundef %2) #3 %129 = call i32 @SVN_ERR(ptr noundef %128) #3 %130 = load i32, ptr @SVN_ERR_ILLEGAL_TARGET, align 4, !tbaa !22 %131 = call i32 @_(ptr noundef nonnull @.str.2) #3 %132 = call ptr @svn_error_createf(i32 noundef %130, ptr noundef null, i32 noundef %131) #3 br label %142 133: ; preds = %115 %134 = load i64, ptr %11, align 8, !tbaa !12 %135 = icmp eq i64 %134, 0 br i1 %135, label %136, label %140 136: ; preds = %133 %137 = load ptr, ptr %5, align 8, !tbaa !23 %138 = call ptr @svn_cmdline_printf(ptr noundef %2, ptr noundef nonnull @.str.3, ptr noundef %137) #3 %139 = call i32 @SVN_ERR(ptr noundef %138) #3 br label %140 140: ; preds = %136, %133 %141 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !23 br label %142 142: ; preds = %112, %140, %124, %65, %49, %30, %27 %143 = phi ptr [ %29, %27 ], [ %37, %30 ], [ %51, %49 ], [ %66, %65 ], [ %141, %140 ], [ %132, %124 ], [ %114, %112 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %143 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(ptr noundef) local_unnamed_addr #2 declare ptr @svn_dirent_get_absolute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_create(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @shelves_list(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @get_name(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_client_shelves_delete(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cmdline_printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__args_to_target_array_print_reserved(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_opt_push_implicit_dot_target(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__check_targets_are_local_paths(ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__eat_peg_revisions(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__make_log_msg_baton(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_client_shelve(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_cl__cleanup_log_msg(i32 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 declare ptr @svn_client_shelf_has_changes(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_createf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_(ptr 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 8} !7 = !{!"TYPE_23__", !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, !14, i64 8} !13 = !{!"TYPE_22__", !14, i64 0, !14, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !14, i64 32, !14, i64 40} !14 = !{!"long", !9, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!17, !8, i64 24} !17 = !{!"TYPE_21__", !15, i64 0, !14, i64 8, !15, i64 16, !8, i64 24} !18 = !{!13, !14, i64 40} !19 = !{!20, !14, i64 0} !20 = !{!"TYPE_24__", !14, i64 0, !14, i64 8} !21 = !{!20, !14, i64 8} !22 = !{!15, !15, i64 0} !23 = !{!8, !8, i64 0} !24 = !{!13, !14, i64 32} !25 = !{!13, !15, i64 16} !26 = !{!13, !15, i64 28} !27 = !{!28, !15, i64 0} !28 = !{!"TYPE_25__", !15, i64 0} !29 = !{!13, !14, i64 0} !30 = !{!14, !14, i64 0} !31 = !{!17, !14, i64 8} !32 = !{!17, !15, i64 16} !33 = !{!13, !15, i64 24} !34 = !{!13, !15, i64 20} !35 = !{!17, !15, i64 0}
freebsd_contrib_subversion_subversion_svn_extr_shelve-cmd.c_svn_cl__shelve
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_emufx.c_snd_emu10k1_fx8010_interrupt.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_emufx.c_snd_emu10k1_fx8010_interrupt.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.snd_emu10k1 = type { i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr } %struct.snd_emu10k1_fx8010_irq = type { i64, i32, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_emu10k1_fx8010_interrupt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_emu10k1_fx8010_interrupt(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.snd_emu10k1, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %29, label %5 5: ; preds = %1, %27 %6 = phi ptr [ %8, %27 ], [ %3, %1 ] %7 = getelementptr inbounds %struct.snd_emu10k1_fx8010_irq, ptr %6, i64 0, i32 3 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load i64, ptr %0, align 8, !tbaa !15 %10 = load i64, ptr %6, align 8, !tbaa !16 %11 = add nsw i64 %10, %9 %12 = tail call i32 @snd_emu10k1_ptr_read(ptr noundef nonnull %0, i64 noundef %11, i32 noundef 0) #2 %13 = icmp ult i32 %12, 65536 br i1 %13, label %27, label %14 14: ; preds = %5 %15 = getelementptr inbounds %struct.snd_emu10k1_fx8010_irq, ptr %6, i64 0, i32 2 %16 = load ptr, ptr %15, align 8, !tbaa !17 %17 = icmp eq ptr %16, null br i1 %17, label %22, label %18 18: ; preds = %14 %19 = getelementptr inbounds %struct.snd_emu10k1_fx8010_irq, ptr %6, i64 0, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !18 %21 = tail call i32 %16(ptr noundef nonnull %0, i32 noundef %20) #2 br label %22 22: ; preds = %18, %14 %23 = load i64, ptr %0, align 8, !tbaa !15 %24 = load i64, ptr %6, align 8, !tbaa !16 %25 = add nsw i64 %24, %23 %26 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i64 noundef %25, i32 noundef 0, i32 noundef 1) #2 br label %27 27: ; preds = %22, %5 %28 = icmp eq ptr %8, null br i1 %28, label %29, label %5, !llvm.loop !19 29: ; preds = %27, %1 ret void } declare i32 @snd_emu10k1_ptr_read(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_emu10k1_ptr_write(ptr noundef, i64 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, !11, i64 8} !6 = !{!"snd_emu10k1", !7, i64 0, !10, i64 8} !7 = !{!"long", !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 = !{!13, !11, i64 24} !13 = !{!"snd_emu10k1_fx8010_irq", !7, i64 0, !14, i64 8, !11, i64 16, !11, i64 24} !14 = !{!"int", !8, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!13, !7, i64 0} !17 = !{!13, !11, i64 16} !18 = !{!13, !14, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_emufx.c_snd_emu10k1_fx8010_interrupt.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/emu10k1/extr_emufx.c_snd_emu10k1_fx8010_interrupt.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 @snd_emu10k1_fx8010_interrupt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_emu10k1_fx8010_interrupt(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %29, label %5 5: ; preds = %1, %27 %6 = phi ptr [ %8, %27 ], [ %3, %1 ] %7 = getelementptr inbounds i8, ptr %6, i64 24 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i64, ptr %0, align 8, !tbaa !16 %10 = load i64, ptr %6, align 8, !tbaa !17 %11 = add nsw i64 %10, %9 %12 = tail call i32 @snd_emu10k1_ptr_read(ptr noundef nonnull %0, i64 noundef %11, i32 noundef 0) #2 %13 = icmp ult i32 %12, 65536 br i1 %13, label %27, label %14 14: ; preds = %5 %15 = getelementptr inbounds i8, ptr %6, i64 16 %16 = load ptr, ptr %15, align 8, !tbaa !18 %17 = icmp eq ptr %16, null br i1 %17, label %22, label %18 18: ; preds = %14 %19 = getelementptr inbounds i8, ptr %6, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !19 %21 = tail call i32 %16(ptr noundef nonnull %0, i32 noundef %20) #2 br label %22 22: ; preds = %18, %14 %23 = load i64, ptr %0, align 8, !tbaa !16 %24 = load i64, ptr %6, align 8, !tbaa !17 %25 = add nsw i64 %24, %23 %26 = tail call i32 @snd_emu10k1_ptr_write(ptr noundef nonnull %0, i64 noundef %25, i32 noundef 0, i32 noundef 1) #2 br label %27 27: ; preds = %22, %5 %28 = icmp eq ptr %8, null br i1 %28, label %29, label %5, !llvm.loop !20 29: ; preds = %27, %1 ret void } declare i32 @snd_emu10k1_ptr_read(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_emu10k1_ptr_write(ptr noundef, i64 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, !12, i64 8} !7 = !{!"snd_emu10k1", !8, i64 0, !11, i64 8} !8 = !{!"long", !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 = !{!14, !12, i64 24} !14 = !{!"snd_emu10k1_fx8010_irq", !8, i64 0, !15, i64 8, !12, i64 16, !12, i64 24} !15 = !{!"int", !9, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!14, !8, i64 0} !18 = !{!14, !12, i64 16} !19 = !{!14, !15, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_sound_pci_emu10k1_extr_emufx.c_snd_emu10k1_fx8010_interrupt
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/tm/extr_tm-signal-context-chk-fpu.c_signal_usr1.c' source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/tm/extr_tm-signal-context-chk-fpu.c_signal_usr1.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 { %struct.TYPE_3__, ptr } %struct.TYPE_3__ = type { ptr } @NV_FPU_REGS = dso_local local_unnamed_addr global i32 0, align 4 @FPR14 = dso_local local_unnamed_addr global i32 0, align 4 @fps = dso_local local_unnamed_addr global ptr null, align 8 @fail = dso_local local_unnamed_addr global i32 0, align 4 @broken = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"FPR%d (1st context) == %g instead of %g (expected)\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"FPR%d (2nd context) == %g instead of %g (expected)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @signal_usr1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @signal_usr1(i32 %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr @NV_FPU_REGS, align 4, !tbaa !11 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %70 8: ; preds = %3 %9 = load i32, ptr @FPR14, align 4, !tbaa !11 %10 = load ptr, ptr @fps, align 8, !tbaa !13 br label %16 11: ; preds = %36 %12 = icmp sgt i32 %37, 0 br i1 %12, label %13, label %70 13: ; preds = %11 %14 = load i32, ptr @FPR14, align 4, !tbaa !11 %15 = load ptr, ptr @fps, align 8, !tbaa !13 br label %43 16: ; preds = %8, %36 %17 = phi i32 [ %6, %8 ], [ %37, %36 ] %18 = phi ptr [ %10, %8 ], [ %38, %36 ] %19 = phi i32 [ %9, %8 ], [ %39, %36 ] %20 = phi i64 [ 0, %8 ], [ %40, %36 ] %21 = load ptr, ptr %2, align 8, !tbaa !14 %22 = trunc i64 %20 to i32 %23 = add nsw i32 %19, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i64, ptr %21, i64 %24 %26 = load i64, ptr %25, align 8, !tbaa !15 %27 = getelementptr inbounds i64, ptr %18, i64 %20 %28 = load i64, ptr %27, align 8, !tbaa !15 %29 = icmp ne i64 %26, %28 %30 = zext i1 %29 to i32 store i32 %30, ptr @fail, align 4, !tbaa !11 br i1 %29, label %31, label %36 31: ; preds = %16 store i32 1, ptr @broken, align 4, !tbaa !11 %32 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %23, i64 noundef %26, i64 noundef %28) #2 %33 = load i32, ptr @FPR14, align 4, !tbaa !11 %34 = load ptr, ptr @fps, align 8, !tbaa !13 %35 = load i32, ptr @NV_FPU_REGS, align 4, !tbaa !11 br label %36 36: ; preds = %16, %31 %37 = phi i32 [ %17, %16 ], [ %35, %31 ] %38 = phi ptr [ %18, %16 ], [ %34, %31 ] %39 = phi i32 [ %19, %16 ], [ %33, %31 ] %40 = add nuw nsw i64 %20, 1 %41 = sext i32 %37 to i64 %42 = icmp slt i64 %40, %41 br i1 %42, label %16, label %11, !llvm.loop !17 43: ; preds = %13, %64 %44 = phi i32 [ %65, %64 ], [ %37, %13 ] %45 = phi ptr [ %66, %64 ], [ %15, %13 ] %46 = phi i32 [ %67, %64 ], [ %14, %13 ] %47 = phi i32 [ %68, %64 ], [ 0, %13 ] %48 = load ptr, ptr %5, align 8, !tbaa !14 %49 = add nsw i32 %46, %47 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i64, ptr %48, i64 %50 %52 = load i64, ptr %51, align 8, !tbaa !15 %53 = add nsw i32 %44, %47 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i64, ptr %45, i64 %54 %56 = load i64, ptr %55, align 8, !tbaa !15 %57 = icmp ne i64 %52, %56 %58 = zext i1 %57 to i32 store i32 %58, ptr @fail, align 4, !tbaa !11 br i1 %57, label %59, label %64 59: ; preds = %43 store i32 1, ptr @broken, align 4, !tbaa !11 %60 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %49, i64 noundef %52, i64 noundef %56) #2 %61 = load i32, ptr @FPR14, align 4, !tbaa !11 %62 = load ptr, ptr @fps, align 8, !tbaa !13 %63 = load i32, ptr @NV_FPU_REGS, align 4, !tbaa !11 br label %64 64: ; preds = %43, %59 %65 = phi i32 [ %44, %43 ], [ %63, %59 ] %66 = phi ptr [ %45, %43 ], [ %62, %59 ] %67 = phi i32 [ %46, %43 ], [ %61, %59 ] %68 = add nuw nsw i32 %47, 1 %69 = icmp slt i32 %68, %65 br i1 %69, label %43, label %70, !llvm.loop !19 70: ; preds = %64, %3, %11 ret void } declare i32 @printf(ptr noundef, i32 noundef, i64 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, !8, i64 8} !6 = !{!"TYPE_4__", !7, i64 0, !8, i64 8} !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 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!6, !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/tm/extr_tm-signal-context-chk-fpu.c_signal_usr1.c' source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/tm/extr_tm-signal-context-chk-fpu.c_signal_usr1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NV_FPU_REGS = common local_unnamed_addr global i32 0, align 4 @FPR14 = common local_unnamed_addr global i32 0, align 4 @fps = common local_unnamed_addr global ptr null, align 8 @fail = common local_unnamed_addr global i32 0, align 4 @broken = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"FPR%d (1st context) == %g instead of %g (expected)\0A\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"FPR%d (2nd context) == %g instead of %g (expected)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @signal_usr1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @signal_usr1(i32 %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr @NV_FPU_REGS, align 4, !tbaa !12 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %70 8: ; preds = %3 %9 = load i32, ptr @FPR14, align 4, !tbaa !12 %10 = load ptr, ptr @fps, align 8, !tbaa !14 br label %16 11: ; preds = %36 %12 = icmp sgt i32 %37, 0 br i1 %12, label %13, label %70 13: ; preds = %11 %14 = load i32, ptr @FPR14, align 4, !tbaa !12 %15 = load ptr, ptr @fps, align 8, !tbaa !14 br label %43 16: ; preds = %8, %36 %17 = phi i32 [ %6, %8 ], [ %37, %36 ] %18 = phi ptr [ %10, %8 ], [ %38, %36 ] %19 = phi i32 [ %9, %8 ], [ %39, %36 ] %20 = phi i64 [ 0, %8 ], [ %40, %36 ] %21 = load ptr, ptr %2, align 8, !tbaa !15 %22 = trunc nuw nsw i64 %20 to i32 %23 = add nsw i32 %19, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i64, ptr %21, i64 %24 %26 = load i64, ptr %25, align 8, !tbaa !16 %27 = getelementptr inbounds i64, ptr %18, i64 %20 %28 = load i64, ptr %27, align 8, !tbaa !16 %29 = icmp ne i64 %26, %28 %30 = zext i1 %29 to i32 store i32 %30, ptr @fail, align 4, !tbaa !12 br i1 %29, label %31, label %36 31: ; preds = %16 store i32 1, ptr @broken, align 4, !tbaa !12 %32 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %23, i64 noundef %26, i64 noundef %28) #2 %33 = load i32, ptr @FPR14, align 4, !tbaa !12 %34 = load ptr, ptr @fps, align 8, !tbaa !14 %35 = load i32, ptr @NV_FPU_REGS, align 4, !tbaa !12 br label %36 36: ; preds = %16, %31 %37 = phi i32 [ %17, %16 ], [ %35, %31 ] %38 = phi ptr [ %18, %16 ], [ %34, %31 ] %39 = phi i32 [ %19, %16 ], [ %33, %31 ] %40 = add nuw nsw i64 %20, 1 %41 = sext i32 %37 to i64 %42 = icmp slt i64 %40, %41 br i1 %42, label %16, label %11, !llvm.loop !18 43: ; preds = %13, %64 %44 = phi i32 [ %65, %64 ], [ %37, %13 ] %45 = phi ptr [ %66, %64 ], [ %15, %13 ] %46 = phi i32 [ %67, %64 ], [ %14, %13 ] %47 = phi i32 [ %68, %64 ], [ 0, %13 ] %48 = load ptr, ptr %5, align 8, !tbaa !15 %49 = add nsw i32 %46, %47 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i64, ptr %48, i64 %50 %52 = load i64, ptr %51, align 8, !tbaa !16 %53 = add nsw i32 %44, %47 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i64, ptr %45, i64 %54 %56 = load i64, ptr %55, align 8, !tbaa !16 %57 = icmp ne i64 %52, %56 %58 = zext i1 %57 to i32 store i32 %58, ptr @fail, align 4, !tbaa !12 br i1 %57, label %59, label %64 59: ; preds = %43 store i32 1, ptr @broken, align 4, !tbaa !12 %60 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %49, i64 noundef %52, i64 noundef %56) #2 %61 = load i32, ptr @FPR14, align 4, !tbaa !12 %62 = load ptr, ptr @fps, align 8, !tbaa !14 %63 = load i32, ptr @NV_FPU_REGS, align 4, !tbaa !12 br label %64 64: ; preds = %43, %59 %65 = phi i32 [ %44, %43 ], [ %63, %59 ] %66 = phi ptr [ %45, %43 ], [ %62, %59 ] %67 = phi i32 [ %46, %43 ], [ %61, %59 ] %68 = add nuw nsw i32 %47, 1 %69 = icmp slt i32 %68, %65 br i1 %69, label %43, label %70, !llvm.loop !20 70: ; preds = %64, %3, %11 ret void } declare i32 @printf(ptr noundef, i32 noundef, i64 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, !9, i64 8} !7 = !{!"TYPE_4__", !8, i64 0, !9, i64 8} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !10, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!7, !9, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !10, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19}
linux_tools_testing_selftests_powerpc_tm_extr_tm-signal-context-chk-fpu.c_signal_usr1
; ModuleID = 'AnghaBench/freebsd/sys/dev/mii/extr_rlphy.c_rlphy_status.c' source_filename = "AnghaBench/freebsd/sys/dev/mii/extr_rlphy.c_rlphy_status.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.mii_softc = type { i64, i64, ptr } %struct.mii_data = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr } @IFM_AVALID = dso_local local_unnamed_addr global i32 0, align 4 @IFM_ETHER = dso_local local_unnamed_addr global i32 0, align 4 @MII_BMSR = dso_local local_unnamed_addr global i32 0, align 4 @BMSR_LINK = dso_local local_unnamed_addr global i32 0, align 4 @IFM_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @MII_BMCR = dso_local local_unnamed_addr global i32 0, align 4 @BMCR_ISO = dso_local local_unnamed_addr global i32 0, align 4 @IFM_NONE = dso_local local_unnamed_addr global i32 0, align 4 @BMCR_LOOP = dso_local local_unnamed_addr global i32 0, align 4 @IFM_LOOP = dso_local local_unnamed_addr global i32 0, align 4 @BMCR_AUTOEN = dso_local local_unnamed_addr global i32 0, align 4 @BMSR_ACOMP = dso_local local_unnamed_addr global i32 0, align 4 @MII_ANAR = dso_local local_unnamed_addr global i32 0, align 4 @MII_ANLPAR = dso_local local_unnamed_addr global i32 0, align 4 @ANLPAR_TX_FD = dso_local local_unnamed_addr global i32 0, align 4 @IFM_100_TX = dso_local local_unnamed_addr global i32 0, align 4 @IFM_FDX = dso_local local_unnamed_addr global i32 0, align 4 @ANLPAR_T4 = dso_local local_unnamed_addr global i32 0, align 4 @IFM_100_T4 = dso_local local_unnamed_addr global i32 0, align 4 @IFM_HDX = dso_local local_unnamed_addr global i32 0, align 4 @ANLPAR_TX = dso_local local_unnamed_addr global i32 0, align 4 @ANLPAR_10_FD = dso_local local_unnamed_addr global i32 0, align 4 @IFM_10_T = dso_local local_unnamed_addr global i32 0, align 4 @ANLPAR_10 = dso_local local_unnamed_addr global i32 0, align 4 @RL_MEDIASTAT = dso_local local_unnamed_addr global i32 0, align 4 @RL_MEDIASTAT_SPEED10 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rlphy_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rlphy_status(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.mii_softc, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.mii_data, ptr %3, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i32, ptr @IFM_AVALID, align 4, !tbaa !15 %7 = getelementptr inbounds %struct.mii_data, ptr %3, i64 0, i32 1 store i32 %6, ptr %7, align 4, !tbaa !16 %8 = load i32, ptr @IFM_ETHER, align 4, !tbaa !15 store i32 %8, ptr %3, align 8, !tbaa !17 %9 = load i32, ptr @MII_BMSR, align 4, !tbaa !15 %10 = tail call i32 @PHY_READ(ptr noundef %0, i32 noundef %9) #2 %11 = load i32, ptr @MII_BMSR, align 4, !tbaa !15 %12 = tail call i32 @PHY_READ(ptr noundef %0, i32 noundef %11) #2 %13 = or i32 %12, %10 %14 = load i32, ptr @BMSR_LINK, align 4, !tbaa !15 %15 = and i32 %13, %14 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %1 %18 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !15 %19 = load i32, ptr %7, align 4, !tbaa !16 %20 = or i32 %19, %18 store i32 %20, ptr %7, align 4, !tbaa !16 br label %21 21: ; preds = %17, %1 %22 = load i32, ptr @MII_BMCR, align 4, !tbaa !15 %23 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %22) #2 %24 = load i32, ptr @BMCR_ISO, align 4, !tbaa !15 %25 = and i32 %24, %23 %26 = icmp eq i32 %25, 0 br i1 %26, label %31, label %27 27: ; preds = %21 %28 = load i32, ptr @IFM_NONE, align 4, !tbaa !15 %29 = load i32, ptr %3, align 8, !tbaa !17 %30 = or i32 %29, %28 store i32 %30, ptr %3, align 8, !tbaa !17 store i32 0, ptr %7, align 4, !tbaa !16 br label %142 31: ; preds = %21 %32 = load i32, ptr @BMCR_LOOP, align 4, !tbaa !15 %33 = and i32 %32, %23 %34 = icmp eq i32 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %31 %36 = load i32, ptr @IFM_LOOP, align 4, !tbaa !15 %37 = load i32, ptr %3, align 8, !tbaa !17 %38 = or i32 %37, %36 store i32 %38, ptr %3, align 8, !tbaa !17 br label %39 39: ; preds = %35, %31 %40 = load i32, ptr @BMCR_AUTOEN, align 4, !tbaa !15 %41 = and i32 %40, %23 %42 = icmp eq i32 %41, 0 br i1 %42, label %138, label %43 43: ; preds = %39 %44 = load i32, ptr @BMSR_ACOMP, align 4, !tbaa !15 %45 = and i32 %44, %13 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load i32, ptr @IFM_NONE, align 4, !tbaa !15 %49 = load i32, ptr %3, align 8, !tbaa !17 %50 = or i32 %49, %48 store i32 %50, ptr %3, align 8, !tbaa !17 br label %142 51: ; preds = %43 %52 = load i32, ptr @MII_ANAR, align 4, !tbaa !15 %53 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %52) #2 %54 = load i32, ptr @MII_ANLPAR, align 4, !tbaa !15 %55 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %54) #2 %56 = and i32 %55, %53 %57 = icmp eq i32 %56, 0 br i1 %57, label %112, label %58 58: ; preds = %51 %59 = load i32, ptr @ANLPAR_TX_FD, align 4, !tbaa !15 %60 = and i32 %59, %56 %61 = icmp eq i32 %60, 0 br i1 %61, label %66, label %62 62: ; preds = %58 %63 = load i32, ptr @IFM_100_TX, align 4, !tbaa !15 %64 = load i32, ptr @IFM_FDX, align 4, !tbaa !15 %65 = or i32 %64, %63 br label %100 66: ; preds = %58 %67 = load i32, ptr @ANLPAR_T4, align 4, !tbaa !15 %68 = and i32 %67, %56 %69 = icmp eq i32 %68, 0 br i1 %69, label %74, label %70 70: ; preds = %66 %71 = load i32, ptr @IFM_100_T4, align 4, !tbaa !15 %72 = load i32, ptr @IFM_HDX, align 4, !tbaa !15 %73 = or i32 %72, %71 br label %100 74: ; preds = %66 %75 = load i32, ptr @ANLPAR_TX, align 4, !tbaa !15 %76 = and i32 %75, %56 %77 = icmp eq i32 %76, 0 br i1 %77, label %82, label %78 78: ; preds = %74 %79 = load i32, ptr @IFM_100_TX, align 4, !tbaa !15 %80 = load i32, ptr @IFM_HDX, align 4, !tbaa !15 %81 = or i32 %80, %79 br label %100 82: ; preds = %74 %83 = load i32, ptr @ANLPAR_10_FD, align 4, !tbaa !15 %84 = and i32 %83, %56 %85 = icmp eq i32 %84, 0 br i1 %85, label %90, label %86 86: ; preds = %82 %87 = load i32, ptr @IFM_10_T, align 4, !tbaa !15 %88 = load i32, ptr @IFM_FDX, align 4, !tbaa !15 %89 = or i32 %88, %87 br label %100 90: ; preds = %82 %91 = load i32, ptr @ANLPAR_10, align 4, !tbaa !15 %92 = and i32 %91, %56 %93 = icmp eq i32 %92, 0 br i1 %93, label %98, label %94 94: ; preds = %90 %95 = load i32, ptr @IFM_10_T, align 4, !tbaa !15 %96 = load i32, ptr @IFM_HDX, align 4, !tbaa !15 %97 = or i32 %96, %95 br label %100 98: ; preds = %90 %99 = load i32, ptr %3, align 8, !tbaa !17 br label %100 100: ; preds = %70, %86, %98, %94, %78, %62 %101 = phi ptr [ %3, %70 ], [ %3, %86 ], [ @IFM_NONE, %98 ], [ %3, %94 ], [ %3, %78 ], [ %3, %62 ] %102 = phi i32 [ %73, %70 ], [ %89, %86 ], [ %99, %98 ], [ %97, %94 ], [ %81, %78 ], [ %65, %62 ] %103 = load i32, ptr %101, align 4, !tbaa !15 %104 = or i32 %102, %103 store i32 %104, ptr %3, align 8, !tbaa !17 %105 = load i32, ptr @IFM_FDX, align 4, !tbaa !15 %106 = and i32 %105, %104 %107 = icmp eq i32 %106, 0 br i1 %107, label %142, label %108 108: ; preds = %100 %109 = tail call i32 @mii_phy_flowstatus(ptr noundef nonnull %0) #2 %110 = load i32, ptr %3, align 8, !tbaa !17 %111 = or i32 %110, %109 store i32 %111, ptr %3, align 8, !tbaa !17 br label %142 112: ; preds = %51 %113 = load i64, ptr %0, align 8, !tbaa !18 %114 = icmp eq i64 %113, 0 br i1 %114, label %115, label %119 115: ; preds = %112 %116 = getelementptr inbounds %struct.mii_softc, ptr %0, i64 0, i32 1 %117 = load i64, ptr %116, align 8, !tbaa !19 %118 = icmp eq i64 %117, 0 br i1 %118, label %124, label %119 119: ; preds = %115, %112 %120 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef 25) #2 %121 = and i32 %120, 1 %122 = icmp eq i32 %121, 0 %123 = select i1 %122, ptr @IFM_10_T, ptr @IFM_100_TX br label %131 124: ; preds = %115 %125 = load i32, ptr @RL_MEDIASTAT, align 4, !tbaa !15 %126 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %125) #2 %127 = load i32, ptr @RL_MEDIASTAT_SPEED10, align 4, !tbaa !15 %128 = and i32 %127, %126 %129 = icmp eq i32 %128, 0 %130 = select i1 %129, ptr @IFM_100_TX, ptr @IFM_10_T br label %131 131: ; preds = %124, %119 %132 = phi ptr [ %123, %119 ], [ %130, %124 ] %133 = load i32, ptr %3, align 8, !tbaa !17 %134 = load i32, ptr %132, align 4, !tbaa !15 %135 = or i32 %133, %134 store i32 %135, ptr %3, align 8, !tbaa !17 %136 = load i32, ptr @IFM_HDX, align 4, !tbaa !15 %137 = or i32 %135, %136 br label %140 138: ; preds = %39 %139 = load i32, ptr %5, align 4, !tbaa !20 br label %140 140: ; preds = %138, %131 %141 = phi i32 [ %139, %138 ], [ %137, %131 ] store i32 %141, ptr %3, align 8, !tbaa !17 br label %142 142: ; preds = %100, %108, %140, %47, %27 ret void } declare i32 @PHY_READ(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mii_phy_flowstatus(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 = !{!"mii_softc", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"mii_data", !13, i64 0, !13, i64 4, !14, i64 8} !13 = !{!"int", !8, i64 0} !14 = !{!"TYPE_2__", !10, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!12, !13, i64 4} !17 = !{!12, !13, i64 0} !18 = !{!6, !7, i64 0} !19 = !{!6, !7, i64 8} !20 = !{!21, !13, i64 0} !21 = !{!"ifmedia_entry", !13, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mii/extr_rlphy.c_rlphy_status.c' source_filename = "AnghaBench/freebsd/sys/dev/mii/extr_rlphy.c_rlphy_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFM_AVALID = common local_unnamed_addr global i32 0, align 4 @IFM_ETHER = common local_unnamed_addr global i32 0, align 4 @MII_BMSR = common local_unnamed_addr global i32 0, align 4 @BMSR_LINK = common local_unnamed_addr global i32 0, align 4 @IFM_ACTIVE = common local_unnamed_addr global i32 0, align 4 @MII_BMCR = common local_unnamed_addr global i32 0, align 4 @BMCR_ISO = common local_unnamed_addr global i32 0, align 4 @IFM_NONE = common local_unnamed_addr global i32 0, align 4 @BMCR_LOOP = common local_unnamed_addr global i32 0, align 4 @IFM_LOOP = common local_unnamed_addr global i32 0, align 4 @BMCR_AUTOEN = common local_unnamed_addr global i32 0, align 4 @BMSR_ACOMP = common local_unnamed_addr global i32 0, align 4 @MII_ANAR = common local_unnamed_addr global i32 0, align 4 @MII_ANLPAR = common local_unnamed_addr global i32 0, align 4 @ANLPAR_TX_FD = common local_unnamed_addr global i32 0, align 4 @IFM_100_TX = common local_unnamed_addr global i32 0, align 4 @IFM_FDX = common local_unnamed_addr global i32 0, align 4 @ANLPAR_T4 = common local_unnamed_addr global i32 0, align 4 @IFM_100_T4 = common local_unnamed_addr global i32 0, align 4 @IFM_HDX = common local_unnamed_addr global i32 0, align 4 @ANLPAR_TX = common local_unnamed_addr global i32 0, align 4 @ANLPAR_10_FD = common local_unnamed_addr global i32 0, align 4 @IFM_10_T = common local_unnamed_addr global i32 0, align 4 @ANLPAR_10 = common local_unnamed_addr global i32 0, align 4 @RL_MEDIASTAT = common local_unnamed_addr global i32 0, align 4 @RL_MEDIASTAT_SPEED10 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rlphy_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rlphy_status(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 %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i32, ptr @IFM_AVALID, align 4, !tbaa !16 %7 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %6, ptr %7, align 4, !tbaa !17 %8 = load i32, ptr @IFM_ETHER, align 4, !tbaa !16 store i32 %8, ptr %3, align 8, !tbaa !18 %9 = load i32, ptr @MII_BMSR, align 4, !tbaa !16 %10 = tail call i32 @PHY_READ(ptr noundef %0, i32 noundef %9) #2 %11 = load i32, ptr @MII_BMSR, align 4, !tbaa !16 %12 = tail call i32 @PHY_READ(ptr noundef %0, i32 noundef %11) #2 %13 = or i32 %12, %10 %14 = load i32, ptr @BMSR_LINK, align 4, !tbaa !16 %15 = and i32 %13, %14 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %1 %18 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !16 %19 = load i32, ptr %7, align 4, !tbaa !17 %20 = or i32 %19, %18 store i32 %20, ptr %7, align 4, !tbaa !17 br label %21 21: ; preds = %17, %1 %22 = load i32, ptr @MII_BMCR, align 4, !tbaa !16 %23 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %22) #2 %24 = load i32, ptr @BMCR_ISO, align 4, !tbaa !16 %25 = and i32 %24, %23 %26 = icmp eq i32 %25, 0 br i1 %26, label %31, label %27 27: ; preds = %21 %28 = load i32, ptr @IFM_NONE, align 4, !tbaa !16 %29 = load i32, ptr %3, align 8, !tbaa !18 %30 = or i32 %29, %28 store i32 %30, ptr %3, align 8, !tbaa !18 store i32 0, ptr %7, align 4, !tbaa !17 br label %151 31: ; preds = %21 %32 = load i32, ptr @BMCR_LOOP, align 4, !tbaa !16 %33 = and i32 %32, %23 %34 = icmp eq i32 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %31 %36 = load i32, ptr @IFM_LOOP, align 4, !tbaa !16 %37 = load i32, ptr %3, align 8, !tbaa !18 %38 = or i32 %37, %36 store i32 %38, ptr %3, align 8, !tbaa !18 br label %39 39: ; preds = %35, %31 %40 = load i32, ptr @BMCR_AUTOEN, align 4, !tbaa !16 %41 = and i32 %40, %23 %42 = icmp eq i32 %41, 0 br i1 %42, label %147, label %43 43: ; preds = %39 %44 = load i32, ptr @BMSR_ACOMP, align 4, !tbaa !16 %45 = and i32 %44, %13 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load i32, ptr @IFM_NONE, align 4, !tbaa !16 %49 = load i32, ptr %3, align 8, !tbaa !18 %50 = or i32 %49, %48 store i32 %50, ptr %3, align 8, !tbaa !18 br label %151 51: ; preds = %43 %52 = load i32, ptr @MII_ANAR, align 4, !tbaa !16 %53 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %52) #2 %54 = load i32, ptr @MII_ANLPAR, align 4, !tbaa !16 %55 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %54) #2 %56 = and i32 %55, %53 %57 = icmp eq i32 %56, 0 br i1 %57, label %121, label %58 58: ; preds = %51 %59 = load i32, ptr @ANLPAR_TX_FD, align 4, !tbaa !16 %60 = and i32 %59, %56 %61 = icmp eq i32 %60, 0 br i1 %61, label %68, label %62 62: ; preds = %58 %63 = load i32, ptr @IFM_100_TX, align 4, !tbaa !16 %64 = load i32, ptr @IFM_FDX, align 4, !tbaa !16 %65 = or i32 %64, %63 %66 = load i32, ptr %3, align 8, !tbaa !18 %67 = or i32 %65, %66 br label %112 68: ; preds = %58 %69 = load i32, ptr @ANLPAR_T4, align 4, !tbaa !16 %70 = and i32 %69, %56 %71 = icmp eq i32 %70, 0 br i1 %71, label %78, label %72 72: ; preds = %68 %73 = load i32, ptr @IFM_100_T4, align 4, !tbaa !16 %74 = load i32, ptr @IFM_HDX, align 4, !tbaa !16 %75 = or i32 %74, %73 %76 = load i32, ptr %3, align 8, !tbaa !18 %77 = or i32 %75, %76 br label %112 78: ; preds = %68 %79 = load i32, ptr @ANLPAR_TX, align 4, !tbaa !16 %80 = and i32 %79, %56 %81 = icmp eq i32 %80, 0 br i1 %81, label %88, label %82 82: ; preds = %78 %83 = load i32, ptr @IFM_100_TX, align 4, !tbaa !16 %84 = load i32, ptr @IFM_HDX, align 4, !tbaa !16 %85 = or i32 %84, %83 %86 = load i32, ptr %3, align 8, !tbaa !18 %87 = or i32 %85, %86 br label %112 88: ; preds = %78 %89 = load i32, ptr @ANLPAR_10_FD, align 4, !tbaa !16 %90 = and i32 %89, %56 %91 = icmp eq i32 %90, 0 br i1 %91, label %98, label %92 92: ; preds = %88 %93 = load i32, ptr @IFM_10_T, align 4, !tbaa !16 %94 = load i32, ptr @IFM_FDX, align 4, !tbaa !16 %95 = or i32 %94, %93 %96 = load i32, ptr %3, align 8, !tbaa !18 %97 = or i32 %95, %96 br label %112 98: ; preds = %88 %99 = load i32, ptr @ANLPAR_10, align 4, !tbaa !16 %100 = and i32 %99, %56 %101 = icmp eq i32 %100, 0 br i1 %101, label %108, label %102 102: ; preds = %98 %103 = load i32, ptr @IFM_10_T, align 4, !tbaa !16 %104 = load i32, ptr @IFM_HDX, align 4, !tbaa !16 %105 = or i32 %104, %103 %106 = load i32, ptr %3, align 8, !tbaa !18 %107 = or i32 %105, %106 br label %112 108: ; preds = %98 %109 = load i32, ptr @IFM_NONE, align 4, !tbaa !16 %110 = load i32, ptr %3, align 8, !tbaa !18 %111 = or i32 %110, %109 br label %112 112: ; preds = %72, %92, %108, %102, %82, %62 %113 = phi i32 [ %77, %72 ], [ %97, %92 ], [ %111, %108 ], [ %107, %102 ], [ %87, %82 ], [ %67, %62 ] store i32 %113, ptr %3, align 8, !tbaa !18 %114 = load i32, ptr @IFM_FDX, align 4, !tbaa !16 %115 = and i32 %114, %113 %116 = icmp eq i32 %115, 0 br i1 %116, label %151, label %117 117: ; preds = %112 %118 = tail call i32 @mii_phy_flowstatus(ptr noundef nonnull %0) #2 %119 = load i32, ptr %3, align 8, !tbaa !18 %120 = or i32 %119, %118 store i32 %120, ptr %3, align 8, !tbaa !18 br label %151 121: ; preds = %51 %122 = load i64, ptr %0, align 8, !tbaa !19 %123 = icmp eq i64 %122, 0 br i1 %123, label %124, label %128 124: ; preds = %121 %125 = getelementptr inbounds i8, ptr %0, i64 8 %126 = load i64, ptr %125, align 8, !tbaa !20 %127 = icmp eq i64 %126, 0 br i1 %127, label %133, label %128 128: ; preds = %124, %121 %129 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef 25) #2 %130 = and i32 %129, 1 %131 = icmp eq i32 %130, 0 %132 = select i1 %131, ptr @IFM_10_T, ptr @IFM_100_TX br label %140 133: ; preds = %124 %134 = load i32, ptr @RL_MEDIASTAT, align 4, !tbaa !16 %135 = tail call i32 @PHY_READ(ptr noundef nonnull %0, i32 noundef %134) #2 %136 = load i32, ptr @RL_MEDIASTAT_SPEED10, align 4, !tbaa !16 %137 = and i32 %136, %135 %138 = icmp eq i32 %137, 0 %139 = select i1 %138, ptr @IFM_100_TX, ptr @IFM_10_T br label %140 140: ; preds = %133, %128 %141 = phi ptr [ %132, %128 ], [ %139, %133 ] %142 = load i32, ptr %3, align 8, !tbaa !18 %143 = load i32, ptr %141, align 4, !tbaa !16 %144 = or i32 %142, %143 store i32 %144, ptr %3, align 8, !tbaa !18 %145 = load i32, ptr @IFM_HDX, align 4, !tbaa !16 %146 = or i32 %144, %145 br label %149 147: ; preds = %39 %148 = load i32, ptr %5, align 4, !tbaa !21 br label %149 149: ; preds = %147, %140 %150 = phi i32 [ %148, %147 ], [ %146, %140 ] store i32 %150, ptr %3, align 8, !tbaa !18 br label %151 151: ; preds = %112, %117, %149, %47, %27 ret void } declare i32 @PHY_READ(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mii_phy_flowstatus(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 = !{!"mii_softc", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"mii_data", !14, i64 0, !14, i64 4, !15, i64 8} !14 = !{!"int", !9, i64 0} !15 = !{!"TYPE_2__", !11, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!13, !14, i64 4} !18 = !{!13, !14, i64 0} !19 = !{!7, !8, i64 0} !20 = !{!7, !8, i64 8} !21 = !{!22, !14, i64 0} !22 = !{!"ifmedia_entry", !14, i64 0}
freebsd_sys_dev_mii_extr_rlphy.c_rlphy_status
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/btc/profile/std/hf_ag/extr_bta_ag_co.c_bta_ag_ci_rx_write.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/btc/profile/std/hf_ag/extr_bta_ag_co.c_bta_ag_ci_rx_write.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 } %struct.TYPE_5__ = type { %struct.TYPE_4__ } @BT_DEFAULT_BUFFER_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @BTA_AG_CI_RX_WRITE_EVT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [66 x i8] c"ERROR: Unable to allocate buffer to hold AT response code. len=%i\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @bta_ag_ci_rx_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %35, label %5 5: ; preds = %3 %6 = load i32, ptr @BT_DEFAULT_BUFFER_SIZE, align 4, !tbaa !5 %7 = sext i32 %6 to i64 %8 = add nsw i64 %7, -9 %9 = sext i32 %2 to i64 %10 = icmp ult i64 %8, %9 %11 = trunc i64 %8 to i32 %12 = select i1 %10, i32 %11, i32 %2 br label %13 13: ; preds = %5, %21 %14 = phi ptr [ %31, %21 ], [ %1, %5 ] %15 = phi i32 [ %30, %21 ], [ %2, %5 ] %16 = phi i32 [ %17, %21 ], [ %12, %5 ] %17 = tail call i32 @llvm.smin.i32(i32 %15, i32 %16) %18 = add i32 %17, 9 %19 = tail call i64 @osi_malloc(i32 noundef %18) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %33, label %21 21: ; preds = %13 %22 = inttoptr i64 %19 to ptr %23 = sext i32 %17 to i64 %24 = load i32, ptr @BTA_AG_CI_RX_WRITE_EVT, align 4, !tbaa !5 %25 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i64 0, i32 1 store i32 %24, ptr %25, align 4, !tbaa !9 store i32 %0, ptr %22, align 4, !tbaa !12 %26 = getelementptr inbounds %struct.TYPE_5__, ptr %22, i64 1 %27 = tail call i32 @strncpy(ptr noundef nonnull %26, ptr noundef %14, i32 noundef %17) #3 %28 = getelementptr inbounds i8, ptr %26, i64 %23 store i8 0, ptr %28, align 1, !tbaa !13 %29 = tail call i32 @bta_sys_sendmsg(ptr noundef nonnull %22) #3 %30 = sub nsw i32 %15, %17 %31 = getelementptr inbounds i8, ptr %14, i64 %23 %32 = icmp eq i32 %30, 0 br i1 %32, label %35, label %13, !llvm.loop !14 33: ; preds = %13 %34 = tail call i32 @APPL_TRACE_ERROR(ptr noundef nonnull @.str, i32 noundef %17) #3 br label %35 35: ; preds = %21, %3, %33 ret void } declare i64 @osi_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bta_sys_sendmsg(ptr noundef) local_unnamed_addr #1 declare i32 @APPL_TRACE_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #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"} !9 = !{!10, !6, i64 4} !10 = !{!"TYPE_5__", !11, i64 0} !11 = !{!"TYPE_4__", !6, i64 0, !6, i64 4} !12 = !{!10, !6, i64 0} !13 = !{!7, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/btc/profile/std/hf_ag/extr_bta_ag_co.c_bta_ag_ci_rx_write.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/btc/profile/std/hf_ag/extr_bta_ag_co.c_bta_ag_ci_rx_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BT_DEFAULT_BUFFER_SIZE = common local_unnamed_addr global i32 0, align 4 @BTA_AG_CI_RX_WRITE_EVT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [66 x i8] c"ERROR: Unable to allocate buffer to hold AT response code. len=%i\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @bta_ag_ci_rx_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %35, label %5 5: ; preds = %3 %6 = load i32, ptr @BT_DEFAULT_BUFFER_SIZE, align 4, !tbaa !6 %7 = sext i32 %6 to i64 %8 = add nsw i64 %7, -9 %9 = sext i32 %2 to i64 %10 = icmp ult i64 %8, %9 %11 = trunc i64 %8 to i32 %12 = select i1 %10, i32 %11, i32 %2 br label %13 13: ; preds = %5, %21 %14 = phi ptr [ %31, %21 ], [ %1, %5 ] %15 = phi i32 [ %30, %21 ], [ %2, %5 ] %16 = phi i32 [ %17, %21 ], [ %12, %5 ] %17 = tail call i32 @llvm.smin.i32(i32 %15, i32 %16) %18 = add i32 %17, 9 %19 = tail call i64 @osi_malloc(i32 noundef %18) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %33, label %21 21: ; preds = %13 %22 = inttoptr i64 %19 to ptr %23 = sext i32 %17 to i64 %24 = load i32, ptr @BTA_AG_CI_RX_WRITE_EVT, align 4, !tbaa !6 %25 = getelementptr inbounds i8, ptr %22, i64 4 store i32 %24, ptr %25, align 4, !tbaa !10 store i32 %0, ptr %22, align 4, !tbaa !13 %26 = getelementptr inbounds i8, ptr %22, i64 8 %27 = tail call i32 @strncpy(ptr noundef nonnull %26, ptr noundef %14, i32 noundef %17) #3 %28 = getelementptr inbounds i8, ptr %26, i64 %23 store i8 0, ptr %28, align 1, !tbaa !14 %29 = tail call i32 @bta_sys_sendmsg(ptr noundef nonnull %22) #3 %30 = sub nsw i32 %15, %17 %31 = getelementptr inbounds i8, ptr %14, i64 %23 %32 = icmp eq i32 %30, 0 br i1 %32, label %35, label %13, !llvm.loop !15 33: ; preds = %13 %34 = tail call i32 @APPL_TRACE_ERROR(ptr noundef nonnull @.str, i32 noundef %17) #3 br label %35 35: ; preds = %21, %3, %33 ret void } declare i64 @osi_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bta_sys_sendmsg(ptr noundef) local_unnamed_addr #1 declare i32 @APPL_TRACE_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #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"} !10 = !{!11, !7, i64 4} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !13 = !{!11, !7, i64 0} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
esp-idf_components_bt_host_bluedroid_btc_profile_std_hf_ag_extr_bta_ag_co.c_bta_ag_ci_rx_write
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_init.c_qla2x00_local_device_login.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_init.c_qla2x00_local_device_login.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" @MAILBOX_REGISTER_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @BIT_0 = dso_local local_unnamed_addr global i32 0, align 4 @QLA_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @MBS_COMMAND_ERROR = dso_local local_unnamed_addr global i64 0, align 8 @MBS_COMMAND_PARAMETER_ERROR = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @qla2x00_local_device_login(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @MAILBOX_REGISTER_COUNT, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca i64, i64 %4, align 16 %6 = shl i32 %3, 3 %7 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %6) #2 %8 = load i32, ptr @BIT_0, align 4, !tbaa !5 %9 = call i32 @qla2x00_login_local_device(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5, i32 noundef %8) #2 %10 = load i32, ptr @QLA_SUCCESS, align 4, !tbaa !5 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %2 %13 = load i64, ptr %5, align 16, !tbaa !9 %14 = load i64, ptr @MBS_COMMAND_ERROR, align 8, !tbaa !9 %15 = icmp eq i64 %13, %14 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = load i64, ptr @MBS_COMMAND_PARAMETER_ERROR, align 8, !tbaa !9 %18 = icmp eq i64 %13, %17 %19 = select i1 %18, i32 3, i32 %9 br label %20 20: ; preds = %16, %12, %2 %21 = phi i32 [ %9, %2 ], [ 1, %12 ], [ %19, %16 ] ret i32 %21 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qla2x00_login_local_device(ptr noundef, ptr noundef, 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, !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/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_init.c_qla2x00_local_device_login.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_init.c_qla2x00_local_device_login.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAILBOX_REGISTER_COUNT = common local_unnamed_addr global i32 0, align 4 @BIT_0 = common local_unnamed_addr global i32 0, align 4 @QLA_SUCCESS = common local_unnamed_addr global i32 0, align 4 @MBS_COMMAND_ERROR = common local_unnamed_addr global i64 0, align 8 @MBS_COMMAND_PARAMETER_ERROR = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @qla2x00_local_device_login(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @MAILBOX_REGISTER_COUNT, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca i64, i64 %4, align 8 %6 = shl i32 %3, 3 %7 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %6) #2 %8 = load i32, ptr @BIT_0, align 4, !tbaa !6 %9 = call i32 @qla2x00_login_local_device(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %5, i32 noundef %8) #2 %10 = load i32, ptr @QLA_SUCCESS, align 4, !tbaa !6 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %2 %13 = load i64, ptr %5, align 8, !tbaa !10 %14 = load i64, ptr @MBS_COMMAND_ERROR, align 8, !tbaa !10 %15 = icmp eq i64 %13, %14 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = load i64, ptr @MBS_COMMAND_PARAMETER_ERROR, align 8, !tbaa !10 %18 = icmp eq i64 %13, %17 %19 = select i1 %18, i32 3, i32 %9 br label %20 20: ; preds = %16, %12, %2 %21 = phi i32 [ %9, %2 ], [ 1, %12 ], [ %19, %16 ] ret i32 %21 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qla2x00_login_local_device(ptr noundef, ptr noundef, 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, !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}
fastsocket_kernel_drivers_scsi_qla2xxx_extr_qla_init.c_qla2x00_local_device_login
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ypldap/extr_ber.c_ber_get_bitstring.c' source_filename = "AnghaBench/freebsd/usr.sbin/ypldap/extr_ber.c_ber_get_bitstring.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.ber_element = type { i64, i64, ptr } @BER_TYPE_BITSTRING = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local noundef i32 @ber_get_bitstring(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr @BER_TYPE_BITSTRING, align 8, !tbaa !11 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %3 %8 = getelementptr inbounds %struct.ber_element, ptr %0, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !12 store ptr %9, ptr %1, align 8, !tbaa !13 %10 = getelementptr inbounds %struct.ber_element, ptr %0, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !14 store i64 %11, ptr %2, align 8, !tbaa !11 br label %12 12: ; preds = %3, %7 %13 = phi i32 [ 0, %7 ], [ -1, %3 ] ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, 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 = !{!"ber_element", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !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, !10, i64 16} !13 = !{!10, !10, i64 0} !14 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ypldap/extr_ber.c_ber_get_bitstring.c' source_filename = "AnghaBench/freebsd/usr.sbin/ypldap/extr_ber.c_ber_get_bitstring.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BER_TYPE_BITSTRING = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define range(i32 -1, 1) i32 @ber_get_bitstring(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr @BER_TYPE_BITSTRING, align 8, !tbaa !12 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %12 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !13 store ptr %9, ptr %1, align 8, !tbaa !14 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !15 store i64 %11, ptr %2, align 8, !tbaa !12 br label %12 12: ; preds = %3, %7 %13 = phi i32 [ 0, %7 ], [ -1, %3 ] ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, 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 = !{!"ber_element", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !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, !11, i64 16} !14 = !{!11, !11, i64 0} !15 = !{!7, !8, i64 8}
freebsd_usr.sbin_ypldap_extr_ber.c_ber_get_bitstring
; ModuleID = 'AnghaBench/xhyve/src/extr_pci_e82545.c_e82545_tx_enable.c' source_filename = "AnghaBench/xhyve/src/extr_pci_e82545.c_e82545_tx_enable.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 @e82545_tx_enable], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @e82545_tx_enable(ptr nocapture noundef writeonly %0) #0 { store i32 1, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) 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 = !{!"e82545_softc", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/xhyve/src/extr_pci_e82545.c_e82545_tx_enable.c' source_filename = "AnghaBench/xhyve/src/extr_pci_e82545.c_e82545_tx_enable.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 @e82545_tx_enable], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @e82545_tx_enable(ptr nocapture noundef writeonly %0) #0 { store i32 1, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) 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 = !{!"e82545_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
xhyve_src_extr_pci_e82545.c_e82545_tx_enable
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elf-eh-frame.c_get_DW_EH_PE_width.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf-eh-frame.c_get_DW_EH_PE_width.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 @get_DW_EH_PE_width], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @get_DW_EH_PE_width(i32 %0, i32 %1) #0 { ret i32 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/freebsd/contrib/binutils/bfd/extr_elf-eh-frame.c_get_DW_EH_PE_width.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf-eh-frame.c_get_DW_EH_PE_width.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 @get_DW_EH_PE_width], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @get_DW_EH_PE_width(i32 %0, i32 %1) #0 { ret i32 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)"}
freebsd_contrib_binutils_bfd_extr_elf-eh-frame.c_get_DW_EH_PE_width
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/libiberty/extr_strsignal.c_psignal.c' source_filename = "AnghaBench/freebsd/contrib/binutils/libiberty/extr_strsignal.c_psignal.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" @signal_names = dso_local local_unnamed_addr global ptr null, align 8 @sys_nsig = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"%s: unknown signal\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @sys_siglist = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @psignal(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @signal_names, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 (...) @init_signal_tables() #2 br label %7 7: ; preds = %5, %2 %8 = icmp sgt i32 %0, 0 %9 = load i32, ptr @sys_nsig, align 4 %10 = icmp sgt i32 %9, %0 %11 = select i1 %8, i1 %10, i1 false %12 = load i32, ptr @stderr, align 4, !tbaa !9 br i1 %11, label %15, label %13 13: ; preds = %7 %14 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef nonnull @.str, ptr noundef %1) #2 br label %21 15: ; preds = %7 %16 = load ptr, ptr @sys_siglist, align 8, !tbaa !5 %17 = zext nneg i32 %0 to i64 %18 = getelementptr inbounds ptr, ptr %16, i64 %17 %19 = load ptr, ptr %18, align 8, !tbaa !5 %20 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef nonnull @.str.1, ptr noundef %1, ptr noundef %19) #2 br label %21 21: ; preds = %15, %13 ret void } declare i32 @init_signal_tables(...) local_unnamed_addr #1 declare i32 @fprintf(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 = !{!"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/freebsd/contrib/binutils/libiberty/extr_strsignal.c_psignal.c' source_filename = "AnghaBench/freebsd/contrib/binutils/libiberty/extr_strsignal.c_psignal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @signal_names = common local_unnamed_addr global ptr null, align 8 @sys_nsig = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"%s: unknown signal\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @sys_siglist = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @psignal(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @signal_names, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @init_signal_tables() #2 br label %7 7: ; preds = %5, %2 %8 = icmp sgt i32 %0, 0 %9 = load i32, ptr @sys_nsig, align 4 %10 = icmp sgt i32 %9, %0 %11 = select i1 %8, i1 %10, i1 false %12 = load i32, ptr @stderr, align 4, !tbaa !10 br i1 %11, label %15, label %13 13: ; preds = %7 %14 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef nonnull @.str, ptr noundef %1) #2 br label %21 15: ; preds = %7 %16 = load ptr, ptr @sys_siglist, align 8, !tbaa !6 %17 = zext nneg i32 %0 to i64 %18 = getelementptr inbounds ptr, ptr %16, i64 %17 %19 = load ptr, ptr %18, align 8, !tbaa !6 %20 = tail call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %12, ptr noundef nonnull @.str.1, ptr noundef %1, ptr noundef %19) #2 br label %21 21: ; preds = %15, %13 ret void } declare i32 @init_signal_tables(...) local_unnamed_addr #1 declare i32 @fprintf(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 = !{!"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}
freebsd_contrib_binutils_libiberty_extr_strsignal.c_psignal
; ModuleID = 'AnghaBench/linux/net/bluetooth/rfcomm/extr_core.c___rfcomm_dlc_disconn.c' source_filename = "AnghaBench/linux/net/bluetooth/rfcomm/extr_core.c___rfcomm_dlc_disconn.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.rfcomm_dlc = type { i32, i32, i32, ptr } @BT_DISCONN = dso_local local_unnamed_addr global i32 0, align 4 @RFCOMM_DISC_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__rfcomm_dlc_disconn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__rfcomm_dlc_disconn(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.rfcomm_dlc, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @BT_DISCONN, align 4, !tbaa !11 %5 = getelementptr inbounds %struct.rfcomm_dlc, ptr %0, i64 0, i32 2 store i32 %4, ptr %5, align 8, !tbaa !12 %6 = getelementptr inbounds %struct.rfcomm_dlc, ptr %0, i64 0, i32 1 %7 = tail call i64 @skb_queue_empty(ptr noundef nonnull %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %1 %10 = load i32, ptr %0, align 8, !tbaa !13 %11 = tail call i32 @rfcomm_send_disc(ptr noundef %3, i32 noundef %10) #2 %12 = load i32, ptr @RFCOMM_DISC_TIMEOUT, align 4, !tbaa !11 br label %17 13: ; preds = %1 %14 = tail call i32 @rfcomm_queue_disc(ptr noundef nonnull %0) #2 %15 = load i32, ptr @RFCOMM_DISC_TIMEOUT, align 4, !tbaa !11 %16 = shl nsw i32 %15, 1 br label %17 17: ; preds = %13, %9 %18 = phi i32 [ %16, %13 ], [ %12, %9 ] %19 = tail call i32 @rfcomm_dlc_set_timer(ptr noundef nonnull %0, i32 noundef %18) #2 ret void } declare i64 @skb_queue_empty(ptr noundef) local_unnamed_addr #1 declare i32 @rfcomm_send_disc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rfcomm_dlc_set_timer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rfcomm_queue_disc(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 = !{!"rfcomm_dlc", !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 8} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/bluetooth/rfcomm/extr_core.c___rfcomm_dlc_disconn.c' source_filename = "AnghaBench/linux/net/bluetooth/rfcomm/extr_core.c___rfcomm_dlc_disconn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BT_DISCONN = common local_unnamed_addr global i32 0, align 4 @RFCOMM_DISC_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__rfcomm_dlc_disconn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__rfcomm_dlc_disconn(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @BT_DISCONN, align 4, !tbaa !12 %5 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %4, ptr %5, align 8, !tbaa !13 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = tail call i64 @skb_queue_empty(ptr noundef nonnull %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %1 %10 = load i32, ptr %0, align 8, !tbaa !14 %11 = tail call i32 @rfcomm_send_disc(ptr noundef %3, i32 noundef %10) #2 %12 = load i32, ptr @RFCOMM_DISC_TIMEOUT, align 4, !tbaa !12 br label %17 13: ; preds = %1 %14 = tail call i32 @rfcomm_queue_disc(ptr noundef nonnull %0) #2 %15 = load i32, ptr @RFCOMM_DISC_TIMEOUT, align 4, !tbaa !12 %16 = shl nsw i32 %15, 1 br label %17 17: ; preds = %13, %9 %18 = phi i32 [ %16, %13 ], [ %12, %9 ] %19 = tail call i32 @rfcomm_dlc_set_timer(ptr noundef nonnull %0, i32 noundef %18) #2 ret void } declare i64 @skb_queue_empty(ptr noundef) local_unnamed_addr #1 declare i32 @rfcomm_send_disc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rfcomm_dlc_set_timer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rfcomm_queue_disc(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 = !{!"rfcomm_dlc", !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 8} !14 = !{!7, !8, i64 0}
linux_net_bluetooth_rfcomm_extr_core.c___rfcomm_dlc_disconn
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/serqt_usb2/extr_serqt_usb2.c_qt_calc_num_ports.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/serqt_usb2/extr_serqt_usb2.c_qt_calc_num_ports.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 } @.str = private unnamed_addr constant [24 x i8] c"numberofendpoints: %d \0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @qt_calc_num_ports], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qt_calc_num_ports(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = tail call i32 @dbg(ptr noundef nonnull @.str, i32 noundef %4) #2 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !16 %9 = load i64, ptr %8, align 8, !tbaa !17 %10 = trunc i64 %9 to i32 %11 = tail call i32 @dbg(ptr noundef nonnull @.str, i32 noundef %10) #2 %12 = load ptr, ptr %0, align 8, !tbaa !5 %13 = load ptr, ptr %12, align 8, !tbaa !10 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = add nsw i32 %14, -1 %16 = sdiv i32 %15, 2 ret i32 %16 } declare i32 @dbg(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 = !{!"usb_serial", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_10__", !7, i64 0, !7, i64 8} !12 = !{!13, !15, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"TYPE_9__", !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!11, !7, i64 8} !17 = !{!18, !20, i64 0} !18 = !{!"TYPE_7__", !19, i64 0} !19 = !{!"TYPE_6__", !20, i64 0} !20 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/serqt_usb2/extr_serqt_usb2.c_qt_calc_num_ports.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/serqt_usb2/extr_serqt_usb2.c_qt_calc_num_ports.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 [24 x i8] c"numberofendpoints: %d \0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @qt_calc_num_ports], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1073741824, 1073741824) i32 @qt_calc_num_ports(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load i32, ptr %3, align 4, !tbaa !13 %5 = tail call i32 @dbg(ptr noundef nonnull @.str, i32 noundef %4) #2 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !17 %9 = load i64, ptr %8, align 8, !tbaa !18 %10 = trunc i64 %9 to i32 %11 = tail call i32 @dbg(ptr noundef nonnull @.str, i32 noundef %10) #2 %12 = load ptr, ptr %0, align 8, !tbaa !6 %13 = load ptr, ptr %12, align 8, !tbaa !11 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = add nsw i32 %14, -1 %16 = sdiv i32 %15, 2 ret i32 %16 } declare i32 @dbg(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 = !{!"usb_serial", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_10__", !8, i64 0, !8, i64 8} !13 = !{!14, !16, i64 0} !14 = !{!"TYPE_8__", !15, i64 0} !15 = !{!"TYPE_9__", !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!12, !8, i64 8} !18 = !{!19, !21, i64 0} !19 = !{!"TYPE_7__", !20, i64 0} !20 = !{!"TYPE_6__", !21, i64 0} !21 = !{!"long", !9, i64 0}
fastsocket_kernel_drivers_staging_serqt_usb2_extr_serqt_usb2.c_qt_calc_num_ports