IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/system/ports/src/extr_sys_ports_static.c_SYS_PORTS_PinDirectionSelect.c' source_filename = "AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/system/ports/src/extr_sys_ports_static.c_SYS_PORTS_PinDirectionSelect.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" @SYS_PORTS_DIRECTION_OUTPUT = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @SYS_PORTS_PinDirectionSelect(i32 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr @SYS_PORTS_DIRECTION_OUTPUT, align 8, !tbaa !5 %6 = icmp eq i64 %5, %1 br i1 %6, label %7, label %9 7: ; preds = %4 %8 = tail call i32 @PLIB_PORTS_PinDirectionOutputSet(i32 noundef %0, i32 noundef %2, i32 noundef %3) #2 br label %11 9: ; preds = %4 %10 = tail call i32 @PLIB_PORTS_PinDirectionInputSet(i32 noundef %0, i32 noundef %2, i32 noundef %3) #2 br label %11 11: ; preds = %9, %7 ret void } declare i32 @PLIB_PORTS_PinDirectionOutputSet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PLIB_PORTS_PinDirectionInputSet(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, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/system/ports/src/extr_sys_ports_static.c_SYS_PORTS_PinDirectionSelect.c' source_filename = "AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/system/ports/src/extr_sys_ports_static.c_SYS_PORTS_PinDirectionSelect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SYS_PORTS_DIRECTION_OUTPUT = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @SYS_PORTS_PinDirectionSelect(i32 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr @SYS_PORTS_DIRECTION_OUTPUT, align 8, !tbaa !6 %6 = icmp eq i64 %5, %1 br i1 %6, label %7, label %9 7: ; preds = %4 %8 = tail call i32 @PLIB_PORTS_PinDirectionOutputSet(i32 noundef %0, i32 noundef %2, i32 noundef %3) #2 br label %11 9: ; preds = %4 %10 = tail call i32 @PLIB_PORTS_PinDirectionInputSet(i32 noundef %0, i32 noundef %2, i32 noundef %3) #2 br label %11 11: ; preds = %9, %7 ret void } declare i32 @PLIB_PORTS_PinDirectionOutputSet(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PLIB_PORTS_PinDirectionInputSet(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, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
mongoose_examples_PIC32_mqtt_client_firmware_src_system_config_mx795_CC3100_e16_framework_system_ports_src_extr_sys_ports_static.c_SYS_PORTS_PinDirectionSelect
; ModuleID = 'AnghaBench/linux/drivers/crypto/chelsio/extr_chcr_algo.c_chcr_aes_ctr_setkey.c' source_filename = "AnghaBench/linux/drivers/crypto/chelsio/extr_chcr_algo.c_chcr_aes_ctr_setkey.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.ablk_ctx = type { i32, i32, i32, i32 } @CHCR_KEYCTX_CIPHER_KEY_SIZE_192 = dso_local local_unnamed_addr global i32 0, align 4 @KEY_CONTEXT_HDR_SALT_AND_PAD = dso_local local_unnamed_addr global i32 0, align 4 @CHCR_KEYCTX_NO_KEY = dso_local local_unnamed_addr global i32 0, align 4 @CHCR_SCMD_CIPHER_MODE_AES_CTR = dso_local local_unnamed_addr global i32 0, align 4 @CRYPTO_TFM_RES_BAD_KEY_LEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @chcr_aes_ctr_setkey], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @chcr_aes_ctr_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @c_ctx(ptr noundef %0) #2 %5 = tail call ptr @ABLK_CTX(i32 noundef %4) #2 %6 = tail call i32 @chcr_cipher_fallback_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %25 8: ; preds = %3 %9 = tail call i32 @chcr_keyctx_ck_size(i32 noundef %2) #2 %10 = load i32, ptr @CHCR_KEYCTX_CIPHER_KEY_SIZE_192, align 4, !tbaa !5 %11 = icmp eq i32 %9, %10 %12 = select i1 %11, i32 8, i32 0 %13 = getelementptr inbounds %struct.ablk_ctx, ptr %5, i64 0, i32 3 %14 = load i32, ptr %13, align 4, !tbaa !9 %15 = tail call i32 @memcpy(i32 noundef %14, ptr noundef %1, i32 noundef %2) #2 store i32 %2, ptr %5, align 4, !tbaa !11 %16 = load i32, ptr @KEY_CONTEXT_HDR_SALT_AND_PAD, align 4, !tbaa !5 %17 = add i32 %12, %2 %18 = add i32 %17, %16 %19 = lshr i32 %18, 4 %20 = load i32, ptr @CHCR_KEYCTX_NO_KEY, align 4, !tbaa !5 %21 = tail call i32 @FILL_KEY_CTX_HDR(i32 noundef %9, i32 noundef %20, i32 noundef 0, i32 noundef 0, i32 noundef %19) #2 %22 = getelementptr inbounds %struct.ablk_ctx, ptr %5, i64 0, i32 2 store i32 %21, ptr %22, align 4, !tbaa !12 %23 = load i32, ptr @CHCR_SCMD_CIPHER_MODE_AES_CTR, align 4, !tbaa !5 %24 = getelementptr inbounds %struct.ablk_ctx, ptr %5, i64 0, i32 1 store i32 %23, ptr %24, align 4, !tbaa !13 br label %28 25: ; preds = %3 %26 = load i32, ptr @CRYPTO_TFM_RES_BAD_KEY_LEN, align 4, !tbaa !5 %27 = tail call i32 @crypto_ablkcipher_set_flags(ptr noundef %0, i32 noundef %26) #2 store i32 0, ptr %5, align 4, !tbaa !11 br label %28 28: ; preds = %25, %8 ret i32 %6 } declare ptr @ABLK_CTX(i32 noundef) local_unnamed_addr #1 declare i32 @c_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @chcr_cipher_fallback_setkey(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @chcr_keyctx_ck_size(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FILL_KEY_CTX_HDR(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_ablkcipher_set_flags(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, !6, i64 12} !10 = !{!"ablk_ctx", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !11 = !{!10, !6, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/crypto/chelsio/extr_chcr_algo.c_chcr_aes_ctr_setkey.c' source_filename = "AnghaBench/linux/drivers/crypto/chelsio/extr_chcr_algo.c_chcr_aes_ctr_setkey.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CHCR_KEYCTX_CIPHER_KEY_SIZE_192 = common local_unnamed_addr global i32 0, align 4 @KEY_CONTEXT_HDR_SALT_AND_PAD = common local_unnamed_addr global i32 0, align 4 @CHCR_KEYCTX_NO_KEY = common local_unnamed_addr global i32 0, align 4 @CHCR_SCMD_CIPHER_MODE_AES_CTR = common local_unnamed_addr global i32 0, align 4 @CRYPTO_TFM_RES_BAD_KEY_LEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @chcr_aes_ctr_setkey], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @chcr_aes_ctr_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @c_ctx(ptr noundef %0) #2 %5 = tail call ptr @ABLK_CTX(i32 noundef %4) #2 %6 = tail call i32 @chcr_cipher_fallback_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %25 8: ; preds = %3 %9 = tail call i32 @chcr_keyctx_ck_size(i32 noundef %2) #2 %10 = load i32, ptr @CHCR_KEYCTX_CIPHER_KEY_SIZE_192, align 4, !tbaa !6 %11 = icmp eq i32 %9, %10 %12 = select i1 %11, i32 8, i32 0 %13 = getelementptr inbounds i8, ptr %5, i64 12 %14 = load i32, ptr %13, align 4, !tbaa !10 %15 = tail call i32 @memcpy(i32 noundef %14, ptr noundef %1, i32 noundef %2) #2 store i32 %2, ptr %5, align 4, !tbaa !12 %16 = load i32, ptr @KEY_CONTEXT_HDR_SALT_AND_PAD, align 4, !tbaa !6 %17 = add i32 %12, %2 %18 = add i32 %17, %16 %19 = lshr i32 %18, 4 %20 = load i32, ptr @CHCR_KEYCTX_NO_KEY, align 4, !tbaa !6 %21 = tail call i32 @FILL_KEY_CTX_HDR(i32 noundef %9, i32 noundef %20, i32 noundef 0, i32 noundef 0, i32 noundef %19) #2 %22 = getelementptr inbounds i8, ptr %5, i64 8 store i32 %21, ptr %22, align 4, !tbaa !13 %23 = load i32, ptr @CHCR_SCMD_CIPHER_MODE_AES_CTR, align 4, !tbaa !6 %24 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %23, ptr %24, align 4, !tbaa !14 br label %28 25: ; preds = %3 %26 = load i32, ptr @CRYPTO_TFM_RES_BAD_KEY_LEN, align 4, !tbaa !6 %27 = tail call i32 @crypto_ablkcipher_set_flags(ptr noundef %0, i32 noundef %26) #2 store i32 0, ptr %5, align 4, !tbaa !12 br label %28 28: ; preds = %25, %8 ret i32 %6 } declare ptr @ABLK_CTX(i32 noundef) local_unnamed_addr #1 declare i32 @c_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @chcr_cipher_fallback_setkey(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @chcr_keyctx_ck_size(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FILL_KEY_CTX_HDR(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_ablkcipher_set_flags(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, !7, i64 12} !11 = !{!"ablk_ctx", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !12 = !{!11, !7, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!11, !7, i64 4}
linux_drivers_crypto_chelsio_extr_chcr_algo.c_chcr_aes_ctr_setkey
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/atm/extr_idt77252.c_idt77252_phy_put.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/atm/extr_idt77252.c_idt77252_phy_put.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 @idt77252_phy_put], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @idt77252_phy_put(ptr nocapture noundef readonly %0, i8 noundef zeroext %1, i64 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = trunc i64 %2 to i32 %6 = and i32 %5, 511 %7 = add nuw nsw i32 %6, 256 %8 = tail call i32 @write_utility(i32 noundef %4, i32 noundef %7, i8 noundef zeroext %1) #2 ret void } declare i32 @write_utility(i32 noundef, i32 noundef, i8 noundef zeroext) 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 = !{!"atm_dev", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/atm/extr_idt77252.c_idt77252_phy_put.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/atm/extr_idt77252.c_idt77252_phy_put.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 @idt77252_phy_put], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @idt77252_phy_put(ptr nocapture noundef readonly %0, i8 noundef zeroext %1, i64 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = trunc i64 %2 to i32 %6 = and i32 %5, 511 %7 = add nuw nsw i32 %6, 256 %8 = tail call i32 @write_utility(i32 noundef %4, i32 noundef %7, i8 noundef zeroext %1) #2 ret void } declare i32 @write_utility(i32 noundef, i32 noundef, i8 noundef zeroext) 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 = !{!"atm_dev", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_atm_extr_idt77252.c_idt77252_phy_put
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_pcache.c_testpcacheRandom.c' source_filename = "AnghaBench/sqlcipher/src/extr_test_pcache.c_testpcacheRandom.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 @testpcacheRandom], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal i32 @testpcacheRandom(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = mul nsw i32 %2, 69069 %4 = add nsw i32 %3, 5 %5 = mul nsw i32 %4, 69069 %6 = add nsw i32 %5, 5 %7 = mul nsw i32 %6, 69069 %8 = add nsw i32 %7, 5 %9 = lshr i32 %6, 8 %10 = and i32 %9, 65280 %11 = and i32 %4, 16711680 %12 = or disjoint i32 %11, %10 %13 = lshr i32 %8, 16 %14 = and i32 %13, 255 %15 = or disjoint i32 %14, %12 %16 = mul nsw i32 %8, 69069 %17 = add nsw i32 %16, 5 %18 = shl nuw i32 %15, 8 %19 = lshr i32 %17, 16 %20 = and i32 %19, 255 %21 = or disjoint i32 %20, %18 store i32 %17, ptr %0, align 4, !tbaa !5 ret i32 %21 } 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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_pcache.c_testpcacheRandom.c' source_filename = "AnghaBench/sqlcipher/src/extr_test_pcache.c_testpcacheRandom.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 @testpcacheRandom], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal i32 @testpcacheRandom(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = mul nsw i32 %2, 69069 %4 = add nsw i32 %3, 5 %5 = mul nsw i32 %4, 69069 %6 = add nsw i32 %5, 5 %7 = mul nsw i32 %6, 69069 %8 = add nsw i32 %7, 5 %9 = lshr i32 %6, 8 %10 = and i32 %9, 65280 %11 = and i32 %4, 16711680 %12 = or disjoint i32 %11, %10 %13 = lshr i32 %8, 16 %14 = and i32 %13, 255 %15 = or disjoint i32 %14, %12 %16 = mul nsw i32 %8, 69069 %17 = add nsw i32 %16, 5 %18 = shl nuw i32 %15, 8 %19 = lshr i32 %17, 16 %20 = and i32 %19, 255 %21 = or disjoint i32 %20, %18 store i32 %17, ptr %0, align 4, !tbaa !6 ret i32 %21 } 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 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
sqlcipher_src_extr_test_pcache.c_testpcacheRandom
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_main.c_YuiErrorMsg.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_main.c_YuiErrorMsg.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" @yui = dso_local local_unnamed_addr global i32 0, align 4 @GTK_DIALOG_MODAL = dso_local local_unnamed_addr global i32 0, align 4 @GTK_MESSAGE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @GTK_BUTTONS_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @YuiErrorMsg(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @yui, align 4, !tbaa !5 %3 = tail call i32 @GTK_WINDOW(i32 noundef %2) #2 %4 = load i32, ptr @GTK_DIALOG_MODAL, align 4, !tbaa !5 %5 = load i32, ptr @GTK_MESSAGE_ERROR, align 4, !tbaa !5 %6 = load i32, ptr @GTK_BUTTONS_OK, align 4, !tbaa !5 %7 = tail call ptr @gtk_message_dialog_new(i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %0, ptr noundef null) #2 %8 = tail call i32 @GTK_DIALOG(ptr noundef %7) #2 %9 = tail call i32 @gtk_dialog_run(i32 noundef %8) #2 %10 = tail call i32 @gtk_widget_destroy(ptr noundef %7) #2 ret void } declare ptr @gtk_message_dialog_new(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GTK_WINDOW(i32 noundef) local_unnamed_addr #1 declare i32 @gtk_dialog_run(i32 noundef) local_unnamed_addr #1 declare i32 @GTK_DIALOG(ptr noundef) local_unnamed_addr #1 declare i32 @gtk_widget_destroy(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/Provenance/Cores/Yabause/yabause/src/gtk/extr_main.c_YuiErrorMsg.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_main.c_YuiErrorMsg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @yui = common local_unnamed_addr global i32 0, align 4 @GTK_DIALOG_MODAL = common local_unnamed_addr global i32 0, align 4 @GTK_MESSAGE_ERROR = common local_unnamed_addr global i32 0, align 4 @GTK_BUTTONS_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @YuiErrorMsg(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @yui, align 4, !tbaa !6 %3 = tail call i32 @GTK_WINDOW(i32 noundef %2) #2 %4 = load i32, ptr @GTK_DIALOG_MODAL, align 4, !tbaa !6 %5 = load i32, ptr @GTK_MESSAGE_ERROR, align 4, !tbaa !6 %6 = load i32, ptr @GTK_BUTTONS_OK, align 4, !tbaa !6 %7 = tail call ptr @gtk_message_dialog_new(i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %0, ptr noundef null) #2 %8 = tail call i32 @GTK_DIALOG(ptr noundef %7) #2 %9 = tail call i32 @gtk_dialog_run(i32 noundef %8) #2 %10 = tail call i32 @gtk_widget_destroy(ptr noundef %7) #2 ret void } declare ptr @gtk_message_dialog_new(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GTK_WINDOW(i32 noundef) local_unnamed_addr #1 declare i32 @gtk_dialog_run(i32 noundef) local_unnamed_addr #1 declare i32 @GTK_DIALOG(ptr noundef) local_unnamed_addr #1 declare i32 @gtk_widget_destroy(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"}
Provenance_Cores_Yabause_yabause_src_gtk_extr_main.c_YuiErrorMsg
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/amba/extr_bus.c_amba_release_regions.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/amba/extr_bus.c_amba_release_regions.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 @amba_release_regions(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @resource_size(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @release_mem_region(i32 noundef %3, i32 noundef %2) #2 ret void } declare i32 @resource_size(ptr noundef) local_unnamed_addr #1 declare i32 @release_mem_region(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 = !{!"amba_device", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/amba/extr_bus.c_amba_release_regions.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/amba/extr_bus.c_amba_release_regions.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 @amba_release_regions(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @resource_size(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @release_mem_region(i32 noundef %3, i32 noundef %2) #2 ret void } declare i32 @resource_size(ptr noundef) local_unnamed_addr #1 declare i32 @release_mem_region(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 = !{!"amba_device", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_amba_extr_bus.c_amba_release_regions
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/libfc/extr_fc_rport.c_fc_rport_t0_prli.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/libfc/extr_fc_rport.c_fc_rport_t0_prli.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" @FC_SPP_EST_IMG_PAIR = dso_local local_unnamed_addr global i32 0, align 4 @FC_SPP_RESP_INVL = dso_local local_unnamed_addr global i32 0, align 4 @FC_SPP_RESP_ACK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fc_rport_t0_prli], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @fc_rport_t0_prli(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture readnone %3) #0 { %5 = load i32, ptr %2, align 4, !tbaa !5 %6 = load i32, ptr @FC_SPP_EST_IMG_PAIR, align 4, !tbaa !10 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = load i32, ptr @FC_SPP_RESP_ACK, align 4 %10 = load i32, ptr @FC_SPP_RESP_INVL, align 4 %11 = select i1 %8, i32 %9, i32 %10 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, !7, i64 0} !6 = !{!"fc_els_spp", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/libfc/extr_fc_rport.c_fc_rport_t0_prli.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/libfc/extr_fc_rport.c_fc_rport_t0_prli.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FC_SPP_EST_IMG_PAIR = common local_unnamed_addr global i32 0, align 4 @FC_SPP_RESP_INVL = common local_unnamed_addr global i32 0, align 4 @FC_SPP_RESP_ACK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fc_rport_t0_prli], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @fc_rport_t0_prli(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture readnone %3) #0 { %5 = load i32, ptr %2, align 4, !tbaa !6 %6 = load i32, ptr @FC_SPP_EST_IMG_PAIR, align 4, !tbaa !11 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = load i32, ptr @FC_SPP_RESP_ACK, align 4 %10 = load i32, ptr @FC_SPP_RESP_INVL, align 4 %11 = select i1 %8, i32 %9, i32 %10 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, !8, i64 0} !7 = !{!"fc_els_spp", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_scsi_libfc_extr_fc_rport.c_fc_rport_t0_prli
; ModuleID = 'AnghaBench/freebsd/contrib/blacklist/port/extr_popenve.c_pdes_parent.c' source_filename = "AnghaBench/freebsd/contrib/blacklist/port/extr_popenve.c_pdes_parent.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.pid = type { i32, ptr, i32, ptr } @pidlist = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @pdes_parent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pdes_parent(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = load i8, ptr %3, align 1, !tbaa !5 %6 = icmp eq i8 %5, 114 br i1 %6, label %7, label %11 7: ; preds = %4 %8 = load i32, ptr %0, align 4, !tbaa !8 %9 = tail call ptr @fdopen(i32 noundef %8, ptr noundef nonnull %3) %10 = getelementptr inbounds i32, ptr %0, i64 1 br label %15 11: ; preds = %4 %12 = getelementptr inbounds i32, ptr %0, i64 1 %13 = load i32, ptr %12, align 4, !tbaa !8 %14 = tail call ptr @fdopen(i32 noundef %13, ptr noundef nonnull %3) br label %15 15: ; preds = %11, %7 %16 = phi ptr [ %0, %11 ], [ %10, %7 ] %17 = phi ptr [ %14, %11 ], [ %9, %7 ] %18 = load i32, ptr %16, align 4, !tbaa !8 %19 = tail call i32 @close(i32 noundef %18) #3 %20 = getelementptr inbounds %struct.pid, ptr %1, i64 0, i32 3 store ptr %17, ptr %20, align 8, !tbaa !10 %21 = getelementptr inbounds %struct.pid, ptr %1, i64 0, i32 2 store i32 %2, ptr %21, align 8, !tbaa !13 %22 = load ptr, ptr @pidlist, align 8, !tbaa !14 %23 = getelementptr inbounds %struct.pid, ptr %1, i64 0, i32 1 store ptr %22, ptr %23, align 8, !tbaa !15 store ptr %1, ptr @pidlist, align 8, !tbaa !14 ret void } ; Function Attrs: nofree nounwind declare noalias noundef ptr @fdopen(i32 noundef, ptr nocapture noundef readonly) local_unnamed_addr #1 declare i32 @close(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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0} !10 = !{!11, !12, i64 24} !11 = !{!"pid", !9, i64 0, !12, i64 8, !9, i64 16, !12, i64 24} !12 = !{!"any pointer", !6, i64 0} !13 = !{!11, !9, i64 16} !14 = !{!12, !12, i64 0} !15 = !{!11, !12, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/blacklist/port/extr_popenve.c_pdes_parent.c' source_filename = "AnghaBench/freebsd/contrib/blacklist/port/extr_popenve.c_pdes_parent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pidlist = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @pdes_parent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pdes_parent(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = load i8, ptr %3, align 1, !tbaa !6 %6 = icmp eq i8 %5, 114 br i1 %6, label %7, label %11 7: ; preds = %4 %8 = load i32, ptr %0, align 4, !tbaa !9 %9 = tail call ptr @fdopen(i32 noundef %8, ptr noundef nonnull %3) %10 = getelementptr inbounds i8, ptr %0, i64 4 br label %15 11: ; preds = %4 %12 = getelementptr inbounds i8, ptr %0, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !9 %14 = tail call ptr @fdopen(i32 noundef %13, ptr noundef nonnull %3) br label %15 15: ; preds = %11, %7 %16 = phi ptr [ %0, %11 ], [ %10, %7 ] %17 = phi ptr [ %14, %11 ], [ %9, %7 ] %18 = load i32, ptr %16, align 4, !tbaa !9 %19 = tail call i32 @close(i32 noundef %18) #3 %20 = getelementptr inbounds i8, ptr %1, i64 24 store ptr %17, ptr %20, align 8, !tbaa !11 %21 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %2, ptr %21, align 8, !tbaa !14 %22 = load ptr, ptr @pidlist, align 8, !tbaa !15 %23 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %22, ptr %23, align 8, !tbaa !16 store ptr %1, ptr @pidlist, align 8, !tbaa !15 ret void } ; Function Attrs: nofree nounwind declare noalias noundef ptr @fdopen(i32 noundef, ptr nocapture noundef readonly) local_unnamed_addr #1 declare i32 @close(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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !13, i64 24} !12 = !{!"pid", !10, i64 0, !13, i64 8, !10, i64 16, !13, i64 24} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !10, i64 16} !15 = !{!13, !13, i64 0} !16 = !{!12, !13, i64 8}
freebsd_contrib_blacklist_port_extr_popenve.c_pdes_parent
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/um/drivers/extr_line.c_line_remove.c' source_filename = "AnghaBench/fastsocket/kernel/arch/um/drivers/extr_line.c_line_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" @.str = private unnamed_addr constant [8 x i8] c"%d=none\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @line_remove(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca [14 x i8], align 1 call void @llvm.lifetime.start.p0(i64 14, ptr nonnull %5) #4 %6 = call i32 @sprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str, i32 noundef %2) #4 %7 = call i32 @line_setup(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %5, ptr noundef %3) #4 %8 = call i32 @llvm.smin.i32(i32 %7, i32 0) call void @llvm.lifetime.end.p0(i64 14, ptr nonnull %5) #4 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @line_setup(ptr noundef, 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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/um/drivers/extr_line.c_line_remove.c' source_filename = "AnghaBench/fastsocket/kernel/arch/um/drivers/extr_line.c_line_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [8 x i8] c"%d=none\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @line_remove(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca [14 x i8], align 1 call void @llvm.lifetime.start.p0(i64 14, ptr nonnull %5) #4 %6 = call i32 @sprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str, i32 noundef %2) #4 %7 = call i32 @line_setup(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %5, ptr noundef %3) #4 %8 = call i32 @llvm.smin.i32(i32 %7, i32 0) call void @llvm.lifetime.end.p0(i64 14, ptr nonnull %5) #4 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @line_setup(ptr noundef, 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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_um_drivers_extr_line.c_line_remove
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_probe.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_probe.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.ov5640_dev = type { i64, i32, i32, i64, %struct.TYPE_10__, i32, %struct.TYPE_9__, %struct.TYPE_12__, ptr, ptr, ptr, i32, ptr, ptr, %struct.TYPE_8__, %struct.v4l2_mbus_framefmt, ptr } %struct.TYPE_10__ = type { i32, %struct.TYPE_11__ } %struct.TYPE_11__ = type { i32 } %struct.TYPE_9__ = type { i32 } %struct.TYPE_12__ = type { i32 } %struct.TYPE_8__ = type { i32, i32 } %struct.v4l2_mbus_framefmt = type { i32, i32, i32, i32, i32, i32, i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @MEDIA_BUS_FMT_UYVY8_2X8 = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_COLORSPACE_SRGB = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_QUANTIZATION_FULL_RANGE = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_FIELD_NONE = dso_local local_unnamed_addr global i32 0, align 4 @ov5640_framerates = dso_local local_unnamed_addr global ptr null, align 8 @OV5640_30_FPS = dso_local local_unnamed_addr global i64 0, align 8 @ov5640_mode_data = dso_local local_unnamed_addr global ptr null, align 8 @OV5640_MODE_VGA_640_480 = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [9 x i8] c"rotation\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"%u degrees rotation is not supported, ignoring...\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"endpoint node not found\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [26 x i8] c"Could not parse endpoint\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"xclk\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"failed to get xclk\0A\00", align 1 @OV5640_XCLK_MIN = dso_local local_unnamed_addr global i64 0, align 8 @OV5640_XCLK_MAX = dso_local local_unnamed_addr global i64 0, align 8 @.str.6 = private unnamed_addr constant [36 x i8] c"xclk frequency out of range: %d Hz\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"powerdown\00", align 1 @GPIOD_OUT_HIGH = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [6 x i8] c"reset\00", align 1 @ov5640_subdev_ops = dso_local global i32 0, align 4 @V4L2_SUBDEV_FL_HAS_DEVNODE = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_SUBDEV_FL_HAS_EVENTS = dso_local local_unnamed_addr global i32 0, align 4 @MEDIA_PAD_FL_SOURCE = dso_local local_unnamed_addr global i32 0, align 4 @MEDIA_ENT_F_CAM_SENSOR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ov5640_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ov5640_probe(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %4 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 144, i32 noundef %3) #3 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %137 9: ; preds = %1 %10 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 16 store ptr %0, ptr %10, align 8, !tbaa !9 %11 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 15 %12 = load i32, ptr @MEDIA_BUS_FMT_UYVY8_2X8, align 4, !tbaa !5 %13 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 15, i32 7 store i32 %12, ptr %13, align 4, !tbaa !19 %14 = load i32, ptr @V4L2_COLORSPACE_SRGB, align 4, !tbaa !5 %15 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 15, i32 3 store i32 %14, ptr %15, align 4, !tbaa !20 %16 = tail call i32 @V4L2_MAP_YCBCR_ENC_DEFAULT(i32 noundef %14) #3 %17 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 15, i32 6 store i32 %16, ptr %17, align 4, !tbaa !21 %18 = load i32, ptr @V4L2_QUANTIZATION_FULL_RANGE, align 4, !tbaa !5 %19 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 15, i32 5 store i32 %18, ptr %19, align 4, !tbaa !22 %20 = load i32, ptr %15, align 4, !tbaa !20 %21 = tail call i32 @V4L2_MAP_XFER_FUNC_DEFAULT(i32 noundef %20) #3 %22 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 15, i32 4 store i32 %21, ptr %22, align 4, !tbaa !23 store i32 640, ptr %11, align 4, !tbaa !24 %23 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 15, i32 1 store i32 480, ptr %23, align 4, !tbaa !25 %24 = load i32, ptr @V4L2_FIELD_NONE, align 4, !tbaa !5 %25 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 15, i32 2 store i32 %24, ptr %25, align 4, !tbaa !26 %26 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 14 store i32 1, ptr %26, align 8, !tbaa !27 %27 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !28 %28 = load i64, ptr @OV5640_30_FPS, align 8, !tbaa !29 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = load i32, ptr %29, align 4, !tbaa !5 %31 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 14, i32 1 store i32 %30, ptr %31, align 4, !tbaa !30 store i64 %28, ptr %4, align 8, !tbaa !31 %32 = load ptr, ptr @ov5640_mode_data, align 8, !tbaa !28 %33 = load i64, ptr @OV5640_MODE_VGA_640_480, align 8, !tbaa !29 %34 = getelementptr inbounds i32, ptr %32, i64 %33 %35 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 12 store ptr %34, ptr %35, align 8, !tbaa !32 %36 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 13 store ptr %34, ptr %36, align 8, !tbaa !33 %37 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 1 store i32 52, ptr %37, align 8, !tbaa !34 %38 = tail call i32 @dev_fwnode(ptr noundef %0) #3 %39 = call i32 @fwnode_property_read_u32(i32 noundef %38, ptr noundef nonnull @.str, ptr noundef nonnull %2) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %9 %42 = load i32, ptr %2, align 4, !tbaa !5 switch i32 %42, label %45 [ i32 180, label %43 i32 0, label %47 ] 43: ; preds = %41 %44 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 2 store i32 1, ptr %44, align 4, !tbaa !35 br label %47 45: ; preds = %41 %46 = call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %42) #3 br label %47 47: ; preds = %41, %43, %45, %9 %48 = call i32 @dev_fwnode(ptr noundef %0) #3 %49 = call ptr @fwnode_graph_get_next_endpoint(i32 noundef %48, ptr noundef null) #3 %50 = icmp eq ptr %49, null br i1 %50, label %51, label %55 51: ; preds = %47 %52 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2) #3 %53 = load i32, ptr @EINVAL, align 4, !tbaa !5 %54 = sub nsw i32 0, %53 br label %137 55: ; preds = %47 %56 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 11 %57 = call i32 @v4l2_fwnode_endpoint_parse(ptr noundef nonnull %49, ptr noundef nonnull %56) #3 %58 = call i32 @fwnode_handle_put(ptr noundef nonnull %49) #3 %59 = icmp eq i32 %57, 0 br i1 %59, label %62, label %60 60: ; preds = %55 %61 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3) #3 br label %137 62: ; preds = %55 %63 = call ptr @devm_clk_get(ptr noundef %0, ptr noundef nonnull @.str.4) #3 %64 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 10 store ptr %63, ptr %64, align 8, !tbaa !36 %65 = call i64 @IS_ERR(ptr noundef %63) #3 %66 = icmp eq i64 %65, 0 br i1 %66, label %71, label %67 67: ; preds = %62 %68 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.5) #3 %69 = load ptr, ptr %64, align 8, !tbaa !36 %70 = call i32 @PTR_ERR(ptr noundef %69) #3 br label %137 71: ; preds = %62 %72 = load ptr, ptr %64, align 8, !tbaa !36 %73 = call i64 @clk_get_rate(ptr noundef %72) #3 %74 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 3 store i64 %73, ptr %74, align 8, !tbaa !37 %75 = load i64, ptr @OV5640_XCLK_MIN, align 8, !tbaa !29 %76 = icmp slt i64 %73, %75 %77 = load i64, ptr @OV5640_XCLK_MAX, align 8 %78 = icmp sgt i64 %73, %77 %79 = select i1 %76, i1 true, i1 %78 br i1 %79, label %80, label %84 80: ; preds = %71 %81 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.6, i64 noundef %73) #3 %82 = load i32, ptr @EINVAL, align 4, !tbaa !5 %83 = sub nsw i32 0, %82 br label %137 84: ; preds = %71 %85 = load i32, ptr @GPIOD_OUT_HIGH, align 4, !tbaa !5 %86 = call ptr @devm_gpiod_get_optional(ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %85) #3 %87 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 9 store ptr %86, ptr %87, align 8, !tbaa !38 %88 = call i64 @IS_ERR(ptr noundef %86) #3 %89 = icmp eq i64 %88, 0 br i1 %89, label %93, label %90 90: ; preds = %84 %91 = load ptr, ptr %87, align 8, !tbaa !38 %92 = call i32 @PTR_ERR(ptr noundef %91) #3 br label %137 93: ; preds = %84 %94 = load i32, ptr @GPIOD_OUT_HIGH, align 4, !tbaa !5 %95 = call ptr @devm_gpiod_get_optional(ptr noundef %0, ptr noundef nonnull @.str.8, i32 noundef %94) #3 %96 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 8 store ptr %95, ptr %96, align 8, !tbaa !39 %97 = call i64 @IS_ERR(ptr noundef %95) #3 %98 = icmp eq i64 %97, 0 br i1 %98, label %102, label %99 99: ; preds = %93 %100 = load ptr, ptr %96, align 8, !tbaa !39 %101 = call i32 @PTR_ERR(ptr noundef %100) #3 br label %137 102: ; preds = %93 %103 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 4 %104 = call i32 @v4l2_i2c_subdev_init(ptr noundef nonnull %103, ptr noundef %0, ptr noundef nonnull @ov5640_subdev_ops) #3 %105 = load i32, ptr @V4L2_SUBDEV_FL_HAS_DEVNODE, align 4, !tbaa !5 %106 = load i32, ptr @V4L2_SUBDEV_FL_HAS_EVENTS, align 4, !tbaa !5 %107 = or i32 %106, %105 %108 = load i32, ptr %103, align 8, !tbaa !40 %109 = or i32 %107, %108 store i32 %109, ptr %103, align 8, !tbaa !40 %110 = load i32, ptr @MEDIA_PAD_FL_SOURCE, align 4, !tbaa !5 %111 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 7 store i32 %110, ptr %111, align 8, !tbaa !41 %112 = load i32, ptr @MEDIA_ENT_F_CAM_SENSOR, align 4, !tbaa !5 %113 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 4, i32 1 store i32 %112, ptr %113, align 4, !tbaa !42 %114 = call i32 @media_entity_pads_init(ptr noundef nonnull %113, i32 noundef 1, ptr noundef nonnull %111) #3 %115 = icmp eq i32 %114, 0 br i1 %115, label %116, label %137 116: ; preds = %102 %117 = call i32 @ov5640_get_regulators(ptr noundef nonnull %4) #3 %118 = icmp eq i32 %117, 0 br i1 %118, label %119, label %137 119: ; preds = %116 %120 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 5 %121 = call i32 @mutex_init(ptr noundef nonnull %120) #3 %122 = call i32 @ov5640_check_chip_id(ptr noundef nonnull %4) #3 %123 = icmp eq i32 %122, 0 br i1 %123, label %124, label %133 124: ; preds = %119 %125 = call i32 @ov5640_init_controls(ptr noundef nonnull %4) #3 %126 = icmp eq i32 %125, 0 br i1 %126, label %127, label %133 127: ; preds = %124 %128 = call i32 @v4l2_async_register_subdev_sensor_common(ptr noundef nonnull %103) #3 %129 = icmp eq i32 %128, 0 br i1 %129, label %137, label %130 130: ; preds = %127 %131 = getelementptr inbounds %struct.ov5640_dev, ptr %4, i64 0, i32 6 %132 = call i32 @v4l2_ctrl_handler_free(ptr noundef nonnull %131) #3 br label %133 133: ; preds = %124, %119, %130 %134 = phi i32 [ %122, %119 ], [ %125, %124 ], [ %128, %130 ] %135 = call i32 @mutex_destroy(ptr noundef nonnull %120) #3 %136 = call i32 @media_entity_cleanup(ptr noundef nonnull %113) #3 br label %137 137: ; preds = %127, %116, %102, %133, %99, %90, %80, %67, %60, %51, %6 %138 = phi i32 [ %57, %60 ], [ %70, %67 ], [ %83, %80 ], [ %92, %90 ], [ %101, %99 ], [ %134, %133 ], [ %54, %51 ], [ %8, %6 ], [ %114, %102 ], [ %117, %116 ], [ 0, %127 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %138 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @V4L2_MAP_YCBCR_ENC_DEFAULT(i32 noundef) local_unnamed_addr #2 declare i32 @V4L2_MAP_XFER_FUNC_DEFAULT(i32 noundef) local_unnamed_addr #2 declare i32 @fwnode_property_read_u32(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_fwnode(ptr noundef) local_unnamed_addr #2 declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @fwnode_graph_get_next_endpoint(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @v4l2_fwnode_endpoint_parse(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fwnode_handle_put(ptr noundef) local_unnamed_addr #2 declare ptr @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i64 @clk_get_rate(ptr noundef) local_unnamed_addr #2 declare ptr @devm_gpiod_get_optional(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @v4l2_i2c_subdev_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @media_entity_pads_init(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ov5640_get_regulators(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #2 declare i32 @ov5640_check_chip_id(ptr noundef) local_unnamed_addr #2 declare i32 @ov5640_init_controls(ptr noundef) local_unnamed_addr #2 declare i32 @v4l2_async_register_subdev_sensor_common(ptr noundef) local_unnamed_addr #2 declare i32 @v4l2_ctrl_handler_free(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #2 declare i32 @media_entity_cleanup(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !16, i64 136} !10 = !{!"ov5640_dev", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16, !12, i64 24, !6, i64 32, !14, i64 36, !15, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !6, i64 72, !16, i64 80, !16, i64 88, !17, i64 96, !18, i64 104, !16, i64 136} !11 = !{!"long", !7, i64 0} !12 = !{!"TYPE_10__", !6, i64 0, !13, i64 4} !13 = !{!"TYPE_11__", !6, i64 0} !14 = !{!"TYPE_9__", !6, i64 0} !15 = !{!"TYPE_12__", !6, i64 0} !16 = !{!"any pointer", !7, i64 0} !17 = !{!"TYPE_8__", !6, i64 0, !6, i64 4} !18 = !{!"v4l2_mbus_framefmt", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28} !19 = !{!18, !6, i64 28} !20 = !{!18, !6, i64 12} !21 = !{!18, !6, i64 24} !22 = !{!18, !6, i64 20} !23 = !{!18, !6, i64 16} !24 = !{!18, !6, i64 0} !25 = !{!18, !6, i64 4} !26 = !{!18, !6, i64 8} !27 = !{!10, !6, i64 96} !28 = !{!16, !16, i64 0} !29 = !{!11, !11, i64 0} !30 = !{!10, !6, i64 100} !31 = !{!10, !11, i64 0} !32 = !{!10, !16, i64 80} !33 = !{!10, !16, i64 88} !34 = !{!10, !6, i64 8} !35 = !{!10, !6, i64 12} !36 = !{!10, !16, i64 64} !37 = !{!10, !11, i64 16} !38 = !{!10, !16, i64 56} !39 = !{!10, !16, i64 48} !40 = !{!10, !6, i64 24} !41 = !{!10, !6, i64 40} !42 = !{!10, !6, i64 28}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_probe.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov5640.c_ov5640_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @MEDIA_BUS_FMT_UYVY8_2X8 = common local_unnamed_addr global i32 0, align 4 @V4L2_COLORSPACE_SRGB = common local_unnamed_addr global i32 0, align 4 @V4L2_QUANTIZATION_FULL_RANGE = common local_unnamed_addr global i32 0, align 4 @V4L2_FIELD_NONE = common local_unnamed_addr global i32 0, align 4 @ov5640_framerates = common local_unnamed_addr global ptr null, align 8 @OV5640_30_FPS = common local_unnamed_addr global i64 0, align 8 @ov5640_mode_data = common local_unnamed_addr global ptr null, align 8 @OV5640_MODE_VGA_640_480 = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [9 x i8] c"rotation\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"%u degrees rotation is not supported, ignoring...\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"endpoint node not found\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [26 x i8] c"Could not parse endpoint\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"xclk\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"failed to get xclk\0A\00", align 1 @OV5640_XCLK_MIN = common local_unnamed_addr global i64 0, align 8 @OV5640_XCLK_MAX = common local_unnamed_addr global i64 0, align 8 @.str.6 = private unnamed_addr constant [36 x i8] c"xclk frequency out of range: %d Hz\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"powerdown\00", align 1 @GPIOD_OUT_HIGH = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [6 x i8] c"reset\00", align 1 @ov5640_subdev_ops = common global i32 0, align 4 @V4L2_SUBDEV_FL_HAS_DEVNODE = common local_unnamed_addr global i32 0, align 4 @V4L2_SUBDEV_FL_HAS_EVENTS = common local_unnamed_addr global i32 0, align 4 @MEDIA_PAD_FL_SOURCE = common local_unnamed_addr global i32 0, align 4 @MEDIA_ENT_F_CAM_SENSOR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ov5640_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ov5640_probe(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %4 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 144, i32 noundef %3) #3 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %136 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %4, i64 136 store ptr %0, ptr %10, align 8, !tbaa !10 %11 = getelementptr inbounds i8, ptr %4, i64 104 %12 = load i32, ptr @MEDIA_BUS_FMT_UYVY8_2X8, align 4, !tbaa !6 %13 = getelementptr inbounds i8, ptr %4, i64 132 store i32 %12, ptr %13, align 4, !tbaa !20 %14 = load i32, ptr @V4L2_COLORSPACE_SRGB, align 4, !tbaa !6 %15 = getelementptr inbounds i8, ptr %4, i64 116 store i32 %14, ptr %15, align 4, !tbaa !21 %16 = tail call i32 @V4L2_MAP_YCBCR_ENC_DEFAULT(i32 noundef %14) #3 %17 = getelementptr inbounds i8, ptr %4, i64 128 store i32 %16, ptr %17, align 4, !tbaa !22 %18 = load i32, ptr @V4L2_QUANTIZATION_FULL_RANGE, align 4, !tbaa !6 %19 = getelementptr inbounds i8, ptr %4, i64 124 store i32 %18, ptr %19, align 4, !tbaa !23 %20 = load i32, ptr %15, align 4, !tbaa !21 %21 = tail call i32 @V4L2_MAP_XFER_FUNC_DEFAULT(i32 noundef %20) #3 %22 = getelementptr inbounds i8, ptr %4, i64 120 store i32 %21, ptr %22, align 4, !tbaa !24 store <2 x i32> <i32 640, i32 480>, ptr %11, align 4, !tbaa !6 %23 = load i32, ptr @V4L2_FIELD_NONE, align 4, !tbaa !6 %24 = getelementptr inbounds i8, ptr %4, i64 112 store i32 %23, ptr %24, align 4, !tbaa !25 %25 = getelementptr inbounds i8, ptr %4, i64 96 store i32 1, ptr %25, align 8, !tbaa !26 %26 = load ptr, ptr @ov5640_framerates, align 8, !tbaa !27 %27 = load i64, ptr @OV5640_30_FPS, align 8, !tbaa !28 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !6 %30 = getelementptr inbounds i8, ptr %4, i64 100 store i32 %29, ptr %30, align 4, !tbaa !29 store i64 %27, ptr %4, align 8, !tbaa !30 %31 = load ptr, ptr @ov5640_mode_data, align 8, !tbaa !27 %32 = load i64, ptr @OV5640_MODE_VGA_640_480, align 8, !tbaa !28 %33 = getelementptr inbounds i32, ptr %31, i64 %32 %34 = getelementptr inbounds i8, ptr %4, i64 80 store ptr %33, ptr %34, align 8, !tbaa !31 %35 = getelementptr inbounds i8, ptr %4, i64 88 store ptr %33, ptr %35, align 8, !tbaa !32 %36 = getelementptr inbounds i8, ptr %4, i64 8 store i32 52, ptr %36, align 8, !tbaa !33 %37 = tail call i32 @dev_fwnode(ptr noundef %0) #3 %38 = call i32 @fwnode_property_read_u32(i32 noundef %37, ptr noundef nonnull @.str, ptr noundef nonnull %2) #3 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %46 40: ; preds = %9 %41 = load i32, ptr %2, align 4, !tbaa !6 switch i32 %41, label %44 [ i32 180, label %42 i32 0, label %46 ] 42: ; preds = %40 %43 = getelementptr inbounds i8, ptr %4, i64 12 store i32 1, ptr %43, align 4, !tbaa !34 br label %46 44: ; preds = %40 %45 = call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %41) #3 br label %46 46: ; preds = %40, %42, %44, %9 %47 = call i32 @dev_fwnode(ptr noundef %0) #3 %48 = call ptr @fwnode_graph_get_next_endpoint(i32 noundef %47, ptr noundef null) #3 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %54 50: ; preds = %46 %51 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2) #3 %52 = load i32, ptr @EINVAL, align 4, !tbaa !6 %53 = sub nsw i32 0, %52 br label %136 54: ; preds = %46 %55 = getelementptr inbounds i8, ptr %4, i64 72 %56 = call i32 @v4l2_fwnode_endpoint_parse(ptr noundef nonnull %48, ptr noundef nonnull %55) #3 %57 = call i32 @fwnode_handle_put(ptr noundef nonnull %48) #3 %58 = icmp eq i32 %56, 0 br i1 %58, label %61, label %59 59: ; preds = %54 %60 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.3) #3 br label %136 61: ; preds = %54 %62 = call ptr @devm_clk_get(ptr noundef %0, ptr noundef nonnull @.str.4) #3 %63 = getelementptr inbounds i8, ptr %4, i64 64 store ptr %62, ptr %63, align 8, !tbaa !35 %64 = call i64 @IS_ERR(ptr noundef %62) #3 %65 = icmp eq i64 %64, 0 br i1 %65, label %70, label %66 66: ; preds = %61 %67 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.5) #3 %68 = load ptr, ptr %63, align 8, !tbaa !35 %69 = call i32 @PTR_ERR(ptr noundef %68) #3 br label %136 70: ; preds = %61 %71 = load ptr, ptr %63, align 8, !tbaa !35 %72 = call i64 @clk_get_rate(ptr noundef %71) #3 %73 = getelementptr inbounds i8, ptr %4, i64 16 store i64 %72, ptr %73, align 8, !tbaa !36 %74 = load i64, ptr @OV5640_XCLK_MIN, align 8, !tbaa !28 %75 = icmp slt i64 %72, %74 %76 = load i64, ptr @OV5640_XCLK_MAX, align 8 %77 = icmp sgt i64 %72, %76 %78 = select i1 %75, i1 true, i1 %77 br i1 %78, label %79, label %83 79: ; preds = %70 %80 = call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.6, i64 noundef %72) #3 %81 = load i32, ptr @EINVAL, align 4, !tbaa !6 %82 = sub nsw i32 0, %81 br label %136 83: ; preds = %70 %84 = load i32, ptr @GPIOD_OUT_HIGH, align 4, !tbaa !6 %85 = call ptr @devm_gpiod_get_optional(ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %84) #3 %86 = getelementptr inbounds i8, ptr %4, i64 56 store ptr %85, ptr %86, align 8, !tbaa !37 %87 = call i64 @IS_ERR(ptr noundef %85) #3 %88 = icmp eq i64 %87, 0 br i1 %88, label %92, label %89 89: ; preds = %83 %90 = load ptr, ptr %86, align 8, !tbaa !37 %91 = call i32 @PTR_ERR(ptr noundef %90) #3 br label %136 92: ; preds = %83 %93 = load i32, ptr @GPIOD_OUT_HIGH, align 4, !tbaa !6 %94 = call ptr @devm_gpiod_get_optional(ptr noundef %0, ptr noundef nonnull @.str.8, i32 noundef %93) #3 %95 = getelementptr inbounds i8, ptr %4, i64 48 store ptr %94, ptr %95, align 8, !tbaa !38 %96 = call i64 @IS_ERR(ptr noundef %94) #3 %97 = icmp eq i64 %96, 0 br i1 %97, label %101, label %98 98: ; preds = %92 %99 = load ptr, ptr %95, align 8, !tbaa !38 %100 = call i32 @PTR_ERR(ptr noundef %99) #3 br label %136 101: ; preds = %92 %102 = getelementptr inbounds i8, ptr %4, i64 24 %103 = call i32 @v4l2_i2c_subdev_init(ptr noundef nonnull %102, ptr noundef %0, ptr noundef nonnull @ov5640_subdev_ops) #3 %104 = load i32, ptr @V4L2_SUBDEV_FL_HAS_DEVNODE, align 4, !tbaa !6 %105 = load i32, ptr @V4L2_SUBDEV_FL_HAS_EVENTS, align 4, !tbaa !6 %106 = or i32 %105, %104 %107 = load i32, ptr %102, align 8, !tbaa !39 %108 = or i32 %106, %107 store i32 %108, ptr %102, align 8, !tbaa !39 %109 = load i32, ptr @MEDIA_PAD_FL_SOURCE, align 4, !tbaa !6 %110 = getelementptr inbounds i8, ptr %4, i64 40 store i32 %109, ptr %110, align 8, !tbaa !40 %111 = load i32, ptr @MEDIA_ENT_F_CAM_SENSOR, align 4, !tbaa !6 %112 = getelementptr inbounds i8, ptr %4, i64 28 store i32 %111, ptr %112, align 4, !tbaa !41 %113 = call i32 @media_entity_pads_init(ptr noundef nonnull %112, i32 noundef 1, ptr noundef nonnull %110) #3 %114 = icmp eq i32 %113, 0 br i1 %114, label %115, label %136 115: ; preds = %101 %116 = call i32 @ov5640_get_regulators(ptr noundef nonnull %4) #3 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %136 118: ; preds = %115 %119 = getelementptr inbounds i8, ptr %4, i64 32 %120 = call i32 @mutex_init(ptr noundef nonnull %119) #3 %121 = call i32 @ov5640_check_chip_id(ptr noundef nonnull %4) #3 %122 = icmp eq i32 %121, 0 br i1 %122, label %123, label %132 123: ; preds = %118 %124 = call i32 @ov5640_init_controls(ptr noundef nonnull %4) #3 %125 = icmp eq i32 %124, 0 br i1 %125, label %126, label %132 126: ; preds = %123 %127 = call i32 @v4l2_async_register_subdev_sensor_common(ptr noundef nonnull %102) #3 %128 = icmp eq i32 %127, 0 br i1 %128, label %136, label %129 129: ; preds = %126 %130 = getelementptr inbounds i8, ptr %4, i64 36 %131 = call i32 @v4l2_ctrl_handler_free(ptr noundef nonnull %130) #3 br label %132 132: ; preds = %123, %118, %129 %133 = phi i32 [ %121, %118 ], [ %124, %123 ], [ %127, %129 ] %134 = call i32 @mutex_destroy(ptr noundef nonnull %119) #3 %135 = call i32 @media_entity_cleanup(ptr noundef nonnull %112) #3 br label %136 136: ; preds = %126, %115, %101, %132, %98, %89, %79, %66, %59, %50, %6 %137 = phi i32 [ %56, %59 ], [ %69, %66 ], [ %82, %79 ], [ %91, %89 ], [ %100, %98 ], [ %133, %132 ], [ %53, %50 ], [ %8, %6 ], [ %113, %101 ], [ %116, %115 ], [ 0, %126 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %137 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @V4L2_MAP_YCBCR_ENC_DEFAULT(i32 noundef) local_unnamed_addr #2 declare i32 @V4L2_MAP_XFER_FUNC_DEFAULT(i32 noundef) local_unnamed_addr #2 declare i32 @fwnode_property_read_u32(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_fwnode(ptr noundef) local_unnamed_addr #2 declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @fwnode_graph_get_next_endpoint(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @v4l2_fwnode_endpoint_parse(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fwnode_handle_put(ptr noundef) local_unnamed_addr #2 declare ptr @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i64 @clk_get_rate(ptr noundef) local_unnamed_addr #2 declare ptr @devm_gpiod_get_optional(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @v4l2_i2c_subdev_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @media_entity_pads_init(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ov5640_get_regulators(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #2 declare i32 @ov5640_check_chip_id(ptr noundef) local_unnamed_addr #2 declare i32 @ov5640_init_controls(ptr noundef) local_unnamed_addr #2 declare i32 @v4l2_async_register_subdev_sensor_common(ptr noundef) local_unnamed_addr #2 declare i32 @v4l2_ctrl_handler_free(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #2 declare i32 @media_entity_cleanup(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !17, i64 136} !11 = !{!"ov5640_dev", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16, !13, i64 24, !7, i64 32, !15, i64 36, !16, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !7, i64 72, !17, i64 80, !17, i64 88, !18, i64 96, !19, i64 104, !17, i64 136} !12 = !{!"long", !8, i64 0} !13 = !{!"TYPE_10__", !7, i64 0, !14, i64 4} !14 = !{!"TYPE_11__", !7, i64 0} !15 = !{!"TYPE_9__", !7, i64 0} !16 = !{!"TYPE_12__", !7, i64 0} !17 = !{!"any pointer", !8, i64 0} !18 = !{!"TYPE_8__", !7, i64 0, !7, i64 4} !19 = !{!"v4l2_mbus_framefmt", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28} !20 = !{!19, !7, i64 28} !21 = !{!19, !7, i64 12} !22 = !{!19, !7, i64 24} !23 = !{!19, !7, i64 20} !24 = !{!19, !7, i64 16} !25 = !{!19, !7, i64 8} !26 = !{!11, !7, i64 96} !27 = !{!17, !17, i64 0} !28 = !{!12, !12, i64 0} !29 = !{!11, !7, i64 100} !30 = !{!11, !12, i64 0} !31 = !{!11, !17, i64 80} !32 = !{!11, !17, i64 88} !33 = !{!11, !7, i64 8} !34 = !{!11, !7, i64 12} !35 = !{!11, !17, i64 64} !36 = !{!11, !12, i64 16} !37 = !{!11, !17, i64 56} !38 = !{!11, !17, i64 48} !39 = !{!11, !7, i64 24} !40 = !{!11, !7, i64 40} !41 = !{!11, !7, i64 28}
linux_drivers_media_i2c_extr_ov5640.c_ov5640_probe
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dirwrite.c_TIFFWriteDirectoryTagCheckedLongArray.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dirwrite.c_TIFFWriteDirectoryTagCheckedLongArray.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" @TIFF_SWAB = dso_local local_unnamed_addr global i32 0, align 4 @TIFF_LONG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @TIFFWriteDirectoryTagCheckedLongArray], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @TIFFWriteDirectoryTagCheckedLongArray(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = icmp slt i32 %4, 1073741824 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #2 %10 = tail call i32 @assert(i32 noundef 1) #2 %11 = load i32, ptr %0, align 4, !tbaa !5 %12 = load i32, ptr @TIFF_SWAB, align 4, !tbaa !10 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %6 %16 = tail call i32 @TIFFSwabArrayOfLong(ptr noundef %5, i32 noundef %4) #2 br label %17 17: ; preds = %15, %6 %18 = load i32, ptr @TIFF_LONG, align 4, !tbaa !10 %19 = shl nsw i32 %4, 2 %20 = tail call i32 @TIFFWriteDirectoryTagData(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %18, i32 noundef %4, i32 noundef %19, ptr noundef %5) #2 ret i32 %20 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @TIFFSwabArrayOfLong(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TIFFWriteDirectoryTagData(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dirwrite.c_TIFFWriteDirectoryTagCheckedLongArray.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dirwrite.c_TIFFWriteDirectoryTagCheckedLongArray.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TIFF_SWAB = common local_unnamed_addr global i32 0, align 4 @TIFF_LONG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @TIFFWriteDirectoryTagCheckedLongArray], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @TIFFWriteDirectoryTagCheckedLongArray(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = icmp slt i32 %4, 1073741824 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #2 %10 = tail call i32 @assert(i32 noundef 1) #2 %11 = load i32, ptr %0, align 4, !tbaa !6 %12 = load i32, ptr @TIFF_SWAB, align 4, !tbaa !11 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %6 %16 = tail call i32 @TIFFSwabArrayOfLong(ptr noundef %5, i32 noundef %4) #2 br label %17 17: ; preds = %15, %6 %18 = load i32, ptr @TIFF_LONG, align 4, !tbaa !11 %19 = shl nsw i32 %4, 2 %20 = tail call i32 @TIFFWriteDirectoryTagData(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %18, i32 noundef %4, i32 noundef %19, ptr noundef %5) #2 ret i32 %20 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @TIFFSwabArrayOfLong(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TIFFWriteDirectoryTagData(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
reactos_dll_3rdparty_libtiff_extr_tif_dirwrite.c_TIFFWriteDirectoryTagCheckedLongArray
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_process.c_arch_randomize_brk.c' source_filename = "AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_process.c_arch_randomize_brk.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 i64 @arch_randomize_brk(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = tail call i64 (...) @brk_rnd() #3 %4 = add i64 %3, %2 %5 = tail call i64 @PAGE_ALIGN(i64 noundef %4) #3 %6 = load i64, ptr %0, align 8, !tbaa !5 %7 = tail call i64 @llvm.umax.i64(i64 %5, i64 %6) ret i64 %7 } declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #1 declare i64 @brk_rnd(...) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.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, !7, i64 0} !6 = !{!"mm_struct", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_process.c_arch_randomize_brk.c' source_filename = "AnghaBench/fastsocket/kernel/arch/s390/kernel/extr_process.c_arch_randomize_brk.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 i64 @arch_randomize_brk(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = tail call i64 @brk_rnd() #3 %4 = add i64 %3, %2 %5 = tail call i64 @PAGE_ALIGN(i64 noundef %4) #3 %6 = load i64, ptr %0, align 8, !tbaa !6 %7 = tail call i64 @llvm.umax.i64(i64 %5, i64 %6) ret i64 %7 } declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #1 declare i64 @brk_rnd(...) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.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, !8, i64 0} !7 = !{!"mm_struct", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_s390_kernel_extr_process.c_arch_randomize_brk
; ModuleID = 'AnghaBench/h2o/lib/common/extr_multithread.c_h2o_barrier_init.c' source_filename = "AnghaBench/h2o/lib/common/extr_multithread.c_h2o_barrier_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_3__ = type { i64, i64, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @h2o_barrier_init(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %4 = tail call i32 @pthread_mutex_init(ptr noundef nonnull %3, ptr noundef null) #2 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %6 = tail call i32 @pthread_cond_init(ptr noundef nonnull %5, ptr noundef null) #2 store i64 %1, ptr %0, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store i64 %1, ptr %7, align 8, !tbaa !11 ret void } declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_cond_init(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/h2o/lib/common/extr_multithread.c_h2o_barrier_init.c' source_filename = "AnghaBench/h2o/lib/common/extr_multithread.c_h2o_barrier_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 @h2o_barrier_init(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 20 %4 = tail call i32 @pthread_mutex_init(ptr noundef nonnull %3, ptr noundef null) #2 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = tail call i32 @pthread_cond_init(ptr noundef nonnull %5, ptr noundef null) #2 store i64 %1, ptr %0, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %1, ptr %7, align 8, !tbaa !12 ret void } declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_cond_init(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8}
h2o_lib_common_extr_multithread.c_h2o_barrier_init
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_machine.h_machine__find_kernel_symbol.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_machine.h_machine__find_kernel_symbol.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 @machine__find_kernel_symbol], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @machine__find_kernel_symbol(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @map_groups__find_symbol(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 ret ptr %4 } declare ptr @map_groups__find_symbol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_machine.h_machine__find_kernel_symbol.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_machine.h_machine__find_kernel_symbol.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 @machine__find_kernel_symbol], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @machine__find_kernel_symbol(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @map_groups__find_symbol(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 ret ptr %4 } declare ptr @map_groups__find_symbol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_tools_perf_util_extr_machine.h_machine__find_kernel_symbol
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_pager_open_journal.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_pager_open_journal.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 { i64, i64, i32, i64, i64, i64, i64, i64, i32, i32, i64, i32, ptr } @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @PAGER_WRITER_LOCKED = dso_local local_unnamed_addr global i64 0, align 8 @PAGER_JOURNALMODE_OFF = dso_local local_unnamed_addr global i64 0, align 8 @SQLITE_NOMEM = dso_local local_unnamed_addr global i32 0, align 4 @PAGER_JOURNALMODE_MEMORY = dso_local local_unnamed_addr global i64 0, align 8 @SQLITE_OPEN_READWRITE = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_CREATE = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_DELETEONCLOSE = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_TEMP_JOURNAL = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_MAIN_JOURNAL = dso_local local_unnamed_addr global i32 0, align 4 @PAGER_WRITER_CACHEMOD = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @pager_open_journal], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pager_open_journal(ptr noundef %0) #0 { %2 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 12 %4 = load ptr, ptr %3, align 8, !tbaa !9 %5 = load i64, ptr %0, align 8, !tbaa !13 %6 = load i64, ptr @PAGER_WRITER_LOCKED, align 8, !tbaa !14 %7 = icmp eq i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = tail call i32 @assert_pager_state(ptr noundef nonnull %0) #3 %11 = tail call i32 @assert(i32 noundef %10) #3 %12 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = icmp eq i64 %13, 0 %15 = zext i1 %14 to i32 %16 = tail call i32 @assert(i32 noundef %15) #3 %17 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %18 = load i32, ptr %17, align 8, !tbaa !16 %19 = tail call i64 @NEVER(i32 noundef %18) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %1 %22 = load i32, ptr %17, align 8, !tbaa !16 br label %100 23: ; preds = %1 %24 = tail call i32 @pagerUseWal(ptr noundef nonnull %0) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %86 26: ; preds = %23 %27 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3 %28 = load i64, ptr %27, align 8, !tbaa !17 %29 = load i64, ptr @PAGER_JOURNALMODE_OFF, align 8, !tbaa !14 %30 = icmp eq i64 %28, %29 br i1 %30, label %86, label %31 31: ; preds = %26 %32 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 11 %33 = load i32, ptr %32, align 8, !tbaa !18 %34 = tail call i64 @sqlite3BitvecCreate(i32 noundef %33) #3 store i64 %34, ptr %12, align 8, !tbaa !15 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %31 %37 = load i32, ptr @SQLITE_NOMEM, align 4, !tbaa !5 br label %100 38: ; preds = %31 %39 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8 %40 = load i32, ptr %39, align 8, !tbaa !19 %41 = tail call i64 @isOpen(i32 noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %79 43: ; preds = %38 %44 = load i64, ptr %27, align 8, !tbaa !17 %45 = load i64, ptr @PAGER_JOURNALMODE_MEMORY, align 8, !tbaa !14 %46 = icmp eq i64 %44, %45 br i1 %46, label %47, label %50 47: ; preds = %43 %48 = load i32, ptr %39, align 8, !tbaa !19 %49 = tail call i32 @sqlite3MemJournalOpen(i32 noundef %48) #3 br label %67 50: ; preds = %43 %51 = load i32, ptr @SQLITE_OPEN_READWRITE, align 4, !tbaa !5 %52 = load i32, ptr @SQLITE_OPEN_CREATE, align 4, !tbaa !5 %53 = or i32 %52, %51 %54 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 10 %55 = load i64, ptr %54, align 8, !tbaa !20 %56 = icmp eq i64 %55, 0 %57 = load i32, ptr @SQLITE_OPEN_DELETEONCLOSE, align 4 %58 = load i32, ptr @SQLITE_OPEN_TEMP_JOURNAL, align 4 %59 = or i32 %58, %57 %60 = load i32, ptr @SQLITE_OPEN_MAIN_JOURNAL, align 4 %61 = select i1 %56, i32 %60, i32 %59 %62 = or i32 %53, %61 %63 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 9 %64 = load i32, ptr %63, align 4, !tbaa !21 %65 = load i32, ptr %39, align 8, !tbaa !19 %66 = tail call i32 @sqlite3OsOpen(ptr noundef %4, i32 noundef %64, i32 noundef %65, i32 noundef %62, i32 noundef 0) #3 br label %67 67: ; preds = %50, %47 %68 = phi i32 [ %2, %47 ], [ %66, %50 ] %69 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %70 = icmp eq i32 %68, %69 br i1 %70, label %71, label %76 71: ; preds = %67 %72 = load i32, ptr %39, align 8, !tbaa !19 %73 = tail call i64 @isOpen(i32 noundef %72) #3 %74 = icmp ne i64 %73, 0 %75 = zext i1 %74 to i32 br label %76 76: ; preds = %71, %67 %77 = phi i32 [ 1, %67 ], [ %75, %71 ] %78 = tail call i32 @assert(i32 noundef %77) #3 br label %79 79: ; preds = %76, %38 %80 = phi i32 [ %2, %38 ], [ %68, %76 ] %81 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %82 = icmp eq i32 %80, %81 br i1 %82, label %83, label %86 83: ; preds = %79 %84 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %84, i8 0, i64 32, i1 false) %85 = tail call i32 @writeJournalHdr(ptr noundef nonnull %0) #3 br label %86 86: ; preds = %79, %83, %26, %23 %87 = phi i32 [ %2, %23 ], [ %85, %83 ], [ %80, %79 ], [ %2, %26 ] %88 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %89 = icmp eq i32 %87, %88 br i1 %89, label %93, label %90 90: ; preds = %86 %91 = load i64, ptr %12, align 8, !tbaa !15 %92 = tail call i32 @sqlite3BitvecDestroy(i64 noundef %91) #3 store i64 0, ptr %12, align 8, !tbaa !15 br label %100 93: ; preds = %86 %94 = load i64, ptr %0, align 8, !tbaa !13 %95 = load i64, ptr @PAGER_WRITER_LOCKED, align 8, !tbaa !14 %96 = icmp eq i64 %94, %95 %97 = zext i1 %96 to i32 %98 = tail call i32 @assert(i32 noundef %97) #3 %99 = load i64, ptr @PAGER_WRITER_CACHEMOD, align 8, !tbaa !14 store i64 %99, ptr %0, align 8, !tbaa !13 br label %100 100: ; preds = %90, %93, %36, %21 %101 = phi i32 [ %22, %21 ], [ %37, %36 ], [ %87, %93 ], [ %87, %90 ] ret i32 %101 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @assert_pager_state(ptr noundef) local_unnamed_addr #1 declare i64 @NEVER(i32 noundef) local_unnamed_addr #1 declare i32 @pagerUseWal(ptr noundef) local_unnamed_addr #1 declare i64 @sqlite3BitvecCreate(i32 noundef) local_unnamed_addr #1 declare i64 @isOpen(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3MemJournalOpen(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3OsOpen(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @writeJournalHdr(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3BitvecDestroy(i64 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 88} !10 = !{!"TYPE_7__", !11, i64 0, !11, i64 8, !6, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !6, i64 64, !6, i64 68, !11, i64 72, !6, i64 80, !12, i64 88} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !11, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!10, !11, i64 8} !16 = !{!10, !6, i64 16} !17 = !{!10, !11, i64 24} !18 = !{!10, !6, i64 80} !19 = !{!10, !6, i64 64} !20 = !{!10, !11, i64 72} !21 = !{!10, !6, i64 68}
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_pager_open_journal.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_pager_open_journal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @PAGER_WRITER_LOCKED = common local_unnamed_addr global i64 0, align 8 @PAGER_JOURNALMODE_OFF = common local_unnamed_addr global i64 0, align 8 @SQLITE_NOMEM = common local_unnamed_addr global i32 0, align 4 @PAGER_JOURNALMODE_MEMORY = common local_unnamed_addr global i64 0, align 8 @SQLITE_OPEN_READWRITE = common local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_CREATE = common local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_DELETEONCLOSE = common local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_TEMP_JOURNAL = common local_unnamed_addr global i32 0, align 4 @SQLITE_OPEN_MAIN_JOURNAL = common local_unnamed_addr global i32 0, align 4 @PAGER_WRITER_CACHEMOD = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @pager_open_journal], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pager_open_journal(ptr noundef %0) #0 { %2 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 88 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load i64, ptr %0, align 8, !tbaa !14 %6 = load i64, ptr @PAGER_WRITER_LOCKED, align 8, !tbaa !15 %7 = icmp eq i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = tail call i32 @assert_pager_state(ptr noundef nonnull %0) #3 %11 = tail call i32 @assert(i32 noundef %10) #3 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !16 %14 = icmp eq i64 %13, 0 %15 = zext i1 %14 to i32 %16 = tail call i32 @assert(i32 noundef %15) #3 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load i32, ptr %17, align 8, !tbaa !17 %19 = tail call i64 @NEVER(i32 noundef %18) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %1 %22 = load i32, ptr %17, align 8, !tbaa !17 br label %100 23: ; preds = %1 %24 = tail call i32 @pagerUseWal(ptr noundef nonnull %0) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %86 26: ; preds = %23 %27 = getelementptr inbounds i8, ptr %0, i64 24 %28 = load i64, ptr %27, align 8, !tbaa !18 %29 = load i64, ptr @PAGER_JOURNALMODE_OFF, align 8, !tbaa !15 %30 = icmp eq i64 %28, %29 br i1 %30, label %86, label %31 31: ; preds = %26 %32 = getelementptr inbounds i8, ptr %0, i64 80 %33 = load i32, ptr %32, align 8, !tbaa !19 %34 = tail call i64 @sqlite3BitvecCreate(i32 noundef %33) #3 store i64 %34, ptr %12, align 8, !tbaa !16 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %31 %37 = load i32, ptr @SQLITE_NOMEM, align 4, !tbaa !6 br label %100 38: ; preds = %31 %39 = getelementptr inbounds i8, ptr %0, i64 64 %40 = load i32, ptr %39, align 8, !tbaa !20 %41 = tail call i64 @isOpen(i32 noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %79 43: ; preds = %38 %44 = load i64, ptr %27, align 8, !tbaa !18 %45 = load i64, ptr @PAGER_JOURNALMODE_MEMORY, align 8, !tbaa !15 %46 = icmp eq i64 %44, %45 br i1 %46, label %47, label %50 47: ; preds = %43 %48 = load i32, ptr %39, align 8, !tbaa !20 %49 = tail call i32 @sqlite3MemJournalOpen(i32 noundef %48) #3 br label %67 50: ; preds = %43 %51 = load i32, ptr @SQLITE_OPEN_READWRITE, align 4, !tbaa !6 %52 = load i32, ptr @SQLITE_OPEN_CREATE, align 4, !tbaa !6 %53 = or i32 %52, %51 %54 = getelementptr inbounds i8, ptr %0, i64 72 %55 = load i64, ptr %54, align 8, !tbaa !21 %56 = icmp eq i64 %55, 0 %57 = load i32, ptr @SQLITE_OPEN_DELETEONCLOSE, align 4 %58 = load i32, ptr @SQLITE_OPEN_TEMP_JOURNAL, align 4 %59 = or i32 %58, %57 %60 = load i32, ptr @SQLITE_OPEN_MAIN_JOURNAL, align 4 %61 = select i1 %56, i32 %60, i32 %59 %62 = or i32 %53, %61 %63 = getelementptr inbounds i8, ptr %0, i64 68 %64 = load i32, ptr %63, align 4, !tbaa !22 %65 = load i32, ptr %39, align 8, !tbaa !20 %66 = tail call i32 @sqlite3OsOpen(ptr noundef %4, i32 noundef %64, i32 noundef %65, i32 noundef %62, i32 noundef 0) #3 br label %67 67: ; preds = %50, %47 %68 = phi i32 [ %2, %47 ], [ %66, %50 ] %69 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %70 = icmp eq i32 %68, %69 br i1 %70, label %71, label %76 71: ; preds = %67 %72 = load i32, ptr %39, align 8, !tbaa !20 %73 = tail call i64 @isOpen(i32 noundef %72) #3 %74 = icmp ne i64 %73, 0 %75 = zext i1 %74 to i32 br label %76 76: ; preds = %71, %67 %77 = phi i32 [ 1, %67 ], [ %75, %71 ] %78 = tail call i32 @assert(i32 noundef %77) #3 br label %79 79: ; preds = %76, %38 %80 = phi i32 [ %2, %38 ], [ %68, %76 ] %81 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %82 = icmp eq i32 %80, %81 br i1 %82, label %83, label %86 83: ; preds = %79 %84 = getelementptr inbounds i8, ptr %0, i64 32 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %84, i8 0, i64 32, i1 false) %85 = tail call i32 @writeJournalHdr(ptr noundef nonnull %0) #3 br label %86 86: ; preds = %79, %83, %26, %23 %87 = phi i32 [ %2, %23 ], [ %85, %83 ], [ %80, %79 ], [ %2, %26 ] %88 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %89 = icmp eq i32 %87, %88 br i1 %89, label %93, label %90 90: ; preds = %86 %91 = load i64, ptr %12, align 8, !tbaa !16 %92 = tail call i32 @sqlite3BitvecDestroy(i64 noundef %91) #3 store i64 0, ptr %12, align 8, !tbaa !16 br label %100 93: ; preds = %86 %94 = load i64, ptr %0, align 8, !tbaa !14 %95 = load i64, ptr @PAGER_WRITER_LOCKED, align 8, !tbaa !15 %96 = icmp eq i64 %94, %95 %97 = zext i1 %96 to i32 %98 = tail call i32 @assert(i32 noundef %97) #3 %99 = load i64, ptr @PAGER_WRITER_CACHEMOD, align 8, !tbaa !15 store i64 %99, ptr %0, align 8, !tbaa !14 br label %100 100: ; preds = %90, %93, %36, %21 %101 = phi i32 [ %22, %21 ], [ %37, %36 ], [ %87, %93 ], [ %87, %90 ] ret i32 %101 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @assert_pager_state(ptr noundef) local_unnamed_addr #1 declare i64 @NEVER(i32 noundef) local_unnamed_addr #1 declare i32 @pagerUseWal(ptr noundef) local_unnamed_addr #1 declare i64 @sqlite3BitvecCreate(i32 noundef) local_unnamed_addr #1 declare i64 @isOpen(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3MemJournalOpen(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3OsOpen(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @writeJournalHdr(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3BitvecDestroy(i64 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 88} !11 = !{!"TYPE_7__", !12, i64 0, !12, i64 8, !7, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !7, i64 64, !7, i64 68, !12, i64 72, !7, i64 80, !13, i64 88} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!11, !12, i64 8} !17 = !{!11, !7, i64 16} !18 = !{!11, !12, i64 24} !19 = !{!11, !7, i64 80} !20 = !{!11, !7, i64 64} !21 = !{!11, !12, i64 72} !22 = !{!11, !7, i64 68}
mongoose_examples_api_server_extr_sqlite3.c_pager_open_journal
; ModuleID = 'AnghaBench/kphp-kdb/pmemcached/extr_pmemcached-index-ram.c_free_metafiles.c' source_filename = "AnghaBench/kphp-kdb/pmemcached/extr_pmemcached-index-ram.c_free_metafiles.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(none) uwtable define dso_local void @free_metafiles() local_unnamed_addr #0 { ret void } 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/kphp-kdb/pmemcached/extr_pmemcached-index-ram.c_free_metafiles.c' source_filename = "AnghaBench/kphp-kdb/pmemcached/extr_pmemcached-index-ram.c_free_metafiles.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(none) uwtable(sync) define void @free_metafiles() local_unnamed_addr #0 { ret void } 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)"}
kphp-kdb_pmemcached_extr_pmemcached-index-ram.c_free_metafiles
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_hints.c_hints_insert.c' source_filename = "AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_hints.c_hints_insert.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.iter_hints_stub = type { i32, i64, ptr } %struct.delegpt = type { i32, i32, i32 } @.str = private unnamed_addr constant [34 x i8] c"second hints for zone %s ignored.\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @hints_insert], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @hints_insert(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca [257 x i8], align 16 %6 = tail call i64 @malloc(i32 noundef 24) #3 %7 = inttoptr i64 %6 to ptr %8 = icmp eq i64 %6, 0 br i1 %8, label %9, label %11 9: ; preds = %4 %10 = tail call i32 @delegpt_free_mlc(ptr noundef %2) #3 br label %28 11: ; preds = %4 %12 = getelementptr inbounds %struct.iter_hints_stub, ptr %7, i64 0, i32 2 store ptr %2, ptr %12, align 8, !tbaa !5 %13 = sext i32 %3 to i64 %14 = getelementptr inbounds %struct.iter_hints_stub, ptr %7, i64 0, i32 1 store i64 %13, ptr %14, align 8, !tbaa !12 %15 = load i32, ptr %2, align 4, !tbaa !13 %16 = getelementptr inbounds %struct.delegpt, ptr %2, i64 0, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = getelementptr inbounds %struct.delegpt, ptr %2, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = tail call i32 @name_tree_insert(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %1) #3 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %11 call void @llvm.lifetime.start.p0(i64 257, ptr nonnull %5) #3 %23 = load i32, ptr %2, align 4, !tbaa !13 %24 = call i32 @dname_str(i32 noundef %23, ptr noundef nonnull %5) #3 %25 = call i32 @log_err(ptr noundef nonnull @.str, ptr noundef nonnull %5) #3 %26 = call i32 @delegpt_free_mlc(ptr noundef nonnull %2) #3 %27 = call i32 @free(ptr noundef nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 257, ptr nonnull %5) #3 br label %28 28: ; preds = %11, %22, %9 %29 = phi i32 [ 0, %9 ], [ 1, %22 ], [ 1, %11 ] ret i32 %29 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @delegpt_free_mlc(ptr noundef) local_unnamed_addr #2 declare i32 @name_tree_insert(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dname_str(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @log_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"iter_hints_stub", !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 = !{!"any pointer", !8, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !7, i64 0} !14 = !{!"delegpt", !7, i64 0, !7, i64 4, !7, i64 8} !15 = !{!14, !7, i64 8} !16 = !{!14, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_hints.c_hints_insert.c' source_filename = "AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_hints.c_hints_insert.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 [34 x i8] c"second hints for zone %s ignored.\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @hints_insert], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @hints_insert(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca [257 x i8], align 1 %6 = tail call i64 @malloc(i32 noundef 24) #3 %7 = inttoptr i64 %6 to ptr %8 = icmp eq i64 %6, 0 br i1 %8, label %9, label %11 9: ; preds = %4 %10 = tail call i32 @delegpt_free_mlc(ptr noundef %2) #3 br label %28 11: ; preds = %4 %12 = getelementptr inbounds i8, ptr %7, i64 16 store ptr %2, ptr %12, align 8, !tbaa !6 %13 = sext i32 %3 to i64 %14 = getelementptr inbounds i8, ptr %7, i64 8 store i64 %13, ptr %14, align 8, !tbaa !13 %15 = load i32, ptr %2, align 4, !tbaa !14 %16 = getelementptr inbounds i8, ptr %2, i64 8 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = getelementptr inbounds i8, ptr %2, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = tail call i32 @name_tree_insert(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %1) #3 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %11 call void @llvm.lifetime.start.p0(i64 257, ptr nonnull %5) #3 %23 = load i32, ptr %2, align 4, !tbaa !14 %24 = call i32 @dname_str(i32 noundef %23, ptr noundef nonnull %5) #3 %25 = call i32 @log_err(ptr noundef nonnull @.str, ptr noundef nonnull %5) #3 %26 = call i32 @delegpt_free_mlc(ptr noundef nonnull %2) #3 %27 = call i32 @free(ptr noundef nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 257, ptr nonnull %5) #3 br label %28 28: ; preds = %11, %22, %9 %29 = phi i32 [ 0, %9 ], [ 1, %22 ], [ 1, %11 ] ret i32 %29 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @delegpt_free_mlc(ptr noundef) local_unnamed_addr #2 declare i32 @name_tree_insert(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dname_str(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @log_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"iter_hints_stub", !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 = !{!"any pointer", !9, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !8, i64 0} !15 = !{!"delegpt", !8, i64 0, !8, i64 4, !8, i64 8} !16 = !{!15, !8, i64 8} !17 = !{!15, !8, i64 4}
freebsd_contrib_unbound_iterator_extr_iter_hints.c_hints_insert
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_cr16-dis.c_getregpname.c' source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_cr16-dis.c_getregpname.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, ptr } @cr16_regptab = dso_local local_unnamed_addr global ptr null, align 8 @CR16_RP_REGTYPE = dso_local local_unnamed_addr global i64 0, align 8 @ILLEGAL = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @getregpname], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal ptr @getregpname(i32 noundef %0) #0 { %2 = load ptr, ptr @cr16_regptab, align 8, !tbaa !5 %3 = sext i32 %0 to i64 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3 %5 = load i64, ptr %4, align 8, !tbaa !9 %6 = load i64, ptr @CR16_RP_REGTYPE, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3, i32 1 %9 = select i1 %7, ptr %8, ptr @ILLEGAL %10 = load ptr, ptr %9, align 8, !tbaa !5 ret ptr %10 } 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 0} !10 = !{!"TYPE_3__", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_cr16-dis.c_getregpname.c' source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_cr16-dis.c_getregpname.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i64, ptr } @cr16_regptab = common local_unnamed_addr global ptr null, align 8 @CR16_RP_REGTYPE = common local_unnamed_addr global i64 0, align 8 @ILLEGAL = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @getregpname], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal ptr @getregpname(i32 noundef %0) #0 { %2 = load ptr, ptr @cr16_regptab, align 8, !tbaa !6 %3 = sext i32 %0 to i64 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3 %5 = load i64, ptr %4, align 8, !tbaa !10 %6 = load i64, ptr @CR16_RP_REGTYPE, align 8, !tbaa !13 %7 = icmp eq i64 %5, %6 %8 = getelementptr inbounds i8, ptr %4, i64 8 %9 = select i1 %7, ptr %8, ptr @ILLEGAL %10 = load ptr, ptr %9, align 8, !tbaa !6 ret ptr %10 } 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 0} !11 = !{!"TYPE_3__", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0}
freebsd_contrib_binutils_opcodes_extr_cr16-dis.c_getregpname
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_sge.c_t1_sge_tx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_sge.c_t1_sge_tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.adapter = type { i64, i32, ptr } %struct.sge = type { i64, %struct.TYPE_3__, i32, ptr } %struct.TYPE_3__ = type { ptr } %struct.cmdQ = type { i32, i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [37 x i8] c"%s: Tx ring full while queue awake!\0A\00", align 1 @NETDEV_TX_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @NETDEV_TX_OK = dso_local local_unnamed_addr global i32 0, align 4 @F_CMDQ1_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @CMDQ_STAT_LAST_PKT_DB = dso_local local_unnamed_addr global i32 0, align 4 @CMDQ_STAT_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 @F_CMDQ0_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @A_SG_DOORBELL = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @t1_sge_tx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @t1_sge_tx(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = getelementptr inbounds %struct.adapter, ptr %1, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.sge, ptr %6, i64 0, i32 3 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = zext i32 %2 to i64 %10 = getelementptr inbounds %struct.cmdQ, ptr %8, i64 %9 %11 = getelementptr inbounds %struct.cmdQ, ptr %8, i64 %9, i32 5 %12 = tail call i32 @spin_lock(ptr noundef nonnull %11) #2 %13 = tail call i32 @reclaim_completed_tx(ptr noundef %6, ptr noundef %10) #2 %14 = getelementptr inbounds %struct.cmdQ, ptr %8, i64 %9, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = getelementptr inbounds %struct.cmdQ, ptr %8, i64 %9, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = sub i32 %15, %17 %19 = tail call ptr @skb_shinfo(ptr noundef %0) #2 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = add nsw i32 %20, 1 %22 = tail call i64 @compute_large_page_tx_descs(ptr noundef %0) #2 %23 = trunc i64 %22 to i32 %24 = add i32 %21, %23 %25 = icmp ult i32 %18, %24 %26 = zext i1 %25 to i32 %27 = tail call i64 @unlikely(i32 noundef %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %45, label %29 29: ; preds = %4 %30 = tail call i32 @netif_queue_stopped(ptr noundef %3) #2 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %127 32: ; preds = %29 %33 = tail call i32 @netif_stop_queue(ptr noundef %3) #2 %34 = load i32, ptr %3, align 4, !tbaa !20 %35 = getelementptr inbounds %struct.sge, ptr %6, i64 0, i32 2 %36 = tail call i32 @set_bit(i32 noundef %34, ptr noundef nonnull %35) #2 %37 = getelementptr inbounds %struct.sge, ptr %6, i64 0, i32 1 %38 = load ptr, ptr %37, align 8, !tbaa !22 %39 = getelementptr inbounds i32, ptr %38, i64 2 %40 = load i32, ptr %39, align 4, !tbaa !23 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !23 %42 = getelementptr inbounds %struct.adapter, ptr %1, i64 0, i32 1 %43 = load i32, ptr %42, align 8, !tbaa !24 %44 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %43) #2 br label %127 45: ; preds = %4 %46 = sub i32 %18, %24 %47 = getelementptr inbounds %struct.cmdQ, ptr %8, i64 %9, i32 3 %48 = load i32, ptr %47, align 4, !tbaa !25 %49 = icmp ult i32 %46, %48 %50 = zext i1 %49 to i32 %51 = tail call i64 @unlikely(i32 noundef %50) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %63, label %53 53: ; preds = %45 %54 = tail call i32 @netif_stop_queue(ptr noundef %3) #2 %55 = load i32, ptr %3, align 4, !tbaa !20 %56 = getelementptr inbounds %struct.sge, ptr %6, i64 0, i32 2 %57 = tail call i32 @set_bit(i32 noundef %55, ptr noundef nonnull %56) #2 %58 = getelementptr inbounds %struct.sge, ptr %6, i64 0, i32 1 %59 = load ptr, ptr %58, align 8, !tbaa !22 %60 = getelementptr inbounds i32, ptr %59, i64 2 %61 = load i32, ptr %60, align 4, !tbaa !23 %62 = add nsw i32 %61, 1 store i32 %62, ptr %60, align 4, !tbaa !23 br label %63 63: ; preds = %53, %45 %64 = load i64, ptr %6, align 8, !tbaa !26 %65 = icmp eq i64 %64, 0 %66 = icmp ne i32 %2, 0 %67 = or i1 %66, %65 br i1 %67, label %83, label %68 68: ; preds = %63 %69 = load i64, ptr %0, align 8, !tbaa !27 %70 = icmp eq i64 %69, 0 br i1 %70, label %83, label %71 71: ; preds = %68, %123 %72 = phi ptr [ null, %123 ], [ %0, %68 ] %73 = phi i32 [ %126, %123 ], [ %18, %68 ] %74 = tail call ptr @sched_skb(ptr noundef nonnull %6, ptr noundef %72, i32 noundef %73) #2 %75 = icmp eq ptr %74, null br i1 %75, label %127, label %76 76: ; preds = %71 %77 = tail call ptr @skb_shinfo(ptr noundef nonnull %74) #2 %78 = load i32, ptr %77, align 4, !tbaa !18 %79 = add nsw i32 %78, 1 %80 = tail call i64 @compute_large_page_tx_descs(ptr noundef nonnull %74) #2 %81 = trunc i64 %80 to i32 %82 = add i32 %79, %81 br label %83 83: ; preds = %76, %68, %63 %84 = phi ptr [ %0, %63 ], [ %74, %76 ], [ %0, %68 ] %85 = phi i32 [ %24, %63 ], [ %82, %76 ], [ %24, %68 ] %86 = phi i1 [ true, %63 ], [ false, %76 ], [ true, %68 ] %87 = load i32, ptr %16, align 4, !tbaa !17 %88 = add i32 %87, %85 store i32 %88, ptr %16, align 4, !tbaa !17 %89 = getelementptr inbounds %struct.cmdQ, ptr %8, i64 %9, i32 4 %90 = load i32, ptr %89, align 4, !tbaa !29 %91 = load i32, ptr %10, align 4, !tbaa !30 %92 = add i32 %91, %85 store i32 %92, ptr %10, align 4, !tbaa !30 %93 = load i32, ptr %14, align 4, !tbaa !15 %94 = icmp ult i32 %92, %93 br i1 %94, label %98, label %95 95: ; preds = %83 %96 = sub i32 %92, %93 store i32 %96, ptr %10, align 4, !tbaa !30 %97 = xor i32 %90, 1 store i32 %97, ptr %89, align 4, !tbaa !29 br label %98 98: ; preds = %95, %83 %99 = tail call i32 @spin_unlock(ptr noundef nonnull %11) #2 %100 = tail call i32 @write_tx_descs(ptr noundef %1, ptr noundef %84, i32 noundef %91, i32 noundef %90, ptr noundef nonnull %10) #2 br i1 %66, label %101, label %104 101: ; preds = %98 %102 = load i32, ptr @F_CMDQ1_ENABLE, align 4, !tbaa !23 %103 = tail call i32 @doorbell_pio(ptr noundef %1, i32 noundef %102) #2 br label %119 104: ; preds = %98 %105 = load i32, ptr @CMDQ_STAT_LAST_PKT_DB, align 4, !tbaa !23 %106 = getelementptr inbounds %struct.cmdQ, ptr %8, i64 %9, i32 6 %107 = tail call i32 @clear_bit(i32 noundef %105, ptr noundef nonnull %106) #2 %108 = load i32, ptr @CMDQ_STAT_RUNNING, align 4, !tbaa !23 %109 = tail call i64 @test_and_set_bit(i32 noundef %108, ptr noundef nonnull %106) #2 %110 = icmp eq i64 %109, 0 br i1 %110, label %111, label %119 111: ; preds = %104 %112 = load i32, ptr @CMDQ_STAT_LAST_PKT_DB, align 4, !tbaa !23 %113 = tail call i32 @set_bit(i32 noundef %112, ptr noundef nonnull %106) #2 %114 = load i32, ptr @F_CMDQ0_ENABLE, align 4, !tbaa !23 %115 = load i64, ptr %1, align 8, !tbaa !31 %116 = load i64, ptr @A_SG_DOORBELL, align 8, !tbaa !32 %117 = add nsw i64 %116, %115 %118 = tail call i32 @writel(i32 noundef %114, i64 noundef %117) #2 br label %119 119: ; preds = %104, %111, %101 br i1 %86, label %130, label %120 120: ; preds = %119 %121 = tail call i64 @spin_trylock(ptr noundef nonnull %11) #2 %122 = icmp eq i64 %121, 0 br i1 %122, label %130, label %123 123: ; preds = %120 %124 = load i32, ptr %14, align 4, !tbaa !15 %125 = load i32, ptr %16, align 4, !tbaa !17 %126 = sub i32 %124, %125 br label %71 127: ; preds = %71, %29, %32 %128 = phi ptr [ @NETDEV_TX_BUSY, %32 ], [ @NETDEV_TX_BUSY, %29 ], [ @NETDEV_TX_OK, %71 ] %129 = tail call i32 @spin_unlock(ptr noundef nonnull %11) #2 br label %130 130: ; preds = %127, %119, %120 %131 = phi ptr [ @NETDEV_TX_OK, %120 ], [ @NETDEV_TX_OK, %119 ], [ %128, %127 ] %132 = load i32, ptr %131, align 4, !tbaa !23 ret i32 %132 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @reclaim_completed_tx(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @skb_shinfo(ptr noundef) local_unnamed_addr #1 declare i64 @compute_large_page_tx_descs(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @netif_queue_stopped(ptr noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare ptr @sched_skb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_tx_descs(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @doorbell_pio(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @spin_trylock(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, !11, i64 16} !6 = !{!"adapter", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 24} !13 = !{!"sge", !7, i64 0, !14, i64 8, !10, i64 16, !11, i64 24} !14 = !{!"TYPE_3__", !11, i64 0} !15 = !{!16, !10, i64 4} !16 = !{!"cmdQ", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24} !17 = !{!16, !10, i64 8} !18 = !{!19, !10, i64 0} !19 = !{!"TYPE_4__", !10, i64 0} !20 = !{!21, !10, i64 0} !21 = !{!"net_device", !10, i64 0} !22 = !{!13, !11, i64 8} !23 = !{!10, !10, i64 0} !24 = !{!6, !10, i64 8} !25 = !{!16, !10, i64 12} !26 = !{!13, !7, i64 0} !27 = !{!28, !7, i64 0} !28 = !{!"sk_buff", !7, i64 0} !29 = !{!16, !10, i64 16} !30 = !{!16, !10, i64 0} !31 = !{!6, !7, i64 0} !32 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_sge.c_t1_sge_tx.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb/extr_sge.c_t1_sge_tx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.cmdQ = type { i32, i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [37 x i8] c"%s: Tx ring full while queue awake!\0A\00", align 1 @NETDEV_TX_BUSY = common local_unnamed_addr global i32 0, align 4 @NETDEV_TX_OK = common local_unnamed_addr global i32 0, align 4 @F_CMDQ1_ENABLE = common local_unnamed_addr global i32 0, align 4 @CMDQ_STAT_LAST_PKT_DB = common local_unnamed_addr global i32 0, align 4 @CMDQ_STAT_RUNNING = common local_unnamed_addr global i32 0, align 4 @F_CMDQ0_ENABLE = common local_unnamed_addr global i32 0, align 4 @A_SG_DOORBELL = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @t1_sge_tx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @t1_sge_tx(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %1, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %6, i64 24 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = zext i32 %2 to i64 %10 = getelementptr inbounds %struct.cmdQ, ptr %8, i64 %9 %11 = getelementptr inbounds i8, ptr %10, i64 20 %12 = tail call i32 @spin_lock(ptr noundef nonnull %11) #2 %13 = tail call i32 @reclaim_completed_tx(ptr noundef %6, ptr noundef %10) #2 %14 = getelementptr inbounds i8, ptr %10, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = getelementptr inbounds i8, ptr %10, i64 8 %17 = load i32, ptr %16, align 4, !tbaa !18 %18 = sub i32 %15, %17 %19 = tail call ptr @skb_shinfo(ptr noundef %0) #2 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = add nsw i32 %20, 1 %22 = tail call i64 @compute_large_page_tx_descs(ptr noundef %0) #2 %23 = trunc i64 %22 to i32 %24 = add i32 %21, %23 %25 = icmp ult i32 %18, %24 %26 = zext i1 %25 to i32 %27 = tail call i64 @unlikely(i32 noundef %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %45, label %29 29: ; preds = %4 %30 = tail call i32 @netif_queue_stopped(ptr noundef %3) #2 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %127 32: ; preds = %29 %33 = tail call i32 @netif_stop_queue(ptr noundef %3) #2 %34 = load i32, ptr %3, align 4, !tbaa !21 %35 = getelementptr inbounds i8, ptr %6, i64 16 %36 = tail call i32 @set_bit(i32 noundef %34, ptr noundef nonnull %35) #2 %37 = getelementptr inbounds i8, ptr %6, i64 8 %38 = load ptr, ptr %37, align 8, !tbaa !23 %39 = getelementptr inbounds i8, ptr %38, i64 8 %40 = load i32, ptr %39, align 4, !tbaa !24 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !24 %42 = getelementptr inbounds i8, ptr %1, i64 8 %43 = load i32, ptr %42, align 8, !tbaa !25 %44 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %43) #2 br label %127 45: ; preds = %4 %46 = sub i32 %18, %24 %47 = getelementptr inbounds i8, ptr %10, i64 12 %48 = load i32, ptr %47, align 4, !tbaa !26 %49 = icmp ult i32 %46, %48 %50 = zext i1 %49 to i32 %51 = tail call i64 @unlikely(i32 noundef %50) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %63, label %53 53: ; preds = %45 %54 = tail call i32 @netif_stop_queue(ptr noundef %3) #2 %55 = load i32, ptr %3, align 4, !tbaa !21 %56 = getelementptr inbounds i8, ptr %6, i64 16 %57 = tail call i32 @set_bit(i32 noundef %55, ptr noundef nonnull %56) #2 %58 = getelementptr inbounds i8, ptr %6, i64 8 %59 = load ptr, ptr %58, align 8, !tbaa !23 %60 = getelementptr inbounds i8, ptr %59, i64 8 %61 = load i32, ptr %60, align 4, !tbaa !24 %62 = add nsw i32 %61, 1 store i32 %62, ptr %60, align 4, !tbaa !24 br label %63 63: ; preds = %53, %45 %64 = load i64, ptr %6, align 8, !tbaa !27 %65 = icmp eq i64 %64, 0 %66 = icmp ne i32 %2, 0 %67 = or i1 %66, %65 br i1 %67, label %83, label %68 68: ; preds = %63 %69 = load i64, ptr %0, align 8, !tbaa !28 %70 = icmp eq i64 %69, 0 br i1 %70, label %83, label %71 71: ; preds = %68, %123 %72 = phi ptr [ null, %123 ], [ %0, %68 ] %73 = phi i32 [ %126, %123 ], [ %18, %68 ] %74 = tail call ptr @sched_skb(ptr noundef nonnull %6, ptr noundef %72, i32 noundef %73) #2 %75 = icmp eq ptr %74, null br i1 %75, label %127, label %76 76: ; preds = %71 %77 = tail call ptr @skb_shinfo(ptr noundef nonnull %74) #2 %78 = load i32, ptr %77, align 4, !tbaa !19 %79 = add nsw i32 %78, 1 %80 = tail call i64 @compute_large_page_tx_descs(ptr noundef nonnull %74) #2 %81 = trunc i64 %80 to i32 %82 = add i32 %79, %81 br label %83 83: ; preds = %76, %68, %63 %84 = phi ptr [ %0, %63 ], [ %74, %76 ], [ %0, %68 ] %85 = phi i32 [ %24, %63 ], [ %82, %76 ], [ %24, %68 ] %86 = phi i1 [ true, %63 ], [ false, %76 ], [ true, %68 ] %87 = load i32, ptr %16, align 4, !tbaa !18 %88 = add i32 %87, %85 store i32 %88, ptr %16, align 4, !tbaa !18 %89 = getelementptr inbounds i8, ptr %10, i64 16 %90 = load i32, ptr %89, align 4, !tbaa !30 %91 = load i32, ptr %10, align 4, !tbaa !31 %92 = add i32 %91, %85 store i32 %92, ptr %10, align 4, !tbaa !31 %93 = load i32, ptr %14, align 4, !tbaa !16 %94 = icmp ult i32 %92, %93 br i1 %94, label %98, label %95 95: ; preds = %83 %96 = sub i32 %92, %93 store i32 %96, ptr %10, align 4, !tbaa !31 %97 = xor i32 %90, 1 store i32 %97, ptr %89, align 4, !tbaa !30 br label %98 98: ; preds = %95, %83 %99 = tail call i32 @spin_unlock(ptr noundef nonnull %11) #2 %100 = tail call i32 @write_tx_descs(ptr noundef %1, ptr noundef %84, i32 noundef %91, i32 noundef %90, ptr noundef nonnull %10) #2 br i1 %66, label %101, label %104 101: ; preds = %98 %102 = load i32, ptr @F_CMDQ1_ENABLE, align 4, !tbaa !24 %103 = tail call i32 @doorbell_pio(ptr noundef %1, i32 noundef %102) #2 br label %119 104: ; preds = %98 %105 = load i32, ptr @CMDQ_STAT_LAST_PKT_DB, align 4, !tbaa !24 %106 = getelementptr inbounds i8, ptr %10, i64 24 %107 = tail call i32 @clear_bit(i32 noundef %105, ptr noundef nonnull %106) #2 %108 = load i32, ptr @CMDQ_STAT_RUNNING, align 4, !tbaa !24 %109 = tail call i64 @test_and_set_bit(i32 noundef %108, ptr noundef nonnull %106) #2 %110 = icmp eq i64 %109, 0 br i1 %110, label %111, label %119 111: ; preds = %104 %112 = load i32, ptr @CMDQ_STAT_LAST_PKT_DB, align 4, !tbaa !24 %113 = tail call i32 @set_bit(i32 noundef %112, ptr noundef nonnull %106) #2 %114 = load i32, ptr @F_CMDQ0_ENABLE, align 4, !tbaa !24 %115 = load i64, ptr %1, align 8, !tbaa !32 %116 = load i64, ptr @A_SG_DOORBELL, align 8, !tbaa !33 %117 = add nsw i64 %116, %115 %118 = tail call i32 @writel(i32 noundef %114, i64 noundef %117) #2 br label %119 119: ; preds = %104, %111, %101 br i1 %86, label %130, label %120 120: ; preds = %119 %121 = tail call i64 @spin_trylock(ptr noundef nonnull %11) #2 %122 = icmp eq i64 %121, 0 br i1 %122, label %130, label %123 123: ; preds = %120 %124 = load i32, ptr %14, align 4, !tbaa !16 %125 = load i32, ptr %16, align 4, !tbaa !18 %126 = sub i32 %124, %125 br label %71 127: ; preds = %71, %29, %32 %128 = phi ptr [ @NETDEV_TX_BUSY, %32 ], [ @NETDEV_TX_BUSY, %29 ], [ @NETDEV_TX_OK, %71 ] %129 = tail call i32 @spin_unlock(ptr noundef nonnull %11) #2 br label %130 130: ; preds = %127, %119, %120 %131 = phi ptr [ @NETDEV_TX_OK, %120 ], [ @NETDEV_TX_OK, %119 ], [ %128, %127 ] %132 = load i32, ptr %131, align 4, !tbaa !24 ret i32 %132 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @reclaim_completed_tx(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @skb_shinfo(ptr noundef) local_unnamed_addr #1 declare i64 @compute_large_page_tx_descs(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @netif_queue_stopped(ptr noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare ptr @sched_skb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_tx_descs(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @doorbell_pio(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @spin_trylock(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, !12, i64 16} !7 = !{!"adapter", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 24} !14 = !{!"sge", !8, i64 0, !15, i64 8, !11, i64 16, !12, i64 24} !15 = !{!"TYPE_3__", !12, i64 0} !16 = !{!17, !11, i64 4} !17 = !{!"cmdQ", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24} !18 = !{!17, !11, i64 8} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_4__", !11, i64 0} !21 = !{!22, !11, i64 0} !22 = !{!"net_device", !11, i64 0} !23 = !{!14, !12, i64 8} !24 = !{!11, !11, i64 0} !25 = !{!7, !11, i64 8} !26 = !{!17, !11, i64 12} !27 = !{!14, !8, i64 0} !28 = !{!29, !8, i64 0} !29 = !{!"sk_buff", !8, i64 0} !30 = !{!17, !11, i64 16} !31 = !{!17, !11, i64 0} !32 = !{!7, !8, i64 0} !33 = !{!8, !8, i64 0}
linux_drivers_net_ethernet_chelsio_cxgb_extr_sge.c_t1_sge_tx
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/atm/extr_iphase.c_ia_avail_descs.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/atm/extr_iphase.c_ia_avail_descs.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, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i64, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ia_avail_descs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ia_avail_descs(ptr noundef %0) #0 { %2 = tail call i32 @ia_hack_tcq(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !12 %6 = icmp slt i64 %3, %5 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = sub nsw i64 %3, %5 br label %20 9: ; preds = %1 %10 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1, i32 2 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = sext i32 %14 to i64 %16 = add i64 %3, 2 %17 = add i64 %16, %12 %18 = add i64 %5, %15 %19 = sub i64 %17, %18 br label %20 20: ; preds = %9, %7 %21 = phi i64 [ %8, %7 ], [ %19, %9 ] %22 = sdiv i64 %21, 2 %23 = trunc i64 %22 to i32 ret i32 %23 } declare i32 @ia_hack_tcq(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_6__", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_5__", !7, i64 0, !11, i64 8, !11, i64 12} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!6, !11, i64 16} !14 = !{!6, !11, i64 20}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/atm/extr_iphase.c_ia_avail_descs.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/atm/extr_iphase.c_ia_avail_descs.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 @ia_avail_descs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ia_avail_descs(ptr noundef %0) #0 { %2 = tail call i32 @ia_hack_tcq(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !13 %6 = icmp slt i64 %3, %5 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = sub nsw i64 %3, %5 br label %20 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !14 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %0, i64 20 %14 = load i32, ptr %13, align 4, !tbaa !15 %15 = sext i32 %14 to i64 %16 = add i64 %3, 2 %17 = add i64 %16, %12 %18 = add i64 %5, %15 %19 = sub i64 %17, %18 br label %20 20: ; preds = %9, %7 %21 = phi i64 [ %8, %7 ], [ %19, %9 ] %22 = sdiv i64 %21, 2 %23 = trunc i64 %22 to i32 ret i32 %23 } declare i32 @ia_hack_tcq(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_6__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_5__", !8, i64 0, !12, i64 8, !12, i64 12} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!7, !12, i64 16} !15 = !{!7, !12, i64 20}
fastsocket_kernel_drivers_atm_extr_iphase.c_ia_avail_descs
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_sqlite3_strnicmp.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_sqlite3_strnicmp.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" @UpperToLower = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local i32 @sqlite3_strnicmp(ptr noundef readonly %0, ptr noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null br i1 %4, label %5, label %8 5: ; preds = %3 %6 = icmp ne ptr %1, null %7 = sext i1 %6 to i32 br label %44 8: ; preds = %3 %9 = icmp eq ptr %1, null br i1 %9, label %44, label %10 10: ; preds = %8 %11 = icmp sgt i32 %2, 0 br i1 %11, label %12, label %44 12: ; preds = %10 %13 = load ptr, ptr @UpperToLower, align 8 br label %14 14: ; preds = %12, %32 %15 = phi i32 [ %2, %12 ], [ %18, %32 ] %16 = phi ptr [ %1, %12 ], [ %34, %32 ] %17 = phi ptr [ %0, %12 ], [ %33, %32 ] %18 = add nsw i32 %15, -1 %19 = load i8, ptr %17, align 1, !tbaa !5 %20 = icmp eq i8 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %14 %22 = load i64, ptr %13, align 8, !tbaa !8 br label %36 23: ; preds = %14 %24 = zext i8 %19 to i64 %25 = getelementptr inbounds i64, ptr %13, i64 %24 %26 = load i64, ptr %25, align 8, !tbaa !8 %27 = load i8, ptr %16, align 1, !tbaa !5 %28 = zext i8 %27 to i64 %29 = getelementptr inbounds i64, ptr %13, i64 %28 %30 = load i64, ptr %29, align 8, !tbaa !8 %31 = icmp eq i64 %26, %30 br i1 %31, label %32, label %36 32: ; preds = %23 %33 = getelementptr inbounds i8, ptr %17, i64 1 %34 = getelementptr inbounds i8, ptr %16, i64 1 %35 = icmp ugt i32 %15, 1 br i1 %35, label %14, label %44, !llvm.loop !10 36: ; preds = %23, %21 %37 = phi i64 [ %22, %21 ], [ %26, %23 ] %38 = load i8, ptr %16, align 1, !tbaa !5 %39 = zext i8 %38 to i64 %40 = getelementptr inbounds i64, ptr %13, i64 %39 %41 = load i64, ptr %40, align 8, !tbaa !8 %42 = sub nsw i64 %37, %41 %43 = trunc i64 %42 to i32 br label %44 44: ; preds = %32, %10, %36, %8, %5 %45 = phi i32 [ %7, %5 ], [ 1, %8 ], [ %43, %36 ], [ 0, %10 ], [ 0, %32 ] ret i32 %45 } 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, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"long", !6, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_sqlite3_strnicmp.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_sqlite3_strnicmp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UpperToLower = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define i32 @sqlite3_strnicmp(ptr noundef readonly %0, ptr noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null br i1 %4, label %5, label %8 5: ; preds = %3 %6 = icmp ne ptr %1, null %7 = sext i1 %6 to i32 br label %44 8: ; preds = %3 %9 = icmp eq ptr %1, null br i1 %9, label %44, label %10 10: ; preds = %8 %11 = icmp sgt i32 %2, 0 br i1 %11, label %12, label %44 12: ; preds = %10 %13 = load ptr, ptr @UpperToLower, align 8 br label %14 14: ; preds = %12, %32 %15 = phi i32 [ %2, %12 ], [ %18, %32 ] %16 = phi ptr [ %1, %12 ], [ %34, %32 ] %17 = phi ptr [ %0, %12 ], [ %33, %32 ] %18 = add nsw i32 %15, -1 %19 = load i8, ptr %17, align 1, !tbaa !6 %20 = icmp eq i8 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %14 %22 = load i64, ptr %13, align 8, !tbaa !9 br label %36 23: ; preds = %14 %24 = zext i8 %19 to i64 %25 = getelementptr inbounds i64, ptr %13, i64 %24 %26 = load i64, ptr %25, align 8, !tbaa !9 %27 = load i8, ptr %16, align 1, !tbaa !6 %28 = zext i8 %27 to i64 %29 = getelementptr inbounds i64, ptr %13, i64 %28 %30 = load i64, ptr %29, align 8, !tbaa !9 %31 = icmp eq i64 %26, %30 br i1 %31, label %32, label %36 32: ; preds = %23 %33 = getelementptr inbounds i8, ptr %17, i64 1 %34 = getelementptr inbounds i8, ptr %16, i64 1 %35 = icmp ugt i32 %15, 1 br i1 %35, label %14, label %44, !llvm.loop !11 36: ; preds = %23, %21 %37 = phi i64 [ %22, %21 ], [ %26, %23 ] %38 = load i8, ptr %16, align 1, !tbaa !6 %39 = zext i8 %38 to i64 %40 = getelementptr inbounds i64, ptr %13, i64 %39 %41 = load i64, ptr %40, align 8, !tbaa !9 %42 = sub nsw i64 %37, %41 %43 = trunc i64 %42 to i32 br label %44 44: ; preds = %32, %10, %36, %8, %5 %45 = phi i32 [ %7, %5 ], [ 1, %8 ], [ %43, %36 ], [ 0, %10 ], [ 0, %32 ] ret i32 %45 } 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, !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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_sqlite3_strnicmp
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_dsi.c_dsi_enable_te.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_dsi.c_dsi_enable_te.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 @dsi_enable_te], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @dsi_enable_te(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @dsi_get_dsidev_from_dssdev(ptr noundef %0) #2 %4 = tail call ptr @dsi_get_dsidrv_data(ptr noundef %3) #2 store i32 %1, ptr %4, align 4, !tbaa !5 ret i32 0 } declare ptr @dsi_get_dsidev_from_dssdev(ptr noundef) local_unnamed_addr #1 declare ptr @dsi_get_dsidrv_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)"} !5 = !{!6, !7, i64 0} !6 = !{!"dsi_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_dsi.c_dsi_enable_te.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_dsi.c_dsi_enable_te.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 @dsi_enable_te], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @dsi_enable_te(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @dsi_get_dsidev_from_dssdev(ptr noundef %0) #2 %4 = tail call ptr @dsi_get_dsidrv_data(ptr noundef %3) #2 store i32 %1, ptr %4, align 4, !tbaa !6 ret i32 0 } declare ptr @dsi_get_dsidev_from_dssdev(ptr noundef) local_unnamed_addr #1 declare ptr @dsi_get_dsidrv_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)"} !6 = !{!7, !8, i64 0} !7 = !{!"dsi_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_video_fbdev_omap2_omapfb_dss_extr_dsi.c_dsi_enable_te
; ModuleID = 'AnghaBench/freebsd/sys/compat/freebsd32/extr_freebsd32_misc.c_freebsd32_pread.c' source_filename = "AnghaBench/freebsd/sys/compat/freebsd32/extr_freebsd32_misc.c_freebsd32_pread.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.freebsd32_pread_args = type { i32, i32, i32, i32 } @off_t = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @freebsd32_pread(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.freebsd32_pread_args, ptr %1, i64 0, i32 3 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.freebsd32_pread_args, ptr %1, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = getelementptr inbounds %struct.freebsd32_pread_args, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = load i32, ptr @off_t, align 4, !tbaa !12 %10 = load i32, ptr %1, align 4, !tbaa !13 %11 = tail call i32 @PAIR32TO64(i32 noundef %9, i32 noundef %10) #2 %12 = tail call i32 @kern_pread(ptr noundef %0, i32 noundef %4, i32 noundef %6, i32 noundef %8, i32 noundef %11) #2 ret i32 %12 } declare i32 @kern_pread(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PAIR32TO64(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 12} !6 = !{!"freebsd32_pread_args", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 4} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/compat/freebsd32/extr_freebsd32_misc.c_freebsd32_pread.c' source_filename = "AnghaBench/freebsd/sys/compat/freebsd32/extr_freebsd32_misc.c_freebsd32_pread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @off_t = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @freebsd32_pread(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 12 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = load i32, ptr @off_t, align 4, !tbaa !13 %10 = load i32, ptr %1, align 4, !tbaa !14 %11 = tail call i32 @PAIR32TO64(i32 noundef %9, i32 noundef %10) #2 %12 = tail call i32 @kern_pread(ptr noundef %0, i32 noundef %4, i32 noundef %6, i32 noundef %8, i32 noundef %11) #2 ret i32 %12 } declare i32 @kern_pread(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PAIR32TO64(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 12} !7 = !{!"freebsd32_pread_args", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 4} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0}
freebsd_sys_compat_freebsd32_extr_freebsd32_misc.c_freebsd32_pread
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_mr.c_qlafx00_error_entry.c' source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_mr.c_qlafx00_error_entry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, ptr } @__const.qlafx00_error_entry.func = private unnamed_addr constant [11 x i8] c"ERROR-IOCB\00", align 1 @DID_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ISP_ABORT_NEEDED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qlafx00_error_entry], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qlafx00_error_entry(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = alloca [11 x i8], align 1 %5 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(11) %4, ptr noundef nonnull align 1 dereferenceable(11) @__const.qlafx00_error_entry.func, i64 11, i1 false) %7 = load i32, ptr @DID_ERROR, align 4, !tbaa !11 %8 = load ptr, ptr %6, align 8, !tbaa !12 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = call ptr @qla2x00_get_sp_from_handle(ptr noundef %0, ptr noundef nonnull %4, ptr noundef %9, ptr noundef %2) #4 %11 = icmp eq ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %3 %13 = shl i32 %7, 16 %14 = load ptr, ptr %10, align 8, !tbaa !15 %15 = call i32 %14(ptr noundef nonnull %10, i32 noundef %13) #4 br label %20 16: ; preds = %3 %17 = load i32, ptr @ISP_ABORT_NEEDED, align 4, !tbaa !11 %18 = call i32 @set_bit(i32 noundef %17, ptr noundef nonnull %0) #4 %19 = call i32 @qla2xxx_wake_dpc(ptr noundef nonnull %0) #4 br label %20 20: ; preds = %16, %12 call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %4) #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 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @qla2x00_get_sp_from_handle(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @qla2xxx_wake_dpc(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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_9__", !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 = !{!13, !10, i64 0} !13 = !{!"qla_hw_data", !10, i64 0} !14 = !{!10, !10, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_8__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_mr.c_qlafx00_error_entry.c' source_filename = "AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_mr.c_qlafx00_error_entry.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.qlafx00_error_entry.func = private unnamed_addr constant [11 x i8] c"ERROR-IOCB\00", align 1 @DID_ERROR = common local_unnamed_addr global i32 0, align 4 @ISP_ABORT_NEEDED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qlafx00_error_entry], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qlafx00_error_entry(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = alloca [11 x i8], align 1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(11) %4, ptr noundef nonnull align 1 dereferenceable(11) @__const.qlafx00_error_entry.func, i64 11, i1 false) %7 = load i32, ptr @DID_ERROR, align 4, !tbaa !12 %8 = load ptr, ptr %6, align 8, !tbaa !13 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = call ptr @qla2x00_get_sp_from_handle(ptr noundef %0, ptr noundef nonnull %4, ptr noundef %9, ptr noundef %2) #4 %11 = icmp eq ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %3 %13 = shl i32 %7, 16 %14 = load ptr, ptr %10, align 8, !tbaa !16 %15 = call i32 %14(ptr noundef nonnull %10, i32 noundef %13) #4 br label %20 16: ; preds = %3 %17 = load i32, ptr @ISP_ABORT_NEEDED, align 4, !tbaa !12 %18 = call i32 @set_bit(i32 noundef %17, ptr noundef nonnull %0) #4 %19 = call i32 @qla2xxx_wake_dpc(ptr noundef nonnull %0) #4 br label %20 20: ; preds = %16, %12 call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %4) #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 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @qla2x00_get_sp_from_handle(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @qla2xxx_wake_dpc(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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, !11, i64 8} !7 = !{!"TYPE_9__", !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 = !{!14, !11, i64 0} !14 = !{!"qla_hw_data", !11, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_8__", !11, i64 0}
linux_drivers_scsi_qla2xxx_extr_qla_mr.c_qlafx00_error_entry
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nilfs2/extr_dir.c_nilfs_get_page.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nilfs2/extr_dir.c_nilfs_get_page.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" @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nilfs_get_page], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @nilfs_get_page(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load i64, ptr %4, align 8, !tbaa !12 %6 = inttoptr i64 %5 to ptr %7 = tail call ptr @read_cache_page(ptr noundef nonnull %3, i64 noundef %1, ptr noundef %6, ptr noundef null) #2 %8 = tail call i32 @IS_ERR(ptr noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %28 10: ; preds = %2 %11 = tail call i32 @wait_on_page_locked(ptr noundef %7) #2 %12 = tail call i32 @kmap(ptr noundef %7) #2 %13 = tail call i32 @PageUptodate(ptr noundef %7) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %23, label %15 15: ; preds = %10 %16 = tail call i32 @PageChecked(ptr noundef %7) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = tail call i32 @nilfs_check_page(ptr noundef %7) #2 br label %20 20: ; preds = %18, %15 %21 = tail call i64 @PageError(ptr noundef %7) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %20, %10 %24 = tail call i32 @nilfs_put_page(ptr noundef %7) #2 %25 = load i32, ptr @EIO, align 4, !tbaa !15 %26 = sub nsw i32 0, %25 %27 = tail call ptr @ERR_PTR(i32 noundef %26) #2 br label %28 28: ; preds = %2, %20, %23 %29 = phi ptr [ %27, %23 ], [ %7, %20 ], [ %7, %2 ] ret ptr %29 } declare ptr @read_cache_page(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @wait_on_page_locked(ptr noundef) local_unnamed_addr #1 declare i32 @kmap(ptr noundef) local_unnamed_addr #1 declare i32 @PageUptodate(ptr noundef) local_unnamed_addr #1 declare i32 @PageChecked(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_check_page(ptr noundef) local_unnamed_addr #1 declare i64 @PageError(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_put_page(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(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 = !{!"inode", !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 = !{!"address_space", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nilfs2/extr_dir.c_nilfs_get_page.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nilfs2/extr_dir.c_nilfs_get_page.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nilfs_get_page], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @nilfs_get_page(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load i64, ptr %4, align 8, !tbaa !13 %6 = inttoptr i64 %5 to ptr %7 = tail call ptr @read_cache_page(ptr noundef nonnull %3, i64 noundef %1, ptr noundef %6, ptr noundef null) #2 %8 = tail call i32 @IS_ERR(ptr noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %28 10: ; preds = %2 %11 = tail call i32 @wait_on_page_locked(ptr noundef %7) #2 %12 = tail call i32 @kmap(ptr noundef %7) #2 %13 = tail call i32 @PageUptodate(ptr noundef %7) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %23, label %15 15: ; preds = %10 %16 = tail call i32 @PageChecked(ptr noundef %7) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = tail call i32 @nilfs_check_page(ptr noundef %7) #2 br label %20 20: ; preds = %18, %15 %21 = tail call i64 @PageError(ptr noundef %7) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %20, %10 %24 = tail call i32 @nilfs_put_page(ptr noundef %7) #2 %25 = load i32, ptr @EIO, align 4, !tbaa !16 %26 = sub nsw i32 0, %25 %27 = tail call ptr @ERR_PTR(i32 noundef %26) #2 br label %28 28: ; preds = %2, %20, %23 %29 = phi ptr [ %27, %23 ], [ %7, %20 ], [ %7, %2 ] ret ptr %29 } declare ptr @read_cache_page(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @wait_on_page_locked(ptr noundef) local_unnamed_addr #1 declare i32 @kmap(ptr noundef) local_unnamed_addr #1 declare i32 @PageUptodate(ptr noundef) local_unnamed_addr #1 declare i32 @PageChecked(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_check_page(ptr noundef) local_unnamed_addr #1 declare i64 @PageError(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_put_page(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(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 = !{!"inode", !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 = !{!"address_space", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !9, i64 0}
fastsocket_kernel_fs_nilfs2_extr_dir.c_nilfs_get_page
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_loslib.c_setallfields.c' source_filename = "AnghaBench/skynet/3rd/lua/extr_loslib.c_setallfields.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.tm = type { i32, i64, i64, i64, i64, i64, i64, i64, i64 } @.str = private unnamed_addr constant [4 x i8] c"sec\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"min\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"hour\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"day\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"month\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"year\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"wday\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"yday\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"isdst\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @setallfields], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @setallfields(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 8 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str, i64 noundef %4) #2 %6 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 7 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.1, i64 noundef %7) #2 %9 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 6 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.2, i64 noundef %10) #2 %12 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 5 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.3, i64 noundef %13) #2 %15 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 4 %16 = load i64, ptr %15, align 8, !tbaa !14 %17 = add nsw i64 %16, 1 %18 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.4, i64 noundef %17) #2 %19 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 3 %20 = load i64, ptr %19, align 8, !tbaa !15 %21 = add nsw i64 %20, 1900 %22 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.5, i64 noundef %21) #2 %23 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 2 %24 = load i64, ptr %23, align 8, !tbaa !16 %25 = add nsw i64 %24, 1 %26 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.6, i64 noundef %25) #2 %27 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 1 %28 = load i64, ptr %27, align 8, !tbaa !17 %29 = add nsw i64 %28, 1 %30 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.7, i64 noundef %29) #2 %31 = load i32, ptr %1, align 8, !tbaa !18 %32 = tail call i32 @setboolfield(ptr noundef %0, ptr noundef nonnull @.str.8, i32 noundef %31) #2 ret void } declare i32 @setfield(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @setboolfield(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, !10, i64 64} !6 = !{!"tm", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 56} !12 = !{!6, !10, i64 48} !13 = !{!6, !10, i64 40} !14 = !{!6, !10, i64 32} !15 = !{!6, !10, i64 24} !16 = !{!6, !10, i64 16} !17 = !{!6, !10, i64 8} !18 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_loslib.c_setallfields.c' source_filename = "AnghaBench/skynet/3rd/lua/extr_loslib.c_setallfields.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"sec\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"min\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"hour\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"day\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"month\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"year\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"wday\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"yday\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"isdst\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @setallfields], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @setallfields(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 64 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str, i64 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %1, i64 56 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.1, i64 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %1, i64 48 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.2, i64 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %1, i64 40 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.3, i64 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %1, i64 32 %16 = load i64, ptr %15, align 8, !tbaa !15 %17 = add nsw i64 %16, 1 %18 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.4, i64 noundef %17) #2 %19 = getelementptr inbounds i8, ptr %1, i64 24 %20 = load i64, ptr %19, align 8, !tbaa !16 %21 = add nsw i64 %20, 1900 %22 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.5, i64 noundef %21) #2 %23 = getelementptr inbounds i8, ptr %1, i64 16 %24 = load i64, ptr %23, align 8, !tbaa !17 %25 = add nsw i64 %24, 1 %26 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.6, i64 noundef %25) #2 %27 = getelementptr inbounds i8, ptr %1, i64 8 %28 = load i64, ptr %27, align 8, !tbaa !18 %29 = add nsw i64 %28, 1 %30 = tail call i32 @setfield(ptr noundef %0, ptr noundef nonnull @.str.7, i64 noundef %29) #2 %31 = load i32, ptr %1, align 8, !tbaa !19 %32 = tail call i32 @setboolfield(ptr noundef %0, ptr noundef nonnull @.str.8, i32 noundef %31) #2 ret void } declare i32 @setfield(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @setboolfield(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, !11, i64 64} !7 = !{!"tm", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 56} !13 = !{!7, !11, i64 48} !14 = !{!7, !11, i64 40} !15 = !{!7, !11, i64 32} !16 = !{!7, !11, i64 24} !17 = !{!7, !11, i64 16} !18 = !{!7, !11, i64 8} !19 = !{!7, !8, i64 0}
skynet_3rd_lua_extr_loslib.c_setallfields
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_fan53555.c_fan53555_parse_dt.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_fan53555.c_fan53555_parse_dt.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.fan53555_platform_data = type { i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"fcs,suspend-voltage-selector\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fan53555_parse_dt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @fan53555_parse_dt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %6 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 8, i32 noundef %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %15, label %8 8: ; preds = %3 %9 = tail call i32 @of_get_regulator_init_data(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 %10 = getelementptr inbounds %struct.fan53555_platform_data, ptr %6, i64 0, i32 1 store i32 %9, ptr %10, align 4, !tbaa !9 %11 = call i32 @of_property_read_u32(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %4) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %8 %14 = load i32, ptr %4, align 4, !tbaa !5 store i32 %14, ptr %6, align 4, !tbaa !11 br label %15 15: ; preds = %8, %13, %3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret ptr %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @of_get_regulator_init_data(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @of_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"fan53555_platform_data", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_fan53555.c_fan53555_parse_dt.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_fan53555.c_fan53555_parse_dt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"fcs,suspend-voltage-selector\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fan53555_parse_dt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @fan53555_parse_dt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %6 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 8, i32 noundef %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %15, label %8 8: ; preds = %3 %9 = tail call i32 @of_get_regulator_init_data(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 %10 = getelementptr inbounds i8, ptr %6, i64 4 store i32 %9, ptr %10, align 4, !tbaa !10 %11 = call i32 @of_property_read_u32(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %4) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %8 %14 = load i32, ptr %4, align 4, !tbaa !6 store i32 %14, ptr %6, align 4, !tbaa !12 br label %15 15: ; preds = %8, %13, %3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret ptr %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @of_get_regulator_init_data(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @of_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"fan53555_platform_data", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 0}
linux_drivers_regulator_extr_fan53555.c_fan53555_parse_dt
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_selftest_hangcheck.c_igt_reset_evict_fence.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_selftest_hangcheck.c_igt_reset_evict_fence.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" @evict_fence = dso_local local_unnamed_addr global i32 0, align 4 @EXEC_OBJECT_NEEDS_FENCE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @igt_reset_evict_fence], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @igt_reset_evict_fence(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @evict_fence, align 4, !tbaa !10 %4 = load i32, ptr @EXEC_OBJECT_NEEDS_FENCE, align 4, !tbaa !10 %5 = tail call i32 @__igt_reset_evict_vma(ptr noundef nonnull %0, ptr noundef %2, i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @__igt_reset_evict_vma(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, !7, i64 0} !6 = !{!"intel_gt", !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/gpu/drm/i915/gt/extr_selftest_hangcheck.c_igt_reset_evict_fence.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_selftest_hangcheck.c_igt_reset_evict_fence.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @evict_fence = common local_unnamed_addr global i32 0, align 4 @EXEC_OBJECT_NEEDS_FENCE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @igt_reset_evict_fence], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @igt_reset_evict_fence(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @evict_fence, align 4, !tbaa !11 %4 = load i32, ptr @EXEC_OBJECT_NEEDS_FENCE, align 4, !tbaa !11 %5 = tail call i32 @__igt_reset_evict_vma(ptr noundef nonnull %0, ptr noundef %2, i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @__igt_reset_evict_vma(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, !8, i64 0} !7 = !{!"intel_gt", !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_gpu_drm_i915_gt_extr_selftest_hangcheck.c_igt_reset_evict_fence
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers_p2p.c_wpas_dbus_getter_p2p_peer_primary_device_type.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers_p2p.c_wpas_dbus_getter_p2p_peer_primary_device_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" %struct.peer_handler_args = type { i32, ptr } @DBUS_ERROR_FAILED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"failed to find peer\00", align 1 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @DBUS_TYPE_BYTE = dso_local local_unnamed_addr global i32 0, align 4 @WPS_DEV_TYPE_LEN = dso_local local_unnamed_addr global i32 0, align 4 @DBUS_ERROR_NO_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"no memory\00", align 1 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @wpas_dbus_getter_p2p_peer_primary_device_type(ptr nocapture noundef readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 { %5 = getelementptr inbounds %struct.peer_handler_args, ptr %3, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = load i32, ptr %3, align 8, !tbaa !15 %10 = tail call ptr @p2p_get_peer_found(i32 noundef %8, i32 noundef %9, i32 noundef 0) #2 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %4 %13 = load i32, ptr @DBUS_ERROR_FAILED, align 4, !tbaa !16 %14 = tail call i32 @dbus_set_error(ptr noundef %2, i32 noundef %13, ptr noundef nonnull @.str) #2 br label %25 15: ; preds = %4 %16 = load i32, ptr @DBUS_TYPE_BYTE, align 4, !tbaa !16 %17 = load i64, ptr %10, align 8, !tbaa !17 %18 = inttoptr i64 %17 to ptr %19 = load i32, ptr @WPS_DEV_TYPE_LEN, align 4, !tbaa !16 %20 = tail call i32 @wpas_dbus_simple_array_property_getter(ptr noundef %1, i32 noundef %16, ptr noundef %18, i32 noundef %19, ptr noundef %2) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = load i32, ptr @DBUS_ERROR_NO_MEMORY, align 4, !tbaa !16 %24 = tail call i32 @dbus_set_error_const(ptr noundef %2, i32 noundef %23, ptr noundef nonnull @.str.1) #2 br label %25 25: ; preds = %15, %22, %12 %26 = phi ptr [ @FALSE, %12 ], [ @FALSE, %22 ], [ @TRUE, %15 ] %27 = load i32, ptr %26, align 4, !tbaa !16 ret i32 %27 } declare ptr @p2p_get_peer_found(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dbus_set_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wpas_dbus_simple_array_property_getter(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dbus_set_error_const(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, !10, i64 8} !6 = !{!"peer_handler_args", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_4__", !10, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_3__", !7, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!18, !19, i64 0} !18 = !{!"p2p_peer_info", !19, i64 0} !19 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers_p2p.c_wpas_dbus_getter_p2p_peer_primary_device_type.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers_p2p.c_wpas_dbus_getter_p2p_peer_primary_device_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DBUS_ERROR_FAILED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"failed to find peer\00", align 1 @FALSE = common local_unnamed_addr global i32 0, align 4 @DBUS_TYPE_BYTE = common local_unnamed_addr global i32 0, align 4 @WPS_DEV_TYPE_LEN = common local_unnamed_addr global i32 0, align 4 @DBUS_ERROR_NO_MEMORY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"no memory\00", align 1 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @wpas_dbus_getter_p2p_peer_primary_device_type(ptr nocapture noundef readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 { %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = load i32, ptr %3, align 8, !tbaa !16 %10 = tail call ptr @p2p_get_peer_found(i32 noundef %8, i32 noundef %9, i32 noundef 0) #2 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %4 %13 = load i32, ptr @DBUS_ERROR_FAILED, align 4, !tbaa !17 %14 = tail call i32 @dbus_set_error(ptr noundef %2, i32 noundef %13, ptr noundef nonnull @.str) #2 br label %25 15: ; preds = %4 %16 = load i32, ptr @DBUS_TYPE_BYTE, align 4, !tbaa !17 %17 = load i64, ptr %10, align 8, !tbaa !18 %18 = inttoptr i64 %17 to ptr %19 = load i32, ptr @WPS_DEV_TYPE_LEN, align 4, !tbaa !17 %20 = tail call i32 @wpas_dbus_simple_array_property_getter(ptr noundef %1, i32 noundef %16, ptr noundef %18, i32 noundef %19, ptr noundef %2) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %15 %23 = load i32, ptr @DBUS_ERROR_NO_MEMORY, align 4, !tbaa !17 %24 = tail call i32 @dbus_set_error_const(ptr noundef %2, i32 noundef %23, ptr noundef nonnull @.str.1) #2 br label %25 25: ; preds = %15, %22, %12 %26 = phi ptr [ @FALSE, %12 ], [ @FALSE, %22 ], [ @TRUE, %15 ] %27 = load i32, ptr %26, align 4, !tbaa !17 ret i32 %27 } declare ptr @p2p_get_peer_found(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dbus_set_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wpas_dbus_simple_array_property_getter(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dbus_set_error_const(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, !11, i64 8} !7 = !{!"peer_handler_args", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_4__", !11, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_3__", !8, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!19, !20, i64 0} !19 = !{!"p2p_peer_info", !20, i64 0} !20 = !{!"long", !9, i64 0}
freebsd_contrib_wpa_wpa_supplicant_dbus_extr_dbus_new_handlers_p2p.c_wpas_dbus_getter_p2p_peer_primary_device_type
; ModuleID = 'AnghaBench/sqlcipher/src/extr_btree.c_checkRef.c' source_filename = "AnghaBench/sqlcipher/src/extr_btree.c_checkRef.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"invalid page number %d\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"2nd reference to page %d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @checkRef], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @checkRef(ptr noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp slt i64 %3, %1 %5 = icmp eq i64 %1, 0 %6 = or i1 %5, %4 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %1) #2 br label %16 9: ; preds = %2 %10 = tail call i64 @getPageReferenced(ptr noundef nonnull %0, i64 noundef %1) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %9 %13 = tail call i32 @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %1) #2 br label %16 14: ; preds = %9 %15 = tail call i32 @setPageReferenced(ptr noundef nonnull %0, i64 noundef %1) #2 br label %16 16: ; preds = %14, %12, %7 %17 = phi i32 [ 1, %7 ], [ 1, %12 ], [ 0, %14 ] ret i32 %17 } declare i32 @checkAppendMsg(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @getPageReferenced(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @setPageReferenced(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/sqlcipher/src/extr_btree.c_checkRef.c' source_filename = "AnghaBench/sqlcipher/src/extr_btree.c_checkRef.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 [23 x i8] c"invalid page number %d\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"2nd reference to page %d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @checkRef], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @checkRef(ptr noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp slt i64 %3, %1 %5 = icmp eq i64 %1, 0 %6 = or i1 %5, %4 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %1) #2 br label %16 9: ; preds = %2 %10 = tail call i64 @getPageReferenced(ptr noundef nonnull %0, i64 noundef %1) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %9 %13 = tail call i32 @checkAppendMsg(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %1) #2 br label %16 14: ; preds = %9 %15 = tail call i32 @setPageReferenced(ptr noundef nonnull %0, i64 noundef %1) #2 br label %16 16: ; preds = %14, %12, %7 %17 = phi i32 [ 1, %7 ], [ 1, %12 ], [ 0, %14 ] ret i32 %17 } declare i32 @checkAppendMsg(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @getPageReferenced(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @setPageReferenced(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
sqlcipher_src_extr_btree.c_checkRef
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_action.c_get_root_key.c' source_filename = "AnghaBench/reactos/dll/win32/msi/extr_action.c_get_root_key.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" @szAllUsers = dso_local local_unnamed_addr global i32 0, align 4 @HKEY_LOCAL_MACHINE = dso_local local_unnamed_addr global i32 0, align 4 @szHLM = dso_local local_unnamed_addr global ptr null, align 8 @HKEY_CURRENT_USER = dso_local local_unnamed_addr global i32 0, align 4 @szHCU = dso_local local_unnamed_addr global ptr null, align 8 @HKEY_CLASSES_ROOT = dso_local local_unnamed_addr global i32 0, align 4 @szHCR = dso_local local_unnamed_addr global ptr null, align 8 @HKEY_USERS = dso_local local_unnamed_addr global i32 0, align 4 @szHU = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c"Unknown root %i\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_root_key], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @get_root_key(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { switch i32 %1, label %14 [ i32 -1, label %4 i32 0, label %16 i32 1, label %11 i32 2, label %12 i32 3, label %13 ] 4: ; preds = %3 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = load i32, ptr @szAllUsers, align 4, !tbaa !10 %7 = tail call i32 @msi_get_property_int(i32 noundef %5, i32 noundef %6, i32 noundef 0) #2 %8 = icmp eq i32 %7, 0 %9 = select i1 %8, ptr @HKEY_CURRENT_USER, ptr @HKEY_LOCAL_MACHINE %10 = select i1 %8, ptr @szHCU, ptr @szHLM br label %16 11: ; preds = %3 br label %16 12: ; preds = %3 br label %16 13: ; preds = %3 br label %16 14: ; preds = %3 %15 = tail call i32 @ERR(ptr noundef nonnull @.str, i32 noundef %1) #2 br label %21 16: ; preds = %3, %4, %13, %12, %11 %17 = phi ptr [ @HKEY_USERS, %13 ], [ @HKEY_LOCAL_MACHINE, %12 ], [ @HKEY_CURRENT_USER, %11 ], [ %9, %4 ], [ @HKEY_CLASSES_ROOT, %3 ] %18 = phi ptr [ @szHU, %13 ], [ @szHLM, %12 ], [ @szHCU, %11 ], [ %10, %4 ], [ @szHCR, %3 ] %19 = load i32, ptr %17, align 4, !tbaa !10 store i32 %19, ptr %2, align 4, !tbaa !10 %20 = load ptr, ptr %18, align 8, !tbaa !11 br label %21 21: ; preds = %16, %14 %22 = phi ptr [ null, %14 ], [ %20, %16 ] ret ptr %22 } declare i32 @msi_get_property_int(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !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}
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_action.c_get_root_key.c' source_filename = "AnghaBench/reactos/dll/win32/msi/extr_action.c_get_root_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @szAllUsers = common local_unnamed_addr global i32 0, align 4 @HKEY_LOCAL_MACHINE = common local_unnamed_addr global i32 0, align 4 @szHLM = common local_unnamed_addr global ptr null, align 8 @HKEY_CURRENT_USER = common local_unnamed_addr global i32 0, align 4 @szHCU = common local_unnamed_addr global ptr null, align 8 @HKEY_CLASSES_ROOT = common local_unnamed_addr global i32 0, align 4 @szHCR = common local_unnamed_addr global ptr null, align 8 @HKEY_USERS = common local_unnamed_addr global i32 0, align 4 @szHU = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c"Unknown root %i\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @get_root_key], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @get_root_key(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { switch i32 %1, label %14 [ i32 -1, label %4 i32 0, label %16 i32 1, label %11 i32 2, label %12 i32 3, label %13 ] 4: ; preds = %3 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = load i32, ptr @szAllUsers, align 4, !tbaa !11 %7 = tail call i32 @msi_get_property_int(i32 noundef %5, i32 noundef %6, i32 noundef 0) #2 %8 = icmp eq i32 %7, 0 %9 = select i1 %8, ptr @HKEY_CURRENT_USER, ptr @HKEY_LOCAL_MACHINE %10 = select i1 %8, ptr @szHCU, ptr @szHLM br label %16 11: ; preds = %3 br label %16 12: ; preds = %3 br label %16 13: ; preds = %3 br label %16 14: ; preds = %3 %15 = tail call i32 @ERR(ptr noundef nonnull @.str, i32 noundef %1) #2 br label %21 16: ; preds = %3, %4, %13, %12, %11 %17 = phi ptr [ @HKEY_USERS, %13 ], [ @HKEY_LOCAL_MACHINE, %12 ], [ @HKEY_CURRENT_USER, %11 ], [ %9, %4 ], [ @HKEY_CLASSES_ROOT, %3 ] %18 = phi ptr [ @szHU, %13 ], [ @szHLM, %12 ], [ @szHCU, %11 ], [ %10, %4 ], [ @szHCR, %3 ] %19 = load i32, ptr %17, align 4, !tbaa !11 store i32 %19, ptr %2, align 4, !tbaa !11 %20 = load ptr, ptr %18, align 8, !tbaa !12 br label %21 21: ; preds = %16, %14 %22 = phi ptr [ null, %14 ], [ %20, %16 ] ret ptr %22 } declare i32 @msi_get_property_int(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !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}
reactos_dll_win32_msi_extr_action.c_get_root_key
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_parse_common_pc.c' source_filename = "AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_parse_common_pc.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.pevent = type { i32, i32 } @.str = private unnamed_addr constant [21 x i8] c"common_preempt_count\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_common_pc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @parse_common_pc(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.pevent, ptr %0, i64 0, i32 1 %4 = tail call i32 @__parse_common(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef %0, ptr noundef nonnull @.str) #2 ret i32 %4 } declare i32 @__parse_common(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_parse_common_pc.c' source_filename = "AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_parse_common_pc.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 [21 x i8] c"common_preempt_count\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @parse_common_pc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @parse_common_pc(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = tail call i32 @__parse_common(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef %0, ptr noundef nonnull @.str) #2 ret i32 %4 } declare i32 @__parse_common(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_tools_lib_traceevent_extr_event-parse.c_parse_common_pc
; ModuleID = 'AnghaBench/freebsd/sys/dev/imcsmb/extr_imcsmb.c_imcsmb_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/imcsmb/extr_imcsmb.c_imcsmb_detach.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 @imcsmb_detach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @imcsmb_detach(i32 noundef %0) #0 { %2 = tail call i32 @bus_generic_detach(i32 noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @device_delete_children(i32 noundef %0) #2 br label %6 6: ; preds = %4, %1 %7 = phi i32 [ %5, %4 ], [ %2, %1 ] ret i32 %7 } declare i32 @bus_generic_detach(i32 noundef) local_unnamed_addr #1 declare i32 @device_delete_children(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/freebsd/sys/dev/imcsmb/extr_imcsmb.c_imcsmb_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/imcsmb/extr_imcsmb.c_imcsmb_detach.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 @imcsmb_detach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @imcsmb_detach(i32 noundef %0) #0 { %2 = tail call i32 @bus_generic_detach(i32 noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @device_delete_children(i32 noundef %0) #2 br label %6 6: ; preds = %4, %1 %7 = phi i32 [ %5, %4 ], [ %2, %1 ] ret i32 %7 } declare i32 @bus_generic_detach(i32 noundef) local_unnamed_addr #1 declare i32 @device_delete_children(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)"}
freebsd_sys_dev_imcsmb_extr_imcsmb.c_imcsmb_detach
; ModuleID = 'AnghaBench/linux/drivers/dma/sh/extr_..dmaengine.h_dmaengine_desc_callback_invoke.c' source_filename = "AnghaBench/linux/drivers/dma/sh/extr_..dmaengine.h_dmaengine_desc_callback_invoke.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.dmaengine_result = type { i32, i32 } %struct.dmaengine_desc_callback = type { i32, ptr, ptr } @DMA_TRANS_NOERROR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dmaengine_desc_callback_invoke], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @dmaengine_desc_callback_invoke(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca %struct.dmaengine_result, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #2 store i32 0, ptr %3, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.dmaengine_result, ptr %3, i64 0, i32 1 %5 = load i32, ptr @DMA_TRANS_NOERROR, align 4, !tbaa !10 store i32 %5, ptr %4, align 4, !tbaa !11 %6 = getelementptr inbounds %struct.dmaengine_desc_callback, ptr %0, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = icmp eq ptr %7, null br i1 %8, label %14, label %9 9: ; preds = %2 %10 = icmp eq ptr %1, null %11 = select i1 %10, ptr %3, ptr %1 %12 = load i32, ptr %0, align 8, !tbaa !15 %13 = call i32 %7(i32 noundef %12, ptr noundef nonnull %11) #2 br label %21 14: ; preds = %2 %15 = getelementptr inbounds %struct.dmaengine_desc_callback, ptr %0, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !16 %17 = icmp eq ptr %16, null br i1 %17, label %21, label %18 18: ; preds = %14 %19 = load i32, ptr %0, align 8, !tbaa !15 %20 = tail call i32 %16(i32 noundef %19) #2 br label %21 21: ; preds = %14, %18, %9 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #2 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { 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 = !{!"dmaengine_result", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!13, !14, i64 16} !13 = !{!"dmaengine_desc_callback", !7, i64 0, !14, i64 8, !14, i64 16} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !7, i64 0} !16 = !{!13, !14, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/dma/sh/extr_..dmaengine.h_dmaengine_desc_callback_invoke.c' source_filename = "AnghaBench/linux/drivers/dma/sh/extr_..dmaengine.h_dmaengine_desc_callback_invoke.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.dmaengine_result = type { i32, i32 } @DMA_TRANS_NOERROR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dmaengine_desc_callback_invoke], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @dmaengine_desc_callback_invoke(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca %struct.dmaengine_result, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #2 store i32 0, ptr %3, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 4 %5 = load i32, ptr @DMA_TRANS_NOERROR, align 4, !tbaa !11 store i32 %5, ptr %4, align 4, !tbaa !12 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = icmp eq ptr %7, null br i1 %8, label %14, label %9 9: ; preds = %2 %10 = icmp eq ptr %1, null %11 = select i1 %10, ptr %3, ptr %1 %12 = load i32, ptr %0, align 8, !tbaa !16 %13 = call i32 %7(i32 noundef %12, ptr noundef nonnull %11) #2 br label %21 14: ; preds = %2 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !17 %17 = icmp eq ptr %16, null br i1 %17, label %21, label %18 18: ; preds = %14 %19 = load i32, ptr %0, align 8, !tbaa !16 %20 = tail call i32 %16(i32 noundef %19) #2 br label %21 21: ; preds = %14, %18, %9 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #2 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { 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 = !{!"dmaengine_result", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!14, !15, i64 16} !14 = !{!"dmaengine_desc_callback", !8, i64 0, !15, i64 8, !15, i64 16} !15 = !{!"any pointer", !9, i64 0} !16 = !{!14, !8, i64 0} !17 = !{!14, !15, i64 8}
linux_drivers_dma_sh_extr_..dmaengine.h_dmaengine_desc_callback_invoke
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.c_nfp_app_port_get_stats_count.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.c_nfp_app_port_get_stats_count.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @nfp_app_port_get_stats_count(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %3 %7 = load ptr, ptr %4, align 8, !tbaa !10 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %6 %11 = tail call i32 %8(ptr noundef nonnull %4, ptr noundef nonnull %0) #1 br label %12 12: ; preds = %1, %3, %6, %10 %13 = phi i32 [ %11, %10 ], [ 0, %6 ], [ 0, %3 ], [ 0, %1 ] ret i32 %13 } 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 = !{!"nfp_port", !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/netronome/nfp/extr_nfp_app.c_nfp_app_port_get_stats_count.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_app.c_nfp_app_port_get_stats_count.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 i32 @nfp_app_port_get_stats_count(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %12, label %6 6: ; preds = %3 %7 = load ptr, ptr %4, align 8, !tbaa !11 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %6 %11 = tail call i32 %8(ptr noundef nonnull %4, ptr noundef nonnull %0) #1 br label %12 12: ; preds = %1, %3, %6, %10 %13 = phi i32 [ %11, %10 ], [ 0, %6 ], [ 0, %3 ], [ 0, %1 ] ret i32 %13 } 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 = !{!"nfp_port", !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_netronome_nfp_extr_nfp_app.c_nfp_app_port_get_stats_count
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/gfs2/extr_log.c_gfs2_remove_from_ail.c' source_filename = "AnghaBench/fastsocket/kernel/fs/gfs2/extr_log.c_gfs2_remove_from_ail.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.gfs2_bufdata = type { i32, ptr, i32, i32, ptr } ; Function Attrs: nounwind uwtable define dso_local void @gfs2_remove_from_ail(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.gfs2_bufdata, ptr %0, i64 0, i32 4 store ptr null, ptr %2, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.gfs2_bufdata, ptr %0, i64 0, i32 3 %4 = tail call i32 @list_del_init(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds %struct.gfs2_bufdata, ptr %0, i64 0, i32 2 %6 = tail call i32 @list_del_init(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.gfs2_bufdata, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = tail call i32 @atomic_dec(ptr noundef %8) #2 %10 = load i32, ptr %0, align 8, !tbaa !12 %11 = tail call i32 @brelse(i32 noundef %10) #2 ret void } declare i32 @list_del_init(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 declare i32 @brelse(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 24} !6 = !{!"gfs2_bufdata", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !10, 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, !10, i64 8} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/gfs2/extr_log.c_gfs2_remove_from_ail.c' source_filename = "AnghaBench/fastsocket/kernel/fs/gfs2/extr_log.c_gfs2_remove_from_ail.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 @gfs2_remove_from_ail(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 store ptr null, ptr %2, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 20 %4 = tail call i32 @list_del_init(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = tail call i32 @list_del_init(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = tail call i32 @atomic_dec(ptr noundef %8) #2 %10 = load i32, ptr %0, align 8, !tbaa !13 %11 = tail call i32 @brelse(i32 noundef %10) #2 ret void } declare i32 @list_del_init(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 declare i32 @brelse(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 24} !7 = !{!"gfs2_bufdata", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !11, 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, !11, i64 8} !13 = !{!7, !8, i64 0}
fastsocket_kernel_fs_gfs2_extr_log.c_gfs2_remove_from_ail
; ModuleID = 'AnghaBench/freebsd/usr.sbin/lpr/common_source/extr_printcap.c_getprintcap_int.c' source_filename = "AnghaBench/freebsd/usr.sbin/lpr/common_source/extr_printcap.c_getprintcap_int.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.printer = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr } @PCAPERR_OSERR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"af\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"acct.file\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"br\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"tty.rate\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"ct\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"remote.timeout\00", align 1 @DEFTIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [3 x i8] c"du\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"daemon.user\00", align 1 @DEFUID = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [3 x i8] c"ff\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"job.formfeed\00", align 1 @DEFFF = dso_local local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [3 x i8] c"lf\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"spool.log\00", align 1 @_PATH_CONSOLE = dso_local local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [3 x i8] c"lo\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"spool.lock\00", align 1 @DEFLOCK = dso_local local_unnamed_addr global i32 0, align 4 @.str.14 = private unnamed_addr constant [3 x i8] c"lp\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"tty.device\00", align 1 @_PATH_DEFDEVLP = dso_local local_unnamed_addr global i32 0, align 4 @.str.16 = private unnamed_addr constant [3 x i8] c"mc\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"max.copies\00", align 1 @DEFMAXCOPIES = dso_local local_unnamed_addr global i32 0, align 4 @.str.18 = private unnamed_addr constant [3 x i8] c"ms\00", align 1 @.str.19 = private unnamed_addr constant [9 x i8] c"tty.mode\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"mx\00", align 1 @.str.21 = private unnamed_addr constant [11 x i8] c"max.blocks\00", align 1 @DEFMX = dso_local local_unnamed_addr global i32 0, align 4 @.str.22 = private unnamed_addr constant [3 x i8] c"pc\00", align 1 @.str.23 = private unnamed_addr constant [11 x i8] c"acct.price\00", align 1 @.str.24 = private unnamed_addr constant [3 x i8] c"pl\00", align 1 @.str.25 = private unnamed_addr constant [12 x i8] c"page.length\00", align 1 @DEFLENGTH = dso_local local_unnamed_addr global i32 0, align 4 @.str.26 = private unnamed_addr constant [3 x i8] c"pw\00", align 1 @.str.27 = private unnamed_addr constant [11 x i8] c"page.width\00", align 1 @DEFWIDTH = dso_local local_unnamed_addr global i32 0, align 4 @.str.28 = private unnamed_addr constant [3 x i8] c"px\00", align 1 @.str.29 = private unnamed_addr constant [12 x i8] c"page.pwidth\00", align 1 @.str.30 = private unnamed_addr constant [3 x i8] c"py\00", align 1 @.str.31 = private unnamed_addr constant [13 x i8] c"page.plength\00", align 1 @.str.32 = private unnamed_addr constant [3 x i8] c"rg\00", align 1 @.str.33 = private unnamed_addr constant [19 x i8] c"daemon.restrictgrp\00", align 1 @.str.34 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.35 = private unnamed_addr constant [12 x i8] c"remote.host\00", align 1 @.str.36 = private unnamed_addr constant [3 x i8] c"rp\00", align 1 @.str.37 = private unnamed_addr constant [13 x i8] c"remote.queue\00", align 1 @DEFLP = dso_local local_unnamed_addr global i32 0, align 4 @.str.38 = private unnamed_addr constant [3 x i8] c"sd\00", align 1 @.str.39 = private unnamed_addr constant [10 x i8] c"spool.dir\00", align 1 @_PATH_DEFSPOOL = dso_local local_unnamed_addr global i32 0, align 4 @.str.40 = private unnamed_addr constant [3 x i8] c"sr\00", align 1 @.str.41 = private unnamed_addr constant [10 x i8] c"stat.recv\00", align 1 @.str.42 = private unnamed_addr constant [3 x i8] c"ss\00", align 1 @.str.43 = private unnamed_addr constant [10 x i8] c"stat.send\00", align 1 @.str.44 = private unnamed_addr constant [3 x i8] c"st\00", align 1 @.str.45 = private unnamed_addr constant [13 x i8] c"spool.status\00", align 1 @DEFSTAT = dso_local local_unnamed_addr global i32 0, align 4 @.str.46 = private unnamed_addr constant [3 x i8] c"tr\00", align 1 @.str.47 = private unnamed_addr constant [12 x i8] c"job.trailer\00", align 1 @.str.48 = private unnamed_addr constant [3 x i8] c"rc\00", align 1 @.str.49 = private unnamed_addr constant [21 x i8] c"remote.resend_copies\00", align 1 @.str.50 = private unnamed_addr constant [3 x i8] c"rs\00", align 1 @.str.51 = private unnamed_addr constant [18 x i8] c"daemon.restricted\00", align 1 @.str.52 = private unnamed_addr constant [3 x i8] c"sb\00", align 1 @.str.53 = private unnamed_addr constant [13 x i8] c"banner.short\00", align 1 @.str.54 = private unnamed_addr constant [3 x i8] c"sc\00", align 1 @.str.55 = private unnamed_addr constant [14 x i8] c"job.no_copies\00", align 1 @.str.56 = private unnamed_addr constant [3 x i8] c"sf\00", align 1 @.str.57 = private unnamed_addr constant [16 x i8] c"job.no_formfeed\00", align 1 @.str.58 = private unnamed_addr constant [3 x i8] c"sh\00", align 1 @.str.59 = private unnamed_addr constant [15 x i8] c"banner.disable\00", align 1 @.str.60 = private unnamed_addr constant [3 x i8] c"hl\00", align 1 @.str.61 = private unnamed_addr constant [12 x i8] c"banner.last\00", align 1 @.str.62 = private unnamed_addr constant [3 x i8] c"rw\00", align 1 @.str.63 = private unnamed_addr constant [7 x i8] c"tty.rw\00", align 1 @.str.64 = private unnamed_addr constant [3 x i8] c"fo\00", align 1 @.str.65 = private unnamed_addr constant [14 x i8] c"job.topofform\00", align 1 @PCAPERR_NOTFOUND = dso_local local_unnamed_addr global i32 0, align 4 @LPF_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @filters = dso_local local_unnamed_addr global ptr null, align 8 @longfilters = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @getprintcap_int], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @getprintcap_int(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = tail call ptr @capdb_canonical_name(ptr noundef %0) #3 %5 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 35 store ptr %4, ptr %5, align 8, !tbaa !5 %6 = icmp eq ptr %4, null br i1 %6, label %7, label %9 7: ; preds = %2 %8 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 br label %202 9: ; preds = %2 %10 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef nonnull %1) #3 %11 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %12 = icmp eq i32 %10, %11 br i1 %12, label %202, label %13 13: ; preds = %9 %14 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 34 %15 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 0, ptr noundef nonnull %14) #3 %16 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %17 = icmp eq i32 %15, %16 br i1 %17, label %202, label %18 18: ; preds = %13 %19 = load i32, ptr @DEFTIMEOUT, align 4, !tbaa !11 %20 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 33 %21 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, i32 noundef %19, ptr noundef nonnull %20) #3 %22 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %23 = icmp eq i32 %21, %22 br i1 %23, label %202, label %24 24: ; preds = %18 %25 = load i32, ptr @DEFUID, align 4, !tbaa !11 %26 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 32 %27 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, i32 noundef %25, ptr noundef nonnull %26) #3 %28 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %29 = icmp eq i32 %27, %28 br i1 %29, label %202, label %30 30: ; preds = %24 %31 = load i32, ptr @DEFFF, align 4, !tbaa !11 %32 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 1 %33 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, i32 noundef %31, ptr noundef nonnull %32) #3 %34 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %35 = icmp eq i32 %33, %34 br i1 %35, label %202, label %36 36: ; preds = %30 %37 = load i32, ptr @_PATH_CONSOLE, align 4, !tbaa !11 %38 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 2 %39 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, i32 noundef %37, ptr noundef nonnull %38) #3 %40 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %41 = icmp eq i32 %39, %40 br i1 %41, label %202, label %42 42: ; preds = %36 %43 = load i32, ptr @DEFLOCK, align 4, !tbaa !11 %44 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 3 %45 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13, i32 noundef %43, ptr noundef nonnull %44) #3 %46 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %47 = icmp eq i32 %45, %46 br i1 %47, label %202, label %48 48: ; preds = %42 %49 = load i32, ptr @_PATH_DEFDEVLP, align 4, !tbaa !11 %50 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 4 %51 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.15, i32 noundef %49, ptr noundef nonnull %50) #3 %52 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %53 = icmp eq i32 %51, %52 br i1 %53, label %202, label %54 54: ; preds = %48 %55 = load i32, ptr @DEFMAXCOPIES, align 4, !tbaa !11 %56 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 31 %57 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17, i32 noundef %55, ptr noundef nonnull %56) #3 %58 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %59 = icmp eq i32 %57, %58 br i1 %59, label %202, label %60 60: ; preds = %54 %61 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 5 %62 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.19, i32 noundef 0, ptr noundef nonnull %61) #3 %63 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %64 = icmp eq i32 %62, %63 br i1 %64, label %202, label %65 65: ; preds = %60 %66 = load i32, ptr @DEFMX, align 4, !tbaa !11 %67 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 30 %68 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21, i32 noundef %66, ptr noundef nonnull %67) #3 %69 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %70 = icmp eq i32 %68, %69 br i1 %70, label %202, label %71 71: ; preds = %65 %72 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 29 %73 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.23, i32 noundef 0, ptr noundef nonnull %72) #3 %74 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %75 = icmp eq i32 %73, %74 br i1 %75, label %202, label %76 76: ; preds = %71 %77 = load i32, ptr @DEFLENGTH, align 4, !tbaa !11 %78 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 28 %79 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.25, i32 noundef %77, ptr noundef nonnull %78) #3 %80 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %81 = icmp eq i32 %79, %80 br i1 %81, label %202, label %82 82: ; preds = %76 %83 = load i32, ptr @DEFWIDTH, align 4, !tbaa !11 %84 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 27 %85 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.27, i32 noundef %83, ptr noundef nonnull %84) #3 %86 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %87 = icmp eq i32 %85, %86 br i1 %87, label %202, label %88 88: ; preds = %82 %89 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 26 %90 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.29, i32 noundef 0, ptr noundef nonnull %89) #3 %91 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %92 = icmp eq i32 %90, %91 br i1 %92, label %202, label %93 93: ; preds = %88 %94 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 25 %95 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.31, i32 noundef 0, ptr noundef nonnull %94) #3 %96 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %97 = icmp eq i32 %95, %96 br i1 %97, label %202, label %98 98: ; preds = %93 %99 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 6 %100 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.33, i32 noundef 0, ptr noundef nonnull %99) #3 %101 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %102 = icmp eq i32 %100, %101 br i1 %102, label %202, label %103 103: ; preds = %98 %104 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 7 %105 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.35, i32 noundef 0, ptr noundef nonnull %104) #3 %106 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %107 = icmp eq i32 %105, %106 br i1 %107, label %202, label %108 108: ; preds = %103 %109 = load i32, ptr @DEFLP, align 4, !tbaa !11 %110 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 8 %111 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.37, i32 noundef %109, ptr noundef nonnull %110) #3 %112 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %113 = icmp eq i32 %111, %112 br i1 %113, label %202, label %114 114: ; preds = %108 %115 = load i32, ptr @_PATH_DEFSPOOL, align 4, !tbaa !11 %116 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 9 %117 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.39, i32 noundef %115, ptr noundef nonnull %116) #3 %118 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %119 = icmp eq i32 %117, %118 br i1 %119, label %202, label %120 120: ; preds = %114 %121 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 10 %122 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.41, i32 noundef 0, ptr noundef nonnull %121) #3 %123 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %124 = icmp eq i32 %122, %123 br i1 %124, label %202, label %125 125: ; preds = %120 %126 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 11 %127 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.43, i32 noundef 0, ptr noundef nonnull %126) #3 %128 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %129 = icmp eq i32 %127, %128 br i1 %129, label %202, label %130 130: ; preds = %125 %131 = load i32, ptr @DEFSTAT, align 4, !tbaa !11 %132 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 12 %133 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.45, i32 noundef %131, ptr noundef nonnull %132) #3 %134 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %135 = icmp eq i32 %133, %134 br i1 %135, label %202, label %136 136: ; preds = %130 %137 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 13 %138 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.47, i32 noundef 0, ptr noundef nonnull %137) #3 %139 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %140 = icmp eq i32 %138, %139 br i1 %140, label %202, label %141 141: ; preds = %136 %142 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.49) #3 %143 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 24 store ptr %142, ptr %143, align 8, !tbaa !12 %144 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.51) #3 %145 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 23 store ptr %144, ptr %145, align 8, !tbaa !13 %146 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.53) #3 %147 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 22 store ptr %146, ptr %147, align 8, !tbaa !14 %148 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.55) #3 %149 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 21 store ptr %148, ptr %149, align 8, !tbaa !15 %150 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.56, ptr noundef nonnull @.str.57) #3 %151 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 20 store ptr %150, ptr %151, align 8, !tbaa !16 %152 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.59) #3 %153 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 19 store ptr %152, ptr %153, align 8, !tbaa !17 %154 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.61) #3 %155 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 18 store ptr %154, ptr %155, align 8, !tbaa !18 %156 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.63) #3 %157 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 17 store ptr %156, ptr %157, align 8, !tbaa !19 %158 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.64, ptr noundef nonnull @.str.65) #3 %159 = icmp eq ptr %158, null %160 = zext i1 %159 to i32 %161 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 14 store i32 %160, ptr %161, align 8, !tbaa !20 %162 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 15 store i32 1, ptr %162, align 4, !tbaa !21 %163 = call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.37, i32 noundef 0, ptr noundef nonnull %3) #3 %164 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %165 = icmp eq i32 %163, %164 br i1 %165, label %202, label %166 166: ; preds = %141 %167 = load i32, ptr @PCAPERR_NOTFOUND, align 4, !tbaa !11 %168 = icmp ne i32 %163, %167 %169 = load ptr, ptr %3, align 8 %170 = icmp ne ptr %169, null %171 = select i1 %168, i1 %170, i1 false br i1 %171, label %172, label %179 172: ; preds = %166 %173 = call i64 @cgetmatch(ptr noundef %0, ptr noundef nonnull %169) #3 %174 = icmp eq i64 %173, 0 br i1 %174, label %176, label %175 175: ; preds = %172 store i32 0, ptr %162, align 4, !tbaa !21 br label %176 176: ; preds = %175, %172 %177 = load ptr, ptr %3, align 8, !tbaa !22 %178 = call i32 @free(ptr noundef %177) #3 br label %179 179: ; preds = %176, %166 %180 = load i32, ptr @LPF_COUNT, align 4, !tbaa !11 %181 = icmp eq i32 %180, 0 br i1 %181, label %202, label %182 182: ; preds = %179 %183 = getelementptr inbounds %struct.printer, ptr %1, i64 0, i32 16 br label %189 184: ; preds = %189 %185 = add nuw nsw i64 %190, 1 %186 = load i32, ptr @LPF_COUNT, align 4, !tbaa !11 %187 = zext i32 %186 to i64 %188 = icmp ult i64 %185, %187 br i1 %188, label %189, label %202, !llvm.loop !23 189: ; preds = %182, %184 %190 = phi i64 [ 0, %182 ], [ %185, %184 ] %191 = load ptr, ptr @filters, align 8, !tbaa !22 %192 = getelementptr inbounds ptr, ptr %191, i64 %190 %193 = load ptr, ptr %192, align 8, !tbaa !22 %194 = load ptr, ptr @longfilters, align 8, !tbaa !22 %195 = getelementptr inbounds ptr, ptr %194, i64 %190 %196 = load ptr, ptr %195, align 8, !tbaa !22 %197 = load ptr, ptr %183, align 8, !tbaa !25 %198 = getelementptr inbounds ptr, ptr %197, i64 %190 %199 = call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef %193, ptr noundef %196, i32 noundef 0, ptr noundef %198) #3 %200 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !11 %201 = icmp eq i32 %199, %200 br i1 %201, label %202, label %184 202: ; preds = %189, %184, %179, %141, %136, %130, %125, %120, %114, %108, %103, %98, %93, %88, %82, %76, %71, %65, %60, %54, %48, %42, %36, %30, %24, %18, %13, %9, %7 %203 = phi i32 [ %8, %7 ], [ %10, %9 ], [ %15, %13 ], [ %21, %18 ], [ %27, %24 ], [ %33, %30 ], [ %39, %36 ], [ %45, %42 ], [ %51, %48 ], [ %57, %54 ], [ %62, %60 ], [ %68, %65 ], [ %73, %71 ], [ %79, %76 ], [ %85, %82 ], [ %90, %88 ], [ %95, %93 ], [ %100, %98 ], [ %105, %103 ], [ %111, %108 ], [ %117, %114 ], [ %122, %120 ], [ %127, %125 ], [ %133, %130 ], [ %138, %136 ], [ %163, %141 ], [ 0, %179 ], [ %199, %189 ], [ 0, %184 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %203 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @capdb_canonical_name(ptr noundef) local_unnamed_addr #2 declare i32 @capdb_getaltstr(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @capdb_getaltnum(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @capdb_getaltlog(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @cgetmatch(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 232} !6 = !{!"printer", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !10, i64 112, !10, i64 116, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !7, i64 232} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !7, i64 184} !13 = !{!6, !7, i64 176} !14 = !{!6, !7, i64 168} !15 = !{!6, !7, i64 160} !16 = !{!6, !7, i64 152} !17 = !{!6, !7, i64 144} !18 = !{!6, !7, i64 136} !19 = !{!6, !7, i64 128} !20 = !{!6, !10, i64 112} !21 = !{!6, !10, i64 116} !22 = !{!7, !7, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!6, !7, i64 120}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/lpr/common_source/extr_printcap.c_getprintcap_int.c' source_filename = "AnghaBench/freebsd/usr.sbin/lpr/common_source/extr_printcap.c_getprintcap_int.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCAPERR_OSERR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"af\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"acct.file\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"br\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"tty.rate\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"ct\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"remote.timeout\00", align 1 @DEFTIMEOUT = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [3 x i8] c"du\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"daemon.user\00", align 1 @DEFUID = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [3 x i8] c"ff\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"job.formfeed\00", align 1 @DEFFF = common local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [3 x i8] c"lf\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"spool.log\00", align 1 @_PATH_CONSOLE = common local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [3 x i8] c"lo\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"spool.lock\00", align 1 @DEFLOCK = common local_unnamed_addr global i32 0, align 4 @.str.14 = private unnamed_addr constant [3 x i8] c"lp\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"tty.device\00", align 1 @_PATH_DEFDEVLP = common local_unnamed_addr global i32 0, align 4 @.str.16 = private unnamed_addr constant [3 x i8] c"mc\00", align 1 @.str.17 = private unnamed_addr constant [11 x i8] c"max.copies\00", align 1 @DEFMAXCOPIES = common local_unnamed_addr global i32 0, align 4 @.str.18 = private unnamed_addr constant [3 x i8] c"ms\00", align 1 @.str.19 = private unnamed_addr constant [9 x i8] c"tty.mode\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"mx\00", align 1 @.str.21 = private unnamed_addr constant [11 x i8] c"max.blocks\00", align 1 @DEFMX = common local_unnamed_addr global i32 0, align 4 @.str.22 = private unnamed_addr constant [3 x i8] c"pc\00", align 1 @.str.23 = private unnamed_addr constant [11 x i8] c"acct.price\00", align 1 @.str.24 = private unnamed_addr constant [3 x i8] c"pl\00", align 1 @.str.25 = private unnamed_addr constant [12 x i8] c"page.length\00", align 1 @DEFLENGTH = common local_unnamed_addr global i32 0, align 4 @.str.26 = private unnamed_addr constant [3 x i8] c"pw\00", align 1 @.str.27 = private unnamed_addr constant [11 x i8] c"page.width\00", align 1 @DEFWIDTH = common local_unnamed_addr global i32 0, align 4 @.str.28 = private unnamed_addr constant [3 x i8] c"px\00", align 1 @.str.29 = private unnamed_addr constant [12 x i8] c"page.pwidth\00", align 1 @.str.30 = private unnamed_addr constant [3 x i8] c"py\00", align 1 @.str.31 = private unnamed_addr constant [13 x i8] c"page.plength\00", align 1 @.str.32 = private unnamed_addr constant [3 x i8] c"rg\00", align 1 @.str.33 = private unnamed_addr constant [19 x i8] c"daemon.restrictgrp\00", align 1 @.str.34 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.35 = private unnamed_addr constant [12 x i8] c"remote.host\00", align 1 @.str.36 = private unnamed_addr constant [3 x i8] c"rp\00", align 1 @.str.37 = private unnamed_addr constant [13 x i8] c"remote.queue\00", align 1 @DEFLP = common local_unnamed_addr global i32 0, align 4 @.str.38 = private unnamed_addr constant [3 x i8] c"sd\00", align 1 @.str.39 = private unnamed_addr constant [10 x i8] c"spool.dir\00", align 1 @_PATH_DEFSPOOL = common local_unnamed_addr global i32 0, align 4 @.str.40 = private unnamed_addr constant [3 x i8] c"sr\00", align 1 @.str.41 = private unnamed_addr constant [10 x i8] c"stat.recv\00", align 1 @.str.42 = private unnamed_addr constant [3 x i8] c"ss\00", align 1 @.str.43 = private unnamed_addr constant [10 x i8] c"stat.send\00", align 1 @.str.44 = private unnamed_addr constant [3 x i8] c"st\00", align 1 @.str.45 = private unnamed_addr constant [13 x i8] c"spool.status\00", align 1 @DEFSTAT = common local_unnamed_addr global i32 0, align 4 @.str.46 = private unnamed_addr constant [3 x i8] c"tr\00", align 1 @.str.47 = private unnamed_addr constant [12 x i8] c"job.trailer\00", align 1 @.str.48 = private unnamed_addr constant [3 x i8] c"rc\00", align 1 @.str.49 = private unnamed_addr constant [21 x i8] c"remote.resend_copies\00", align 1 @.str.50 = private unnamed_addr constant [3 x i8] c"rs\00", align 1 @.str.51 = private unnamed_addr constant [18 x i8] c"daemon.restricted\00", align 1 @.str.52 = private unnamed_addr constant [3 x i8] c"sb\00", align 1 @.str.53 = private unnamed_addr constant [13 x i8] c"banner.short\00", align 1 @.str.54 = private unnamed_addr constant [3 x i8] c"sc\00", align 1 @.str.55 = private unnamed_addr constant [14 x i8] c"job.no_copies\00", align 1 @.str.56 = private unnamed_addr constant [3 x i8] c"sf\00", align 1 @.str.57 = private unnamed_addr constant [16 x i8] c"job.no_formfeed\00", align 1 @.str.58 = private unnamed_addr constant [3 x i8] c"sh\00", align 1 @.str.59 = private unnamed_addr constant [15 x i8] c"banner.disable\00", align 1 @.str.60 = private unnamed_addr constant [3 x i8] c"hl\00", align 1 @.str.61 = private unnamed_addr constant [12 x i8] c"banner.last\00", align 1 @.str.62 = private unnamed_addr constant [3 x i8] c"rw\00", align 1 @.str.63 = private unnamed_addr constant [7 x i8] c"tty.rw\00", align 1 @.str.64 = private unnamed_addr constant [3 x i8] c"fo\00", align 1 @.str.65 = private unnamed_addr constant [14 x i8] c"job.topofform\00", align 1 @PCAPERR_NOTFOUND = common local_unnamed_addr global i32 0, align 4 @LPF_COUNT = common local_unnamed_addr global i32 0, align 4 @filters = common local_unnamed_addr global ptr null, align 8 @longfilters = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @getprintcap_int], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @getprintcap_int(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = tail call ptr @capdb_canonical_name(ptr noundef %0) #3 %5 = getelementptr inbounds i8, ptr %1, i64 232 store ptr %4, ptr %5, align 8, !tbaa !6 %6 = icmp eq ptr %4, null br i1 %6, label %7, label %9 7: ; preds = %2 %8 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 br label %202 9: ; preds = %2 %10 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef nonnull %1) #3 %11 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %12 = icmp eq i32 %10, %11 br i1 %12, label %202, label %13 13: ; preds = %9 %14 = getelementptr inbounds i8, ptr %1, i64 228 %15 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 0, ptr noundef nonnull %14) #3 %16 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %17 = icmp eq i32 %15, %16 br i1 %17, label %202, label %18 18: ; preds = %13 %19 = load i32, ptr @DEFTIMEOUT, align 4, !tbaa !12 %20 = getelementptr inbounds i8, ptr %1, i64 224 %21 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, i32 noundef %19, ptr noundef nonnull %20) #3 %22 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %23 = icmp eq i32 %21, %22 br i1 %23, label %202, label %24 24: ; preds = %18 %25 = load i32, ptr @DEFUID, align 4, !tbaa !12 %26 = getelementptr inbounds i8, ptr %1, i64 220 %27 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, i32 noundef %25, ptr noundef nonnull %26) #3 %28 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %29 = icmp eq i32 %27, %28 br i1 %29, label %202, label %30 30: ; preds = %24 %31 = load i32, ptr @DEFFF, align 4, !tbaa !12 %32 = getelementptr inbounds i8, ptr %1, i64 8 %33 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, i32 noundef %31, ptr noundef nonnull %32) #3 %34 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %35 = icmp eq i32 %33, %34 br i1 %35, label %202, label %36 36: ; preds = %30 %37 = load i32, ptr @_PATH_CONSOLE, align 4, !tbaa !12 %38 = getelementptr inbounds i8, ptr %1, i64 16 %39 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, i32 noundef %37, ptr noundef nonnull %38) #3 %40 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %41 = icmp eq i32 %39, %40 br i1 %41, label %202, label %42 42: ; preds = %36 %43 = load i32, ptr @DEFLOCK, align 4, !tbaa !12 %44 = getelementptr inbounds i8, ptr %1, i64 24 %45 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13, i32 noundef %43, ptr noundef nonnull %44) #3 %46 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %47 = icmp eq i32 %45, %46 br i1 %47, label %202, label %48 48: ; preds = %42 %49 = load i32, ptr @_PATH_DEFDEVLP, align 4, !tbaa !12 %50 = getelementptr inbounds i8, ptr %1, i64 32 %51 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.15, i32 noundef %49, ptr noundef nonnull %50) #3 %52 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %53 = icmp eq i32 %51, %52 br i1 %53, label %202, label %54 54: ; preds = %48 %55 = load i32, ptr @DEFMAXCOPIES, align 4, !tbaa !12 %56 = getelementptr inbounds i8, ptr %1, i64 216 %57 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17, i32 noundef %55, ptr noundef nonnull %56) #3 %58 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %59 = icmp eq i32 %57, %58 br i1 %59, label %202, label %60 60: ; preds = %54 %61 = getelementptr inbounds i8, ptr %1, i64 40 %62 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.19, i32 noundef 0, ptr noundef nonnull %61) #3 %63 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %64 = icmp eq i32 %62, %63 br i1 %64, label %202, label %65 65: ; preds = %60 %66 = load i32, ptr @DEFMX, align 4, !tbaa !12 %67 = getelementptr inbounds i8, ptr %1, i64 212 %68 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21, i32 noundef %66, ptr noundef nonnull %67) #3 %69 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %70 = icmp eq i32 %68, %69 br i1 %70, label %202, label %71 71: ; preds = %65 %72 = getelementptr inbounds i8, ptr %1, i64 208 %73 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.23, i32 noundef 0, ptr noundef nonnull %72) #3 %74 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %75 = icmp eq i32 %73, %74 br i1 %75, label %202, label %76 76: ; preds = %71 %77 = load i32, ptr @DEFLENGTH, align 4, !tbaa !12 %78 = getelementptr inbounds i8, ptr %1, i64 204 %79 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.25, i32 noundef %77, ptr noundef nonnull %78) #3 %80 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %81 = icmp eq i32 %79, %80 br i1 %81, label %202, label %82 82: ; preds = %76 %83 = load i32, ptr @DEFWIDTH, align 4, !tbaa !12 %84 = getelementptr inbounds i8, ptr %1, i64 200 %85 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.27, i32 noundef %83, ptr noundef nonnull %84) #3 %86 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %87 = icmp eq i32 %85, %86 br i1 %87, label %202, label %88 88: ; preds = %82 %89 = getelementptr inbounds i8, ptr %1, i64 196 %90 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.29, i32 noundef 0, ptr noundef nonnull %89) #3 %91 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %92 = icmp eq i32 %90, %91 br i1 %92, label %202, label %93 93: ; preds = %88 %94 = getelementptr inbounds i8, ptr %1, i64 192 %95 = tail call i32 @capdb_getaltnum(ptr noundef %0, ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.31, i32 noundef 0, ptr noundef nonnull %94) #3 %96 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %97 = icmp eq i32 %95, %96 br i1 %97, label %202, label %98 98: ; preds = %93 %99 = getelementptr inbounds i8, ptr %1, i64 48 %100 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.33, i32 noundef 0, ptr noundef nonnull %99) #3 %101 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %102 = icmp eq i32 %100, %101 br i1 %102, label %202, label %103 103: ; preds = %98 %104 = getelementptr inbounds i8, ptr %1, i64 56 %105 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.35, i32 noundef 0, ptr noundef nonnull %104) #3 %106 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %107 = icmp eq i32 %105, %106 br i1 %107, label %202, label %108 108: ; preds = %103 %109 = load i32, ptr @DEFLP, align 4, !tbaa !12 %110 = getelementptr inbounds i8, ptr %1, i64 64 %111 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.37, i32 noundef %109, ptr noundef nonnull %110) #3 %112 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %113 = icmp eq i32 %111, %112 br i1 %113, label %202, label %114 114: ; preds = %108 %115 = load i32, ptr @_PATH_DEFSPOOL, align 4, !tbaa !12 %116 = getelementptr inbounds i8, ptr %1, i64 72 %117 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.38, ptr noundef nonnull @.str.39, i32 noundef %115, ptr noundef nonnull %116) #3 %118 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %119 = icmp eq i32 %117, %118 br i1 %119, label %202, label %120 120: ; preds = %114 %121 = getelementptr inbounds i8, ptr %1, i64 80 %122 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.40, ptr noundef nonnull @.str.41, i32 noundef 0, ptr noundef nonnull %121) #3 %123 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %124 = icmp eq i32 %122, %123 br i1 %124, label %202, label %125 125: ; preds = %120 %126 = getelementptr inbounds i8, ptr %1, i64 88 %127 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.42, ptr noundef nonnull @.str.43, i32 noundef 0, ptr noundef nonnull %126) #3 %128 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %129 = icmp eq i32 %127, %128 br i1 %129, label %202, label %130 130: ; preds = %125 %131 = load i32, ptr @DEFSTAT, align 4, !tbaa !12 %132 = getelementptr inbounds i8, ptr %1, i64 96 %133 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.45, i32 noundef %131, ptr noundef nonnull %132) #3 %134 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %135 = icmp eq i32 %133, %134 br i1 %135, label %202, label %136 136: ; preds = %130 %137 = getelementptr inbounds i8, ptr %1, i64 104 %138 = tail call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.47, i32 noundef 0, ptr noundef nonnull %137) #3 %139 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %140 = icmp eq i32 %138, %139 br i1 %140, label %202, label %141 141: ; preds = %136 %142 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.49) #3 %143 = getelementptr inbounds i8, ptr %1, i64 184 store ptr %142, ptr %143, align 8, !tbaa !13 %144 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.51) #3 %145 = getelementptr inbounds i8, ptr %1, i64 176 store ptr %144, ptr %145, align 8, !tbaa !14 %146 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.53) #3 %147 = getelementptr inbounds i8, ptr %1, i64 168 store ptr %146, ptr %147, align 8, !tbaa !15 %148 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.55) #3 %149 = getelementptr inbounds i8, ptr %1, i64 160 store ptr %148, ptr %149, align 8, !tbaa !16 %150 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.56, ptr noundef nonnull @.str.57) #3 %151 = getelementptr inbounds i8, ptr %1, i64 152 store ptr %150, ptr %151, align 8, !tbaa !17 %152 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.59) #3 %153 = getelementptr inbounds i8, ptr %1, i64 144 store ptr %152, ptr %153, align 8, !tbaa !18 %154 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.61) #3 %155 = getelementptr inbounds i8, ptr %1, i64 136 store ptr %154, ptr %155, align 8, !tbaa !19 %156 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.63) #3 %157 = getelementptr inbounds i8, ptr %1, i64 128 store ptr %156, ptr %157, align 8, !tbaa !20 %158 = tail call ptr @capdb_getaltlog(ptr noundef %0, ptr noundef nonnull @.str.64, ptr noundef nonnull @.str.65) #3 %159 = icmp eq ptr %158, null %160 = zext i1 %159 to i32 %161 = getelementptr inbounds i8, ptr %1, i64 112 store i32 %160, ptr %161, align 8, !tbaa !21 %162 = getelementptr inbounds i8, ptr %1, i64 116 store i32 1, ptr %162, align 4, !tbaa !22 %163 = call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.37, i32 noundef 0, ptr noundef nonnull %3) #3 %164 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %165 = icmp eq i32 %163, %164 br i1 %165, label %202, label %166 166: ; preds = %141 %167 = load i32, ptr @PCAPERR_NOTFOUND, align 4, !tbaa !12 %168 = icmp ne i32 %163, %167 %169 = load ptr, ptr %3, align 8 %170 = icmp ne ptr %169, null %171 = select i1 %168, i1 %170, i1 false br i1 %171, label %172, label %179 172: ; preds = %166 %173 = call i64 @cgetmatch(ptr noundef %0, ptr noundef nonnull %169) #3 %174 = icmp eq i64 %173, 0 br i1 %174, label %176, label %175 175: ; preds = %172 store i32 0, ptr %162, align 4, !tbaa !22 br label %176 176: ; preds = %175, %172 %177 = load ptr, ptr %3, align 8, !tbaa !23 %178 = call i32 @free(ptr noundef %177) #3 br label %179 179: ; preds = %176, %166 %180 = load i32, ptr @LPF_COUNT, align 4, !tbaa !12 %181 = icmp eq i32 %180, 0 br i1 %181, label %202, label %182 182: ; preds = %179 %183 = getelementptr inbounds i8, ptr %1, i64 120 br label %189 184: ; preds = %189 %185 = add nuw nsw i64 %190, 1 %186 = load i32, ptr @LPF_COUNT, align 4, !tbaa !12 %187 = zext i32 %186 to i64 %188 = icmp ult i64 %185, %187 br i1 %188, label %189, label %202, !llvm.loop !24 189: ; preds = %182, %184 %190 = phi i64 [ 0, %182 ], [ %185, %184 ] %191 = load ptr, ptr @filters, align 8, !tbaa !23 %192 = getelementptr inbounds ptr, ptr %191, i64 %190 %193 = load ptr, ptr %192, align 8, !tbaa !23 %194 = load ptr, ptr @longfilters, align 8, !tbaa !23 %195 = getelementptr inbounds ptr, ptr %194, i64 %190 %196 = load ptr, ptr %195, align 8, !tbaa !23 %197 = load ptr, ptr %183, align 8, !tbaa !26 %198 = getelementptr inbounds ptr, ptr %197, i64 %190 %199 = call i32 @capdb_getaltstr(ptr noundef %0, ptr noundef %193, ptr noundef %196, i32 noundef 0, ptr noundef %198) #3 %200 = load i32, ptr @PCAPERR_OSERR, align 4, !tbaa !12 %201 = icmp eq i32 %199, %200 br i1 %201, label %202, label %184 202: ; preds = %189, %184, %179, %141, %136, %130, %125, %120, %114, %108, %103, %98, %93, %88, %82, %76, %71, %65, %60, %54, %48, %42, %36, %30, %24, %18, %13, %9, %7 %203 = phi i32 [ %8, %7 ], [ %10, %9 ], [ %15, %13 ], [ %21, %18 ], [ %27, %24 ], [ %33, %30 ], [ %39, %36 ], [ %45, %42 ], [ %51, %48 ], [ %57, %54 ], [ %62, %60 ], [ %68, %65 ], [ %73, %71 ], [ %79, %76 ], [ %85, %82 ], [ %90, %88 ], [ %95, %93 ], [ %100, %98 ], [ %105, %103 ], [ %111, %108 ], [ %117, %114 ], [ %122, %120 ], [ %127, %125 ], [ %133, %130 ], [ %138, %136 ], [ %163, %141 ], [ 0, %179 ], [ %199, %189 ], [ 0, %184 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %203 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @capdb_canonical_name(ptr noundef) local_unnamed_addr #2 declare i32 @capdb_getaltstr(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @capdb_getaltnum(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @capdb_getaltlog(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @cgetmatch(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 232} !7 = !{!"printer", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !8, i64 96, !8, i64 104, !11, i64 112, !11, i64 116, !8, i64 120, !8, i64 128, !8, i64 136, !8, i64 144, !8, i64 152, !8, i64 160, !8, i64 168, !8, i64 176, !8, i64 184, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !8, i64 232} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 184} !14 = !{!7, !8, i64 176} !15 = !{!7, !8, i64 168} !16 = !{!7, !8, i64 160} !17 = !{!7, !8, i64 152} !18 = !{!7, !8, i64 144} !19 = !{!7, !8, i64 136} !20 = !{!7, !8, i64 128} !21 = !{!7, !11, i64 112} !22 = !{!7, !11, i64 116} !23 = !{!8, !8, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!7, !8, i64 120}
freebsd_usr.sbin_lpr_common_source_extr_printcap.c_getprintcap_int
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/adns/src/extr_check.c_checkc_global.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/adns/src/extr_check.c_checkc_global.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 { i64, i32, i64, i64, i32, i32, i32, i64, %struct.TYPE_11__, i32, ptr } %struct.TYPE_11__ = type { i32 } %struct.TYPE_10__ = type { %struct.TYPE_9__, %struct.TYPE_8__ } %struct.TYPE_9__ = type { i32 } %struct.TYPE_8__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @checkc_global], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @checkc_global(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp sgt i64 %2, -1 %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %27 9: ; preds = %1 %10 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 10 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %23, %11 ] %13 = load ptr, ptr %10, align 8, !tbaa !14 %14 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %12 %15 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %12, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = load i32, ptr %14, align 4, !tbaa !19 %18 = xor i32 %17, -1 %19 = and i32 %16, %18 %20 = icmp eq i32 %19, 0 %21 = zext i1 %20 to i32 %22 = tail call i32 @assert(i32 noundef %21) #2 %23 = add nuw nsw i64 %12, 1 %24 = load i32, ptr %6, align 8, !tbaa !13 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %23, %25 br i1 %26, label %11, label %27, !llvm.loop !20 27: ; preds = %11, %1 %28 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2 %29 = load i64, ptr %28, align 8, !tbaa !22 %30 = icmp sgt i64 %29, -1 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 3 %33 = load i64, ptr %32, align 8, !tbaa !23 %34 = icmp slt i64 %29, %33 %35 = zext i1 %34 to i32 br label %36 36: ; preds = %31, %27 %37 = phi i32 [ 0, %27 ], [ %35, %31 ] %38 = tail call i32 @assert(i32 noundef %37) #2 %39 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 4 %40 = load i32, ptr %39, align 8, !tbaa !24 switch i32 %40, label %68 [ i32 130, label %41 i32 129, label %48 i32 131, label %48 i32 128, label %55 ] 41: ; preds = %36 %42 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 5 %43 = load i32, ptr %42, align 4, !tbaa !25 %44 = icmp sgt i32 %43, -1 %45 = zext i1 %44 to i32 %46 = tail call i32 @assert(i32 noundef %45) #2 %47 = tail call i32 @checkc_notcpbuf(ptr noundef nonnull %0) #2 br label %70 48: ; preds = %36, %36 %49 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 5 %50 = load i32, ptr %49, align 4, !tbaa !25 %51 = icmp eq i32 %50, -1 %52 = zext i1 %51 to i32 %53 = tail call i32 @assert(i32 noundef %52) #2 %54 = tail call i32 @checkc_notcpbuf(ptr noundef nonnull %0) #2 br label %70 55: ; preds = %36 %56 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 5 %57 = load i32, ptr %56, align 4, !tbaa !25 %58 = icmp sgt i32 %57, -1 %59 = zext i1 %58 to i32 %60 = tail call i32 @assert(i32 noundef %59) #2 %61 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 9 %62 = load i32, ptr %61, align 4, !tbaa !26 %63 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 8 %64 = load i32, ptr %63, align 8, !tbaa !27 %65 = icmp sle i32 %62, %64 %66 = zext i1 %65 to i32 %67 = tail call i32 @assert(i32 noundef %66) #2 br label %70 68: ; preds = %36 %69 = tail call i32 @assert(i32 noundef 0) #2 br label %70 70: ; preds = %68, %55, %48, %41 %71 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 7 %72 = load i64, ptr %71, align 8, !tbaa !28 %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %79 74: ; preds = %70 %75 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 6 %76 = load i32, ptr %75, align 8, !tbaa !29 %77 = icmp eq i32 %76, 0 %78 = zext i1 %77 to i32 br label %79 79: ; preds = %74, %70 %80 = phi i32 [ 1, %70 ], [ %78, %74 ] %81 = tail call i32 @assert(i32 noundef %80) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @checkc_notcpbuf(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_12__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !7, i64 48, !11, i64 56, !10, i64 60, !12, i64 64} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"TYPE_11__", !10, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !12, i64 64} !15 = !{!16, !10, i64 4} !16 = !{!"TYPE_10__", !17, i64 0, !18, i64 4} !17 = !{!"TYPE_9__", !10, i64 0} !18 = !{!"TYPE_8__", !10, i64 0} !19 = !{!16, !10, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!6, !7, i64 16} !23 = !{!6, !7, i64 24} !24 = !{!6, !10, i64 32} !25 = !{!6, !10, i64 36} !26 = !{!6, !10, i64 60} !27 = !{!6, !10, i64 56} !28 = !{!6, !7, i64 48} !29 = !{!6, !10, i64 40}
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/adns/src/extr_check.c_checkc_global.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/adns/src/extr_check.c_checkc_global.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { %struct.TYPE_9__, %struct.TYPE_8__ } %struct.TYPE_9__ = type { i32 } %struct.TYPE_8__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @checkc_global], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @checkc_global(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp sgt i64 %2, -1 %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !14 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %27 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 64 br label %11 11: ; preds = %9, %11 %12 = phi i64 [ 0, %9 ], [ %23, %11 ] %13 = load ptr, ptr %10, align 8, !tbaa !15 %14 = getelementptr inbounds %struct.TYPE_10__, ptr %13, i64 %12 %15 = getelementptr inbounds i8, ptr %14, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = load i32, ptr %14, align 4, !tbaa !20 %18 = xor i32 %17, -1 %19 = and i32 %16, %18 %20 = icmp eq i32 %19, 0 %21 = zext i1 %20 to i32 %22 = tail call i32 @assert(i32 noundef %21) #2 %23 = add nuw nsw i64 %12, 1 %24 = load i32, ptr %6, align 8, !tbaa !14 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %23, %25 br i1 %26, label %11, label %27, !llvm.loop !21 27: ; preds = %11, %1 %28 = getelementptr inbounds i8, ptr %0, i64 16 %29 = load i64, ptr %28, align 8, !tbaa !23 %30 = icmp sgt i64 %29, -1 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = getelementptr inbounds i8, ptr %0, i64 24 %33 = load i64, ptr %32, align 8, !tbaa !24 %34 = icmp slt i64 %29, %33 %35 = zext i1 %34 to i32 br label %36 36: ; preds = %31, %27 %37 = phi i32 [ 0, %27 ], [ %35, %31 ] %38 = tail call i32 @assert(i32 noundef %37) #2 %39 = getelementptr inbounds i8, ptr %0, i64 32 %40 = load i32, ptr %39, align 8, !tbaa !25 switch i32 %40, label %68 [ i32 130, label %41 i32 129, label %48 i32 131, label %48 i32 128, label %55 ] 41: ; preds = %36 %42 = getelementptr inbounds i8, ptr %0, i64 36 %43 = load i32, ptr %42, align 4, !tbaa !26 %44 = icmp sgt i32 %43, -1 %45 = zext i1 %44 to i32 %46 = tail call i32 @assert(i32 noundef %45) #2 %47 = tail call i32 @checkc_notcpbuf(ptr noundef nonnull %0) #2 br label %70 48: ; preds = %36, %36 %49 = getelementptr inbounds i8, ptr %0, i64 36 %50 = load i32, ptr %49, align 4, !tbaa !26 %51 = icmp eq i32 %50, -1 %52 = zext i1 %51 to i32 %53 = tail call i32 @assert(i32 noundef %52) #2 %54 = tail call i32 @checkc_notcpbuf(ptr noundef nonnull %0) #2 br label %70 55: ; preds = %36 %56 = getelementptr inbounds i8, ptr %0, i64 36 %57 = load i32, ptr %56, align 4, !tbaa !26 %58 = icmp sgt i32 %57, -1 %59 = zext i1 %58 to i32 %60 = tail call i32 @assert(i32 noundef %59) #2 %61 = getelementptr inbounds i8, ptr %0, i64 60 %62 = load i32, ptr %61, align 4, !tbaa !27 %63 = getelementptr inbounds i8, ptr %0, i64 56 %64 = load i32, ptr %63, align 8, !tbaa !28 %65 = icmp sle i32 %62, %64 %66 = zext i1 %65 to i32 %67 = tail call i32 @assert(i32 noundef %66) #2 br label %70 68: ; preds = %36 %69 = tail call i32 @assert(i32 noundef 0) #2 br label %70 70: ; preds = %68, %55, %48, %41 %71 = getelementptr inbounds i8, ptr %0, i64 48 %72 = load i64, ptr %71, align 8, !tbaa !29 %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %79 74: ; preds = %70 %75 = getelementptr inbounds i8, ptr %0, i64 40 %76 = load i32, ptr %75, align 8, !tbaa !30 %77 = icmp eq i32 %76, 0 %78 = zext i1 %77 to i32 br label %79 79: ; preds = %74, %70 %80 = phi i32 [ 1, %70 ], [ %78, %74 ] %81 = tail call i32 @assert(i32 noundef %80) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @checkc_notcpbuf(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_12__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !8, i64 48, !12, i64 56, !11, i64 60, !13, i64 64} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"TYPE_11__", !11, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !13, i64 64} !16 = !{!17, !11, i64 4} !17 = !{!"TYPE_10__", !18, i64 0, !19, i64 4} !18 = !{!"TYPE_9__", !11, i64 0} !19 = !{!"TYPE_8__", !11, i64 0} !20 = !{!17, !11, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!7, !8, i64 16} !24 = !{!7, !8, i64 24} !25 = !{!7, !11, i64 32} !26 = !{!7, !11, i64 36} !27 = !{!7, !11, i64 60} !28 = !{!7, !11, i64 56} !29 = !{!7, !8, i64 48} !30 = !{!7, !11, i64 40}
reactos_sdk_lib_3rdparty_adns_src_extr_check.c_checkc_global
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_GetDaysUntil2038.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_GetDaysUntil2038.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, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @GetDaysUntil2038() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_4__, align 4 %2 = tail call i64 (...) @SystemTime64() #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #3 %3 = call i32 @Zero(ptr noundef nonnull %1, i32 noundef 12) #3 store i32 2038, ptr %1, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 store i32 1, ptr %4, align 4, !tbaa !10 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 store i32 1, ptr %5, align 4, !tbaa !11 %6 = call i64 @SystemToUINT64(ptr noundef nonnull %1) #3 %7 = icmp slt i64 %2, %6 br i1 %7, label %8, label %12 8: ; preds = %0 %9 = sub nsw i64 %6, %2 %10 = sdiv i64 %9, 86400000 %11 = trunc i64 %10 to i32 br label %12 12: ; preds = %0, %8 %13 = phi i32 [ %11, %8 ], [ 0, %0 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @SystemTime64(...) local_unnamed_addr #2 declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @SystemToUINT64(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_4__", !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 = !{!6, !7, i64 4} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_GetDaysUntil2038.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Encrypt.c_GetDaysUntil2038.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, i32 } ; Function Attrs: nounwind ssp uwtable(sync) define i32 @GetDaysUntil2038() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_4__, align 8 %2 = tail call i64 @SystemTime64() #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #3 %3 = call i32 @Zero(ptr noundef nonnull %1, i32 noundef 12) #3 store <2 x i32> <i32 2038, i32 1>, ptr %1, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %1, i64 8 store i32 1, ptr %4, align 8, !tbaa !10 %5 = call i64 @SystemToUINT64(ptr noundef nonnull %1) #3 %6 = icmp slt i64 %2, %5 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = sub nsw i64 %5, %2 %9 = sdiv i64 %8, 86400000 %10 = trunc i64 %9 to i32 br label %11 11: ; preds = %0, %7 %12 = phi i32 [ %10, %7 ], [ 0, %0 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @SystemTime64(...) local_unnamed_addr #2 declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @SystemToUINT64(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 8} !11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8}
SoftEtherVPN_src_Mayaqua_extr_Encrypt.c_GetDaysUntil2038
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_sort.c_sort__comm_collapse.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_sort.c_sort__comm_collapse.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 @sort__comm_collapse], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sort__comm_collapse(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = tail call i32 @comm__str(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call i32 @comm__str(i32 noundef %5) #2 %7 = tail call i32 @strcmp(i32 noundef %4, i32 noundef %6) #2 ret i32 %7 } declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @comm__str(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 = !{!"hist_entry", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_sort.c_sort__comm_collapse.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_sort.c_sort__comm_collapse.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 @sort__comm_collapse], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sort__comm_collapse(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = tail call i32 @comm__str(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call i32 @comm__str(i32 noundef %5) #2 %7 = tail call i32 @strcmp(i32 noundef %4, i32 noundef %6) #2 ret i32 %7 } declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @comm__str(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 = !{!"hist_entry", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_tools_perf_util_extr_sort.c_sort__comm_collapse
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bnx2fc/extr_bnx2fc_fcoe.c_bnx2fc_fip_send.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bnx2fc/extr_bnx2fc_fcoe.c_bnx2fc_fip_send.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2fc_fip_send], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bnx2fc_fip_send(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @bnx2fc_from_ctlr(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !5 store i32 %4, ptr %1, align 4, !tbaa !10 %5 = tail call i32 @dev_queue_xmit(ptr noundef nonnull %1) #2 ret void } declare ptr @bnx2fc_from_ctlr(ptr noundef) local_unnamed_addr #1 declare i32 @dev_queue_xmit(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_2__", !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 = !{!"sk_buff", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bnx2fc/extr_bnx2fc_fcoe.c_bnx2fc_fip_send.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bnx2fc/extr_bnx2fc_fcoe.c_bnx2fc_fip_send.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 @bnx2fc_fip_send], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bnx2fc_fip_send(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @bnx2fc_from_ctlr(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !6 store i32 %4, ptr %1, align 4, !tbaa !11 %5 = tail call i32 @dev_queue_xmit(ptr noundef nonnull %1) #2 ret void } declare ptr @bnx2fc_from_ctlr(ptr noundef) local_unnamed_addr #1 declare i32 @dev_queue_xmit(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_2__", !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 = !{!"sk_buff", !8, i64 0}
fastsocket_kernel_drivers_scsi_bnx2fc_extr_bnx2fc_fcoe.c_bnx2fc_fip_send
; ModuleID = 'AnghaBench/linux/drivers/s390/char/extr_tape_std.c_tape_std_unassign.c' source_filename = "AnghaBench/linux/drivers/s390/char/extr_tape_std.c_tape_std_unassign.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.tape_device = type { i64, i32 } %struct.tape_request = type { i64, i32, i32 } @TS_NOT_OPER = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [31 x i8] c"(%08x): Can't unassign device\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @TO_UNASSIGN = dso_local local_unnamed_addr global i32 0, align 4 @UNASSIGN = dso_local local_unnamed_addr global i32 0, align 4 @NOP = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"%08x: Unassign failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"%08x: Tape unassigned\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @tape_std_unassign(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @TS_NOT_OPER, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %11 5: ; preds = %1 %6 = getelementptr inbounds %struct.tape_device, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = tail call i32 @DBF_EVENT(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef %7) #2 %9 = load i32, ptr @EIO, align 4, !tbaa !13 %10 = sub nsw i32 0, %9 br label %36 11: ; preds = %1 %12 = tail call ptr @tape_alloc_request(i32 noundef 2, i32 noundef 11) #2 %13 = tail call i64 @IS_ERR(ptr noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11 %16 = tail call i32 @PTR_ERR(ptr noundef %12) #2 br label %36 17: ; preds = %11 %18 = load i32, ptr @TO_UNASSIGN, align 4, !tbaa !13 %19 = getelementptr inbounds %struct.tape_request, ptr %12, i64 0, i32 2 store i32 %18, ptr %19, align 4, !tbaa !14 %20 = load i64, ptr %12, align 8, !tbaa !16 %21 = load i32, ptr @UNASSIGN, align 4, !tbaa !13 %22 = getelementptr inbounds %struct.tape_request, ptr %12, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !17 %24 = tail call i32 @tape_ccw_cc(i64 noundef %20, i32 noundef %21, i32 noundef 11, i32 noundef %23) #2 %25 = load i64, ptr %12, align 8, !tbaa !16 %26 = add nsw i64 %25, 1 %27 = load i32, ptr @NOP, align 4, !tbaa !13 %28 = tail call i32 @tape_ccw_end(i64 noundef %26, i32 noundef %27, i32 noundef 0, ptr noundef null) #2 %29 = tail call i32 @tape_do_io(ptr noundef nonnull %0, ptr noundef nonnull %12) #2 %30 = icmp eq i32 %29, 0 %31 = getelementptr inbounds %struct.tape_device, ptr %0, i64 0, i32 1 %32 = load i32, ptr %31, align 8, !tbaa !12 %33 = select i1 %30, ptr @.str.2, ptr @.str.1 %34 = tail call i32 @DBF_EVENT(i32 noundef 3, ptr noundef nonnull %33, i32 noundef %32) #2 %35 = tail call i32 @tape_free_request(ptr noundef nonnull %12) #2 br label %36 36: ; preds = %17, %15, %5 %37 = phi i32 [ %10, %5 ], [ %16, %15 ], [ %29, %17 ] ret i32 %37 } declare i32 @DBF_EVENT(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @tape_alloc_request(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tape_ccw_cc(i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tape_ccw_end(i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tape_do_io(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tape_free_request(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 = !{!"tape_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 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!15, !10, i64 12} !15 = !{!"tape_request", !7, i64 0, !10, i64 8, !10, i64 12} !16 = !{!15, !7, i64 0} !17 = !{!15, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/s390/char/extr_tape_std.c_tape_std_unassign.c' source_filename = "AnghaBench/linux/drivers/s390/char/extr_tape_std.c_tape_std_unassign.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TS_NOT_OPER = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [31 x i8] c"(%08x): Can't unassign device\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @TO_UNASSIGN = common local_unnamed_addr global i32 0, align 4 @UNASSIGN = common local_unnamed_addr global i32 0, align 4 @NOP = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"%08x: Unassign failed\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"%08x: Tape unassigned\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @tape_std_unassign(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @TS_NOT_OPER, align 8, !tbaa !12 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %11 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = tail call i32 @DBF_EVENT(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef %7) #2 %9 = load i32, ptr @EIO, align 4, !tbaa !14 %10 = sub nsw i32 0, %9 br label %36 11: ; preds = %1 %12 = tail call ptr @tape_alloc_request(i32 noundef 2, i32 noundef 11) #2 %13 = tail call i64 @IS_ERR(ptr noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11 %16 = tail call i32 @PTR_ERR(ptr noundef %12) #2 br label %36 17: ; preds = %11 %18 = load i32, ptr @TO_UNASSIGN, align 4, !tbaa !14 %19 = getelementptr inbounds i8, ptr %12, i64 12 store i32 %18, ptr %19, align 4, !tbaa !15 %20 = load i64, ptr %12, align 8, !tbaa !17 %21 = load i32, ptr @UNASSIGN, align 4, !tbaa !14 %22 = getelementptr inbounds i8, ptr %12, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !18 %24 = tail call i32 @tape_ccw_cc(i64 noundef %20, i32 noundef %21, i32 noundef 11, i32 noundef %23) #2 %25 = load i64, ptr %12, align 8, !tbaa !17 %26 = add nsw i64 %25, 1 %27 = load i32, ptr @NOP, align 4, !tbaa !14 %28 = tail call i32 @tape_ccw_end(i64 noundef %26, i32 noundef %27, i32 noundef 0, ptr noundef null) #2 %29 = tail call i32 @tape_do_io(ptr noundef nonnull %0, ptr noundef nonnull %12) #2 %30 = icmp eq i32 %29, 0 %31 = getelementptr inbounds i8, ptr %0, i64 8 %32 = load i32, ptr %31, align 8, !tbaa !13 %33 = select i1 %30, ptr @.str.2, ptr @.str.1 %34 = tail call i32 @DBF_EVENT(i32 noundef 3, ptr noundef nonnull %33, i32 noundef %32) #2 %35 = tail call i32 @tape_free_request(ptr noundef nonnull %12) #2 br label %36 36: ; preds = %17, %15, %5 %37 = phi i32 [ %10, %5 ], [ %16, %15 ], [ %29, %17 ] ret i32 %37 } declare i32 @DBF_EVENT(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @tape_alloc_request(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tape_ccw_cc(i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tape_ccw_end(i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tape_do_io(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tape_free_request(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 = !{!"tape_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 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!16, !11, i64 12} !16 = !{!"tape_request", !8, i64 0, !11, i64 8, !11, i64 12} !17 = !{!16, !8, i64 0} !18 = !{!16, !11, i64 8}
linux_drivers_s390_char_extr_tape_std.c_tape_std_unassign
; ModuleID = 'AnghaBench/netdata/libnetdata/avl/extr_..inlined.h_read_single_signed_number_file.c' source_filename = "AnghaBench/netdata/libnetdata/avl/extr_..inlined.h_read_single_signed_number_file.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 @read_single_signed_number_file], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @read_single_signed_number_file(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca [31 x i8], align 16 call void @llvm.lifetime.start.p0(i64 31, ptr nonnull %3) #4 %4 = call i32 @read_file(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 30) #4 %5 = call i64 @unlikely(i32 noundef %4) #4 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = getelementptr inbounds [31 x i8], ptr %3, i64 0, i64 30 store i8 0, ptr %8, align 2, !tbaa !5 %9 = call i64 @atoll(ptr nocapture noundef nonnull %3) br label %10 10: ; preds = %2, %7 %11 = phi i64 [ %9, %7 ], [ 0, %2 ] %12 = phi i32 [ 0, %7 ], [ %4, %2 ] store i64 %11, ptr %1, align 8, !tbaa !8 call void @llvm.lifetime.end.p0(i64 31, ptr nonnull %3) #4 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @read_file(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i64 @atoll(ptr nocapture noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"long long", !6, i64 0}
; ModuleID = 'AnghaBench/netdata/libnetdata/avl/extr_..inlined.h_read_single_signed_number_file.c' source_filename = "AnghaBench/netdata/libnetdata/avl/extr_..inlined.h_read_single_signed_number_file.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 @read_single_signed_number_file], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal noundef i32 @read_single_signed_number_file(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca [31 x i8], align 1 call void @llvm.lifetime.start.p0(i64 31, ptr nonnull %3) #4 %4 = call i32 @read_file(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 30) #4 %5 = call i64 @unlikely(i32 noundef %4) #4 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %3, i64 30 store i8 0, ptr %8, align 1, !tbaa !6 %9 = call i64 @atoll(ptr nocapture noundef nonnull %3) br label %10 10: ; preds = %2, %7 %11 = phi i64 [ %9, %7 ], [ 0, %2 ] %12 = phi i32 [ 0, %7 ], [ %4, %2 ] store i64 %11, ptr %1, align 8, !tbaa !9 call void @llvm.lifetime.end.p0(i64 31, ptr nonnull %3) #4 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @read_file(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i64 @atoll(ptr nocapture noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long long", !7, i64 0}
netdata_libnetdata_avl_extr_..inlined.h_read_single_signed_number_file
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_remote_node_context.c_scic_sds_remote_node_context_tx_rx_suspended_state_enter.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_remote_node_context.c_scic_sds_remote_node_context_tx_rx_suspended_state_enter.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" @scic_sds_remote_node_context_state_handler_table = dso_local local_unnamed_addr global i32 0, align 4 @SCIC_SDS_REMOTE_NODE_CONTEXT_TX_RX_SUSPENDED_STATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @scic_sds_remote_node_context_tx_rx_suspended_state_enter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @scic_sds_remote_node_context_tx_rx_suspended_state_enter(ptr noundef %0) #0 { %2 = load i32, ptr @scic_sds_remote_node_context_state_handler_table, align 4, !tbaa !5 %3 = load i32, ptr @SCIC_SDS_REMOTE_NODE_CONTEXT_TX_RX_SUSPENDED_STATE, align 4, !tbaa !5 %4 = tail call i32 @SET_STATE_HANDLER(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = tail call i32 @scic_sds_remote_node_context_continue_state_transitions(ptr noundef %0) #2 ret void } declare i32 @SET_STATE_HANDLER(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @scic_sds_remote_node_context_continue_state_transitions(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_remote_node_context.c_scic_sds_remote_node_context_tx_rx_suspended_state_enter.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_remote_node_context.c_scic_sds_remote_node_context_tx_rx_suspended_state_enter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @scic_sds_remote_node_context_state_handler_table = common local_unnamed_addr global i32 0, align 4 @SCIC_SDS_REMOTE_NODE_CONTEXT_TX_RX_SUSPENDED_STATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @scic_sds_remote_node_context_tx_rx_suspended_state_enter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @scic_sds_remote_node_context_tx_rx_suspended_state_enter(ptr noundef %0) #0 { %2 = load i32, ptr @scic_sds_remote_node_context_state_handler_table, align 4, !tbaa !6 %3 = load i32, ptr @SCIC_SDS_REMOTE_NODE_CONTEXT_TX_RX_SUSPENDED_STATE, align 4, !tbaa !6 %4 = tail call i32 @SET_STATE_HANDLER(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = tail call i32 @scic_sds_remote_node_context_continue_state_transitions(ptr noundef %0) #2 ret void } declare i32 @SET_STATE_HANDLER(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @scic_sds_remote_node_context_continue_state_transitions(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_isci_scil_extr_scic_sds_remote_node_context.c_scic_sds_remote_node_context_tx_rx_suspended_state_enter
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_lapic.c_kvm_apic_post_state_restore.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_lapic.c_kvm_apic_post_state_restore.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 } %struct.kvm_lapic = type { i32, i32, i32, i64, i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @MSR_IA32_APICBASE_BASE = dso_local local_unnamed_addr global i32 0, align 4 @APIC_ISR = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @kvm_apic_post_state_restore(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %0, align 8, !tbaa !12 %5 = load i32, ptr @MSR_IA32_APICBASE_BASE, align 4, !tbaa !13 %6 = and i32 %5, %4 store i32 %6, ptr %3, align 8, !tbaa !14 %7 = tail call i32 @kvm_apic_set_version(ptr noundef nonnull %0) #2 %8 = tail call i32 @apic_update_ppr(ptr noundef nonnull %3) #2 %9 = getelementptr inbounds %struct.kvm_lapic, ptr %3, i64 0, i32 5 %10 = tail call i32 @hrtimer_cancel(ptr noundef nonnull %9) #2 %11 = tail call i32 @update_divide_count(ptr noundef nonnull %3) #2 %12 = tail call i32 @start_apic_timer(ptr noundef nonnull %3) #2 %13 = getelementptr inbounds %struct.kvm_lapic, ptr %3, i64 0, i32 1 store i32 1, ptr %13, align 4, !tbaa !18 %14 = getelementptr inbounds %struct.kvm_lapic, ptr %3, i64 0, i32 3 %15 = load i64, ptr %14, align 8, !tbaa !19 %16 = load i64, ptr @APIC_ISR, align 8, !tbaa !20 %17 = add nsw i64 %16, %15 %18 = tail call i32 @count_vectors(i64 noundef %17) #2 %19 = getelementptr inbounds %struct.kvm_lapic, ptr %3, i64 0, i32 4 store i32 %18, ptr %19, align 8, !tbaa !21 %20 = getelementptr inbounds %struct.kvm_lapic, ptr %3, i64 0, i32 2 store i32 -1, ptr %20, align 8, !tbaa !22 ret void } declare i32 @kvm_apic_set_version(ptr noundef) local_unnamed_addr #1 declare i32 @apic_update_ppr(ptr noundef) local_unnamed_addr #1 declare i32 @hrtimer_cancel(ptr noundef) local_unnamed_addr #1 declare i32 @update_divide_count(ptr noundef) local_unnamed_addr #1 declare i32 @start_apic_timer(ptr noundef) local_unnamed_addr #1 declare i32 @count_vectors(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, !11, i64 8} !6 = !{!"kvm_vcpu", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!6, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"kvm_lapic", !8, i64 0, !8, i64 4, !8, i64 8, !16, i64 16, !8, i64 24, !17, i64 28} !16 = !{!"long", !9, i64 0} !17 = !{!"TYPE_4__", !8, i64 0} !18 = !{!15, !8, i64 4} !19 = !{!15, !16, i64 16} !20 = !{!16, !16, i64 0} !21 = !{!15, !8, i64 24} !22 = !{!15, !8, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_lapic.c_kvm_apic_post_state_restore.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_lapic.c_kvm_apic_post_state_restore.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSR_IA32_APICBASE_BASE = common local_unnamed_addr global i32 0, align 4 @APIC_ISR = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @kvm_apic_post_state_restore(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %0, align 8, !tbaa !13 %5 = load i32, ptr @MSR_IA32_APICBASE_BASE, align 4, !tbaa !14 %6 = and i32 %5, %4 store i32 %6, ptr %3, align 8, !tbaa !15 %7 = tail call i32 @kvm_apic_set_version(ptr noundef nonnull %0) #2 %8 = tail call i32 @apic_update_ppr(ptr noundef nonnull %3) #2 %9 = getelementptr inbounds i8, ptr %3, i64 28 %10 = tail call i32 @hrtimer_cancel(ptr noundef nonnull %9) #2 %11 = tail call i32 @update_divide_count(ptr noundef nonnull %3) #2 %12 = tail call i32 @start_apic_timer(ptr noundef nonnull %3) #2 %13 = getelementptr inbounds i8, ptr %3, i64 4 store i32 1, ptr %13, align 4, !tbaa !19 %14 = getelementptr inbounds i8, ptr %3, i64 16 %15 = load i64, ptr %14, align 8, !tbaa !20 %16 = load i64, ptr @APIC_ISR, align 8, !tbaa !21 %17 = add nsw i64 %16, %15 %18 = tail call i32 @count_vectors(i64 noundef %17) #2 %19 = getelementptr inbounds i8, ptr %3, i64 24 store i32 %18, ptr %19, align 8, !tbaa !22 %20 = getelementptr inbounds i8, ptr %3, i64 8 store i32 -1, ptr %20, align 8, !tbaa !23 ret void } declare i32 @kvm_apic_set_version(ptr noundef) local_unnamed_addr #1 declare i32 @apic_update_ppr(ptr noundef) local_unnamed_addr #1 declare i32 @hrtimer_cancel(ptr noundef) local_unnamed_addr #1 declare i32 @update_divide_count(ptr noundef) local_unnamed_addr #1 declare i32 @start_apic_timer(ptr noundef) local_unnamed_addr #1 declare i32 @count_vectors(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, !12, i64 8} !7 = !{!"kvm_vcpu", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!7, !9, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!16, !9, i64 0} !16 = !{!"kvm_lapic", !9, i64 0, !9, i64 4, !9, i64 8, !17, i64 16, !9, i64 24, !18, i64 28} !17 = !{!"long", !10, i64 0} !18 = !{!"TYPE_4__", !9, i64 0} !19 = !{!16, !9, i64 4} !20 = !{!16, !17, i64 16} !21 = !{!17, !17, i64 0} !22 = !{!16, !9, i64 24} !23 = !{!16, !9, i64 8}
fastsocket_kernel_arch_x86_kvm_extr_lapic.c_kvm_apic_post_state_restore
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/usb/extr_hso.c_hso_wait_modem_status.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/usb/extr_hso.c_hso_wait_modem_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.uart_icount = type { i64, i64, i64 } %struct.hso_serial = type { i32, ptr } %struct.hso_tiocmget = type { i32, i32 } @wait = dso_local global i32 0, align 4 @current = dso_local local_unnamed_addr global ptr null, align 8 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @TASK_INTERRUPTIBLE = dso_local local_unnamed_addr global i32 0, align 4 @TIOCM_RNG = dso_local local_unnamed_addr global i64 0, align 8 @TIOCM_DSR = dso_local local_unnamed_addr global i64 0, align 8 @TIOCM_CD = dso_local local_unnamed_addr global i64 0, align 8 @ERESTARTSYS = dso_local local_unnamed_addr global i32 0, align 4 @TASK_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hso_wait_modem_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hso_wait_modem_status(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca %struct.uart_icount, align 8 %4 = alloca %struct.uart_icount, align 8 %5 = load i32, ptr @wait, align 4, !tbaa !5 %6 = load ptr, ptr @current, align 8, !tbaa !9 %7 = tail call i32 @DECLARE_WAITQUEUE(i32 noundef %5, ptr noundef %6) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4 %8 = getelementptr inbounds %struct.hso_serial, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !11 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @ENOENT, align 4, !tbaa !5 %13 = sub nsw i32 0, %12 br label %67 14: ; preds = %2 %15 = tail call i32 @spin_lock_irq(ptr noundef nonnull %0) #4 %16 = getelementptr inbounds %struct.hso_tiocmget, ptr %9, i64 0, i32 1 %17 = call i32 @memcpy(ptr noundef nonnull %3, ptr noundef nonnull %16, i32 noundef 24) #4 %18 = call i32 @spin_unlock_irq(ptr noundef nonnull %0) #4 %19 = call i32 @add_wait_queue(ptr noundef nonnull %9, ptr noundef nonnull @wait) #4 %20 = getelementptr inbounds %struct.uart_icount, ptr %4, i64 0, i32 1 %21 = getelementptr inbounds %struct.uart_icount, ptr %3, i64 0, i32 1 %22 = getelementptr inbounds %struct.uart_icount, ptr %4, i64 0, i32 2 %23 = getelementptr inbounds %struct.uart_icount, ptr %3, i64 0, i32 2 br label %24 24: ; preds = %61, %14 %25 = call i32 @spin_lock_irq(ptr noundef %0) #4 %26 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef nonnull %16, i32 noundef 24) #4 %27 = call i32 @spin_unlock_irq(ptr noundef %0) #4 %28 = load i32, ptr @TASK_INTERRUPTIBLE, align 4, !tbaa !5 %29 = call i32 @set_current_state(i32 noundef %28) #4 %30 = load i64, ptr @TIOCM_RNG, align 8, !tbaa !13 %31 = and i64 %30, %1 %32 = icmp eq i64 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %24 %34 = load i64, ptr %4, align 8, !tbaa !15 %35 = load i64, ptr %3, align 8, !tbaa !15 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %62 37: ; preds = %33, %24 %38 = load i64, ptr @TIOCM_DSR, align 8, !tbaa !13 %39 = and i64 %38, %1 %40 = icmp eq i64 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load i64, ptr %20, align 8, !tbaa !17 %43 = load i64, ptr %21, align 8, !tbaa !17 %44 = icmp eq i64 %42, %43 br i1 %44, label %45, label %62 45: ; preds = %41, %37 %46 = load i64, ptr @TIOCM_CD, align 8, !tbaa !13 %47 = and i64 %46, %1 %48 = icmp eq i64 %47, 0 br i1 %48, label %53, label %49 49: ; preds = %45 %50 = load i64, ptr %22, align 8, !tbaa !18 %51 = load i64, ptr %23, align 8, !tbaa !18 %52 = icmp eq i64 %50, %51 br i1 %52, label %53, label %62 53: ; preds = %49, %45 %54 = call i32 (...) @schedule() #4 %55 = load ptr, ptr @current, align 8, !tbaa !9 %56 = call i64 @signal_pending(ptr noundef %55) #4 %57 = icmp eq i64 %56, 0 br i1 %57, label %61, label %58 58: ; preds = %53 %59 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !5 %60 = sub nsw i32 0, %59 br label %62 61: ; preds = %53 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 24, i1 false), !tbaa.struct !19 br label %24 62: ; preds = %33, %41, %49, %58 %63 = phi i32 [ %60, %58 ], [ 0, %49 ], [ 0, %41 ], [ 0, %33 ] %64 = load i32, ptr @TASK_RUNNING, align 4, !tbaa !5 %65 = load ptr, ptr @current, align 8, !tbaa !9 store i32 %64, ptr %65, align 4, !tbaa !20 %66 = call i32 @remove_wait_queue(ptr noundef nonnull %9, ptr noundef nonnull @wait) #4 br label %67 67: ; preds = %62, %11 %68 = phi i32 [ %63, %62 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4 ret i32 %68 } declare i32 @DECLARE_WAITQUEUE(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @add_wait_queue(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_current_state(i32 noundef) local_unnamed_addr #1 declare i32 @schedule(...) local_unnamed_addr #1 declare i64 @signal_pending(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @remove_wait_queue(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"hso_serial", !6, i64 0, !10, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"uart_icount", !14, i64 0, !14, i64 8, !14, i64 16} !17 = !{!16, !14, i64 8} !18 = !{!16, !14, i64 16} !19 = !{i64 0, i64 8, !13, i64 8, i64 8, !13, i64 16, i64 8, !13} !20 = !{!21, !6, i64 0} !21 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/usb/extr_hso.c_hso_wait_modem_status.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/usb/extr_hso.c_hso_wait_modem_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.uart_icount = type { i64, i64, i64 } @wait = common global i32 0, align 4 @current = common local_unnamed_addr global ptr null, align 8 @ENOENT = common local_unnamed_addr global i32 0, align 4 @TASK_INTERRUPTIBLE = common local_unnamed_addr global i32 0, align 4 @TIOCM_RNG = common local_unnamed_addr global i64 0, align 8 @TIOCM_DSR = common local_unnamed_addr global i64 0, align 8 @TIOCM_CD = common local_unnamed_addr global i64 0, align 8 @ERESTARTSYS = common local_unnamed_addr global i32 0, align 4 @TASK_RUNNING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hso_wait_modem_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @hso_wait_modem_status(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca %struct.uart_icount, align 8 %4 = alloca %struct.uart_icount, align 8 %5 = load i32, ptr @wait, align 4, !tbaa !6 %6 = load ptr, ptr @current, align 8, !tbaa !10 %7 = tail call i32 @DECLARE_WAITQUEUE(i32 noundef %5, ptr noundef %6) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @ENOENT, align 4, !tbaa !6 %13 = sub nsw i32 0, %12 br label %67 14: ; preds = %2 %15 = tail call i32 @spin_lock_irq(ptr noundef nonnull %0) #4 %16 = getelementptr inbounds i8, ptr %9, i64 4 %17 = call i32 @memcpy(ptr noundef nonnull %3, ptr noundef nonnull %16, i32 noundef 24) #4 %18 = call i32 @spin_unlock_irq(ptr noundef nonnull %0) #4 %19 = call i32 @add_wait_queue(ptr noundef nonnull %9, ptr noundef nonnull @wait) #4 %20 = getelementptr inbounds i8, ptr %4, i64 8 %21 = getelementptr inbounds i8, ptr %3, i64 8 %22 = getelementptr inbounds i8, ptr %4, i64 16 %23 = getelementptr inbounds i8, ptr %3, i64 16 br label %24 24: ; preds = %61, %14 %25 = call i32 @spin_lock_irq(ptr noundef %0) #4 %26 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef nonnull %16, i32 noundef 24) #4 %27 = call i32 @spin_unlock_irq(ptr noundef %0) #4 %28 = load i32, ptr @TASK_INTERRUPTIBLE, align 4, !tbaa !6 %29 = call i32 @set_current_state(i32 noundef %28) #4 %30 = load i64, ptr @TIOCM_RNG, align 8, !tbaa !14 %31 = and i64 %30, %1 %32 = icmp eq i64 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %24 %34 = load i64, ptr %4, align 8, !tbaa !16 %35 = load i64, ptr %3, align 8, !tbaa !16 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %62 37: ; preds = %33, %24 %38 = load i64, ptr @TIOCM_DSR, align 8, !tbaa !14 %39 = and i64 %38, %1 %40 = icmp eq i64 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load i64, ptr %20, align 8, !tbaa !18 %43 = load i64, ptr %21, align 8, !tbaa !18 %44 = icmp eq i64 %42, %43 br i1 %44, label %45, label %62 45: ; preds = %41, %37 %46 = load i64, ptr @TIOCM_CD, align 8, !tbaa !14 %47 = and i64 %46, %1 %48 = icmp eq i64 %47, 0 br i1 %48, label %53, label %49 49: ; preds = %45 %50 = load i64, ptr %22, align 8, !tbaa !19 %51 = load i64, ptr %23, align 8, !tbaa !19 %52 = icmp eq i64 %50, %51 br i1 %52, label %53, label %62 53: ; preds = %49, %45 %54 = call i32 @schedule() #4 %55 = load ptr, ptr @current, align 8, !tbaa !10 %56 = call i64 @signal_pending(ptr noundef %55) #4 %57 = icmp eq i64 %56, 0 br i1 %57, label %61, label %58 58: ; preds = %53 %59 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !6 %60 = sub nsw i32 0, %59 br label %62 61: ; preds = %53 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 24, i1 false), !tbaa.struct !20 br label %24 62: ; preds = %33, %41, %49, %58 %63 = phi i32 [ %60, %58 ], [ 0, %49 ], [ 0, %41 ], [ 0, %33 ] %64 = load i32, ptr @TASK_RUNNING, align 4, !tbaa !6 %65 = load ptr, ptr @current, align 8, !tbaa !10 store i32 %64, ptr %65, align 4, !tbaa !21 %66 = call i32 @remove_wait_queue(ptr noundef nonnull %9, ptr noundef nonnull @wait) #4 br label %67 67: ; preds = %62, %11 %68 = phi i32 [ %63, %62 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4 ret i32 %68 } declare i32 @DECLARE_WAITQUEUE(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @add_wait_queue(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_current_state(i32 noundef) local_unnamed_addr #1 declare i32 @schedule(...) local_unnamed_addr #1 declare i64 @signal_pending(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @remove_wait_queue(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"hso_serial", !7, i64 0, !11, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"uart_icount", !15, i64 0, !15, i64 8, !15, i64 16} !18 = !{!17, !15, i64 8} !19 = !{!17, !15, i64 16} !20 = !{i64 0, i64 8, !14, i64 8, i64 8, !14, i64 16, i64 8, !14} !21 = !{!22, !7, i64 0} !22 = !{!"TYPE_4__", !7, i64 0}
fastsocket_kernel_drivers_net_usb_extr_hso.c_hso_wait_modem_status
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/common/extr_action.c_process_record_tap_hint.c' source_filename = "AnghaBench/qmk_firmware/tmk_core/common/extr_action.c_process_record_tap_hint.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" @swap_hands = dso_local local_unnamed_addr global i32 0, align 4 @swap_held = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @process_record_tap_hint(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i64 @layer_switch_get_action(i32 noundef %2) #2 ret void } declare i64 @layer_switch_get_action(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 = !{!"TYPE_11__", !7, i64 0} !7 = !{!"TYPE_8__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/common/extr_action.c_process_record_tap_hint.c' source_filename = "AnghaBench/qmk_firmware/tmk_core/common/extr_action.c_process_record_tap_hint.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @swap_hands = common local_unnamed_addr global i32 0, align 4 @swap_held = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @process_record_tap_hint(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i64 @layer_switch_get_action(i32 noundef %2) #2 ret void } declare i64 @layer_switch_get_action(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 = !{!"TYPE_11__", !8, i64 0} !8 = !{!"TYPE_8__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
qmk_firmware_tmk_core_common_extr_action.c_process_record_tap_hint
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_qsvdec.c_get_surface.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_qsvdec.c_get_surface.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, i32, ptr, i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_surface], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_surface(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @qsv_clear_unused_frames(ptr noundef %1) #3 %6 = load ptr, ptr %1, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %23, label %8 8: ; preds = %3, %17 %9 = phi ptr [ %19, %17 ], [ %6, %3 ] %10 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 3 %11 = load i32, ptr %10, align 8, !tbaa !9 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = tail call i32 @alloc_frame(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %9) #3 %15 = icmp slt i32 %14, 0 br i1 %15, label %42, label %16 16: ; preds = %13 store ptr %9, ptr %2, align 8, !tbaa !5 br label %42 17: ; preds = %8 %18 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 2 %19 = load ptr, ptr %18, align 8, !tbaa !5 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %8, !llvm.loop !12 21: ; preds = %17 %22 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 0, i32 2 br label %23 23: ; preds = %21, %3 %24 = phi ptr [ %1, %3 ], [ %22, %21 ] %25 = tail call ptr @av_mallocz(i32 noundef 24) #3 store ptr %25, ptr %4, align 8, !tbaa !5 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %29 = tail call i32 @AVERROR(i32 noundef %28) #3 br label %42 30: ; preds = %23 %31 = tail call i32 (...) @av_frame_alloc() #3 %32 = getelementptr inbounds %struct.TYPE_9__, ptr %25, i64 0, i32 1 store i32 %31, ptr %32, align 4, !tbaa !15 %33 = icmp eq i32 %31, 0 br i1 %33, label %34, label %38 34: ; preds = %30 %35 = call i32 @av_freep(ptr noundef nonnull %4) #3 %36 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %37 = call i32 @AVERROR(i32 noundef %36) #3 br label %42 38: ; preds = %30 store ptr %25, ptr %24, align 8, !tbaa !5 %39 = tail call i32 @alloc_frame(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %25) #3 %40 = icmp slt i32 %39, 0 br i1 %40, label %42, label %41 41: ; preds = %38 store ptr %25, ptr %2, align 8, !tbaa !5 br label %42 42: ; preds = %38, %13, %41, %34, %27, %16 %43 = phi i32 [ 0, %16 ], [ 0, %41 ], [ %37, %34 ], [ %29, %27 ], [ %14, %13 ], [ %39, %38 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %43 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @qsv_clear_unused_frames(ptr noundef) local_unnamed_addr #2 declare i32 @alloc_frame(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @av_mallocz(i32 noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i32 @av_frame_alloc(...) local_unnamed_addr #2 declare i32 @av_freep(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, !11, i64 16} !10 = !{!"TYPE_9__", !11, i64 0, !11, i64 4, !6, i64 8, !11, i64 16} !11 = !{!"int", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!11, !11, i64 0} !15 = !{!10, !11, i64 4}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_qsvdec.c_get_surface.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_qsvdec.c_get_surface.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 @llvm.used = appending global [1 x ptr] [ptr @get_surface], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_surface(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @qsv_clear_unused_frames(ptr noundef %1) #3 %6 = load ptr, ptr %1, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %23, label %8 8: ; preds = %3, %17 %9 = phi ptr [ %19, %17 ], [ %6, %3 ] %10 = getelementptr inbounds i8, ptr %9, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = tail call i32 @alloc_frame(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %9) #3 %15 = icmp slt i32 %14, 0 br i1 %15, label %42, label %16 16: ; preds = %13 store ptr %9, ptr %2, align 8, !tbaa !6 br label %42 17: ; preds = %8 %18 = getelementptr inbounds i8, ptr %9, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !6 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %8, !llvm.loop !13 21: ; preds = %17 %22 = getelementptr inbounds i8, ptr %9, i64 8 br label %23 23: ; preds = %21, %3 %24 = phi ptr [ %1, %3 ], [ %22, %21 ] %25 = tail call ptr @av_mallocz(i32 noundef 24) #3 store ptr %25, ptr %4, align 8, !tbaa !6 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %29 = tail call i32 @AVERROR(i32 noundef %28) #3 br label %42 30: ; preds = %23 %31 = tail call i32 @av_frame_alloc() #3 %32 = getelementptr inbounds i8, ptr %25, i64 4 store i32 %31, ptr %32, align 4, !tbaa !16 %33 = icmp eq i32 %31, 0 br i1 %33, label %34, label %38 34: ; preds = %30 %35 = call i32 @av_freep(ptr noundef nonnull %4) #3 %36 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %37 = call i32 @AVERROR(i32 noundef %36) #3 br label %42 38: ; preds = %30 store ptr %25, ptr %24, align 8, !tbaa !6 %39 = tail call i32 @alloc_frame(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %25) #3 %40 = icmp slt i32 %39, 0 br i1 %40, label %42, label %41 41: ; preds = %38 store ptr %25, ptr %2, align 8, !tbaa !6 br label %42 42: ; preds = %38, %13, %41, %34, %27, %16 %43 = phi i32 [ 0, %16 ], [ 0, %41 ], [ %37, %34 ], [ %29, %27 ], [ %14, %13 ], [ %39, %38 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %43 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @qsv_clear_unused_frames(ptr noundef) local_unnamed_addr #2 declare i32 @alloc_frame(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @av_mallocz(i32 noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i32 @av_frame_alloc(...) local_unnamed_addr #2 declare i32 @av_freep(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, !12, i64 16} !11 = !{!"TYPE_9__", !12, i64 0, !12, i64 4, !7, i64 8, !12, i64 16} !12 = !{!"int", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!12, !12, i64 0} !16 = !{!11, !12, i64 4}
FFmpeg_libavcodec_extr_qsvdec.c_get_surface
; ModuleID = 'AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_tpg.c_iscsit_load_discovery_tpg.c' source_filename = "AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_tpg.c_iscsit_load_discovery_tpg.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.iscsi_portal_group = type { i32, %struct.TYPE_7__, i32, i32, i32, %struct.TYPE_5__ } %struct.TYPE_7__ = type { ptr } %struct.TYPE_5__ = type { i64 } @.str = private unnamed_addr constant [46 x i8] c"Unable to allocate struct iscsi_portal_group\0A\00", align 1 @iscsi_ops = dso_local global i32 0, align 4 @AUTHMETHOD = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"CHAP,None\00", align 1 @TPG_STATE_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @iscsit_global = dso_local local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [35 x i8] c"CORE[0] - Allocated Discovery TPG\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @iscsit_load_discovery_tpg() local_unnamed_addr #0 { %1 = tail call ptr @iscsit_alloc_portal_group(ptr noundef null, i32 noundef 1) #2 %2 = icmp eq ptr %1, null br i1 %2, label %3, label %5 3: ; preds = %0 %4 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2 br label %43 5: ; preds = %0 %6 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 1 store ptr @iscsi_ops, ptr %6, align 8, !tbaa !5 %7 = tail call i32 @core_tpg_register(ptr noundef null, ptr noundef nonnull %6, i32 noundef -1) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = tail call i32 @kfree(ptr noundef nonnull %1) #2 br label %43 11: ; preds = %5 store i32 1, ptr %1, align 8, !tbaa !14 %12 = tail call i32 @iscsit_set_default_tpg_attribs(ptr noundef nonnull %1) #2 %13 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 2 %14 = tail call i64 @iscsi_create_default_params(ptr noundef nonnull %13) #2 %15 = icmp slt i64 %14, 0 br i1 %15, label %36, label %16 16: ; preds = %11 %17 = load i32, ptr @AUTHMETHOD, align 4, !tbaa !15 %18 = load i32, ptr %13, align 8, !tbaa !16 %19 = tail call ptr @iscsi_find_param_from_key(i32 noundef %17, i32 noundef %18) #2 %20 = icmp eq ptr %19, null br i1 %20, label %33, label %21 21: ; preds = %16 %22 = tail call i64 @iscsi_update_param_value(ptr noundef nonnull %19, ptr noundef nonnull @.str.1) #2 %23 = icmp slt i64 %22, 0 br i1 %23, label %33, label %24 24: ; preds = %21 %25 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 5 store i64 0, ptr %25, align 8, !tbaa !17 %26 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 3 %27 = tail call i32 @spin_lock(ptr noundef nonnull %26) #2 %28 = load i32, ptr @TPG_STATE_ACTIVE, align 4, !tbaa !15 %29 = getelementptr inbounds %struct.iscsi_portal_group, ptr %1, i64 0, i32 4 store i32 %28, ptr %29, align 8, !tbaa !18 %30 = tail call i32 @spin_unlock(ptr noundef nonnull %26) #2 %31 = load ptr, ptr @iscsit_global, align 8, !tbaa !19 store ptr %1, ptr %31, align 8, !tbaa !20 %32 = tail call i32 @pr_debug(ptr noundef nonnull @.str.2) #2 br label %43 33: ; preds = %21, %16 %34 = load i32, ptr %13, align 8, !tbaa !16 %35 = tail call i32 @iscsi_release_param_list(i32 noundef %34) #2 br label %36 36: ; preds = %11, %33 %37 = load i32, ptr %1, align 8, !tbaa !14 %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = tail call i32 @core_tpg_deregister(ptr noundef nonnull %6) #2 br label %41 41: ; preds = %39, %36 %42 = tail call i32 @kfree(ptr noundef nonnull %1) #2 br label %43 43: ; preds = %41, %24, %9, %3 %44 = phi i32 [ -1, %9 ], [ -1, %41 ], [ 0, %24 ], [ -1, %3 ] ret i32 %44 } declare ptr @iscsit_alloc_portal_group(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef) local_unnamed_addr #1 declare i32 @core_tpg_register(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @iscsit_set_default_tpg_attribs(ptr noundef) local_unnamed_addr #1 declare i64 @iscsi_create_default_params(ptr noundef) local_unnamed_addr #1 declare ptr @iscsi_find_param_from_key(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @iscsi_update_param_value(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @pr_debug(ptr noundef) local_unnamed_addr #1 declare i32 @iscsi_release_param_list(i32 noundef) local_unnamed_addr #1 declare i32 @core_tpg_deregister(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, !11, i64 8} !6 = !{!"iscsi_portal_group", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !12, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_7__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!6, !7, i64 16} !17 = !{!6, !13, i64 32} !18 = !{!6, !7, i64 24} !19 = !{!11, !11, i64 0} !20 = !{!21, !11, i64 0} !21 = !{!"TYPE_6__", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_tpg.c_iscsit_load_discovery_tpg.c' source_filename = "AnghaBench/linux/drivers/target/iscsi/extr_iscsi_target_tpg.c_iscsit_load_discovery_tpg.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"Unable to allocate struct iscsi_portal_group\0A\00", align 1 @iscsi_ops = common global i32 0, align 4 @AUTHMETHOD = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"CHAP,None\00", align 1 @TPG_STATE_ACTIVE = common local_unnamed_addr global i32 0, align 4 @iscsit_global = common local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [35 x i8] c"CORE[0] - Allocated Discovery TPG\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @iscsit_load_discovery_tpg() local_unnamed_addr #0 { %1 = tail call ptr @iscsit_alloc_portal_group(ptr noundef null, i32 noundef 1) #2 %2 = icmp eq ptr %1, null br i1 %2, label %3, label %5 3: ; preds = %0 %4 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2 br label %43 5: ; preds = %0 %6 = getelementptr inbounds i8, ptr %1, i64 8 store ptr @iscsi_ops, ptr %6, align 8, !tbaa !6 %7 = tail call i32 @core_tpg_register(ptr noundef null, ptr noundef nonnull %6, i32 noundef -1) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = tail call i32 @kfree(ptr noundef nonnull %1) #2 br label %43 11: ; preds = %5 store i32 1, ptr %1, align 8, !tbaa !15 %12 = tail call i32 @iscsit_set_default_tpg_attribs(ptr noundef nonnull %1) #2 %13 = getelementptr inbounds i8, ptr %1, i64 16 %14 = tail call i64 @iscsi_create_default_params(ptr noundef nonnull %13) #2 %15 = icmp slt i64 %14, 0 br i1 %15, label %36, label %16 16: ; preds = %11 %17 = load i32, ptr @AUTHMETHOD, align 4, !tbaa !16 %18 = load i32, ptr %13, align 8, !tbaa !17 %19 = tail call ptr @iscsi_find_param_from_key(i32 noundef %17, i32 noundef %18) #2 %20 = icmp eq ptr %19, null br i1 %20, label %33, label %21 21: ; preds = %16 %22 = tail call i64 @iscsi_update_param_value(ptr noundef nonnull %19, ptr noundef nonnull @.str.1) #2 %23 = icmp slt i64 %22, 0 br i1 %23, label %33, label %24 24: ; preds = %21 %25 = getelementptr inbounds i8, ptr %1, i64 32 store i64 0, ptr %25, align 8, !tbaa !18 %26 = getelementptr inbounds i8, ptr %1, i64 20 %27 = tail call i32 @spin_lock(ptr noundef nonnull %26) #2 %28 = load i32, ptr @TPG_STATE_ACTIVE, align 4, !tbaa !16 %29 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %28, ptr %29, align 8, !tbaa !19 %30 = tail call i32 @spin_unlock(ptr noundef nonnull %26) #2 %31 = load ptr, ptr @iscsit_global, align 8, !tbaa !20 store ptr %1, ptr %31, align 8, !tbaa !21 %32 = tail call i32 @pr_debug(ptr noundef nonnull @.str.2) #2 br label %43 33: ; preds = %21, %16 %34 = load i32, ptr %13, align 8, !tbaa !17 %35 = tail call i32 @iscsi_release_param_list(i32 noundef %34) #2 br label %36 36: ; preds = %11, %33 %37 = load i32, ptr %1, align 8, !tbaa !15 %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = tail call i32 @core_tpg_deregister(ptr noundef nonnull %6) #2 br label %41 41: ; preds = %39, %36 %42 = tail call i32 @kfree(ptr noundef nonnull %1) #2 br label %43 43: ; preds = %41, %24, %9, %3 %44 = phi i32 [ -1, %9 ], [ -1, %41 ], [ 0, %24 ], [ -1, %3 ] ret i32 %44 } declare ptr @iscsit_alloc_portal_group(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef) local_unnamed_addr #1 declare i32 @core_tpg_register(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @iscsit_set_default_tpg_attribs(ptr noundef) local_unnamed_addr #1 declare i64 @iscsi_create_default_params(ptr noundef) local_unnamed_addr #1 declare ptr @iscsi_find_param_from_key(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @iscsi_update_param_value(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @pr_debug(ptr noundef) local_unnamed_addr #1 declare i32 @iscsi_release_param_list(i32 noundef) local_unnamed_addr #1 declare i32 @core_tpg_deregister(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, !12, i64 8} !7 = !{!"iscsi_portal_group", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !13, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!7, !8, i64 16} !18 = !{!7, !14, i64 32} !19 = !{!7, !8, i64 24} !20 = !{!12, !12, i64 0} !21 = !{!22, !12, i64 0} !22 = !{!"TYPE_6__", !12, i64 0}
linux_drivers_target_iscsi_extr_iscsi_target_tpg.c_iscsit_load_discovery_tpg
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_plane.h_plane_coplanar.c' source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_plane.h_plane_coplanar.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.plane = type { float, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @plane_coplanar], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @plane_coplanar(ptr noundef %0, ptr noundef %1, float noundef %2) #0 { %4 = getelementptr inbounds %struct.plane, ptr %0, i64 0, i32 1 %5 = getelementptr inbounds %struct.plane, ptr %1, i64 0, i32 1 %6 = tail call float @vec3_dot(ptr noundef nonnull %4, ptr noundef nonnull %5) #2 %7 = tail call i32 @close_float(float noundef %6, float noundef 1.000000e+00, float noundef %2) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %3 %10 = load float, ptr %0, align 4, !tbaa !5 br label %17 11: ; preds = %3 %12 = tail call i32 @close_float(float noundef %6, float noundef -1.000000e+00, float noundef %2) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %21, label %14 14: ; preds = %11 %15 = load float, ptr %0, align 4, !tbaa !5 %16 = fneg float %15 br label %17 17: ; preds = %9, %14 %18 = phi float [ %16, %14 ], [ %10, %9 ] %19 = load float, ptr %1, align 4, !tbaa !5 %20 = tail call i32 @close_float(float noundef %18, float noundef %19, float noundef %2) #2 br label %21 21: ; preds = %17, %11 %22 = phi i32 [ 0, %11 ], [ %20, %17 ] ret i32 %22 } declare float @vec3_dot(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @close_float(float noundef, float noundef, float 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 = !{!"plane", !7, i64 0, !10, i64 4} !7 = !{!"float", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_plane.h_plane_coplanar.c' source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_plane.h_plane_coplanar.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 @plane_coplanar], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @plane_coplanar(ptr noundef %0, ptr noundef %1, float noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = getelementptr inbounds i8, ptr %1, i64 4 %6 = tail call float @vec3_dot(ptr noundef nonnull %4, ptr noundef nonnull %5) #2 %7 = tail call i32 @close_float(float noundef %6, float noundef 1.000000e+00, float noundef %2) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %3 %10 = load float, ptr %0, align 4, !tbaa !6 br label %17 11: ; preds = %3 %12 = tail call i32 @close_float(float noundef %6, float noundef -1.000000e+00, float noundef %2) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %21, label %14 14: ; preds = %11 %15 = load float, ptr %0, align 4, !tbaa !6 %16 = fneg float %15 br label %17 17: ; preds = %9, %14 %18 = phi float [ %16, %14 ], [ %10, %9 ] %19 = load float, ptr %1, align 4, !tbaa !6 %20 = tail call i32 @close_float(float noundef %18, float noundef %19, float noundef %2) #2 br label %21 21: ; preds = %17, %11 %22 = phi i32 [ 0, %11 ], [ %20, %17 ] ret i32 %22 } declare float @vec3_dot(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @close_float(float noundef, float noundef, float 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 = !{!"plane", !8, i64 0, !11, i64 4} !8 = !{!"float", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0}
obs-studio_libobs_graphics_extr_plane.h_plane_coplanar
; ModuleID = 'AnghaBench/linux/net/nfc/extr_llcp_commands.c_nfc_llcp_send_dm.c' source_filename = "AnghaBench/linux/net/nfc/extr_llcp_commands.c_nfc_llcp_send_dm.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.nfc_llcp_local = type { i32, ptr } %struct.nfc_dev = type { i64, i64 } @.str = private unnamed_addr constant [24 x i8] c"Sending DM reason 0x%x\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @LLCP_HEADER_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @NFC_HEADER_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @LLCP_PDU_DM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @nfc_llcp_send_dm(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 store i32 %3, ptr %5, align 4, !tbaa !5 %6 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %3) #2 %7 = icmp eq ptr %0, null br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i32, ptr @ENODEV, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 br label %44 11: ; preds = %4 %12 = getelementptr inbounds %struct.nfc_llcp_local, ptr %0, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !9 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr @ENODEV, align 4, !tbaa !5 %17 = sub nsw i32 0, %16 br label %44 18: ; preds = %11 %19 = load i64, ptr @LLCP_HEADER_SIZE, align 8, !tbaa !12 %20 = load i64, ptr %13, align 8, !tbaa !14 %21 = getelementptr inbounds %struct.nfc_dev, ptr %13, i64 0, i32 1 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = load i64, ptr @NFC_HEADER_SIZE, align 8, !tbaa !12 %24 = add i64 %19, 1 %25 = add i64 %24, %20 %26 = add i64 %25, %22 %27 = add i64 %26, %23 %28 = trunc i64 %27 to i32 %29 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %30 = tail call ptr @alloc_skb(i32 noundef %28, i32 noundef %29) #2 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %35 32: ; preds = %18 %33 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %34 = sub nsw i32 0, %33 br label %44 35: ; preds = %18 %36 = load i64, ptr %13, align 8, !tbaa !14 %37 = load i64, ptr @NFC_HEADER_SIZE, align 8, !tbaa !12 %38 = add nsw i64 %37, %36 %39 = tail call i32 @skb_reserve(ptr noundef nonnull %30, i64 noundef %38) #2 %40 = load i32, ptr @LLCP_PDU_DM, align 4, !tbaa !5 %41 = tail call ptr @llcp_add_header(ptr noundef nonnull %30, i32 noundef %2, i32 noundef %1, i32 noundef %40) #2 %42 = call i32 @skb_put_data(ptr noundef %41, ptr noundef nonnull %5, i32 noundef 1) #2 %43 = call i32 @skb_queue_head(ptr noundef nonnull %0, ptr noundef %41) #2 br label %44 44: ; preds = %35, %32, %15, %8 %45 = phi i32 [ %10, %8 ], [ %17, %15 ], [ %34, %32 ], [ 0, %35 ] ret i32 %45 } declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @llcp_add_header(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_put_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_queue_head(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, !11, i64 8} !10 = !{!"nfc_llcp_local", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"nfc_dev", !13, i64 0, !13, i64 8} !16 = !{!15, !13, i64 8}
; ModuleID = 'AnghaBench/linux/net/nfc/extr_llcp_commands.c_nfc_llcp_send_dm.c' source_filename = "AnghaBench/linux/net/nfc/extr_llcp_commands.c_nfc_llcp_send_dm.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"Sending DM reason 0x%x\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @LLCP_HEADER_SIZE = common local_unnamed_addr global i64 0, align 8 @NFC_HEADER_SIZE = common local_unnamed_addr global i64 0, align 8 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @LLCP_PDU_DM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @nfc_llcp_send_dm(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 store i32 %3, ptr %5, align 4, !tbaa !6 %6 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %3) #2 %7 = icmp eq ptr %0, null br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i32, ptr @ENODEV, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 br label %44 11: ; preds = %4 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !10 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i32, ptr @ENODEV, align 4, !tbaa !6 %17 = sub nsw i32 0, %16 br label %44 18: ; preds = %11 %19 = load i64, ptr @LLCP_HEADER_SIZE, align 8, !tbaa !13 %20 = load i64, ptr %13, align 8, !tbaa !15 %21 = getelementptr inbounds i8, ptr %13, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = load i64, ptr @NFC_HEADER_SIZE, align 8, !tbaa !13 %24 = add i64 %19, 1 %25 = add i64 %24, %20 %26 = add i64 %25, %22 %27 = add i64 %26, %23 %28 = trunc i64 %27 to i32 %29 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %30 = tail call ptr @alloc_skb(i32 noundef %28, i32 noundef %29) #2 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %35 32: ; preds = %18 %33 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %34 = sub nsw i32 0, %33 br label %44 35: ; preds = %18 %36 = load i64, ptr %13, align 8, !tbaa !15 %37 = load i64, ptr @NFC_HEADER_SIZE, align 8, !tbaa !13 %38 = add nsw i64 %37, %36 %39 = tail call i32 @skb_reserve(ptr noundef nonnull %30, i64 noundef %38) #2 %40 = load i32, ptr @LLCP_PDU_DM, align 4, !tbaa !6 %41 = tail call ptr @llcp_add_header(ptr noundef nonnull %30, i32 noundef %2, i32 noundef %1, i32 noundef %40) #2 %42 = call i32 @skb_put_data(ptr noundef %41, ptr noundef nonnull %5, i32 noundef 1) #2 %43 = call i32 @skb_queue_head(ptr noundef nonnull %0, ptr noundef %41) #2 br label %44 44: ; preds = %35, %32, %15, %8 %45 = phi i32 [ %10, %8 ], [ %17, %15 ], [ %34, %32 ], [ 0, %35 ] ret i32 %45 } declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @llcp_add_header(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_put_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_queue_head(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, !12, i64 8} !11 = !{!"nfc_llcp_local", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"nfc_dev", !14, i64 0, !14, i64 8} !17 = !{!16, !14, i64 8}
linux_net_nfc_extr_llcp_commands.c_nfc_llcp_send_dm
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpas_glue.c_wpa_supplicant_channel_info.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpas_glue.c_wpa_supplicant_channel_info.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 @wpa_supplicant_channel_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wpa_supplicant_channel_info(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @wpa_drv_channel_info(ptr noundef %0, ptr noundef %1) #2 ret i32 %3 } declare i32 @wpa_drv_channel_info(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpas_glue.c_wpa_supplicant_channel_info.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpas_glue.c_wpa_supplicant_channel_info.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 @wpa_supplicant_channel_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wpa_supplicant_channel_info(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @wpa_drv_channel_info(ptr noundef %0, ptr noundef %1) #2 ret i32 %3 } declare i32 @wpa_drv_channel_info(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)"}
freebsd_contrib_wpa_wpa_supplicant_extr_wpas_glue.c_wpa_supplicant_channel_info
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_wa-hc.h_rpipe_avail_dec.c' source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_wa-hc.h_rpipe_avail_dec.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 @rpipe_avail_dec], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @rpipe_avail_dec(ptr noundef %0) #0 { %2 = tail call i32 @atomic_dec(ptr noundef %0) #2 ret void } declare i32 @atomic_dec(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)"}
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/extr_wa-hc.h_rpipe_avail_dec.c' source_filename = "AnghaBench/linux/drivers/staging/wusbcore/extr_wa-hc.h_rpipe_avail_dec.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 @rpipe_avail_dec], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @rpipe_avail_dec(ptr noundef %0) #0 { %2 = tail call i32 @atomic_dec(ptr noundef %0) #2 ret void } declare i32 @atomic_dec(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)"}
linux_drivers_staging_wusbcore_extr_wa-hc.h_rpipe_avail_dec
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_mpc85xx_gpio.c_mpc85xx_gpio_probe.c' source_filename = "AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_mpc85xx_gpio.c_mpc85xx_gpio_probe.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" @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"gpio\00", align 1 @SPR_SVR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"MPC85xx GPIO driver\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mpc85xx_gpio_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mpc85xx_gpio_probe(i32 noundef %0) #0 { %2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %21 6: ; preds = %1 %7 = tail call i32 @ofw_bus_is_compatible(i32 noundef %0, ptr noundef nonnull @.str) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %21 11: ; preds = %6 %12 = load i32, ptr @SPR_SVR, align 4, !tbaa !5 %13 = tail call i32 @mfspr(i32 noundef %12) #2 %14 = tail call i32 @SVR_VER(i32 noundef %13) #2 %15 = and i32 %14, -2 %16 = icmp eq i32 %15, 128 br i1 %16, label %19, label %17 17: ; preds = %11 %18 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %21 19: ; preds = %11 %20 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2 br label %21 21: ; preds = %19, %17, %9, %4 %22 = phi i32 [ %18, %17 ], [ 0, %19 ], [ %10, %9 ], [ %5, %4 ] ret i32 %22 } declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1 declare i32 @ofw_bus_is_compatible(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mfspr(i32 noundef) local_unnamed_addr #1 declare i32 @SVR_VER(i32 noundef) local_unnamed_addr #1 declare i32 @device_set_desc(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/freebsd/sys/powerpc/mpc85xx/extr_mpc85xx_gpio.c_mpc85xx_gpio_probe.c' source_filename = "AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_mpc85xx_gpio.c_mpc85xx_gpio_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"gpio\00", align 1 @SPR_SVR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"MPC85xx GPIO driver\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mpc85xx_gpio_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mpc85xx_gpio_probe(i32 noundef %0) #0 { %2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %21 6: ; preds = %1 %7 = tail call i32 @ofw_bus_is_compatible(i32 noundef %0, ptr noundef nonnull @.str) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %21 11: ; preds = %6 %12 = load i32, ptr @SPR_SVR, align 4, !tbaa !6 %13 = tail call i32 @mfspr(i32 noundef %12) #2 %14 = tail call i32 @SVR_VER(i32 noundef %13) #2 %15 = and i32 %14, -2 %16 = icmp eq i32 %15, 128 br i1 %16, label %19, label %17 17: ; preds = %11 %18 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %21 19: ; preds = %11 %20 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2 br label %21 21: ; preds = %19, %17, %9, %4 %22 = phi i32 [ %18, %17 ], [ 0, %19 ], [ %10, %9 ], [ %5, %4 ] ret i32 %22 } declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1 declare i32 @ofw_bus_is_compatible(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mfspr(i32 noundef) local_unnamed_addr #1 declare i32 @SVR_VER(i32 noundef) local_unnamed_addr #1 declare i32 @device_set_desc(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"}
freebsd_sys_powerpc_mpc85xx_extr_mpc85xx_gpio.c_mpc85xx_gpio_probe
; ModuleID = 'AnghaBench/Quake-III-Arena/lcc/src/extr_types.c_prtype.c' source_filename = "AnghaBench/Quake-III-Arena/lcc/src/extr_types.c_prtype.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_22__ = type { i32, %struct.TYPE_21__, ptr, i32, i32, %struct.TYPE_18__ } %struct.TYPE_21__ = type { %struct.TYPE_20__, ptr } %struct.TYPE_20__ = type { ptr } %struct.TYPE_18__ = type { i32 } %struct.TYPE_17__ = type { %struct.TYPE_16__, i32 } %struct.TYPE_16__ = type { ptr, %struct.TYPE_15__ } %struct.TYPE_15__ = type { ptr } %struct.TYPE_14__ = type { i32, i32, i32, ptr, ptr } %struct.TYPE_23__ = type { %struct.TYPE_19__, i32 } %struct.TYPE_19__ = type { i32 } @.str = private unnamed_addr constant [16 x i8] c"(%d %d %d [%p])\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"(%k %d %d [\22%s\22])\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"(%k %d %d \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c")\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"(%k %d %d [\22%s\22]\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"\0A%I\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c" %s@%d\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c":%d..%d\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"%I%s=%d\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"\0A%I{\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%I\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"%I}\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @prtype], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @prtype(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr %0, align 8, !tbaa !5 switch i32 %5, label %6 [ i32 136, label %14 i32 134, label %14 i32 130, label %14 i32 129, label %14 i32 266, label %25 i32 138, label %25 i32 128, label %25 i32 133, label %25 i32 139, label %25 i32 132, label %35 i32 131, label %35 i32 137, label %81 i32 135, label %114 ] 6: ; preds = %4 %7 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 4 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 3 %10 = load i32, ptr %9, align 8, !tbaa !15 %11 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 1, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !16 %13 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %8, i32 noundef %10, ptr noundef %12) #2 br label %24 14: ; preds = %4, %4, %4, %4 %15 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 4 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 3 %18 = load i32, ptr %17, align 8, !tbaa !15 %19 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 1, i32 1 %20 = load ptr, ptr %19, align 8, !tbaa !16 %21 = getelementptr inbounds %struct.TYPE_17__, ptr %20, i64 0, i32 1 %22 = load i32, ptr %21, align 8, !tbaa !17 %23 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %5, i32 noundef %16, i32 noundef %18, i32 noundef %22) #2 br label %24 24: ; preds = %152, %112, %79, %14, %6, %25 ret void 25: ; preds = %4, %4, %4, %4, %4 %26 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 4 %27 = load i32, ptr %26, align 4, !tbaa !14 %28 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 3 %29 = load i32, ptr %28, align 8, !tbaa !15 %30 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.2, i32 noundef %5, i32 noundef %27, i32 noundef %29) #2 %31 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 2 %32 = load ptr, ptr %31, align 8, !tbaa !21 %33 = add nsw i32 %2, 1 tail call void @prtype(ptr noundef %32, ptr noundef %1, i32 noundef %33, i32 noundef %3) %34 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.3) #2 br label %24 35: ; preds = %4, %4 %36 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 4 %37 = load i32, ptr %36, align 4, !tbaa !14 %38 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 3 %39 = load i32, ptr %38, align 8, !tbaa !15 %40 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 1, i32 1 %41 = load ptr, ptr %40, align 8, !tbaa !16 %42 = getelementptr inbounds %struct.TYPE_17__, ptr %41, i64 0, i32 1 %43 = load i32, ptr %42, align 8, !tbaa !17 %44 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.4, i32 noundef %5, i32 noundef %37, i32 noundef %39, i32 noundef %43) #2 %45 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 5 %46 = load i32, ptr %45, align 8, !tbaa !22 %47 = icmp eq i32 %46, %3 br i1 %47, label %79, label %48 48: ; preds = %35 store i32 %3, ptr %45, align 8, !tbaa !22 %49 = load ptr, ptr %40, align 8, !tbaa !16 %50 = getelementptr inbounds %struct.TYPE_16__, ptr %49, i64 0, i32 1 %51 = load ptr, ptr %50, align 8, !tbaa !23 %52 = icmp eq ptr %51, null br i1 %52, label %77, label %53 53: ; preds = %48 %54 = add nsw i32 %2, 1 br label %55 55: ; preds = %53, %73 %56 = phi ptr [ %51, %53 ], [ %75, %73 ] %57 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.5, i32 noundef %54) #2 %58 = getelementptr inbounds %struct.TYPE_14__, ptr %56, i64 0, i32 3 %59 = load ptr, ptr %58, align 8, !tbaa !24 tail call void @prtype(ptr noundef %59, ptr noundef %1, i32 noundef %54, i32 noundef %3) %60 = getelementptr inbounds %struct.TYPE_14__, ptr %56, i64 0, i32 2 %61 = load i32, ptr %60, align 8, !tbaa !26 %62 = getelementptr inbounds %struct.TYPE_14__, ptr %56, i64 0, i32 1 %63 = load i32, ptr %62, align 4, !tbaa !27 %64 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.6, i32 noundef %61, i32 noundef %63) #2 %65 = load i32, ptr %56, align 8, !tbaa !28 %66 = icmp eq i32 %65, 0 br i1 %66, label %73, label %67 67: ; preds = %55 %68 = tail call i64 @fieldsize(ptr noundef nonnull %56) #2 %69 = tail call i64 @fieldright(ptr noundef nonnull %56) #2 %70 = add nsw i64 %69, %68 %71 = tail call i64 @fieldright(ptr noundef nonnull %56) #2 %72 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.7, i64 noundef %70, i64 noundef %71) #2 br label %73 73: ; preds = %55, %67 %74 = getelementptr inbounds %struct.TYPE_14__, ptr %56, i64 0, i32 4 %75 = load ptr, ptr %74, align 8, !tbaa !23 %76 = icmp eq ptr %75, null br i1 %76, label %77, label %55, !llvm.loop !29 77: ; preds = %73, %48 %78 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.5, i32 noundef %2) #2 br label %79 79: ; preds = %77, %35 %80 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.3) #2 br label %24 81: ; preds = %4 %82 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 4 %83 = load i32, ptr %82, align 4, !tbaa !14 %84 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 3 %85 = load i32, ptr %84, align 8, !tbaa !15 %86 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 1, i32 1 %87 = load ptr, ptr %86, align 8, !tbaa !16 %88 = getelementptr inbounds %struct.TYPE_17__, ptr %87, i64 0, i32 1 %89 = load i32, ptr %88, align 8, !tbaa !17 %90 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.4, i32 noundef 137, i32 noundef %83, i32 noundef %85, i32 noundef %89) #2 %91 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 5 %92 = load i32, ptr %91, align 8, !tbaa !22 %93 = icmp eq i32 %92, %3 br i1 %93, label %112, label %94 94: ; preds = %81 %95 = load ptr, ptr %86, align 8, !tbaa !16 %96 = load ptr, ptr %95, align 8, !tbaa !31 store i32 %3, ptr %91, align 8, !tbaa !22 %97 = load ptr, ptr %96, align 8, !tbaa !23 %98 = icmp eq ptr %97, null br i1 %98, label %112, label %99 99: ; preds = %94 %100 = add nsw i32 %2, 1 br label %101 101: ; preds = %99, %101 %102 = phi i64 [ 0, %99 ], [ %108, %101 ] %103 = phi ptr [ %97, %99 ], [ %110, %101 ] %104 = getelementptr inbounds %struct.TYPE_23__, ptr %103, i64 0, i32 1 %105 = load i32, ptr %104, align 4, !tbaa !32 %106 = load i32, ptr %103, align 4, !tbaa !35 %107 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.8, i32 noundef %100, i32 noundef %105, i32 noundef %106) #2 %108 = add nuw i64 %102, 1 %109 = getelementptr inbounds ptr, ptr %96, i64 %108 %110 = load ptr, ptr %109, align 8, !tbaa !23 %111 = icmp eq ptr %110, null br i1 %111, label %112, label %101, !llvm.loop !36 112: ; preds = %101, %94, %81 %113 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.3) #2 br label %24 114: ; preds = %4 %115 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 4 %116 = load i32, ptr %115, align 4, !tbaa !14 %117 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 3 %118 = load i32, ptr %117, align 8, !tbaa !15 %119 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.2, i32 noundef 135, i32 noundef %116, i32 noundef %118) #2 %120 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 2 %121 = load ptr, ptr %120, align 8, !tbaa !21 %122 = add nsw i32 %2, 1 tail call void @prtype(ptr noundef %121, ptr noundef %1, i32 noundef %122, i32 noundef %3) %123 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 1 %124 = load ptr, ptr %123, align 8, !tbaa !37 %125 = icmp eq ptr %124, null br i1 %125, label %152, label %126 126: ; preds = %114 %127 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.9, i32 noundef %122) #2 %128 = load ptr, ptr %123, align 8, !tbaa !37 %129 = load ptr, ptr %128, align 8, !tbaa !23 %130 = icmp eq ptr %129, null br i1 %130, label %150, label %131 131: ; preds = %126 %132 = add nsw i32 %2, 2 tail call void @prtype(ptr noundef nonnull %129, ptr noundef %1, i32 noundef %132, i32 noundef %3) %133 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.11) #2 %134 = load ptr, ptr %123, align 8, !tbaa !37 %135 = getelementptr inbounds ptr, ptr %134, i64 1 %136 = load ptr, ptr %135, align 8, !tbaa !23 %137 = icmp eq ptr %136, null br i1 %137, label %150, label %138 138: ; preds = %131, %138 %139 = phi i64 [ %145, %138 ], [ 1, %131 ] %140 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.10, i32 noundef %132) #2 %141 = load ptr, ptr %123, align 8, !tbaa !37 %142 = getelementptr inbounds ptr, ptr %141, i64 %139 %143 = load ptr, ptr %142, align 8, !tbaa !23 tail call void @prtype(ptr noundef %143, ptr noundef %1, i32 noundef %132, i32 noundef %3) %144 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.11) #2 %145 = add nuw i64 %139, 1 %146 = load ptr, ptr %123, align 8, !tbaa !37 %147 = getelementptr inbounds ptr, ptr %146, i64 %145 %148 = load ptr, ptr %147, align 8, !tbaa !23 %149 = icmp eq ptr %148, null br i1 %149, label %150, label %138, !llvm.loop !38 150: ; preds = %138, %131, %126 %151 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.12, i32 noundef %122) #2 br label %152 152: ; preds = %150, %114 %153 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.3) #2 br label %24 } declare i32 @fprint(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @fieldsize(ptr noundef) local_unnamed_addr #1 declare i64 @fieldright(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_22__", !7, i64 0, !10, i64 8, !12, i64 24, !7, i64 32, !7, i64 36, !13, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_21__", !11, i64 0, !12, i64 8} !11 = !{!"TYPE_20__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_18__", !7, i64 0} !14 = !{!6, !7, i64 36} !15 = !{!6, !7, i64 32} !16 = !{!6, !12, i64 16} !17 = !{!18, !7, i64 16} !18 = !{!"TYPE_17__", !19, i64 0, !7, i64 16} !19 = !{!"TYPE_16__", !12, i64 0, !20, i64 8} !20 = !{!"TYPE_15__", !12, i64 0} !21 = !{!6, !12, i64 24} !22 = !{!6, !7, i64 40} !23 = !{!12, !12, i64 0} !24 = !{!25, !12, i64 16} !25 = !{!"TYPE_14__", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !12, i64 24} !26 = !{!25, !7, i64 8} !27 = !{!25, !7, i64 4} !28 = !{!25, !7, i64 0} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"} !31 = !{!18, !12, i64 0} !32 = !{!33, !7, i64 4} !33 = !{!"TYPE_23__", !34, i64 0, !7, i64 4} !34 = !{!"TYPE_19__", !7, i64 0} !35 = !{!33, !7, i64 0} !36 = distinct !{!36, !30} !37 = !{!6, !12, i64 8} !38 = distinct !{!38, !30, !39} !39 = !{!"llvm.loop.peeled.count", i32 1}
; ModuleID = 'AnghaBench/Quake-III-Arena/lcc/src/extr_types.c_prtype.c' source_filename = "AnghaBench/Quake-III-Arena/lcc/src/extr_types.c_prtype.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 [16 x i8] c"(%d %d %d [%p])\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"(%k %d %d [\22%s\22])\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"(%k %d %d \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c")\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"(%k %d %d [\22%s\22]\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"\0A%I\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c" %s@%d\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c":%d..%d\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"%I%s=%d\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"\0A%I{\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"%I\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"%I}\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @prtype], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @prtype(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr %0, align 8, !tbaa !6 switch i32 %5, label %6 [ i32 136, label %14 i32 134, label %14 i32 130, label %14 i32 129, label %14 i32 266, label %25 i32 138, label %25 i32 128, label %25 i32 133, label %25 i32 139, label %25 i32 132, label %35 i32 131, label %35 i32 137, label %81 i32 135, label %114 ] 6: ; preds = %4 %7 = getelementptr inbounds i8, ptr %0, i64 36 %8 = load i32, ptr %7, align 4, !tbaa !15 %9 = getelementptr inbounds i8, ptr %0, i64 32 %10 = load i32, ptr %9, align 8, !tbaa !16 %11 = getelementptr inbounds i8, ptr %0, i64 16 %12 = load ptr, ptr %11, align 8, !tbaa !17 %13 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %8, i32 noundef %10, ptr noundef %12) #2 br label %24 14: ; preds = %4, %4, %4, %4 %15 = getelementptr inbounds i8, ptr %0, i64 36 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = getelementptr inbounds i8, ptr %0, i64 32 %18 = load i32, ptr %17, align 8, !tbaa !16 %19 = getelementptr inbounds i8, ptr %0, i64 16 %20 = load ptr, ptr %19, align 8, !tbaa !17 %21 = getelementptr inbounds i8, ptr %20, i64 16 %22 = load i32, ptr %21, align 8, !tbaa !18 %23 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %5, i32 noundef %16, i32 noundef %18, i32 noundef %22) #2 br label %24 24: ; preds = %152, %112, %79, %14, %6, %25 ret void 25: ; preds = %4, %4, %4, %4, %4 %26 = getelementptr inbounds i8, ptr %0, i64 36 %27 = load i32, ptr %26, align 4, !tbaa !15 %28 = getelementptr inbounds i8, ptr %0, i64 32 %29 = load i32, ptr %28, align 8, !tbaa !16 %30 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.2, i32 noundef %5, i32 noundef %27, i32 noundef %29) #2 %31 = getelementptr inbounds i8, ptr %0, i64 24 %32 = load ptr, ptr %31, align 8, !tbaa !22 %33 = add nsw i32 %2, 1 tail call void @prtype(ptr noundef %32, ptr noundef %1, i32 noundef %33, i32 noundef %3) %34 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.3) #2 br label %24 35: ; preds = %4, %4 %36 = getelementptr inbounds i8, ptr %0, i64 36 %37 = load i32, ptr %36, align 4, !tbaa !15 %38 = getelementptr inbounds i8, ptr %0, i64 32 %39 = load i32, ptr %38, align 8, !tbaa !16 %40 = getelementptr inbounds i8, ptr %0, i64 16 %41 = load ptr, ptr %40, align 8, !tbaa !17 %42 = getelementptr inbounds i8, ptr %41, i64 16 %43 = load i32, ptr %42, align 8, !tbaa !18 %44 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.4, i32 noundef %5, i32 noundef %37, i32 noundef %39, i32 noundef %43) #2 %45 = getelementptr inbounds i8, ptr %0, i64 40 %46 = load i32, ptr %45, align 8, !tbaa !23 %47 = icmp eq i32 %46, %3 br i1 %47, label %79, label %48 48: ; preds = %35 store i32 %3, ptr %45, align 8, !tbaa !23 %49 = load ptr, ptr %40, align 8, !tbaa !17 %50 = getelementptr inbounds i8, ptr %49, i64 8 %51 = load ptr, ptr %50, align 8, !tbaa !24 %52 = icmp eq ptr %51, null br i1 %52, label %77, label %53 53: ; preds = %48 %54 = add nsw i32 %2, 1 br label %55 55: ; preds = %53, %73 %56 = phi ptr [ %51, %53 ], [ %75, %73 ] %57 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.5, i32 noundef %54) #2 %58 = getelementptr inbounds i8, ptr %56, i64 16 %59 = load ptr, ptr %58, align 8, !tbaa !25 tail call void @prtype(ptr noundef %59, ptr noundef %1, i32 noundef %54, i32 noundef %3) %60 = getelementptr inbounds i8, ptr %56, i64 8 %61 = load i32, ptr %60, align 8, !tbaa !27 %62 = getelementptr inbounds i8, ptr %56, i64 4 %63 = load i32, ptr %62, align 4, !tbaa !28 %64 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.6, i32 noundef %61, i32 noundef %63) #2 %65 = load i32, ptr %56, align 8, !tbaa !29 %66 = icmp eq i32 %65, 0 br i1 %66, label %73, label %67 67: ; preds = %55 %68 = tail call i64 @fieldsize(ptr noundef nonnull %56) #2 %69 = tail call i64 @fieldright(ptr noundef nonnull %56) #2 %70 = add nsw i64 %69, %68 %71 = tail call i64 @fieldright(ptr noundef nonnull %56) #2 %72 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.7, i64 noundef %70, i64 noundef %71) #2 br label %73 73: ; preds = %55, %67 %74 = getelementptr inbounds i8, ptr %56, i64 24 %75 = load ptr, ptr %74, align 8, !tbaa !24 %76 = icmp eq ptr %75, null br i1 %76, label %77, label %55, !llvm.loop !30 77: ; preds = %73, %48 %78 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.5, i32 noundef %2) #2 br label %79 79: ; preds = %77, %35 %80 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.3) #2 br label %24 81: ; preds = %4 %82 = getelementptr inbounds i8, ptr %0, i64 36 %83 = load i32, ptr %82, align 4, !tbaa !15 %84 = getelementptr inbounds i8, ptr %0, i64 32 %85 = load i32, ptr %84, align 8, !tbaa !16 %86 = getelementptr inbounds i8, ptr %0, i64 16 %87 = load ptr, ptr %86, align 8, !tbaa !17 %88 = getelementptr inbounds i8, ptr %87, i64 16 %89 = load i32, ptr %88, align 8, !tbaa !18 %90 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.4, i32 noundef 137, i32 noundef %83, i32 noundef %85, i32 noundef %89) #2 %91 = getelementptr inbounds i8, ptr %0, i64 40 %92 = load i32, ptr %91, align 8, !tbaa !23 %93 = icmp eq i32 %92, %3 br i1 %93, label %112, label %94 94: ; preds = %81 %95 = load ptr, ptr %86, align 8, !tbaa !17 %96 = load ptr, ptr %95, align 8, !tbaa !32 store i32 %3, ptr %91, align 8, !tbaa !23 %97 = load ptr, ptr %96, align 8, !tbaa !24 %98 = icmp eq ptr %97, null br i1 %98, label %112, label %99 99: ; preds = %94 %100 = add nsw i32 %2, 1 br label %101 101: ; preds = %99, %101 %102 = phi i64 [ 0, %99 ], [ %108, %101 ] %103 = phi ptr [ %97, %99 ], [ %110, %101 ] %104 = getelementptr inbounds i8, ptr %103, i64 4 %105 = load i32, ptr %104, align 4, !tbaa !33 %106 = load i32, ptr %103, align 4, !tbaa !36 %107 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.8, i32 noundef %100, i32 noundef %105, i32 noundef %106) #2 %108 = add nuw nsw i64 %102, 1 %109 = getelementptr inbounds ptr, ptr %96, i64 %108 %110 = load ptr, ptr %109, align 8, !tbaa !24 %111 = icmp eq ptr %110, null br i1 %111, label %112, label %101, !llvm.loop !37 112: ; preds = %101, %94, %81 %113 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.3) #2 br label %24 114: ; preds = %4 %115 = getelementptr inbounds i8, ptr %0, i64 36 %116 = load i32, ptr %115, align 4, !tbaa !15 %117 = getelementptr inbounds i8, ptr %0, i64 32 %118 = load i32, ptr %117, align 8, !tbaa !16 %119 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.2, i32 noundef 135, i32 noundef %116, i32 noundef %118) #2 %120 = getelementptr inbounds i8, ptr %0, i64 24 %121 = load ptr, ptr %120, align 8, !tbaa !22 %122 = add nsw i32 %2, 1 tail call void @prtype(ptr noundef %121, ptr noundef %1, i32 noundef %122, i32 noundef %3) %123 = getelementptr inbounds i8, ptr %0, i64 8 %124 = load ptr, ptr %123, align 8, !tbaa !38 %125 = icmp eq ptr %124, null br i1 %125, label %152, label %126 126: ; preds = %114 %127 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.9, i32 noundef %122) #2 %128 = load ptr, ptr %123, align 8, !tbaa !38 %129 = load ptr, ptr %128, align 8, !tbaa !24 %130 = icmp eq ptr %129, null br i1 %130, label %150, label %131 131: ; preds = %126 %132 = add nsw i32 %2, 2 tail call void @prtype(ptr noundef nonnull %129, ptr noundef %1, i32 noundef %132, i32 noundef %3) %133 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.11) #2 %134 = load ptr, ptr %123, align 8, !tbaa !38 %135 = getelementptr inbounds i8, ptr %134, i64 8 %136 = load ptr, ptr %135, align 8, !tbaa !24 %137 = icmp eq ptr %136, null br i1 %137, label %150, label %138 138: ; preds = %131, %138 %139 = phi i64 [ %145, %138 ], [ 1, %131 ] %140 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.10, i32 noundef %132) #2 %141 = load ptr, ptr %123, align 8, !tbaa !38 %142 = getelementptr inbounds ptr, ptr %141, i64 %139 %143 = load ptr, ptr %142, align 8, !tbaa !24 tail call void @prtype(ptr noundef %143, ptr noundef %1, i32 noundef %132, i32 noundef %3) %144 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.11) #2 %145 = add nuw nsw i64 %139, 1 %146 = load ptr, ptr %123, align 8, !tbaa !38 %147 = getelementptr inbounds ptr, ptr %146, i64 %145 %148 = load ptr, ptr %147, align 8, !tbaa !24 %149 = icmp eq ptr %148, null br i1 %149, label %150, label %138, !llvm.loop !39 150: ; preds = %138, %131, %126 %151 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.12, i32 noundef %122) #2 br label %152 152: ; preds = %150, %114 %153 = tail call i32 (ptr, ptr, ...) @fprint(ptr noundef %1, ptr noundef nonnull @.str.3) #2 br label %24 } declare i32 @fprint(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @fieldsize(ptr noundef) local_unnamed_addr #1 declare i64 @fieldright(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_22__", !8, i64 0, !11, i64 8, !13, i64 24, !8, i64 32, !8, i64 36, !14, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_21__", !12, i64 0, !13, i64 8} !12 = !{!"TYPE_20__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!"TYPE_18__", !8, i64 0} !15 = !{!7, !8, i64 36} !16 = !{!7, !8, i64 32} !17 = !{!7, !13, i64 16} !18 = !{!19, !8, i64 16} !19 = !{!"TYPE_17__", !20, i64 0, !8, i64 16} !20 = !{!"TYPE_16__", !13, i64 0, !21, i64 8} !21 = !{!"TYPE_15__", !13, i64 0} !22 = !{!7, !13, i64 24} !23 = !{!7, !8, i64 40} !24 = !{!13, !13, i64 0} !25 = !{!26, !13, i64 16} !26 = !{!"TYPE_14__", !8, i64 0, !8, i64 4, !8, i64 8, !13, i64 16, !13, i64 24} !27 = !{!26, !8, i64 8} !28 = !{!26, !8, i64 4} !29 = !{!26, !8, i64 0} !30 = distinct !{!30, !31} !31 = !{!"llvm.loop.mustprogress"} !32 = !{!19, !13, i64 0} !33 = !{!34, !8, i64 4} !34 = !{!"TYPE_23__", !35, i64 0, !8, i64 4} !35 = !{!"TYPE_19__", !8, i64 0} !36 = !{!34, !8, i64 0} !37 = distinct !{!37, !31} !38 = !{!7, !13, i64 8} !39 = distinct !{!39, !31, !40} !40 = !{!"llvm.loop.peeled.count", i32 1}
Quake-III-Arena_lcc_src_extr_types.c_prtype
; ModuleID = 'AnghaBench/freebsd/sys/mips/mips/extr_pmap.c_pmap_remove.c' source_filename = "AnghaBench/freebsd/sys/mips/mips/extr_pmap.c_pmap_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" @pvh_global_lock = dso_local global i32 0, align 4 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @NBPDR = dso_local local_unnamed_addr global i32 0, align 4 @PDRMASK = dso_local local_unnamed_addr global i32 0, align 4 @PTE_V = dso_local local_unnamed_addr global i32 0, align 4 @NBSEG = dso_local local_unnamed_addr global i32 0, align 4 @SEGMASK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @pmap_remove(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %70, label %6 6: ; preds = %3 %7 = tail call i32 @rw_wlock(ptr noundef nonnull @pvh_global_lock) #3 %8 = tail call i32 @PMAP_LOCK(ptr noundef nonnull %0) #3 %9 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11 %10 = add nsw i32 %9, %1 %11 = icmp eq i32 %10, %2 br i1 %11, label %14, label %12 12: ; preds = %6 %13 = icmp slt i32 %1, %2 br i1 %13, label %16, label %67 14: ; preds = %6 %15 = tail call i32 @pmap_remove_page(ptr noundef nonnull %0, i32 noundef %1) #3 br label %67 16: ; preds = %12, %64 %17 = phi i32 [ %65, %64 ], [ %1, %12 ] %18 = tail call ptr @pmap_segmap(ptr noundef nonnull %0, i32 noundef %17) #3 %19 = load i32, ptr @NBPDR, align 4, !tbaa !11 %20 = add nsw i32 %19, %17 %21 = load i32, ptr @PDRMASK, align 4, !tbaa !11 %22 = xor i32 %21, -1 %23 = and i32 %20, %22 %24 = icmp slt i32 %23, %17 %25 = select i1 %24, i32 %2, i32 %23 %26 = tail call ptr @pmap_pdpe_to_pde(ptr noundef %18, i32 noundef %17) #3 %27 = load i64, ptr %26, align 8, !tbaa !13 %28 = icmp eq i64 %27, 0 br i1 %28, label %64, label %29 29: ; preds = %16 %30 = tail call i32 @llvm.smin.i32(i32 %25, i32 %2) %31 = tail call ptr @pmap_pde_to_pte(ptr noundef nonnull %26, i32 noundef %17) #3 %32 = icmp eq i32 %17, %30 br i1 %32, label %58, label %33 33: ; preds = %29, %52 %34 = phi i32 [ %53, %52 ], [ %30, %29 ] %35 = phi ptr [ %54, %52 ], [ %31, %29 ] %36 = phi i32 [ %56, %52 ], [ %17, %29 ] %37 = load i32, ptr @PTE_V, align 4, !tbaa !11 %38 = tail call i32 @pte_test(ptr noundef %35, i32 noundef %37) #3 %39 = icmp eq i32 %38, 0 %40 = icmp eq i32 %34, %30 br i1 %39, label %41, label %44 41: ; preds = %33 br i1 %40, label %52, label %42 42: ; preds = %41 %43 = tail call i32 @pmap_invalidate_range(ptr noundef nonnull %0, i32 noundef %34, i32 noundef %36) #3 br label %52 44: ; preds = %33 %45 = select i1 %40, i32 %36, i32 %34 %46 = load i64, ptr %26, align 8, !tbaa !13 %47 = tail call i64 @pmap_remove_pte(ptr noundef nonnull %0, ptr noundef %35, i32 noundef %36, i64 noundef %46) #3 %48 = icmp eq i64 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %44 %50 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11 %51 = add nsw i32 %50, %36 br label %58 52: ; preds = %44, %41, %42 %53 = phi i32 [ %45, %44 ], [ %30, %42 ], [ %30, %41 ] %54 = getelementptr inbounds i32, ptr %35, i64 1 %55 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11 %56 = add nsw i32 %55, %36 %57 = icmp eq i32 %56, %30 br i1 %57, label %58, label %33, !llvm.loop !14 58: ; preds = %52, %29, %49 %59 = phi i32 [ %51, %49 ], [ %17, %29 ], [ %30, %52 ] %60 = phi i32 [ %45, %49 ], [ %17, %29 ], [ %53, %52 ] %61 = icmp eq i32 %60, %30 br i1 %61, label %64, label %62 62: ; preds = %58 %63 = tail call i32 @pmap_invalidate_range(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %59) #3 br label %64 64: ; preds = %58, %62, %16 %65 = phi i32 [ %25, %16 ], [ %30, %62 ], [ %30, %58 ] %66 = icmp slt i32 %65, %2 br i1 %66, label %16, label %67, !llvm.loop !16 67: ; preds = %64, %12, %14 %68 = tail call i32 @rw_wunlock(ptr noundef nonnull @pvh_global_lock) #3 %69 = tail call i32 @PMAP_UNLOCK(ptr noundef nonnull %0) #3 br label %70 70: ; preds = %3, %67 ret void } declare i32 @rw_wlock(ptr noundef) local_unnamed_addr #1 declare i32 @PMAP_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @pmap_remove_page(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pmap_segmap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pmap_pdpe_to_pde(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pmap_pde_to_pte(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pte_test(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pmap_invalidate_range(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @pmap_remove_pte(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rw_wunlock(ptr noundef) local_unnamed_addr #1 declare i32 @PMAP_UNLOCK(ptr 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, !8, i64 0} !6 = !{!"TYPE_11__", !7, i64 0} !7 = !{!"TYPE_10__", !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 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15}
; ModuleID = 'AnghaBench/freebsd/sys/mips/mips/extr_pmap.c_pmap_remove.c' source_filename = "AnghaBench/freebsd/sys/mips/mips/extr_pmap.c_pmap_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pvh_global_lock = common global i32 0, align 4 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @NBPDR = common local_unnamed_addr global i32 0, align 4 @PDRMASK = common local_unnamed_addr global i32 0, align 4 @PTE_V = common local_unnamed_addr global i32 0, align 4 @NBSEG = common local_unnamed_addr global i32 0, align 4 @SEGMASK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @pmap_remove(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %70, label %6 6: ; preds = %3 %7 = tail call i32 @rw_wlock(ptr noundef nonnull @pvh_global_lock) #3 %8 = tail call i32 @PMAP_LOCK(ptr noundef nonnull %0) #3 %9 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !12 %10 = add nsw i32 %9, %1 %11 = icmp eq i32 %10, %2 br i1 %11, label %14, label %12 12: ; preds = %6 %13 = icmp slt i32 %1, %2 br i1 %13, label %16, label %67 14: ; preds = %6 %15 = tail call i32 @pmap_remove_page(ptr noundef nonnull %0, i32 noundef %1) #3 br label %67 16: ; preds = %12, %64 %17 = phi i32 [ %65, %64 ], [ %1, %12 ] %18 = tail call ptr @pmap_segmap(ptr noundef nonnull %0, i32 noundef %17) #3 %19 = load i32, ptr @NBPDR, align 4, !tbaa !12 %20 = add nsw i32 %19, %17 %21 = load i32, ptr @PDRMASK, align 4, !tbaa !12 %22 = xor i32 %21, -1 %23 = and i32 %20, %22 %24 = icmp slt i32 %23, %17 %25 = select i1 %24, i32 %2, i32 %23 %26 = tail call ptr @pmap_pdpe_to_pde(ptr noundef %18, i32 noundef %17) #3 %27 = load i64, ptr %26, align 8, !tbaa !14 %28 = icmp eq i64 %27, 0 br i1 %28, label %64, label %29 29: ; preds = %16 %30 = tail call i32 @llvm.smin.i32(i32 %25, i32 %2) %31 = tail call ptr @pmap_pde_to_pte(ptr noundef nonnull %26, i32 noundef %17) #3 %32 = icmp eq i32 %17, %30 br i1 %32, label %58, label %33 33: ; preds = %29, %52 %34 = phi i32 [ %53, %52 ], [ %30, %29 ] %35 = phi ptr [ %54, %52 ], [ %31, %29 ] %36 = phi i32 [ %56, %52 ], [ %17, %29 ] %37 = load i32, ptr @PTE_V, align 4, !tbaa !12 %38 = tail call i32 @pte_test(ptr noundef %35, i32 noundef %37) #3 %39 = icmp eq i32 %38, 0 %40 = icmp eq i32 %34, %30 br i1 %39, label %41, label %44 41: ; preds = %33 br i1 %40, label %52, label %42 42: ; preds = %41 %43 = tail call i32 @pmap_invalidate_range(ptr noundef nonnull %0, i32 noundef %34, i32 noundef %36) #3 br label %52 44: ; preds = %33 %45 = select i1 %40, i32 %36, i32 %34 %46 = load i64, ptr %26, align 8, !tbaa !14 %47 = tail call i64 @pmap_remove_pte(ptr noundef nonnull %0, ptr noundef %35, i32 noundef %36, i64 noundef %46) #3 %48 = icmp eq i64 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %44 %50 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !12 %51 = add nsw i32 %50, %36 br label %58 52: ; preds = %44, %41, %42 %53 = phi i32 [ %45, %44 ], [ %30, %42 ], [ %30, %41 ] %54 = getelementptr inbounds i8, ptr %35, i64 4 %55 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !12 %56 = add nsw i32 %55, %36 %57 = icmp eq i32 %56, %30 br i1 %57, label %58, label %33, !llvm.loop !15 58: ; preds = %52, %29, %49 %59 = phi i32 [ %51, %49 ], [ %17, %29 ], [ %30, %52 ] %60 = phi i32 [ %45, %49 ], [ %17, %29 ], [ %53, %52 ] %61 = icmp eq i32 %60, %30 br i1 %61, label %64, label %62 62: ; preds = %58 %63 = tail call i32 @pmap_invalidate_range(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %59) #3 br label %64 64: ; preds = %58, %62, %16 %65 = phi i32 [ %25, %16 ], [ %30, %62 ], [ %30, %58 ] %66 = icmp slt i32 %65, %2 br i1 %66, label %16, label %67, !llvm.loop !17 67: ; preds = %64, %12, %14 %68 = tail call i32 @rw_wunlock(ptr noundef nonnull @pvh_global_lock) #3 %69 = tail call i32 @PMAP_UNLOCK(ptr noundef nonnull %0) #3 br label %70 70: ; preds = %3, %67 ret void } declare i32 @rw_wlock(ptr noundef) local_unnamed_addr #1 declare i32 @PMAP_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @pmap_remove_page(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pmap_segmap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pmap_pdpe_to_pde(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pmap_pde_to_pte(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pte_test(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pmap_invalidate_range(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @pmap_remove_pte(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rw_wunlock(ptr noundef) local_unnamed_addr #1 declare i32 @PMAP_UNLOCK(ptr 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, !9, i64 0} !7 = !{!"TYPE_11__", !8, i64 0} !8 = !{!"TYPE_10__", !9, i64 0} !9 = !{!"long", !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 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16}
freebsd_sys_mips_mips_extr_pmap.c_pmap_remove
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_packet.c_ldns_pkt_set_rcode.c' source_filename = "AnghaBench/freebsd/contrib/ldns/extr_packet.c_ldns_pkt_set_rcode.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(write, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @ldns_pkt_set_rcode(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 store i32 %1, ptr %3, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, 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 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_packet.c_ldns_pkt_set_rcode.c' source_filename = "AnghaBench/freebsd/contrib/ldns/extr_packet.c_ldns_pkt_set_rcode.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(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @ldns_pkt_set_rcode(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 store i32 %1, ptr %3, align 4, !tbaa !11 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, 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 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"int", !9, i64 0}
freebsd_contrib_ldns_extr_packet.c_ldns_pkt_set_rcode
; ModuleID = 'AnghaBench/linux/drivers/crypto/caam/extr_qi.c_init_cgr.c' source_filename = "AnghaBench/linux/drivers/crypto/caam/extr_qi.c_init_cgr.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__ } %struct.TYPE_5__ = type { i32, i32 } %struct.qm_mcc_initcgr = type { %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { i32, i32, i32 } @MAX_RSP_FQ_BACKLOG_PER_CPU = dso_local local_unnamed_addr global i32 0, align 4 @qipriv = dso_local global %struct.TYPE_6__ zeroinitializer, align 4 @.str = private unnamed_addr constant [34 x i8] c"CGR alloc failed for rsp FQs: %d\0A\00", align 1 @cgr_cb = dso_local local_unnamed_addr global i32 0, align 4 @QM_CGR_WE_CSCN_EN = dso_local local_unnamed_addr global i32 0, align 4 @QM_CGR_WE_CS_THRES = dso_local local_unnamed_addr global i32 0, align 4 @QM_CGR_WE_MODE = dso_local local_unnamed_addr global i32 0, align 4 @QM_CGR_EN = dso_local local_unnamed_addr global i32 0, align 4 @QMAN_CGR_MODE_FRAME = dso_local local_unnamed_addr global i32 0, align 4 @QMAN_CGR_FLAG_USE_INIT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Error %d creating CAAM CGRID: %u\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Congestion threshold set to %llu\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_cgr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @init_cgr(ptr noundef %0) #0 { %2 = alloca %struct.qm_mcc_initcgr, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = tail call i32 (...) @qman_affine_cpus() #3 %4 = tail call i64 @cpumask_weight(i32 noundef %3) #3 %5 = trunc i64 %4 to i32 %6 = load i32, ptr @MAX_RSP_FQ_BACKLOG_PER_CPU, align 4, !tbaa !5 %7 = mul nsw i32 %6, %5 %8 = tail call i32 @qman_alloc_cgrid(ptr noundef nonnull @qipriv) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = tail call i32 (ptr, ptr, i32, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %8) #3 br label %35 12: ; preds = %1 %13 = load i32, ptr @cgr_cb, align 4, !tbaa !5 store i32 %13, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @qipriv, i64 0, i32 0, i32 1), align 4, !tbaa !9 %14 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #3 %15 = load i32, ptr @QM_CGR_WE_CSCN_EN, align 4, !tbaa !5 %16 = load i32, ptr @QM_CGR_WE_CS_THRES, align 4, !tbaa !5 %17 = or i32 %16, %15 %18 = load i32, ptr @QM_CGR_WE_MODE, align 4, !tbaa !5 %19 = or i32 %17, %18 %20 = call i32 @cpu_to_be16(i32 noundef %19) #3 %21 = getelementptr inbounds %struct.qm_mcc_initcgr, ptr %2, i64 0, i32 1 store i32 %20, ptr %21, align 4, !tbaa !12 %22 = load i32, ptr @QM_CGR_EN, align 4, !tbaa !5 %23 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 2 store i32 %22, ptr %23, align 4, !tbaa !15 %24 = load i32, ptr @QMAN_CGR_MODE_FRAME, align 4, !tbaa !5 %25 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1 store i32 %24, ptr %25, align 4, !tbaa !16 %26 = call i32 @qm_cgr_cs_thres_set64(ptr noundef nonnull %2, i32 noundef %7, i32 noundef 1) #3 %27 = load i32, ptr @QMAN_CGR_FLAG_USE_INIT, align 4, !tbaa !5 %28 = call i32 @qman_create_cgr(ptr noundef nonnull @qipriv, i32 noundef %27, ptr noundef nonnull %2) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %12 %31 = load i32, ptr @qipriv, align 4, !tbaa !17 %32 = call i32 (ptr, ptr, i32, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %28, i32 noundef %31) #3 br label %35 33: ; preds = %12 %34 = call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %7) #3 br label %35 35: ; preds = %33, %30, %10 %36 = phi i32 [ %8, %10 ], [ %28, %30 ], [ 0, %33 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @cpumask_weight(i32 noundef) local_unnamed_addr #2 declare i32 @qman_affine_cpus(...) local_unnamed_addr #2 declare i32 @qman_alloc_cgrid(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #2 declare i32 @qm_cgr_cs_thres_set64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qman_create_cgr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"TYPE_5__", !6, i64 0, !6, i64 4} !12 = !{!13, !6, i64 12} !13 = !{!"qm_mcc_initcgr", !14, i64 0, !6, i64 12} !14 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !6, i64 8} !15 = !{!13, !6, i64 8} !16 = !{!13, !6, i64 4} !17 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/caam/extr_qi.c_init_cgr.c' source_filename = "AnghaBench/linux/drivers/crypto/caam/extr_qi.c_init_cgr.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 { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32 } %struct.qm_mcc_initcgr = type { %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { i32, i32, i32 } @MAX_RSP_FQ_BACKLOG_PER_CPU = common local_unnamed_addr global i32 0, align 4 @qipriv = common global %struct.TYPE_6__ zeroinitializer, align 4 @.str = private unnamed_addr constant [34 x i8] c"CGR alloc failed for rsp FQs: %d\0A\00", align 1 @cgr_cb = common local_unnamed_addr global i32 0, align 4 @QM_CGR_WE_CSCN_EN = common local_unnamed_addr global i32 0, align 4 @QM_CGR_WE_CS_THRES = common local_unnamed_addr global i32 0, align 4 @QM_CGR_WE_MODE = common local_unnamed_addr global i32 0, align 4 @QM_CGR_EN = common local_unnamed_addr global i32 0, align 4 @QMAN_CGR_MODE_FRAME = common local_unnamed_addr global i32 0, align 4 @QMAN_CGR_FLAG_USE_INIT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Error %d creating CAAM CGRID: %u\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Congestion threshold set to %llu\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @init_cgr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @init_cgr(ptr noundef %0) #0 { %2 = alloca %struct.qm_mcc_initcgr, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 %3 = tail call i32 @qman_affine_cpus() #3 %4 = tail call i64 @cpumask_weight(i32 noundef %3) #3 %5 = trunc i64 %4 to i32 %6 = load i32, ptr @MAX_RSP_FQ_BACKLOG_PER_CPU, align 4, !tbaa !6 %7 = mul nsw i32 %6, %5 %8 = tail call i32 @qman_alloc_cgrid(ptr noundef nonnull @qipriv) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = tail call i32 (ptr, ptr, i32, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %8) #3 br label %35 12: ; preds = %1 %13 = load i32, ptr @cgr_cb, align 4, !tbaa !6 store i32 %13, ptr getelementptr inbounds (i8, ptr @qipriv, i64 4), align 4, !tbaa !10 %14 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #3 %15 = load i32, ptr @QM_CGR_WE_CSCN_EN, align 4, !tbaa !6 %16 = load i32, ptr @QM_CGR_WE_CS_THRES, align 4, !tbaa !6 %17 = or i32 %16, %15 %18 = load i32, ptr @QM_CGR_WE_MODE, align 4, !tbaa !6 %19 = or i32 %17, %18 %20 = call i32 @cpu_to_be16(i32 noundef %19) #3 %21 = getelementptr inbounds i8, ptr %2, i64 12 store i32 %20, ptr %21, align 4, !tbaa !13 %22 = load i32, ptr @QM_CGR_EN, align 4, !tbaa !6 %23 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %22, ptr %23, align 4, !tbaa !16 %24 = load i32, ptr @QMAN_CGR_MODE_FRAME, align 4, !tbaa !6 %25 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %24, ptr %25, align 4, !tbaa !17 %26 = call i32 @qm_cgr_cs_thres_set64(ptr noundef nonnull %2, i32 noundef %7, i32 noundef 1) #3 %27 = load i32, ptr @QMAN_CGR_FLAG_USE_INIT, align 4, !tbaa !6 %28 = call i32 @qman_create_cgr(ptr noundef nonnull @qipriv, i32 noundef %27, ptr noundef nonnull %2) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %12 %31 = load i32, ptr @qipriv, align 4, !tbaa !18 %32 = call i32 (ptr, ptr, i32, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %28, i32 noundef %31) #3 br label %35 33: ; preds = %12 %34 = call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %7) #3 br label %35 35: ; preds = %33, %30, %10 %36 = phi i32 [ %8, %10 ], [ %28, %30 ], [ 0, %33 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @cpumask_weight(i32 noundef) local_unnamed_addr #2 declare i32 @qman_affine_cpus(...) local_unnamed_addr #2 declare i32 @qman_alloc_cgrid(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #2 declare i32 @qm_cgr_cs_thres_set64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qman_create_cgr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !7, i64 0, !7, i64 4} !13 = !{!14, !7, i64 12} !14 = !{!"qm_mcc_initcgr", !15, i64 0, !7, i64 12} !15 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8} !16 = !{!14, !7, i64 8} !17 = !{!14, !7, i64 4} !18 = !{!11, !7, i64 0}
linux_drivers_crypto_caam_extr_qi.c_init_cgr
; ModuleID = 'AnghaBench/micropython/ports/teensy/extr_servo.c_servo_obj_pin.c' source_filename = "AnghaBench/micropython/ports/teensy/extr_servo.c_servo_obj_pin.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" @servo_pin = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @servo_obj_pin], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @servo_obj_pin(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr @servo_pin, align 8, !tbaa !5 %3 = load i64, ptr %0, align 8, !tbaa !9 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = tail call ptr @MP_OBJ_NEW_SMALL_INT(i32 noundef %5) #2 ret ptr %6 } declare ptr @MP_OBJ_NEW_SMALL_INT(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, !11, i64 0} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/micropython/ports/teensy/extr_servo.c_servo_obj_pin.c' source_filename = "AnghaBench/micropython/ports/teensy/extr_servo.c_servo_obj_pin.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @servo_pin = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @servo_obj_pin], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @servo_obj_pin(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr @servo_pin, align 8, !tbaa !6 %3 = load i64, ptr %0, align 8, !tbaa !10 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = tail call ptr @MP_OBJ_NEW_SMALL_INT(i32 noundef %5) #2 ret ptr %6 } declare ptr @MP_OBJ_NEW_SMALL_INT(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, !12, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
micropython_ports_teensy_extr_servo.c_servo_obj_pin
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/common/extr_hostinfo.c_test_lib__common__hostinfo_c.c' source_filename = "AnghaBench/h2o/t/00unit/lib/common/extr_hostinfo.c_test_lib__common__hostinfo_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"aton\00", align 1 @test_aton = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_lib__common__hostinfo_c() local_unnamed_addr #0 { %1 = load i32, ptr @test_aton, align 4, !tbaa !5 %2 = tail call i32 @subtest(ptr noundef nonnull @.str, i32 noundef %1) #2 ret void } declare i32 @subtest(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/h2o/t/00unit/lib/common/extr_hostinfo.c_test_lib__common__hostinfo_c.c' source_filename = "AnghaBench/h2o/t/00unit/lib/common/extr_hostinfo.c_test_lib__common__hostinfo_c.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"aton\00", align 1 @test_aton = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_lib__common__hostinfo_c() local_unnamed_addr #0 { %1 = load i32, ptr @test_aton, align 4, !tbaa !6 %2 = tail call i32 @subtest(ptr noundef nonnull @.str, i32 noundef %1) #2 ret void } declare i32 @subtest(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"}
h2o_t_00unit_lib_common_extr_hostinfo.c_test_lib__common__hostinfo_c
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu.c_kvmppc_mmu_book3s_64_init.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu.c_kvmppc_mmu_book3s_64_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_2__ = type { i32, %struct.kvmppc_mmu } %struct.kvmppc_mmu = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr } @kvmppc_mmu_book3s_64_mtsrin = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbmte = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbmfee = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbmfev = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbfee = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbie = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbia = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_xlate = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_reset_msr = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_tlbie = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_esid_to_vsid = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_ea_to_vp = dso_local local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_is_dcbz32 = dso_local local_unnamed_addr global i32 0, align 4 @BOOK3S_HFLAG_SLB = 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 void @kvmppc_mmu_book3s_64_init(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 13 store ptr null, ptr %3, align 8, !tbaa !5 %4 = load i32, ptr @kvmppc_mmu_book3s_64_mtsrin, align 4, !tbaa !11 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 12 store i32 %4, ptr %5, align 8, !tbaa !12 %6 = load i32, ptr @kvmppc_mmu_book3s_64_slbmte, align 4, !tbaa !11 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 11 store i32 %6, ptr %7, align 4, !tbaa !13 %8 = load i32, ptr @kvmppc_mmu_book3s_64_slbmfee, align 4, !tbaa !11 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 10 store i32 %8, ptr %9, align 8, !tbaa !14 %10 = load i32, ptr @kvmppc_mmu_book3s_64_slbmfev, align 4, !tbaa !11 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 9 store i32 %10, ptr %11, align 4, !tbaa !15 %12 = load i32, ptr @kvmppc_mmu_book3s_64_slbfee, align 4, !tbaa !11 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 8 store i32 %12, ptr %13, align 8, !tbaa !16 %14 = load i32, ptr @kvmppc_mmu_book3s_64_slbie, align 4, !tbaa !11 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 7 store i32 %14, ptr %15, align 4, !tbaa !17 %16 = load i32, ptr @kvmppc_mmu_book3s_64_slbia, align 4, !tbaa !11 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 6 store i32 %16, ptr %17, align 8, !tbaa !18 %18 = load i32, ptr @kvmppc_mmu_book3s_64_xlate, align 4, !tbaa !11 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 5 store i32 %18, ptr %19, align 4, !tbaa !19 %20 = load i32, ptr @kvmppc_mmu_book3s_64_reset_msr, align 4, !tbaa !11 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 4 store i32 %20, ptr %21, align 8, !tbaa !20 %22 = load i32, ptr @kvmppc_mmu_book3s_64_tlbie, align 4, !tbaa !11 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 3 store i32 %22, ptr %23, align 4, !tbaa !21 %24 = load i32, ptr @kvmppc_mmu_book3s_64_esid_to_vsid, align 4, !tbaa !11 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 2 store i32 %24, ptr %25, align 8, !tbaa !22 %26 = load i32, ptr @kvmppc_mmu_book3s_64_ea_to_vp, align 4, !tbaa !11 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1, i32 1 store i32 %26, ptr %27, align 4, !tbaa !23 %28 = load i32, ptr @kvmppc_mmu_book3s_64_is_dcbz32, align 4, !tbaa !11 store i32 %28, ptr %2, align 8, !tbaa !24 %29 = load i32, ptr @BOOK3S_HFLAG_SLB, align 4, !tbaa !11 %30 = load i32, ptr %0, align 8, !tbaa !25 %31 = or i32 %30, %29 store i32 %31, ptr %0, align 8, !tbaa !25 ret void } 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, !10, i64 56} !6 = !{!"kvmppc_mmu", !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, !7, i64 40, !7, i64 44, !7, i64 48, !10, i64 56} !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 48} !13 = !{!6, !7, i64 44} !14 = !{!6, !7, i64 40} !15 = !{!6, !7, i64 36} !16 = !{!6, !7, i64 32} !17 = !{!6, !7, i64 28} !18 = !{!6, !7, i64 24} !19 = !{!6, !7, i64 20} !20 = !{!6, !7, i64 16} !21 = !{!6, !7, i64 12} !22 = !{!6, !7, i64 8} !23 = !{!6, !7, i64 4} !24 = !{!6, !7, i64 0} !25 = !{!26, !7, i64 0} !26 = !{!"kvm_vcpu", !27, i64 0} !27 = !{!"TYPE_2__", !7, i64 0, !6, i64 8}
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu.c_kvmppc_mmu_book3s_64_init.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu.c_kvmppc_mmu_book3s_64_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @kvmppc_mmu_book3s_64_mtsrin = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbmte = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbmfee = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbmfev = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbfee = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbie = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_slbia = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_xlate = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_reset_msr = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_tlbie = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_esid_to_vsid = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_ea_to_vp = common local_unnamed_addr global i32 0, align 4 @kvmppc_mmu_book3s_64_is_dcbz32 = common local_unnamed_addr global i32 0, align 4 @BOOK3S_HFLAG_SLB = 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 void @kvmppc_mmu_book3s_64_init(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = getelementptr inbounds i8, ptr %0, i64 64 store ptr null, ptr %3, align 8, !tbaa !6 %4 = load i32, ptr @kvmppc_mmu_book3s_64_mtsrin, align 4, !tbaa !12 %5 = getelementptr inbounds i8, ptr %0, i64 56 store i32 %4, ptr %5, align 8, !tbaa !13 %6 = load i32, ptr @kvmppc_mmu_book3s_64_slbmte, align 4, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 52 store i32 %6, ptr %7, align 4, !tbaa !14 %8 = load i32, ptr @kvmppc_mmu_book3s_64_slbmfee, align 4, !tbaa !12 %9 = getelementptr inbounds i8, ptr %0, i64 48 store i32 %8, ptr %9, align 8, !tbaa !15 %10 = load i32, ptr @kvmppc_mmu_book3s_64_slbmfev, align 4, !tbaa !12 %11 = getelementptr inbounds i8, ptr %0, i64 44 store i32 %10, ptr %11, align 4, !tbaa !16 %12 = load i32, ptr @kvmppc_mmu_book3s_64_slbfee, align 4, !tbaa !12 %13 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %12, ptr %13, align 8, !tbaa !17 %14 = load i32, ptr @kvmppc_mmu_book3s_64_slbie, align 4, !tbaa !12 %15 = getelementptr inbounds i8, ptr %0, i64 36 store i32 %14, ptr %15, align 4, !tbaa !18 %16 = load i32, ptr @kvmppc_mmu_book3s_64_slbia, align 4, !tbaa !12 %17 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %16, ptr %17, align 8, !tbaa !19 %18 = load i32, ptr @kvmppc_mmu_book3s_64_xlate, align 4, !tbaa !12 %19 = getelementptr inbounds i8, ptr %0, i64 28 store i32 %18, ptr %19, align 4, !tbaa !20 %20 = load i32, ptr @kvmppc_mmu_book3s_64_reset_msr, align 4, !tbaa !12 %21 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %20, ptr %21, align 8, !tbaa !21 %22 = load i32, ptr @kvmppc_mmu_book3s_64_tlbie, align 4, !tbaa !12 %23 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %22, ptr %23, align 4, !tbaa !22 %24 = load i32, ptr @kvmppc_mmu_book3s_64_esid_to_vsid, align 4, !tbaa !12 %25 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %24, ptr %25, align 8, !tbaa !23 %26 = load i32, ptr @kvmppc_mmu_book3s_64_ea_to_vp, align 4, !tbaa !12 %27 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %26, ptr %27, align 4, !tbaa !24 %28 = load i32, ptr @kvmppc_mmu_book3s_64_is_dcbz32, align 4, !tbaa !12 store i32 %28, ptr %2, align 8, !tbaa !25 %29 = load i32, ptr @BOOK3S_HFLAG_SLB, align 4, !tbaa !12 %30 = load i32, ptr %0, align 8, !tbaa !26 %31 = or i32 %30, %29 store i32 %31, ptr %0, align 8, !tbaa !26 ret void } 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, !11, i64 56} !7 = !{!"kvmppc_mmu", !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, !8, i64 40, !8, i64 44, !8, i64 48, !11, i64 56} !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 48} !14 = !{!7, !8, i64 44} !15 = !{!7, !8, i64 40} !16 = !{!7, !8, i64 36} !17 = !{!7, !8, i64 32} !18 = !{!7, !8, i64 28} !19 = !{!7, !8, i64 24} !20 = !{!7, !8, i64 20} !21 = !{!7, !8, i64 16} !22 = !{!7, !8, i64 12} !23 = !{!7, !8, i64 8} !24 = !{!7, !8, i64 4} !25 = !{!7, !8, i64 0} !26 = !{!27, !8, i64 0} !27 = !{!"kvm_vcpu", !28, i64 0} !28 = !{!"TYPE_2__", !8, i64 0, !7, i64 8}
linux_arch_powerpc_kvm_extr_book3s_64_mmu.c_kvmppc_mmu_book3s_64_init
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_sa_query.c_ib_sa_guid_info_rec_query.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_sa_query.c_ib_sa_guid_info_rec_query.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_sa_device = type { i64, ptr } %struct.ib_sa_port = type { ptr } %struct.ib_sa_guidinfo_query = type { ptr, %struct.ib_sa_query, ptr } %struct.ib_sa_query = type { ptr, i32, ptr, ptr, ptr } %struct.ib_sa_mad = type { i32, %struct.TYPE_6__, %struct.TYPE_5__ } %struct.TYPE_6__ = type { i32 } %struct.TYPE_5__ = type { i32, i64 } @sa_client = dso_local global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @IB_MGMT_METHOD_GET = dso_local local_unnamed_addr global i64 0, align 8 @IB_MGMT_METHOD_SET = dso_local local_unnamed_addr global i64 0, align 8 @IB_SA_METHOD_DELETE = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @ib_sa_guidinfo_rec_callback = dso_local local_unnamed_addr global ptr null, align 8 @ib_sa_guidinfo_rec_release = dso_local local_unnamed_addr global i32 0, align 4 @IB_SA_ATTR_GUID_INFO_REC = dso_local local_unnamed_addr global i32 0, align 4 @guidinfo_rec_table = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ib_sa_guid_info_rec_query(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4, i64 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr nocapture noundef writeonly %10) local_unnamed_addr #0 { %12 = tail call ptr @ib_get_client_data(ptr noundef %1, ptr noundef nonnull @sa_client) #2 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr @ENODEV, align 4, !tbaa !5 %16 = sub nsw i32 0, %15 br label %77 17: ; preds = %11 %18 = load i64, ptr @IB_MGMT_METHOD_GET, align 8, !tbaa !9 %19 = icmp eq i64 %18, %5 %20 = load i64, ptr @IB_MGMT_METHOD_SET, align 8 %21 = icmp eq i64 %20, %5 %22 = select i1 %19, i1 true, i1 %21 %23 = load i64, ptr @IB_SA_METHOD_DELETE, align 8 %24 = icmp eq i64 %23, %5 %25 = select i1 %22, i1 true, i1 %24 br i1 %25, label %29, label %26 26: ; preds = %17 %27 = load i32, ptr @EINVAL, align 4, !tbaa !5 %28 = sub nsw i32 0, %27 br label %77 29: ; preds = %17 %30 = getelementptr inbounds %struct.ib_sa_device, ptr %12, i64 0, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !11 %32 = load i64, ptr %12, align 8, !tbaa !14 %33 = sub nsw i64 %2, %32 %34 = getelementptr inbounds %struct.ib_sa_port, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8, !tbaa !15 %36 = tail call ptr @kmalloc(i32 noundef 56, i32 noundef %7) #2 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %29 %39 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %40 = sub nsw i32 0, %39 br label %77 41: ; preds = %29 %42 = getelementptr inbounds %struct.ib_sa_guidinfo_query, ptr %36, i64 0, i32 1 %43 = getelementptr inbounds %struct.ib_sa_guidinfo_query, ptr %36, i64 0, i32 1, i32 4 store ptr %34, ptr %43, align 8, !tbaa !17 %44 = tail call i32 @alloc_mad(ptr noundef nonnull %42, i32 noundef %7) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %74 46: ; preds = %41 %47 = tail call i32 @ib_sa_client_get(ptr noundef %0) #2 store ptr %0, ptr %42, align 8, !tbaa !20 store ptr %8, ptr %36, align 8, !tbaa !21 %48 = getelementptr inbounds %struct.ib_sa_guidinfo_query, ptr %36, i64 0, i32 2 store ptr %9, ptr %48, align 8, !tbaa !22 %49 = getelementptr inbounds %struct.ib_sa_guidinfo_query, ptr %36, i64 0, i32 1, i32 3 %50 = load ptr, ptr %49, align 8, !tbaa !23 %51 = load ptr, ptr %50, align 8, !tbaa !24 %52 = tail call i32 @init_mad(ptr noundef %51, ptr noundef %35) #2 %53 = icmp eq ptr %8, null %54 = load ptr, ptr @ib_sa_guidinfo_rec_callback, align 8 %55 = select i1 %53, ptr null, ptr %54 %56 = getelementptr inbounds %struct.ib_sa_guidinfo_query, ptr %36, i64 0, i32 1, i32 2 store ptr %55, ptr %56, align 8, !tbaa !26 %57 = load i32, ptr @ib_sa_guidinfo_rec_release, align 4, !tbaa !5 %58 = getelementptr inbounds %struct.ib_sa_guidinfo_query, ptr %36, i64 0, i32 1, i32 1 store i32 %57, ptr %58, align 8, !tbaa !27 %59 = getelementptr inbounds %struct.ib_sa_mad, ptr %51, i64 0, i32 2 %60 = getelementptr inbounds %struct.ib_sa_mad, ptr %51, i64 0, i32 2, i32 1 store i64 %5, ptr %60, align 8, !tbaa !28 %61 = load i32, ptr @IB_SA_ATTR_GUID_INFO_REC, align 4, !tbaa !5 %62 = tail call i32 @cpu_to_be16(i32 noundef %61) #2 store i32 %62, ptr %59, align 8, !tbaa !32 %63 = getelementptr inbounds %struct.ib_sa_mad, ptr %51, i64 0, i32 1 store i32 %4, ptr %63, align 4, !tbaa !33 %64 = load i32, ptr @guidinfo_rec_table, align 4, !tbaa !5 %65 = tail call i32 @ARRAY_SIZE(i32 noundef %64) #2 %66 = load i32, ptr %51, align 8, !tbaa !34 %67 = tail call i32 @ib_pack(i32 noundef %64, i32 noundef %65, ptr noundef %3, i32 noundef %66) #2 store ptr %42, ptr %10, align 8, !tbaa !35 %68 = tail call i32 @send_mad(ptr noundef nonnull %42, i32 noundef %6, i32 noundef %7) #2 %69 = icmp slt i32 %68, 0 br i1 %69, label %70, label %77 70: ; preds = %46 store ptr null, ptr %10, align 8, !tbaa !35 %71 = load ptr, ptr %42, align 8, !tbaa !20 %72 = tail call i32 @ib_sa_client_put(ptr noundef %71) #2 %73 = tail call i32 @free_mad(ptr noundef nonnull %42) #2 br label %74 74: ; preds = %41, %70 %75 = phi i32 [ %44, %41 ], [ %68, %70 ] %76 = tail call i32 @kfree(ptr noundef nonnull %36) #2 br label %77 77: ; preds = %46, %74, %38, %26, %14 %78 = phi i32 [ %28, %26 ], [ %75, %74 ], [ %40, %38 ], [ %16, %14 ], [ %68, %46 ] ret i32 %78 } declare ptr @ib_get_client_data(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @alloc_mad(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ib_sa_client_get(ptr noundef) local_unnamed_addr #1 declare i32 @init_mad(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #1 declare i32 @ib_pack(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @send_mad(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ib_sa_client_put(ptr noundef) local_unnamed_addr #1 declare i32 @free_mad(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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, !13, i64 8} !12 = !{!"ib_sa_device", !10, i64 0, !13, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !10, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"ib_sa_port", !13, i64 0} !17 = !{!18, !13, i64 40} !18 = !{!"ib_sa_guidinfo_query", !13, i64 0, !19, i64 8, !13, i64 48} !19 = !{!"ib_sa_query", !13, i64 0, !6, i64 8, !13, i64 16, !13, i64 24, !13, i64 32} !20 = !{!18, !13, i64 8} !21 = !{!18, !13, i64 0} !22 = !{!18, !13, i64 48} !23 = !{!18, !13, i64 32} !24 = !{!25, !13, i64 0} !25 = !{!"TYPE_4__", !13, i64 0} !26 = !{!18, !13, i64 24} !27 = !{!18, !6, i64 16} !28 = !{!29, !10, i64 16} !29 = !{!"ib_sa_mad", !6, i64 0, !30, i64 4, !31, i64 8} !30 = !{!"TYPE_6__", !6, i64 0} !31 = !{!"TYPE_5__", !6, i64 0, !10, i64 8} !32 = !{!29, !6, i64 8} !33 = !{!29, !6, i64 4} !34 = !{!29, !6, i64 0} !35 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_sa_query.c_ib_sa_guid_info_rec_query.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_sa_query.c_ib_sa_guid_info_rec_query.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ib_sa_port = type { ptr } @sa_client = common global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @IB_MGMT_METHOD_GET = common local_unnamed_addr global i64 0, align 8 @IB_MGMT_METHOD_SET = common local_unnamed_addr global i64 0, align 8 @IB_SA_METHOD_DELETE = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @ib_sa_guidinfo_rec_callback = common local_unnamed_addr global ptr null, align 8 @ib_sa_guidinfo_rec_release = common local_unnamed_addr global i32 0, align 4 @IB_SA_ATTR_GUID_INFO_REC = common local_unnamed_addr global i32 0, align 4 @guidinfo_rec_table = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ib_sa_guid_info_rec_query(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4, i64 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr nocapture noundef writeonly %10) local_unnamed_addr #0 { %12 = tail call ptr @ib_get_client_data(ptr noundef %1, ptr noundef nonnull @sa_client) #2 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr @ENODEV, align 4, !tbaa !6 %16 = sub nsw i32 0, %15 br label %77 17: ; preds = %11 %18 = load i64, ptr @IB_MGMT_METHOD_GET, align 8, !tbaa !10 %19 = icmp eq i64 %18, %5 %20 = load i64, ptr @IB_MGMT_METHOD_SET, align 8 %21 = icmp eq i64 %20, %5 %22 = select i1 %19, i1 true, i1 %21 %23 = load i64, ptr @IB_SA_METHOD_DELETE, align 8 %24 = icmp eq i64 %23, %5 %25 = select i1 %22, i1 true, i1 %24 br i1 %25, label %29, label %26 26: ; preds = %17 %27 = load i32, ptr @EINVAL, align 4, !tbaa !6 %28 = sub nsw i32 0, %27 br label %77 29: ; preds = %17 %30 = getelementptr inbounds i8, ptr %12, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !12 %32 = load i64, ptr %12, align 8, !tbaa !15 %33 = sub nsw i64 %2, %32 %34 = getelementptr inbounds %struct.ib_sa_port, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8, !tbaa !16 %36 = tail call ptr @kmalloc(i32 noundef 56, i32 noundef %7) #2 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %29 %39 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %40 = sub nsw i32 0, %39 br label %77 41: ; preds = %29 %42 = getelementptr inbounds i8, ptr %36, i64 8 %43 = getelementptr inbounds i8, ptr %36, i64 40 store ptr %34, ptr %43, align 8, !tbaa !18 %44 = tail call i32 @alloc_mad(ptr noundef nonnull %42, i32 noundef %7) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %74 46: ; preds = %41 %47 = tail call i32 @ib_sa_client_get(ptr noundef %0) #2 store ptr %0, ptr %42, align 8, !tbaa !21 store ptr %8, ptr %36, align 8, !tbaa !22 %48 = getelementptr inbounds i8, ptr %36, i64 48 store ptr %9, ptr %48, align 8, !tbaa !23 %49 = getelementptr inbounds i8, ptr %36, i64 32 %50 = load ptr, ptr %49, align 8, !tbaa !24 %51 = load ptr, ptr %50, align 8, !tbaa !25 %52 = tail call i32 @init_mad(ptr noundef %51, ptr noundef %35) #2 %53 = icmp eq ptr %8, null %54 = load ptr, ptr @ib_sa_guidinfo_rec_callback, align 8 %55 = select i1 %53, ptr null, ptr %54 %56 = getelementptr inbounds i8, ptr %36, i64 24 store ptr %55, ptr %56, align 8, !tbaa !27 %57 = load i32, ptr @ib_sa_guidinfo_rec_release, align 4, !tbaa !6 %58 = getelementptr inbounds i8, ptr %36, i64 16 store i32 %57, ptr %58, align 8, !tbaa !28 %59 = getelementptr inbounds i8, ptr %51, i64 8 %60 = getelementptr inbounds i8, ptr %51, i64 16 store i64 %5, ptr %60, align 8, !tbaa !29 %61 = load i32, ptr @IB_SA_ATTR_GUID_INFO_REC, align 4, !tbaa !6 %62 = tail call i32 @cpu_to_be16(i32 noundef %61) #2 store i32 %62, ptr %59, align 8, !tbaa !33 %63 = getelementptr inbounds i8, ptr %51, i64 4 store i32 %4, ptr %63, align 4, !tbaa !34 %64 = load i32, ptr @guidinfo_rec_table, align 4, !tbaa !6 %65 = tail call i32 @ARRAY_SIZE(i32 noundef %64) #2 %66 = load i32, ptr %51, align 8, !tbaa !35 %67 = tail call i32 @ib_pack(i32 noundef %64, i32 noundef %65, ptr noundef %3, i32 noundef %66) #2 store ptr %42, ptr %10, align 8, !tbaa !36 %68 = tail call i32 @send_mad(ptr noundef nonnull %42, i32 noundef %6, i32 noundef %7) #2 %69 = icmp slt i32 %68, 0 br i1 %69, label %70, label %77 70: ; preds = %46 store ptr null, ptr %10, align 8, !tbaa !36 %71 = load ptr, ptr %42, align 8, !tbaa !21 %72 = tail call i32 @ib_sa_client_put(ptr noundef %71) #2 %73 = tail call i32 @free_mad(ptr noundef nonnull %42) #2 br label %74 74: ; preds = %41, %70 %75 = phi i32 [ %44, %41 ], [ %68, %70 ] %76 = tail call i32 @kfree(ptr noundef nonnull %36) #2 br label %77 77: ; preds = %46, %74, %38, %26, %14 %78 = phi i32 [ %28, %26 ], [ %75, %74 ], [ %40, %38 ], [ %16, %14 ], [ %68, %46 ] ret i32 %78 } declare ptr @ib_get_client_data(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @alloc_mad(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ib_sa_client_get(ptr noundef) local_unnamed_addr #1 declare i32 @init_mad(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #1 declare i32 @ib_pack(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @send_mad(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ib_sa_client_put(ptr noundef) local_unnamed_addr #1 declare i32 @free_mad(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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, !14, i64 8} !13 = !{!"ib_sa_device", !11, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !11, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"ib_sa_port", !14, i64 0} !18 = !{!19, !14, i64 40} !19 = !{!"ib_sa_guidinfo_query", !14, i64 0, !20, i64 8, !14, i64 48} !20 = !{!"ib_sa_query", !14, i64 0, !7, i64 8, !14, i64 16, !14, i64 24, !14, i64 32} !21 = !{!19, !14, i64 8} !22 = !{!19, !14, i64 0} !23 = !{!19, !14, i64 48} !24 = !{!19, !14, i64 32} !25 = !{!26, !14, i64 0} !26 = !{!"TYPE_4__", !14, i64 0} !27 = !{!19, !14, i64 24} !28 = !{!19, !7, i64 16} !29 = !{!30, !11, i64 16} !30 = !{!"ib_sa_mad", !7, i64 0, !31, i64 4, !32, i64 8} !31 = !{!"TYPE_6__", !7, i64 0} !32 = !{!"TYPE_5__", !7, i64 0, !11, i64 8} !33 = !{!30, !7, i64 8} !34 = !{!30, !7, i64 4} !35 = !{!30, !7, i64 0} !36 = !{!14, !14, i64 0}
fastsocket_kernel_drivers_infiniband_core_extr_sa_query.c_ib_sa_guid_info_rec_query
; ModuleID = 'AnghaBench/linux/tools/perf/util/scripting-engines/extr_..callchain.h_callchain_cumul_hits.c' source_filename = "AnghaBench/linux/tools/perf/util/scripting-engines/extr_..callchain.h_callchain_cumul_hits.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.callchain_node = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @callchain_cumul_hits], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i64 @callchain_cumul_hits(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.callchain_node, ptr %0, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !10 %5 = add nsw i64 %4, %3 ret i64 %5 } 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 8} !6 = !{!"callchain_node", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/util/scripting-engines/extr_..callchain.h_callchain_cumul_hits.c' source_filename = "AnghaBench/linux/tools/perf/util/scripting-engines/extr_..callchain.h_callchain_cumul_hits.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 @callchain_cumul_hits], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i64 @callchain_cumul_hits(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !11 %5 = add nsw i64 %4, %3 ret i64 %5 } 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 8} !7 = !{!"callchain_node", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
linux_tools_perf_util_scripting-engines_extr_..callchain.h_callchain_cumul_hits
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_gem.c_lima_gem_object_open.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_gem.c_lima_gem_object_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @lima_gem_object_open(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @to_lima_bo(ptr noundef %0) #2 %4 = tail call ptr @to_lima_drm_priv(ptr noundef %1) #2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @lima_vm_bo_add(ptr noundef %5, ptr noundef %3, i32 noundef 1) #2 ret i32 %6 } declare ptr @to_lima_bo(ptr noundef) local_unnamed_addr #1 declare ptr @to_lima_drm_priv(ptr noundef) local_unnamed_addr #1 declare i32 @lima_vm_bo_add(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, !7, i64 0} !6 = !{!"lima_drm_priv", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_gem.c_lima_gem_object_open.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_gem.c_lima_gem_object_open.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 i32 @lima_gem_object_open(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @to_lima_bo(ptr noundef %0) #2 %4 = tail call ptr @to_lima_drm_priv(ptr noundef %1) #2 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @lima_vm_bo_add(ptr noundef %5, ptr noundef %3, i32 noundef 1) #2 ret i32 %6 } declare ptr @to_lima_bo(ptr noundef) local_unnamed_addr #1 declare ptr @to_lima_drm_priv(ptr noundef) local_unnamed_addr #1 declare i32 @lima_vm_bo_add(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, !8, i64 0} !7 = !{!"lima_drm_priv", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_lima_extr_lima_gem.c_lima_gem_object_open
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap1/extr_fpga.c_fpga_mask_ack_irq.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap1/extr_fpga.c_fpga_mask_ack_irq.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 @fpga_mask_ack_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fpga_mask_ack_irq(i32 noundef %0) #0 { %2 = tail call i32 @fpga_mask_irq(i32 noundef %0) #2 %3 = tail call i32 @fpga_ack_irq(i32 noundef %0) #2 ret void } declare i32 @fpga_mask_irq(i32 noundef) local_unnamed_addr #1 declare i32 @fpga_ack_irq(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/fastsocket/kernel/arch/arm/mach-omap1/extr_fpga.c_fpga_mask_ack_irq.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap1/extr_fpga.c_fpga_mask_ack_irq.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 @fpga_mask_ack_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fpga_mask_ack_irq(i32 noundef %0) #0 { %2 = tail call i32 @fpga_mask_irq(i32 noundef %0) #2 %3 = tail call i32 @fpga_ack_irq(i32 noundef %0) #2 ret void } declare i32 @fpga_mask_irq(i32 noundef) local_unnamed_addr #1 declare i32 @fpga_ack_irq(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)"}
fastsocket_kernel_arch_arm_mach-omap1_extr_fpga.c_fpga_mask_ack_irq
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_8xxx_need_reset.c' source_filename = "AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_8xxx_need_reset.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" @AF_EEH_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @QLA8XXX_CRB_DRV_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @QLA8XXX_CRB_DRV_STATE = dso_local local_unnamed_addr global i32 0, align 4 !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/scsi/qla4xxx/extr_ql4_nx.c_qla4_8xxx_need_reset.c' source_filename = "AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_nx.c_qla4_8xxx_need_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AF_EEH_BUSY = common local_unnamed_addr global i32 0, align 4 @QLA8XXX_CRB_DRV_ACTIVE = common local_unnamed_addr global i32 0, align 4 @QLA8XXX_CRB_DRV_STATE = common local_unnamed_addr global i32 0, align 4 !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_scsi_qla4xxx_extr_ql4_nx.c_qla4_8xxx_need_reset
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_set_key.c' source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_set_key.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.key_parse = type { i64, i32, i64, i64, i32 } %struct.cfg80211_registered_device = type { ptr, ptr } %struct.TYPE_6__ = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nl80211_set_key], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nl80211_set_key(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = alloca %struct.key_parse, align 8 %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #3 %6 = getelementptr inbounds ptr, ptr %4, i64 1 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = call i32 @nl80211_parse_key(ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %82 10: ; preds = %2 %11 = load i64, ptr %3, align 8, !tbaa !11 %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr @EINVAL, align 4, !tbaa !15 %15 = sub nsw i32 0, %14 br label %82 16: ; preds = %10 %17 = getelementptr inbounds %struct.key_parse, ptr %3, i64 0, i32 3 %18 = load i64, ptr %17, align 8, !tbaa !16 %19 = icmp ne i64 %18, 0 %20 = getelementptr inbounds %struct.key_parse, ptr %3, i64 0, i32 4 %21 = load i32, ptr %20, align 8 %22 = icmp ne i32 %21, 0 %23 = select i1 %19, i1 true, i1 %22 br i1 %23, label %27, label %24 24: ; preds = %16 %25 = load i32, ptr @EINVAL, align 4, !tbaa !15 %26 = sub nsw i32 0, %25 br label %82 27: ; preds = %16 %28 = load ptr, ptr %7, align 8, !tbaa !17 %29 = call i32 @wdev_lock(ptr noundef %28) #3 %30 = load i64, ptr %17, align 8, !tbaa !16 %31 = icmp eq i64 %30, 0 br i1 %31, label %52, label %32 32: ; preds = %27 %33 = getelementptr inbounds %struct.cfg80211_registered_device, ptr %5, i64 0, i32 1 %34 = load ptr, ptr %33, align 8, !tbaa !19 %35 = getelementptr inbounds %struct.TYPE_6__, ptr %34, i64 0, i32 1 %36 = load i32, ptr %35, align 4, !tbaa !21 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %32 %39 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !15 %40 = sub nsw i32 0, %39 br label %78 41: ; preds = %32 %42 = load ptr, ptr %7, align 8, !tbaa !17 %43 = call i32 @nl80211_key_allowed(ptr noundef %42) #3 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %78 45: ; preds = %41 %46 = load i64, ptr %3, align 8, !tbaa !11 %47 = getelementptr inbounds %struct.key_parse, ptr %3, i64 0, i32 2 %48 = load i64, ptr %47, align 8, !tbaa !23 %49 = getelementptr inbounds %struct.key_parse, ptr %3, i64 0, i32 1 %50 = load i32, ptr %49, align 8, !tbaa !24 %51 = call i32 @rdev_set_default_key(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %46, i64 noundef %48, i32 noundef %50) #3 br label %78 52: ; preds = %27 %53 = getelementptr inbounds %struct.key_parse, ptr %3, i64 0, i32 2 %54 = load i64, ptr %53, align 8, !tbaa !23 %55 = icmp eq i64 %54, 0 %56 = getelementptr inbounds %struct.key_parse, ptr %3, i64 0, i32 1 %57 = load i32, ptr %56, align 8 %58 = icmp ne i32 %57, 0 %59 = select i1 %55, i1 %58, i1 false br i1 %59, label %63, label %60 60: ; preds = %52 %61 = load i32, ptr @EINVAL, align 4, !tbaa !15 %62 = sub nsw i32 0, %61 br label %78 63: ; preds = %52 %64 = getelementptr inbounds %struct.cfg80211_registered_device, ptr %5, i64 0, i32 1 %65 = load ptr, ptr %64, align 8, !tbaa !19 %66 = load i32, ptr %65, align 4, !tbaa !25 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %63 %69 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !15 %70 = sub nsw i32 0, %69 br label %78 71: ; preds = %63 %72 = load ptr, ptr %7, align 8, !tbaa !17 %73 = call i32 @nl80211_key_allowed(ptr noundef %72) #3 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %71 %76 = load i64, ptr %3, align 8, !tbaa !11 %77 = call i32 @rdev_set_default_mgmt_key(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %76) #3 br label %78 78: ; preds = %75, %45, %71, %41, %68, %60, %38 %79 = phi i32 [ %43, %41 ], [ %51, %45 ], [ %40, %38 ], [ %73, %71 ], [ %77, %75 ], [ %70, %68 ], [ %62, %60 ] %80 = load ptr, ptr %7, align 8, !tbaa !17 %81 = call i32 @wdev_unlock(ptr noundef %80) #3 br label %82 82: ; preds = %2, %78, %24, %13 %83 = phi i32 [ %15, %13 ], [ %79, %78 ], [ %26, %24 ], [ %8, %2 ] call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #3 ret i32 %83 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nl80211_parse_key(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wdev_lock(ptr noundef) local_unnamed_addr #2 declare i32 @nl80211_key_allowed(ptr noundef) local_unnamed_addr #2 declare i32 @rdev_set_default_key(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdev_set_default_mgmt_key(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @wdev_unlock(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 = !{!"genl_info", !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} !11 = !{!12, !13, i64 0} !12 = !{!"key_parse", !13, i64 0, !14, i64 8, !13, i64 16, !13, i64 24, !14, i64 32} !13 = !{!"long", !8, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!12, !13, i64 24} !17 = !{!18, !7, i64 0} !18 = !{!"net_device", !7, i64 0, !7, i64 8} !19 = !{!20, !7, i64 8} !20 = !{!"cfg80211_registered_device", !7, i64 0, !7, i64 8} !21 = !{!22, !14, i64 4} !22 = !{!"TYPE_6__", !14, i64 0, !14, i64 4} !23 = !{!12, !13, i64 16} !24 = !{!12, !14, i64 8} !25 = !{!22, !14, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_set_key.c' source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_set_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.key_parse = type { i64, i32, i64, i64, i32 } @EINVAL = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nl80211_set_key], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nl80211_set_key(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = alloca %struct.key_parse, align 8 %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #3 %6 = getelementptr inbounds i8, ptr %4, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = call i32 @nl80211_parse_key(ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %82 10: ; preds = %2 %11 = load i64, ptr %3, align 8, !tbaa !12 %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr @EINVAL, align 4, !tbaa !16 %15 = sub nsw i32 0, %14 br label %82 16: ; preds = %10 %17 = getelementptr inbounds i8, ptr %3, i64 24 %18 = load i64, ptr %17, align 8, !tbaa !17 %19 = icmp ne i64 %18, 0 %20 = getelementptr inbounds i8, ptr %3, i64 32 %21 = load i32, ptr %20, align 8 %22 = icmp ne i32 %21, 0 %23 = select i1 %19, i1 true, i1 %22 br i1 %23, label %27, label %24 24: ; preds = %16 %25 = load i32, ptr @EINVAL, align 4, !tbaa !16 %26 = sub nsw i32 0, %25 br label %82 27: ; preds = %16 %28 = load ptr, ptr %7, align 8, !tbaa !18 %29 = call i32 @wdev_lock(ptr noundef %28) #3 %30 = load i64, ptr %17, align 8, !tbaa !17 %31 = icmp eq i64 %30, 0 br i1 %31, label %52, label %32 32: ; preds = %27 %33 = getelementptr inbounds i8, ptr %5, i64 8 %34 = load ptr, ptr %33, align 8, !tbaa !20 %35 = getelementptr inbounds i8, ptr %34, i64 4 %36 = load i32, ptr %35, align 4, !tbaa !22 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %32 %39 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16 %40 = sub nsw i32 0, %39 br label %78 41: ; preds = %32 %42 = load ptr, ptr %7, align 8, !tbaa !18 %43 = call i32 @nl80211_key_allowed(ptr noundef %42) #3 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %78 45: ; preds = %41 %46 = load i64, ptr %3, align 8, !tbaa !12 %47 = getelementptr inbounds i8, ptr %3, i64 16 %48 = load i64, ptr %47, align 8, !tbaa !24 %49 = getelementptr inbounds i8, ptr %3, i64 8 %50 = load i32, ptr %49, align 8, !tbaa !25 %51 = call i32 @rdev_set_default_key(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %46, i64 noundef %48, i32 noundef %50) #3 br label %78 52: ; preds = %27 %53 = getelementptr inbounds i8, ptr %3, i64 16 %54 = load i64, ptr %53, align 8, !tbaa !24 %55 = icmp eq i64 %54, 0 %56 = getelementptr inbounds i8, ptr %3, i64 8 %57 = load i32, ptr %56, align 8 %58 = icmp ne i32 %57, 0 %59 = select i1 %55, i1 %58, i1 false br i1 %59, label %63, label %60 60: ; preds = %52 %61 = load i32, ptr @EINVAL, align 4, !tbaa !16 %62 = sub nsw i32 0, %61 br label %78 63: ; preds = %52 %64 = getelementptr inbounds i8, ptr %5, i64 8 %65 = load ptr, ptr %64, align 8, !tbaa !20 %66 = load i32, ptr %65, align 4, !tbaa !26 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %71 68: ; preds = %63 %69 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16 %70 = sub nsw i32 0, %69 br label %78 71: ; preds = %63 %72 = load ptr, ptr %7, align 8, !tbaa !18 %73 = call i32 @nl80211_key_allowed(ptr noundef %72) #3 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %71 %76 = load i64, ptr %3, align 8, !tbaa !12 %77 = call i32 @rdev_set_default_mgmt_key(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %76) #3 br label %78 78: ; preds = %75, %45, %71, %41, %68, %60, %38 %79 = phi i32 [ %43, %41 ], [ %51, %45 ], [ %40, %38 ], [ %73, %71 ], [ %77, %75 ], [ %70, %68 ], [ %62, %60 ] %80 = load ptr, ptr %7, align 8, !tbaa !18 %81 = call i32 @wdev_unlock(ptr noundef %80) #3 br label %82 82: ; preds = %2, %78, %24, %13 %83 = phi i32 [ %15, %13 ], [ %79, %78 ], [ %26, %24 ], [ %8, %2 ] call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #3 ret i32 %83 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nl80211_parse_key(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wdev_lock(ptr noundef) local_unnamed_addr #2 declare i32 @nl80211_key_allowed(ptr noundef) local_unnamed_addr #2 declare i32 @rdev_set_default_key(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdev_set_default_mgmt_key(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @wdev_unlock(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 = !{!"genl_info", !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} !12 = !{!13, !14, i64 0} !13 = !{!"key_parse", !14, i64 0, !15, i64 8, !14, i64 16, !14, i64 24, !15, i64 32} !14 = !{!"long", !9, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!13, !14, i64 24} !18 = !{!19, !8, i64 0} !19 = !{!"net_device", !8, i64 0, !8, i64 8} !20 = !{!21, !8, i64 8} !21 = !{!"cfg80211_registered_device", !8, i64 0, !8, i64 8} !22 = !{!23, !15, i64 4} !23 = !{!"TYPE_6__", !15, i64 0, !15, i64 4} !24 = !{!13, !14, i64 16} !25 = !{!13, !15, i64 8} !26 = !{!23, !15, i64 0}
fastsocket_kernel_net_wireless_extr_nl80211.c_nl80211_set_key
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_ipw2200.c_ipw_write_direct.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_ipw2200.c_ipw_write_direct.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 @ipw_write_direct], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ipw_write_direct(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = add nsw i64 %5, %1 %7 = tail call i32 @memcpy_toio(i64 noundef %6, ptr noundef %2, i32 noundef %3) #2 ret void } declare i32 @memcpy_toio(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, !7, i64 0} !6 = !{!"ipw_priv", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_ipw2200.c_ipw_write_direct.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ipw2x00/extr_ipw2200.c_ipw_write_direct.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 @ipw_write_direct], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ipw_write_direct(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = add nsw i64 %5, %1 %7 = tail call i32 @memcpy_toio(i64 noundef %6, ptr noundef %2, i32 noundef %3) #2 ret void } declare i32 @memcpy_toio(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, !8, i64 0} !7 = !{!"ipw_priv", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_wireless_ipw2x00_extr_ipw2200.c_ipw_write_direct
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat.c_beat_nvram_get_size.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat.c_beat_nvram_get_size.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" @BEAT_NVRAM_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i32 @beat_nvram_get_size() local_unnamed_addr #0 { %1 = load i32, ptr @BEAT_NVRAM_SIZE, align 4, !tbaa !5 ret i32 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat.c_beat_nvram_get_size.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat.c_beat_nvram_get_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BEAT_NVRAM_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i32 @beat_nvram_get_size() local_unnamed_addr #0 { %1 = load i32, ptr @BEAT_NVRAM_SIZE, align 4, !tbaa !6 ret i32 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_powerpc_platforms_cell_extr_beat.c_beat_nvram_get_size
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl_tcam.c_mlxsw_sp_acl_tcam_vregion_get.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl_tcam.c_mlxsw_sp_acl_tcam_vregion_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_afk_element_usage = type { i32 } @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_sp_acl_tcam_vregion_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @mlxsw_sp_acl_tcam_vregion_get(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.mlxsw_afk_element_usage, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call ptr @mlxsw_sp_acl_tcam_vgroup_vregion_find(ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef nonnull %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %19, label %9 9: ; preds = %4 %10 = load i32, ptr %6, align 4, !tbaa !5 %11 = icmp eq i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5 %14 = sub nsw i32 0, %13 %15 = call ptr @ERR_PTR(i32 noundef %14) #3 br label %22 16: ; preds = %9 %17 = load i32, ptr %7, align 4, !tbaa !9 %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4, !tbaa !9 br label %22 19: ; preds = %4 %20 = call i32 @mlxsw_sp_acl_tcam_vgroup_use_patterns(ptr noundef %1, ptr noundef %3, ptr noundef nonnull %5) #3 %21 = call ptr @mlxsw_sp_acl_tcam_vregion_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull %5) #3 br label %22 22: ; preds = %19, %16, %12 %23 = phi ptr [ %15, %12 ], [ %7, %16 ], [ %21, %19 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret ptr %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @mlxsw_sp_acl_tcam_vgroup_vregion_find(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #2 declare i32 @mlxsw_sp_acl_tcam_vgroup_use_patterns(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @mlxsw_sp_acl_tcam_vregion_create(ptr noundef, 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"mlxsw_sp_acl_tcam_vregion", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl_tcam.c_mlxsw_sp_acl_tcam_vregion_get.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl_tcam.c_mlxsw_sp_acl_tcam_vregion_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mlxsw_afk_element_usage = type { i32 } @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mlxsw_sp_acl_tcam_vregion_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @mlxsw_sp_acl_tcam_vregion_get(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.mlxsw_afk_element_usage, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call ptr @mlxsw_sp_acl_tcam_vgroup_vregion_find(ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef nonnull %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %19, label %9 9: ; preds = %4 %10 = load i32, ptr %6, align 4, !tbaa !6 %11 = icmp eq i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6 %14 = sub nsw i32 0, %13 %15 = call ptr @ERR_PTR(i32 noundef %14) #3 br label %22 16: ; preds = %9 %17 = load i32, ptr %7, align 4, !tbaa !10 %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4, !tbaa !10 br label %22 19: ; preds = %4 %20 = call i32 @mlxsw_sp_acl_tcam_vgroup_use_patterns(ptr noundef %1, ptr noundef %3, ptr noundef nonnull %5) #3 %21 = call ptr @mlxsw_sp_acl_tcam_vregion_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull %5) #3 br label %22 22: ; preds = %19, %16, %12 %23 = phi ptr [ %15, %12 ], [ %7, %16 ], [ %21, %19 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret ptr %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @mlxsw_sp_acl_tcam_vgroup_vregion_find(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #2 declare i32 @mlxsw_sp_acl_tcam_vgroup_use_patterns(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @mlxsw_sp_acl_tcam_vregion_create(ptr noundef, 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, !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 = !{!"mlxsw_sp_acl_tcam_vregion", !7, i64 0}
linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_acl_tcam.c_mlxsw_sp_acl_tcam_vregion_get
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/quota/extr_quota_v2.c_v2_write_dquot.c' source_filename = "AnghaBench/fastsocket/kernel/fs/quota/extr_quota_v2.c_v2_write_dquot.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.dquot = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @v2_write_dquot], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @v2_write_dquot(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.dquot, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = load i32, ptr %0, align 4, !tbaa !10 %5 = tail call ptr @sb_dqinfo(i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @qtree_write_dquot(i32 noundef %6, ptr noundef nonnull %0) #2 ret i32 %7 } declare i32 @qtree_write_dquot(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @sb_dqinfo(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 = !{!"dquot", !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} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/quota/extr_quota_v2.c_v2_write_dquot.c' source_filename = "AnghaBench/fastsocket/kernel/fs/quota/extr_quota_v2.c_v2_write_dquot.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 @v2_write_dquot], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @v2_write_dquot(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = load i32, ptr %0, align 4, !tbaa !11 %5 = tail call ptr @sb_dqinfo(i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @qtree_write_dquot(i32 noundef %6, ptr noundef nonnull %0) #2 ret i32 %7 } declare i32 @qtree_write_dquot(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @sb_dqinfo(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 = !{!"dquot", !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} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_2__", !8, i64 0}
fastsocket_kernel_fs_quota_extr_quota_v2.c_v2_write_dquot
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jbd/extr_transaction.c_journal_try_to_free_buffers.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jbd/extr_transaction.c_journal_try_to_free_buffers.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @journal_try_to_free_buffers(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @PageLocked(ptr noundef %1) #2 %5 = tail call i32 @J_ASSERT(i32 noundef %4) #2 %6 = tail call ptr @page_buffers(ptr noundef %1) #2 br label %7 7: ; preds = %18, %3 %8 = phi ptr [ %6, %3 ], [ %19, %18 ] %9 = tail call ptr @journal_grab_journal_head(ptr noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %18, label %11 11: ; preds = %7 %12 = tail call i32 @jbd_lock_bh_state(ptr noundef %8) #2 %13 = tail call i32 @__journal_try_to_free_buffer(ptr noundef %0, ptr noundef %8) #2 %14 = tail call i32 @journal_put_journal_head(ptr noundef nonnull %9) #2 %15 = tail call i32 @jbd_unlock_bh_state(ptr noundef %8) #2 %16 = tail call i64 @buffer_jbd(ptr noundef %8) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %11, %7 %19 = load ptr, ptr %8, align 8, !tbaa !5 %20 = icmp eq ptr %19, %6 br i1 %20, label %21, label %7, !llvm.loop !10 21: ; preds = %18 %22 = tail call i32 @try_to_free_buffers(ptr noundef %1) #2 br label %23 23: ; preds = %11, %21 %24 = phi i32 [ %22, %21 ], [ 0, %11 ] ret i32 %24 } declare i32 @J_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @PageLocked(ptr noundef) local_unnamed_addr #1 declare ptr @page_buffers(ptr noundef) local_unnamed_addr #1 declare ptr @journal_grab_journal_head(ptr noundef) local_unnamed_addr #1 declare i32 @jbd_lock_bh_state(ptr noundef) local_unnamed_addr #1 declare i32 @__journal_try_to_free_buffer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @journal_put_journal_head(ptr noundef) local_unnamed_addr #1 declare i32 @jbd_unlock_bh_state(ptr noundef) local_unnamed_addr #1 declare i64 @buffer_jbd(ptr noundef) local_unnamed_addr #1 declare i32 @try_to_free_buffers(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 = !{!"buffer_head", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jbd/extr_transaction.c_journal_try_to_free_buffers.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jbd/extr_transaction.c_journal_try_to_free_buffers.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 i32 @journal_try_to_free_buffers(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @PageLocked(ptr noundef %1) #2 %5 = tail call i32 @J_ASSERT(i32 noundef %4) #2 %6 = tail call ptr @page_buffers(ptr noundef %1) #2 br label %7 7: ; preds = %18, %3 %8 = phi ptr [ %6, %3 ], [ %19, %18 ] %9 = tail call ptr @journal_grab_journal_head(ptr noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %18, label %11 11: ; preds = %7 %12 = tail call i32 @jbd_lock_bh_state(ptr noundef %8) #2 %13 = tail call i32 @__journal_try_to_free_buffer(ptr noundef %0, ptr noundef %8) #2 %14 = tail call i32 @journal_put_journal_head(ptr noundef nonnull %9) #2 %15 = tail call i32 @jbd_unlock_bh_state(ptr noundef %8) #2 %16 = tail call i64 @buffer_jbd(ptr noundef %8) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %11, %7 %19 = load ptr, ptr %8, align 8, !tbaa !6 %20 = icmp eq ptr %19, %6 br i1 %20, label %21, label %7, !llvm.loop !11 21: ; preds = %18 %22 = tail call i32 @try_to_free_buffers(ptr noundef %1) #2 br label %23 23: ; preds = %11, %21 %24 = phi i32 [ %22, %21 ], [ 0, %11 ] ret i32 %24 } declare i32 @J_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @PageLocked(ptr noundef) local_unnamed_addr #1 declare ptr @page_buffers(ptr noundef) local_unnamed_addr #1 declare ptr @journal_grab_journal_head(ptr noundef) local_unnamed_addr #1 declare i32 @jbd_lock_bh_state(ptr noundef) local_unnamed_addr #1 declare i32 @__journal_try_to_free_buffer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @journal_put_journal_head(ptr noundef) local_unnamed_addr #1 declare i32 @jbd_unlock_bh_state(ptr noundef) local_unnamed_addr #1 declare i64 @buffer_jbd(ptr noundef) local_unnamed_addr #1 declare i32 @try_to_free_buffers(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 = !{!"buffer_head", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_fs_jbd_extr_transaction.c_journal_try_to_free_buffers
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_dwarf-aux.c_die_walk_instances.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_dwarf-aux.c_die_walk_instances.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32 } %struct.__instance_walk_param = type { ptr, ptr, i32, i32 } @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @__die_walk_instances_cb = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @die_walk_instances(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_9__, align 4 %5 = alloca %struct.TYPE_9__, align 4 %6 = alloca %struct.__instance_walk_param, align 8 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 24, ptr nonnull %6) #3 store ptr %1, ptr %6, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.__instance_walk_param, ptr %6, i64 0, i32 1 store ptr %2, ptr %7, align 8, !tbaa !11 %8 = getelementptr inbounds %struct.__instance_walk_param, ptr %6, i64 0, i32 2 %9 = load i32, ptr @ENOENT, align 4, !tbaa !12 %10 = sub nsw i32 0, %9 store i32 %10, ptr %8, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.__instance_walk_param, ptr %6, i64 0, i32 3 %12 = load i32, ptr %0, align 4, !tbaa !14 store i32 %12, ptr %11, align 4, !tbaa !16 %13 = call ptr @dwarf_diecu(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef null, ptr noundef null) #3 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %3 %16 = load i32, ptr @ENOENT, align 4, !tbaa !12 %17 = sub nsw i32 0, %16 br label %22 18: ; preds = %3 %19 = load i32, ptr @__die_walk_instances_cb, align 4, !tbaa !12 %20 = call i32 @die_find_child(ptr noundef nonnull %4, i32 noundef %19, ptr noundef nonnull %6, ptr noundef nonnull %5) #3 %21 = load i32, ptr %8, align 8, !tbaa !13 br label %22 22: ; preds = %18, %15 %23 = phi i32 [ %17, %15 ], [ %21, %18 ] call void @llvm.lifetime.end.p0(i64 24, 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 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dwarf_diecu(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @die_find_child(ptr noundef, 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 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 = !{!"__instance_walk_param", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 16} !14 = !{!15, !10, i64 0} !15 = !{!"TYPE_9__", !10, i64 0} !16 = !{!6, !10, i64 20}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_dwarf-aux.c_die_walk_instances.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_dwarf-aux.c_die_walk_instances.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_9__ = type { i32 } %struct.__instance_walk_param = type { ptr, ptr, i32, i32 } @ENOENT = common local_unnamed_addr global i32 0, align 4 @__die_walk_instances_cb = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @die_walk_instances(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_9__, align 4 %5 = alloca %struct.TYPE_9__, align 4 %6 = alloca %struct.__instance_walk_param, align 8 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 24, ptr nonnull %6) #3 store ptr %1, ptr %6, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %6, i64 8 store ptr %2, ptr %7, align 8, !tbaa !12 %8 = getelementptr inbounds i8, ptr %6, i64 16 %9 = load i32, ptr @ENOENT, align 4, !tbaa !13 %10 = sub nsw i32 0, %9 store i32 %10, ptr %8, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %6, i64 20 %12 = load i32, ptr %0, align 4, !tbaa !15 store i32 %12, ptr %11, align 4, !tbaa !17 %13 = call ptr @dwarf_diecu(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef null, ptr noundef null) #3 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %3 %16 = load i32, ptr @ENOENT, align 4, !tbaa !13 %17 = sub nsw i32 0, %16 br label %22 18: ; preds = %3 %19 = load i32, ptr @__die_walk_instances_cb, align 4, !tbaa !13 %20 = call i32 @die_find_child(ptr noundef nonnull %4, i32 noundef %19, ptr noundef nonnull %6, ptr noundef nonnull %5) #3 %21 = load i32, ptr %8, align 8, !tbaa !14 br label %22 22: ; preds = %18, %15 %23 = phi i32 [ %17, %15 ], [ %21, %18 ] call void @llvm.lifetime.end.p0(i64 24, 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 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dwarf_diecu(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @die_find_child(ptr noundef, 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 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 = !{!"__instance_walk_param", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 16} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_9__", !11, i64 0} !17 = !{!7, !11, i64 20}
linux_tools_perf_util_extr_dwarf-aux.c_die_walk_instances
; ModuleID = 'AnghaBench/linux/drivers/char/pcmcia/extr_cm4000_cs.c_cm4000_config_check.c' source_filename = "AnghaBench/linux/drivers/char/pcmcia/extr_cm4000_cs.c_cm4000_config_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 @cm4000_config_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cm4000_config_check(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @pcmcia_request_io(ptr noundef %0) #2 ret i32 %3 } declare i32 @pcmcia_request_io(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/char/pcmcia/extr_cm4000_cs.c_cm4000_config_check.c' source_filename = "AnghaBench/linux/drivers/char/pcmcia/extr_cm4000_cs.c_cm4000_config_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 @cm4000_config_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cm4000_config_check(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @pcmcia_request_io(ptr noundef %0) #2 ret i32 %3 } declare i32 @pcmcia_request_io(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_char_pcmcia_extr_cm4000_cs.c_cm4000_config_check
; ModuleID = 'AnghaBench/openssl/test/extr_evp_test.c_pbkdf2_test_parse.c' source_filename = "AnghaBench/openssl/test/extr_evp_test.c_pbkdf2_test_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" %struct.TYPE_4__ = type { i64, ptr } @.str = private unnamed_addr constant [5 x i8] c"iter\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"MD\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @pbkdf2_test_parse], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pbkdf2_test_parse(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = tail call i64 @atoi(ptr noundef %2) #2 store i64 %8, ptr %4, align 8, !tbaa !10 %9 = icmp slt i64 %8, 1 %10 = select i1 %9, i32 -1, i32 1 br label %19 11: ; preds = %3 %12 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str.1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %11 %15 = tail call ptr @EVP_get_digestbyname(ptr noundef %2) #2 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1 store ptr %15, ptr %16, align 8, !tbaa !13 %17 = icmp eq ptr %15, null %18 = select i1 %17, i32 -1, i32 1 br label %19 19: ; preds = %11, %14, %7 %20 = phi i32 [ %10, %7 ], [ %18, %14 ], [ 0, %11 ] ret i32 %20 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @atoi(ptr noundef) local_unnamed_addr #1 declare ptr @EVP_get_digestbyname(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !7, i64 8}
; ModuleID = 'AnghaBench/openssl/test/extr_evp_test.c_pbkdf2_test_parse.c' source_filename = "AnghaBench/openssl/test/extr_evp_test.c_pbkdf2_test_parse.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"iter\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"MD\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @pbkdf2_test_parse], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 2) i32 @pbkdf2_test_parse(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = tail call i64 @atoi(ptr noundef %2) #2 store i64 %8, ptr %4, align 8, !tbaa !11 %9 = icmp slt i64 %8, 1 %10 = select i1 %9, i32 -1, i32 1 br label %19 11: ; preds = %3 %12 = tail call i64 @strcmp(ptr noundef %1, ptr noundef nonnull @.str.1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %11 %15 = tail call ptr @EVP_get_digestbyname(ptr noundef %2) #2 %16 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %15, ptr %16, align 8, !tbaa !14 %17 = icmp eq ptr %15, null %18 = select i1 %17, i32 -1, i32 1 br label %19 19: ; preds = %11, %14, %7 %20 = phi i32 [ %10, %7 ], [ %18, %14 ], [ 0, %11 ] ret i32 %20 } declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @atoi(ptr noundef) local_unnamed_addr #1 declare ptr @EVP_get_digestbyname(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 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0, !8, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!12, !8, i64 8}
openssl_test_extr_evp_test.c_pbkdf2_test_parse
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_error.c_pt_errstr.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_error.c_pt_errstr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"OK\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"internal error\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"invalid argument\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"decoder out of sync\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"unknown opcode\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"unknown packet\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"unexpected packet context\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"reached end of trace stream\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"trace stream does not match query\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"bad configuration\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"no ip\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"ip has been suppressed\00", align 1 @.str.13 = private unnamed_addr constant [33 x i8] c"no memory mapped at this address\00", align 1 @.str.14 = private unnamed_addr constant [20 x i8] c"unknown instruction\00", align 1 @.str.15 = private unnamed_addr constant [22 x i8] c"no timing information\00", align 1 @.str.16 = private unnamed_addr constant [18 x i8] c"no core:bus ratio\00", align 1 @.str.17 = private unnamed_addr constant [10 x i8] c"bad image\00", align 1 @.str.18 = private unnamed_addr constant [14 x i8] c"locking error\00", align 1 @.str.19 = private unnamed_addr constant [14 x i8] c"not supported\00", align 1 @.str.20 = private unnamed_addr constant [31 x i8] c"compressed return without call\00", align 1 @.str.21 = private unnamed_addr constant [22 x i8] c"bad compressed return\00", align 1 @.str.22 = private unnamed_addr constant [18 x i8] c"bad status update\00", align 1 @.str.23 = private unnamed_addr constant [31 x i8] c"expected tracing enabled event\00", align 1 @.str.24 = private unnamed_addr constant [14 x i8] c"event ignored\00", align 1 @.str.25 = private unnamed_addr constant [9 x i8] c"overflow\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"bad file\00", align 1 @.str.27 = private unnamed_addr constant [12 x i8] c"unknown cpu\00", align 1 @.str.28 = private unnamed_addr constant [16 x i8] c"internal error.\00", align 1 @reltable.pt_errstr = private unnamed_addr constant [28 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.20 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.25 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.19 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.9 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.13 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.11 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.15 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.23 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.16 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.12 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.24 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.7 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.22 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.21 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.8 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.18 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.14 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.17 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.26 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.27 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.10 to i64), i64 ptrtoint (ptr @reltable.pt_errstr to i64)) to i32)], align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @pt_errstr(i32 noundef %0) local_unnamed_addr #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 28 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = shl i64 %5, 2 %7 = call ptr @llvm.load.relative.i64(ptr @reltable.pt_errstr, i64 %6) br label %8 8: ; preds = %1, %4 %9 = phi ptr [ %7, %4 ], [ @.str.28, %1 ] ret ptr %9 } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read) declare ptr @llvm.load.relative.i64(ptr, i64) #1 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" } attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_error.c_pt_errstr.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/src/extr_pt_error.c_pt_errstr.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 [3 x i8] c"OK\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"internal error\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"invalid argument\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"decoder out of sync\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"unknown opcode\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"unknown packet\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"unexpected packet context\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"reached end of trace stream\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"trace stream does not match query\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"bad configuration\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"no ip\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"ip has been suppressed\00", align 1 @.str.13 = private unnamed_addr constant [33 x i8] c"no memory mapped at this address\00", align 1 @.str.14 = private unnamed_addr constant [20 x i8] c"unknown instruction\00", align 1 @.str.15 = private unnamed_addr constant [22 x i8] c"no timing information\00", align 1 @.str.16 = private unnamed_addr constant [18 x i8] c"no core:bus ratio\00", align 1 @.str.17 = private unnamed_addr constant [10 x i8] c"bad image\00", align 1 @.str.18 = private unnamed_addr constant [14 x i8] c"locking error\00", align 1 @.str.19 = private unnamed_addr constant [14 x i8] c"not supported\00", align 1 @.str.20 = private unnamed_addr constant [31 x i8] c"compressed return without call\00", align 1 @.str.21 = private unnamed_addr constant [22 x i8] c"bad compressed return\00", align 1 @.str.22 = private unnamed_addr constant [18 x i8] c"bad status update\00", align 1 @.str.23 = private unnamed_addr constant [31 x i8] c"expected tracing enabled event\00", align 1 @.str.24 = private unnamed_addr constant [14 x i8] c"event ignored\00", align 1 @.str.25 = private unnamed_addr constant [9 x i8] c"overflow\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"bad file\00", align 1 @.str.27 = private unnamed_addr constant [12 x i8] c"unknown cpu\00", align 1 @.str.28 = private unnamed_addr constant [16 x i8] c"internal error.\00", align 1 @switch.table.pt_errstr = private unnamed_addr constant [28 x ptr] [ptr @.str.20, ptr @.str.25, ptr @.str, ptr @.str.19, ptr @.str.3, ptr @.str.9, ptr @.str.13, ptr @.str.11, ptr @.str.15, ptr @.str.23, ptr @.str.16, ptr @.str.12, ptr @.str.2, ptr @.str.1, ptr @.str.24, ptr @.str.7, ptr @.str.22, ptr @.str.21, ptr @.str.8, ptr @.str.5, ptr @.str.4, ptr @.str.18, ptr @.str.14, ptr @.str.17, ptr @.str.26, ptr @.str.27, ptr @.str.6, ptr @.str.10], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef nonnull ptr @pt_errstr(i32 noundef %0) local_unnamed_addr #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 28 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = getelementptr inbounds [28 x ptr], ptr @switch.table.pt_errstr, i64 0, i64 %5 %7 = load ptr, ptr %6, align 8 br label %8 8: ; preds = %1, %4 %9 = phi ptr [ %7, %4 ], [ @.str.28, %1 ] ret ptr %9 } 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_processor-trace_libipt_src_extr_pt_error.c_pt_errstr
; ModuleID = 'AnghaBench/postgres/src/bin/psql/extr_variables.c_ParseVariableBool.c' source_filename = "AnghaBench/postgres/src/bin/psql/extr_variables.c_ParseVariableBool.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"yes\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"no\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"on\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.9 = private unnamed_addr constant [51 x i8] c"unrecognized value \22%s\22 for \22%s\22: Boolean expected\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ParseVariableBool(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null %5 = select i1 %4, ptr @.str, ptr %0 %6 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %5) %7 = icmp eq i64 %6, 0 br i1 %7, label %24, label %8 8: ; preds = %3 %9 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, i64 noundef %6) #4 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store i32 1, ptr %2, align 4, !tbaa !5 br label %45 12: ; preds = %8 %13 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.2, i64 noundef %6) #4 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 0, ptr %2, align 4, !tbaa !5 br label %45 16: ; preds = %12 %17 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.3, i64 noundef %6) #4 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 1, ptr %2, align 4, !tbaa !5 br label %45 20: ; preds = %16 %21 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.4, i64 noundef %6) #4 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 0, ptr %2, align 4, !tbaa !5 br label %45 24: ; preds = %3, %20 %25 = tail call i64 @llvm.umax.i64(i64 %6, i64 2) %26 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.5, i64 noundef %25) #4 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 1, ptr %2, align 4, !tbaa !5 br label %45 29: ; preds = %24 %30 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.6, i64 noundef %25) #4 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %29 store i32 0, ptr %2, align 4, !tbaa !5 br label %45 33: ; preds = %29 %34 = tail call i64 @pg_strcasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.7) #4 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %33 store i32 1, ptr %2, align 4, !tbaa !5 br label %45 37: ; preds = %33 %38 = tail call i64 @pg_strcasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.8) #4 %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %37 store i32 0, ptr %2, align 4, !tbaa !5 br label %45 41: ; preds = %37 %42 = icmp eq ptr %1, null br i1 %42, label %45, label %43 43: ; preds = %41 %44 = tail call i32 @pg_log_error(ptr noundef nonnull @.str.9, ptr noundef nonnull %5, ptr noundef nonnull %1) #4 br label %45 45: ; preds = %41, %43, %15, %23, %32, %40, %36, %28, %19, %11 %46 = phi i32 [ 1, %11 ], [ 1, %15 ], [ 1, %19 ], [ 1, %23 ], [ 1, %28 ], [ 1, %32 ], [ 1, %36 ], [ 1, %40 ], [ 0, %43 ], [ 0, %41 ] ret i32 %46 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i64 @pg_strncasecmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @pg_strcasecmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pg_log_error(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/postgres/src/bin/psql/extr_variables.c_ParseVariableBool.c' source_filename = "AnghaBench/postgres/src/bin/psql/extr_variables.c_ParseVariableBool.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 @.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"yes\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"no\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"on\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.9 = private unnamed_addr constant [51 x i8] c"unrecognized value \22%s\22 for \22%s\22: Boolean expected\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @ParseVariableBool(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null %5 = select i1 %4, ptr @.str, ptr %0 %6 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %5) #4 %7 = icmp eq i64 %6, 0 br i1 %7, label %24, label %8 8: ; preds = %3 %9 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, i64 noundef %6) #4 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %8 store i32 1, ptr %2, align 4, !tbaa !6 br label %45 12: ; preds = %8 %13 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.2, i64 noundef %6) #4 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 0, ptr %2, align 4, !tbaa !6 br label %45 16: ; preds = %12 %17 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.3, i64 noundef %6) #4 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 1, ptr %2, align 4, !tbaa !6 br label %45 20: ; preds = %16 %21 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.4, i64 noundef %6) #4 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 0, ptr %2, align 4, !tbaa !6 br label %45 24: ; preds = %3, %20 %25 = tail call i64 @llvm.umax.i64(i64 %6, i64 2) %26 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.5, i64 noundef %25) #4 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 1, ptr %2, align 4, !tbaa !6 br label %45 29: ; preds = %24 %30 = tail call i64 @pg_strncasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.6, i64 noundef %25) #4 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %29 store i32 0, ptr %2, align 4, !tbaa !6 br label %45 33: ; preds = %29 %34 = tail call i64 @pg_strcasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.7) #4 %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %33 store i32 1, ptr %2, align 4, !tbaa !6 br label %45 37: ; preds = %33 %38 = tail call i64 @pg_strcasecmp(ptr noundef nonnull %5, ptr noundef nonnull @.str.8) #4 %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %37 store i32 0, ptr %2, align 4, !tbaa !6 br label %45 41: ; preds = %37 %42 = icmp eq ptr %1, null br i1 %42, label %45, label %43 43: ; preds = %41 %44 = tail call i32 @pg_log_error(ptr noundef nonnull @.str.9, ptr noundef nonnull %5, ptr noundef nonnull %1) #4 br label %45 45: ; preds = %41, %43, %15, %23, %32, %40, %36, %28, %19, %11 %46 = phi i32 [ 1, %11 ], [ 1, %15 ], [ 1, %19 ], [ 1, %23 ], [ 1, %28 ], [ 1, %32 ], [ 1, %36 ], [ 1, %40 ], [ 0, %43 ], [ 0, %41 ] ret i32 %46 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i64 @pg_strncasecmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @pg_strcasecmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pg_log_error(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
postgres_src_bin_psql_extr_variables.c_ParseVariableBool
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_raw.c_raw_rcv.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_raw.c_raw_rcv.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" @XFRM_POLICY_IN = dso_local local_unnamed_addr global i32 0, align 4 @NET_RX_DROP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @raw_rcv(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @XFRM_POLICY_IN, align 4, !tbaa !5 %4 = tail call i32 @xfrm4_policy_check(ptr noundef %0, i32 noundef %3, ptr noundef %1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %2 %7 = tail call i32 @atomic_inc(ptr noundef %0) #2 %8 = tail call i32 @kfree_skb(ptr noundef %1) #2 %9 = load i32, ptr @NET_RX_DROP, align 4, !tbaa !5 br label %17 10: ; preds = %2 %11 = tail call i32 @nf_reset(ptr noundef %1) #2 %12 = load i64, ptr %1, align 8, !tbaa !9 %13 = tail call i64 @skb_network_header(ptr noundef nonnull %1) #2 %14 = sub nsw i64 %12, %13 %15 = tail call i32 @skb_push(ptr noundef nonnull %1, i64 noundef %14) #2 %16 = tail call i32 @raw_rcv_skb(ptr noundef %0, ptr noundef nonnull %1) #2 br label %17 17: ; preds = %10, %6 %18 = phi i32 [ 0, %10 ], [ %9, %6 ] ret i32 %18 } declare i32 @xfrm4_policy_check(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @nf_reset(ptr noundef) local_unnamed_addr #1 declare i32 @skb_push(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @skb_network_header(ptr noundef) local_unnamed_addr #1 declare i32 @raw_rcv_skb(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, !11, i64 0} !10 = !{!"sk_buff", !11, i64 0} !11 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_raw.c_raw_rcv.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_raw.c_raw_rcv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XFRM_POLICY_IN = common local_unnamed_addr global i32 0, align 4 @NET_RX_DROP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @raw_rcv(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @XFRM_POLICY_IN, align 4, !tbaa !6 %4 = tail call i32 @xfrm4_policy_check(ptr noundef %0, i32 noundef %3, ptr noundef %1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %2 %7 = tail call i32 @atomic_inc(ptr noundef %0) #2 %8 = tail call i32 @kfree_skb(ptr noundef %1) #2 %9 = load i32, ptr @NET_RX_DROP, align 4, !tbaa !6 br label %17 10: ; preds = %2 %11 = tail call i32 @nf_reset(ptr noundef %1) #2 %12 = load i64, ptr %1, align 8, !tbaa !10 %13 = tail call i64 @skb_network_header(ptr noundef nonnull %1) #2 %14 = sub nsw i64 %12, %13 %15 = tail call i32 @skb_push(ptr noundef nonnull %1, i64 noundef %14) #2 %16 = tail call i32 @raw_rcv_skb(ptr noundef %0, ptr noundef nonnull %1) #2 br label %17 17: ; preds = %10, %6 %18 = phi i32 [ 0, %10 ], [ %9, %6 ] ret i32 %18 } declare i32 @xfrm4_policy_check(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @nf_reset(ptr noundef) local_unnamed_addr #1 declare i32 @skb_push(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @skb_network_header(ptr noundef) local_unnamed_addr #1 declare i32 @raw_rcv_skb(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, !12, i64 0} !11 = !{!"sk_buff", !12, i64 0} !12 = !{!"long", !8, i64 0}
fastsocket_kernel_net_ipv4_extr_raw.c_raw_rcv
; ModuleID = 'AnghaBench/libgit2/tests/path/extr_win32.c_test_path_win32__utf8_to_utf16.c' source_filename = "AnghaBench/libgit2/tests/path/extr_win32.c_test_path_win32__utf8_to_utf16.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(none) uwtable define dso_local void @test_path_win32__utf8_to_utf16() local_unnamed_addr #0 { ret void } 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/libgit2/tests/path/extr_win32.c_test_path_win32__utf8_to_utf16.c' source_filename = "AnghaBench/libgit2/tests/path/extr_win32.c_test_path_win32__utf8_to_utf16.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(none) uwtable(sync) define void @test_path_win32__utf8_to_utf16() local_unnamed_addr #0 { ret void } 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)"}
libgit2_tests_path_extr_win32.c_test_path_win32__utf8_to_utf16
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/smbfs/extr_sock.c_smb_receive_header.c' source_filename = "AnghaBench/fastsocket/kernel/fs/smbfs/extr_sock.c_smb_receive_header.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.smb_sb_info = type { i64, i32, i64, ptr } @EIO = dso_local local_unnamed_addr global i32 0, align 4 @TCP_ESTABLISHED = dso_local local_unnamed_addr global i64 0, align 8 @ENODATA = dso_local local_unnamed_addr global i32 0, align 4 @SMB_HEADER_LEN = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [18 x i8] c"short packet: %d\0A\00", align 1 @SMB_RECV_DROP = dso_local local_unnamed_addr global ptr null, align 8 @SMB_MAX_PACKET_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [17 x i8] c"long packet: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"_recvfrom: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"receive error: %d\0A\00", align 1 @SMB_RECV_HCOMPLETE = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @smb_receive_header(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [4 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @EIO, align 4, !tbaa !5 %4 = sub nsw i32 0, %3 %5 = tail call ptr @server_sock(ptr noundef %0) #3 %6 = icmp eq ptr %5, null br i1 %6, label %69, label %7 7: ; preds = %1 %8 = load ptr, ptr %5, align 8, !tbaa !9 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = load i64, ptr @TCP_ESTABLISHED, align 8, !tbaa !15 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %69 12: ; preds = %7 %13 = load i64, ptr %0, align 8, !tbaa !16 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %12 %16 = load i64, ptr @SMB_HEADER_LEN, align 8, !tbaa !15 br label %48 17: ; preds = %12 %18 = call i32 @smb_get_length(ptr noundef nonnull %5, ptr noundef nonnull %2) #3 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load i32, ptr @ENODATA, align 4, !tbaa !5 %22 = sub nsw i32 0, %21 %23 = icmp eq i32 %18, %22 %24 = select i1 %23, i32 0, i32 %18 br label %69 25: ; preds = %17 %26 = add nuw nsw i32 %18, 4 %27 = getelementptr inbounds %struct.smb_sb_info, ptr %0, i64 0, i32 1 store i32 %26, ptr %27, align 8, !tbaa !18 %28 = zext nneg i32 %26 to i64 %29 = load i64, ptr @SMB_HEADER_LEN, align 8, !tbaa !15 %30 = icmp sgt i64 %29, %28 br i1 %30, label %31, label %37 31: ; preds = %25 %32 = call i32 @PARANOIA(ptr noundef nonnull @.str, i32 noundef %18) #3 %33 = load ptr, ptr @SMB_RECV_DROP, align 8, !tbaa !19 %34 = getelementptr inbounds %struct.smb_sb_info, ptr %0, i64 0, i32 3 store ptr %33, ptr %34, align 8, !tbaa !20 %35 = load i32, ptr @EIO, align 4, !tbaa !5 %36 = sub nsw i32 0, %35 br label %69 37: ; preds = %25 %38 = load i64, ptr @SMB_MAX_PACKET_SIZE, align 8, !tbaa !15 %39 = icmp slt i64 %38, %28 br i1 %39, label %42, label %40 40: ; preds = %37 %41 = load i64, ptr %0, align 8, !tbaa !16 br label %48 42: ; preds = %37 %43 = call i32 @PARANOIA(ptr noundef nonnull @.str.1, i32 noundef %18) #3 %44 = load ptr, ptr @SMB_RECV_DROP, align 8, !tbaa !19 %45 = getelementptr inbounds %struct.smb_sb_info, ptr %0, i64 0, i32 3 store ptr %44, ptr %45, align 8, !tbaa !20 %46 = load i32, ptr @EIO, align 4, !tbaa !5 %47 = sub nsw i32 0, %46 br label %69 48: ; preds = %15, %40 %49 = phi i64 [ %29, %40 ], [ %16, %15 ] %50 = phi i64 [ %41, %40 ], [ %13, %15 ] %51 = getelementptr inbounds %struct.smb_sb_info, ptr %0, i64 0, i32 2 %52 = load i64, ptr %51, align 8, !tbaa !21 %53 = add nsw i64 %50, %52 %54 = sub nsw i64 %49, %50 %55 = call i32 @_recvfrom(ptr noundef nonnull %5, i64 noundef %53, i64 noundef %54, i32 noundef 0) #3 %56 = call i32 @VERBOSE(ptr noundef nonnull @.str.2, i32 noundef %55) #3 %57 = icmp slt i32 %55, 0 br i1 %57, label %58, label %60 58: ; preds = %48 %59 = call i32 @VERBOSE(ptr noundef nonnull @.str.3, i32 noundef %55) #3 br label %69 60: ; preds = %48 %61 = zext nneg i32 %55 to i64 %62 = load i64, ptr %0, align 8, !tbaa !16 %63 = add nsw i64 %62, %61 store i64 %63, ptr %0, align 8, !tbaa !16 %64 = load i64, ptr @SMB_HEADER_LEN, align 8, !tbaa !15 %65 = icmp eq i64 %63, %64 br i1 %65, label %66, label %69 66: ; preds = %60 %67 = load ptr, ptr @SMB_RECV_HCOMPLETE, align 8, !tbaa !19 %68 = getelementptr inbounds %struct.smb_sb_info, ptr %0, i64 0, i32 3 store ptr %67, ptr %68, align 8, !tbaa !20 br label %69 69: ; preds = %60, %66, %7, %1, %58, %42, %31, %20 %70 = phi i32 [ %4, %7 ], [ %55, %58 ], [ %55, %66 ], [ %55, %60 ], [ %24, %20 ], [ %36, %31 ], [ %47, %42 ], [ %4, %1 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %70 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @server_sock(ptr noundef) local_unnamed_addr #2 declare i32 @smb_get_length(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PARANOIA(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_recvfrom(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @VERBOSE(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 = !{!"socket", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"smb_sb_info", !14, i64 0, !6, i64 8, !14, i64 16, !11, i64 24} !18 = !{!17, !6, i64 8} !19 = !{!11, !11, i64 0} !20 = !{!17, !11, i64 24} !21 = !{!17, !14, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/smbfs/extr_sock.c_smb_receive_header.c' source_filename = "AnghaBench/fastsocket/kernel/fs/smbfs/extr_sock.c_smb_receive_header.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EIO = common local_unnamed_addr global i32 0, align 4 @TCP_ESTABLISHED = common local_unnamed_addr global i64 0, align 8 @ENODATA = common local_unnamed_addr global i32 0, align 4 @SMB_HEADER_LEN = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [18 x i8] c"short packet: %d\0A\00", align 1 @SMB_RECV_DROP = common local_unnamed_addr global ptr null, align 8 @SMB_MAX_PACKET_SIZE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [17 x i8] c"long packet: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"_recvfrom: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"receive error: %d\0A\00", align 1 @SMB_RECV_HCOMPLETE = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @smb_receive_header(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [4 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @EIO, align 4, !tbaa !6 %4 = sub nsw i32 0, %3 %5 = tail call ptr @server_sock(ptr noundef %0) #3 %6 = icmp eq ptr %5, null br i1 %6, label %69, label %7 7: ; preds = %1 %8 = load ptr, ptr %5, align 8, !tbaa !10 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = load i64, ptr @TCP_ESTABLISHED, align 8, !tbaa !16 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %69 12: ; preds = %7 %13 = load i64, ptr %0, align 8, !tbaa !17 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %12 %16 = load i64, ptr @SMB_HEADER_LEN, align 8, !tbaa !16 br label %48 17: ; preds = %12 %18 = call i32 @smb_get_length(ptr noundef nonnull %5, ptr noundef nonnull %2) #3 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load i32, ptr @ENODATA, align 4, !tbaa !6 %22 = sub nsw i32 0, %21 %23 = icmp eq i32 %18, %22 %24 = select i1 %23, i32 0, i32 %18 br label %69 25: ; preds = %17 %26 = add nuw nsw i32 %18, 4 %27 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %26, ptr %27, align 8, !tbaa !19 %28 = zext nneg i32 %26 to i64 %29 = load i64, ptr @SMB_HEADER_LEN, align 8, !tbaa !16 %30 = icmp sgt i64 %29, %28 br i1 %30, label %31, label %37 31: ; preds = %25 %32 = call i32 @PARANOIA(ptr noundef nonnull @.str, i32 noundef %18) #3 %33 = load ptr, ptr @SMB_RECV_DROP, align 8, !tbaa !20 %34 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %33, ptr %34, align 8, !tbaa !21 %35 = load i32, ptr @EIO, align 4, !tbaa !6 %36 = sub nsw i32 0, %35 br label %69 37: ; preds = %25 %38 = load i64, ptr @SMB_MAX_PACKET_SIZE, align 8, !tbaa !16 %39 = icmp slt i64 %38, %28 br i1 %39, label %42, label %40 40: ; preds = %37 %41 = load i64, ptr %0, align 8, !tbaa !17 br label %48 42: ; preds = %37 %43 = call i32 @PARANOIA(ptr noundef nonnull @.str.1, i32 noundef %18) #3 %44 = load ptr, ptr @SMB_RECV_DROP, align 8, !tbaa !20 %45 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %44, ptr %45, align 8, !tbaa !21 %46 = load i32, ptr @EIO, align 4, !tbaa !6 %47 = sub nsw i32 0, %46 br label %69 48: ; preds = %15, %40 %49 = phi i64 [ %29, %40 ], [ %16, %15 ] %50 = phi i64 [ %41, %40 ], [ %13, %15 ] %51 = getelementptr inbounds i8, ptr %0, i64 16 %52 = load i64, ptr %51, align 8, !tbaa !22 %53 = add nsw i64 %50, %52 %54 = sub nsw i64 %49, %50 %55 = call i32 @_recvfrom(ptr noundef nonnull %5, i64 noundef %53, i64 noundef %54, i32 noundef 0) #3 %56 = call i32 @VERBOSE(ptr noundef nonnull @.str.2, i32 noundef %55) #3 %57 = icmp slt i32 %55, 0 br i1 %57, label %58, label %60 58: ; preds = %48 %59 = call i32 @VERBOSE(ptr noundef nonnull @.str.3, i32 noundef %55) #3 br label %69 60: ; preds = %48 %61 = zext nneg i32 %55 to i64 %62 = load i64, ptr %0, align 8, !tbaa !17 %63 = add nsw i64 %62, %61 store i64 %63, ptr %0, align 8, !tbaa !17 %64 = load i64, ptr @SMB_HEADER_LEN, align 8, !tbaa !16 %65 = icmp eq i64 %63, %64 br i1 %65, label %66, label %69 66: ; preds = %60 %67 = load ptr, ptr @SMB_RECV_HCOMPLETE, align 8, !tbaa !20 %68 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %67, ptr %68, align 8, !tbaa !21 br label %69 69: ; preds = %60, %66, %7, %1, %58, %42, %31, %20 %70 = phi i32 [ %4, %7 ], [ %55, %58 ], [ %55, %66 ], [ %55, %60 ], [ %24, %20 ], [ %36, %31 ], [ %47, %42 ], [ %4, %1 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %70 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @server_sock(ptr noundef) local_unnamed_addr #2 declare i32 @smb_get_length(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PARANOIA(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_recvfrom(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @VERBOSE(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 = !{!"socket", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!18, !15, i64 0} !18 = !{!"smb_sb_info", !15, i64 0, !7, i64 8, !15, i64 16, !12, i64 24} !19 = !{!18, !7, i64 8} !20 = !{!12, !12, i64 0} !21 = !{!18, !12, i64 24} !22 = !{!18, !15, i64 16}
fastsocket_kernel_fs_smbfs_extr_sock.c_smb_receive_header
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/kernel/extr_kgdb.c_kgdb_call_nmi_hook.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/kernel/extr_kgdb.c_kgdb_call_nmi_hook.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 @kgdb_call_nmi_hook], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @kgdb_call_nmi_hook(ptr nocapture readnone %0) #0 { %2 = tail call i32 (...) @raw_smp_processor_id() #2 %3 = tail call i32 @kgdb_nmicallback(i32 noundef %2, ptr noundef null) #2 ret void } declare i32 @kgdb_nmicallback(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @raw_smp_processor_id(...) 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/arch/mips/kernel/extr_kgdb.c_kgdb_call_nmi_hook.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/kernel/extr_kgdb.c_kgdb_call_nmi_hook.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 @kgdb_call_nmi_hook], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @kgdb_call_nmi_hook(ptr nocapture readnone %0) #0 { %2 = tail call i32 @raw_smp_processor_id() #2 %3 = tail call i32 @kgdb_nmicallback(i32 noundef %2, ptr noundef null) #2 ret void } declare i32 @kgdb_nmicallback(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @raw_smp_processor_id(...) 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_arch_mips_kernel_extr_kgdb.c_kgdb_call_nmi_hook
; ModuleID = 'AnghaBench/RetroArch/input/drivers/extr_wayland_input.c_input_wl_state_kb.c' source_filename = "AnghaBench/RetroArch/input/drivers/extr_wayland_input.c_input_wl_state_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" @rarch_keysym_lut = dso_local local_unnamed_addr global ptr null, align 8 @RETROK_LAST = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @input_wl_state_kb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @input_wl_state_kb(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 %2, i32 %3, i32 %4, i32 noundef %5) #0 { %7 = load i32, ptr @RETROK_LAST, align 4, !tbaa !5 %8 = icmp ugt i32 %7, %5 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load ptr, ptr @rarch_keysym_lut, align 8, !tbaa !9 %11 = zext i32 %5 to i64 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !5 %14 = load i32, ptr %0, align 4, !tbaa !11 %15 = tail call i64 @BIT_GET(i32 noundef %14, i32 noundef %13) #2 %16 = icmp ne i64 %15, 0 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %9, %6 %19 = phi i32 [ 0, %6 ], [ %17, %9 ] ret i32 %19 } declare i64 @BIT_GET(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, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/RetroArch/input/drivers/extr_wayland_input.c_input_wl_state_kb.c' source_filename = "AnghaBench/RetroArch/input/drivers/extr_wayland_input.c_input_wl_state_kb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @rarch_keysym_lut = common local_unnamed_addr global ptr null, align 8 @RETROK_LAST = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @input_wl_state_kb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @input_wl_state_kb(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 %2, i32 %3, i32 %4, i32 noundef %5) #0 { %7 = load i32, ptr @RETROK_LAST, align 4, !tbaa !6 %8 = icmp ugt i32 %7, %5 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load ptr, ptr @rarch_keysym_lut, align 8, !tbaa !10 %11 = zext i32 %5 to i64 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !6 %14 = load i32, ptr %0, align 4, !tbaa !12 %15 = tail call i64 @BIT_GET(i32 noundef %14, i32 noundef %13) #2 %16 = icmp ne i64 %15, 0 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %9, %6 %19 = phi i32 [ 0, %6 ], [ %17, %9 ] ret i32 %19 } declare i64 @BIT_GET(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, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0}
RetroArch_input_drivers_extr_wayland_input.c_input_wl_state_kb
; ModuleID = 'AnghaBench/obs-studio/libobs/callback/extr_proc.c_proc_handler_destroy.c' source_filename = "AnghaBench/obs-studio/libobs/callback/extr_proc.c_proc_handler_destroy.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, i64 } ; Function Attrs: nounwind uwtable define dso_local void @proc_handler_destroy(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %22, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 br label %14 8: ; preds = %14, %3 %9 = phi i64 [ 0, %3 ], [ %20, %14 ] %10 = getelementptr inbounds { i64, i64 }, ptr %0, i64 0, i32 1 %11 = load i64, ptr %10, align 8 %12 = tail call i32 @da_free(i64 %9, i64 %11) #2 %13 = tail call i32 @bfree(ptr noundef nonnull %0) #2 br label %22 14: ; preds = %6, %14 %15 = phi i64 [ 0, %6 ], [ %19, %14 ] %16 = load i64, ptr %7, align 8, !tbaa !5 %17 = add i64 %16, %15 %18 = tail call i32 @proc_info_free(i64 noundef %17) #2 %19 = add nuw i64 %15, 1 %20 = load i64, ptr %0, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %14, label %8, !llvm.loop !11 22: ; preds = %8, %1 ret void } declare i32 @proc_info_free(i64 noundef) local_unnamed_addr #1 declare i32 @da_free(i64, i64) local_unnamed_addr #1 declare i32 @bfree(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, !8, i64 8} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/obs-studio/libobs/callback/extr_proc.c_proc_handler_destroy.c' source_filename = "AnghaBench/obs-studio/libobs/callback/extr_proc.c_proc_handler_destroy.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 @proc_handler_destroy(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %24, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 8 br label %16 8: ; preds = %16, %3 %9 = phi i64 [ 0, %3 ], [ %22, %16 ] %10 = insertvalue [2 x i64] poison, i64 %9, 0 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i64, ptr %11, align 8 %13 = insertvalue [2 x i64] %10, i64 %12, 1 %14 = tail call i32 @da_free([2 x i64] %13) #2 %15 = tail call i32 @bfree(ptr noundef nonnull %0) #2 br label %24 16: ; preds = %6, %16 %17 = phi i64 [ 0, %6 ], [ %21, %16 ] %18 = load i64, ptr %7, align 8, !tbaa !6 %19 = add i64 %18, %17 %20 = tail call i32 @proc_info_free(i64 noundef %19) #2 %21 = add nuw i64 %17, 1 %22 = load i64, ptr %0, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %16, label %8, !llvm.loop !12 24: ; preds = %8, %1 ret void } declare i32 @proc_info_free(i64 noundef) local_unnamed_addr #1 declare i32 @da_free([2 x i64]) local_unnamed_addr #1 declare i32 @bfree(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, !9, i64 8} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0, !9, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
obs-studio_libobs_callback_extr_proc.c_proc_handler_destroy
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509_csr.c_x509_csr_get_version.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509_csr.c_x509_csr_get_version.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" @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG = dso_local local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_INVALID_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @x509_csr_get_version], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @x509_csr_get_version(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @mbedtls_asn1_get_int(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %3 %7 = load i32, ptr @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG, align 4, !tbaa !5 %8 = icmp eq i32 %4, %7 br i1 %8, label %9, label %10 9: ; preds = %6 store i32 0, ptr %2, align 4, !tbaa !5 br label %13 10: ; preds = %6 %11 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_VERSION, align 4, !tbaa !5 %12 = add nsw i32 %11, %4 br label %13 13: ; preds = %3, %10, %9 %14 = phi i32 [ 0, %9 ], [ %12, %10 ], [ 0, %3 ] ret i32 %14 } declare i32 @mbedtls_asn1_get_int(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509_csr.c_x509_csr_get_version.c' source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509_csr.c_x509_csr_get_version.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG = common local_unnamed_addr global i32 0, align 4 @MBEDTLS_ERR_X509_INVALID_VERSION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @x509_csr_get_version], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @x509_csr_get_version(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @mbedtls_asn1_get_int(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %3 %7 = load i32, ptr @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG, align 4, !tbaa !6 %8 = icmp eq i32 %4, %7 br i1 %8, label %9, label %10 9: ; preds = %6 store i32 0, ptr %2, align 4, !tbaa !6 br label %13 10: ; preds = %6 %11 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_VERSION, align 4, !tbaa !6 %12 = add nsw i32 %11, %4 br label %13 13: ; preds = %3, %10, %9 %14 = phi i32 [ 0, %9 ], [ %12, %10 ], [ 0, %3 ] ret i32 %14 } declare i32 @mbedtls_asn1_get_int(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_deps_mbedtls_extr_x509_csr.c_x509_csr_get_version
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/st/cw1200/extr_wsm.h_wsm_queue_id_to_linux.c' source_filename = "AnghaBench/linux/drivers/net/wireless/st/cw1200/extr_wsm.h_wsm_queue_id_to_linux.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" @wsm_queue_id_to_linux.queue_mapping = internal unnamed_addr constant [4 x i32] [i32 2, i32 3, i32 1, i32 0], align 16 @llvm.compiler.used = appending global [1 x ptr] [ptr @wsm_queue_id_to_linux], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @wsm_queue_id_to_linux(i32 noundef %0) #0 { %2 = sext i32 %0 to i64 %3 = getelementptr inbounds [4 x i32], ptr @wsm_queue_id_to_linux.queue_mapping, i64 0, i64 %2 %4 = load i32, ptr %3, align 4, !tbaa !5 ret i32 %4 } 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)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/st/cw1200/extr_wsm.h_wsm_queue_id_to_linux.c' source_filename = "AnghaBench/linux/drivers/net/wireless/st/cw1200/extr_wsm.h_wsm_queue_id_to_linux.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @wsm_queue_id_to_linux.queue_mapping = internal unnamed_addr constant [4 x i32] [i32 2, i32 3, i32 1, i32 0], align 4 @llvm.used = appending global [1 x ptr] [ptr @wsm_queue_id_to_linux], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i32 @wsm_queue_id_to_linux(i32 noundef %0) #0 { %2 = sext i32 %0 to i64 %3 = getelementptr inbounds [4 x i32], ptr @wsm_queue_id_to_linux.queue_mapping, i64 0, i64 %2 %4 = load i32, ptr %3, align 4, !tbaa !6 ret i32 %4 } 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)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wireless_st_cw1200_extr_wsm.h_wsm_queue_id_to_linux
; ModuleID = 'AnghaBench/kphp-kdb/TL/extr_tl-utils.c_tl_string_buffer_free.c' source_filename = "AnghaBench/kphp-kdb/TL/extr_tl-utils.c_tl_string_buffer_free.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 @tl_string_buffer_free(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @free(i64 noundef %2) #2 br label %6 6: ; preds = %4, %1 %7 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 8) #2 ret void } declare i32 @free(i64 noundef) local_unnamed_addr #1 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, !7, i64 0} !6 = !{!"tl_buffer", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/kphp-kdb/TL/extr_tl-utils.c_tl_string_buffer_free.c' source_filename = "AnghaBench/kphp-kdb/TL/extr_tl-utils.c_tl_string_buffer_free.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 @tl_string_buffer_free(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @free(i64 noundef %2) #2 br label %6 6: ; preds = %4, %1 %7 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 8) #2 ret void } declare i32 @free(i64 noundef) local_unnamed_addr #1 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, !8, i64 0} !7 = !{!"tl_buffer", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
kphp-kdb_TL_extr_tl-utils.c_tl_string_buffer_free
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_fw.c_mlx4_ACCESS_PTYS_REG.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_fw.c_mlx4_ACCESS_PTYS_REG.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" @MLX4_REG_ID_PTYS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mlx4_ACCESS_PTYS_REG(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @MLX4_REG_ID_PTYS, align 4, !tbaa !5 %5 = tail call i32 @mlx4_ACCESS_REG(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef 4, ptr noundef %2) #2 ret i32 %5 } declare i32 @mlx4_ACCESS_REG(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_fw.c_mlx4_ACCESS_PTYS_REG.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_fw.c_mlx4_ACCESS_PTYS_REG.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX4_REG_ID_PTYS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mlx4_ACCESS_PTYS_REG(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @MLX4_REG_ID_PTYS, align 4, !tbaa !6 %5 = tail call i32 @mlx4_ACCESS_REG(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef 4, ptr noundef %2) #2 ret i32 %5 } declare i32 @mlx4_ACCESS_REG(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_mlx4_mlx4_core_extr_mlx4_fw.c_mlx4_ACCESS_PTYS_REG
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_emc1403.c_temp_store.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_emc1403.c_temp_store.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 @llvm.compiler.used = appending global [1 x ptr] [ptr @temp_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @temp_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3 %7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %8 = call i64 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %4 %11 = load i32, ptr @EINVAL, align 4, !tbaa !5 %12 = sub nsw i32 0, %11 br label %22 13: ; preds = %4 %14 = load i32, ptr %7, align 4, !tbaa !9 %15 = load i32, ptr %6, align 4, !tbaa !11 %16 = load i64, ptr %5, align 8, !tbaa !13 %17 = call i32 @DIV_ROUND_CLOSEST(i64 noundef %16, i32 noundef 1000) #3 %18 = call i32 @regmap_write(i32 noundef %14, i32 noundef %15, i32 noundef %17) #3 %19 = icmp slt i32 %18, 0 %20 = trunc i64 %3 to i32 %21 = select i1 %19, i32 %18, i32 %20 br label %22 22: ; preds = %13, %10 %23 = phi i32 [ %12, %10 ], [ %21, %13 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %23 } ; 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_sensor_dev_attr(ptr noundef) local_unnamed_addr #2 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i64 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @DIV_ROUND_CLOSEST(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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"thermal_data", !6, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"sensor_device_attribute", !6, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_emc1403.c_temp_store.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_emc1403.c_temp_store.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 @llvm.used = appending global [1 x ptr] [ptr @temp_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @temp_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3 %7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %8 = call i64 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %4 %11 = load i32, ptr @EINVAL, align 4, !tbaa !6 %12 = sub nsw i32 0, %11 br label %22 13: ; preds = %4 %14 = load i32, ptr %7, align 4, !tbaa !10 %15 = load i32, ptr %6, align 4, !tbaa !12 %16 = load i64, ptr %5, align 8, !tbaa !14 %17 = call i32 @DIV_ROUND_CLOSEST(i64 noundef %16, i32 noundef 1000) #3 %18 = call i32 @regmap_write(i32 noundef %14, i32 noundef %15, i32 noundef %17) #3 %19 = icmp slt i32 %18, 0 %20 = trunc i64 %3 to i32 %21 = select i1 %19, i32 %18, i32 %20 br label %22 22: ; preds = %13, %10 %23 = phi i32 [ %12, %10 ], [ %21, %13 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %23 } ; 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_sensor_dev_attr(ptr noundef) local_unnamed_addr #2 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i64 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @DIV_ROUND_CLOSEST(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 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 = !{!"thermal_data", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"sensor_device_attribute", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0}
linux_drivers_hwmon_extr_emc1403.c_temp_store
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree.c_build_omp_clause.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree.c_build_omp_clause.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" @omp_clause_num_ops = dso_local local_unnamed_addr global ptr null, align 8 @OMP_CLAUSE = dso_local local_unnamed_addr global i32 0, align 4 @omp_clause_kind = dso_local local_unnamed_addr global i64 0, align 8 @tree_node_counts = dso_local local_unnamed_addr global ptr null, align 8 @tree_node_sizes = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @build_omp_clause(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @omp_clause_num_ops, align 8, !tbaa !5 %3 = zext i32 %0 to i64 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !9 %6 = shl i32 %5, 2 %7 = tail call i32 @ggc_alloc(i32 noundef %6) #2 %8 = tail call i32 @memset(i32 noundef %7, i32 noundef 0, i32 noundef %6) #2 %9 = load i32, ptr @OMP_CLAUSE, align 4, !tbaa !9 %10 = tail call i32 @TREE_SET_CODE(i32 noundef %7, i32 noundef %9) #2 %11 = tail call i32 @OMP_CLAUSE_SET_CODE(i32 noundef %7, i32 noundef %0) #2 ret i32 %7 } declare i32 @ggc_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TREE_SET_CODE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OMP_CLAUSE_SET_CODE(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/contrib/gcc/extr_tree.c_build_omp_clause.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree.c_build_omp_clause.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @omp_clause_num_ops = common local_unnamed_addr global ptr null, align 8 @OMP_CLAUSE = common local_unnamed_addr global i32 0, align 4 @omp_clause_kind = common local_unnamed_addr global i64 0, align 8 @tree_node_counts = common local_unnamed_addr global ptr null, align 8 @tree_node_sizes = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @build_omp_clause(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @omp_clause_num_ops, align 8, !tbaa !6 %3 = zext i32 %0 to i64 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = shl i32 %5, 2 %7 = tail call i32 @ggc_alloc(i32 noundef %6) #2 %8 = tail call i32 @memset(i32 noundef %7, i32 noundef 0, i32 noundef %6) #2 %9 = load i32, ptr @OMP_CLAUSE, align 4, !tbaa !10 %10 = tail call i32 @TREE_SET_CODE(i32 noundef %7, i32 noundef %9) #2 %11 = tail call i32 @OMP_CLAUSE_SET_CODE(i32 noundef %7, i32 noundef %0) #2 ret i32 %7 } declare i32 @ggc_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TREE_SET_CODE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OMP_CLAUSE_SET_CODE(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_contrib_gcc_extr_tree.c_build_omp_clause
; ModuleID = 'AnghaBench/freebsd/lib/libthread_db/extr_libthr_db.c_pt_thr_set_event.c' source_filename = "AnghaBench/freebsd/lib/libthread_db/extr_libthr_db.c_pt_thr_set_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.TYPE_4__ = type { i64, ptr } %struct.TYPE_5__ = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @pt_thr_set_event], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pt_thr_set_event(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %6 = tail call i32 (...) @TDBG_FUNC() #3 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !11 %9 = load i64, ptr %0, align 8, !tbaa !14 %10 = load i64, ptr %5, align 8, !tbaa !15 %11 = add nsw i64 %10, %9 %12 = call i32 @ps_pread(i32 noundef %8, i64 noundef %11, ptr noundef nonnull %3, i32 noundef 4) #3 %13 = load i32, ptr %1, align 4, !tbaa !16 %14 = load i32, ptr %3, align 4, !tbaa !16 %15 = or i32 %14, %13 store i32 %15, ptr %3, align 4, !tbaa !16 %16 = load i32, ptr %7, align 8, !tbaa !11 %17 = load i64, ptr %0, align 8, !tbaa !14 %18 = load i64, ptr %5, align 8, !tbaa !15 %19 = add nsw i64 %18, %17 %20 = call i32 @ps_pwrite(i32 noundef %16, i64 noundef %19, ptr noundef nonnull %3, i32 noundef 4) #3 %21 = call i32 @P2T(i32 noundef %20) #3 call void @llvm.lifetime.end.p0(i64 4, 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 @TDBG_FUNC(...) local_unnamed_addr #2 declare i32 @ps_pread(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ps_pwrite(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @P2T(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, !10, i64 8} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_5__", !7, i64 0, !13, i64 8} !13 = !{!"int", !8, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!12, !7, i64 0} !16 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/freebsd/lib/libthread_db/extr_libthr_db.c_pt_thr_set_event.c' source_filename = "AnghaBench/freebsd/lib/libthread_db/extr_libthr_db.c_pt_thr_set_event.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 @pt_thr_set_event], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pt_thr_set_event(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %6 = tail call i32 @TDBG_FUNC() #3 %7 = getelementptr inbounds i8, ptr %5, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = load i64, ptr %0, align 8, !tbaa !15 %10 = load i64, ptr %5, align 8, !tbaa !16 %11 = add nsw i64 %10, %9 %12 = call i32 @ps_pread(i32 noundef %8, i64 noundef %11, ptr noundef nonnull %3, i32 noundef 4) #3 %13 = load i32, ptr %1, align 4, !tbaa !17 %14 = load i32, ptr %3, align 4, !tbaa !17 %15 = or i32 %14, %13 store i32 %15, ptr %3, align 4, !tbaa !17 %16 = load i32, ptr %7, align 8, !tbaa !12 %17 = load i64, ptr %0, align 8, !tbaa !15 %18 = load i64, ptr %5, align 8, !tbaa !16 %19 = add nsw i64 %18, %17 %20 = call i32 @ps_pwrite(i32 noundef %16, i64 noundef %19, ptr noundef nonnull %3, i32 noundef 4) #3 %21 = call i32 @P2T(i32 noundef %20) #3 call void @llvm.lifetime.end.p0(i64 4, 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 @TDBG_FUNC(...) local_unnamed_addr #2 declare i32 @ps_pread(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ps_pwrite(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @P2T(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, !11, i64 8} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"TYPE_5__", !8, i64 0, !14, i64 8} !14 = !{!"int", !9, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!13, !8, i64 0} !17 = !{!14, !14, i64 0}
freebsd_lib_libthread_db_extr_libthr_db.c_pt_thr_set_event
; ModuleID = 'AnghaBench/esp-idf/components/driver/extr_spi_master.c_spi_get_actual_clock.c' source_filename = "AnghaBench/esp-idf/components/driver/extr_spi_master.c_spi_get_actual_clock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @spi_get_actual_clock(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @spi_hal_master_cal_clock(i32 noundef %0, i32 noundef %1, i32 noundef %2) #2 ret i32 %4 } declare i32 @spi_hal_master_cal_clock(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/esp-idf/components/driver/extr_spi_master.c_spi_get_actual_clock.c' source_filename = "AnghaBench/esp-idf/components/driver/extr_spi_master.c_spi_get_actual_clock.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 i32 @spi_get_actual_clock(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @spi_hal_master_cal_clock(i32 noundef %0, i32 noundef %1, i32 noundef %2) #2 ret i32 %4 } declare i32 @spi_hal_master_cal_clock(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)"}
esp-idf_components_driver_extr_spi_master.c_spi_get_actual_clock
; ModuleID = 'AnghaBench/freebsd/sys/gdb/extr_gdb_main.c_gdb_do_threadinfo.c' source_filename = "AnghaBench/freebsd/sys/gdb/extr_gdb_main.c_gdb_do_threadinfo.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" @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gdb_do_threadinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gdb_do_threadinfo(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = ptrtoint ptr %2 to i64 switch i64 %3, label %9 [ i64 0, label %4 i64 1, label %7 ] 4: ; preds = %1 %5 = load i32, ptr @ENXIO, align 4, !tbaa !9 %6 = tail call i32 @gdb_tx_err(i32 noundef %5) #2 br label %41 7: ; preds = %1 %8 = tail call i32 @gdb_tx_begin(i8 noundef signext 108) #2 br label %37 9: ; preds = %1 %10 = tail call i32 @gdb_tx_begin(i8 noundef signext 109) #2 %11 = load ptr, ptr %0, align 8, !tbaa !5 %12 = icmp eq ptr %11, null br i1 %12, label %39, label %13 13: ; preds = %9, %24 %14 = phi i64 [ %30, %24 ], [ 0, %9 ] %15 = tail call i64 @gdb_txbuf_has_capacity(i64 noundef 9) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %0, align 8, !tbaa !5 %19 = icmp eq ptr %18, null br label %32 20: ; preds = %13 %21 = icmp eq i64 %14, 0 br i1 %21, label %24, label %22 22: ; preds = %20 %23 = tail call i32 @gdb_tx_char(i8 noundef signext 44) #2 br label %24 24: ; preds = %22, %20 %25 = load ptr, ptr %0, align 8, !tbaa !5 %26 = load i32, ptr %25, align 4, !tbaa !11 %27 = tail call i32 @gdb_tx_varhex(i32 noundef %26) #2 %28 = load ptr, ptr %0, align 8, !tbaa !5 %29 = tail call ptr @kdb_thr_next(ptr noundef %28) #2 store ptr %29, ptr %0, align 8, !tbaa !5 %30 = add i64 %14, 1 %31 = icmp eq ptr %29, null br i1 %31, label %32, label %13, !llvm.loop !13 32: ; preds = %24, %17 %33 = phi i1 [ %19, %17 ], [ true, %24 ] %34 = phi i64 [ %14, %17 ], [ %30, %24 ] %35 = icmp ne i64 %34, 0 %36 = select i1 %33, i1 %35, i1 false br i1 %36, label %37, label %39 37: ; preds = %32, %7 %38 = phi ptr [ null, %7 ], [ inttoptr (i64 1 to ptr), %32 ] store ptr %38, ptr %0, align 8, !tbaa !5 br label %39 39: ; preds = %37, %9, %32 %40 = tail call i32 (...) @gdb_tx_end() #2 br label %41 41: ; preds = %39, %4 ret void } declare i32 @gdb_tx_err(i32 noundef) local_unnamed_addr #1 declare i32 @gdb_tx_begin(i8 noundef signext) local_unnamed_addr #1 declare i64 @gdb_txbuf_has_capacity(i64 noundef) local_unnamed_addr #1 declare i32 @gdb_tx_char(i8 noundef signext) local_unnamed_addr #1 declare i32 @gdb_tx_varhex(i32 noundef) local_unnamed_addr #1 declare ptr @kdb_thr_next(ptr noundef) local_unnamed_addr #1 declare i32 @gdb_tx_end(...) 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, !10, i64 0} !12 = !{!"thread", !10, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/gdb/extr_gdb_main.c_gdb_do_threadinfo.c' source_filename = "AnghaBench/freebsd/sys/gdb/extr_gdb_main.c_gdb_do_threadinfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENXIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gdb_do_threadinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gdb_do_threadinfo(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = ptrtoint ptr %2 to i64 switch i64 %3, label %9 [ i64 0, label %4 i64 1, label %7 ] 4: ; preds = %1 %5 = load i32, ptr @ENXIO, align 4, !tbaa !10 %6 = tail call i32 @gdb_tx_err(i32 noundef %5) #2 br label %41 7: ; preds = %1 %8 = tail call i32 @gdb_tx_begin(i8 noundef signext 108) #2 br label %37 9: ; preds = %1 %10 = tail call i32 @gdb_tx_begin(i8 noundef signext 109) #2 %11 = load ptr, ptr %0, align 8, !tbaa !6 %12 = icmp eq ptr %11, null br i1 %12, label %39, label %13 13: ; preds = %9, %24 %14 = phi i64 [ %30, %24 ], [ 0, %9 ] %15 = tail call i64 @gdb_txbuf_has_capacity(i64 noundef 9) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %0, align 8, !tbaa !6 %19 = icmp eq ptr %18, null br label %32 20: ; preds = %13 %21 = icmp eq i64 %14, 0 br i1 %21, label %24, label %22 22: ; preds = %20 %23 = tail call i32 @gdb_tx_char(i8 noundef signext 44) #2 br label %24 24: ; preds = %22, %20 %25 = load ptr, ptr %0, align 8, !tbaa !6 %26 = load i32, ptr %25, align 4, !tbaa !12 %27 = tail call i32 @gdb_tx_varhex(i32 noundef %26) #2 %28 = load ptr, ptr %0, align 8, !tbaa !6 %29 = tail call ptr @kdb_thr_next(ptr noundef %28) #2 store ptr %29, ptr %0, align 8, !tbaa !6 %30 = add i64 %14, 1 %31 = icmp eq ptr %29, null br i1 %31, label %32, label %13, !llvm.loop !14 32: ; preds = %24, %17 %33 = phi i1 [ %19, %17 ], [ true, %24 ] %34 = phi i64 [ %14, %17 ], [ %30, %24 ] %35 = icmp ne i64 %34, 0 %36 = select i1 %33, i1 %35, i1 false br i1 %36, label %37, label %39 37: ; preds = %32, %7 %38 = phi ptr [ null, %7 ], [ inttoptr (i64 1 to ptr), %32 ] store ptr %38, ptr %0, align 8, !tbaa !6 br label %39 39: ; preds = %37, %9, %32 %40 = tail call i32 @gdb_tx_end() #2 br label %41 41: ; preds = %39, %4 ret void } declare i32 @gdb_tx_err(i32 noundef) local_unnamed_addr #1 declare i32 @gdb_tx_begin(i8 noundef signext) local_unnamed_addr #1 declare i64 @gdb_txbuf_has_capacity(i64 noundef) local_unnamed_addr #1 declare i32 @gdb_tx_char(i8 noundef signext) local_unnamed_addr #1 declare i32 @gdb_tx_varhex(i32 noundef) local_unnamed_addr #1 declare ptr @kdb_thr_next(ptr noundef) local_unnamed_addr #1 declare i32 @gdb_tx_end(...) 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, !11, i64 0} !13 = !{!"thread", !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_sys_gdb_extr_gdb_main.c_gdb_do_threadinfo
; ModuleID = 'AnghaBench/linux/drivers/block/zram/extr_zcomp.c_zcomp_decompress.c' source_filename = "AnghaBench/linux/drivers/block/zram/extr_zcomp.c_zcomp_decompress.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @zcomp_decompress(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 store i32 %6, ptr %5, align 4, !tbaa !5 %7 = load i32, ptr %0, align 4, !tbaa !9 %8 = call i32 @crypto_comp_decompress(i32 noundef %7, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @crypto_comp_decompress(i32 noundef, ptr noundef, 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"zcomp_strm", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/block/zram/extr_zcomp.c_zcomp_decompress.c' source_filename = "AnghaBench/linux/drivers/block/zram/extr_zcomp.c_zcomp_decompress.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @zcomp_decompress(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 store i32 %6, ptr %5, align 4, !tbaa !6 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = call i32 @crypto_comp_decompress(i32 noundef %7, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @crypto_comp_decompress(i32 noundef, ptr noundef, 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 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 = !{!"zcomp_strm", !7, i64 0}
linux_drivers_block_zram_extr_zcomp.c_zcomp_decompress
; ModuleID = 'AnghaBench/systemd/src/core/extr_unit.c_hashmap_complete_move.c' source_filename = "AnghaBench/systemd/src/core/extr_unit.c_hashmap_complete_move.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 @hashmap_complete_move], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hashmap_complete_move(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call i32 @assert(ptr noundef %1) #2 %5 = load ptr, ptr %1, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %14, label %7 7: ; preds = %2 %8 = load ptr, ptr %0, align 8, !tbaa !5 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %7 %11 = tail call i32 @hashmap_move(ptr noundef nonnull %8, ptr noundef nonnull %5) #2 br label %14 12: ; preds = %7 %13 = tail call ptr @TAKE_PTR(ptr noundef nonnull %5) #2 store ptr %13, ptr %0, align 8, !tbaa !5 br label %14 14: ; preds = %2, %12, %10 %15 = phi i32 [ %11, %10 ], [ 0, %12 ], [ 0, %2 ] ret i32 %15 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @hashmap_move(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @TAKE_PTR(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/systemd/src/core/extr_unit.c_hashmap_complete_move.c' source_filename = "AnghaBench/systemd/src/core/extr_unit.c_hashmap_complete_move.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 @hashmap_complete_move], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hashmap_complete_move(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call i32 @assert(ptr noundef %1) #2 %5 = load ptr, ptr %1, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %14, label %7 7: ; preds = %2 %8 = load ptr, ptr %0, align 8, !tbaa !6 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %7 %11 = tail call i32 @hashmap_move(ptr noundef nonnull %8, ptr noundef nonnull %5) #2 br label %14 12: ; preds = %7 %13 = tail call ptr @TAKE_PTR(ptr noundef nonnull %5) #2 store ptr %13, ptr %0, align 8, !tbaa !6 br label %14 14: ; preds = %2, %12, %10 %15 = phi i32 [ %11, %10 ], [ 0, %12 ], [ 0, %2 ] ret i32 %15 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @hashmap_move(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @TAKE_PTR(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"}
systemd_src_core_extr_unit.c_hashmap_complete_move
; ModuleID = 'AnghaBench/linux/fs/extr_eventpoll.c_ep_pm_stay_awake_rcu.c' source_filename = "AnghaBench/linux/fs/extr_eventpoll.c_ep_pm_stay_awake_rcu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ep_pm_stay_awake_rcu], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @ep_pm_stay_awake_rcu(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 (...) @rcu_read_lock() #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call ptr @rcu_dereference(i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @__pm_stay_awake(ptr noundef nonnull %4) #2 br label %8 8: ; preds = %6, %1 %9 = tail call i32 (...) @rcu_read_unlock() #2 ret void } declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare i32 @__pm_stay_awake(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) 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 = !{!"epitem", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/extr_eventpoll.c_ep_pm_stay_awake_rcu.c' source_filename = "AnghaBench/linux/fs/extr_eventpoll.c_ep_pm_stay_awake_rcu.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ep_pm_stay_awake_rcu], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @ep_pm_stay_awake_rcu(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 @rcu_read_lock() #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call ptr @rcu_dereference(i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @__pm_stay_awake(ptr noundef nonnull %4) #2 br label %8 8: ; preds = %6, %1 %9 = tail call i32 @rcu_read_unlock() #2 ret void } declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare i32 @__pm_stay_awake(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) 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 = !{!"epitem", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_fs_extr_eventpoll.c_ep_pm_stay_awake_rcu
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_capifunc.c_ReceiveBufferGet.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_capifunc.c_ReceiveBufferGet.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 { ptr, i32 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @ReceiveBufferGet(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 8, !tbaa !11 %6 = mul nsw i32 %5, %1 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %3, i64 %7 ret ptr %8 } 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, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_capifunc.c_ReceiveBufferGet.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_capifunc.c_ReceiveBufferGet.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 ptr @ReceiveBufferGet(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !12 %6 = mul nsw i32 %5, %1 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %3, i64 %7 ret ptr %8 } 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, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_isdn_hardware_eicon_extr_capifunc.c_ReceiveBufferGet
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_e_null.c_EVP_enc_null.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_e_null.c_EVP_enc_null.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" @n_cipher = dso_local constant i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @EVP_enc_null() local_unnamed_addr #0 { ret ptr @n_cipher } 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/crypto/openssl/crypto/evp/extr_e_null.c_EVP_enc_null.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_e_null.c_EVP_enc_null.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @n_cipher = common global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef nonnull ptr @EVP_enc_null() local_unnamed_addr #0 { ret ptr @n_cipher } 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_crypto_openssl_crypto_evp_extr_e_null.c_EVP_enc_null
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm5100.c_wm5100_reset.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm5100.c_wm5100_reset.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.wm5100_priv = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64 } @WM5100_SOFTWARE_RESET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm5100_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wm5100_reset(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.wm5100_priv, ptr %0, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = tail call i32 @gpio_set_value_cansleep(i64 noundef %3, i32 noundef 0) #2 %7 = load i64, ptr %2, align 8, !tbaa !5 %8 = tail call i32 @gpio_set_value_cansleep(i64 noundef %7, i32 noundef 1) #2 br label %13 9: ; preds = %1 %10 = load i32, ptr %0, align 8, !tbaa !12 %11 = load i32, ptr @WM5100_SOFTWARE_RESET, align 4, !tbaa !13 %12 = tail call i32 @regmap_write(i32 noundef %10, i32 noundef %11, i32 noundef 0) #2 br label %13 13: ; preds = %9, %5 %14 = phi i32 [ 0, %5 ], [ %12, %9 ] ret i32 %14 } declare i32 @gpio_set_value_cansleep(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @regmap_write(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, !11, i64 8} !6 = !{!"wm5100_priv", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm5100.c_wm5100_reset.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm5100.c_wm5100_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WM5100_SOFTWARE_RESET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wm5100_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wm5100_reset(ptr nocapture noundef readonly %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 %9, label %5 5: ; preds = %1 %6 = tail call i32 @gpio_set_value_cansleep(i64 noundef %3, i32 noundef 0) #2 %7 = load i64, ptr %2, align 8, !tbaa !6 %8 = tail call i32 @gpio_set_value_cansleep(i64 noundef %7, i32 noundef 1) #2 br label %13 9: ; preds = %1 %10 = load i32, ptr %0, align 8, !tbaa !13 %11 = load i32, ptr @WM5100_SOFTWARE_RESET, align 4, !tbaa !14 %12 = tail call i32 @regmap_write(i32 noundef %10, i32 noundef %11, i32 noundef 0) #2 br label %13 13: ; preds = %9, %5 %14 = phi i32 [ 0, %5 ], [ %12, %9 ] ret i32 %14 } declare i32 @gpio_set_value_cansleep(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @regmap_write(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, !12, i64 8} !7 = !{!"wm5100_priv", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!8, !8, i64 0}
linux_sound_soc_codecs_extr_wm5100.c_wm5100_reset
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_ttls.c_eap_ttls_process.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_ttls.c_eap_ttls_process.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.wpabuf = type { i32 } %struct.eap_ttls_data = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @EAP_TYPE_TTLS = dso_local local_unnamed_addr global i32 0, align 4 @EAP_TLS_FLAGS_START = dso_local local_unnamed_addr global i32 0, align 4 @MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"EAP-TTLS: Start (server ver=%d, own ver=%d)\00", align 1 @EAP_TLS_VERSION_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @eap_ttls_process], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @eap_ttls_process(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca %struct.wpabuf, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = getelementptr inbounds %struct.eap_ttls_data, ptr %1, i64 0, i32 2 %10 = load i32, ptr @EAP_TYPE_TTLS, align 4, !tbaa !5 %11 = call ptr @eap_peer_tls_process_init(ptr noundef %0, ptr noundef nonnull %9, i32 noundef %10, ptr noundef %2, ptr noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %12 = icmp eq ptr %11, null br i1 %12, label %52, label %13 13: ; preds = %4 %14 = call i32 @eap_get_id(ptr noundef %3) #3 %15 = load i32, ptr %6, align 4, !tbaa !5 %16 = load i32, ptr @EAP_TLS_FLAGS_START, align 4, !tbaa !5 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = load i64, ptr %5, align 8, !tbaa !9 br label %27 21: ; preds = %13 %22 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5 %23 = load i32, ptr @EAP_TLS_VERSION_MASK, align 4, !tbaa !5 %24 = and i32 %23, %15 %25 = load i32, ptr %1, align 4, !tbaa !11 %26 = call i32 @wpa_printf(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %25) #3 store i64 0, ptr %5, align 8, !tbaa !9 br label %27 27: ; preds = %19, %21 %28 = phi i64 [ %20, %19 ], [ 0, %21 ] %29 = call i32 @wpabuf_set(ptr noundef nonnull %8, ptr noundef nonnull %11, i64 noundef %28) #3 store ptr null, ptr %7, align 8, !tbaa !14 %30 = load i32, ptr %0, align 4, !tbaa !16 %31 = load i32, ptr %9, align 4, !tbaa !18 %32 = call i64 @tls_connection_established(i32 noundef %30, i32 noundef %31) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %40, label %34 34: ; preds = %27 %35 = getelementptr inbounds %struct.eap_ttls_data, ptr %1, i64 0, i32 1 %36 = load i32, ptr %35, align 4, !tbaa !19 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @eap_ttls_decrypt(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i32 noundef %14, ptr noundef nonnull %8, ptr noundef nonnull %7) #3 br label %42 40: ; preds = %34, %27 %41 = call i32 @eap_ttls_process_handshake(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i32 noundef %14, ptr noundef nonnull %8, ptr noundef nonnull %7) #3 br label %42 42: ; preds = %40, %38 %43 = phi i32 [ %41, %40 ], [ %39, %38 ] %44 = call i32 @eap_ttls_check_auth_status(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2) #3 %45 = icmp eq i32 %43, 1 %46 = load ptr, ptr %7, align 8, !tbaa !14 br i1 %45, label %47, label %52 47: ; preds = %42 %48 = call i32 @wpabuf_clear_free(ptr noundef %46) #3 %49 = load i32, ptr @EAP_TYPE_TTLS, align 4, !tbaa !5 %50 = load i32, ptr %1, align 4, !tbaa !11 %51 = call ptr @eap_peer_tls_build_ack(i32 noundef %14, i32 noundef %49, i32 noundef %50) #3 br label %52 52: ; preds = %42, %4, %47 %53 = phi ptr [ %51, %47 ], [ null, %4 ], [ %46, %42 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret ptr %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @eap_peer_tls_process_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @eap_get_id(ptr noundef) local_unnamed_addr #2 declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wpabuf_set(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @tls_connection_established(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @eap_ttls_decrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @eap_ttls_process_handshake(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @eap_ttls_check_auth_status(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpabuf_clear_free(ptr noundef) local_unnamed_addr #2 declare ptr @eap_peer_tls_build_ack(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"eap_ttls_data", !6, i64 0, !6, i64 4, !13, i64 8} !13 = !{!"TYPE_2__", !6, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !7, i64 0} !16 = !{!17, !6, i64 0} !17 = !{!"eap_sm", !6, i64 0} !18 = !{!12, !6, i64 8} !19 = !{!12, !6, i64 4}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_ttls.c_eap_ttls_process.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_ttls.c_eap_ttls_process.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.wpabuf = type { i32 } @EAP_TYPE_TTLS = common local_unnamed_addr global i32 0, align 4 @EAP_TLS_FLAGS_START = common local_unnamed_addr global i32 0, align 4 @MSG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"EAP-TTLS: Start (server ver=%d, own ver=%d)\00", align 1 @EAP_TLS_VERSION_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @eap_ttls_process], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @eap_ttls_process(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca %struct.wpabuf, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = load i32, ptr @EAP_TYPE_TTLS, align 4, !tbaa !6 %11 = call ptr @eap_peer_tls_process_init(ptr noundef %0, ptr noundef nonnull %9, i32 noundef %10, ptr noundef %2, ptr noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %12 = icmp eq ptr %11, null br i1 %12, label %52, label %13 13: ; preds = %4 %14 = call i32 @eap_get_id(ptr noundef %3) #3 %15 = load i32, ptr %6, align 4, !tbaa !6 %16 = load i32, ptr @EAP_TLS_FLAGS_START, align 4, !tbaa !6 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = load i64, ptr %5, align 8, !tbaa !10 br label %27 21: ; preds = %13 %22 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6 %23 = load i32, ptr @EAP_TLS_VERSION_MASK, align 4, !tbaa !6 %24 = and i32 %23, %15 %25 = load i32, ptr %1, align 4, !tbaa !12 %26 = call i32 @wpa_printf(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %25) #3 store i64 0, ptr %5, align 8, !tbaa !10 br label %27 27: ; preds = %19, %21 %28 = phi i64 [ %20, %19 ], [ 0, %21 ] %29 = call i32 @wpabuf_set(ptr noundef nonnull %8, ptr noundef nonnull %11, i64 noundef %28) #3 store ptr null, ptr %7, align 8, !tbaa !15 %30 = load i32, ptr %0, align 4, !tbaa !17 %31 = load i32, ptr %9, align 4, !tbaa !19 %32 = call i64 @tls_connection_established(i32 noundef %30, i32 noundef %31) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %40, label %34 34: ; preds = %27 %35 = getelementptr inbounds i8, ptr %1, i64 4 %36 = load i32, ptr %35, align 4, !tbaa !20 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @eap_ttls_decrypt(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i32 noundef %14, ptr noundef nonnull %8, ptr noundef nonnull %7) #3 br label %42 40: ; preds = %34, %27 %41 = call i32 @eap_ttls_process_handshake(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i32 noundef %14, ptr noundef nonnull %8, ptr noundef nonnull %7) #3 br label %42 42: ; preds = %40, %38 %43 = phi i32 [ %41, %40 ], [ %39, %38 ] %44 = call i32 @eap_ttls_check_auth_status(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2) #3 %45 = icmp eq i32 %43, 1 %46 = load ptr, ptr %7, align 8, !tbaa !15 br i1 %45, label %47, label %52 47: ; preds = %42 %48 = call i32 @wpabuf_clear_free(ptr noundef %46) #3 %49 = load i32, ptr @EAP_TYPE_TTLS, align 4, !tbaa !6 %50 = load i32, ptr %1, align 4, !tbaa !12 %51 = call ptr @eap_peer_tls_build_ack(i32 noundef %14, i32 noundef %49, i32 noundef %50) #3 br label %52 52: ; preds = %42, %4, %47 %53 = phi ptr [ %51, %47 ], [ null, %4 ], [ %46, %42 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret ptr %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @eap_peer_tls_process_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @eap_get_id(ptr noundef) local_unnamed_addr #2 declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wpabuf_set(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @tls_connection_established(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @eap_ttls_decrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @eap_ttls_process_handshake(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @eap_ttls_check_auth_status(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpabuf_clear_free(ptr noundef) local_unnamed_addr #2 declare ptr @eap_peer_tls_build_ack(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"eap_ttls_data", !7, i64 0, !7, i64 4, !14, i64 8} !14 = !{!"TYPE_2__", !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"eap_sm", !7, i64 0} !19 = !{!13, !7, i64 8} !20 = !{!13, !7, i64 4}
freebsd_contrib_wpa_src_eap_peer_extr_eap_ttls.c_eap_ttls_process
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_functions_graph.c___trace_graph_entry.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace_functions_graph.c___trace_graph_entry.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.trace_event_call = type { i32 } @event_funcgraph_entry = dso_local global %struct.trace_event_call zeroinitializer, align 4 @TRACE_GRAPH_ENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @__trace_graph_entry(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr @TRACE_GRAPH_ENT, align 4, !tbaa !11 %7 = tail call ptr @trace_buffer_lock_reserve(ptr noundef %5, i32 noundef %6, i32 noundef 4, i64 noundef %2, i32 noundef %3) #2 %8 = icmp eq ptr %7, null br i1 %8, label %16, label %9 9: ; preds = %4 %10 = tail call ptr @ring_buffer_event_data(ptr noundef nonnull %7) #2 %11 = load i32, ptr %1, align 4, !tbaa !11 store i32 %11, ptr %10, align 4, !tbaa !11 %12 = tail call i32 @call_filter_check_discard(ptr noundef nonnull @event_funcgraph_entry, ptr noundef nonnull %10, ptr noundef %5, ptr noundef nonnull %7) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = tail call i32 @trace_buffer_unlock_commit_nostack(ptr noundef %5, ptr noundef nonnull %7) #2 br label %16 16: ; preds = %9, %14, %4 %17 = phi i32 [ 0, %4 ], [ 1, %14 ], [ 1, %9 ] ret i32 %17 } declare ptr @trace_buffer_lock_reserve(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ring_buffer_event_data(ptr noundef) local_unnamed_addr #1 declare i32 @call_filter_check_discard(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @trace_buffer_unlock_commit_nostack(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, !8, i64 0} !6 = !{!"trace_array", !7, i64 0} !7 = !{!"TYPE_2__", !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}
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_functions_graph.c___trace_graph_entry.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace_functions_graph.c___trace_graph_entry.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.trace_event_call = type { i32 } @event_funcgraph_entry = common global %struct.trace_event_call zeroinitializer, align 4 @TRACE_GRAPH_ENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @__trace_graph_entry(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr @TRACE_GRAPH_ENT, align 4, !tbaa !12 %7 = tail call ptr @trace_buffer_lock_reserve(ptr noundef %5, i32 noundef %6, i32 noundef 4, i64 noundef %2, i32 noundef %3) #2 %8 = icmp eq ptr %7, null br i1 %8, label %16, label %9 9: ; preds = %4 %10 = tail call ptr @ring_buffer_event_data(ptr noundef nonnull %7) #2 %11 = load i32, ptr %1, align 4, !tbaa !12 store i32 %11, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @call_filter_check_discard(ptr noundef nonnull @event_funcgraph_entry, ptr noundef nonnull %10, ptr noundef %5, ptr noundef nonnull %7) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = tail call i32 @trace_buffer_unlock_commit_nostack(ptr noundef %5, ptr noundef nonnull %7) #2 br label %16 16: ; preds = %9, %14, %4 %17 = phi i32 [ 0, %4 ], [ 1, %14 ], [ 1, %9 ] ret i32 %17 } declare ptr @trace_buffer_lock_reserve(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ring_buffer_event_data(ptr noundef) local_unnamed_addr #1 declare i32 @call_filter_check_discard(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @trace_buffer_unlock_commit_nostack(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, !9, i64 0} !7 = !{!"trace_array", !8, i64 0} !8 = !{!"TYPE_2__", !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}
linux_kernel_trace_extr_trace_functions_graph.c___trace_graph_entry