IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/reactos/win32ss/printing/base/spoolsv/extr_printers.c__RpcReadPrinter.c' source_filename = "AnghaBench/reactos/win32ss/printing/base/spoolsv/extr_printers.c__RpcReadPrinter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [45 x i8] c"RpcImpersonateClient failed with error %lu!\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i64 @_RpcReadPrinter(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i64 @RpcImpersonateClient(ptr noundef null) #2 %6 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !5 %7 = icmp eq i64 %5, %6 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @ERR(ptr noundef nonnull @.str, i64 noundef %5) #2 br label %18 10: ; preds = %4 %11 = tail call i32 @ReadPrinter(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = tail call i64 (...) @GetLastError() #2 br label %15 15: ; preds = %13, %10 %16 = phi i64 [ %5, %10 ], [ %14, %13 ] %17 = tail call i32 (...) @RpcRevertToSelf() #2 br label %18 18: ; preds = %15, %8 %19 = phi i64 [ %5, %8 ], [ %16, %15 ] ret i64 %19 } declare i64 @RpcImpersonateClient(ptr noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ReadPrinter(i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @GetLastError(...) local_unnamed_addr #1 declare i32 @RpcRevertToSelf(...) 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/reactos/win32ss/printing/base/spoolsv/extr_printers.c__RpcReadPrinter.c' source_filename = "AnghaBench/reactos/win32ss/printing/base/spoolsv/extr_printers.c__RpcReadPrinter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [45 x i8] c"RpcImpersonateClient failed with error %lu!\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @_RpcReadPrinter(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i64 @RpcImpersonateClient(ptr noundef null) #2 %6 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !6 %7 = icmp eq i64 %5, %6 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @ERR(ptr noundef nonnull @.str, i64 noundef %5) #2 br label %18 10: ; preds = %4 %11 = tail call i32 @ReadPrinter(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = tail call i64 @GetLastError() #2 br label %15 15: ; preds = %13, %10 %16 = phi i64 [ %5, %10 ], [ %14, %13 ] %17 = tail call i32 @RpcRevertToSelf() #2 br label %18 18: ; preds = %15, %8 %19 = phi i64 [ %5, %8 ], [ %16, %15 ] ret i64 %19 } declare i64 @RpcImpersonateClient(ptr noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ReadPrinter(i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @GetLastError(...) local_unnamed_addr #1 declare i32 @RpcRevertToSelf(...) 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"}
reactos_win32ss_printing_base_spoolsv_extr_printers.c__RpcReadPrinter
; ModuleID = 'AnghaBench/linux/arch/powerpc/oprofile/extr_common.c_op_powerpc_shutdown.c' source_filename = "AnghaBench/linux/arch/powerpc/oprofile/extr_common.c_op_powerpc_shutdown.c" target datalayout = "e-m:e-p270:32:32-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 @op_powerpc_shutdown], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @op_powerpc_shutdown() #0 { %1 = tail call i32 (...) @release_pmc_hardware() #2 ret void } declare i32 @release_pmc_hardware(...) 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/arch/powerpc/oprofile/extr_common.c_op_powerpc_shutdown.c' source_filename = "AnghaBench/linux/arch/powerpc/oprofile/extr_common.c_op_powerpc_shutdown.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 @op_powerpc_shutdown], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @op_powerpc_shutdown() #0 { %1 = tail call i32 @release_pmc_hardware() #2 ret void } declare i32 @release_pmc_hardware(...) 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_arch_powerpc_oprofile_extr_common.c_op_powerpc_shutdown
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/api/extr_esp_bt_main.c_esp_bluedroid_disable.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/api/extr_esp_bt_main.c_esp_bluedroid_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32 } @bd_already_enable = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Bluedroid already disabled\0A\00", align 1 @ESP_ERR_INVALID_STATE = dso_local local_unnamed_addr global i32 0, align 4 @BTC_MAIN_DISABLE_FUTURE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"Bluedroid disable failed\0A\00", align 1 @ESP_ERR_NO_MEM = dso_local local_unnamed_addr global i32 0, align 4 @BTC_SIG_API_CALL = dso_local local_unnamed_addr global i32 0, align 4 @BTC_PID_MAIN_INIT = dso_local local_unnamed_addr global i32 0, align 4 @BTC_MAIN_ACT_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @BT_STATUS_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @ESP_FAIL = dso_local local_unnamed_addr global i32 0, align 4 @FUTURE_FAIL = dso_local local_unnamed_addr global i64 0, align 8 @ESP_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @esp_bluedroid_disable() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #3 %2 = load i32, ptr @bd_already_enable, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = tail call i32 @LOG_ERROR(ptr noundef nonnull @.str) #3 br label %32 6: ; preds = %0 %7 = load i32, ptr @BTC_MAIN_DISABLE_FUTURE, align 4, !tbaa !5 %8 = tail call ptr @btc_main_get_future_p(i32 noundef %7) #3 %9 = tail call ptr (...) @future_new() #3 store ptr %9, ptr %8, align 8, !tbaa !9 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %6 %12 = tail call i32 @LOG_ERROR(ptr noundef nonnull @.str.1) #3 br label %32 13: ; preds = %6 %14 = load i32, ptr @BTC_SIG_API_CALL, align 4, !tbaa !5 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2 store i32 %14, ptr %15, align 4, !tbaa !11 %16 = load i32, ptr @BTC_PID_MAIN_INIT, align 4, !tbaa !5 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 store i32 %16, ptr %17, align 4, !tbaa !13 %18 = load i32, ptr @BTC_MAIN_ACT_DISABLE, align 4, !tbaa !5 store i32 %18, ptr %1, align 4, !tbaa !14 %19 = call i64 @btc_transfer_context(ptr noundef nonnull %1, ptr noundef null, i32 noundef 0, ptr noundef null) #3 %20 = load i64, ptr @BT_STATUS_SUCCESS, align 8, !tbaa !15 %21 = icmp eq i64 %19, %20 br i1 %21, label %24, label %22 22: ; preds = %13 %23 = call i32 @LOG_ERROR(ptr noundef nonnull @.str.1) #3 br label %32 24: ; preds = %13 %25 = load ptr, ptr %8, align 8, !tbaa !9 %26 = call i64 @future_await(ptr noundef %25) #3 %27 = load i64, ptr @FUTURE_FAIL, align 8, !tbaa !15 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %31 29: ; preds = %24 %30 = call i32 @LOG_ERROR(ptr noundef nonnull @.str.1) #3 br label %32 31: ; preds = %24 store i32 0, ptr @bd_already_enable, align 4, !tbaa !5 br label %32 32: ; preds = %31, %29, %22, %11, %4 %33 = phi ptr [ @ESP_ERR_NO_MEM, %11 ], [ @ESP_FAIL, %22 ], [ @ESP_FAIL, %29 ], [ @ESP_OK, %31 ], [ @ESP_ERR_INVALID_STATE, %4 ] %34 = load i32, ptr %33, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @LOG_ERROR(ptr noundef) local_unnamed_addr #2 declare ptr @btc_main_get_future_p(i32 noundef) local_unnamed_addr #2 declare ptr @future_new(...) local_unnamed_addr #2 declare i64 @btc_transfer_context(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @future_await(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 8} !12 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !6, i64 8} !13 = !{!12, !6, i64 4} !14 = !{!12, !6, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/api/extr_esp_bt_main.c_esp_bluedroid_disable.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/api/extr_esp_bt_main.c_esp_bluedroid_disable.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 { i32, i32, i32 } @bd_already_enable = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Bluedroid already disabled\0A\00", align 1 @ESP_ERR_INVALID_STATE = common local_unnamed_addr global i32 0, align 4 @BTC_MAIN_DISABLE_FUTURE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"Bluedroid disable failed\0A\00", align 1 @ESP_ERR_NO_MEM = common local_unnamed_addr global i32 0, align 4 @BTC_SIG_API_CALL = common local_unnamed_addr global i32 0, align 4 @BTC_PID_MAIN_INIT = common local_unnamed_addr global i32 0, align 4 @BTC_MAIN_ACT_DISABLE = common local_unnamed_addr global i32 0, align 4 @BT_STATUS_SUCCESS = common local_unnamed_addr global i64 0, align 8 @ESP_FAIL = common local_unnamed_addr global i32 0, align 4 @FUTURE_FAIL = common local_unnamed_addr global i64 0, align 8 @ESP_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @esp_bluedroid_disable() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #3 %2 = load i32, ptr @bd_already_enable, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = tail call i32 @LOG_ERROR(ptr noundef nonnull @.str) #3 br label %32 6: ; preds = %0 %7 = load i32, ptr @BTC_MAIN_DISABLE_FUTURE, align 4, !tbaa !6 %8 = tail call ptr @btc_main_get_future_p(i32 noundef %7) #3 %9 = tail call ptr @future_new() #3 store ptr %9, ptr %8, align 8, !tbaa !10 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %6 %12 = tail call i32 @LOG_ERROR(ptr noundef nonnull @.str.1) #3 br label %32 13: ; preds = %6 %14 = load i32, ptr @BTC_SIG_API_CALL, align 4, !tbaa !6 %15 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %14, ptr %15, align 4, !tbaa !12 %16 = load i32, ptr @BTC_PID_MAIN_INIT, align 4, !tbaa !6 %17 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %16, ptr %17, align 4, !tbaa !14 %18 = load i32, ptr @BTC_MAIN_ACT_DISABLE, align 4, !tbaa !6 store i32 %18, ptr %1, align 4, !tbaa !15 %19 = call i64 @btc_transfer_context(ptr noundef nonnull %1, ptr noundef null, i32 noundef 0, ptr noundef null) #3 %20 = load i64, ptr @BT_STATUS_SUCCESS, align 8, !tbaa !16 %21 = icmp eq i64 %19, %20 br i1 %21, label %24, label %22 22: ; preds = %13 %23 = call i32 @LOG_ERROR(ptr noundef nonnull @.str.1) #3 br label %32 24: ; preds = %13 %25 = load ptr, ptr %8, align 8, !tbaa !10 %26 = call i64 @future_await(ptr noundef %25) #3 %27 = load i64, ptr @FUTURE_FAIL, align 8, !tbaa !16 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %31 29: ; preds = %24 %30 = call i32 @LOG_ERROR(ptr noundef nonnull @.str.1) #3 br label %32 31: ; preds = %24 store i32 0, ptr @bd_already_enable, align 4, !tbaa !6 br label %32 32: ; preds = %31, %29, %22, %11, %4 %33 = phi ptr [ @ESP_ERR_NO_MEM, %11 ], [ @ESP_FAIL, %22 ], [ @ESP_FAIL, %29 ], [ @ESP_OK, %31 ], [ @ESP_ERR_INVALID_STATE, %4 ] %34 = load i32, ptr %33, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @LOG_ERROR(ptr noundef) local_unnamed_addr #2 declare ptr @btc_main_get_future_p(i32 noundef) local_unnamed_addr #2 declare ptr @future_new(...) local_unnamed_addr #2 declare i64 @btc_transfer_context(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @future_await(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8} !14 = !{!13, !7, i64 4} !15 = !{!13, !7, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !8, i64 0}
esp-idf_components_bt_host_bluedroid_api_extr_esp_bt_main.c_esp_bluedroid_disable
; ModuleID = 'AnghaBench/linux/drivers/firmware/psci/extr_psci.c_psci_power_state_is_valid.c' source_filename = "AnghaBench/linux/drivers/firmware/psci/extr_psci.c_psci_power_state_is_valid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PSCI_1_0_EXT_POWER_STATE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @PSCI_0_2_POWER_STATE_MASK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @psci_power_state_is_valid(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i64 (...) @psci_has_ext_power_state() #2 %3 = icmp eq i64 %2, 0 %4 = load i32, ptr @PSCI_1_0_EXT_POWER_STATE_MASK, align 4 %5 = load i32, ptr @PSCI_0_2_POWER_STATE_MASK, align 4 %6 = select i1 %3, i32 %5, i32 %4 %7 = xor i32 %6, -1 %8 = and i32 %7, %0 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i32 ret i32 %10 } declare i64 @psci_has_ext_power_state(...) 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/firmware/psci/extr_psci.c_psci_power_state_is_valid.c' source_filename = "AnghaBench/linux/drivers/firmware/psci/extr_psci.c_psci_power_state_is_valid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PSCI_1_0_EXT_POWER_STATE_MASK = common local_unnamed_addr global i32 0, align 4 @PSCI_0_2_POWER_STATE_MASK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @psci_power_state_is_valid(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @psci_has_ext_power_state() #2 %3 = icmp eq i64 %2, 0 %4 = load i32, ptr @PSCI_1_0_EXT_POWER_STATE_MASK, align 4 %5 = load i32, ptr @PSCI_0_2_POWER_STATE_MASK, align 4 %6 = select i1 %3, i32 %5, i32 %4 %7 = xor i32 %6, -1 %8 = and i32 %7, %0 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i32 ret i32 %10 } declare i64 @psci_has_ext_power_state(...) 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_firmware_psci_extr_psci.c_psci_power_state_is_valid
; ModuleID = 'AnghaBench/kphp-kdb/copyexec/extr_copyexec-binlog.c_dump_copyexec_results_replay_logevent.c' source_filename = "AnghaBench/kphp-kdb/copyexec/extr_copyexec-binlog.c_dump_copyexec_results_replay_logevent.c" target datalayout = "e-m:e-p270:32:32-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.lev_generic = type { i32, i32 } @now = dso_local local_unnamed_addr global i64 0, align 8 @end_time = dso_local local_unnamed_addr global i64 0, align 8 @out = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [46 x i8] c"unknown log event type %08x at position %lld\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @dump_copyexec_results_replay_logevent(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @now, align 8, !tbaa !5 %4 = load i64, ptr @end_time, align 8, !tbaa !5 %5 = icmp sgt i64 %3, %4 br i1 %5, label %6, label %12 6: ; preds = %2 %7 = load i32, ptr @out, align 4, !tbaa !9 %8 = tail call i32 @fflush(i32 noundef %7) #3 %9 = load i32, ptr @out, align 4, !tbaa !9 %10 = tail call i32 @fclose(i32 noundef %9) #3 %11 = tail call i32 @exit(i32 noundef 0) #4 unreachable 12: ; preds = %2 %13 = load i32, ptr %0, align 4, !tbaa !9 switch i32 %13, label %43 [ i32 129, label %14 i32 132, label %29 i32 128, label %29 i32 133, label %29 i32 131, label %29 i32 130, label %29 i32 137, label %31 i32 136, label %35 i32 135, label %39 i32 134, label %39 ] 14: ; preds = %12 %15 = icmp slt i32 %1, 24 br i1 %15, label %46, label %16 16: ; preds = %14 %17 = getelementptr inbounds %struct.lev_generic, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !11 %19 = icmp ugt i32 %18, 4096 br i1 %19, label %46, label %20 20: ; preds = %16 %21 = add nuw nsw i32 %18, 3 %22 = and i32 %21, 16380 %23 = add nuw nsw i32 %22, 24 %24 = icmp ugt i32 %23, %1 br i1 %24, label %46, label %25 25: ; preds = %20 %26 = tail call i32 @copyexec_main_le_start(ptr noundef nonnull %0) #3 %27 = icmp sgt i32 %26, -1 %28 = select i1 %27, i32 %23, i32 -1 br label %46 29: ; preds = %12, %12, %12, %12, %12 %30 = tail call i32 @default_replay_logevent(ptr noundef nonnull %0, i32 noundef %1) #3 br label %46 31: ; preds = %12 %32 = icmp slt i32 %1, 141 br i1 %32, label %46, label %33 33: ; preds = %31 %34 = tail call i32 @dump_connect(ptr noundef nonnull %0) #3 br label %46 35: ; preds = %12 %36 = icmp slt i32 %1, 4 br i1 %36, label %46, label %37 37: ; preds = %35 %38 = tail call i32 @dump_data(ptr noundef nonnull %0) #3 br label %46 39: ; preds = %12, %12 %40 = icmp slt i32 %1, 4 br i1 %40, label %46, label %41 41: ; preds = %39 %42 = tail call i32 @dump_enable(ptr noundef nonnull %0) #3 br label %46 43: ; preds = %12 %44 = tail call i32 (...) @log_cur_pos() #3 %45 = tail call i32 @kprintf(ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %44) #3 br label %46 46: ; preds = %39, %35, %31, %20, %14, %16, %43, %41, %37, %33, %29, %25 %47 = phi i32 [ -3, %43 ], [ 4, %41 ], [ 4, %37 ], [ 141, %33 ], [ %30, %29 ], [ %28, %25 ], [ -2, %16 ], [ -2, %14 ], [ -2, %20 ], [ -2, %31 ], [ -2, %35 ], [ -2, %39 ] ret i32 %47 } declare i32 @fflush(i32 noundef) local_unnamed_addr #1 declare i32 @fclose(i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare i32 @copyexec_main_le_start(ptr noundef) local_unnamed_addr #1 declare i32 @default_replay_logevent(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dump_connect(ptr noundef) local_unnamed_addr #1 declare i32 @dump_data(ptr noundef) local_unnamed_addr #1 declare i32 @dump_enable(ptr noundef) local_unnamed_addr #1 declare i32 @kprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @log_cur_pos(...) 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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 4} !12 = !{!"lev_generic", !10, i64 0, !10, i64 4}
; ModuleID = 'AnghaBench/kphp-kdb/copyexec/extr_copyexec-binlog.c_dump_copyexec_results_replay_logevent.c' source_filename = "AnghaBench/kphp-kdb/copyexec/extr_copyexec-binlog.c_dump_copyexec_results_replay_logevent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @now = common local_unnamed_addr global i64 0, align 8 @end_time = common local_unnamed_addr global i64 0, align 8 @out = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [46 x i8] c"unknown log event type %08x at position %lld\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @dump_copyexec_results_replay_logevent(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @now, align 8, !tbaa !6 %4 = load i64, ptr @end_time, align 8, !tbaa !6 %5 = icmp sgt i64 %3, %4 br i1 %5, label %6, label %12 6: ; preds = %2 %7 = load i32, ptr @out, align 4, !tbaa !10 %8 = tail call i32 @fflush(i32 noundef %7) #3 %9 = load i32, ptr @out, align 4, !tbaa !10 %10 = tail call i32 @fclose(i32 noundef %9) #3 %11 = tail call i32 @exit(i32 noundef 0) #4 unreachable 12: ; preds = %2 %13 = load i32, ptr %0, align 4, !tbaa !10 switch i32 %13, label %43 [ i32 129, label %14 i32 132, label %29 i32 128, label %29 i32 133, label %29 i32 131, label %29 i32 130, label %29 i32 137, label %31 i32 136, label %35 i32 135, label %39 i32 134, label %39 ] 14: ; preds = %12 %15 = icmp slt i32 %1, 24 br i1 %15, label %46, label %16 16: ; preds = %14 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !12 %19 = icmp ugt i32 %18, 4096 br i1 %19, label %46, label %20 20: ; preds = %16 %21 = add nuw nsw i32 %18, 3 %22 = and i32 %21, 16380 %23 = add nuw nsw i32 %22, 24 %24 = icmp ugt i32 %23, %1 br i1 %24, label %46, label %25 25: ; preds = %20 %26 = tail call i32 @copyexec_main_le_start(ptr noundef nonnull %0) #3 %27 = icmp sgt i32 %26, -1 %28 = select i1 %27, i32 %23, i32 -1 br label %46 29: ; preds = %12, %12, %12, %12, %12 %30 = tail call i32 @default_replay_logevent(ptr noundef nonnull %0, i32 noundef %1) #3 br label %46 31: ; preds = %12 %32 = icmp slt i32 %1, 141 br i1 %32, label %46, label %33 33: ; preds = %31 %34 = tail call i32 @dump_connect(ptr noundef nonnull %0) #3 br label %46 35: ; preds = %12 %36 = icmp slt i32 %1, 4 br i1 %36, label %46, label %37 37: ; preds = %35 %38 = tail call i32 @dump_data(ptr noundef nonnull %0) #3 br label %46 39: ; preds = %12, %12 %40 = icmp slt i32 %1, 4 br i1 %40, label %46, label %41 41: ; preds = %39 %42 = tail call i32 @dump_enable(ptr noundef nonnull %0) #3 br label %46 43: ; preds = %12 %44 = tail call i32 @log_cur_pos() #3 %45 = tail call i32 @kprintf(ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %44) #3 br label %46 46: ; preds = %39, %35, %31, %20, %14, %16, %43, %41, %37, %33, %29, %25 %47 = phi i32 [ -3, %43 ], [ 4, %41 ], [ 4, %37 ], [ 141, %33 ], [ %30, %29 ], [ %28, %25 ], [ -2, %16 ], [ -2, %14 ], [ -2, %20 ], [ -2, %31 ], [ -2, %35 ], [ -2, %39 ] ret i32 %47 } declare i32 @fflush(i32 noundef) local_unnamed_addr #1 declare i32 @fclose(i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare i32 @copyexec_main_le_start(ptr noundef) local_unnamed_addr #1 declare i32 @default_replay_logevent(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dump_connect(ptr noundef) local_unnamed_addr #1 declare i32 @dump_data(ptr noundef) local_unnamed_addr #1 declare i32 @dump_enable(ptr noundef) local_unnamed_addr #1 declare i32 @kprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @log_cur_pos(...) 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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 4} !13 = !{!"lev_generic", !11, i64 0, !11, i64 4}
kphp-kdb_copyexec_extr_copyexec-binlog.c_dump_copyexec_results_replay_logevent
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext4/extr_mballoc.c_mb_find_next_bit.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ext4/extr_mballoc.c_mb_find_next_bit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @mb_find_next_bit], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @mb_find_next_bit(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 store i32 0, ptr %4, align 4, !tbaa !5 %5 = call ptr @mb_correct_addr_and_bit(ptr noundef nonnull %4, ptr noundef %0) #4 %6 = load i32, ptr %4, align 4, !tbaa !5 %7 = add nsw i32 %6, %1 %8 = add nsw i32 %6, %2 %9 = call i32 @ext4_find_next_bit(ptr noundef %5, i32 noundef %7, i32 noundef %8) #4 %10 = load i32, ptr %4, align 4, !tbaa !5 %11 = sub nsw i32 %9, %10 %12 = call i32 @llvm.smin.i32(i32 %11, i32 %1) call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 ptr @mb_correct_addr_and_bit(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ext4_find_next_bit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 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 = { 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/fastsocket/kernel/fs/ext4/extr_mballoc.c_mb_find_next_bit.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ext4/extr_mballoc.c_mb_find_next_bit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @mb_find_next_bit], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @mb_find_next_bit(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 store i32 0, ptr %4, align 4, !tbaa !6 %5 = call ptr @mb_correct_addr_and_bit(ptr noundef nonnull %4, ptr noundef %0) #4 %6 = load i32, ptr %4, align 4, !tbaa !6 %7 = add nsw i32 %6, %1 %8 = add nsw i32 %6, %2 %9 = call i32 @ext4_find_next_bit(ptr noundef %5, i32 noundef %7, i32 noundef %8) #4 %10 = load i32, ptr %4, align 4, !tbaa !6 %11 = sub nsw i32 %9, %10 %12 = call i32 @llvm.smin.i32(i32 %11, i32 %1) call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 ptr @mb_correct_addr_and_bit(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ext4_find_next_bit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 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 = { 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"}
fastsocket_kernel_fs_ext4_extr_mballoc.c_mb_find_next_bit
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..inputdrivers_joypadnull_joypad.c_null_joypad_destroy.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..inputdrivers_joypadnull_joypad.c_null_joypad_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @null_joypad_destroy], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @null_joypad_destroy() #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/RetroArch/griffin/extr_..inputdrivers_joypadnull_joypad.c_null_joypad_destroy.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..inputdrivers_joypadnull_joypad.c_null_joypad_destroy.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 @null_joypad_destroy], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @null_joypad_destroy() #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)"}
RetroArch_griffin_extr_..inputdrivers_joypadnull_joypad.c_null_joypad_destroy
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/85xx/extr_socrates_fpga_pic.c_socrates_fpga_pic_mask.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/85xx/extr_socrates_fpga_pic.c_socrates_fpga_pic_mask.c" target datalayout = "e-m:e-p270:32:32-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 } @fpga_irqs = dso_local local_unnamed_addr global ptr null, align 8 @socrates_fpga_pic_lock = dso_local global i32 0, align 4 @SOCRATES_FPGA_IRQ_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @socrates_fpga_pic_mask], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @socrates_fpga_pic_mask(i32 noundef %0) #0 { %2 = tail call i32 @socrates_fpga_irq_to_hw(i32 noundef %0) #2 %3 = load ptr, ptr @fpga_irqs, align 8, !tbaa !5 %4 = zext i32 %2 to i64 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @socrates_fpga_pic_lock, i64 noundef undef) #2 %8 = tail call i32 @FPGA_PIC_IRQMASK(i32 noundef %6) #2 %9 = tail call i32 @socrates_fpga_pic_read(i32 noundef %8) #2 %10 = load i32, ptr @SOCRATES_FPGA_IRQ_MASK, align 4, !tbaa !12 %11 = shl nuw i32 1, %2 %12 = xor i32 %11, -1 %13 = and i32 %9, %12 %14 = and i32 %13, %10 %15 = tail call i32 @FPGA_PIC_IRQMASK(i32 noundef %6) #2 %16 = tail call i32 @socrates_fpga_pic_write(i32 noundef %15, i32 noundef %14) #2 %17 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @socrates_fpga_pic_lock, i64 noundef undef) #2 ret void } declare i32 @socrates_fpga_irq_to_hw(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @socrates_fpga_pic_read(i32 noundef) local_unnamed_addr #1 declare i32 @FPGA_PIC_IRQMASK(i32 noundef) local_unnamed_addr #1 declare i32 @socrates_fpga_pic_write(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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_2__", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/85xx/extr_socrates_fpga_pic.c_socrates_fpga_pic_mask.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/85xx/extr_socrates_fpga_pic.c_socrates_fpga_pic_mask.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @fpga_irqs = common local_unnamed_addr global ptr null, align 8 @socrates_fpga_pic_lock = common global i32 0, align 4 @SOCRATES_FPGA_IRQ_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @socrates_fpga_pic_mask], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @socrates_fpga_pic_mask(i32 noundef %0) #0 { %2 = tail call i32 @socrates_fpga_irq_to_hw(i32 noundef %0) #2 %3 = load ptr, ptr @fpga_irqs, align 8, !tbaa !6 %4 = zext i32 %2 to i64 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @socrates_fpga_pic_lock, i64 noundef undef) #2 %8 = tail call i32 @FPGA_PIC_IRQMASK(i32 noundef %6) #2 %9 = tail call i32 @socrates_fpga_pic_read(i32 noundef %8) #2 %10 = load i32, ptr @SOCRATES_FPGA_IRQ_MASK, align 4, !tbaa !13 %11 = shl nuw i32 1, %2 %12 = xor i32 %11, -1 %13 = and i32 %9, %12 %14 = and i32 %13, %10 %15 = tail call i32 @FPGA_PIC_IRQMASK(i32 noundef %6) #2 %16 = tail call i32 @socrates_fpga_pic_write(i32 noundef %15, i32 noundef %14) #2 %17 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @socrates_fpga_pic_lock, i64 noundef undef) #2 ret void } declare i32 @socrates_fpga_irq_to_hw(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @socrates_fpga_pic_read(i32 noundef) local_unnamed_addr #1 declare i32 @FPGA_PIC_IRQMASK(i32 noundef) local_unnamed_addr #1 declare i32 @socrates_fpga_pic_write(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0}
fastsocket_kernel_arch_powerpc_platforms_85xx_extr_socrates_fpga_pic.c_socrates_fpga_pic_mask
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_get_p2ps_adv_list.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_get_p2ps_adv_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @p2p_get_p2ps_adv_list(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !5 br label %5 5: ; preds = %1, %3 %6 = phi ptr [ %4, %3 ], [ null, %1 ] ret ptr %6 } 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 = !{!"p2p_data", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_get_p2ps_adv_list.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_get_p2ps_adv_list.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 @p2p_get_p2ps_adv_list(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !6 br label %5 5: ; preds = %1, %3 %6 = phi ptr [ %4, %3 ], [ null, %1 ] ret ptr %6 } 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 = !{!"p2p_data", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_wpa_src_p2p_extr_p2p.c_p2p_get_p2ps_adv_list
; ModuleID = 'AnghaBench/linux/mm/extr_util.c_page_mapped.c' source_filename = "AnghaBench/linux/mm/extr_util.c_page_mapped.c" target datalayout = "e-m:e-p270:32:32-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.page = type { i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @page_mapped(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @PageCompound(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i64 @likely(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = tail call i64 @atomic_read(ptr noundef %0) #2 %9 = icmp sgt i64 %8, -1 %10 = zext i1 %9 to i32 br label %32 11: ; preds = %1 %12 = tail call ptr @compound_head(ptr noundef %0) #2 %13 = tail call ptr @compound_mapcount_ptr(ptr noundef %12) #2 %14 = tail call i64 @atomic_read(ptr noundef %13) #2 %15 = icmp sgt i64 %14, -1 br i1 %15, label %32, label %16 16: ; preds = %11 %17 = tail call i64 @PageHuge(ptr noundef %12) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %32 19: ; preds = %16 %20 = tail call i32 @compound_nr(ptr noundef %12) #2 %21 = icmp sgt i32 %20, 0 br i1 %21, label %27, label %32 22: ; preds = %27 %23 = add nuw nsw i64 %28, 1 %24 = tail call i32 @compound_nr(ptr noundef %12) #2 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %23, %25 br i1 %26, label %27, label %32, !llvm.loop !5 27: ; preds = %19, %22 %28 = phi i64 [ %23, %22 ], [ 0, %19 ] %29 = getelementptr inbounds %struct.page, ptr %12, i64 %28 %30 = tail call i64 @atomic_read(ptr noundef %29) #2 %31 = icmp sgt i64 %30, -1 br i1 %31, label %32, label %22 32: ; preds = %27, %22, %19, %16, %11, %7 %33 = phi i32 [ %10, %7 ], [ 1, %11 ], [ 0, %16 ], [ 0, %19 ], [ 1, %27 ], [ 0, %22 ] ret i32 %33 } declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @PageCompound(ptr noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare ptr @compound_head(ptr noundef) local_unnamed_addr #1 declare ptr @compound_mapcount_ptr(ptr noundef) local_unnamed_addr #1 declare i64 @PageHuge(ptr noundef) local_unnamed_addr #1 declare i32 @compound_nr(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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/mm/extr_util.c_page_mapped.c' source_filename = "AnghaBench/linux/mm/extr_util.c_page_mapped.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.page = type { i32 } ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @page_mapped(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @PageCompound(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i64 @likely(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = tail call i64 @atomic_read(ptr noundef %0) #2 %9 = icmp sgt i64 %8, -1 %10 = zext i1 %9 to i32 br label %32 11: ; preds = %1 %12 = tail call ptr @compound_head(ptr noundef %0) #2 %13 = tail call ptr @compound_mapcount_ptr(ptr noundef %12) #2 %14 = tail call i64 @atomic_read(ptr noundef %13) #2 %15 = icmp sgt i64 %14, -1 br i1 %15, label %32, label %16 16: ; preds = %11 %17 = tail call i64 @PageHuge(ptr noundef %12) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %32 19: ; preds = %16 %20 = tail call i32 @compound_nr(ptr noundef %12) #2 %21 = icmp sgt i32 %20, 0 br i1 %21, label %27, label %32 22: ; preds = %27 %23 = add nuw nsw i64 %28, 1 %24 = tail call i32 @compound_nr(ptr noundef %12) #2 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %23, %25 br i1 %26, label %27, label %32, !llvm.loop !6 27: ; preds = %19, %22 %28 = phi i64 [ %23, %22 ], [ 0, %19 ] %29 = getelementptr inbounds %struct.page, ptr %12, i64 %28 %30 = tail call i64 @atomic_read(ptr noundef %29) #2 %31 = icmp sgt i64 %30, -1 br i1 %31, label %32, label %22 32: ; preds = %27, %22, %19, %16, %11, %7 %33 = phi i32 [ %10, %7 ], [ 1, %11 ], [ 0, %16 ], [ 0, %19 ], [ 1, %27 ], [ 0, %22 ] ret i32 %33 } declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @PageCompound(ptr noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare ptr @compound_head(ptr noundef) local_unnamed_addr #1 declare ptr @compound_mapcount_ptr(ptr noundef) local_unnamed_addr #1 declare i64 @PageHuge(ptr noundef) local_unnamed_addr #1 declare i32 @compound_nr(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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
linux_mm_extr_util.c_page_mapped
; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_rbtree.c_ext2fs_rb_insert_color.c' source_filename = "AnghaBench/rufus/src/ext2fs/extr_rbtree.c_ext2fs_rb_insert_color.c" target datalayout = "e-m:e-p270:32:32-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.rb_node = type { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local void @ext2fs_rb_insert_color(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ext2fs_rb_parent(ptr noundef %0) #2 %4 = icmp eq ptr %3, null br i1 %4, label %61, label %5 5: ; preds = %2, %57 %6 = phi ptr [ %59, %57 ], [ %3, %2 ] %7 = phi ptr [ %58, %57 ], [ %0, %2 ] %8 = tail call i64 @ext2fs_rb_is_red(ptr noundef nonnull %6) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %61, label %10 10: ; preds = %5 %11 = tail call ptr @ext2fs_rb_parent(ptr noundef nonnull %6) #2 %12 = load ptr, ptr %11, align 8, !tbaa !5 %13 = icmp eq ptr %6, %12 br i1 %13, label %14, label %37 14: ; preds = %10 %15 = getelementptr inbounds %struct.rb_node, ptr %11, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !10 %17 = icmp eq ptr %16, null br i1 %17, label %25, label %18 18: ; preds = %14 %19 = tail call i64 @ext2fs_rb_is_red(ptr noundef nonnull %16) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %18 %22 = tail call i32 @ext2fs_rb_set_black(ptr noundef nonnull %16) #2 %23 = tail call i32 @ext2fs_rb_set_black(ptr noundef nonnull %6) #2 %24 = tail call i32 @ext2fs_rb_set_red(ptr noundef nonnull %11) #2 br label %57 25: ; preds = %18, %14 %26 = getelementptr inbounds %struct.rb_node, ptr %6, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !10 %28 = icmp eq ptr %27, %7 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = tail call i32 @__rb_rotate_left(ptr noundef nonnull %6, ptr noundef %1) #2 br label %31 31: ; preds = %29, %25 %32 = phi ptr [ %7, %29 ], [ %6, %25 ] %33 = phi ptr [ %6, %29 ], [ %7, %25 ] %34 = tail call i32 @ext2fs_rb_set_black(ptr noundef %32) #2 %35 = tail call i32 @ext2fs_rb_set_red(ptr noundef nonnull %11) #2 %36 = tail call i32 @__rb_rotate_right(ptr noundef nonnull %11, ptr noundef %1) #2 br label %57 37: ; preds = %10 %38 = icmp eq ptr %12, null br i1 %38, label %46, label %39 39: ; preds = %37 %40 = tail call i64 @ext2fs_rb_is_red(ptr noundef nonnull %12) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %46, label %42 42: ; preds = %39 %43 = tail call i32 @ext2fs_rb_set_black(ptr noundef nonnull %12) #2 %44 = tail call i32 @ext2fs_rb_set_black(ptr noundef nonnull %6) #2 %45 = tail call i32 @ext2fs_rb_set_red(ptr noundef nonnull %11) #2 br label %57 46: ; preds = %39, %37 %47 = load ptr, ptr %6, align 8, !tbaa !5 %48 = icmp eq ptr %47, %7 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = tail call i32 @__rb_rotate_right(ptr noundef nonnull %6, ptr noundef %1) #2 br label %51 51: ; preds = %49, %46 %52 = phi ptr [ %7, %49 ], [ %6, %46 ] %53 = phi ptr [ %6, %49 ], [ %7, %46 ] %54 = tail call i32 @ext2fs_rb_set_black(ptr noundef %52) #2 %55 = tail call i32 @ext2fs_rb_set_red(ptr noundef nonnull %11) #2 %56 = tail call i32 @__rb_rotate_left(ptr noundef nonnull %11, ptr noundef %1) #2 br label %57 57: ; preds = %31, %51, %21, %42 %58 = phi ptr [ %11, %21 ], [ %11, %42 ], [ %33, %31 ], [ %53, %51 ] %59 = tail call ptr @ext2fs_rb_parent(ptr noundef %58) #2 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %5, !llvm.loop !11 61: ; preds = %5, %57, %2 %62 = load ptr, ptr %1, align 8, !tbaa !13 %63 = tail call i32 @ext2fs_rb_set_black(ptr noundef %62) #2 ret void } declare ptr @ext2fs_rb_parent(ptr noundef) local_unnamed_addr #1 declare i64 @ext2fs_rb_is_red(ptr noundef) local_unnamed_addr #1 declare i32 @ext2fs_rb_set_black(ptr noundef) local_unnamed_addr #1 declare i32 @ext2fs_rb_set_red(ptr noundef) local_unnamed_addr #1 declare i32 @__rb_rotate_left(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__rb_rotate_right(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 = !{!"rb_node", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !7, i64 0} !14 = !{!"rb_root", !7, i64 0}
; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_rbtree.c_ext2fs_rb_insert_color.c' source_filename = "AnghaBench/rufus/src/ext2fs/extr_rbtree.c_ext2fs_rb_insert_color.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 @ext2fs_rb_insert_color(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ext2fs_rb_parent(ptr noundef %0) #2 %4 = icmp eq ptr %3, null br i1 %4, label %61, label %5 5: ; preds = %2, %57 %6 = phi ptr [ %59, %57 ], [ %3, %2 ] %7 = phi ptr [ %58, %57 ], [ %0, %2 ] %8 = tail call i64 @ext2fs_rb_is_red(ptr noundef nonnull %6) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %61, label %10 10: ; preds = %5 %11 = tail call ptr @ext2fs_rb_parent(ptr noundef nonnull %6) #2 %12 = load ptr, ptr %11, align 8, !tbaa !6 %13 = icmp eq ptr %6, %12 br i1 %13, label %14, label %37 14: ; preds = %10 %15 = getelementptr inbounds i8, ptr %11, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !11 %17 = icmp eq ptr %16, null br i1 %17, label %25, label %18 18: ; preds = %14 %19 = tail call i64 @ext2fs_rb_is_red(ptr noundef nonnull %16) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %18 %22 = tail call i32 @ext2fs_rb_set_black(ptr noundef nonnull %16) #2 %23 = tail call i32 @ext2fs_rb_set_black(ptr noundef nonnull %6) #2 %24 = tail call i32 @ext2fs_rb_set_red(ptr noundef nonnull %11) #2 br label %57 25: ; preds = %18, %14 %26 = getelementptr inbounds i8, ptr %6, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !11 %28 = icmp eq ptr %27, %7 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = tail call i32 @__rb_rotate_left(ptr noundef nonnull %6, ptr noundef %1) #2 br label %31 31: ; preds = %29, %25 %32 = phi ptr [ %7, %29 ], [ %6, %25 ] %33 = phi ptr [ %6, %29 ], [ %7, %25 ] %34 = tail call i32 @ext2fs_rb_set_black(ptr noundef %32) #2 %35 = tail call i32 @ext2fs_rb_set_red(ptr noundef nonnull %11) #2 %36 = tail call i32 @__rb_rotate_right(ptr noundef nonnull %11, ptr noundef %1) #2 br label %57 37: ; preds = %10 %38 = icmp eq ptr %12, null br i1 %38, label %46, label %39 39: ; preds = %37 %40 = tail call i64 @ext2fs_rb_is_red(ptr noundef nonnull %12) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %46, label %42 42: ; preds = %39 %43 = tail call i32 @ext2fs_rb_set_black(ptr noundef nonnull %12) #2 %44 = tail call i32 @ext2fs_rb_set_black(ptr noundef nonnull %6) #2 %45 = tail call i32 @ext2fs_rb_set_red(ptr noundef nonnull %11) #2 br label %57 46: ; preds = %39, %37 %47 = load ptr, ptr %6, align 8, !tbaa !6 %48 = icmp eq ptr %47, %7 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = tail call i32 @__rb_rotate_right(ptr noundef nonnull %6, ptr noundef %1) #2 br label %51 51: ; preds = %49, %46 %52 = phi ptr [ %7, %49 ], [ %6, %46 ] %53 = phi ptr [ %6, %49 ], [ %7, %46 ] %54 = tail call i32 @ext2fs_rb_set_black(ptr noundef %52) #2 %55 = tail call i32 @ext2fs_rb_set_red(ptr noundef nonnull %11) #2 %56 = tail call i32 @__rb_rotate_left(ptr noundef nonnull %11, ptr noundef %1) #2 br label %57 57: ; preds = %31, %51, %21, %42 %58 = phi ptr [ %11, %21 ], [ %11, %42 ], [ %33, %31 ], [ %53, %51 ] %59 = tail call ptr @ext2fs_rb_parent(ptr noundef %58) #2 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %5, !llvm.loop !12 61: ; preds = %5, %57, %2 %62 = load ptr, ptr %1, align 8, !tbaa !14 %63 = tail call i32 @ext2fs_rb_set_black(ptr noundef %62) #2 ret void } declare ptr @ext2fs_rb_parent(ptr noundef) local_unnamed_addr #1 declare i64 @ext2fs_rb_is_red(ptr noundef) local_unnamed_addr #1 declare i32 @ext2fs_rb_set_black(ptr noundef) local_unnamed_addr #1 declare i32 @ext2fs_rb_set_red(ptr noundef) local_unnamed_addr #1 declare i32 @__rb_rotate_left(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__rb_rotate_right(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 = !{!"rb_node", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !8, i64 0} !15 = !{!"rb_root", !8, i64 0}
rufus_src_ext2fs_extr_rbtree.c_ext2fs_rb_insert_color
; ModuleID = 'AnghaBench/freebsd/usr.sbin/rtadvd/extr_if.c_get_rtm_ifindex.c' source_filename = "AnghaBench/freebsd/usr.sbin/rtadvd/extr_if.c_get_rtm_ifindex.c" target datalayout = "e-m:e-p270:32:32-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.rt_msghdr = type { i32 } @RTAX_MAX = dso_local local_unnamed_addr global i32 0, align 4 @RTAX_GATEWAY = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @get_rtm_ifindex(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @RTAX_MAX, align 4, !tbaa !5 %3 = zext i32 %2 to i64 %4 = alloca ptr, i64 %3, align 16 %5 = getelementptr inbounds %struct.rt_msghdr, ptr %0, i64 1 %6 = load i32, ptr %0, align 4, !tbaa !9 %7 = call i32 @get_rtaddrs(i32 noundef %6, ptr noundef nonnull %5, ptr noundef nonnull %4) #2 %8 = load i64, ptr @RTAX_GATEWAY, align 8, !tbaa !11 %9 = getelementptr inbounds ptr, ptr %4, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = load i32, ptr %10, align 4, !tbaa !15 ret i32 %11 } declare i32 @get_rtaddrs(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"rt_msghdr", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"sockaddr_dl", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/rtadvd/extr_if.c_get_rtm_ifindex.c' source_filename = "AnghaBench/freebsd/usr.sbin/rtadvd/extr_if.c_get_rtm_ifindex.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTAX_MAX = common local_unnamed_addr global i32 0, align 4 @RTAX_GATEWAY = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @get_rtm_ifindex(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @RTAX_MAX, align 4, !tbaa !6 %3 = zext i32 %2 to i64 %4 = alloca ptr, i64 %3, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = call i32 @get_rtaddrs(i32 noundef %6, ptr noundef nonnull %5, ptr noundef nonnull %4) #2 %8 = load i64, ptr @RTAX_GATEWAY, align 8, !tbaa !12 %9 = getelementptr inbounds ptr, ptr %4, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = load i32, ptr %10, align 4, !tbaa !16 ret i32 %11 } declare i32 @get_rtaddrs(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"rt_msghdr", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"sockaddr_dl", !7, i64 0}
freebsd_usr.sbin_rtadvd_extr_if.c_get_rtm_ifindex
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress.gen.c_run_complete.c' source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress.gen.c_run_complete.c" target datalayout = "e-m:e-p270:32:32-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.run = type { i32, i32 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @run_complete(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.run, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = icmp eq i32 %6, 0 %8 = sext i1 %7 to i32 br label %9 9: ; preds = %5, %1 %10 = phi i32 [ -1, %1 ], [ %8, %5 ] ret i32 %10 } 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 4} !6 = !{!"run", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress.gen.c_run_complete.c' source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress.gen.c_run_complete.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 range(i32 -1, 1) i32 @run_complete(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = load i32, ptr %0, align 4, !tbaa !11 %7 = icmp eq i32 %6, 0 %8 = sext i1 %7 to i32 br label %9 9: ; preds = %5, %1 %10 = phi i32 [ -1, %1 ], [ %8, %5 ] ret i32 %10 } 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 4} !7 = !{!"run", !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}
freebsd_contrib_libevent_test_extr_regress.gen.c_run_complete
; ModuleID = 'AnghaBench/linux/kernel/extr_iomem.c_memremap.c' source_filename = "AnghaBench/linux/kernel/extr_iomem.c_memremap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IORESOURCE_SYSTEM_RAM = dso_local local_unnamed_addr global i32 0, align 4 @IORES_DESC_NONE = dso_local local_unnamed_addr global i32 0, align 4 @REGION_MIXED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"memremap attempted on mixed range %pa size: %#lx\0A\00", align 1 @MEMREMAP_WB = dso_local local_unnamed_addr global i64 0, align 8 @REGION_INTERSECTS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"memremap attempted on ram %pa size: %#lx\0A\00", align 1 @MEMREMAP_WT = dso_local local_unnamed_addr global i64 0, align 8 @MEMREMAP_WC = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @memremap(i32 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 store i32 %0, ptr %4, align 4, !tbaa !5 %5 = load i32, ptr @IORESOURCE_SYSTEM_RAM, align 4, !tbaa !5 %6 = load i32, ptr @IORES_DESC_NONE, align 4, !tbaa !5 %7 = tail call i32 @region_intersects(i32 noundef %0, i64 noundef %1, i32 noundef %5, i32 noundef %6) #2 %8 = icmp eq i64 %2, 0 br i1 %8, label %51, label %9 9: ; preds = %3 %10 = load i32, ptr @REGION_MIXED, align 4, !tbaa !5 %11 = icmp eq i32 %7, %10 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @WARN_ONCE(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef nonnull %4, i64 noundef %1) #2 br label %51 14: ; preds = %9 %15 = load i64, ptr @MEMREMAP_WB, align 8, !tbaa !9 %16 = and i64 %15, %2 %17 = icmp eq i64 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %14 %19 = load i32, ptr @REGION_INTERSECTS, align 4, !tbaa !5 %20 = icmp eq i32 %7, %19 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = tail call ptr @try_ram_remap(i32 noundef %0, i64 noundef %1, i64 noundef %2) #2 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %18, %21 %25 = tail call ptr @arch_memremap_wb(i32 noundef %0, i64 noundef %1) #2 br label %26 26: ; preds = %21, %24, %14 %27 = phi ptr [ %22, %21 ], [ %25, %24 ], [ null, %14 ] %28 = icmp ne ptr %27, null %29 = load i32, ptr @REGION_INTERSECTS, align 4 %30 = icmp ne i32 %7, %29 %31 = select i1 %28, i1 true, i1 %30 %32 = load i64, ptr @MEMREMAP_WB, align 8 %33 = icmp eq i64 %32, %2 %34 = select i1 %31, i1 true, i1 %33 br i1 %34, label %37, label %35 35: ; preds = %26 %36 = call i32 @WARN_ONCE(i32 noundef 1, ptr noundef nonnull @.str.1, ptr noundef nonnull %4, i64 noundef %1) #2 br label %51 37: ; preds = %26 br i1 %28, label %51, label %38 38: ; preds = %37 %39 = load i64, ptr @MEMREMAP_WT, align 8, !tbaa !9 %40 = and i64 %39, %2 %41 = icmp eq i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %38 %43 = tail call ptr @ioremap_wt(i32 noundef %0, i64 noundef %1) #2 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %51 45: ; preds = %38, %42 %46 = load i64, ptr @MEMREMAP_WC, align 8, !tbaa !9 %47 = and i64 %46, %2 %48 = icmp eq i64 %47, 0 br i1 %48, label %51, label %49 49: ; preds = %45 %50 = tail call ptr @ioremap_wc(i32 noundef %0, i64 noundef %1) #2 br label %51 51: ; preds = %37, %42, %45, %49, %3, %35, %12 %52 = phi ptr [ null, %12 ], [ null, %35 ], [ null, %3 ], [ %43, %42 ], [ %50, %49 ], [ null, %45 ], [ %27, %37 ] ret ptr %52 } declare i32 @region_intersects(i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ONCE(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @try_ram_remap(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @arch_memremap_wb(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @ioremap_wt(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @ioremap_wc(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/kernel/extr_iomem.c_memremap.c' source_filename = "AnghaBench/linux/kernel/extr_iomem.c_memremap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IORESOURCE_SYSTEM_RAM = common local_unnamed_addr global i32 0, align 4 @IORES_DESC_NONE = common local_unnamed_addr global i32 0, align 4 @REGION_MIXED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"memremap attempted on mixed range %pa size: %#lx\0A\00", align 1 @MEMREMAP_WB = common local_unnamed_addr global i64 0, align 8 @REGION_INTERSECTS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"memremap attempted on ram %pa size: %#lx\0A\00", align 1 @MEMREMAP_WT = common local_unnamed_addr global i64 0, align 8 @MEMREMAP_WC = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @memremap(i32 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 store i32 %0, ptr %4, align 4, !tbaa !6 %5 = load i32, ptr @IORESOURCE_SYSTEM_RAM, align 4, !tbaa !6 %6 = load i32, ptr @IORES_DESC_NONE, align 4, !tbaa !6 %7 = tail call i32 @region_intersects(i32 noundef %0, i64 noundef %1, i32 noundef %5, i32 noundef %6) #2 %8 = icmp eq i64 %2, 0 br i1 %8, label %51, label %9 9: ; preds = %3 %10 = load i32, ptr @REGION_MIXED, align 4, !tbaa !6 %11 = icmp eq i32 %7, %10 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @WARN_ONCE(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef nonnull %4, i64 noundef %1) #2 br label %51 14: ; preds = %9 %15 = load i64, ptr @MEMREMAP_WB, align 8, !tbaa !10 %16 = and i64 %15, %2 %17 = icmp eq i64 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %14 %19 = load i32, ptr @REGION_INTERSECTS, align 4, !tbaa !6 %20 = icmp eq i32 %7, %19 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = tail call ptr @try_ram_remap(i32 noundef %0, i64 noundef %1, i64 noundef %2) #2 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %18, %21 %25 = tail call ptr @arch_memremap_wb(i32 noundef %0, i64 noundef %1) #2 br label %26 26: ; preds = %21, %24, %14 %27 = phi ptr [ %22, %21 ], [ %25, %24 ], [ null, %14 ] %28 = icmp ne ptr %27, null %29 = load i32, ptr @REGION_INTERSECTS, align 4 %30 = icmp ne i32 %7, %29 %31 = select i1 %28, i1 true, i1 %30 %32 = load i64, ptr @MEMREMAP_WB, align 8 %33 = icmp eq i64 %32, %2 %34 = select i1 %31, i1 true, i1 %33 br i1 %34, label %37, label %35 35: ; preds = %26 %36 = call i32 @WARN_ONCE(i32 noundef 1, ptr noundef nonnull @.str.1, ptr noundef nonnull %4, i64 noundef %1) #2 br label %51 37: ; preds = %26 br i1 %28, label %51, label %38 38: ; preds = %37 %39 = load i64, ptr @MEMREMAP_WT, align 8, !tbaa !10 %40 = and i64 %39, %2 %41 = icmp eq i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %38 %43 = tail call ptr @ioremap_wt(i32 noundef %0, i64 noundef %1) #2 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %51 45: ; preds = %38, %42 %46 = load i64, ptr @MEMREMAP_WC, align 8, !tbaa !10 %47 = and i64 %46, %2 %48 = icmp eq i64 %47, 0 br i1 %48, label %51, label %49 49: ; preds = %45 %50 = tail call ptr @ioremap_wc(i32 noundef %0, i64 noundef %1) #2 br label %51 51: ; preds = %37, %42, %45, %49, %3, %35, %12 %52 = phi ptr [ null, %12 ], [ null, %35 ], [ null, %3 ], [ %43, %42 ], [ %50, %49 ], [ null, %45 ], [ %27, %37 ] ret ptr %52 } declare i32 @region_intersects(i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ONCE(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @try_ram_remap(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @arch_memremap_wb(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @ioremap_wt(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @ioremap_wc(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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}
linux_kernel_extr_iomem.c_memremap
; ModuleID = 'AnghaBench/freebsd/sys/arm/amlogic/aml8726/extr_aml8726_if_dwc.c_aml8726_if_dwc_init.c' source_filename = "AnghaBench/freebsd/sys/arm/amlogic/aml8726/extr_aml8726_if_dwc.c_aml8726_if_dwc_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @aml8726_if_dwc_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @aml8726_if_dwc_init(i32 %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/arm/amlogic/aml8726/extr_aml8726_if_dwc.c_aml8726_if_dwc_init.c' source_filename = "AnghaBench/freebsd/sys/arm/amlogic/aml8726/extr_aml8726_if_dwc.c_aml8726_if_dwc_init.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 @aml8726_if_dwc_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @aml8726_if_dwc_init(i32 %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_arm_amlogic_aml8726_extr_aml8726_if_dwc.c_aml8726_if_dwc_init
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/extr_hdlc_ppp.c_get_proto.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/extr_hdlc_ppp.c_get_proto.c" target datalayout = "e-m:e-p270:32:32-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.proto = type { i32 } @IDX_LCP = dso_local local_unnamed_addr global i64 0, align 8 @IDX_IPCP = dso_local local_unnamed_addr global i64 0, align 8 @IDX_IPV6CP = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_proto], section "llvm.metadata" @switch.table.get_proto = private unnamed_addr constant [3 x ptr] [ptr @IDX_LCP, ptr @IDX_IPV6CP, ptr @IDX_IPCP], align 8 ; Function Attrs: inlinehint nounwind uwtable define internal ptr @get_proto(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @get_ppp(ptr noundef %0) #2 %4 = add i32 %1, -128 %5 = icmp ult i32 %4, 3 br i1 %5, label %6, label %13 6: ; preds = %2 %7 = zext nneg i32 %4 to i64 %8 = getelementptr inbounds [3 x ptr], ptr @switch.table.get_proto, i64 0, i64 %7 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %3, align 8, !tbaa !5 %11 = load i64, ptr %9, align 8, !tbaa !10 %12 = getelementptr inbounds %struct.proto, ptr %10, i64 %11 br label %13 13: ; preds = %2, %6 %14 = phi ptr [ null, %2 ], [ %12, %6 ] ret ptr %14 } declare ptr @get_ppp(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ppp", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/extr_hdlc_ppp.c_get_proto.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/extr_hdlc_ppp.c_get_proto.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.proto = type { i32 } @IDX_LCP = common local_unnamed_addr global i64 0, align 8 @IDX_IPCP = common local_unnamed_addr global i64 0, align 8 @IDX_IPV6CP = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @get_proto], section "llvm.metadata" @switch.table.get_proto = private unnamed_addr constant [3 x ptr] [ptr @IDX_LCP, ptr @IDX_IPV6CP, ptr @IDX_IPCP], align 8 ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @get_proto(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @get_ppp(ptr noundef %0) #2 %4 = add i32 %1, -128 %5 = icmp ult i32 %4, 3 br i1 %5, label %6, label %13 6: ; preds = %2 %7 = zext nneg i32 %4 to i64 %8 = getelementptr inbounds [3 x ptr], ptr @switch.table.get_proto, i64 0, i64 %7 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %3, align 8, !tbaa !6 %11 = load i64, ptr %9, align 8, !tbaa !11 %12 = getelementptr inbounds %struct.proto, ptr %10, i64 %11 br label %13 13: ; preds = %2, %6 %14 = phi ptr [ null, %2 ], [ %12, %6 ] ret ptr %14 } declare ptr @get_ppp(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ppp", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0}
fastsocket_kernel_drivers_net_wan_extr_hdlc_ppp.c_get_proto
; ModuleID = 'AnghaBench/fastsocket/kernel/net/core/extr_dst.c____dst_free.c' source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_dst.c____dst_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" %struct.dst_entry = type { i32, i32, i32, ptr } @IFF_UP = dso_local local_unnamed_addr global i32 0, align 4 @dst_discard = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @___dst_free], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @___dst_free(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.dst_entry, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %10, label %5 5: ; preds = %1 %6 = load i32, ptr %3, align 4, !tbaa !11 %7 = load i32, ptr @IFF_UP, align 4, !tbaa !13 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %5, %1 %11 = load i32, ptr @dst_discard, align 4, !tbaa !13 %12 = getelementptr inbounds %struct.dst_entry, ptr %0, i64 0, i32 1 store i32 %11, ptr %12, align 4, !tbaa !14 %13 = getelementptr inbounds %struct.dst_entry, ptr %0, i64 0, i32 2 store i32 %11, ptr %13, align 8, !tbaa !15 br label %14 14: ; preds = %10, %5 store i32 2, ptr %0, align 8, !tbaa !16 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 16} !6 = !{!"dst_entry", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 4} !15 = !{!6, !7, i64 8} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/core/extr_dst.c____dst_free.c' source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_dst.c____dst_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFF_UP = common local_unnamed_addr global i32 0, align 4 @dst_discard = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @___dst_free], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @___dst_free(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %10, label %5 5: ; preds = %1 %6 = load i32, ptr %3, align 4, !tbaa !12 %7 = load i32, ptr @IFF_UP, align 4, !tbaa !14 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %5, %1 %11 = load i32, ptr @dst_discard, align 4, !tbaa !14 %12 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %11, ptr %12, align 4, !tbaa !15 %13 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %11, ptr %13, align 8, !tbaa !16 br label %14 14: ; preds = %10, %5 store i32 2, ptr %0, align 8, !tbaa !17 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 16} !7 = !{!"dst_entry", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_2__", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 4} !16 = !{!7, !8, i64 8} !17 = !{!7, !8, i64 0}
fastsocket_kernel_net_core_extr_dst.c____dst_free
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/lmc/extr_lmc_media.c_lmc_hssi_default.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/lmc/extr_lmc_media.c_lmc_hssi_default.c" target datalayout = "e-m:e-p270:32:32-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_8__ = type { ptr, i32 } %struct.TYPE_7__ = type { ptr, ptr, ptr } @LMC_MII16_LED_ALL = dso_local local_unnamed_addr global i32 0, align 4 @LMC_LINK_DOWN = dso_local local_unnamed_addr global i32 0, align 4 @LMC_CTL_CLOCK_SOURCE_EXT = dso_local local_unnamed_addr global i32 0, align 4 @LMC_CTL_CRC_LENGTH_16 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lmc_hssi_default], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @lmc_hssi_default(ptr noundef %0) #0 { %2 = load i32, ptr @LMC_MII16_LED_ALL, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 store i32 %2, ptr %3, align 8, !tbaa !9 %4 = load ptr, ptr %0, align 8, !tbaa !12 %5 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = load i32, ptr @LMC_LINK_DOWN, align 4, !tbaa !5 %8 = tail call i32 %6(ptr noundef nonnull %0, i32 noundef %7) #1 %9 = load ptr, ptr %0, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !15 %12 = load i32, ptr @LMC_CTL_CLOCK_SOURCE_EXT, align 4, !tbaa !5 %13 = tail call i32 %11(ptr noundef nonnull %0, i32 noundef %12) #1 %14 = load ptr, ptr %0, align 8, !tbaa !12 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = load i32, ptr @LMC_CTL_CRC_LENGTH_16, align 4, !tbaa !5 %17 = tail call i32 %15(ptr noundef nonnull %0, i32 noundef %16) #1 ret void } 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_8__", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !11, i64 16} !14 = !{!"TYPE_7__", !11, i64 0, !11, i64 8, !11, i64 16} !15 = !{!14, !11, i64 8} !16 = !{!14, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/lmc/extr_lmc_media.c_lmc_hssi_default.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/lmc/extr_lmc_media.c_lmc_hssi_default.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LMC_MII16_LED_ALL = common local_unnamed_addr global i32 0, align 4 @LMC_LINK_DOWN = common local_unnamed_addr global i32 0, align 4 @LMC_CTL_CLOCK_SOURCE_EXT = common local_unnamed_addr global i32 0, align 4 @LMC_CTL_CRC_LENGTH_16 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lmc_hssi_default], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @lmc_hssi_default(ptr noundef %0) #0 { %2 = load i32, ptr @LMC_MII16_LED_ALL, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %2, ptr %3, align 8, !tbaa !10 %4 = load ptr, ptr %0, align 8, !tbaa !13 %5 = getelementptr inbounds i8, ptr %4, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = load i32, ptr @LMC_LINK_DOWN, align 4, !tbaa !6 %8 = tail call i32 %6(ptr noundef nonnull %0, i32 noundef %7) #1 %9 = load ptr, ptr %0, align 8, !tbaa !13 %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !16 %12 = load i32, ptr @LMC_CTL_CLOCK_SOURCE_EXT, align 4, !tbaa !6 %13 = tail call i32 %11(ptr noundef nonnull %0, i32 noundef %12) #1 %14 = load ptr, ptr %0, align 8, !tbaa !13 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = load i32, ptr @LMC_CTL_CRC_LENGTH_16, align 4, !tbaa !6 %17 = tail call i32 %15(ptr noundef nonnull %0, i32 noundef %16) #1 ret void } 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, !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_8__", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !12, i64 16} !15 = !{!"TYPE_7__", !12, i64 0, !12, i64 8, !12, i64 16} !16 = !{!15, !12, i64 8} !17 = !{!15, !12, i64 0}
fastsocket_kernel_drivers_net_wan_lmc_extr_lmc_media.c_lmc_hssi_default
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_spi.c_spi_set_mosi.c' source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_spi.c_spi_set_mosi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @spi = dso_local local_unnamed_addr global i32 0, align 4 @LUA_TSTRING = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"out of range\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"data range exceeded > 512 bits\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @spi_set_mosi], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @spi_set_mosi(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 1) #3 %4 = load i32, ptr @spi, align 4, !tbaa !5 %5 = tail call i32 @MOD_CHECK_ID(i32 noundef %4, i32 noundef %3) #3 %6 = tail call i64 @lua_type(ptr noundef %0, i32 noundef 2) #3 %7 = load i64, ptr @LUA_TSTRING, align 8, !tbaa !9 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %18 9: ; preds = %1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %10 = call ptr @luaL_checklstring(ptr noundef %0, i32 noundef 2, ptr noundef nonnull %2) #3 %11 = load i64, ptr %2, align 8, !tbaa !9 %12 = icmp ult i64 %11, 65 %13 = zext i1 %12 to i32 %14 = call i32 @luaL_argcheck(ptr noundef %0, i32 noundef 2, i32 noundef %13, ptr noundef nonnull @.str) #3 %15 = load i64, ptr %2, align 8, !tbaa !9 %16 = shl i64 %15, 3 %17 = call i32 @spi_mast_blkset(i32 noundef %3, i64 noundef %16, ptr noundef %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %43 18: ; preds = %1 %19 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 2) #3 %20 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 3) #3 %21 = icmp ult i32 %19, 512 %22 = zext i1 %21 to i32 %23 = tail call i32 @luaL_argcheck(ptr noundef %0, i32 noundef 2, i32 noundef %22, ptr noundef nonnull @.str) #3 %24 = add i32 %20, -1 %25 = icmp ult i32 %24, 32 %26 = zext i1 %25 to i32 %27 = tail call i32 @luaL_argcheck(ptr noundef %0, i32 noundef 3, i32 noundef %26, ptr noundef nonnull @.str) #3 %28 = tail call i32 @lua_gettop(ptr noundef %0) #3 %29 = icmp slt i32 %28, 4 br i1 %29, label %43, label %30 30: ; preds = %18, %36 %31 = phi i32 [ %38, %36 ], [ 4, %18 ] %32 = phi i32 [ %34, %36 ], [ %19, %18 ] %33 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef %31) #3 %34 = add nsw i32 %32, %20 %35 = icmp slt i32 %34, 513 br i1 %35, label %36, label %41 36: ; preds = %30 %37 = tail call i32 @spi_mast_set_mosi(i32 noundef %3, i32 noundef %32, i32 noundef %20, i32 noundef %33) #3 %38 = add nuw nsw i32 %31, 1 %39 = tail call i32 @lua_gettop(ptr noundef %0) #3 %40 = icmp slt i32 %31, %39 br i1 %40, label %30, label %43, !llvm.loop !11 41: ; preds = %30 %42 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %43 43: ; preds = %36, %18, %9, %41 %44 = phi i32 [ %42, %41 ], [ 0, %9 ], [ 0, %18 ], [ 0, %36 ] ret i32 %44 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_checkinteger(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MOD_CHECK_ID(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @lua_type(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @luaL_checklstring(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_argcheck(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @spi_mast_blkset(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #2 declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @spi_mast_set_mosi(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_spi.c_spi_set_mosi.c' source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_spi.c_spi_set_mosi.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @spi = common local_unnamed_addr global i32 0, align 4 @LUA_TSTRING = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"out of range\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"data range exceeded > 512 bits\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @spi_set_mosi], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @spi_set_mosi(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 1) #3 %4 = load i32, ptr @spi, align 4, !tbaa !6 %5 = tail call i32 @MOD_CHECK_ID(i32 noundef %4, i32 noundef %3) #3 %6 = tail call i64 @lua_type(ptr noundef %0, i32 noundef 2) #3 %7 = load i64, ptr @LUA_TSTRING, align 8, !tbaa !10 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %18 9: ; preds = %1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %10 = call ptr @luaL_checklstring(ptr noundef %0, i32 noundef 2, ptr noundef nonnull %2) #3 %11 = load i64, ptr %2, align 8, !tbaa !10 %12 = icmp ult i64 %11, 65 %13 = zext i1 %12 to i32 %14 = call i32 @luaL_argcheck(ptr noundef %0, i32 noundef 2, i32 noundef %13, ptr noundef nonnull @.str) #3 %15 = load i64, ptr %2, align 8, !tbaa !10 %16 = shl i64 %15, 3 %17 = call i32 @spi_mast_blkset(i32 noundef %3, i64 noundef %16, ptr noundef %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 br label %43 18: ; preds = %1 %19 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 2) #3 %20 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 3) #3 %21 = icmp ult i32 %19, 512 %22 = zext i1 %21 to i32 %23 = tail call i32 @luaL_argcheck(ptr noundef %0, i32 noundef 2, i32 noundef %22, ptr noundef nonnull @.str) #3 %24 = add i32 %20, -1 %25 = icmp ult i32 %24, 32 %26 = zext i1 %25 to i32 %27 = tail call i32 @luaL_argcheck(ptr noundef %0, i32 noundef 3, i32 noundef %26, ptr noundef nonnull @.str) #3 %28 = tail call i32 @lua_gettop(ptr noundef %0) #3 %29 = icmp slt i32 %28, 4 br i1 %29, label %43, label %30 30: ; preds = %18, %36 %31 = phi i32 [ %38, %36 ], [ 4, %18 ] %32 = phi i32 [ %34, %36 ], [ %19, %18 ] %33 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef %31) #3 %34 = add nsw i32 %32, %20 %35 = icmp slt i32 %34, 513 br i1 %35, label %36, label %41 36: ; preds = %30 %37 = tail call i32 @spi_mast_set_mosi(i32 noundef %3, i32 noundef %32, i32 noundef %20, i32 noundef %33) #3 %38 = add nuw nsw i32 %31, 1 %39 = tail call i32 @lua_gettop(ptr noundef %0) #3 %40 = icmp slt i32 %31, %39 br i1 %40, label %30, label %43, !llvm.loop !12 41: ; preds = %30 %42 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %43 43: ; preds = %36, %18, %9, %41 %44 = phi i32 [ %42, %41 ], [ 0, %9 ], [ 0, %18 ], [ 0, %36 ] ret i32 %44 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_checkinteger(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MOD_CHECK_ID(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @lua_type(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @luaL_checklstring(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_argcheck(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @spi_mast_blkset(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #2 declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @spi_mast_set_mosi(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
nodemcu-firmware_app_modules_extr_spi.c_spi_set_mosi
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_uipc_socket.c_socket_try_lock.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_uipc_socket.c_socket_try_lock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local i32 @socket_try_lock(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call ptr %4(ptr noundef nonnull %0, i32 noundef 0) #2 br label %11 8: ; preds = %1 %9 = load ptr, ptr %2, align 8, !tbaa !12 %10 = load ptr, ptr %9, align 8, !tbaa !13 br label %11 11: ; preds = %8, %6 %12 = phi ptr [ %7, %6 ], [ %10, %8 ] %13 = tail call i32 @lck_mtx_try_lock(ptr noundef %12) #2 ret i32 %13 } declare i32 @lck_mtx_try_lock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"socket", !7, i64 0} !7 = !{!"any pointer", !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 8} !12 = !{!11, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_uipc_socket.c_socket_try_lock.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_uipc_socket.c_socket_try_lock.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 @socket_try_lock(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call ptr %4(ptr noundef nonnull %0, i32 noundef 0) #2 br label %11 8: ; preds = %1 %9 = load ptr, ptr %2, align 8, !tbaa !13 %10 = load ptr, ptr %9, align 8, !tbaa !14 br label %11 11: ; preds = %8, %6 %12 = phi ptr [ %7, %6 ], [ %10, %8 ] %13 = tail call i32 @lck_mtx_try_lock(ptr noundef %12) #2 ret i32 %13 } declare i32 @lck_mtx_try_lock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"socket", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"TYPE_4__", !8, i64 0, !8, i64 8} !13 = !{!12, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_3__", !8, i64 0}
darwin-xnu_bsd_kern_extr_uipc_socket.c_socket_try_lock
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_enable_phy_loopback.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_enable_phy_loopback.c" target datalayout = "e-m:e-p270:32:32-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 @hclge_enable_phy_loopback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hclge_enable_phy_loopback(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = tail call i32 @phy_suspend(ptr noundef nonnull %1) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %5, %2 %9 = tail call i32 @phy_resume(ptr noundef nonnull %1) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = tail call i32 @phy_loopback(ptr noundef nonnull %1, i32 noundef 1) #2 br label %13 13: ; preds = %8, %5, %11 %14 = phi i32 [ %12, %11 ], [ %6, %5 ], [ %9, %8 ] ret i32 %14 } declare i32 @phy_suspend(ptr noundef) local_unnamed_addr #1 declare i32 @phy_resume(ptr noundef) local_unnamed_addr #1 declare i32 @phy_loopback(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 = !{!"phy_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_enable_phy_loopback.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/extr_hclge_main.c_hclge_enable_phy_loopback.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 @hclge_enable_phy_loopback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hclge_enable_phy_loopback(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = tail call i32 @phy_suspend(ptr noundef nonnull %1) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %5, %2 %9 = tail call i32 @phy_resume(ptr noundef nonnull %1) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = tail call i32 @phy_loopback(ptr noundef nonnull %1, i32 noundef 1) #2 br label %13 13: ; preds = %8, %5, %11 %14 = phi i32 [ %12, %11 ], [ %6, %5 ], [ %9, %8 ] ret i32 %14 } declare i32 @phy_suspend(ptr noundef) local_unnamed_addr #1 declare i32 @phy_resume(ptr noundef) local_unnamed_addr #1 declare i32 @phy_loopback(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 = !{!"phy_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_hisilicon_hns3_hns3pf_extr_hclge_main.c_hclge_enable_phy_loopback
; ModuleID = 'AnghaBench/linux/arch/sparc/crypto/extr_des_glue.c___ecb3_crypt.c' source_filename = "AnghaBench/linux/arch/sparc/crypto/extr_des_glue.c___ecb3_crypt.c" target datalayout = "e-m:e-p270:32:32-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.blkcipher_walk = type { i32, %struct.TYPE_8__, %struct.TYPE_6__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i64 } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i64 } %struct.blkcipher_desc = type { i32, i32 } %struct.des3_ede_sparc64_ctx = type { ptr, ptr } @CRYPTO_TFM_REQ_MAY_SLEEP = dso_local local_unnamed_addr global i32 0, align 4 @DES_BLOCK_MASK = dso_local local_unnamed_addr global i32 0, align 4 @DES_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__ecb3_crypt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__ecb3_crypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.blkcipher_walk, align 8 %7 = getelementptr inbounds %struct.blkcipher_desc, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = tail call ptr @crypto_blkcipher_ctx(i32 noundef %8) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3 %10 = call i32 @blkcipher_walk_init(ptr noundef nonnull %6, ptr noundef %1, ptr noundef %2, i32 noundef %3) #3 %11 = call i32 @blkcipher_walk_virt(ptr noundef %0, ptr noundef nonnull %6) #3 %12 = load i32, ptr @CRYPTO_TFM_REQ_MAY_SLEEP, align 4, !tbaa !10 %13 = xor i32 %12, -1 %14 = load i32, ptr %0, align 4, !tbaa !11 %15 = and i32 %14, %13 store i32 %15, ptr %0, align 4, !tbaa !11 %16 = icmp eq i32 %4, 0 %17 = getelementptr inbounds %struct.des3_ede_sparc64_ctx, ptr %9, i64 0, i32 1 %18 = select i1 %16, ptr %9, ptr %17 %19 = load ptr, ptr %18, align 8, !tbaa !12 %20 = call i32 @des3_ede_sparc64_load_keys(ptr noundef %19) #3 %21 = load i32, ptr %6, align 8, !tbaa !14 %22 = icmp eq i32 %21, 0 br i1 %22, label %45, label %23 23: ; preds = %5 %24 = getelementptr inbounds %struct.blkcipher_walk, ptr %6, i64 0, i32 2 %25 = getelementptr inbounds %struct.blkcipher_walk, ptr %6, i64 0, i32 1 br label %26 26: ; preds = %23, %38 %27 = phi i32 [ %21, %23 ], [ %43, %38 ] %28 = load i32, ptr @DES_BLOCK_MASK, align 4, !tbaa !10 %29 = and i32 %28, %27 %30 = call i64 @likely(i32 noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %38, label %32 32: ; preds = %26 %33 = load i64, ptr %24, align 8, !tbaa !21 %34 = inttoptr i64 %33 to ptr %35 = load i64, ptr %25, align 8, !tbaa !22 %36 = inttoptr i64 %35 to ptr %37 = call i32 @des3_ede_sparc64_ecb_crypt(ptr noundef %19, ptr noundef %34, ptr noundef %36, i32 noundef %29) #3 br label %38 38: ; preds = %32, %26 %39 = load i32, ptr @DES_BLOCK_SIZE, align 4, !tbaa !10 %40 = add nsw i32 %39, -1 %41 = and i32 %40, %27 %42 = call i32 @blkcipher_walk_done(ptr noundef nonnull %0, ptr noundef nonnull %6, i32 noundef %41) #3 %43 = load i32, ptr %6, align 8, !tbaa !14 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %26, !llvm.loop !23 45: ; preds = %38, %5 %46 = phi i32 [ %11, %5 ], [ %42, %38 ] %47 = call i32 @fprs_write(i32 noundef 0) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3 ret i32 %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @crypto_blkcipher_ctx(i32 noundef) local_unnamed_addr #2 declare i32 @blkcipher_walk_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @blkcipher_walk_virt(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @des3_ede_sparc64_load_keys(ptr noundef) local_unnamed_addr #2 declare i64 @likely(i32 noundef) local_unnamed_addr #2 declare i32 @des3_ede_sparc64_ecb_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @blkcipher_walk_done(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fprs_write(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"blkcipher_desc", !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 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"blkcipher_walk", !7, i64 0, !16, i64 8, !19, i64 16} !16 = !{!"TYPE_8__", !17, i64 0} !17 = !{!"TYPE_7__", !18, i64 0} !18 = !{!"long", !8, i64 0} !19 = !{!"TYPE_6__", !20, i64 0} !20 = !{!"TYPE_5__", !18, i64 0} !21 = !{!15, !18, i64 16} !22 = !{!15, !18, i64 8} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/arch/sparc/crypto/extr_des_glue.c___ecb3_crypt.c' source_filename = "AnghaBench/linux/arch/sparc/crypto/extr_des_glue.c___ecb3_crypt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.blkcipher_walk = type { i32, %struct.TYPE_8__, %struct.TYPE_6__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i64 } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i64 } @CRYPTO_TFM_REQ_MAY_SLEEP = common local_unnamed_addr global i32 0, align 4 @DES_BLOCK_MASK = common local_unnamed_addr global i32 0, align 4 @DES_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__ecb3_crypt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__ecb3_crypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.blkcipher_walk, align 8 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = tail call ptr @crypto_blkcipher_ctx(i32 noundef %8) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3 %10 = call i32 @blkcipher_walk_init(ptr noundef nonnull %6, ptr noundef %1, ptr noundef %2, i32 noundef %3) #3 %11 = call i32 @blkcipher_walk_virt(ptr noundef %0, ptr noundef nonnull %6) #3 %12 = load i32, ptr @CRYPTO_TFM_REQ_MAY_SLEEP, align 4, !tbaa !11 %13 = xor i32 %12, -1 %14 = load i32, ptr %0, align 4, !tbaa !12 %15 = and i32 %14, %13 store i32 %15, ptr %0, align 4, !tbaa !12 %16 = icmp eq i32 %4, 0 %17 = select i1 %16, i64 0, i64 8 %18 = getelementptr inbounds i8, ptr %9, i64 %17 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = call i32 @des3_ede_sparc64_load_keys(ptr noundef %19) #3 %21 = load i32, ptr %6, align 8, !tbaa !15 %22 = icmp eq i32 %21, 0 br i1 %22, label %45, label %23 23: ; preds = %5 %24 = getelementptr inbounds i8, ptr %6, i64 16 %25 = getelementptr inbounds i8, ptr %6, i64 8 br label %26 26: ; preds = %23, %38 %27 = phi i32 [ %21, %23 ], [ %43, %38 ] %28 = load i32, ptr @DES_BLOCK_MASK, align 4, !tbaa !11 %29 = and i32 %28, %27 %30 = call i64 @likely(i32 noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %38, label %32 32: ; preds = %26 %33 = load i64, ptr %24, align 8, !tbaa !22 %34 = inttoptr i64 %33 to ptr %35 = load i64, ptr %25, align 8, !tbaa !23 %36 = inttoptr i64 %35 to ptr %37 = call i32 @des3_ede_sparc64_ecb_crypt(ptr noundef %19, ptr noundef %34, ptr noundef %36, i32 noundef %29) #3 br label %38 38: ; preds = %32, %26 %39 = load i32, ptr @DES_BLOCK_SIZE, align 4, !tbaa !11 %40 = add nsw i32 %39, -1 %41 = and i32 %40, %27 %42 = call i32 @blkcipher_walk_done(ptr noundef nonnull %0, ptr noundef nonnull %6, i32 noundef %41) #3 %43 = load i32, ptr %6, align 8, !tbaa !15 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %26, !llvm.loop !24 45: ; preds = %38, %5 %46 = phi i32 [ %11, %5 ], [ %42, %38 ] %47 = call i32 @fprs_write(i32 noundef 0) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3 ret i32 %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @crypto_blkcipher_ctx(i32 noundef) local_unnamed_addr #2 declare i32 @blkcipher_walk_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @blkcipher_walk_virt(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @des3_ede_sparc64_load_keys(ptr noundef) local_unnamed_addr #2 declare i64 @likely(i32 noundef) local_unnamed_addr #2 declare i32 @des3_ede_sparc64_ecb_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @blkcipher_walk_done(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fprs_write(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"blkcipher_desc", !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 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"blkcipher_walk", !8, i64 0, !17, i64 8, !20, i64 16} !17 = !{!"TYPE_8__", !18, i64 0} !18 = !{!"TYPE_7__", !19, i64 0} !19 = !{!"long", !9, i64 0} !20 = !{!"TYPE_6__", !21, i64 0} !21 = !{!"TYPE_5__", !19, i64 0} !22 = !{!16, !19, i64 16} !23 = !{!16, !19, i64 8} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
linux_arch_sparc_crypto_extr_des_glue.c___ecb3_crypt
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/watchdog/extr_sbc_fitpc2_wdt.c_fitpc2_wdt_open.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/watchdog/extr_sbc_fitpc2_wdt.c_fitpc2_wdt_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" @WDT_IN_USE = dso_local local_unnamed_addr global i32 0, align 4 @wdt_status = dso_local global i32 0, align 4 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @WDT_OK_TO_CLOSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fitpc2_wdt_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fitpc2_wdt_open(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @WDT_IN_USE, align 4, !tbaa !5 %4 = tail call i64 @test_and_set_bit(i32 noundef %3, ptr noundef nonnull @wdt_status) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @EBUSY, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %14 9: ; preds = %2 %10 = load i32, ptr @WDT_OK_TO_CLOSE, align 4, !tbaa !5 %11 = tail call i32 @clear_bit(i32 noundef %10, ptr noundef nonnull @wdt_status) #2 %12 = tail call i32 (...) @wdt_enable() #2 %13 = tail call i32 @nonseekable_open(ptr noundef %0, ptr noundef %1) #2 br label %14 14: ; preds = %9, %6 %15 = phi i32 [ %8, %6 ], [ %13, %9 ] ret i32 %15 } declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wdt_enable(...) local_unnamed_addr #1 declare i32 @nonseekable_open(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/fastsocket/kernel/drivers/watchdog/extr_sbc_fitpc2_wdt.c_fitpc2_wdt_open.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/watchdog/extr_sbc_fitpc2_wdt.c_fitpc2_wdt_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WDT_IN_USE = common local_unnamed_addr global i32 0, align 4 @wdt_status = common global i32 0, align 4 @EBUSY = common local_unnamed_addr global i32 0, align 4 @WDT_OK_TO_CLOSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fitpc2_wdt_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fitpc2_wdt_open(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @WDT_IN_USE, align 4, !tbaa !6 %4 = tail call i64 @test_and_set_bit(i32 noundef %3, ptr noundef nonnull @wdt_status) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @EBUSY, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %14 9: ; preds = %2 %10 = load i32, ptr @WDT_OK_TO_CLOSE, align 4, !tbaa !6 %11 = tail call i32 @clear_bit(i32 noundef %10, ptr noundef nonnull @wdt_status) #2 %12 = tail call i32 @wdt_enable() #2 %13 = tail call i32 @nonseekable_open(ptr noundef %0, ptr noundef %1) #2 br label %14 14: ; preds = %9, %6 %15 = phi i32 [ %8, %6 ], [ %13, %9 ] ret i32 %15 } declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wdt_enable(...) local_unnamed_addr #1 declare i32 @nonseekable_open(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"}
fastsocket_kernel_drivers_watchdog_extr_sbc_fitpc2_wdt.c_fitpc2_wdt_open
; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/lib/inifile/extr_parse.c_IniGetSettingNameSize.c' source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/lib/inifile/extr_parse.c_IniGetSettingNameSize.c" target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local i64 @IniGetSettingNameSize(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %11, label %4 4: ; preds = %2, %8 %5 = phi i64 [ %9, %8 ], [ 0, %2 ] %6 = getelementptr inbounds i8, ptr %0, i64 %5 %7 = load i8, ptr %6, align 1, !tbaa !5 switch i8 %7, label %11 [ i8 32, label %8 i8 9, label %8 ] 8: ; preds = %4, %4 %9 = add nuw i64 %5, 1 %10 = icmp eq i64 %9, %1 br i1 %10, label %28, label %4, !llvm.loop !8 11: ; preds = %4, %2 %12 = phi i64 [ 0, %2 ], [ %5, %4 ] %13 = icmp ult i64 %12, %1 br i1 %13, label %14, label %28 14: ; preds = %11 %15 = sub i64 %1, %12 br label %16 16: ; preds = %14, %21 %17 = phi i64 [ %22, %21 ], [ 0, %14 ] %18 = phi i64 [ %23, %21 ], [ %12, %14 ] %19 = getelementptr inbounds i8, ptr %0, i64 %18 %20 = load i8, ptr %19, align 1, !tbaa !5 switch i8 %20, label %21 [ i8 61, label %25 i8 0, label %25 ] 21: ; preds = %16 %22 = add i64 %17, 1 %23 = add nuw i64 %18, 1 %24 = icmp eq i64 %22, %15 br i1 %24, label %25, label %16, !llvm.loop !10 25: ; preds = %16, %16, %21 %26 = phi i64 [ %15, %21 ], [ %17, %16 ], [ %17, %16 ] %27 = add i64 %26, 1 br label %28 28: ; preds = %8, %25, %11 %29 = phi i64 [ 1, %11 ], [ %27, %25 ], [ 1, %8 ] ret i64 %29 } attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = distinct !{!10, !9}
; ModuleID = 'AnghaBench/reactos/boot/freeldr/freeldr/lib/inifile/extr_parse.c_IniGetSettingNameSize.c' source_filename = "AnghaBench/reactos/boot/freeldr/freeldr/lib/inifile/extr_parse.c_IniGetSettingNameSize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) define i64 @IniGetSettingNameSize(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %11, label %4 4: ; preds = %2, %8 %5 = phi i64 [ %9, %8 ], [ 0, %2 ] %6 = getelementptr inbounds i8, ptr %0, i64 %5 %7 = load i8, ptr %6, align 1, !tbaa !6 switch i8 %7, label %11 [ i8 32, label %8 i8 9, label %8 ] 8: ; preds = %4, %4 %9 = add nuw i64 %5, 1 %10 = icmp eq i64 %9, %1 br i1 %10, label %28, label %4, !llvm.loop !9 11: ; preds = %4, %2 %12 = phi i64 [ 0, %2 ], [ %5, %4 ] %13 = icmp ult i64 %12, %1 br i1 %13, label %14, label %28 14: ; preds = %11 %15 = sub i64 %1, %12 br label %16 16: ; preds = %14, %21 %17 = phi i64 [ %22, %21 ], [ 0, %14 ] %18 = phi i64 [ %23, %21 ], [ %12, %14 ] %19 = getelementptr inbounds i8, ptr %0, i64 %18 %20 = load i8, ptr %19, align 1, !tbaa !6 switch i8 %20, label %21 [ i8 61, label %25 i8 0, label %25 ] 21: ; preds = %16 %22 = add i64 %17, 1 %23 = add nuw i64 %18, 1 %24 = icmp eq i64 %22, %15 br i1 %24, label %25, label %16, !llvm.loop !11 25: ; preds = %16, %16, %21 %26 = phi i64 [ %15, %21 ], [ %17, %16 ], [ %17, %16 ] %27 = add i64 %26, 1 br label %28 28: ; preds = %8, %25, %11 %29 = phi i64 [ 1, %11 ], [ %27, %25 ], [ 1, %8 ] ret i64 %29 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
reactos_boot_freeldr_freeldr_lib_inifile_extr_parse.c_IniGetSettingNameSize
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_cmipci.c_save_mixer_state.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_cmipci.c_save_mixer_state.c" target datalayout = "e-m:e-p270:32:32-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.cmipci = type { i32, ptr, i32, ptr } %struct.snd_kcontrol = type { i32, ptr, ptr, ptr } %struct.TYPE_8__ = type { i64 } @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @CM_SAVED_MIXERS = dso_local local_unnamed_addr global i32 0, align 4 @cm_saved_mixer = dso_local local_unnamed_addr global ptr null, align 8 @SNDRV_CTL_EVENT_MASK_INFO = dso_local local_unnamed_addr global i32 0, align 4 @SNDRV_CTL_EVENT_MASK_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @SNDRV_CTL_ELEM_ACCESS_INACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @save_mixer_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @save_mixer_state(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %63 4: ; preds = %1 %5 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !11 %6 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %15, label %8 8: ; preds = %4 %9 = load i32, ptr @CM_SAVED_MIXERS, align 4, !tbaa !11 %10 = icmp eq i32 %9, 0 br i1 %10, label %61, label %11 11: ; preds = %8 %12 = getelementptr inbounds %struct.cmipci, ptr %0, i64 0, i32 3 %13 = getelementptr inbounds %struct.cmipci, ptr %0, i64 0, i32 1 %14 = getelementptr inbounds %struct.cmipci, ptr %0, i64 0, i32 2 br label %18 15: ; preds = %4 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %17 = sub nsw i32 0, %16 br label %63 18: ; preds = %11, %56 %19 = phi i32 [ %9, %11 ], [ %57, %56 ] %20 = phi i64 [ 0, %11 ], [ %58, %56 ] %21 = load ptr, ptr %12, align 8, !tbaa !12 %22 = getelementptr inbounds ptr, ptr %21, i64 %20 %23 = load ptr, ptr %22, align 8, !tbaa !13 %24 = icmp eq ptr %23, null br i1 %24, label %56, label %25 25: ; preds = %18 %26 = tail call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 8) #2 %27 = getelementptr inbounds %struct.snd_kcontrol, ptr %23, i64 0, i32 3 %28 = load ptr, ptr %27, align 8, !tbaa !14 %29 = tail call i32 %28(ptr noundef nonnull %23, ptr noundef nonnull %6) #2 %30 = load ptr, ptr %6, align 8, !tbaa !16 %31 = load i64, ptr %30, align 8, !tbaa !20 %32 = load ptr, ptr %13, align 8, !tbaa !22 %33 = getelementptr inbounds i64, ptr %32, i64 %20 store i64 %31, ptr %33, align 8, !tbaa !20 %34 = load ptr, ptr @cm_saved_mixer, align 8, !tbaa !13 %35 = getelementptr inbounds %struct.TYPE_8__, ptr %34, i64 %20 %36 = load i64, ptr %35, align 8, !tbaa !23 store i64 %36, ptr %30, align 8, !tbaa !20 %37 = load i32, ptr @SNDRV_CTL_EVENT_MASK_INFO, align 4, !tbaa !11 %38 = load i64, ptr %33, align 8, !tbaa !20 %39 = icmp eq i64 %38, %36 br i1 %39, label %46, label %40 40: ; preds = %25 %41 = getelementptr inbounds %struct.snd_kcontrol, ptr %23, i64 0, i32 2 %42 = load ptr, ptr %41, align 8, !tbaa !25 %43 = tail call i32 %42(ptr noundef nonnull %23, ptr noundef nonnull %6) #2 %44 = load i32, ptr @SNDRV_CTL_EVENT_MASK_VALUE, align 4, !tbaa !11 %45 = or i32 %44, %37 br label %46 46: ; preds = %40, %25 %47 = phi i32 [ %45, %40 ], [ %37, %25 ] %48 = load i32, ptr @SNDRV_CTL_ELEM_ACCESS_INACTIVE, align 4, !tbaa !11 %49 = getelementptr inbounds %struct.snd_kcontrol, ptr %23, i64 0, i32 1 %50 = load ptr, ptr %49, align 8, !tbaa !26 %51 = load i32, ptr %50, align 4, !tbaa !27 %52 = or i32 %51, %48 store i32 %52, ptr %50, align 4, !tbaa !27 %53 = load i32, ptr %14, align 8, !tbaa !29 %54 = tail call i32 @snd_ctl_notify(i32 noundef %53, i32 noundef %47, ptr noundef nonnull %23) #2 %55 = load i32, ptr @CM_SAVED_MIXERS, align 4, !tbaa !11 br label %56 56: ; preds = %46, %18 %57 = phi i32 [ %55, %46 ], [ %19, %18 ] %58 = add nuw nsw i64 %20, 1 %59 = zext i32 %57 to i64 %60 = icmp ult i64 %58, %59 br i1 %60, label %18, label %61, !llvm.loop !30 61: ; preds = %56, %8 %62 = tail call i32 @kfree(ptr noundef nonnull %6) #2 store i32 1, ptr %0, align 8, !tbaa !5 br label %63 63: ; preds = %61, %1, %15 %64 = phi i32 [ %17, %15 ], [ 0, %61 ], [ 0, %1 ] ret i32 %64 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_ctl_notify(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"cmipci", !7, i64 0, !10, i64 8, !7, i64 16, !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 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 24} !13 = !{!10, !10, i64 0} !14 = !{!15, !10, i64 24} !15 = !{!"snd_kcontrol", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24} !16 = !{!17, !10, i64 0} !17 = !{!"snd_ctl_elem_value", !18, i64 0} !18 = !{!"TYPE_6__", !19, i64 0} !19 = !{!"TYPE_5__", !10, i64 0} !20 = !{!21, !21, i64 0} !21 = !{!"long", !8, i64 0} !22 = !{!6, !10, i64 8} !23 = !{!24, !21, i64 0} !24 = !{!"TYPE_8__", !21, i64 0} !25 = !{!15, !10, i64 16} !26 = !{!15, !10, i64 8} !27 = !{!28, !7, i64 0} !28 = !{!"TYPE_7__", !7, i64 0} !29 = !{!6, !7, i64 16} !30 = distinct !{!30, !31} !31 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_cmipci.c_save_mixer_state.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_cmipci.c_save_mixer_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i64 } @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @CM_SAVED_MIXERS = common local_unnamed_addr global i32 0, align 4 @cm_saved_mixer = common local_unnamed_addr global ptr null, align 8 @SNDRV_CTL_EVENT_MASK_INFO = common local_unnamed_addr global i32 0, align 4 @SNDRV_CTL_EVENT_MASK_VALUE = common local_unnamed_addr global i32 0, align 4 @SNDRV_CTL_ELEM_ACCESS_INACTIVE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @save_mixer_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @save_mixer_state(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %63 4: ; preds = %1 %5 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !12 %6 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %15, label %8 8: ; preds = %4 %9 = load i32, ptr @CM_SAVED_MIXERS, align 4, !tbaa !12 %10 = icmp eq i32 %9, 0 br i1 %10, label %61, label %11 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %0, i64 24 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = getelementptr inbounds i8, ptr %0, i64 16 br label %18 15: ; preds = %4 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %17 = sub nsw i32 0, %16 br label %63 18: ; preds = %11, %56 %19 = phi i32 [ %9, %11 ], [ %57, %56 ] %20 = phi i64 [ 0, %11 ], [ %58, %56 ] %21 = load ptr, ptr %12, align 8, !tbaa !13 %22 = getelementptr inbounds ptr, ptr %21, i64 %20 %23 = load ptr, ptr %22, align 8, !tbaa !14 %24 = icmp eq ptr %23, null br i1 %24, label %56, label %25 25: ; preds = %18 %26 = tail call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 8) #2 %27 = getelementptr inbounds i8, ptr %23, i64 24 %28 = load ptr, ptr %27, align 8, !tbaa !15 %29 = tail call i32 %28(ptr noundef nonnull %23, ptr noundef nonnull %6) #2 %30 = load ptr, ptr %6, align 8, !tbaa !17 %31 = load i64, ptr %30, align 8, !tbaa !21 %32 = load ptr, ptr %13, align 8, !tbaa !23 %33 = getelementptr inbounds i64, ptr %32, i64 %20 store i64 %31, ptr %33, align 8, !tbaa !21 %34 = load ptr, ptr @cm_saved_mixer, align 8, !tbaa !14 %35 = getelementptr inbounds %struct.TYPE_8__, ptr %34, i64 %20 %36 = load i64, ptr %35, align 8, !tbaa !24 store i64 %36, ptr %30, align 8, !tbaa !21 %37 = load i32, ptr @SNDRV_CTL_EVENT_MASK_INFO, align 4, !tbaa !12 %38 = load i64, ptr %33, align 8, !tbaa !21 %39 = icmp eq i64 %38, %36 br i1 %39, label %46, label %40 40: ; preds = %25 %41 = getelementptr inbounds i8, ptr %23, i64 16 %42 = load ptr, ptr %41, align 8, !tbaa !26 %43 = tail call i32 %42(ptr noundef nonnull %23, ptr noundef nonnull %6) #2 %44 = load i32, ptr @SNDRV_CTL_EVENT_MASK_VALUE, align 4, !tbaa !12 %45 = or i32 %44, %37 br label %46 46: ; preds = %40, %25 %47 = phi i32 [ %45, %40 ], [ %37, %25 ] %48 = load i32, ptr @SNDRV_CTL_ELEM_ACCESS_INACTIVE, align 4, !tbaa !12 %49 = getelementptr inbounds i8, ptr %23, i64 8 %50 = load ptr, ptr %49, align 8, !tbaa !27 %51 = load i32, ptr %50, align 4, !tbaa !28 %52 = or i32 %51, %48 store i32 %52, ptr %50, align 4, !tbaa !28 %53 = load i32, ptr %14, align 8, !tbaa !30 %54 = tail call i32 @snd_ctl_notify(i32 noundef %53, i32 noundef %47, ptr noundef nonnull %23) #2 %55 = load i32, ptr @CM_SAVED_MIXERS, align 4, !tbaa !12 br label %56 56: ; preds = %46, %18 %57 = phi i32 [ %55, %46 ], [ %19, %18 ] %58 = add nuw nsw i64 %20, 1 %59 = zext i32 %57 to i64 %60 = icmp ult i64 %58, %59 br i1 %60, label %18, label %61, !llvm.loop !31 61: ; preds = %56, %8 %62 = tail call i32 @kfree(ptr noundef nonnull %6) #2 store i32 1, ptr %0, align 8, !tbaa !6 br label %63 63: ; preds = %61, %1, %15 %64 = phi i32 [ %17, %15 ], [ 0, %61 ], [ 0, %1 ] ret i32 %64 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_ctl_notify(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"cmipci", !8, i64 0, !11, i64 8, !8, i64 16, !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 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 24} !14 = !{!11, !11, i64 0} !15 = !{!16, !11, i64 24} !16 = !{!"snd_kcontrol", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !17 = !{!18, !11, i64 0} !18 = !{!"snd_ctl_elem_value", !19, i64 0} !19 = !{!"TYPE_6__", !20, i64 0} !20 = !{!"TYPE_5__", !11, i64 0} !21 = !{!22, !22, i64 0} !22 = !{!"long", !9, i64 0} !23 = !{!7, !11, i64 8} !24 = !{!25, !22, i64 0} !25 = !{!"TYPE_8__", !22, i64 0} !26 = !{!16, !11, i64 16} !27 = !{!16, !11, i64 8} !28 = !{!29, !8, i64 0} !29 = !{!"TYPE_7__", !8, i64 0} !30 = !{!7, !8, i64 16} !31 = distinct !{!31, !32} !32 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_sound_pci_extr_cmipci.c_save_mixer_state
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_atomic_exchange_abort.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_atomic_exchange_abort.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @atomic_exchange_abort], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @atomic_exchange_abort() #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/darwin-xnu/osfmk/i386/extr_locks_i386.c_atomic_exchange_abort.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_atomic_exchange_abort.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 @atomic_exchange_abort], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @atomic_exchange_abort() #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)"}
darwin-xnu_osfmk_i386_extr_locks_i386.c_atomic_exchange_abort
; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_do_set_flags.c' source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_do_set_flags.c" target datalayout = "e-m:e-p270:32:32-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.lev_set_flags_long = type { i32, i32 } @verbosity = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"do_set_flags(%d,%d,%d):\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"adjust_message returned %d\0A\00", align 1 @write_all_events = dso_local local_unnamed_addr global i64 0, align 8 @LEV_TX_SET_MESSAGE_FLAGS_LONG = dso_local local_unnamed_addr global i64 0, align 8 @LEV_TX_SET_MESSAGE_FLAGS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @do_set_flags(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @verbosity, align 4, !tbaa !5 %5 = icmp sgt i32 %4, 1 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr @stderr, align 4, !tbaa !5 %8 = tail call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %1, i32 noundef %2) #2 br label %9 9: ; preds = %6, %3 %10 = icmp ult i32 %2, 65536 br i1 %10, label %11, label %41 11: ; preds = %9 %12 = xor i32 %2, -1 %13 = tail call i32 @adjust_message(i32 noundef %0, i32 noundef %1, i32 noundef %12, i32 noundef %2, i32 noundef 0) #2 %14 = load i32, ptr @verbosity, align 4, !tbaa !5 %15 = icmp sgt i32 %14, 1 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr @stderr, align 4, !tbaa !5 %18 = tail call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %17, ptr noundef nonnull @.str.1, i32 noundef %13) #2 br label %19 19: ; preds = %16, %11 %20 = icmp slt i32 %13, 0 br i1 %20, label %41, label %21 21: ; preds = %19 %22 = and i32 %13, 1 %23 = icmp ne i32 %22, 0 %24 = load i64, ptr @write_all_events, align 8 %25 = icmp ne i64 %24, 0 %26 = select i1 %23, i1 true, i1 %25 br i1 %26, label %27, label %38 27: ; preds = %21 %28 = icmp ult i32 %2, 256 br i1 %28, label %33, label %29 29: ; preds = %27 %30 = load i64, ptr @LEV_TX_SET_MESSAGE_FLAGS_LONG, align 8, !tbaa !9 %31 = tail call ptr @alloc_log_event(i64 noundef %30, i32 noundef 8, i32 noundef %0) #2 store i32 %1, ptr %31, align 4, !tbaa !11 %32 = getelementptr inbounds %struct.lev_set_flags_long, ptr %31, i64 0, i32 1 store i32 %2, ptr %32, align 4, !tbaa !13 br label %38 33: ; preds = %27 %34 = load i64, ptr @LEV_TX_SET_MESSAGE_FLAGS, align 8, !tbaa !9 %35 = zext nneg i32 %2 to i64 %36 = add nsw i64 %34, %35 %37 = tail call ptr @alloc_log_event(i64 noundef %36, i32 noundef 4, i32 noundef %0) #2 store i32 %1, ptr %37, align 4, !tbaa !14 br label %38 38: ; preds = %29, %33, %21 %39 = icmp ne i32 %13, 0 %40 = zext i1 %39 to i32 br label %41 41: ; preds = %38, %19, %9 %42 = phi i32 [ -1, %9 ], [ %40, %38 ], [ %13, %19 ] ret i32 %42 } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @adjust_message(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @alloc_log_event(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"lev_set_flags_long", !6, i64 0, !6, i64 4} !13 = !{!12, !6, i64 4} !14 = !{!15, !6, i64 0} !15 = !{!"lev_set_flags", !6, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_do_set_flags.c' source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_do_set_flags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @verbosity = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"do_set_flags(%d,%d,%d):\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"adjust_message returned %d\0A\00", align 1 @write_all_events = common local_unnamed_addr global i64 0, align 8 @LEV_TX_SET_MESSAGE_FLAGS_LONG = common local_unnamed_addr global i64 0, align 8 @LEV_TX_SET_MESSAGE_FLAGS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483648, 2) i32 @do_set_flags(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @verbosity, align 4, !tbaa !6 %5 = icmp sgt i32 %4, 1 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr @stderr, align 4, !tbaa !6 %8 = tail call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %0, i32 noundef %1, i32 noundef %2) #2 br label %9 9: ; preds = %6, %3 %10 = icmp ult i32 %2, 65536 br i1 %10, label %11, label %41 11: ; preds = %9 %12 = xor i32 %2, -1 %13 = tail call i32 @adjust_message(i32 noundef %0, i32 noundef %1, i32 noundef %12, i32 noundef %2, i32 noundef 0) #2 %14 = load i32, ptr @verbosity, align 4, !tbaa !6 %15 = icmp sgt i32 %14, 1 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr @stderr, align 4, !tbaa !6 %18 = tail call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %17, ptr noundef nonnull @.str.1, i32 noundef %13) #2 br label %19 19: ; preds = %16, %11 %20 = icmp slt i32 %13, 0 br i1 %20, label %41, label %21 21: ; preds = %19 %22 = and i32 %13, 1 %23 = icmp ne i32 %22, 0 %24 = load i64, ptr @write_all_events, align 8 %25 = icmp ne i64 %24, 0 %26 = select i1 %23, i1 true, i1 %25 br i1 %26, label %27, label %38 27: ; preds = %21 %28 = icmp ult i32 %2, 256 br i1 %28, label %33, label %29 29: ; preds = %27 %30 = load i64, ptr @LEV_TX_SET_MESSAGE_FLAGS_LONG, align 8, !tbaa !10 %31 = tail call ptr @alloc_log_event(i64 noundef %30, i32 noundef 8, i32 noundef %0) #2 store i32 %1, ptr %31, align 4, !tbaa !12 %32 = getelementptr inbounds i8, ptr %31, i64 4 store i32 %2, ptr %32, align 4, !tbaa !14 br label %38 33: ; preds = %27 %34 = load i64, ptr @LEV_TX_SET_MESSAGE_FLAGS, align 8, !tbaa !10 %35 = zext nneg i32 %2 to i64 %36 = add nsw i64 %34, %35 %37 = tail call ptr @alloc_log_event(i64 noundef %36, i32 noundef 4, i32 noundef %0) #2 store i32 %1, ptr %37, align 4, !tbaa !15 br label %38 38: ; preds = %29, %33, %21 %39 = icmp ne i32 %13, 0 %40 = zext i1 %39 to i32 br label %41 41: ; preds = %38, %19, %9 %42 = phi i32 [ -1, %9 ], [ %40, %38 ], [ %13, %19 ] ret i32 %42 } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @adjust_message(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @alloc_log_event(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"lev_set_flags_long", !7, i64 0, !7, i64 4} !14 = !{!13, !7, i64 4} !15 = !{!16, !7, i64 0} !16 = !{!"lev_set_flags", !7, i64 0}
kphp-kdb_text_extr_text-data.c_do_set_flags
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c_kvm_update_dr0123.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_kvm_update_dr0123.c" target datalayout = "e-m:e-p270:32:32-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.kvm_vcpu = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, ptr, ptr } @KVM_GUESTDBG_USE_HW_BP = dso_local local_unnamed_addr global i32 0, align 4 @KVM_NR_DB_REGS = dso_local local_unnamed_addr global i32 0, align 4 @KVM_DEBUGREG_RELOAD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @kvm_update_dr0123], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal void @kvm_update_dr0123(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @KVM_GUESTDBG_USE_HW_BP, align 4, !tbaa !12 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %28 6: ; preds = %1 %7 = load i32, ptr @KVM_NR_DB_REGS, align 4, !tbaa !12 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %23 9: ; preds = %6 %10 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1, i32 2 %13 = load ptr, ptr %12, align 8, !tbaa !14 br label %14 14: ; preds = %9, %14 %15 = phi i64 [ 0, %9 ], [ %19, %14 ] %16 = getelementptr inbounds i32, ptr %11, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = getelementptr inbounds i32, ptr %13, i64 %15 store i32 %17, ptr %18, align 4, !tbaa !12 %19 = add nuw nsw i64 %15, 1 %20 = load i32, ptr @KVM_NR_DB_REGS, align 4, !tbaa !12 %21 = sext i32 %20 to i64 %22 = icmp slt i64 %19, %21 br i1 %22, label %14, label %23, !llvm.loop !15 23: ; preds = %14, %6 %24 = load i32, ptr @KVM_DEBUGREG_RELOAD, align 4, !tbaa !12 %25 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !17 %27 = or i32 %26, %24 store i32 %27, ptr %25, align 8, !tbaa !17 br label %28 28: ; preds = %23, %1 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"kvm_vcpu", !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__", !7, i64 0, !11, i64 8, !11, i64 16} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !11, i64 16} !14 = !{!6, !11, i64 24} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c_kvm_update_dr0123.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_kvm_update_dr0123.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KVM_GUESTDBG_USE_HW_BP = common local_unnamed_addr global i32 0, align 4 @KVM_NR_DB_REGS = common local_unnamed_addr global i32 0, align 4 @KVM_DEBUGREG_RELOAD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @kvm_update_dr0123], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @kvm_update_dr0123(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @KVM_GUESTDBG_USE_HW_BP, align 4, !tbaa !13 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %28 6: ; preds = %1 %7 = load i32, ptr @KVM_NR_DB_REGS, align 4, !tbaa !13 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %23 9: ; preds = %6 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = getelementptr inbounds i8, ptr %0, i64 24 %13 = load ptr, ptr %12, align 8, !tbaa !15 br label %14 14: ; preds = %9, %14 %15 = phi i64 [ 0, %9 ], [ %19, %14 ] %16 = getelementptr inbounds i32, ptr %11, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = getelementptr inbounds i32, ptr %13, i64 %15 store i32 %17, ptr %18, align 4, !tbaa !13 %19 = add nuw nsw i64 %15, 1 %20 = load i32, ptr @KVM_NR_DB_REGS, align 4, !tbaa !13 %21 = sext i32 %20 to i64 %22 = icmp slt i64 %19, %21 br i1 %22, label %14, label %23, !llvm.loop !16 23: ; preds = %14, %6 %24 = load i32, ptr @KVM_DEBUGREG_RELOAD, align 4, !tbaa !13 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load i32, ptr %25, align 8, !tbaa !18 %27 = or i32 %26, %24 store i32 %27, ptr %25, align 8, !tbaa !18 br label %28 28: ; preds = %23, %1 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"kvm_vcpu", !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__", !8, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !12, i64 16} !15 = !{!7, !12, i64 24} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!7, !8, i64 8}
linux_arch_x86_kvm_extr_x86.c_kvm_update_dr0123
; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngimage.c_first_transform.c' source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngimage.c_first_transform.c" target datalayout = "e-m:e-p270:32:32-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 @first_transform], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @first_transform(i32 noundef %0) #0 { %2 = sub nsw i32 0, %0 %3 = and i32 %2, %0 ret i32 %3 } 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/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngimage.c_first_transform.c' source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngimage.c_first_transform.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 @first_transform], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i32 @first_transform(i32 noundef %0) #0 { %2 = sub nsw i32 0, %0 %3 = and i32 %2, %0 ret i32 %3 } 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)"}
Provenance_Cores_Mupen64Plus_png_contrib_libtests_extr_pngimage.c_first_transform
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_attr_leaf.c_xfs_attr_leaf_clearflag.c' source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_attr_leaf.c_xfs_attr_leaf_clearflag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_23__ = type { i64, i64, i32, i32, i32, i64, i64, i32, i32 } %struct.TYPE_24__ = type { ptr, %struct.TYPE_21__ } %struct.TYPE_21__ = type { i32, %struct.TYPE_20__ } %struct.TYPE_20__ = type { i32 } %struct.TYPE_25__ = type { i32, i32, ptr, ptr, i32, i64 } @XFS_ATTR_FORK = dso_local local_unnamed_addr global i32 0, align 4 @XFS_ATTR_LEAF_MAGIC = dso_local local_unnamed_addr global i64 0, align 8 @XFS_ATTR_INCOMPLETE = dso_local local_unnamed_addr global i32 0, align 4 @XFS_ATTR_LOCAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @xfs_attr_leaf_clearflag(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = tail call i32 @trace_xfs_attr_leaf_clearflag(ptr noundef %0) #3 %4 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 4 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 3 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 8 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = load i32, ptr @XFS_ATTR_FORK, align 4, !tbaa !13 %11 = call i32 @xfs_da_read_buf(i32 noundef %5, i32 noundef %7, i32 noundef %9, i32 noundef -1, ptr noundef nonnull %2, i32 noundef %10) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %81 13: ; preds = %1 %14 = load ptr, ptr %2, align 8, !tbaa !14 %15 = icmp ne ptr %14, null %16 = zext i1 %15 to i32 %17 = call i32 @ASSERT(i32 noundef %16) #3 %18 = load ptr, ptr %2, align 8, !tbaa !14 %19 = load ptr, ptr %18, align 8, !tbaa !16 %20 = getelementptr inbounds %struct.TYPE_24__, ptr %19, i64 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_24__, ptr %19, i64 0, i32 1, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !18 %23 = call i64 @be16_to_cpu(i32 noundef %22) #3 %24 = load i64, ptr @XFS_ATTR_LEAF_MAGIC, align 8, !tbaa !22 %25 = icmp eq i64 %23, %24 %26 = zext i1 %25 to i32 %27 = call i32 @ASSERT(i32 noundef %26) #3 %28 = load i64, ptr %0, align 8, !tbaa !23 %29 = load i32, ptr %20, align 8, !tbaa !24 %30 = call i64 @be16_to_cpu(i32 noundef %29) #3 %31 = icmp slt i64 %28, %30 %32 = zext i1 %31 to i32 %33 = call i32 @ASSERT(i32 noundef %32) #3 %34 = load i64, ptr %0, align 8, !tbaa !23 %35 = icmp sgt i64 %34, -1 %36 = zext i1 %35 to i32 %37 = call i32 @ASSERT(i32 noundef %36) #3 %38 = load ptr, ptr %19, align 8, !tbaa !25 %39 = load i64, ptr %0, align 8, !tbaa !23 %40 = getelementptr inbounds %struct.TYPE_25__, ptr %38, i64 %39 %41 = load i32, ptr %40, align 8, !tbaa !26 %42 = load i32, ptr @XFS_ATTR_INCOMPLETE, align 4, !tbaa !13 %43 = and i32 %42, %41 %44 = call i32 @ASSERT(i32 noundef %43) #3 %45 = load i32, ptr @XFS_ATTR_INCOMPLETE, align 4, !tbaa !13 %46 = xor i32 %45, -1 %47 = load i32, ptr %40, align 8, !tbaa !26 %48 = and i32 %47, %46 store i32 %48, ptr %40, align 8, !tbaa !26 %49 = load i32, ptr %4, align 8, !tbaa !5 %50 = load ptr, ptr %2, align 8, !tbaa !14 %51 = call i32 @XFS_DA_LOGRANGE(ptr noundef nonnull %19, ptr noundef nonnull %40, i32 noundef 40) #3 %52 = call i32 @xfs_da_log_buf(i32 noundef %49, ptr noundef %50, i32 noundef %51) #3 %53 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 6 %54 = load i64, ptr %53, align 8, !tbaa !28 %55 = icmp eq i64 %54, 0 br i1 %55, label %76, label %56 56: ; preds = %13 %57 = load i32, ptr %40, align 8, !tbaa !26 %58 = load i32, ptr @XFS_ATTR_LOCAL, align 4, !tbaa !13 %59 = and i32 %58, %57 %60 = icmp eq i32 %59, 0 %61 = zext i1 %60 to i32 %62 = call i32 @ASSERT(i32 noundef %61) #3 %63 = load i64, ptr %0, align 8, !tbaa !23 %64 = call ptr @xfs_attr_leaf_name_remote(ptr noundef nonnull %19, i64 noundef %63) #3 %65 = load i64, ptr %53, align 8, !tbaa !28 %66 = call ptr @cpu_to_be32(i64 noundef %65) #3 %67 = getelementptr inbounds %struct.TYPE_25__, ptr %64, i64 0, i32 3 store ptr %66, ptr %67, align 8, !tbaa !29 %68 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 5 %69 = load i64, ptr %68, align 8, !tbaa !30 %70 = call ptr @cpu_to_be32(i64 noundef %69) #3 %71 = getelementptr inbounds %struct.TYPE_25__, ptr %64, i64 0, i32 2 store ptr %70, ptr %71, align 8, !tbaa !31 %72 = load i32, ptr %4, align 8, !tbaa !5 %73 = load ptr, ptr %2, align 8, !tbaa !14 %74 = call i32 @XFS_DA_LOGRANGE(ptr noundef nonnull %19, ptr noundef %64, i32 noundef 40) #3 %75 = call i32 @xfs_da_log_buf(i32 noundef %72, ptr noundef %73, i32 noundef %74) #3 br label %76 76: ; preds = %56, %13 %77 = load ptr, ptr %2, align 8, !tbaa !14 %78 = call i32 @xfs_da_buf_done(ptr noundef %77) #3 %79 = load i32, ptr %6, align 4, !tbaa !11 %80 = call i32 @xfs_trans_roll(ptr noundef nonnull %4, i32 noundef %79) #3 br label %81 81: ; preds = %1, %76 %82 = phi i32 [ %80, %76 ], [ %11, %1 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %82 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @trace_xfs_attr_leaf_clearflag(ptr noundef) local_unnamed_addr #2 declare i32 @xfs_da_read_buf(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i64 @be16_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @xfs_da_log_buf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @XFS_DA_LOGRANGE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @xfs_attr_leaf_name_remote(ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @cpu_to_be32(i64 noundef) local_unnamed_addr #2 declare i32 @xfs_da_buf_done(ptr noundef) local_unnamed_addr #2 declare i32 @xfs_trans_roll(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, !10, i64 24} !6 = !{!"TYPE_23__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !10, i64 52} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 20} !12 = !{!6, !10, i64 52} !13 = !{!10, !10, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"TYPE_22__", !15, i64 0} !18 = !{!19, !10, i64 12} !19 = !{!"TYPE_24__", !15, i64 0, !20, i64 8} !20 = !{!"TYPE_21__", !10, i64 0, !21, i64 4} !21 = !{!"TYPE_20__", !10, i64 0} !22 = !{!7, !7, i64 0} !23 = !{!6, !7, i64 0} !24 = !{!19, !10, i64 8} !25 = !{!19, !15, i64 0} !26 = !{!27, !10, i64 0} !27 = !{!"TYPE_25__", !10, i64 0, !10, i64 4, !15, i64 8, !15, i64 16, !10, i64 24, !7, i64 32} !28 = !{!6, !7, i64 40} !29 = !{!27, !15, i64 16} !30 = !{!6, !7, i64 32} !31 = !{!27, !15, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_attr_leaf.c_xfs_attr_leaf_clearflag.c' source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_attr_leaf.c_xfs_attr_leaf_clearflag.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_25__ = type { i32, i32, ptr, ptr, i32, i64 } @XFS_ATTR_FORK = common local_unnamed_addr global i32 0, align 4 @XFS_ATTR_LEAF_MAGIC = common local_unnamed_addr global i64 0, align 8 @XFS_ATTR_INCOMPLETE = common local_unnamed_addr global i32 0, align 4 @XFS_ATTR_LOCAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @xfs_attr_leaf_clearflag(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = tail call i32 @trace_xfs_attr_leaf_clearflag(ptr noundef %0) #3 %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 20 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = getelementptr inbounds i8, ptr %0, i64 52 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = load i32, ptr @XFS_ATTR_FORK, align 4, !tbaa !14 %11 = call i32 @xfs_da_read_buf(i32 noundef %5, i32 noundef %7, i32 noundef %9, i32 noundef -1, ptr noundef nonnull %2, i32 noundef %10) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %81 13: ; preds = %1 %14 = load ptr, ptr %2, align 8, !tbaa !15 %15 = icmp ne ptr %14, null %16 = zext i1 %15 to i32 %17 = call i32 @ASSERT(i32 noundef %16) #3 %18 = load ptr, ptr %2, align 8, !tbaa !15 %19 = load ptr, ptr %18, align 8, !tbaa !17 %20 = getelementptr inbounds i8, ptr %19, i64 8 %21 = getelementptr inbounds i8, ptr %19, i64 12 %22 = load i32, ptr %21, align 4, !tbaa !19 %23 = call i64 @be16_to_cpu(i32 noundef %22) #3 %24 = load i64, ptr @XFS_ATTR_LEAF_MAGIC, align 8, !tbaa !23 %25 = icmp eq i64 %23, %24 %26 = zext i1 %25 to i32 %27 = call i32 @ASSERT(i32 noundef %26) #3 %28 = load i64, ptr %0, align 8, !tbaa !24 %29 = load i32, ptr %20, align 8, !tbaa !25 %30 = call i64 @be16_to_cpu(i32 noundef %29) #3 %31 = icmp slt i64 %28, %30 %32 = zext i1 %31 to i32 %33 = call i32 @ASSERT(i32 noundef %32) #3 %34 = load i64, ptr %0, align 8, !tbaa !24 %35 = icmp sgt i64 %34, -1 %36 = zext i1 %35 to i32 %37 = call i32 @ASSERT(i32 noundef %36) #3 %38 = load ptr, ptr %19, align 8, !tbaa !26 %39 = load i64, ptr %0, align 8, !tbaa !24 %40 = getelementptr inbounds %struct.TYPE_25__, ptr %38, i64 %39 %41 = load i32, ptr %40, align 8, !tbaa !27 %42 = load i32, ptr @XFS_ATTR_INCOMPLETE, align 4, !tbaa !14 %43 = and i32 %42, %41 %44 = call i32 @ASSERT(i32 noundef %43) #3 %45 = load i32, ptr @XFS_ATTR_INCOMPLETE, align 4, !tbaa !14 %46 = xor i32 %45, -1 %47 = load i32, ptr %40, align 8, !tbaa !27 %48 = and i32 %47, %46 store i32 %48, ptr %40, align 8, !tbaa !27 %49 = load i32, ptr %4, align 8, !tbaa !6 %50 = load ptr, ptr %2, align 8, !tbaa !15 %51 = call i32 @XFS_DA_LOGRANGE(ptr noundef nonnull %19, ptr noundef nonnull %40, i32 noundef 40) #3 %52 = call i32 @xfs_da_log_buf(i32 noundef %49, ptr noundef %50, i32 noundef %51) #3 %53 = getelementptr inbounds i8, ptr %0, i64 40 %54 = load i64, ptr %53, align 8, !tbaa !29 %55 = icmp eq i64 %54, 0 br i1 %55, label %76, label %56 56: ; preds = %13 %57 = load i32, ptr %40, align 8, !tbaa !27 %58 = load i32, ptr @XFS_ATTR_LOCAL, align 4, !tbaa !14 %59 = and i32 %58, %57 %60 = icmp eq i32 %59, 0 %61 = zext i1 %60 to i32 %62 = call i32 @ASSERT(i32 noundef %61) #3 %63 = load i64, ptr %0, align 8, !tbaa !24 %64 = call ptr @xfs_attr_leaf_name_remote(ptr noundef nonnull %19, i64 noundef %63) #3 %65 = load i64, ptr %53, align 8, !tbaa !29 %66 = call ptr @cpu_to_be32(i64 noundef %65) #3 %67 = getelementptr inbounds i8, ptr %64, i64 16 store ptr %66, ptr %67, align 8, !tbaa !30 %68 = getelementptr inbounds i8, ptr %0, i64 32 %69 = load i64, ptr %68, align 8, !tbaa !31 %70 = call ptr @cpu_to_be32(i64 noundef %69) #3 %71 = getelementptr inbounds i8, ptr %64, i64 8 store ptr %70, ptr %71, align 8, !tbaa !32 %72 = load i32, ptr %4, align 8, !tbaa !6 %73 = load ptr, ptr %2, align 8, !tbaa !15 %74 = call i32 @XFS_DA_LOGRANGE(ptr noundef nonnull %19, ptr noundef %64, i32 noundef 40) #3 %75 = call i32 @xfs_da_log_buf(i32 noundef %72, ptr noundef %73, i32 noundef %74) #3 br label %76 76: ; preds = %56, %13 %77 = load ptr, ptr %2, align 8, !tbaa !15 %78 = call i32 @xfs_da_buf_done(ptr noundef %77) #3 %79 = load i32, ptr %6, align 4, !tbaa !12 %80 = call i32 @xfs_trans_roll(ptr noundef nonnull %4, i32 noundef %79) #3 br label %81 81: ; preds = %1, %76 %82 = phi i32 [ %80, %76 ], [ %11, %1 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %82 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @trace_xfs_attr_leaf_clearflag(ptr noundef) local_unnamed_addr #2 declare i32 @xfs_da_read_buf(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i64 @be16_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @xfs_da_log_buf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @XFS_DA_LOGRANGE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @xfs_attr_leaf_name_remote(ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @cpu_to_be32(i64 noundef) local_unnamed_addr #2 declare i32 @xfs_da_buf_done(ptr noundef) local_unnamed_addr #2 declare i32 @xfs_trans_roll(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, !11, i64 24} !7 = !{!"TYPE_23__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !8, i64 32, !8, i64 40, !11, i64 48, !11, i64 52} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 20} !13 = !{!7, !11, i64 52} !14 = !{!11, !11, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"TYPE_22__", !16, i64 0} !19 = !{!20, !11, i64 12} !20 = !{!"TYPE_24__", !16, i64 0, !21, i64 8} !21 = !{!"TYPE_21__", !11, i64 0, !22, i64 4} !22 = !{!"TYPE_20__", !11, i64 0} !23 = !{!8, !8, i64 0} !24 = !{!7, !8, i64 0} !25 = !{!20, !11, i64 8} !26 = !{!20, !16, i64 0} !27 = !{!28, !11, i64 0} !28 = !{!"TYPE_25__", !11, i64 0, !11, i64 4, !16, i64 8, !16, i64 16, !11, i64 24, !8, i64 32} !29 = !{!7, !8, i64 40} !30 = !{!28, !16, i64 16} !31 = !{!7, !8, i64 32} !32 = !{!28, !16, i64 8}
fastsocket_kernel_fs_xfs_extr_xfs_attr_leaf.c_xfs_attr_leaf_clearflag
; ModuleID = 'AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_consolectl_ioctl.c' source_filename = "AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_consolectl_ioctl.c" target datalayout = "e-m:e-p270:32:32-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 @consolectl_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @consolectl_ioctl(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 %3, ptr noundef %4) #0 { %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call i32 @sctty_ioctl(i32 noundef %6, i32 noundef %1, i32 noundef %2, ptr noundef %4) #2 ret i32 %7 } declare i32 @sctty_ioctl(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 = !{!"cdev", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_consolectl_ioctl.c' source_filename = "AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_consolectl_ioctl.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 @consolectl_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @consolectl_ioctl(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 %3, ptr noundef %4) #0 { %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call i32 @sctty_ioctl(i32 noundef %6, i32 noundef %1, i32 noundef %2, ptr noundef %4) #2 ret i32 %7 } declare i32 @sctty_ioctl(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 = !{!"cdev", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_syscons_extr_syscons.c_consolectl_ioctl
; ModuleID = 'AnghaBench/jemalloc/test/integration/extr_thread_arena.c_mallctl_failure.c' source_filename = "AnghaBench/jemalloc/test/integration/extr_thread_arena.c_mallctl_failure.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BUFERROR_BUF = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Error in mallctl(): %s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mallctl_failure], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mallctl_failure(i32 noundef %0) #0 { %2 = load i32, ptr @BUFERROR_BUF, align 4, !tbaa !5 %3 = zext i32 %2 to i64 %4 = alloca i8, i64 %3, align 16 %5 = call i32 @buferror(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %2) #2 %6 = call i32 @test_fail(ptr noundef nonnull @.str, ptr noundef nonnull %4) #2 ret void } declare i32 @buferror(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @test_fail(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/jemalloc/test/integration/extr_thread_arena.c_mallctl_failure.c' source_filename = "AnghaBench/jemalloc/test/integration/extr_thread_arena.c_mallctl_failure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BUFERROR_BUF = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Error in mallctl(): %s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mallctl_failure], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mallctl_failure(i32 noundef %0) #0 { %2 = load i32, ptr @BUFERROR_BUF, align 4, !tbaa !6 %3 = zext i32 %2 to i64 %4 = alloca i8, i64 %3, align 1 %5 = call i32 @buferror(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %2) #2 %6 = call i32 @test_fail(ptr noundef nonnull @.str, ptr noundef nonnull %4) #2 ret void } declare i32 @buferror(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @test_fail(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"}
jemalloc_test_integration_extr_thread_arena.c_mallctl_failure
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_l3_main.c_qeth_l3_do_ioctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_l3_main.c_qeth_l3_do_ioctl.c" target datalayout = "e-m:e-p270:32:32-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.qeth_arp_cache_entry = type { i32 } %struct.TYPE_3__ = type { i32, i32 } %struct.qeth_card = type { i64, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i32 } %struct.mii_ioctl_data = type { i32, i32, i32 } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @CARD_STATE_UP = dso_local local_unnamed_addr global i64 0, align 8 @CARD_STATE_SOFTSETUP = dso_local local_unnamed_addr global i64 0, align 8 @CAP_NET_ADMIN = dso_local local_unnamed_addr global i32 0, align 4 @EPERM = dso_local local_unnamed_addr global i32 0, align 4 @EFAULT = dso_local local_unnamed_addr global i32 0, align 4 @QETH_CARD_TYPE_OSD = dso_local local_unnamed_addr global i32 0, align 4 @QETH_CARD_TYPE_OSX = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @TRACE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"ioce%d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @qeth_l3_do_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qeth_l3_do_ioctl(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.qeth_arp_cache_entry, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENODEV, align 4, !tbaa !10 %9 = sub nsw i32 0, %8 br label %123 10: ; preds = %3 %11 = load i64, ptr %5, align 8, !tbaa !12 %12 = load i64, ptr @CARD_STATE_UP, align 8, !tbaa !16 %13 = icmp eq i64 %11, %12 %14 = load i64, ptr @CARD_STATE_SOFTSETUP, align 8 %15 = icmp eq i64 %11, %14 %16 = select i1 %13, i1 true, i1 %15 br i1 %16, label %20, label %17 17: ; preds = %10 %18 = load i32, ptr @ENODEV, align 4, !tbaa !10 %19 = sub nsw i32 0, %18 br label %123 20: ; preds = %10 switch i32 %2, label %114 [ i32 129, label %21 i32 131, label %32 i32 133, label %42 i32 130, label %58 i32 132, label %74 i32 134, label %83 i32 128, label %86 i32 136, label %99 i32 135, label %102 ] 21: ; preds = %20 %22 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !10 %23 = tail call i32 @capable(i32 noundef %22) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i32, ptr @EPERM, align 4, !tbaa !10 %27 = sub nsw i32 0, %26 br label %117 28: ; preds = %21 %29 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %30 = load i32, ptr %29, align 4, !tbaa !17 %31 = tail call i32 @qeth_l3_arp_set_no_entries(ptr noundef nonnull %5, i32 noundef %30) #3 br label %117 32: ; preds = %20 %33 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !10 %34 = tail call i32 @capable(i32 noundef %33) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load i32, ptr @EPERM, align 4, !tbaa !10 %38 = sub nsw i32 0, %37 br label %117 39: ; preds = %32 %40 = load i32, ptr %1, align 4, !tbaa !20 %41 = tail call i32 @qeth_l3_arp_query(ptr noundef nonnull %5, i32 noundef %40) #3 br label %117 42: ; preds = %20 %43 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !10 %44 = tail call i32 @capable(i32 noundef %43) #3 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %42 %47 = load i32, ptr @EPERM, align 4, !tbaa !10 %48 = sub nsw i32 0, %47 br label %117 49: ; preds = %42 %50 = load i32, ptr %1, align 4, !tbaa !20 %51 = call i32 @copy_from_user(ptr noundef nonnull %4, i32 noundef %50, i32 noundef 4) #3 %52 = icmp eq i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %49 %54 = load i32, ptr @EFAULT, align 4, !tbaa !10 %55 = sub nsw i32 0, %54 br label %117 56: ; preds = %49 %57 = call i32 @qeth_l3_arp_add_entry(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 br label %117 58: ; preds = %20 %59 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !10 %60 = tail call i32 @capable(i32 noundef %59) #3 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = load i32, ptr @EPERM, align 4, !tbaa !10 %64 = sub nsw i32 0, %63 br label %117 65: ; preds = %58 %66 = load i32, ptr %1, align 4, !tbaa !20 %67 = call i32 @copy_from_user(ptr noundef nonnull %4, i32 noundef %66, i32 noundef 4) #3 %68 = icmp eq i32 %67, 0 br i1 %68, label %72, label %69 69: ; preds = %65 %70 = load i32, ptr @EFAULT, align 4, !tbaa !10 %71 = sub nsw i32 0, %70 br label %117 72: ; preds = %65 %73 = call i32 @qeth_l3_arp_remove_entry(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 br label %117 74: ; preds = %20 %75 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !10 %76 = tail call i32 @capable(i32 noundef %75) #3 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load i32, ptr @EPERM, align 4, !tbaa !10 %80 = sub nsw i32 0, %79 br label %117 81: ; preds = %74 %82 = tail call i32 @qeth_l3_arp_flush_cache(ptr noundef nonnull %5) #3 br label %117 83: ; preds = %20 %84 = load i32, ptr %1, align 4, !tbaa !20 %85 = tail call i32 @qeth_snmp_command(ptr noundef nonnull %5, i32 noundef %84) #3 br label %117 86: ; preds = %20 %87 = getelementptr inbounds %struct.qeth_card, ptr %5, i64 0, i32 1, i32 1 %88 = load i32, ptr %87, align 4, !tbaa !21 %89 = load i32, ptr @QETH_CARD_TYPE_OSD, align 4, !tbaa !10 %90 = icmp eq i32 %88, %89 %91 = load i32, ptr @QETH_CARD_TYPE_OSX, align 4 %92 = icmp eq i32 %88, %91 %93 = select i1 %90, i1 true, i1 %92 br i1 %93, label %94, label %98 94: ; preds = %86 %95 = getelementptr inbounds %struct.qeth_card, ptr %5, i64 0, i32 1 %96 = load i32, ptr %95, align 8, !tbaa !22 %97 = icmp eq i32 %96, 0 br i1 %97, label %123, label %98 98: ; preds = %86, %94 br label %123 99: ; preds = %20 %100 = tail call ptr @if_mii(ptr noundef %1) #3 %101 = getelementptr inbounds %struct.mii_ioctl_data, ptr %100, i64 0, i32 1 store i32 0, ptr %101, align 4, !tbaa !23 br label %123 102: ; preds = %20 %103 = tail call ptr @if_mii(ptr noundef %1) #3 %104 = getelementptr inbounds %struct.mii_ioctl_data, ptr %103, i64 0, i32 1 %105 = load i32, ptr %104, align 4, !tbaa !23 %106 = icmp eq i32 %105, 0 br i1 %106, label %110, label %107 107: ; preds = %102 %108 = load i32, ptr @EINVAL, align 4, !tbaa !10 %109 = sub nsw i32 0, %108 br label %117 110: ; preds = %102 %111 = load i32, ptr %103, align 4, !tbaa !25 %112 = tail call i32 @qeth_mdio_read(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %111) #3 %113 = getelementptr inbounds %struct.mii_ioctl_data, ptr %103, i64 0, i32 2 store i32 %112, ptr %113, align 4, !tbaa !26 br label %123 114: ; preds = %20 %115 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !10 %116 = sub nsw i32 0, %115 br label %117 117: ; preds = %107, %69, %72, %53, %56, %114, %83, %81, %78, %62, %46, %39, %36, %28, %25 %118 = phi i32 [ %116, %114 ], [ %109, %107 ], [ %85, %83 ], [ %82, %81 ], [ %80, %78 ], [ %71, %69 ], [ %73, %72 ], [ %64, %62 ], [ %55, %53 ], [ %57, %56 ], [ %48, %46 ], [ %41, %39 ], [ %38, %36 ], [ %31, %28 ], [ %27, %25 ] %119 = icmp eq i32 %118, 0 br i1 %119, label %123, label %120 120: ; preds = %117 %121 = load i32, ptr @TRACE, align 4, !tbaa !10 %122 = call i32 @QETH_DBF_TEXT_(i32 noundef %121, i32 noundef 2, ptr noundef nonnull @.str, i32 noundef %118) #3 br label %123 123: ; preds = %99, %110, %117, %120, %94, %98, %17, %7 %124 = phi i32 [ %19, %17 ], [ 0, %98 ], [ %9, %7 ], [ 1, %94 ], [ %118, %120 ], [ 0, %117 ], [ 0, %110 ], [ 0, %99 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %124 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @capable(i32 noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_set_no_entries(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_query(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @copy_from_user(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_add_entry(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_remove_entry(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_flush_cache(ptr noundef) local_unnamed_addr #2 declare i32 @qeth_snmp_command(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @if_mii(ptr noundef) local_unnamed_addr #2 declare i32 @qeth_mdio_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @QETH_DBF_TEXT_(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"net_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"qeth_card", !14, i64 0, !15, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!"TYPE_4__", !11, i64 0, !11, i64 4} !16 = !{!14, !14, i64 0} !17 = !{!18, !11, i64 4} !18 = !{!"ifreq", !19, i64 0} !19 = !{!"TYPE_3__", !11, i64 0, !11, i64 4} !20 = !{!18, !11, i64 0} !21 = !{!13, !11, i64 12} !22 = !{!13, !11, i64 8} !23 = !{!24, !11, i64 4} !24 = !{!"mii_ioctl_data", !11, i64 0, !11, i64 4, !11, i64 8} !25 = !{!24, !11, i64 0} !26 = !{!24, !11, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_l3_main.c_qeth_l3_do_ioctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/net/extr_qeth_l3_main.c_qeth_l3_do_ioctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.qeth_arp_cache_entry = type { i32 } @ENODEV = common local_unnamed_addr global i32 0, align 4 @CARD_STATE_UP = common local_unnamed_addr global i64 0, align 8 @CARD_STATE_SOFTSETUP = common local_unnamed_addr global i64 0, align 8 @CAP_NET_ADMIN = common local_unnamed_addr global i32 0, align 4 @EPERM = common local_unnamed_addr global i32 0, align 4 @EFAULT = common local_unnamed_addr global i32 0, align 4 @QETH_CARD_TYPE_OSD = common local_unnamed_addr global i32 0, align 4 @QETH_CARD_TYPE_OSX = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @TRACE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"ioce%d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @qeth_l3_do_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @qeth_l3_do_ioctl(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.qeth_arp_cache_entry, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENODEV, align 4, !tbaa !11 %9 = sub nsw i32 0, %8 br label %123 10: ; preds = %3 %11 = load i64, ptr %5, align 8, !tbaa !13 %12 = load i64, ptr @CARD_STATE_UP, align 8, !tbaa !17 %13 = icmp eq i64 %11, %12 %14 = load i64, ptr @CARD_STATE_SOFTSETUP, align 8 %15 = icmp eq i64 %11, %14 %16 = select i1 %13, i1 true, i1 %15 br i1 %16, label %20, label %17 17: ; preds = %10 %18 = load i32, ptr @ENODEV, align 4, !tbaa !11 %19 = sub nsw i32 0, %18 br label %123 20: ; preds = %10 switch i32 %2, label %114 [ i32 129, label %21 i32 131, label %32 i32 133, label %42 i32 130, label %58 i32 132, label %74 i32 134, label %83 i32 128, label %86 i32 136, label %99 i32 135, label %102 ] 21: ; preds = %20 %22 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !11 %23 = tail call i32 @capable(i32 noundef %22) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load i32, ptr @EPERM, align 4, !tbaa !11 %27 = sub nsw i32 0, %26 br label %117 28: ; preds = %21 %29 = getelementptr inbounds i8, ptr %1, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !18 %31 = tail call i32 @qeth_l3_arp_set_no_entries(ptr noundef nonnull %5, i32 noundef %30) #3 br label %117 32: ; preds = %20 %33 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !11 %34 = tail call i32 @capable(i32 noundef %33) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load i32, ptr @EPERM, align 4, !tbaa !11 %38 = sub nsw i32 0, %37 br label %117 39: ; preds = %32 %40 = load i32, ptr %1, align 4, !tbaa !21 %41 = tail call i32 @qeth_l3_arp_query(ptr noundef nonnull %5, i32 noundef %40) #3 br label %117 42: ; preds = %20 %43 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !11 %44 = tail call i32 @capable(i32 noundef %43) #3 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %42 %47 = load i32, ptr @EPERM, align 4, !tbaa !11 %48 = sub nsw i32 0, %47 br label %117 49: ; preds = %42 %50 = load i32, ptr %1, align 4, !tbaa !21 %51 = call i32 @copy_from_user(ptr noundef nonnull %4, i32 noundef %50, i32 noundef 4) #3 %52 = icmp eq i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %49 %54 = load i32, ptr @EFAULT, align 4, !tbaa !11 %55 = sub nsw i32 0, %54 br label %117 56: ; preds = %49 %57 = call i32 @qeth_l3_arp_add_entry(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 br label %117 58: ; preds = %20 %59 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !11 %60 = tail call i32 @capable(i32 noundef %59) #3 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = load i32, ptr @EPERM, align 4, !tbaa !11 %64 = sub nsw i32 0, %63 br label %117 65: ; preds = %58 %66 = load i32, ptr %1, align 4, !tbaa !21 %67 = call i32 @copy_from_user(ptr noundef nonnull %4, i32 noundef %66, i32 noundef 4) #3 %68 = icmp eq i32 %67, 0 br i1 %68, label %72, label %69 69: ; preds = %65 %70 = load i32, ptr @EFAULT, align 4, !tbaa !11 %71 = sub nsw i32 0, %70 br label %117 72: ; preds = %65 %73 = call i32 @qeth_l3_arp_remove_entry(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 br label %117 74: ; preds = %20 %75 = load i32, ptr @CAP_NET_ADMIN, align 4, !tbaa !11 %76 = tail call i32 @capable(i32 noundef %75) #3 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load i32, ptr @EPERM, align 4, !tbaa !11 %80 = sub nsw i32 0, %79 br label %117 81: ; preds = %74 %82 = tail call i32 @qeth_l3_arp_flush_cache(ptr noundef nonnull %5) #3 br label %117 83: ; preds = %20 %84 = load i32, ptr %1, align 4, !tbaa !21 %85 = tail call i32 @qeth_snmp_command(ptr noundef nonnull %5, i32 noundef %84) #3 br label %117 86: ; preds = %20 %87 = getelementptr inbounds i8, ptr %5, i64 12 %88 = load i32, ptr %87, align 4, !tbaa !22 %89 = load i32, ptr @QETH_CARD_TYPE_OSD, align 4, !tbaa !11 %90 = icmp eq i32 %88, %89 %91 = load i32, ptr @QETH_CARD_TYPE_OSX, align 4 %92 = icmp eq i32 %88, %91 %93 = select i1 %90, i1 true, i1 %92 br i1 %93, label %94, label %98 94: ; preds = %86 %95 = getelementptr inbounds i8, ptr %5, i64 8 %96 = load i32, ptr %95, align 8, !tbaa !23 %97 = icmp eq i32 %96, 0 br i1 %97, label %123, label %98 98: ; preds = %86, %94 br label %123 99: ; preds = %20 %100 = tail call ptr @if_mii(ptr noundef %1) #3 %101 = getelementptr inbounds i8, ptr %100, i64 4 store i32 0, ptr %101, align 4, !tbaa !24 br label %123 102: ; preds = %20 %103 = tail call ptr @if_mii(ptr noundef %1) #3 %104 = getelementptr inbounds i8, ptr %103, i64 4 %105 = load i32, ptr %104, align 4, !tbaa !24 %106 = icmp eq i32 %105, 0 br i1 %106, label %110, label %107 107: ; preds = %102 %108 = load i32, ptr @EINVAL, align 4, !tbaa !11 %109 = sub nsw i32 0, %108 br label %117 110: ; preds = %102 %111 = load i32, ptr %103, align 4, !tbaa !26 %112 = tail call i32 @qeth_mdio_read(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %111) #3 %113 = getelementptr inbounds i8, ptr %103, i64 8 store i32 %112, ptr %113, align 4, !tbaa !27 br label %123 114: ; preds = %20 %115 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !11 %116 = sub nsw i32 0, %115 br label %117 117: ; preds = %107, %69, %72, %53, %56, %114, %83, %81, %78, %62, %46, %39, %36, %28, %25 %118 = phi i32 [ %116, %114 ], [ %109, %107 ], [ %85, %83 ], [ %82, %81 ], [ %80, %78 ], [ %71, %69 ], [ %73, %72 ], [ %64, %62 ], [ %55, %53 ], [ %57, %56 ], [ %48, %46 ], [ %41, %39 ], [ %38, %36 ], [ %31, %28 ], [ %27, %25 ] %119 = icmp eq i32 %118, 0 br i1 %119, label %123, label %120 120: ; preds = %117 %121 = load i32, ptr @TRACE, align 4, !tbaa !11 %122 = call i32 @QETH_DBF_TEXT_(i32 noundef %121, i32 noundef 2, ptr noundef nonnull @.str, i32 noundef %118) #3 br label %123 123: ; preds = %99, %110, %117, %120, %94, %98, %17, %7 %124 = phi i32 [ %19, %17 ], [ 0, %98 ], [ %9, %7 ], [ 1, %94 ], [ %118, %120 ], [ 0, %117 ], [ 0, %110 ], [ 0, %99 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %124 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @capable(i32 noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_set_no_entries(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_query(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @copy_from_user(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_add_entry(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_remove_entry(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qeth_l3_arp_flush_cache(ptr noundef) local_unnamed_addr #2 declare i32 @qeth_snmp_command(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @if_mii(ptr noundef) local_unnamed_addr #2 declare i32 @qeth_mdio_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @QETH_DBF_TEXT_(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"net_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"qeth_card", !15, i64 0, !16, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!"TYPE_4__", !12, i64 0, !12, i64 4} !17 = !{!15, !15, i64 0} !18 = !{!19, !12, i64 4} !19 = !{!"ifreq", !20, i64 0} !20 = !{!"TYPE_3__", !12, i64 0, !12, i64 4} !21 = !{!19, !12, i64 0} !22 = !{!14, !12, i64 12} !23 = !{!14, !12, i64 8} !24 = !{!25, !12, i64 4} !25 = !{!"mii_ioctl_data", !12, i64 0, !12, i64 4, !12, i64 8} !26 = !{!25, !12, i64 0} !27 = !{!25, !12, i64 8}
fastsocket_kernel_drivers_s390_net_extr_qeth_l3_main.c_qeth_l3_do_ioctl
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_1582.c_writebuf.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_1582.c_writebuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i64 } @buf = dso_local local_unnamed_addr global ptr null, align 8 @targets = dso_local local_unnamed_addr global ptr null, align 8 @n = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"setup sound \00", align 1 @sc = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @writebuf() local_unnamed_addr #0 { %1 = load ptr, ptr @buf, align 8, !tbaa !5 %2 = tail call i32 @memset(ptr noundef %1, i32 noundef 144, i32 noundef 8) #2 %3 = load ptr, ptr @targets, align 8, !tbaa !5 %4 = load i64, ptr @n, align 8, !tbaa !9 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %6 = load i32, ptr %5, align 8, !tbaa !11 %7 = lshr i32 %6, 8 %8 = trunc i32 %7 to i8 %9 = getelementptr inbounds i8, ptr %1, i64 1 store i8 %8, ptr %1, align 1, !tbaa !14 %10 = load ptr, ptr @targets, align 8, !tbaa !5 %11 = load i64, ptr @n, align 8, !tbaa !9 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11 %13 = load i32, ptr %12, align 8, !tbaa !11 %14 = trunc i32 %13 to i8 %15 = getelementptr inbounds i8, ptr %1, i64 2 store i8 %14, ptr %9, align 1, !tbaa !14 %16 = tail call i32 @strlen(ptr noundef nonnull @.str) #2 %17 = tail call i32 @memcpy(ptr noundef nonnull %15, ptr noundef nonnull @.str, i32 noundef %16) #2 %18 = tail call i32 @strlen(ptr noundef nonnull @.str) #2 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %15, i64 %19 %21 = getelementptr inbounds i8, ptr %20, i64 120 %22 = load ptr, ptr @sc, align 8, !tbaa !5 %23 = tail call i32 @strlen(ptr noundef %22) #2 %24 = tail call i32 @memcpy(ptr noundef nonnull %21, ptr noundef %22, i32 noundef %23) #2 %25 = load ptr, ptr @buf, align 8, !tbaa !5 %26 = load ptr, ptr @targets, align 8, !tbaa !5 %27 = load i64, ptr @n, align 8, !tbaa !9 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 %27 %29 = load i32, ptr %28, align 8, !tbaa !11 %30 = sext i32 %29 to i64 %31 = getelementptr i8, ptr %25, i64 %30 %32 = getelementptr i8, ptr %31, i64 -10 %33 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 %27, i32 1 %34 = load i64, ptr %33, align 8, !tbaa !15 store i64 %34, ptr %32, align 8, !tbaa !9 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0, !10, i64 8} !13 = !{!"int", !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!12, !10, i64 8}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_1582.c_writebuf.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_1582.c_writebuf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i64 } @buf = common local_unnamed_addr global ptr null, align 8 @targets = common local_unnamed_addr global ptr null, align 8 @n = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"setup sound \00", align 1 @sc = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @writebuf() local_unnamed_addr #0 { %1 = load ptr, ptr @buf, align 8, !tbaa !6 %2 = tail call i32 @memset(ptr noundef %1, i32 noundef 144, i32 noundef 8) #2 %3 = load ptr, ptr @targets, align 8, !tbaa !6 %4 = load i64, ptr @n, align 8, !tbaa !10 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = lshr i32 %6, 8 %8 = trunc i32 %7 to i8 %9 = getelementptr inbounds i8, ptr %1, i64 1 store i8 %8, ptr %1, align 1, !tbaa !15 %10 = load ptr, ptr @targets, align 8, !tbaa !6 %11 = load i64, ptr @n, align 8, !tbaa !10 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %11 %13 = load i32, ptr %12, align 8, !tbaa !12 %14 = trunc i32 %13 to i8 %15 = getelementptr inbounds i8, ptr %1, i64 2 store i8 %14, ptr %9, align 1, !tbaa !15 %16 = tail call i32 @strlen(ptr noundef nonnull @.str) #2 %17 = tail call i32 @memcpy(ptr noundef nonnull %15, ptr noundef nonnull @.str, i32 noundef %16) #2 %18 = tail call i32 @strlen(ptr noundef nonnull @.str) #2 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %15, i64 %19 %21 = getelementptr inbounds i8, ptr %20, i64 120 %22 = load ptr, ptr @sc, align 8, !tbaa !6 %23 = tail call i32 @strlen(ptr noundef %22) #2 %24 = tail call i32 @memcpy(ptr noundef nonnull %21, ptr noundef %22, i32 noundef %23) #2 %25 = load ptr, ptr @buf, align 8, !tbaa !6 %26 = load ptr, ptr @targets, align 8, !tbaa !6 %27 = load i64, ptr @n, align 8, !tbaa !10 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 %27 %29 = load i32, ptr %28, align 8, !tbaa !12 %30 = sext i32 %29 to i64 %31 = getelementptr i8, ptr %25, i64 %30 %32 = getelementptr i8, ptr %31, i64 -10 %33 = getelementptr inbounds i8, ptr %28, i64 8 %34 = load i64, ptr %33, align 8, !tbaa !16 store i64 %34, ptr %32, align 8, !tbaa !10 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0, !11, i64 8} !14 = !{!"int", !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!13, !11, i64 8}
exploitdb_exploits_linux_remote_extr_1582.c_writebuf
; ModuleID = 'AnghaBench/linux/drivers/media/platform/rockchip/rga/extr_rga-buf.c_rga_buf_start_streaming.c' source_filename = "AnghaBench/linux/drivers/media/platform/rockchip/rga/extr_rga-buf.c_rga_buf_start_streaming.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VB2_BUF_STATE_QUEUED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rga_buf_start_streaming], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rga_buf_start_streaming(ptr noundef %0, i32 %1) #0 { %3 = tail call ptr @vb2_get_drv_priv(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = tail call i32 @pm_runtime_get_sync(i32 noundef %5) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @VB2_BUF_STATE_QUEUED, align 4, !tbaa !13 %10 = tail call i32 @rga_buf_return_buffers(ptr noundef %0, i32 noundef %9) #2 br label %11 11: ; preds = %2, %8 %12 = phi i32 [ %6, %8 ], [ 0, %2 ] ret i32 %12 } declare ptr @vb2_get_drv_priv(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(i32 noundef) local_unnamed_addr #1 declare i32 @rga_buf_return_buffers(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 = !{!"rga_ctx", !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 = !{!"rockchip_rga", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/rockchip/rga/extr_rga-buf.c_rga_buf_start_streaming.c' source_filename = "AnghaBench/linux/drivers/media/platform/rockchip/rga/extr_rga-buf.c_rga_buf_start_streaming.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VB2_BUF_STATE_QUEUED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rga_buf_start_streaming], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @rga_buf_start_streaming(ptr noundef %0, i32 %1) #0 { %3 = tail call ptr @vb2_get_drv_priv(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = tail call i32 @pm_runtime_get_sync(i32 noundef %5) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @VB2_BUF_STATE_QUEUED, align 4, !tbaa !14 %10 = tail call i32 @rga_buf_return_buffers(ptr noundef %0, i32 noundef %9) #2 br label %11 11: ; preds = %2, %8 %12 = phi i32 [ %6, %8 ], [ 0, %2 ] ret i32 %12 } declare ptr @vb2_get_drv_priv(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(i32 noundef) local_unnamed_addr #1 declare i32 @rga_buf_return_buffers(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 = !{!"rga_ctx", !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 = !{!"rockchip_rga", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0}
linux_drivers_media_platform_rockchip_rga_extr_rga-buf.c_rga_buf_start_streaming
; ModuleID = 'AnghaBench/linux/drivers/media/platform/sti/delta/extr_delta-ipc.c_delta_ipc_exit.c' source_filename = "AnghaBench/linux/drivers/media/platform/sti/delta/extr_delta-ipc.c_delta_ipc_exit.c" target datalayout = "e-m:e-p270:32:32-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 @delta_ipc_exit(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @unregister_rpmsg_driver(ptr noundef %0) #2 ret void } declare i32 @unregister_rpmsg_driver(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/sti/delta/extr_delta-ipc.c_delta_ipc_exit.c' source_filename = "AnghaBench/linux/drivers/media/platform/sti/delta/extr_delta-ipc.c_delta_ipc_exit.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 @delta_ipc_exit(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @unregister_rpmsg_driver(ptr noundef %0) #2 ret void } declare i32 @unregister_rpmsg_driver(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_media_platform_sti_delta_extr_delta-ipc.c_delta_ipc_exit
; ModuleID = 'AnghaBench/linux/drivers/atm/extr_lanai.c_host_vcc_unbind.c' source_filename = "AnghaBench/linux/drivers/atm/extr_lanai.c_host_vcc_unbind.c" target datalayout = "e-m:e-p270:32:32-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.lanai_vcc = type { i64, ptr } %struct.lanai_dev = type { i64, i32, ptr } @.str = private unnamed_addr constant [18 x i8] c"Unbinding vci %d\0A\00", align 1 @CONFIG1_POWERDOWN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @host_vcc_unbind], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @host_vcc_unbind(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.lanai_vcc, ptr %1, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %13, label %6 6: ; preds = %2 %7 = load i64, ptr %1, align 8, !tbaa !11 %8 = tail call i32 (ptr, ...) @DPRINTK(ptr noundef nonnull @.str, i64 noundef %7) #2 store ptr null, ptr %3, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.lanai_dev, ptr %0, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = load i64, ptr %1, align 8, !tbaa !11 %12 = getelementptr inbounds ptr, ptr %10, i64 %11 store ptr null, ptr %12, align 8, !tbaa !15 br label %13 13: ; preds = %2, %6 ret void } declare i32 @DPRINTK(ptr noundef, ...) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"lanai_vcc", !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 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 16} !13 = !{!"lanai_dev", !7, i64 0, !14, i64 8, !10, i64 16} !14 = !{!"int", !8, i64 0} !15 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/atm/extr_lanai.c_host_vcc_unbind.c' source_filename = "AnghaBench/linux/drivers/atm/extr_lanai.c_host_vcc_unbind.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 [18 x i8] c"Unbinding vci %d\0A\00", align 1 @CONFIG1_POWERDOWN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @host_vcc_unbind], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @host_vcc_unbind(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %13, label %6 6: ; preds = %2 %7 = load i64, ptr %1, align 8, !tbaa !12 %8 = tail call i32 (ptr, ...) @DPRINTK(ptr noundef nonnull @.str, i64 noundef %7) #2 store ptr null, ptr %3, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = load i64, ptr %1, align 8, !tbaa !12 %12 = getelementptr inbounds ptr, ptr %10, i64 %11 store ptr null, ptr %12, align 8, !tbaa !16 br label %13 13: ; preds = %2, %6 ret void } declare i32 @DPRINTK(ptr noundef, ...) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"lanai_vcc", !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 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 16} !14 = !{!"lanai_dev", !8, i64 0, !15, i64 8, !11, i64 16} !15 = !{!"int", !9, i64 0} !16 = !{!11, !11, i64 0}
linux_drivers_atm_extr_lanai.c_host_vcc_unbind
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_verbs.c_nes_destroy_ah.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_verbs.c_nes_destroy_ah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nes_destroy_ah], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @nes_destroy_ah(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @ENOSYS, align 4, !tbaa !5 %3 = sub nsw i32 0, %2 ret i32 %3 } 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/drivers/infiniband/hw/nes/extr_nes_verbs.c_nes_destroy_ah.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_verbs.c_nes_destroy_ah.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOSYS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nes_destroy_ah], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @nes_destroy_ah(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @ENOSYS, align 4, !tbaa !6 %3 = sub nsw i32 0, %2 ret i32 %3 } 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_drivers_infiniband_hw_nes_extr_nes_verbs.c_nes_destroy_ah
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_disable_rings_intr.c' source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_disable_rings_intr.c" target datalayout = "e-m:e-p270:32:32-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.ixl_vsi = type { i32, ptr, ptr } %struct.ixl_rx_queue = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } ; Function Attrs: nounwind uwtable define dso_local void @ixl_disable_rings_intr(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.ixl_vsi, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %0, align 8, !tbaa !11 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = getelementptr inbounds %struct.ixl_vsi, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !12 br label %10 9: ; preds = %10, %1 ret void 10: ; preds = %6, %10 %11 = phi i32 [ %15, %10 ], [ 0, %6 ] %12 = phi ptr [ %16, %10 ], [ %8, %6 ] %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = tail call i32 @ixl_disable_queue(ptr noundef %3, i32 noundef %13) #2 %15 = add nuw nsw i32 %11, 1 %16 = getelementptr inbounds %struct.ixl_rx_queue, ptr %12, i64 1 %17 = load i32, ptr %0, align 8, !tbaa !11 %18 = icmp slt i32 %15, %17 br i1 %18, label %10, label %9, !llvm.loop !16 } declare i32 @ixl_disable_queue(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 16} !6 = !{!"ixl_vsi", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !7, i64 0} !14 = !{!"ixl_rx_queue", !15, i64 0} !15 = !{!"TYPE_2__", !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_disable_rings_intr.c' source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_disable_rings_intr.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 @ixl_disable_rings_intr(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %0, align 8, !tbaa !12 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !13 br label %10 9: ; preds = %10, %1 ret void 10: ; preds = %6, %10 %11 = phi i32 [ %15, %10 ], [ 0, %6 ] %12 = phi ptr [ %16, %10 ], [ %8, %6 ] %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = tail call i32 @ixl_disable_queue(ptr noundef %3, i32 noundef %13) #2 %15 = add nuw nsw i32 %11, 1 %16 = getelementptr inbounds i8, ptr %12, i64 4 %17 = load i32, ptr %0, align 8, !tbaa !12 %18 = icmp slt i32 %15, %17 br i1 %18, label %10, label %9, !llvm.loop !17 } declare i32 @ixl_disable_queue(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 16} !7 = !{!"ixl_vsi", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !8, i64 0} !15 = !{!"ixl_rx_queue", !16, i64 0} !16 = !{!"TYPE_2__", !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_ixl_extr_ixl_pf_main.c_ixl_disable_rings_intr
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_ip6_flowlabel.c_fl_free.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_ip6_flowlabel.c_fl_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" %struct.ip6_flowlabel = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @fl_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fl_free(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.ip6_flowlabel, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @release_net(i32 noundef %5) #2 %7 = load ptr, ptr %0, align 8, !tbaa !11 %8 = tail call i32 @kfree(ptr noundef %7) #2 br label %9 9: ; preds = %3, %1 %10 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare i32 @release_net(i32 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, !10, i64 8} !6 = !{!"ip6_flowlabel", !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, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_ip6_flowlabel.c_fl_free.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_ip6_flowlabel.c_fl_free.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 @fl_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fl_free(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @release_net(i32 noundef %5) #2 %7 = load ptr, ptr %0, align 8, !tbaa !12 %8 = tail call i32 @kfree(ptr noundef %7) #2 br label %9 9: ; preds = %3, %1 %10 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare i32 @release_net(i32 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, !11, i64 8} !7 = !{!"ip6_flowlabel", !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, !8, i64 0}
fastsocket_kernel_net_ipv6_extr_ip6_flowlabel.c_fl_free
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_l2.c_qed_sp_vport_update_sge_tpa.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_l2.c_qed_sp_vport_update_sge_tpa.c" target datalayout = "e-m:e-p270:32:32-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.qed_sge_tpa_params = type { i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i64 } %struct.vport_update_ramrod_data = type { %struct.TYPE_2__, %struct.eth_vport_tpa_param } %struct.TYPE_2__ = type { i64, i64 } %struct.eth_vport_tpa_param = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @qed_sp_vport_update_sge_tpa], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @qed_sp_vport_update_sge_tpa(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2) #0 { %4 = icmp eq ptr %2, null br i1 %4, label %18, label %5 5: ; preds = %3 %6 = getelementptr inbounds %struct.qed_sge_tpa_params, ptr %2, i64 0, i32 13 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.vport_update_ramrod_data, ptr %1, i64 0, i32 1 %9 = getelementptr inbounds %struct.qed_sge_tpa_params, ptr %2, i64 0, i32 9 %10 = getelementptr inbounds %struct.vport_update_ramrod_data, ptr %1, i64 0, i32 1, i32 8 %11 = load <4 x i32>, ptr %9, align 8, !tbaa !11 store <4 x i32> %11, ptr %10, align 4, !tbaa !11 %12 = getelementptr inbounds %struct.qed_sge_tpa_params, ptr %2, i64 0, i32 8 %13 = load i64, ptr %12, align 8, !tbaa !12 %14 = getelementptr inbounds %struct.qed_sge_tpa_params, ptr %2, i64 0, i32 4 %15 = getelementptr inbounds %struct.vport_update_ramrod_data, ptr %1, i64 0, i32 1, i32 4 %16 = load <4 x i32>, ptr %14, align 8, !tbaa !11 store <4 x i32> %16, ptr %15, align 4, !tbaa !11 %17 = load <4 x i32>, ptr %2, align 8, !tbaa !11 store <4 x i32> %17, ptr %8, align 4, !tbaa !11 br label %18 18: ; preds = %3, %5 %19 = phi i64 [ %7, %5 ], [ 0, %3 ] %20 = phi i64 [ %13, %5 ], [ 0, %3 ] %21 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1 store i64 %19, ptr %21, align 8 store i64 %20, ptr %1, align 8 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 56} !6 = !{!"qed_sge_tpa_params", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !10, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !10, i64 56} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 32}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_l2.c_qed_sp_vport_update_sge_tpa.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_l2.c_qed_sp_vport_update_sge_tpa.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 @qed_sp_vport_update_sge_tpa], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @qed_sp_vport_update_sge_tpa(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2) #0 { %4 = icmp eq ptr %2, null br i1 %4, label %18, label %5 5: ; preds = %3 %6 = getelementptr inbounds i8, ptr %2, i64 56 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %1, i64 16 %9 = getelementptr inbounds i8, ptr %2, i64 40 %10 = getelementptr inbounds i8, ptr %1, i64 48 %11 = load <4 x i32>, ptr %9, align 8, !tbaa !12 store <4 x i32> %11, ptr %10, align 4, !tbaa !12 %12 = getelementptr inbounds i8, ptr %2, i64 32 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = getelementptr inbounds i8, ptr %2, i64 16 %15 = getelementptr inbounds i8, ptr %1, i64 32 %16 = load <4 x i32>, ptr %14, align 8, !tbaa !12 store <4 x i32> %16, ptr %15, align 4, !tbaa !12 %17 = load <4 x i32>, ptr %2, align 8, !tbaa !12 store <4 x i32> %17, ptr %8, align 4, !tbaa !12 br label %18 18: ; preds = %3, %5 %19 = phi i64 [ %7, %5 ], [ 0, %3 ] %20 = phi i64 [ %13, %5 ], [ 0, %3 ] %21 = getelementptr inbounds i8, ptr %1, i64 8 store i64 %19, ptr %21, align 8 store i64 %20, ptr %1, align 8 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 56} !7 = !{!"qed_sge_tpa_params", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !11, i64 32, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !11, i64 56} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 32}
linux_drivers_net_ethernet_qlogic_qed_extr_qed_l2.c_qed_sp_vport_update_sge_tpa
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/gizmondo/extr_menu.c_scandir_cmp.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/gizmondo/extr_menu.c_scandir_cmp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.my_dirent = type { i64, i32 } @DT_DIR = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @scandir_cmp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @scandir_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr %3, align 8, !tbaa !9 %5 = load ptr, ptr %1, align 8, !tbaa !5 %6 = load i64, ptr %5, align 8, !tbaa !9 %7 = icmp eq i64 %4, %6 br i1 %7, label %13, label %8 8: ; preds = %2 %9 = load i64, ptr @DT_DIR, align 8, !tbaa !13 %10 = icmp eq i64 %4, %9 br i1 %10, label %19, label %11 11: ; preds = %8 %12 = icmp eq i64 %6, %9 br i1 %12, label %19, label %13 13: ; preds = %11, %2 %14 = getelementptr inbounds %struct.my_dirent, ptr %3, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = getelementptr inbounds %struct.my_dirent, ptr %5, i64 0, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !14 %18 = tail call i32 @strcasecmp(i32 noundef %15, i32 noundef %17) #2 br label %19 19: ; preds = %13, %11, %8 %20 = phi i32 [ -1, %8 ], [ 1, %11 ], [ %18, %13 ] ret i32 %20 } declare i32 @strcasecmp(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, !11, i64 0} !10 = !{!"my_dirent", !11, i64 0, !12, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!10, !12, i64 8}
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/gizmondo/extr_menu.c_scandir_cmp.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/gizmondo/extr_menu.c_scandir_cmp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DT_DIR = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @scandir_cmp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @scandir_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr %3, align 8, !tbaa !10 %5 = load ptr, ptr %1, align 8, !tbaa !6 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = icmp eq i64 %4, %6 br i1 %7, label %13, label %8 8: ; preds = %2 %9 = load i64, ptr @DT_DIR, align 8, !tbaa !14 %10 = icmp eq i64 %4, %9 br i1 %10, label %19, label %11 11: ; preds = %8 %12 = icmp eq i64 %6, %9 br i1 %12, label %19, label %13 13: ; preds = %11, %2 %14 = getelementptr inbounds i8, ptr %3, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !15 %16 = getelementptr inbounds i8, ptr %5, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !15 %18 = tail call i32 @strcasecmp(i32 noundef %15, i32 noundef %17) #2 br label %19 19: ; preds = %13, %11, %8 %20 = phi i32 [ -1, %8 ], [ 1, %11 ], [ %18, %13 ] ret i32 %20 } declare i32 @strcasecmp(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, !12, i64 0} !11 = !{!"my_dirent", !12, i64 0, !13, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!11, !13, i64 8}
Provenance_Cores_PicoDrive_platform_gizmondo_extr_menu.c_scandir_cmp
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_h263.c_ff_h263_loop_filter.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_h263.c_ff_h263_loop_filter.c" target datalayout = "e-m:e-p270:32:32-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 { i32, i32, i32, i32, i32, i32, ptr, i32, %struct.TYPE_6__, %struct.TYPE_5__, ptr } %struct.TYPE_6__ = type { ptr, ptr } %struct.TYPE_5__ = type { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local void @ff_h263_loop_filter(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !13 %5 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %6 = load i32, ptr %5, align 8, !tbaa !14 %7 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3 %8 = load i32, ptr %7, align 4, !tbaa !15 %9 = mul nsw i32 %8, %6 %10 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4 %11 = load i32, ptr %10, align 8, !tbaa !16 %12 = add nsw i32 %9, %11 %13 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 10 %14 = load ptr, ptr %13, align 8, !tbaa !17 %15 = load ptr, ptr %14, align 8, !tbaa !18 %16 = getelementptr inbounds ptr, ptr %14, i64 1 %17 = load ptr, ptr %16, align 8, !tbaa !18 %18 = getelementptr inbounds ptr, ptr %14, i64 2 %19 = load ptr, ptr %18, align 8, !tbaa !18 %20 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 9 %21 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 9, i32 1 %22 = load ptr, ptr %21, align 8, !tbaa !19 %23 = sext i32 %12 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 %25 = load i32, ptr %24, align 4, !tbaa !20 %26 = tail call i64 @IS_SKIP(i32 noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %40 28: ; preds = %1 %29 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5 %30 = load i32, ptr %29, align 4, !tbaa !21 %31 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8, i32 1 %32 = load ptr, ptr %31, align 8, !tbaa !22 %33 = shl nsw i32 %2, 3 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %15, i64 %34 %36 = tail call i32 %32(ptr noundef %35, i32 noundef %2, i32 noundef %30) #2 %37 = load ptr, ptr %31, align 8, !tbaa !22 %38 = getelementptr inbounds i32, ptr %35, i64 8 %39 = tail call i32 %37(ptr noundef nonnull %38, i32 noundef %2, i32 noundef %30) #2 br label %40 40: ; preds = %1, %28 %41 = phi i32 [ %30, %28 ], [ 0, %1 ] %42 = load i32, ptr %5, align 8, !tbaa !14 %43 = icmp eq i32 %42, 0 br i1 %43, label %140, label %44 44: ; preds = %40 %45 = load ptr, ptr %21, align 8, !tbaa !19 %46 = load i32, ptr %7, align 4, !tbaa !15 %47 = sub nsw i32 %12, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %45, i64 %48 %50 = load i32, ptr %49, align 4, !tbaa !20 %51 = tail call i64 @IS_SKIP(i32 noundef %50) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %60 53: ; preds = %44 %54 = load ptr, ptr %20, align 8, !tbaa !23 %55 = load i32, ptr %7, align 4, !tbaa !15 %56 = sub nsw i32 %12, %55 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %54, i64 %57 %59 = load i32, ptr %58, align 4, !tbaa !20 br label %60 60: ; preds = %44, %53 %61 = phi i32 [ %59, %53 ], [ 0, %44 ] %62 = icmp eq i32 %41, 0 %63 = select i1 %62, i32 %61, i32 %41 %64 = icmp eq i32 %63, 0 br i1 %64, label %81, label %65 65: ; preds = %60 %66 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6 %67 = load ptr, ptr %66, align 8, !tbaa !24 %68 = sext i32 %63 to i64 %69 = getelementptr inbounds i32, ptr %67, i64 %68 %70 = load i32, ptr %69, align 4, !tbaa !20 %71 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8, i32 1 %72 = load ptr, ptr %71, align 8, !tbaa !22 %73 = tail call i32 %72(ptr noundef %15, i32 noundef %2, i32 noundef %63) #2 %74 = load ptr, ptr %71, align 8, !tbaa !22 %75 = getelementptr inbounds i32, ptr %15, i64 8 %76 = tail call i32 %74(ptr noundef nonnull %75, i32 noundef %2, i32 noundef %63) #2 %77 = load ptr, ptr %71, align 8, !tbaa !22 %78 = tail call i32 %77(ptr noundef %17, i32 noundef %4, i32 noundef %70) #2 %79 = load ptr, ptr %71, align 8, !tbaa !22 %80 = tail call i32 %79(ptr noundef %19, i32 noundef %4, i32 noundef %70) #2 br label %81 81: ; preds = %65, %60 %82 = icmp eq i32 %61, 0 br i1 %82, label %83, label %86 83: ; preds = %81 %84 = load i32, ptr %10, align 8, !tbaa !16 %85 = icmp eq i32 %84, 0 br i1 %85, label %140, label %97 86: ; preds = %81 %87 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8 %88 = load ptr, ptr %87, align 8, !tbaa !25 %89 = shl nsw i32 %2, 3 %90 = sext i32 %89 to i64 %91 = sub nsw i64 0, %90 %92 = getelementptr inbounds i32, ptr %15, i64 %91 %93 = getelementptr inbounds i32, ptr %92, i64 8 %94 = tail call i32 %88(ptr noundef nonnull %93, i32 noundef %2, i32 noundef %61) #2 %95 = load i32, ptr %10, align 8, !tbaa !16 %96 = icmp eq i32 %95, 0 br i1 %96, label %140, label %119 97: ; preds = %83 %98 = load ptr, ptr %21, align 8, !tbaa !19 %99 = add nsw i32 %12, -1 %100 = load i32, ptr %7, align 4, !tbaa !15 %101 = sub nsw i32 %99, %100 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %98, i64 %102 %104 = load i32, ptr %103, align 4, !tbaa !20 %105 = tail call i64 @IS_SKIP(i32 noundef %104) #2 %106 = icmp eq i64 %105, 0 br i1 %106, label %107, label %140 107: ; preds = %97 %108 = load ptr, ptr %20, align 8, !tbaa !23 %109 = load i32, ptr %7, align 4, !tbaa !15 %110 = sub nsw i32 %99, %109 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %108, i64 %111 %113 = load i32, ptr %112, align 4, !tbaa !20 %114 = icmp eq i32 %113, 0 br i1 %114, label %140, label %115 115: ; preds = %107 %116 = shl nsw i32 %2, 3 %117 = sext i32 %116 to i64 %118 = sub nsw i64 0, %117 br label %119 119: ; preds = %115, %86 %120 = phi i64 [ %118, %115 ], [ %91, %86 ] %121 = phi i32 [ %113, %115 ], [ %61, %86 ] %122 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6 %123 = load ptr, ptr %122, align 8, !tbaa !24 %124 = sext i32 %121 to i64 %125 = getelementptr inbounds i32, ptr %123, i64 %124 %126 = load i32, ptr %125, align 4, !tbaa !20 %127 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8 %128 = load ptr, ptr %127, align 8, !tbaa !25 %129 = getelementptr inbounds i32, ptr %15, i64 %120 %130 = tail call i32 %128(ptr noundef %129, i32 noundef %2, i32 noundef %121) #2 %131 = load ptr, ptr %127, align 8, !tbaa !25 %132 = shl nsw i32 %4, 3 %133 = sext i32 %132 to i64 %134 = sub nsw i64 0, %133 %135 = getelementptr inbounds i32, ptr %17, i64 %134 %136 = tail call i32 %131(ptr noundef %135, i32 noundef %4, i32 noundef %126) #2 %137 = load ptr, ptr %127, align 8, !tbaa !25 %138 = getelementptr inbounds i32, ptr %19, i64 %134 %139 = tail call i32 %137(ptr noundef %138, i32 noundef %4, i32 noundef %126) #2 br label %140 140: ; preds = %97, %86, %83, %119, %107, %40 %141 = icmp eq i32 %41, 0 br i1 %141, label %162, label %142 142: ; preds = %140 %143 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8 %144 = load ptr, ptr %143, align 8, !tbaa !25 %145 = getelementptr inbounds i32, ptr %15, i64 8 %146 = tail call i32 %144(ptr noundef nonnull %145, i32 noundef %2, i32 noundef %41) #2 %147 = load i32, ptr %5, align 8, !tbaa !14 %148 = add nsw i32 %147, 1 %149 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 7 %150 = load i32, ptr %149, align 8, !tbaa !26 %151 = icmp eq i32 %148, %150 br i1 %151, label %152, label %159 152: ; preds = %142 %153 = load ptr, ptr %143, align 8, !tbaa !25 %154 = shl nsw i32 %2, 3 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i32, ptr %15, i64 %155 %157 = getelementptr inbounds i32, ptr %156, i64 8 %158 = tail call i32 %153(ptr noundef nonnull %157, i32 noundef %2, i32 noundef %41) #2 br label %159 159: ; preds = %142, %152 %160 = load i32, ptr %10, align 8, !tbaa !16 %161 = icmp eq i32 %160, 0 br i1 %161, label %203, label %178 162: ; preds = %140 %163 = load i32, ptr %10, align 8, !tbaa !16 %164 = icmp eq i32 %163, 0 br i1 %164, label %203, label %165 165: ; preds = %162 %166 = load ptr, ptr %21, align 8, !tbaa !19 %167 = add nsw i32 %12, -1 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i32, ptr %166, i64 %168 %170 = load i32, ptr %169, align 4, !tbaa !20 %171 = tail call i64 @IS_SKIP(i32 noundef %170) #2 %172 = icmp eq i64 %171, 0 br i1 %172, label %173, label %203 173: ; preds = %165 %174 = load ptr, ptr %20, align 8, !tbaa !23 %175 = getelementptr inbounds i32, ptr %174, i64 %168 %176 = load i32, ptr %175, align 4, !tbaa !20 %177 = icmp eq i32 %176, 0 br i1 %177, label %203, label %178 178: ; preds = %159, %173 %179 = phi i32 [ %176, %173 ], [ %41, %159 ] %180 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8 %181 = load ptr, ptr %180, align 8, !tbaa !25 %182 = tail call i32 %181(ptr noundef %15, i32 noundef %2, i32 noundef %179) #2 %183 = load i32, ptr %5, align 8, !tbaa !14 %184 = add nsw i32 %183, 1 %185 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 7 %186 = load i32, ptr %185, align 8, !tbaa !26 %187 = icmp eq i32 %184, %186 br i1 %187, label %188, label %203 188: ; preds = %178 %189 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6 %190 = load ptr, ptr %189, align 8, !tbaa !24 %191 = sext i32 %179 to i64 %192 = getelementptr inbounds i32, ptr %190, i64 %191 %193 = load i32, ptr %192, align 4, !tbaa !20 %194 = load ptr, ptr %180, align 8, !tbaa !25 %195 = shl nsw i32 %2, 3 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i32, ptr %15, i64 %196 %198 = tail call i32 %194(ptr noundef %197, i32 noundef %2, i32 noundef %179) #2 %199 = load ptr, ptr %180, align 8, !tbaa !25 %200 = tail call i32 %199(ptr noundef %17, i32 noundef %4, i32 noundef %193) #2 %201 = load ptr, ptr %180, align 8, !tbaa !25 %202 = tail call i32 %201(ptr noundef %19, i32 noundef %4, i32 noundef %193) #2 br label %203 203: ; preds = %165, %162, %173, %188, %178, %159 ret void } declare i64 @IS_SKIP(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !11, i64 40, !12, i64 56, !10, i64 72} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_6__", !10, i64 0, !10, i64 8} !12 = !{!"TYPE_5__", !10, i64 0, !10, i64 8} !13 = !{!6, !7, i64 4} !14 = !{!6, !7, i64 8} !15 = !{!6, !7, i64 12} !16 = !{!6, !7, i64 16} !17 = !{!6, !10, i64 72} !18 = !{!10, !10, i64 0} !19 = !{!6, !10, i64 64} !20 = !{!7, !7, i64 0} !21 = !{!6, !7, i64 20} !22 = !{!6, !10, i64 48} !23 = !{!6, !10, i64 56} !24 = !{!6, !10, i64 24} !25 = !{!6, !10, i64 40} !26 = !{!6, !7, i64 32}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_h263.c_ff_h263_loop_filter.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_h263.c_ff_h263_loop_filter.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 @ff_h263_loop_filter(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !14 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 8, !tbaa !15 %7 = getelementptr inbounds i8, ptr %0, i64 12 %8 = load i32, ptr %7, align 4, !tbaa !16 %9 = mul nsw i32 %8, %6 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !17 %12 = add nsw i32 %9, %11 %13 = getelementptr inbounds i8, ptr %0, i64 72 %14 = load ptr, ptr %13, align 8, !tbaa !18 %15 = load ptr, ptr %14, align 8, !tbaa !19 %16 = getelementptr inbounds i8, ptr %14, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !19 %18 = getelementptr inbounds i8, ptr %14, i64 16 %19 = load ptr, ptr %18, align 8, !tbaa !19 %20 = getelementptr inbounds i8, ptr %0, i64 56 %21 = getelementptr inbounds i8, ptr %0, i64 64 %22 = load ptr, ptr %21, align 8, !tbaa !20 %23 = sext i32 %12 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 %25 = load i32, ptr %24, align 4, !tbaa !21 %26 = tail call i64 @IS_SKIP(i32 noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %40 28: ; preds = %1 %29 = getelementptr inbounds i8, ptr %0, i64 20 %30 = load i32, ptr %29, align 4, !tbaa !22 %31 = getelementptr inbounds i8, ptr %0, i64 48 %32 = load ptr, ptr %31, align 8, !tbaa !23 %33 = shl nsw i32 %2, 3 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %15, i64 %34 %36 = tail call i32 %32(ptr noundef %35, i32 noundef %2, i32 noundef %30) #2 %37 = load ptr, ptr %31, align 8, !tbaa !23 %38 = getelementptr inbounds i8, ptr %35, i64 32 %39 = tail call i32 %37(ptr noundef nonnull %38, i32 noundef %2, i32 noundef %30) #2 br label %40 40: ; preds = %1, %28 %41 = phi i32 [ %30, %28 ], [ 0, %1 ] %42 = load i32, ptr %5, align 8, !tbaa !15 %43 = icmp eq i32 %42, 0 br i1 %43, label %140, label %44 44: ; preds = %40 %45 = load ptr, ptr %21, align 8, !tbaa !20 %46 = load i32, ptr %7, align 4, !tbaa !16 %47 = sub nsw i32 %12, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %45, i64 %48 %50 = load i32, ptr %49, align 4, !tbaa !21 %51 = tail call i64 @IS_SKIP(i32 noundef %50) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %60 53: ; preds = %44 %54 = load ptr, ptr %20, align 8, !tbaa !24 %55 = load i32, ptr %7, align 4, !tbaa !16 %56 = sub nsw i32 %12, %55 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %54, i64 %57 %59 = load i32, ptr %58, align 4, !tbaa !21 br label %60 60: ; preds = %44, %53 %61 = phi i32 [ %59, %53 ], [ 0, %44 ] %62 = icmp eq i32 %41, 0 %63 = select i1 %62, i32 %61, i32 %41 %64 = icmp eq i32 %63, 0 br i1 %64, label %81, label %65 65: ; preds = %60 %66 = getelementptr inbounds i8, ptr %0, i64 24 %67 = load ptr, ptr %66, align 8, !tbaa !25 %68 = sext i32 %63 to i64 %69 = getelementptr inbounds i32, ptr %67, i64 %68 %70 = load i32, ptr %69, align 4, !tbaa !21 %71 = getelementptr inbounds i8, ptr %0, i64 48 %72 = load ptr, ptr %71, align 8, !tbaa !23 %73 = tail call i32 %72(ptr noundef %15, i32 noundef %2, i32 noundef %63) #2 %74 = load ptr, ptr %71, align 8, !tbaa !23 %75 = getelementptr inbounds i8, ptr %15, i64 32 %76 = tail call i32 %74(ptr noundef nonnull %75, i32 noundef %2, i32 noundef %63) #2 %77 = load ptr, ptr %71, align 8, !tbaa !23 %78 = tail call i32 %77(ptr noundef %17, i32 noundef %4, i32 noundef %70) #2 %79 = load ptr, ptr %71, align 8, !tbaa !23 %80 = tail call i32 %79(ptr noundef %19, i32 noundef %4, i32 noundef %70) #2 br label %81 81: ; preds = %65, %60 %82 = icmp eq i32 %61, 0 br i1 %82, label %83, label %86 83: ; preds = %81 %84 = load i32, ptr %10, align 8, !tbaa !17 %85 = icmp eq i32 %84, 0 br i1 %85, label %140, label %97 86: ; preds = %81 %87 = getelementptr inbounds i8, ptr %0, i64 40 %88 = load ptr, ptr %87, align 8, !tbaa !26 %89 = shl nsw i32 %2, 3 %90 = sext i32 %89 to i64 %91 = sub nsw i64 0, %90 %92 = getelementptr inbounds i32, ptr %15, i64 %91 %93 = getelementptr inbounds i8, ptr %92, i64 32 %94 = tail call i32 %88(ptr noundef nonnull %93, i32 noundef %2, i32 noundef %61) #2 %95 = load i32, ptr %10, align 8, !tbaa !17 %96 = icmp eq i32 %95, 0 br i1 %96, label %140, label %119 97: ; preds = %83 %98 = load ptr, ptr %21, align 8, !tbaa !20 %99 = add nsw i32 %12, -1 %100 = load i32, ptr %7, align 4, !tbaa !16 %101 = sub nsw i32 %99, %100 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %98, i64 %102 %104 = load i32, ptr %103, align 4, !tbaa !21 %105 = tail call i64 @IS_SKIP(i32 noundef %104) #2 %106 = icmp eq i64 %105, 0 br i1 %106, label %107, label %140 107: ; preds = %97 %108 = load ptr, ptr %20, align 8, !tbaa !24 %109 = load i32, ptr %7, align 4, !tbaa !16 %110 = sub nsw i32 %99, %109 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %108, i64 %111 %113 = load i32, ptr %112, align 4, !tbaa !21 %114 = icmp eq i32 %113, 0 br i1 %114, label %140, label %115 115: ; preds = %107 %116 = shl nsw i32 %2, 3 %117 = sext i32 %116 to i64 %118 = sub nsw i64 0, %117 br label %119 119: ; preds = %115, %86 %120 = phi i64 [ %118, %115 ], [ %91, %86 ] %121 = phi i32 [ %113, %115 ], [ %61, %86 ] %122 = getelementptr inbounds i8, ptr %0, i64 24 %123 = load ptr, ptr %122, align 8, !tbaa !25 %124 = sext i32 %121 to i64 %125 = getelementptr inbounds i32, ptr %123, i64 %124 %126 = load i32, ptr %125, align 4, !tbaa !21 %127 = getelementptr inbounds i8, ptr %0, i64 40 %128 = load ptr, ptr %127, align 8, !tbaa !26 %129 = getelementptr inbounds i32, ptr %15, i64 %120 %130 = tail call i32 %128(ptr noundef %129, i32 noundef %2, i32 noundef %121) #2 %131 = load ptr, ptr %127, align 8, !tbaa !26 %132 = shl nsw i32 %4, 3 %133 = sext i32 %132 to i64 %134 = sub nsw i64 0, %133 %135 = getelementptr inbounds i32, ptr %17, i64 %134 %136 = tail call i32 %131(ptr noundef %135, i32 noundef %4, i32 noundef %126) #2 %137 = load ptr, ptr %127, align 8, !tbaa !26 %138 = getelementptr inbounds i32, ptr %19, i64 %134 %139 = tail call i32 %137(ptr noundef %138, i32 noundef %4, i32 noundef %126) #2 br label %140 140: ; preds = %97, %86, %83, %119, %107, %40 %141 = icmp eq i32 %41, 0 br i1 %141, label %162, label %142 142: ; preds = %140 %143 = getelementptr inbounds i8, ptr %0, i64 40 %144 = load ptr, ptr %143, align 8, !tbaa !26 %145 = getelementptr inbounds i8, ptr %15, i64 32 %146 = tail call i32 %144(ptr noundef nonnull %145, i32 noundef %2, i32 noundef %41) #2 %147 = load i32, ptr %5, align 8, !tbaa !15 %148 = add nsw i32 %147, 1 %149 = getelementptr inbounds i8, ptr %0, i64 32 %150 = load i32, ptr %149, align 8, !tbaa !27 %151 = icmp eq i32 %148, %150 br i1 %151, label %152, label %159 152: ; preds = %142 %153 = load ptr, ptr %143, align 8, !tbaa !26 %154 = shl nsw i32 %2, 3 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i32, ptr %15, i64 %155 %157 = getelementptr inbounds i8, ptr %156, i64 32 %158 = tail call i32 %153(ptr noundef nonnull %157, i32 noundef %2, i32 noundef %41) #2 br label %159 159: ; preds = %142, %152 %160 = load i32, ptr %10, align 8, !tbaa !17 %161 = icmp eq i32 %160, 0 br i1 %161, label %203, label %178 162: ; preds = %140 %163 = load i32, ptr %10, align 8, !tbaa !17 %164 = icmp eq i32 %163, 0 br i1 %164, label %203, label %165 165: ; preds = %162 %166 = load ptr, ptr %21, align 8, !tbaa !20 %167 = add nsw i32 %12, -1 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i32, ptr %166, i64 %168 %170 = load i32, ptr %169, align 4, !tbaa !21 %171 = tail call i64 @IS_SKIP(i32 noundef %170) #2 %172 = icmp eq i64 %171, 0 br i1 %172, label %173, label %203 173: ; preds = %165 %174 = load ptr, ptr %20, align 8, !tbaa !24 %175 = getelementptr inbounds i32, ptr %174, i64 %168 %176 = load i32, ptr %175, align 4, !tbaa !21 %177 = icmp eq i32 %176, 0 br i1 %177, label %203, label %178 178: ; preds = %159, %173 %179 = phi i32 [ %176, %173 ], [ %41, %159 ] %180 = getelementptr inbounds i8, ptr %0, i64 40 %181 = load ptr, ptr %180, align 8, !tbaa !26 %182 = tail call i32 %181(ptr noundef %15, i32 noundef %2, i32 noundef %179) #2 %183 = load i32, ptr %5, align 8, !tbaa !15 %184 = add nsw i32 %183, 1 %185 = getelementptr inbounds i8, ptr %0, i64 32 %186 = load i32, ptr %185, align 8, !tbaa !27 %187 = icmp eq i32 %184, %186 br i1 %187, label %188, label %203 188: ; preds = %178 %189 = getelementptr inbounds i8, ptr %0, i64 24 %190 = load ptr, ptr %189, align 8, !tbaa !25 %191 = sext i32 %179 to i64 %192 = getelementptr inbounds i32, ptr %190, i64 %191 %193 = load i32, ptr %192, align 4, !tbaa !21 %194 = load ptr, ptr %180, align 8, !tbaa !26 %195 = shl nsw i32 %2, 3 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i32, ptr %15, i64 %196 %198 = tail call i32 %194(ptr noundef %197, i32 noundef %2, i32 noundef %179) #2 %199 = load ptr, ptr %180, align 8, !tbaa !26 %200 = tail call i32 %199(ptr noundef %17, i32 noundef %4, i32 noundef %193) #2 %201 = load ptr, ptr %180, align 8, !tbaa !26 %202 = tail call i32 %201(ptr noundef %19, i32 noundef %4, i32 noundef %193) #2 br label %203 203: ; preds = %165, %162, %173, %188, %178, %159 ret void } declare i64 @IS_SKIP(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !11, i64 24, !8, i64 32, !12, i64 40, !13, i64 56, !11, i64 72} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_6__", !11, i64 0, !11, i64 8} !13 = !{!"TYPE_5__", !11, i64 0, !11, i64 8} !14 = !{!7, !8, i64 4} !15 = !{!7, !8, i64 8} !16 = !{!7, !8, i64 12} !17 = !{!7, !8, i64 16} !18 = !{!7, !11, i64 72} !19 = !{!11, !11, i64 0} !20 = !{!7, !11, i64 64} !21 = !{!8, !8, i64 0} !22 = !{!7, !8, i64 20} !23 = !{!7, !11, i64 48} !24 = !{!7, !11, i64 56} !25 = !{!7, !11, i64 24} !26 = !{!7, !11, i64 40} !27 = !{!7, !8, i64 32}
FFmpeg_libavcodec_extr_h263.c_ff_h263_loop_filter
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_netwave_cs.c_netwave_start_xmit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_netwave_cs.c_netwave_start_xmit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sk_buff = type { i16, ptr } @ETH_ZLEN = dso_local local_unnamed_addr global i16 0, align 2 @jiffies = dso_local local_unnamed_addr global i32 0, align 4 @NETDEV_TX_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @netwave_start_xmit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @netwave_start_xmit(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @netif_stop_queue(ptr noundef %1) #3 %4 = load i16, ptr @ETH_ZLEN, align 2, !tbaa !5 %5 = load i16, ptr %0, align 8, !tbaa !9 %6 = tail call i16 @llvm.smax.i16(i16 %4, i16 %5) %7 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = tail call i32 @netwave_hw_xmit(ptr noundef %8, i16 noundef signext %6, ptr noundef %1) #3 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = tail call i32 @netif_start_queue(ptr noundef %1) #3 br label %13 13: ; preds = %11, %2 %14 = load i32, ptr @jiffies, align 4, !tbaa !13 store i32 %14, ptr %1, align 4, !tbaa !15 %15 = tail call i32 @dev_kfree_skb(ptr noundef nonnull %0) #3 %16 = load i32, ptr @NETDEV_TX_OK, align 4, !tbaa !13 ret i32 %16 } declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @netwave_hw_xmit(ptr noundef, i16 noundef signext, ptr noundef) local_unnamed_addr #1 declare i32 @netif_start_queue(ptr noundef) local_unnamed_addr #1 declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i16 @llvm.smax.i16(i16, i16) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"short", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"sk_buff", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"int", !7, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"net_device", !14, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_netwave_cs.c_netwave_start_xmit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_netwave_cs.c_netwave_start_xmit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETH_ZLEN = common local_unnamed_addr global i16 0, align 2 @jiffies = common local_unnamed_addr global i32 0, align 4 @NETDEV_TX_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @netwave_start_xmit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @netwave_start_xmit(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @netif_stop_queue(ptr noundef %1) #3 %4 = load i16, ptr @ETH_ZLEN, align 2, !tbaa !6 %5 = load i16, ptr %0, align 8, !tbaa !10 %6 = tail call i16 @llvm.smax.i16(i16 %4, i16 %5) %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = tail call i32 @netwave_hw_xmit(ptr noundef %8, i16 noundef signext %6, ptr noundef %1) #3 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = tail call i32 @netif_start_queue(ptr noundef %1) #3 br label %13 13: ; preds = %11, %2 %14 = load i32, ptr @jiffies, align 4, !tbaa !14 store i32 %14, ptr %1, align 4, !tbaa !16 %15 = tail call i32 @dev_kfree_skb(ptr noundef nonnull %0) #3 %16 = load i32, ptr @NETDEV_TX_OK, align 4, !tbaa !14 ret i32 %16 } declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @netwave_hw_xmit(ptr noundef, i16 noundef signext, ptr noundef) local_unnamed_addr #1 declare i32 @netif_start_queue(ptr noundef) local_unnamed_addr #1 declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i16 @llvm.smax.i16(i16, i16) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"short", !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, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"net_device", !15, i64 0}
fastsocket_kernel_drivers_net_wireless_extr_netwave_cs.c_netwave_start_xmit
; ModuleID = 'AnghaBench/freebsd/sys/dev/cfi/extr_cfi_dev.c_cfi_devclose.c' source_filename = "AnghaBench/freebsd/sys/dev/cfi/extr_cfi_dev.c_cfi_devclose.c" target datalayout = "e-m:e-p270:32:32-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.cfi_softc = type { ptr, i64 } @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cfi_devclose], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cfi_devclose(ptr nocapture noundef readonly %0, i32 %1, i32 %2, ptr nocapture noundef readonly %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = load ptr, ptr %3, align 8, !tbaa !13 %8 = icmp eq ptr %6, %7 br i1 %8, label %11, label %9 9: ; preds = %4 %10 = load i32, ptr @ENXIO, align 4, !tbaa !15 br label %19 11: ; preds = %4 %12 = getelementptr inbounds %struct.cfi_softc, ptr %5, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !17 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11 %16 = tail call i32 @cfi_block_finish(ptr noundef nonnull %5) #2 br label %17 17: ; preds = %11, %15 %18 = phi i32 [ %16, %15 ], [ 0, %11 ] store ptr null, ptr %5, align 8, !tbaa !10 br label %19 19: ; preds = %17, %9 %20 = phi i32 [ %10, %9 ], [ %18, %17 ] ret i32 %20 } declare i32 @cfi_block_finish(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 = !{!"cdev", !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 = !{!"cfi_softc", !7, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"thread", !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0} !17 = !{!11, !12, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/cfi/extr_cfi_dev.c_cfi_devclose.c' source_filename = "AnghaBench/freebsd/sys/dev/cfi/extr_cfi_dev.c_cfi_devclose.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 @cfi_devclose], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cfi_devclose(ptr nocapture noundef readonly %0, i32 %1, i32 %2, ptr nocapture noundef readonly %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load ptr, ptr %3, align 8, !tbaa !14 %8 = icmp eq ptr %6, %7 br i1 %8, label %11, label %9 9: ; preds = %4 %10 = load i32, ptr @ENXIO, align 4, !tbaa !16 br label %19 11: ; preds = %4 %12 = getelementptr inbounds i8, ptr %5, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !18 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %11 %16 = tail call i32 @cfi_block_finish(ptr noundef nonnull %5) #2 br label %17 17: ; preds = %11, %15 %18 = phi i32 [ %16, %15 ], [ 0, %11 ] store ptr null, ptr %5, align 8, !tbaa !11 br label %19 19: ; preds = %17, %9 %20 = phi i32 [ %10, %9 ], [ %18, %17 ] ret i32 %20 } declare i32 @cfi_block_finish(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 = !{!"cdev", !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 = !{!"cfi_softc", !8, i64 0, !13, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"thread", !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !9, i64 0} !18 = !{!12, !13, i64 8}
freebsd_sys_dev_cfi_extr_cfi_dev.c_cfi_devclose
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netlabel/extr_netlabel_kapi.c_netlbl_cache_invalidate.c' source_filename = "AnghaBench/fastsocket/kernel/net/netlabel/extr_netlabel_kapi.c_netlbl_cache_invalidate.c" target datalayout = "e-m:e-p270:32:32-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 @netlbl_cache_invalidate() local_unnamed_addr #0 { %1 = tail call i32 (...) @cipso_v4_cache_invalidate() #2 ret void } declare i32 @cipso_v4_cache_invalidate(...) 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/net/netlabel/extr_netlabel_kapi.c_netlbl_cache_invalidate.c' source_filename = "AnghaBench/fastsocket/kernel/net/netlabel/extr_netlabel_kapi.c_netlbl_cache_invalidate.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 @netlbl_cache_invalidate() local_unnamed_addr #0 { %1 = tail call i32 @cipso_v4_cache_invalidate() #2 ret void } declare i32 @cipso_v4_cache_invalidate(...) 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_net_netlabel_extr_netlabel_kapi.c_netlbl_cache_invalidate
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ff_cmdutils.c_grow_array.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ff_cmdutils.c_grow_array.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INT_MAX = dso_local local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Array too big.\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Could not alloc buffer.\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @grow_array(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @INT_MAX, align 4, !tbaa !5 %6 = sdiv i32 %5, %1 %7 = icmp sgt i32 %6, %3 br i1 %7, label %11, label %8 8: ; preds = %4 %9 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %10 = tail call i32 @av_log(ptr noundef null, i32 noundef %9, ptr noundef nonnull @.str) #2 br label %28 11: ; preds = %4 %12 = load i32, ptr %2, align 4, !tbaa !5 %13 = icmp slt i32 %12, %3 br i1 %13, label %14, label %28 14: ; preds = %11 %15 = tail call ptr @av_realloc_array(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5 %19 = tail call i32 @av_log(ptr noundef null, i32 noundef %18, ptr noundef nonnull @.str.1) #2 br label %28 20: ; preds = %14 %21 = load i32, ptr %2, align 4, !tbaa !5 %22 = mul nsw i32 %21, %1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %15, i64 %23 %25 = sub nsw i32 %3, %21 %26 = mul nsw i32 %25, %1 %27 = tail call i32 @memset(ptr noundef nonnull %24, i32 noundef 0, i32 noundef %26) #2 store i32 %3, ptr %2, align 4, !tbaa !5 br label %28 28: ; preds = %11, %17, %20, %8 %29 = phi ptr [ null, %8 ], [ %15, %20 ], [ null, %17 ], [ %0, %11 ] ret ptr %29 } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @av_realloc_array(ptr noundef, i32 noundef, i32 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ff_cmdutils.c_grow_array.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ff_cmdutils.c_grow_array.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INT_MAX = common local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"Array too big.\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Could not alloc buffer.\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @grow_array(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @INT_MAX, align 4, !tbaa !6 %6 = sdiv i32 %5, %1 %7 = icmp sgt i32 %6, %3 br i1 %7, label %11, label %8 8: ; preds = %4 %9 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %10 = tail call i32 @av_log(ptr noundef null, i32 noundef %9, ptr noundef nonnull @.str) #2 br label %28 11: ; preds = %4 %12 = load i32, ptr %2, align 4, !tbaa !6 %13 = icmp slt i32 %12, %3 br i1 %13, label %14, label %28 14: ; preds = %11 %15 = tail call ptr @av_realloc_array(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6 %19 = tail call i32 @av_log(ptr noundef null, i32 noundef %18, ptr noundef nonnull @.str.1) #2 br label %28 20: ; preds = %14 %21 = load i32, ptr %2, align 4, !tbaa !6 %22 = mul nsw i32 %21, %1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %15, i64 %23 %25 = sub nsw i32 %3, %21 %26 = mul nsw i32 %25, %1 %27 = tail call i32 @memset(ptr noundef nonnull %24, i32 noundef 0, i32 noundef %26) #2 store i32 %3, ptr %2, align 4, !tbaa !6 br label %28 28: ; preds = %11, %17, %20, %8 %29 = phi ptr [ null, %8 ], [ %15, %20 ], [ null, %17 ], [ %0, %11 ] ret ptr %29 } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @av_realloc_array(ptr noundef, i32 noundef, i32 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
ijkplayer_ijkmedia_ijkplayer_extr_ff_cmdutils.c_grow_array
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/html/extr_css-apply.c_count_condition_names.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/html/extr_css-apply.c_count_condition_names.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i8, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @count_condition_names], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @count_condition_names(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %13, label %3 3: ; preds = %1, %3 %4 = phi i32 [ %9, %3 ], [ 0, %1 ] %5 = phi ptr [ %11, %3 ], [ %0, %1 ] %6 = load i8, ptr %5, align 8, !tbaa !5 %7 = icmp eq i8 %6, 58 %8 = zext i1 %7 to i32 %9 = add nuw nsw i32 %4, %8 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %3, !llvm.loop !11 13: ; preds = %3, %1 %14 = phi i32 [ 0, %1 ], [ %9, %3 ] ret i32 %14 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !9, i64 8} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!"any pointer", !7, i64 0} !10 = !{!6, !9, i64 8} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/html/extr_css-apply.c_count_condition_names.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/html/extr_css-apply.c_count_condition_names.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @count_condition_names], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @count_condition_names(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %13, label %3 3: ; preds = %1, %3 %4 = phi i32 [ %9, %3 ], [ 0, %1 ] %5 = phi ptr [ %11, %3 ], [ %0, %1 ] %6 = load i8, ptr %5, align 8, !tbaa !6 %7 = icmp eq i8 %6, 58 %8 = zext i1 %7 to i32 %9 = add nuw nsw i32 %4, %8 %10 = getelementptr inbounds i8, ptr %5, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !11 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %3, !llvm.loop !12 13: ; preds = %3, %1 %14 = phi i32 [ 0, %1 ], [ %9, %3 ] ret i32 %14 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !10, i64 8} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !10, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
sumatrapdf_mupdf_source_html_extr_css-apply.c_count_condition_names
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_tc.c_mlx5e_hairpin_put.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_tc.c_mlx5e_hairpin_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" %struct.mlx5e_hairpin_entry = type { i32, ptr, i32, i32 } %struct.mlx5e_priv = type { i32, %struct.TYPE_9__ } %struct.TYPE_9__ = type { %struct.TYPE_10__ } %struct.TYPE_10__ = type { i32 } @.str = private unnamed_addr constant [22 x i8] c"del hairpin: peer %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5e_hairpin_put], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mlx5e_hairpin_put(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.mlx5e_hairpin_entry, ptr %1, i64 0, i32 3 %4 = getelementptr inbounds %struct.mlx5e_priv, ptr %0, i64 0, i32 1 %5 = tail call i32 @refcount_dec_and_mutex_lock(ptr noundef nonnull %3, ptr noundef nonnull %4) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %31, label %7 7: ; preds = %2 %8 = getelementptr inbounds %struct.mlx5e_hairpin_entry, ptr %1, i64 0, i32 2 %9 = tail call i32 @hash_del(ptr noundef nonnull %8) #2 %10 = tail call i32 @mutex_unlock(ptr noundef nonnull %4) #2 %11 = getelementptr inbounds %struct.mlx5e_hairpin_entry, ptr %1, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !5 %13 = tail call i32 @IS_ERR_OR_NULL(ptr noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %7 %16 = load i32, ptr %0, align 4, !tbaa !11 %17 = load ptr, ptr %11, align 8, !tbaa !5 %18 = load ptr, ptr %17, align 8, !tbaa !15 %19 = load ptr, ptr %18, align 8, !tbaa !17 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = tail call i32 @dev_name(i32 noundef %20) #2 %22 = tail call i32 @netdev_dbg(i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %21) #2 %23 = load ptr, ptr %11, align 8, !tbaa !5 %24 = tail call i32 @mlx5e_hairpin_destroy(ptr noundef %23) #2 br label %25 25: ; preds = %15, %7 %26 = tail call i32 @list_empty(ptr noundef nonnull %1) #2 %27 = icmp eq i32 %26, 0 %28 = zext i1 %27 to i32 %29 = tail call i32 @WARN_ON(i32 noundef %28) #2 %30 = tail call i32 @kfree(ptr noundef nonnull %1) #2 br label %31 31: ; preds = %2, %25 ret void } declare i32 @refcount_dec_and_mutex_lock(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hash_del(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1 declare i32 @netdev_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(i32 noundef) local_unnamed_addr #1 declare i32 @mlx5e_hairpin_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(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, !10, i64 8} !6 = !{!"mlx5e_hairpin_entry", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"mlx5e_priv", !7, i64 0, !13, i64 4} !13 = !{!"TYPE_9__", !14, i64 0} !14 = !{!"TYPE_10__", !7, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_11__", !10, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_8__", !10, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_7__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_tc.c_mlx5e_hairpin_put.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_tc.c_mlx5e_hairpin_put.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 [22 x i8] c"del hairpin: peer %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mlx5e_hairpin_put], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mlx5e_hairpin_put(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 20 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = tail call i32 @refcount_dec_and_mutex_lock(ptr noundef nonnull %3, ptr noundef nonnull %4) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %31, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %1, i64 16 %9 = tail call i32 @hash_del(ptr noundef nonnull %8) #2 %10 = tail call i32 @mutex_unlock(ptr noundef nonnull %4) #2 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !6 %13 = tail call i32 @IS_ERR_OR_NULL(ptr noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %7 %16 = load i32, ptr %0, align 4, !tbaa !12 %17 = load ptr, ptr %11, align 8, !tbaa !6 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = load ptr, ptr %18, align 8, !tbaa !18 %20 = load i32, ptr %19, align 4, !tbaa !20 %21 = tail call i32 @dev_name(i32 noundef %20) #2 %22 = tail call i32 @netdev_dbg(i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %21) #2 %23 = load ptr, ptr %11, align 8, !tbaa !6 %24 = tail call i32 @mlx5e_hairpin_destroy(ptr noundef %23) #2 br label %25 25: ; preds = %15, %7 %26 = tail call i32 @list_empty(ptr noundef nonnull %1) #2 %27 = icmp eq i32 %26, 0 %28 = zext i1 %27 to i32 %29 = tail call i32 @WARN_ON(i32 noundef %28) #2 %30 = tail call i32 @kfree(ptr noundef nonnull %1) #2 br label %31 31: ; preds = %2, %25 ret void } declare i32 @refcount_dec_and_mutex_lock(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hash_del(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #1 declare i32 @netdev_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(i32 noundef) local_unnamed_addr #1 declare i32 @mlx5e_hairpin_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(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, !11, i64 8} !7 = !{!"mlx5e_hairpin_entry", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"mlx5e_priv", !8, i64 0, !14, i64 4} !14 = !{!"TYPE_9__", !15, i64 0} !15 = !{!"TYPE_10__", !8, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_11__", !11, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_8__", !11, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_7__", !8, i64 0}
linux_drivers_net_ethernet_mellanox_mlx5_core_extr_en_tc.c_mlx5e_hairpin_put
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test8.c_appendToEchoModule.c' source_filename = "AnghaBench/sqlcipher/src/extr_test8.c_appendToEchoModule.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TCL_APPEND_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @TCL_LIST_ELEMENT = dso_local local_unnamed_addr global i32 0, align 4 @TCL_GLOBAL_ONLY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"echo_module\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @appendToEchoModule], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @appendToEchoModule(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @TCL_APPEND_VALUE, align 4, !tbaa !5 %4 = load i32, ptr @TCL_LIST_ELEMENT, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = load i32, ptr @TCL_GLOBAL_ONLY, align 4, !tbaa !5 %7 = or i32 %5, %6 %8 = icmp eq ptr %1, null %9 = select i1 %8, ptr @.str.1, ptr %1 %10 = tail call i32 @Tcl_SetVar(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %9, i32 noundef %7) #2 ret void } declare i32 @Tcl_SetVar(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test8.c_appendToEchoModule.c' source_filename = "AnghaBench/sqlcipher/src/extr_test8.c_appendToEchoModule.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCL_APPEND_VALUE = common local_unnamed_addr global i32 0, align 4 @TCL_LIST_ELEMENT = common local_unnamed_addr global i32 0, align 4 @TCL_GLOBAL_ONLY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"echo_module\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @llvm.used = appending global [1 x ptr] [ptr @appendToEchoModule], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @appendToEchoModule(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @TCL_APPEND_VALUE, align 4, !tbaa !6 %4 = load i32, ptr @TCL_LIST_ELEMENT, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = load i32, ptr @TCL_GLOBAL_ONLY, align 4, !tbaa !6 %7 = or i32 %5, %6 %8 = icmp eq ptr %1, null %9 = select i1 %8, ptr @.str.1, ptr %1 %10 = tail call i32 @Tcl_SetVar(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %9, i32 noundef %7) #2 ret void } declare i32 @Tcl_SetVar(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
sqlcipher_src_extr_test8.c_appendToEchoModule
; ModuleID = 'AnghaBench/freebsd/tools/regression/netinet/tcpdrop/extr_tcpdrop.c_tcp_client.c' source_filename = "AnghaBench/freebsd/tools/regression/netinet/tcpdrop/extr_tcpdrop.c_tcp_client.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @SIGTERM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @INADDR_LOOPBACK = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"getsockname\00", align 1 @MSG_NOSIGNAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"tcp_client: send (1)\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"tcp_client: send (1) len\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"tcp_client: tcp_drop\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"tcp_client: send (2): success\00", align 1 @EPIPE = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [21 x i8] c"tcp_client: send (2)\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @tcp_client], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tcp_client(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #4 %7 = tail call i32 @sleep(i32 noundef 1) #4 %8 = load i32, ptr @PF_INET, align 4, !tbaa !5 %9 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !5 %10 = tail call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) #4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load i32, ptr @errno, align 4, !tbaa !5 %14 = load i32, ptr @SIGTERM, align 4, !tbaa !5 %15 = tail call i32 @kill(i32 noundef %0, i32 noundef %14) #4 store i32 %13, ptr @errno, align 4, !tbaa !5 %16 = tail call i32 @err(i32 noundef -1, ptr noundef nonnull @.str) #4 br label %17 17: ; preds = %12, %2 %18 = call i32 @bzero(ptr noundef nonnull %3, i32 noundef 16) #4 %19 = load i32, ptr @AF_INET, align 4, !tbaa !5 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i64 0, i32 3 store i32 %19, ptr %20, align 4, !tbaa !9 store i32 16, ptr %3, align 4, !tbaa !12 %21 = load i32, ptr @INADDR_LOOPBACK, align 4, !tbaa !5 %22 = call i32 @ntohl(i32 noundef %21) %23 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i64 0, i32 2 store i32 %22, ptr %23, align 4, !tbaa !13 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i64 0, i32 1 store i32 %1, ptr %24, align 4, !tbaa !14 %25 = call i64 @connect(i32 noundef %10, ptr noundef nonnull %3, i32 noundef 16) #4 %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %17 %28 = load i32, ptr @errno, align 4, !tbaa !5 %29 = load i32, ptr @SIGTERM, align 4, !tbaa !5 %30 = call i32 @kill(i32 noundef %0, i32 noundef %29) #4 store i32 %28, ptr @errno, align 4, !tbaa !5 %31 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.1) #4 br label %32 32: ; preds = %27, %17 store i32 16, ptr %5, align 4, !tbaa !5 %33 = call i64 @getsockname(i32 noundef %10, ptr noundef nonnull %4, ptr noundef nonnull %5) #4 %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %40 35: ; preds = %32 %36 = load i32, ptr @errno, align 4, !tbaa !5 %37 = load i32, ptr @SIGTERM, align 4, !tbaa !5 %38 = call i32 @kill(i32 noundef %0, i32 noundef %37) #4 store i32 %36, ptr @errno, align 4, !tbaa !5 %39 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.2) #4 br label %40 40: ; preds = %35, %32 store i8 65, ptr %6, align 1, !tbaa !15 %41 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !5 %42 = call i32 @send(i32 noundef %10, ptr noundef nonnull %6, i32 noundef 1, i32 noundef %41) #4 %43 = icmp slt i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = load i32, ptr @errno, align 4, !tbaa !5 %46 = load i32, ptr @SIGTERM, align 4, !tbaa !5 %47 = call i32 @kill(i32 noundef %0, i32 noundef %46) #4 store i32 %45, ptr @errno, align 4, !tbaa !5 %48 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.3) #4 br label %51 49: ; preds = %40 %50 = icmp eq i32 %42, 1 br i1 %50, label %55, label %51 51: ; preds = %44, %49 %52 = load i32, ptr @SIGTERM, align 4, !tbaa !5 %53 = call i32 @kill(i32 noundef %0, i32 noundef %52) #4 %54 = call i32 @errx(i32 noundef -1, ptr noundef nonnull @.str.4) #4 br label %55 55: ; preds = %51, %49 %56 = call i32 @sleep(i32 noundef 5) #4 %57 = call i64 @tcp_drop(ptr noundef nonnull %4, ptr noundef nonnull %3) #4 %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %64 59: ; preds = %55 %60 = load i32, ptr @errno, align 4, !tbaa !5 %61 = load i32, ptr @SIGTERM, align 4, !tbaa !5 %62 = call i32 @kill(i32 noundef %0, i32 noundef %61) #4 store i32 %60, ptr @errno, align 4, !tbaa !5 %63 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.5) #4 br label %64 64: ; preds = %59, %55 %65 = call i32 @sleep(i32 noundef 5) #4 store i8 65, ptr %6, align 1, !tbaa !15 %66 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !5 %67 = call i32 @send(i32 noundef %10, ptr noundef nonnull %6, i32 noundef 1, i32 noundef %66) #4 %68 = icmp sgt i32 %67, -1 br i1 %68, label %69, label %73 69: ; preds = %64 %70 = load i32, ptr @SIGTERM, align 4, !tbaa !5 %71 = call i32 @kill(i32 noundef %0, i32 noundef %70) #4 %72 = call i32 @errx(i32 noundef -1, ptr noundef nonnull @.str.6) #4 br label %81 73: ; preds = %64 %74 = load i32, ptr @errno, align 4, !tbaa !5 %75 = load i32, ptr @EPIPE, align 4, !tbaa !5 %76 = icmp eq i32 %74, %75 br i1 %76, label %81, label %77 77: ; preds = %73 %78 = load i32, ptr @SIGTERM, align 4, !tbaa !5 %79 = call i32 @kill(i32 noundef %0, i32 noundef %78) #4 store i32 %74, ptr @errno, align 4, !tbaa !5 %80 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.7) #4 br label %81 81: ; preds = %73, %77, %69 %82 = call i32 @close(i32 noundef %10) #4 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sleep(i32 noundef) local_unnamed_addr #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kill(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @ntohl(i32 noundef) local_unnamed_addr #3 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errx(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tcp_drop(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @close(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 = { nofree nosync nounwind memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"sockaddr_in", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 12} !11 = !{!"TYPE_2__", !6, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!10, !6, i64 8} !14 = !{!10, !6, i64 4} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/tools/regression/netinet/tcpdrop/extr_tcpdrop.c_tcp_client.c' source_filename = "AnghaBench/freebsd/tools/regression/netinet/tcpdrop/extr_tcpdrop.c_tcp_client.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @PF_INET = common local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @SIGTERM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @AF_INET = common local_unnamed_addr global i32 0, align 4 @INADDR_LOOPBACK = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"getsockname\00", align 1 @MSG_NOSIGNAL = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"tcp_client: send (1)\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"tcp_client: send (1) len\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"tcp_client: tcp_drop\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"tcp_client: send (2): success\00", align 1 @EPIPE = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [21 x i8] c"tcp_client: send (2)\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @tcp_client], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tcp_client(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #4 %7 = tail call i32 @sleep(i32 noundef 1) #4 %8 = load i32, ptr @PF_INET, align 4, !tbaa !6 %9 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !6 %10 = tail call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) #4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load i32, ptr @errno, align 4, !tbaa !6 %14 = load i32, ptr @SIGTERM, align 4, !tbaa !6 %15 = tail call i32 @kill(i32 noundef %0, i32 noundef %14) #4 store i32 %13, ptr @errno, align 4, !tbaa !6 %16 = tail call i32 @err(i32 noundef -1, ptr noundef nonnull @.str) #4 br label %17 17: ; preds = %12, %2 %18 = call i32 @bzero(ptr noundef nonnull %3, i32 noundef 16) #4 %19 = load i32, ptr @AF_INET, align 4, !tbaa !6 %20 = getelementptr inbounds i8, ptr %3, i64 12 store i32 %19, ptr %20, align 4, !tbaa !10 store i32 16, ptr %3, align 4, !tbaa !13 %21 = load i32, ptr @INADDR_LOOPBACK, align 4, !tbaa !6 %22 = call i32 @ntohl(i32 noundef %21) %23 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %22, ptr %23, align 4, !tbaa !14 %24 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %1, ptr %24, align 4, !tbaa !15 %25 = call i64 @connect(i32 noundef %10, ptr noundef nonnull %3, i32 noundef 16) #4 %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %17 %28 = load i32, ptr @errno, align 4, !tbaa !6 %29 = load i32, ptr @SIGTERM, align 4, !tbaa !6 %30 = call i32 @kill(i32 noundef %0, i32 noundef %29) #4 store i32 %28, ptr @errno, align 4, !tbaa !6 %31 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.1) #4 br label %32 32: ; preds = %27, %17 store i32 16, ptr %5, align 4, !tbaa !6 %33 = call i64 @getsockname(i32 noundef %10, ptr noundef nonnull %4, ptr noundef nonnull %5) #4 %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %40 35: ; preds = %32 %36 = load i32, ptr @errno, align 4, !tbaa !6 %37 = load i32, ptr @SIGTERM, align 4, !tbaa !6 %38 = call i32 @kill(i32 noundef %0, i32 noundef %37) #4 store i32 %36, ptr @errno, align 4, !tbaa !6 %39 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.2) #4 br label %40 40: ; preds = %35, %32 store i8 65, ptr %6, align 1, !tbaa !16 %41 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !6 %42 = call i32 @send(i32 noundef %10, ptr noundef nonnull %6, i32 noundef 1, i32 noundef %41) #4 %43 = icmp slt i32 %42, 0 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = load i32, ptr @errno, align 4, !tbaa !6 %46 = load i32, ptr @SIGTERM, align 4, !tbaa !6 %47 = call i32 @kill(i32 noundef %0, i32 noundef %46) #4 store i32 %45, ptr @errno, align 4, !tbaa !6 %48 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.3) #4 br label %51 49: ; preds = %40 %50 = icmp eq i32 %42, 1 br i1 %50, label %55, label %51 51: ; preds = %44, %49 %52 = load i32, ptr @SIGTERM, align 4, !tbaa !6 %53 = call i32 @kill(i32 noundef %0, i32 noundef %52) #4 %54 = call i32 @errx(i32 noundef -1, ptr noundef nonnull @.str.4) #4 br label %55 55: ; preds = %51, %49 %56 = call i32 @sleep(i32 noundef 5) #4 %57 = call i64 @tcp_drop(ptr noundef nonnull %4, ptr noundef nonnull %3) #4 %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %64 59: ; preds = %55 %60 = load i32, ptr @errno, align 4, !tbaa !6 %61 = load i32, ptr @SIGTERM, align 4, !tbaa !6 %62 = call i32 @kill(i32 noundef %0, i32 noundef %61) #4 store i32 %60, ptr @errno, align 4, !tbaa !6 %63 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.5) #4 br label %64 64: ; preds = %59, %55 %65 = call i32 @sleep(i32 noundef 5) #4 store i8 65, ptr %6, align 1, !tbaa !16 %66 = load i32, ptr @MSG_NOSIGNAL, align 4, !tbaa !6 %67 = call i32 @send(i32 noundef %10, ptr noundef nonnull %6, i32 noundef 1, i32 noundef %66) #4 %68 = icmp sgt i32 %67, -1 br i1 %68, label %69, label %73 69: ; preds = %64 %70 = load i32, ptr @SIGTERM, align 4, !tbaa !6 %71 = call i32 @kill(i32 noundef %0, i32 noundef %70) #4 %72 = call i32 @errx(i32 noundef -1, ptr noundef nonnull @.str.6) #4 br label %81 73: ; preds = %64 %74 = load i32, ptr @errno, align 4, !tbaa !6 %75 = load i32, ptr @EPIPE, align 4, !tbaa !6 %76 = icmp eq i32 %74, %75 br i1 %76, label %81, label %77 77: ; preds = %73 %78 = load i32, ptr @SIGTERM, align 4, !tbaa !6 %79 = call i32 @kill(i32 noundef %0, i32 noundef %78) #4 store i32 %74, ptr @errno, align 4, !tbaa !6 %80 = call i32 @err(i32 noundef -1, ptr noundef nonnull @.str.7) #4 br label %81 81: ; preds = %73, %77, %69 %82 = call i32 @close(i32 noundef %10) #4 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sleep(i32 noundef) local_unnamed_addr #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kill(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @ntohl(i32 noundef) local_unnamed_addr #3 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errx(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tcp_drop(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @close(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 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"sockaddr_in", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 12} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!11, !7, i64 4} !16 = !{!8, !8, i64 0}
freebsd_tools_regression_netinet_tcpdrop_extr_tcpdrop.c_tcp_client
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-lpc18xx.c_lpc18xx_pconf_get_usb1.c' source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-lpc18xx.c_lpc18xx_pconf_get_usb1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LPC18XX_SCU_USB1_EPWR = dso_local local_unnamed_addr global i32 0, align 4 @LPC18XX_SCU_USB1_EPD = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ENOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lpc18xx_pconf_get_usb1], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal i32 @lpc18xx_pconf_get_usb1(i32 noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { switch i32 %0, label %25 [ i32 128, label %4 i32 130, label %10 i32 129, label %17 ] 4: ; preds = %3 %5 = load i32, ptr @LPC18XX_SCU_USB1_EPWR, align 4, !tbaa !5 %6 = and i32 %5, %2 %7 = icmp eq i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %4 store i32 0, ptr %1, align 4, !tbaa !5 br label %28 9: ; preds = %4 store i32 1, ptr %1, align 4, !tbaa !5 br label %28 10: ; preds = %3 %11 = load i32, ptr @LPC18XX_SCU_USB1_EPD, align 4, !tbaa !5 %12 = and i32 %11, %2 %13 = icmp eq i32 %12, 0 br i1 %13, label %28, label %14 14: ; preds = %10 %15 = load i32, ptr @EINVAL, align 4, !tbaa !5 %16 = sub nsw i32 0, %15 br label %28 17: ; preds = %3 %18 = load i32, ptr @LPC18XX_SCU_USB1_EPD, align 4, !tbaa !5 %19 = and i32 %18, %2 %20 = icmp eq i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %17 store i32 1, ptr %1, align 4, !tbaa !5 br label %28 22: ; preds = %17 %23 = load i32, ptr @EINVAL, align 4, !tbaa !5 %24 = sub nsw i32 0, %23 br label %28 25: ; preds = %3 %26 = load i32, ptr @ENOTSUPP, align 4, !tbaa !5 %27 = sub nsw i32 0, %26 br label %28 28: ; preds = %21, %9, %8, %10, %25, %22, %14 %29 = phi i32 [ %27, %25 ], [ %24, %22 ], [ %16, %14 ], [ 0, %10 ], [ 0, %8 ], [ 0, %9 ], [ 0, %21 ] ret i32 %29 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-lpc18xx.c_lpc18xx_pconf_get_usb1.c' source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-lpc18xx.c_lpc18xx_pconf_get_usb1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LPC18XX_SCU_USB1_EPWR = common local_unnamed_addr global i32 0, align 4 @LPC18XX_SCU_USB1_EPD = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @ENOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lpc18xx_pconf_get_usb1], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @lpc18xx_pconf_get_usb1(i32 noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { switch i32 %0, label %25 [ i32 128, label %4 i32 130, label %10 i32 129, label %17 ] 4: ; preds = %3 %5 = load i32, ptr @LPC18XX_SCU_USB1_EPWR, align 4, !tbaa !6 %6 = and i32 %5, %2 %7 = icmp eq i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %4 store i32 0, ptr %1, align 4, !tbaa !6 br label %28 9: ; preds = %4 store i32 1, ptr %1, align 4, !tbaa !6 br label %28 10: ; preds = %3 %11 = load i32, ptr @LPC18XX_SCU_USB1_EPD, align 4, !tbaa !6 %12 = and i32 %11, %2 %13 = icmp eq i32 %12, 0 br i1 %13, label %28, label %14 14: ; preds = %10 %15 = load i32, ptr @EINVAL, align 4, !tbaa !6 %16 = sub nsw i32 0, %15 br label %28 17: ; preds = %3 %18 = load i32, ptr @LPC18XX_SCU_USB1_EPD, align 4, !tbaa !6 %19 = and i32 %18, %2 %20 = icmp eq i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %17 store i32 1, ptr %1, align 4, !tbaa !6 br label %28 22: ; preds = %17 %23 = load i32, ptr @EINVAL, align 4, !tbaa !6 %24 = sub nsw i32 0, %23 br label %28 25: ; preds = %3 %26 = load i32, ptr @ENOTSUPP, align 4, !tbaa !6 %27 = sub nsw i32 0, %26 br label %28 28: ; preds = %21, %9, %8, %10, %25, %22, %14 %29 = phi i32 [ %27, %25 ], [ %24, %22 ], [ %16, %14 ], [ 0, %10 ], [ 0, %8 ], [ 0, %9 ], [ 0, %21 ] ret i32 %29 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_pinctrl_extr_pinctrl-lpc18xx.c_lpc18xx_pconf_get_usb1
; ModuleID = 'AnghaBench/jerryscript/tests/unit-ext/extr_test-ext-arg.c_test_validator_prop1_handler.c' source_filename = "AnghaBench/jerryscript/tests/unit-ext/extr_test-ext-arg.c_test_validator_prop1_handler.c" target datalayout = "e-m:e-p270:32:32-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 [6 x i8] c"prop1\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"prop2\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"prop3\00", align 1 @__const.test_validator_prop1_handler.name_p = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16 @JERRYX_ARG_COERCE = dso_local local_unnamed_addr global i32 0, align 4 @JERRYX_ARG_REQUIRED = dso_local local_unnamed_addr global i32 0, align 4 @JERRYX_ARG_OPTIONAL = dso_local local_unnamed_addr global i32 0, align 4 @validator_prop_count = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_validator_prop1_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @test_validator_prop1_handler(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca [3 x ptr], align 16 %9 = alloca [3 x ptr], align 16 %10 = tail call i32 @JERRY_UNUSED(i32 noundef %0) #4 %11 = tail call i32 @JERRY_UNUSED(i32 noundef %1) #4 %12 = tail call i32 @JERRY_UNUSED(i32 noundef %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 store i32 0, ptr %5, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 store double 0.000000e+00, ptr %6, align 8, !tbaa !9 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 store double 3.000000e+00, ptr %7, align 8, !tbaa !9 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %8, ptr noundef nonnull align 16 dereferenceable(24) @__const.test_validator_prop1_handler.name_p, i64 24, i1 false) call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4 %13 = load i32, ptr @JERRYX_ARG_COERCE, align 4, !tbaa !5 %14 = load i32, ptr @JERRYX_ARG_REQUIRED, align 4, !tbaa !5 %15 = call ptr @jerryx_arg_boolean(ptr noundef nonnull %5, i32 noundef %13, i32 noundef %14) #4 store ptr %15, ptr %9, align 16, !tbaa !11 %16 = getelementptr inbounds ptr, ptr %9, i64 1 %17 = load i32, ptr @JERRYX_ARG_COERCE, align 4, !tbaa !5 %18 = load i32, ptr @JERRYX_ARG_REQUIRED, align 4, !tbaa !5 %19 = call ptr @jerryx_arg_number(ptr noundef nonnull %6, i32 noundef %17, i32 noundef %18) #4 store ptr %19, ptr %16, align 8, !tbaa !11 %20 = getelementptr inbounds ptr, ptr %9, i64 2 %21 = load i32, ptr @JERRYX_ARG_COERCE, align 4, !tbaa !5 %22 = load i32, ptr @JERRYX_ARG_OPTIONAL, align 4, !tbaa !5 %23 = call ptr @jerryx_arg_number(ptr noundef nonnull %7, i32 noundef %21, i32 noundef %22) #4 store ptr %23, ptr %20, align 16, !tbaa !11 %24 = load i32, ptr %2, align 4, !tbaa !5 %25 = call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #4 %26 = call i32 @ARRAY_SIZE(ptr noundef nonnull %9) #4 %27 = call i32 @jerryx_arg_transform_object_properties(i32 noundef %24, ptr noundef nonnull %8, i32 noundef %25, ptr noundef nonnull %9, i32 noundef %26) #4 %28 = call i32 @jerry_value_is_error(i32 noundef %27) #4 %29 = icmp eq i32 %28, 0 %30 = zext i1 %29 to i32 %31 = call i32 @TEST_ASSERT(i32 noundef %30) #4 %32 = load i32, ptr %5, align 4, !tbaa !5 %33 = call i32 @TEST_ASSERT(i32 noundef %32) #4 %34 = load double, ptr %6, align 8, !tbaa !9 %35 = fcmp oeq double %34, 1.500000e+00 %36 = zext i1 %35 to i32 %37 = call i32 @TEST_ASSERT(i32 noundef %36) #4 %38 = load double, ptr %7, align 8, !tbaa !9 %39 = fcmp oeq double %38, 3.000000e+00 %40 = zext i1 %39 to i32 %41 = call i32 @TEST_ASSERT(i32 noundef %40) #4 %42 = load i32, ptr @validator_prop_count, align 4, !tbaa !5 %43 = add nsw i32 %42, 1 store i32 %43, ptr @validator_prop_count, align 4, !tbaa !5 %44 = call i32 (...) @jerry_create_undefined() #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 ret i32 %44 } declare i32 @JERRY_UNUSED(i32 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 ; 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 ptr @jerryx_arg_boolean(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @jerryx_arg_number(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @jerryx_arg_transform_object_properties(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @TEST_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @jerry_value_is_error(i32 noundef) local_unnamed_addr #1 declare i32 @jerry_create_undefined(...) 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 = !{!"double", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/jerryscript/tests/unit-ext/extr_test-ext-arg.c_test_validator_prop1_handler.c' source_filename = "AnghaBench/jerryscript/tests/unit-ext/extr_test-ext-arg.c_test_validator_prop1_handler.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 [6 x i8] c"prop1\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"prop2\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"prop3\00", align 1 @__const.test_validator_prop1_handler.name_p = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 8 @JERRYX_ARG_COERCE = common local_unnamed_addr global i32 0, align 4 @JERRYX_ARG_REQUIRED = common local_unnamed_addr global i32 0, align 4 @JERRYX_ARG_OPTIONAL = common local_unnamed_addr global i32 0, align 4 @validator_prop_count = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @test_validator_prop1_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @test_validator_prop1_handler(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca [3 x ptr], align 8 %9 = alloca [3 x ptr], align 8 %10 = tail call i32 @JERRY_UNUSED(i32 noundef %0) #4 %11 = tail call i32 @JERRY_UNUSED(i32 noundef %1) #4 %12 = tail call i32 @JERRY_UNUSED(i32 noundef %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 store i32 0, ptr %5, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 store double 0.000000e+00, ptr %6, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 store double 3.000000e+00, ptr %7, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) @__const.test_validator_prop1_handler.name_p, i64 24, i1 false) call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4 %13 = load i32, ptr @JERRYX_ARG_COERCE, align 4, !tbaa !6 %14 = load i32, ptr @JERRYX_ARG_REQUIRED, align 4, !tbaa !6 %15 = call ptr @jerryx_arg_boolean(ptr noundef nonnull %5, i32 noundef %13, i32 noundef %14) #4 store ptr %15, ptr %9, align 8, !tbaa !12 %16 = getelementptr inbounds i8, ptr %9, i64 8 %17 = load i32, ptr @JERRYX_ARG_COERCE, align 4, !tbaa !6 %18 = load i32, ptr @JERRYX_ARG_REQUIRED, align 4, !tbaa !6 %19 = call ptr @jerryx_arg_number(ptr noundef nonnull %6, i32 noundef %17, i32 noundef %18) #4 store ptr %19, ptr %16, align 8, !tbaa !12 %20 = getelementptr inbounds i8, ptr %9, i64 16 %21 = load i32, ptr @JERRYX_ARG_COERCE, align 4, !tbaa !6 %22 = load i32, ptr @JERRYX_ARG_OPTIONAL, align 4, !tbaa !6 %23 = call ptr @jerryx_arg_number(ptr noundef nonnull %7, i32 noundef %21, i32 noundef %22) #4 store ptr %23, ptr %20, align 8, !tbaa !12 %24 = load i32, ptr %2, align 4, !tbaa !6 %25 = call i32 @ARRAY_SIZE(ptr noundef nonnull %8) #4 %26 = call i32 @ARRAY_SIZE(ptr noundef nonnull %9) #4 %27 = call i32 @jerryx_arg_transform_object_properties(i32 noundef %24, ptr noundef nonnull %8, i32 noundef %25, ptr noundef nonnull %9, i32 noundef %26) #4 %28 = call i32 @jerry_value_is_error(i32 noundef %27) #4 %29 = icmp eq i32 %28, 0 %30 = zext i1 %29 to i32 %31 = call i32 @TEST_ASSERT(i32 noundef %30) #4 %32 = load i32, ptr %5, align 4, !tbaa !6 %33 = call i32 @TEST_ASSERT(i32 noundef %32) #4 %34 = load double, ptr %6, align 8, !tbaa !10 %35 = fcmp oeq double %34, 1.500000e+00 %36 = zext i1 %35 to i32 %37 = call i32 @TEST_ASSERT(i32 noundef %36) #4 %38 = load double, ptr %7, align 8, !tbaa !10 %39 = fcmp oeq double %38, 3.000000e+00 %40 = zext i1 %39 to i32 %41 = call i32 @TEST_ASSERT(i32 noundef %40) #4 %42 = load i32, ptr @validator_prop_count, align 4, !tbaa !6 %43 = add nsw i32 %42, 1 store i32 %43, ptr @validator_prop_count, align 4, !tbaa !6 %44 = call i32 @jerry_create_undefined() #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 ret i32 %44 } declare i32 @JERRY_UNUSED(i32 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 ; 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 ptr @jerryx_arg_boolean(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @jerryx_arg_number(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @jerryx_arg_transform_object_properties(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @TEST_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @jerry_value_is_error(i32 noundef) local_unnamed_addr #1 declare i32 @jerry_create_undefined(...) 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 = !{!"double", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
jerryscript_tests_unit-ext_extr_test-ext-arg.c_test_validator_prop1_handler
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/lz4/lib/extr_lz4.c_LZ4_compress.c' source_filename = "AnghaBench/borg/src/borg/algorithms/lz4/lib/extr_lz4.c_LZ4_compress.c" target datalayout = "e-m:e-p270:32:32-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 @LZ4_compress(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @LZ4_compressBound(i32 noundef %2) #2 %5 = tail call i32 @LZ4_compress_default(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %4) #2 ret i32 %5 } declare i32 @LZ4_compress_default(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LZ4_compressBound(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/borg/src/borg/algorithms/lz4/lib/extr_lz4.c_LZ4_compress.c' source_filename = "AnghaBench/borg/src/borg/algorithms/lz4/lib/extr_lz4.c_LZ4_compress.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 @LZ4_compress(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @LZ4_compressBound(i32 noundef %2) #2 %5 = tail call i32 @LZ4_compress_default(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %4) #2 ret i32 %5 } declare i32 @LZ4_compress_default(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LZ4_compressBound(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)"}
borg_src_borg_algorithms_lz4_lib_extr_lz4.c_LZ4_compress
; ModuleID = 'AnghaBench/kphp-kdb/image/extr_image-data.c_forth_get_attr.c' source_filename = "AnghaBench/kphp-kdb/image/extr_image-data.c_forth_get_attr.c" target datalayout = "e-m:e-p270:32:32-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.forth_stack = type { i32, ptr } %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [23 x i8] c"getattr: 2nd isn't str\00", align 1 @FORTH_FAIL = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [25 x i8] c"getattr: 1st isn't image\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"NULL\00", align 1 @NEXT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @forth_get_attr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @forth_get_attr(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load i32, ptr %1, align 8, !tbaa !5 %6 = call i32 @pop_str(ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull @.str) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 store i32 %5, ptr %1, align 8, !tbaa !5 %9 = load ptr, ptr @FORTH_FAIL, align 8, !tbaa !11 br label %50 10: ; preds = %2 %11 = call i32 @pop_image(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull @.str.1) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 store i32 %5, ptr %1, align 8, !tbaa !5 %14 = load ptr, ptr @FORTH_FAIL, align 8, !tbaa !11 br label %50 15: ; preds = %10 %16 = load i32, ptr %1, align 8, !tbaa !5 %17 = add nsw i32 %16, 1 %18 = call i32 @free_stack(ptr noundef nonnull %1, i32 noundef %17, i32 noundef %5) #3 %19 = load ptr, ptr %4, align 8, !tbaa !11 %20 = load ptr, ptr %3, align 8, !tbaa !11 %21 = call ptr @GetImageAttribute(ptr noundef %19, ptr noundef %20) #3 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %31 23: ; preds = %15 %24 = load i32, ptr %1, align 8, !tbaa !5 %25 = add nsw i32 %24, 1 store i32 %25, ptr %1, align 8, !tbaa !5 %26 = getelementptr inbounds %struct.forth_stack, ptr %1, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !12 %28 = sext i32 %25 to i64 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = call i32 @new_str(ptr noundef %29, ptr noundef nonnull @.str.2, i32 noundef 0) #3 br label %50 31: ; preds = %15 %32 = load i32, ptr %21, align 4, !tbaa !13 %33 = add nsw i32 %32, 1 %34 = call ptr @malloc(i32 noundef %33) #3 %35 = call i32 @assert(ptr noundef %34) #3 %36 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i64 0, i32 1 %37 = load i32, ptr %36, align 4, !tbaa !15 %38 = load i32, ptr %21, align 4, !tbaa !13 %39 = call i32 @memcpy(ptr noundef %34, i32 noundef %37, i32 noundef %38) #3 %40 = load i32, ptr %21, align 4, !tbaa !13 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %34, i64 %41 store i8 0, ptr %42, align 1, !tbaa !16 %43 = load i32, ptr %1, align 8, !tbaa !5 %44 = add nsw i32 %43, 1 store i32 %44, ptr %1, align 8, !tbaa !5 %45 = getelementptr inbounds %struct.forth_stack, ptr %1, i64 0, i32 1 %46 = load ptr, ptr %45, align 8, !tbaa !12 %47 = sext i32 %44 to i64 %48 = getelementptr inbounds i32, ptr %46, i64 %47 %49 = call i32 @new_str(ptr noundef %48, ptr noundef %34, i32 noundef 0) #3 br label %50 50: ; preds = %23, %31, %13, %8 %51 = phi ptr [ %14, %13 ], [ %9, %8 ], [ undef, %31 ], [ undef, %23 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pop_str(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pop_image(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free_stack(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @GetImageAttribute(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @new_str(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @assert(ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"forth_stack", !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 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !15 = !{!14, !7, i64 4} !16 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/image/extr_image-data.c_forth_get_attr.c' source_filename = "AnghaBench/kphp-kdb/image/extr_image-data.c_forth_get_attr.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"getattr: 2nd isn't str\00", align 1 @FORTH_FAIL = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [25 x i8] c"getattr: 1st isn't image\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"NULL\00", align 1 @NEXT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @forth_get_attr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @forth_get_attr(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = load i32, ptr %1, align 8, !tbaa !6 %6 = call i32 @pop_str(ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull @.str) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 store i32 %5, ptr %1, align 8, !tbaa !6 %9 = load ptr, ptr @FORTH_FAIL, align 8, !tbaa !12 br label %50 10: ; preds = %2 %11 = call i32 @pop_image(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull @.str.1) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %10 store i32 %5, ptr %1, align 8, !tbaa !6 %14 = load ptr, ptr @FORTH_FAIL, align 8, !tbaa !12 br label %50 15: ; preds = %10 %16 = load i32, ptr %1, align 8, !tbaa !6 %17 = add nsw i32 %16, 1 %18 = call i32 @free_stack(ptr noundef nonnull %1, i32 noundef %17, i32 noundef %5) #3 %19 = load ptr, ptr %4, align 8, !tbaa !12 %20 = load ptr, ptr %3, align 8, !tbaa !12 %21 = call ptr @GetImageAttribute(ptr noundef %19, ptr noundef %20) #3 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %31 23: ; preds = %15 %24 = load i32, ptr %1, align 8, !tbaa !6 %25 = add nsw i32 %24, 1 store i32 %25, ptr %1, align 8, !tbaa !6 %26 = getelementptr inbounds i8, ptr %1, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !13 %28 = sext i32 %25 to i64 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = call i32 @new_str(ptr noundef %29, ptr noundef nonnull @.str.2, i32 noundef 0) #3 br label %50 31: ; preds = %15 %32 = load i32, ptr %21, align 4, !tbaa !14 %33 = add nsw i32 %32, 1 %34 = call ptr @malloc(i32 noundef %33) #3 %35 = call i32 @assert(ptr noundef %34) #3 %36 = getelementptr inbounds i8, ptr %21, i64 4 %37 = load i32, ptr %36, align 4, !tbaa !16 %38 = load i32, ptr %21, align 4, !tbaa !14 %39 = call i32 @memcpy(ptr noundef %34, i32 noundef %37, i32 noundef %38) #3 %40 = load i32, ptr %21, align 4, !tbaa !14 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %34, i64 %41 store i8 0, ptr %42, align 1, !tbaa !17 %43 = load i32, ptr %1, align 8, !tbaa !6 %44 = add nsw i32 %43, 1 store i32 %44, ptr %1, align 8, !tbaa !6 %45 = getelementptr inbounds i8, ptr %1, i64 8 %46 = load ptr, ptr %45, align 8, !tbaa !13 %47 = sext i32 %44 to i64 %48 = getelementptr inbounds i32, ptr %46, i64 %47 %49 = call i32 @new_str(ptr noundef %48, ptr noundef %34, i32 noundef 0) #3 br label %50 50: ; preds = %23, %31, %13, %8 %51 = phi ptr [ %14, %13 ], [ %9, %8 ], [ undef, %31 ], [ undef, %23 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pop_str(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pop_image(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free_stack(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @GetImageAttribute(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @new_str(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @assert(ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"forth_stack", !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 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !16 = !{!15, !8, i64 4} !17 = !{!9, !9, i64 0}
kphp-kdb_image_extr_image-data.c_forth_get_attr
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ah6.c_ah6_rcv_cb.c' source_filename = "AnghaBench/linux/net/ipv6/extr_ah6.c_ah6_rcv_cb.c" target datalayout = "e-m:e-p270:32:32-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 @ah6_rcv_cb], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @ah6_rcv_cb(ptr nocapture readnone %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ah6.c_ah6_rcv_cb.c' source_filename = "AnghaBench/linux/net/ipv6/extr_ah6.c_ah6_rcv_cb.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 @ah6_rcv_cb], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @ah6_rcv_cb(ptr nocapture readnone %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_net_ipv6_extr_ah6.c_ah6_rcv_cb
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_streams.c_HPDF_Stream_Seek.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_streams.c_HPDF_Stream_Seek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, i32 } @.str = private unnamed_addr constant [19 x i8] c" HPDF_Stream_Seek\0A\00", align 1 @HPDF_INVALID_OPERATION = dso_local local_unnamed_addr global i32 0, align 4 @HPDF_THIS_FUNC_WAS_SKIPPED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @HPDF_Stream_Seek(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @HPDF_PTRACE(ptr noundef nonnull @.str) #2 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = icmp eq ptr %5, null %7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !11 br i1 %6, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr @HPDF_INVALID_OPERATION, align 4, !tbaa !12 %11 = tail call i32 @HPDF_SetError(i32 noundef %8, i32 noundef %10, i32 noundef 0) #2 br label %20 12: ; preds = %3 %13 = tail call i64 @HPDF_Error_GetCode(i32 noundef %8) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %12 %16 = load i32, ptr @HPDF_THIS_FUNC_WAS_SKIPPED, align 4, !tbaa !12 br label %20 17: ; preds = %12 %18 = load ptr, ptr %0, align 8, !tbaa !5 %19 = tail call i32 %18(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2 br label %20 20: ; preds = %17, %15, %9 %21 = phi i32 [ %16, %15 ], [ %19, %17 ], [ %11, %9 ] ret i32 %21 } declare i32 @HPDF_PTRACE(ptr noundef) local_unnamed_addr #1 declare i32 @HPDF_SetError(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @HPDF_Error_GetCode(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !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} !12 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_streams.c_HPDF_Stream_Seek.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_streams.c_HPDF_Stream_Seek.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 [19 x i8] c" HPDF_Stream_Seek\0A\00", align 1 @HPDF_INVALID_OPERATION = common local_unnamed_addr global i32 0, align 4 @HPDF_THIS_FUNC_WAS_SKIPPED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @HPDF_Stream_Seek(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @HPDF_PTRACE(ptr noundef nonnull @.str) #2 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = icmp eq ptr %5, null %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !12 br i1 %6, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr @HPDF_INVALID_OPERATION, align 4, !tbaa !13 %11 = tail call i32 @HPDF_SetError(i32 noundef %8, i32 noundef %10, i32 noundef 0) #2 br label %20 12: ; preds = %3 %13 = tail call i64 @HPDF_Error_GetCode(i32 noundef %8) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %12 %16 = load i32, ptr @HPDF_THIS_FUNC_WAS_SKIPPED, align 4, !tbaa !13 br label %20 17: ; preds = %12 %18 = load ptr, ptr %0, align 8, !tbaa !6 %19 = tail call i32 %18(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2 br label %20 20: ; preds = %17, %15, %9 %21 = phi i32 [ %16, %15 ], [ %19, %17 ], [ %11, %9 ] ret i32 %21 } declare i32 @HPDF_PTRACE(ptr noundef) local_unnamed_addr #1 declare i32 @HPDF_SetError(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @HPDF_Error_GetCode(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !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} !13 = !{!11, !11, i64 0}
poco_PDF_src_extr_hpdf_streams.c_HPDF_Stream_Seek
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_fschmd.c_temp_max_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_fschmd.c_temp_max_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @temp_max_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @temp_max_show(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call ptr @fschmd_update_device(ptr noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = sext i32 %5 to i64 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = tail call i32 @TEMP_FROM_REG(i32 noundef %10) #2 %12 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %11) #2 ret i32 %12 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @fschmd_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TEMP_FROM_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"fschmd_data", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_fschmd.c_temp_max_show.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_fschmd.c_temp_max_show.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"%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @temp_max_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @temp_max_show(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call ptr @fschmd_update_device(ptr noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = sext i32 %5 to i64 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = tail call i32 @TEMP_FROM_REG(i32 noundef %10) #2 %12 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %11) #2 ret i32 %12 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @fschmd_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TEMP_FROM_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"fschmd_data", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0}
linux_drivers_hwmon_extr_fschmd.c_temp_max_show
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/s390/extr_s390.c_s390_emit_compare_and_swap.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/s390/extr_s390.c_s390_emit_compare_and_swap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VOIDmode = dso_local local_unnamed_addr global i32 0, align 4 @s390_compare_emitted = dso_local local_unnamed_addr global i32 0, align 4 @const0_rtx = dso_local local_unnamed_addr global i32 0, align 4 @NULL_RTX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @s390_emit_compare_and_swap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @s390_emit_compare_and_swap(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = tail call i32 @gen_sync_compare_and_swap_ccsi(i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %7 = tail call i32 @emit_insn(i32 noundef %6) #2 %8 = load i32, ptr @VOIDmode, align 4, !tbaa !5 %9 = load i32, ptr @s390_compare_emitted, align 4, !tbaa !5 %10 = load i32, ptr @const0_rtx, align 4, !tbaa !5 %11 = tail call i32 @gen_rtx_fmt_ee(i32 noundef %0, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr @NULL_RTX, align 4, !tbaa !5 store i32 %12, ptr @s390_compare_emitted, align 4, !tbaa !5 ret i32 %11 } declare i32 @emit_insn(i32 noundef) local_unnamed_addr #1 declare i32 @gen_sync_compare_and_swap_ccsi(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gen_rtx_fmt_ee(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/s390/extr_s390.c_s390_emit_compare_and_swap.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/s390/extr_s390.c_s390_emit_compare_and_swap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VOIDmode = common local_unnamed_addr global i32 0, align 4 @s390_compare_emitted = common local_unnamed_addr global i32 0, align 4 @const0_rtx = common local_unnamed_addr global i32 0, align 4 @NULL_RTX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @s390_emit_compare_and_swap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @s390_emit_compare_and_swap(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = tail call i32 @gen_sync_compare_and_swap_ccsi(i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %7 = tail call i32 @emit_insn(i32 noundef %6) #2 %8 = load i32, ptr @VOIDmode, align 4, !tbaa !6 %9 = load i32, ptr @s390_compare_emitted, align 4, !tbaa !6 %10 = load i32, ptr @const0_rtx, align 4, !tbaa !6 %11 = tail call i32 @gen_rtx_fmt_ee(i32 noundef %0, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr @NULL_RTX, align 4, !tbaa !6 store i32 %12, ptr @s390_compare_emitted, align 4, !tbaa !6 ret i32 %11 } declare i32 @emit_insn(i32 noundef) local_unnamed_addr #1 declare i32 @gen_sync_compare_and_swap_ccsi(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gen_rtx_fmt_ee(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_gcc_config_s390_extr_s390.c_s390_emit_compare_and_swap
; ModuleID = 'AnghaBench/qmk_firmware/users/zer09/extr_tap_dance.c_dance_uply_reset.c' source_filename = "AnghaBench/qmk_firmware/users/zer09/extr_tap_dance.c_dance_uply_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.TYPE_2__ = type { i32 } @upltap_state = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @_BL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @dance_uply_reset(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @upltap_state, align 4, !tbaa !5 %4 = icmp eq i32 %3, 128 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = load i32, ptr @_BL, align 4, !tbaa !10 %7 = tail call i32 @layer_switcher_tap(i32 noundef %6) #2 br label %8 8: ; preds = %2, %5 store i32 0, ptr @upltap_state, align 4, !tbaa !5 ret void } declare i32 @layer_switcher_tap(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/qmk_firmware/users/zer09/extr_tap_dance.c_dance_uply_reset.c' source_filename = "AnghaBench/qmk_firmware/users/zer09/extr_tap_dance.c_dance_uply_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @upltap_state = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @_BL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @dance_uply_reset(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @upltap_state, align 4, !tbaa !6 %4 = icmp eq i32 %3, 128 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = load i32, ptr @_BL, align 4, !tbaa !11 %7 = tail call i32 @layer_switcher_tap(i32 noundef %6) #2 br label %8 8: ; preds = %2, %5 store i32 0, ptr @upltap_state, align 4, !tbaa !6 ret void } declare i32 @layer_switcher_tap(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
qmk_firmware_users_zer09_extr_tap_dance.c_dance_uply_reset
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_en/extr_mlx5_en_flow_table.c_mlx5e_create_main_groups.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_en/extr_mlx5_en_flow_table.c_mlx5e_create_main_groups.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @create_flow_group_in = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5e_create_main_groups], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mlx5e_create_main_groups(ptr noundef %0) #0 { %2 = load i32, ptr @create_flow_group_in, align 4, !tbaa !5 %3 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %2) #2 %4 = tail call ptr @mlx5_vzalloc(i32 noundef %3) #2 %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 %12 9: ; preds = %1 %10 = tail call i32 @mlx5e_create_main_groups_sub(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %3) #2 %11 = tail call i32 @kvfree(ptr noundef nonnull %4) #2 br label %12 12: ; preds = %9, %6 %13 = phi i32 [ %10, %9 ], [ %8, %6 ] ret i32 %13 } declare i32 @MLX5_ST_SZ_BYTES(i32 noundef) local_unnamed_addr #1 declare ptr @mlx5_vzalloc(i32 noundef) local_unnamed_addr #1 declare i32 @mlx5e_create_main_groups_sub(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvfree(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/mlx5/mlx5_en/extr_mlx5_en_flow_table.c_mlx5e_create_main_groups.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_en/extr_mlx5_en_flow_table.c_mlx5e_create_main_groups.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @create_flow_group_in = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mlx5e_create_main_groups], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mlx5e_create_main_groups(ptr noundef %0) #0 { %2 = load i32, ptr @create_flow_group_in, align 4, !tbaa !6 %3 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %2) #2 %4 = tail call ptr @mlx5_vzalloc(i32 noundef %3) #2 %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 %12 9: ; preds = %1 %10 = tail call i32 @mlx5e_create_main_groups_sub(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %3) #2 %11 = tail call i32 @kvfree(ptr noundef nonnull %4) #2 br label %12 12: ; preds = %9, %6 %13 = phi i32 [ %10, %9 ], [ %8, %6 ] ret i32 %13 } declare i32 @MLX5_ST_SZ_BYTES(i32 noundef) local_unnamed_addr #1 declare ptr @mlx5_vzalloc(i32 noundef) local_unnamed_addr #1 declare i32 @mlx5e_create_main_groups_sub(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvfree(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_mlx5_mlx5_en_extr_mlx5_en_flow_table.c_mlx5e_create_main_groups
; ModuleID = 'AnghaBench/linux/fs/crypto/extr_keyring.c_fscrypt_key_describe.c' source_filename = "AnghaBench/linux/fs/crypto/extr_keyring.c_fscrypt_key_describe.c" target datalayout = "e-m:e-p270:32:32-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 = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr } @.str = private unnamed_addr constant [17 x i8] c": secret removed\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fscrypt_key_describe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fscrypt_key_describe(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @seq_puts(ptr noundef %1, ptr noundef %3) #2 %5 = tail call i64 @key_is_positive(ptr noundef nonnull %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %2 %8 = getelementptr inbounds %struct.key, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !11 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @is_master_key_secret_present(ptr noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %7 %14 = tail call i32 @seq_puts(ptr noundef %1, ptr noundef nonnull @.str) #2 br label %15 15: ; preds = %7, %13, %2 ret void } declare i32 @seq_puts(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @key_is_positive(ptr noundef) local_unnamed_addr #1 declare i32 @is_master_key_secret_present(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 = !{!"key", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/crypto/extr_keyring.c_fscrypt_key_describe.c' source_filename = "AnghaBench/linux/fs/crypto/extr_keyring.c_fscrypt_key_describe.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 [17 x i8] c": secret removed\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fscrypt_key_describe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fscrypt_key_describe(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @seq_puts(ptr noundef %1, ptr noundef %3) #2 %5 = tail call i64 @key_is_positive(ptr noundef nonnull %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = tail call i32 @is_master_key_secret_present(ptr noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %7 %14 = tail call i32 @seq_puts(ptr noundef %1, ptr noundef nonnull @.str) #2 br label %15 15: ; preds = %7, %13, %2 ret void } declare i32 @seq_puts(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @key_is_positive(ptr noundef) local_unnamed_addr #1 declare i32 @is_master_key_secret_present(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 = !{!"key", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!8, !8, i64 0}
linux_fs_crypto_extr_keyring.c_fscrypt_key_describe
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_inline.h_ahd_set_sescb_qoff.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_inline.h_ahd_set_sescb_qoff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AHD_MODE_CCHAN_MSK = dso_local local_unnamed_addr global i32 0, align 4 @SESCB_QOFF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ahd_set_sescb_qoff], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @ahd_set_sescb_qoff(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @AHD_MODE_CCHAN_MSK, align 4, !tbaa !5 %4 = tail call i32 @AHD_ASSERT_MODES(ptr noundef %0, i32 noundef %3, i32 noundef %3) #2 %5 = load i32, ptr @SESCB_QOFF, align 4, !tbaa !5 %6 = tail call i32 @ahd_outb(ptr noundef %0, i32 noundef %5, i32 noundef %1) #2 ret void } declare i32 @AHD_ASSERT_MODES(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ahd_outb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_inline.h_ahd_set_sescb_qoff.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_inline.h_ahd_set_sescb_qoff.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AHD_MODE_CCHAN_MSK = common local_unnamed_addr global i32 0, align 4 @SESCB_QOFF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ahd_set_sescb_qoff], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @ahd_set_sescb_qoff(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @AHD_MODE_CCHAN_MSK, align 4, !tbaa !6 %4 = tail call i32 @AHD_ASSERT_MODES(ptr noundef %0, i32 noundef %3, i32 noundef %3) #2 %5 = load i32, ptr @SESCB_QOFF, align 4, !tbaa !6 %6 = tail call i32 @ahd_outb(ptr noundef %0, i32 noundef %5, i32 noundef %1) #2 ret void } declare i32 @AHD_ASSERT_MODES(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ahd_outb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_aic7xxx_extr_aic79xx_inline.h_ahd_set_sescb_qoff
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_zil.c_zil_noop_log_record.c' source_filename = "AnghaBench/zfs/module/zfs/extr_zil.c_zil_noop_log_record.c" target datalayout = "e-m:e-p270:32:32-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 @zil_noop_log_record], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @zil_noop_log_record(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i32 %3) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_zil.c_zil_noop_log_record.c' source_filename = "AnghaBench/zfs/module/zfs/extr_zil.c_zil_noop_log_record.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 @zil_noop_log_record], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @zil_noop_log_record(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i32 %3) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
zfs_module_zfs_extr_zil.c_zil_noop_log_record
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/kissfft/extr_kiss_fft.c_kiss_fft.c' source_filename = "AnghaBench/ccv/lib/3rdparty/kissfft/extr_kiss_fft.c_kiss_fft.c" target datalayout = "e-m:e-p270:32:32-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 @kiss_fft(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @kiss_fft_stride(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 1) #2 ret void } declare i32 @kiss_fft_stride(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/kissfft/extr_kiss_fft.c_kiss_fft.c' source_filename = "AnghaBench/ccv/lib/3rdparty/kissfft/extr_kiss_fft.c_kiss_fft.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 @kiss_fft(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @kiss_fft_stride(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 1) #2 ret void } declare i32 @kiss_fft_stride(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
ccv_lib_3rdparty_kissfft_extr_kiss_fft.c_kiss_fft
; ModuleID = 'AnghaBench/rufus/src/extr_drive.c_AltUnmountVolume.c' source_filename = "AnghaBench/rufus/src/extr_drive.c_AltUnmountVolume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @DDD_REMOVE_DEFINITION = dso_local local_unnamed_addr global i32 0, align 4 @DDD_NO_BROADCAST_SYSTEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Could not unmount '%s': %s\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Successfully unmounted '%s'\00", align 1 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @AltUnmountVolume(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %15, label %4 4: ; preds = %2 %5 = load i32, ptr @DDD_REMOVE_DEFINITION, align 4, !tbaa !5 %6 = load i32, ptr @DDD_NO_BROADCAST_SYSTEM, align 4, !tbaa !5 %7 = or i32 %6, %5 %8 = tail call i32 @DefineDosDeviceA(i32 noundef %7, ptr noundef nonnull %0, ptr noundef null) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = tail call i32 (...) @WindowsErrorString() #2 %12 = tail call i32 (ptr, ptr, ...) @suprintf(ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %11) #2 br label %15 13: ; preds = %4 %14 = tail call i32 (ptr, ptr, ...) @suprintf(ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2 br label %15 15: ; preds = %2, %13, %10 %16 = phi ptr [ @TRUE, %13 ], [ @FALSE, %10 ], [ @FALSE, %2 ] %17 = load i32, ptr %16, align 4, !tbaa !5 ret i32 %17 } declare i32 @DefineDosDeviceA(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @suprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @WindowsErrorString(...) 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/rufus/src/extr_drive.c_AltUnmountVolume.c' source_filename = "AnghaBench/rufus/src/extr_drive.c_AltUnmountVolume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @DDD_REMOVE_DEFINITION = common local_unnamed_addr global i32 0, align 4 @DDD_NO_BROADCAST_SYSTEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Could not unmount '%s': %s\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Successfully unmounted '%s'\00", align 1 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @AltUnmountVolume(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %15, label %4 4: ; preds = %2 %5 = load i32, ptr @DDD_REMOVE_DEFINITION, align 4, !tbaa !6 %6 = load i32, ptr @DDD_NO_BROADCAST_SYSTEM, align 4, !tbaa !6 %7 = or i32 %6, %5 %8 = tail call i32 @DefineDosDeviceA(i32 noundef %7, ptr noundef nonnull %0, ptr noundef null) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = tail call i32 @WindowsErrorString() #2 %12 = tail call i32 (ptr, ptr, ...) @suprintf(ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %11) #2 br label %15 13: ; preds = %4 %14 = tail call i32 (ptr, ptr, ...) @suprintf(ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2 br label %15 15: ; preds = %2, %13, %10 %16 = phi ptr [ @TRUE, %13 ], [ @FALSE, %10 ], [ @FALSE, %2 ] %17 = load i32, ptr %16, align 4, !tbaa !6 ret i32 %17 } declare i32 @DefineDosDeviceA(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @suprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @WindowsErrorString(...) 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"}
rufus_src_extr_drive.c_AltUnmountVolume
; ModuleID = 'AnghaBench/RetroArch/libretro-common/samples/file/nbio/extr_nbio_test.c_nbio_write_test.c' source_filename = "AnghaBench/RetroArch/libretro-common/samples/file/nbio/extr_nbio_test.c_nbio_write_test.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"test.bin\00", align 1 @NBIO_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"[ERROR]: nbio_open failed (1)\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"[ERROR]: wrong size (1)\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"[SUCCESS]: Write finished immediately.\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nbio_write_test], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nbio_write_test() #0 { %1 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4 %2 = load i32, ptr @NBIO_WRITE, align 4, !tbaa !5 %3 = tail call ptr @nbio_open(ptr noundef nonnull @.str, i32 noundef %2) #4 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %0 %6 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1) br label %7 7: ; preds = %5, %0 %8 = tail call i32 @nbio_resize(ptr noundef %3, i32 noundef 1048576) #4 %9 = call ptr @nbio_get_ptr(ptr noundef %3, ptr noundef nonnull %1) #4 %10 = load i64, ptr %1, align 8, !tbaa !9 %11 = icmp eq i64 %10, 1048576 br i1 %11, label %14, label %12 12: ; preds = %7 %13 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2) br label %14 14: ; preds = %12, %7 %15 = call i32 @memset(ptr noundef %9, i32 noundef 66, i32 noundef 1048576) #4 %16 = call i32 @nbio_begin_write(ptr noundef %3) #4 %17 = call i32 @nbio_iterate(ptr noundef %3) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %14, %19 %20 = call i32 @nbio_iterate(ptr noundef %3) #4 %21 = icmp eq i32 %20, 0 br i1 %21, label %19, label %22, !llvm.loop !11 22: ; preds = %19 br i1 %18, label %25, label %23 23: ; preds = %14, %22 %24 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.3) br label %25 25: ; preds = %23, %22 %26 = call i32 @nbio_free(ptr noundef %3) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @nbio_open(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @nbio_resize(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @nbio_get_ptr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nbio_begin_write(ptr noundef) local_unnamed_addr #2 declare i32 @nbio_iterate(ptr noundef) local_unnamed_addr #2 declare i32 @nbio_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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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 = distinct !{!11, !12, !13} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!"llvm.loop.peeled.count", i32 1}
; ModuleID = 'AnghaBench/RetroArch/libretro-common/samples/file/nbio/extr_nbio_test.c_nbio_write_test.c' source_filename = "AnghaBench/RetroArch/libretro-common/samples/file/nbio/extr_nbio_test.c_nbio_write_test.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"test.bin\00", align 1 @NBIO_WRITE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"[ERROR]: nbio_open failed (1)\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"[ERROR]: wrong size (1)\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"[SUCCESS]: Write finished immediately.\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @nbio_write_test], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nbio_write_test() #0 { %1 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4 %2 = load i32, ptr @NBIO_WRITE, align 4, !tbaa !6 %3 = tail call ptr @nbio_open(ptr noundef nonnull @.str, i32 noundef %2) #4 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %0 %6 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1) br label %7 7: ; preds = %5, %0 %8 = tail call i32 @nbio_resize(ptr noundef %3, i32 noundef 1048576) #4 %9 = call ptr @nbio_get_ptr(ptr noundef %3, ptr noundef nonnull %1) #4 %10 = load i64, ptr %1, align 8, !tbaa !10 %11 = icmp eq i64 %10, 1048576 br i1 %11, label %14, label %12 12: ; preds = %7 %13 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2) br label %14 14: ; preds = %12, %7 %15 = call i32 @memset(ptr noundef %9, i32 noundef 66, i32 noundef 1048576) #4 %16 = call i32 @nbio_begin_write(ptr noundef %3) #4 %17 = call i32 @nbio_iterate(ptr noundef %3) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %14, %19 %20 = call i32 @nbio_iterate(ptr noundef %3) #4 %21 = icmp eq i32 %20, 0 br i1 %21, label %19, label %22, !llvm.loop !12 22: ; preds = %19 br i1 %18, label %25, label %23 23: ; preds = %14, %22 %24 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.3) br label %25 25: ; preds = %23, %22 %26 = call i32 @nbio_free(ptr noundef %3) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @nbio_open(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @nbio_resize(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @nbio_get_ptr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nbio_begin_write(ptr noundef) local_unnamed_addr #2 declare i32 @nbio_iterate(ptr noundef) local_unnamed_addr #2 declare i32 @nbio_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 = { 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 #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13, !14} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!"llvm.loop.peeled.count", i32 1}
RetroArch_libretro-common_samples_file_nbio_extr_nbio_test.c_nbio_write_test
; ModuleID = 'AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_prox_range_show.c' source_filename = "AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_prox_range_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @BH1770_PROX_RANGE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bh1770_prox_range_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bh1770_prox_range_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr @BH1770_PROX_RANGE, align 4, !tbaa !5 %5 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2 ret i32 %5 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_prox_range_show.c' source_filename = "AnghaBench/linux/drivers/misc/extr_bh1770glc.c_bh1770_prox_range_show.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"%d\0A\00", align 1 @BH1770_PROX_RANGE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bh1770_prox_range_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bh1770_prox_range_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr @BH1770_PROX_RANGE, align 4, !tbaa !6 %5 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2 ret i32 %5 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_misc_extr_bh1770glc.c_bh1770_prox_range_show
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c___get_sregs.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c___get_sregs.c" target datalayout = "e-m:e-p270:32:32-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.desc_ptr = type { i32, i32 } %struct.kvm_sregs = type { i64, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_7__, %struct.TYPE_6__, i32, i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_6__ = type { i32, i32 } %struct.TYPE_10__ = type { ptr, ptr } %struct.TYPE_9__ = type { %struct.TYPE_8__, i32, i32 } %struct.TYPE_8__ = type { i32, i32, i64 } @VCPU_SREG_CS = dso_local local_unnamed_addr global i32 0, align 4 @VCPU_SREG_DS = dso_local local_unnamed_addr global i32 0, align 4 @VCPU_SREG_ES = dso_local local_unnamed_addr global i32 0, align 4 @VCPU_SREG_FS = dso_local local_unnamed_addr global i32 0, align 4 @VCPU_SREG_GS = dso_local local_unnamed_addr global i32 0, align 4 @VCPU_SREG_SS = dso_local local_unnamed_addr global i32 0, align 4 @VCPU_SREG_TR = dso_local local_unnamed_addr global i32 0, align 4 @VCPU_SREG_LDTR = dso_local local_unnamed_addr global i32 0, align 4 @kvm_x86_ops = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @__get_sregs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__get_sregs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.desc_ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 17 %5 = load i32, ptr @VCPU_SREG_CS, align 4, !tbaa !5 %6 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %5) #3 %7 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 16 %8 = load i32, ptr @VCPU_SREG_DS, align 4, !tbaa !5 %9 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %8) #3 %10 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 15 %11 = load i32, ptr @VCPU_SREG_ES, align 4, !tbaa !5 %12 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %10, i32 noundef %11) #3 %13 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 14 %14 = load i32, ptr @VCPU_SREG_FS, align 4, !tbaa !5 %15 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %13, i32 noundef %14) #3 %16 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 13 %17 = load i32, ptr @VCPU_SREG_GS, align 4, !tbaa !5 %18 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %16, i32 noundef %17) #3 %19 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 12 %20 = load i32, ptr @VCPU_SREG_SS, align 4, !tbaa !5 %21 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %19, i32 noundef %20) #3 %22 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 11 %23 = load i32, ptr @VCPU_SREG_TR, align 4, !tbaa !5 %24 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %22, i32 noundef %23) #3 %25 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 10 %26 = load i32, ptr @VCPU_SREG_LDTR, align 4, !tbaa !5 %27 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %25, i32 noundef %26) #3 %28 = load ptr, ptr @kvm_x86_ops, align 8, !tbaa !9 %29 = getelementptr inbounds %struct.TYPE_10__, ptr %28, i64 0, i32 1 %30 = load ptr, ptr %29, align 8, !tbaa !11 %31 = call i32 %30(ptr noundef %0, ptr noundef nonnull %3) #3 %32 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 9 %33 = load <2 x i32>, ptr %3, align 8, !tbaa !5 store <2 x i32> %33, ptr %32, align 4, !tbaa !5 %34 = load ptr, ptr @kvm_x86_ops, align 8, !tbaa !9 %35 = load ptr, ptr %34, align 8, !tbaa !13 %36 = call i32 %35(ptr noundef %0, ptr noundef nonnull %3) #3 %37 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 8 %38 = load <2 x i32>, ptr %3, align 8, !tbaa !5 store <2 x i32> %38, ptr %37, align 4, !tbaa !5 %39 = call i32 @kvm_read_cr0(ptr noundef %0) #3 %40 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 7 store i32 %39, ptr %40, align 8, !tbaa !14 %41 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %42 = load i32, ptr %41, align 4, !tbaa !19 %43 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 6 store i32 %42, ptr %43, align 4, !tbaa !23 %44 = call i32 @kvm_read_cr3(ptr noundef %0) #3 %45 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 5 store i32 %44, ptr %45, align 8, !tbaa !24 %46 = call i32 @kvm_read_cr4(ptr noundef %0) #3 %47 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 4 store i32 %46, ptr %47, align 4, !tbaa !25 %48 = call i32 @kvm_get_cr8(ptr noundef %0) #3 %49 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 3 store i32 %48, ptr %49, align 8, !tbaa !26 %50 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %51 = load i32, ptr %50, align 8, !tbaa !27 %52 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 2 store i32 %51, ptr %52, align 4, !tbaa !28 %53 = call i32 @kvm_get_apic_base(ptr noundef %0) #3 %54 = getelementptr inbounds %struct.kvm_sregs, ptr %1, i64 0, i32 1 store i32 %53, ptr %54, align 8, !tbaa !29 %55 = load i64, ptr %1, align 8, !tbaa !30 %56 = call i32 @memset(i64 noundef %55, i32 noundef 0, i32 noundef 8) #3 %57 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %58 = load i64, ptr %57, align 8, !tbaa !31 %59 = icmp eq i64 %58, 0 br i1 %59, label %69, label %60 60: ; preds = %2 %61 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %62 = load i32, ptr %61, align 4, !tbaa !32 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %69 64: ; preds = %60 %65 = load i32, ptr %0, align 8, !tbaa !33 %66 = load i64, ptr %1, align 8, !tbaa !30 %67 = inttoptr i64 %66 to ptr %68 = call i32 @set_bit(i32 noundef %65, ptr noundef %67) #3 br label %69 69: ; preds = %64, %60, %2 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @kvm_get_segment(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kvm_read_cr0(ptr noundef) local_unnamed_addr #2 declare i32 @kvm_read_cr3(ptr noundef) local_unnamed_addr #2 declare i32 @kvm_read_cr4(ptr noundef) local_unnamed_addr #2 declare i32 @kvm_get_cr8(ptr noundef) local_unnamed_addr #2 declare i32 @kvm_get_apic_base(ptr noundef) local_unnamed_addr #2 declare i32 @memset(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_bit(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, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"TYPE_10__", !10, i64 0, !10, i64 8} !13 = !{!12, !10, i64 0} !14 = !{!15, !6, i64 32} !15 = !{!"kvm_sregs", !16, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !17, i64 36, !18, i64 44, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !6, i64 80} !16 = !{!"long", !7, i64 0} !17 = !{!"TYPE_7__", !6, i64 0, !6, i64 4} !18 = !{!"TYPE_6__", !6, i64 0, !6, i64 4} !19 = !{!20, !6, i64 20} !20 = !{!"kvm_vcpu", !21, i64 0} !21 = !{!"TYPE_9__", !22, i64 0, !6, i64 16, !6, i64 20} !22 = !{!"TYPE_8__", !6, i64 0, !6, i64 4, !16, i64 8} !23 = !{!15, !6, i64 28} !24 = !{!15, !6, i64 24} !25 = !{!15, !6, i64 20} !26 = !{!15, !6, i64 16} !27 = !{!20, !6, i64 16} !28 = !{!15, !6, i64 12} !29 = !{!15, !6, i64 8} !30 = !{!15, !16, i64 0} !31 = !{!20, !16, i64 8} !32 = !{!20, !6, i64 4} !33 = !{!20, !6, i64 0}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c___get_sregs.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c___get_sregs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.desc_ptr = type { i32, i32 } @VCPU_SREG_CS = common local_unnamed_addr global i32 0, align 4 @VCPU_SREG_DS = common local_unnamed_addr global i32 0, align 4 @VCPU_SREG_ES = common local_unnamed_addr global i32 0, align 4 @VCPU_SREG_FS = common local_unnamed_addr global i32 0, align 4 @VCPU_SREG_GS = common local_unnamed_addr global i32 0, align 4 @VCPU_SREG_SS = common local_unnamed_addr global i32 0, align 4 @VCPU_SREG_TR = common local_unnamed_addr global i32 0, align 4 @VCPU_SREG_LDTR = common local_unnamed_addr global i32 0, align 4 @kvm_x86_ops = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @__get_sregs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__get_sregs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.desc_ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds i8, ptr %1, i64 80 %5 = load i32, ptr @VCPU_SREG_CS, align 4, !tbaa !6 %6 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %5) #3 %7 = getelementptr inbounds i8, ptr %1, i64 76 %8 = load i32, ptr @VCPU_SREG_DS, align 4, !tbaa !6 %9 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %8) #3 %10 = getelementptr inbounds i8, ptr %1, i64 72 %11 = load i32, ptr @VCPU_SREG_ES, align 4, !tbaa !6 %12 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %10, i32 noundef %11) #3 %13 = getelementptr inbounds i8, ptr %1, i64 68 %14 = load i32, ptr @VCPU_SREG_FS, align 4, !tbaa !6 %15 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %13, i32 noundef %14) #3 %16 = getelementptr inbounds i8, ptr %1, i64 64 %17 = load i32, ptr @VCPU_SREG_GS, align 4, !tbaa !6 %18 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %16, i32 noundef %17) #3 %19 = getelementptr inbounds i8, ptr %1, i64 60 %20 = load i32, ptr @VCPU_SREG_SS, align 4, !tbaa !6 %21 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %19, i32 noundef %20) #3 %22 = getelementptr inbounds i8, ptr %1, i64 56 %23 = load i32, ptr @VCPU_SREG_TR, align 4, !tbaa !6 %24 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %22, i32 noundef %23) #3 %25 = getelementptr inbounds i8, ptr %1, i64 52 %26 = load i32, ptr @VCPU_SREG_LDTR, align 4, !tbaa !6 %27 = tail call i32 @kvm_get_segment(ptr noundef %0, ptr noundef nonnull %25, i32 noundef %26) #3 %28 = load ptr, ptr @kvm_x86_ops, align 8, !tbaa !10 %29 = getelementptr inbounds i8, ptr %28, i64 8 %30 = load ptr, ptr %29, align 8, !tbaa !12 %31 = call i32 %30(ptr noundef %0, ptr noundef nonnull %3) #3 %32 = getelementptr inbounds i8, ptr %1, i64 44 %33 = load <2 x i32>, ptr %3, align 8, !tbaa !6 store <2 x i32> %33, ptr %32, align 4, !tbaa !6 %34 = load ptr, ptr @kvm_x86_ops, align 8, !tbaa !10 %35 = load ptr, ptr %34, align 8, !tbaa !14 %36 = call i32 %35(ptr noundef %0, ptr noundef nonnull %3) #3 %37 = getelementptr inbounds i8, ptr %1, i64 36 %38 = load <2 x i32>, ptr %3, align 8, !tbaa !6 store <2 x i32> %38, ptr %37, align 4, !tbaa !6 %39 = call i32 @kvm_read_cr0(ptr noundef %0) #3 %40 = getelementptr inbounds i8, ptr %1, i64 32 store i32 %39, ptr %40, align 8, !tbaa !15 %41 = getelementptr inbounds i8, ptr %0, i64 20 %42 = load i32, ptr %41, align 4, !tbaa !20 %43 = getelementptr inbounds i8, ptr %1, i64 28 store i32 %42, ptr %43, align 4, !tbaa !24 %44 = call i32 @kvm_read_cr3(ptr noundef %0) #3 %45 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %44, ptr %45, align 8, !tbaa !25 %46 = call i32 @kvm_read_cr4(ptr noundef %0) #3 %47 = getelementptr inbounds i8, ptr %1, i64 20 store i32 %46, ptr %47, align 4, !tbaa !26 %48 = call i32 @kvm_get_cr8(ptr noundef %0) #3 %49 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %48, ptr %49, align 8, !tbaa !27 %50 = getelementptr inbounds i8, ptr %0, i64 16 %51 = load i32, ptr %50, align 8, !tbaa !28 %52 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %51, ptr %52, align 4, !tbaa !29 %53 = call i32 @kvm_get_apic_base(ptr noundef %0) #3 %54 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %53, ptr %54, align 8, !tbaa !30 %55 = load i64, ptr %1, align 8, !tbaa !31 %56 = call i32 @memset(i64 noundef %55, i32 noundef 0, i32 noundef 8) #3 %57 = getelementptr inbounds i8, ptr %0, i64 8 %58 = load i64, ptr %57, align 8, !tbaa !32 %59 = icmp eq i64 %58, 0 br i1 %59, label %69, label %60 60: ; preds = %2 %61 = getelementptr inbounds i8, ptr %0, i64 4 %62 = load i32, ptr %61, align 4, !tbaa !33 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %69 64: ; preds = %60 %65 = load i32, ptr %0, align 8, !tbaa !34 %66 = load i64, ptr %1, align 8, !tbaa !31 %67 = inttoptr i64 %66 to ptr %68 = call i32 @set_bit(i32 noundef %65, ptr noundef %67) #3 br label %69 69: ; preds = %64, %60, %2 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @kvm_get_segment(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kvm_read_cr0(ptr noundef) local_unnamed_addr #2 declare i32 @kvm_read_cr3(ptr noundef) local_unnamed_addr #2 declare i32 @kvm_read_cr4(ptr noundef) local_unnamed_addr #2 declare i32 @kvm_get_cr8(ptr noundef) local_unnamed_addr #2 declare i32 @kvm_get_apic_base(ptr noundef) local_unnamed_addr #2 declare i32 @memset(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_bit(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, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_10__", !11, i64 0, !11, i64 8} !14 = !{!13, !11, i64 0} !15 = !{!16, !7, i64 32} !16 = !{!"kvm_sregs", !17, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !18, i64 36, !19, i64 44, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80} !17 = !{!"long", !8, i64 0} !18 = !{!"TYPE_7__", !7, i64 0, !7, i64 4} !19 = !{!"TYPE_6__", !7, i64 0, !7, i64 4} !20 = !{!21, !7, i64 20} !21 = !{!"kvm_vcpu", !22, i64 0} !22 = !{!"TYPE_9__", !23, i64 0, !7, i64 16, !7, i64 20} !23 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !17, i64 8} !24 = !{!16, !7, i64 28} !25 = !{!16, !7, i64 24} !26 = !{!16, !7, i64 20} !27 = !{!16, !7, i64 16} !28 = !{!21, !7, i64 16} !29 = !{!16, !7, i64 12} !30 = !{!16, !7, i64 8} !31 = !{!16, !17, i64 0} !32 = !{!21, !17, i64 8} !33 = !{!21, !7, i64 4} !34 = !{!21, !7, i64 0}
linux_arch_x86_kvm_extr_x86.c___get_sregs
; ModuleID = 'AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_tty.c_gdm_tty_write.c' source_filename = "AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_tty.c_gdm_tty_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.gdm = type { i32, ptr } %struct.TYPE_2__ = type { i32, ptr } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @MUX_TX_MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @gdm_tty_send_complete = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gdm_tty_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gdm_tty_write(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = tail call i32 @GDM_TTY_READY(ptr noundef %4) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENODEV, align 4, !tbaa !10 %9 = sub nsw i32 0, %8 br label %31 10: ; preds = %3 %11 = icmp eq i32 %2, 0 br i1 %11, label %31, label %12 12: ; preds = %10 %13 = getelementptr inbounds %struct.gdm, ptr %4, i64 0, i32 1 br label %14 14: ; preds = %12, %14 %15 = phi i32 [ %29, %14 ], [ %2, %12 ] %16 = phi i32 [ %28, %14 ], [ 0, %12 ] %17 = load i32, ptr @MUX_TX_MAX_SIZE, align 4, !tbaa !10 %18 = tail call i32 @min(i32 noundef %17, i32 noundef %15) #2 %19 = load ptr, ptr %13, align 8, !tbaa !12 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 0, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !14 %22 = load i32, ptr %19, align 8, !tbaa !16 %23 = sext i32 %16 to i64 %24 = getelementptr inbounds i8, ptr %1, i64 %23 %25 = load i32, ptr %4, align 8, !tbaa !17 %26 = load i32, ptr @gdm_tty_send_complete, align 4, !tbaa !10 %27 = tail call i32 %21(i32 noundef %22, ptr noundef %24, i32 noundef %18, i32 noundef %25, i32 noundef %26, ptr noundef nonnull %4) #2 %28 = add nsw i32 %18, %16 %29 = sub nsw i32 %15, %18 %30 = icmp slt i32 %29, 1 br i1 %30, label %31, label %14 31: ; preds = %14, %10, %7 %32 = phi i32 [ %9, %7 ], [ 0, %10 ], [ %2, %14 ] ret i32 %32 } declare i32 @GDM_TTY_READY(ptr noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tty_struct", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"gdm", !11, i64 0, !7, i64 8} !14 = !{!15, !7, i64 8} !15 = !{!"TYPE_2__", !11, i64 0, !7, i64 8} !16 = !{!15, !11, i64 0} !17 = !{!13, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_tty.c_gdm_tty_write.c' source_filename = "AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_tty.c_gdm_tty_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @MUX_TX_MAX_SIZE = common local_unnamed_addr global i32 0, align 4 @gdm_tty_send_complete = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gdm_tty_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gdm_tty_write(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = tail call i32 @GDM_TTY_READY(ptr noundef %4) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENODEV, align 4, !tbaa !11 %9 = sub nsw i32 0, %8 br label %31 10: ; preds = %3 %11 = icmp eq i32 %2, 0 br i1 %11, label %31, label %12 12: ; preds = %10 %13 = getelementptr inbounds i8, ptr %4, i64 8 br label %14 14: ; preds = %12, %14 %15 = phi i32 [ %29, %14 ], [ %2, %12 ] %16 = phi i32 [ %28, %14 ], [ 0, %12 ] %17 = load i32, ptr @MUX_TX_MAX_SIZE, align 4, !tbaa !11 %18 = tail call i32 @min(i32 noundef %17, i32 noundef %15) #2 %19 = load ptr, ptr %13, align 8, !tbaa !13 %20 = getelementptr inbounds i8, ptr %19, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !15 %22 = load i32, ptr %19, align 8, !tbaa !17 %23 = sext i32 %16 to i64 %24 = getelementptr inbounds i8, ptr %1, i64 %23 %25 = load i32, ptr %4, align 8, !tbaa !18 %26 = load i32, ptr @gdm_tty_send_complete, align 4, !tbaa !11 %27 = tail call i32 %21(i32 noundef %22, ptr noundef %24, i32 noundef %18, i32 noundef %25, i32 noundef %26, ptr noundef nonnull %4) #2 %28 = add nsw i32 %18, %16 %29 = sub nsw i32 %15, %18 %30 = icmp slt i32 %29, 1 br i1 %30, label %31, label %14 31: ; preds = %14, %10, %7 %32 = phi i32 [ %9, %7 ], [ 0, %10 ], [ %2, %14 ] ret i32 %32 } declare i32 @GDM_TTY_READY(ptr noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tty_struct", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"gdm", !12, i64 0, !8, i64 8} !15 = !{!16, !8, i64 8} !16 = !{!"TYPE_2__", !12, i64 0, !8, i64 8} !17 = !{!16, !12, i64 0} !18 = !{!14, !12, i64 0}
linux_drivers_staging_gdm724x_extr_gdm_tty.c_gdm_tty_write
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FM_PORT_ConfigFifoDeqPipelineDepth.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FM_PORT_ConfigFifoDeqPipelineDepth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, %struct.TYPE_4__, ptr, i64 } %struct.TYPE_4__ = type { i32 } @E_INVALID_HANDLE = dso_local local_unnamed_addr global i32 0, align 4 @e_FM_PORT_TYPE_RX_10G = dso_local local_unnamed_addr global i64 0, align 8 @e_FM_PORT_TYPE_RX = dso_local local_unnamed_addr global i64 0, align 8 @MAJOR = dso_local local_unnamed_addr global i32 0, align 4 @E_INVALID_OPERATION = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Not available for Rx ports\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Not available for IM ports!\00", align 1 @E_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @FM_PORT_ConfigFifoDeqPipelineDepth(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !5 %5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !9 %8 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !5 %9 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %7, i32 noundef %8) #2 %10 = load i64, ptr %3, align 8, !tbaa !14 %11 = load i64, ptr @e_FM_PORT_TYPE_RX_10G, align 8, !tbaa !15 %12 = icmp eq i64 %10, %11 %13 = load i64, ptr @e_FM_PORT_TYPE_RX, align 8 %14 = icmp eq i64 %10, %13 %15 = select i1 %12, i1 true, i1 %14 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = load i32, ptr @MAJOR, align 4, !tbaa !5 %18 = load i32, ptr @E_INVALID_OPERATION, align 4, !tbaa !5 %19 = tail call i32 @RETURN_ERROR(i32 noundef %17, i32 noundef %18, ptr noundef nonnull @.str) #2 br label %20 20: ; preds = %2, %16 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 3 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = icmp eq i64 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %20 %25 = load i32, ptr @MAJOR, align 4, !tbaa !5 %26 = load i32, ptr @E_INVALID_OPERATION, align 4, !tbaa !5 %27 = tail call i32 @RETURN_ERROR(i32 noundef %25, i32 noundef %26, ptr noundef nonnull @.str.1) #2 br label %28 28: ; preds = %24, %20 %29 = load ptr, ptr %6, align 8, !tbaa !9 %30 = getelementptr inbounds %struct.TYPE_5__, ptr %29, i64 0, i32 1 store i32 %1, ptr %30, align 8, !tbaa !17 %31 = load i32, ptr @E_OK, align 4, !tbaa !5 ret i32 %31 } declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RETURN_ERROR(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"} !9 = !{!10, !13, i64 16} !10 = !{!"TYPE_5__", !11, i64 0, !12, i64 8, !13, i64 16, !11, i64 24} !11 = !{!"long", !7, i64 0} !12 = !{!"TYPE_4__", !6, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!10, !11, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!10, !11, i64 24} !17 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FM_PORT_ConfigFifoDeqPipelineDepth.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FM_PORT_ConfigFifoDeqPipelineDepth.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E_INVALID_HANDLE = common local_unnamed_addr global i32 0, align 4 @e_FM_PORT_TYPE_RX_10G = common local_unnamed_addr global i64 0, align 8 @e_FM_PORT_TYPE_RX = common local_unnamed_addr global i64 0, align 8 @MAJOR = common local_unnamed_addr global i32 0, align 4 @E_INVALID_OPERATION = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Not available for Rx ports\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Not available for IM ports!\00", align 1 @E_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @FM_PORT_ConfigFifoDeqPipelineDepth(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !6 %5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %3, i64 16 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !6 %9 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %7, i32 noundef %8) #2 %10 = load i64, ptr %3, align 8, !tbaa !15 %11 = load i64, ptr @e_FM_PORT_TYPE_RX_10G, align 8, !tbaa !16 %12 = icmp eq i64 %10, %11 %13 = load i64, ptr @e_FM_PORT_TYPE_RX, align 8 %14 = icmp eq i64 %10, %13 %15 = select i1 %12, i1 true, i1 %14 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = load i32, ptr @MAJOR, align 4, !tbaa !6 %18 = load i32, ptr @E_INVALID_OPERATION, align 4, !tbaa !6 %19 = tail call i32 @RETURN_ERROR(i32 noundef %17, i32 noundef %18, ptr noundef nonnull @.str) #2 br label %20 20: ; preds = %2, %16 %21 = getelementptr inbounds i8, ptr %3, i64 24 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = icmp eq i64 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %20 %25 = load i32, ptr @MAJOR, align 4, !tbaa !6 %26 = load i32, ptr @E_INVALID_OPERATION, align 4, !tbaa !6 %27 = tail call i32 @RETURN_ERROR(i32 noundef %25, i32 noundef %26, ptr noundef nonnull @.str.1) #2 br label %28 28: ; preds = %24, %20 %29 = load ptr, ptr %6, align 8, !tbaa !10 %30 = getelementptr inbounds i8, ptr %29, i64 8 store i32 %1, ptr %30, align 8, !tbaa !18 %31 = load i32, ptr @E_OK, align 4, !tbaa !6 ret i32 %31 } declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RETURN_ERROR(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"} !10 = !{!11, !14, i64 16} !11 = !{!"TYPE_5__", !12, i64 0, !13, i64 8, !14, i64 16, !12, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!"TYPE_4__", !7, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!11, !12, i64 0} !16 = !{!12, !12, i64 0} !17 = !{!11, !12, i64 24} !18 = !{!11, !7, i64 8}
freebsd_sys_contrib_ncsw_Peripherals_FM_Port_extr_fm_port.c_FM_PORT_ConfigFifoDeqPipelineDepth
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_tp_meter.c_batadv_tp_send_ack.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_tp_meter.c_batadv_tp_send_ack.c" target datalayout = "e-m:e-p270:32:32-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.batadv_icmp_tp_packet = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } %struct.batadv_orig_node = type { ptr, i32 } @BATADV_TP_REASON_DST_UNREACHABLE = dso_local local_unnamed_addr global i32 0, align 4 @ETH_HLEN = dso_local local_unnamed_addr global i64 0, align 8 @BATADV_TP_REASON_MEMORY_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @BATADV_ICMP = dso_local local_unnamed_addr global i32 0, align 4 @BATADV_COMPAT_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @BATADV_TTL = dso_local local_unnamed_addr global i32 0, align 4 @BATADV_TP = dso_local local_unnamed_addr global i32 0, align 4 @BATADV_TP_ACK = dso_local local_unnamed_addr global i32 0, align 4 @NET_XMIT_DROP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @batadv_tp_send_ack], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @batadv_tp_send_ack(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = tail call ptr @batadv_orig_hash_find(ptr noundef %0, ptr noundef %1) #3 %8 = icmp eq ptr %7, null %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %6 %13 = load i32, ptr @BATADV_TP_REASON_DST_UNREACHABLE, align 4, !tbaa !5 br label %71 14: ; preds = %6 %15 = tail call ptr @batadv_primary_if_get_selected(ptr noundef %0) #3 %16 = icmp eq ptr %15, null %17 = zext i1 %16 to i32 %18 = tail call i64 @unlikely(i32 noundef %17) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %14 %21 = load i32, ptr @BATADV_TP_REASON_DST_UNREACHABLE, align 4, !tbaa !5 br label %71 22: ; preds = %14 %23 = load i64, ptr @ETH_HLEN, align 8, !tbaa !9 %24 = add i64 %23, 44 %25 = tail call ptr @netdev_alloc_skb_ip_align(ptr noundef null, i64 noundef %24) #3 %26 = icmp eq ptr %25, null %27 = zext i1 %26 to i32 %28 = tail call i64 @unlikely(i32 noundef %27) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %22 %31 = load i32, ptr @BATADV_TP_REASON_MEMORY_ERROR, align 4, !tbaa !5 br label %71 32: ; preds = %22 %33 = load i64, ptr @ETH_HLEN, align 8, !tbaa !9 %34 = tail call i32 @skb_reserve(ptr noundef %25, i64 noundef %33) #3 %35 = tail call ptr @skb_put(ptr noundef %25, i32 noundef 44) #3 %36 = load i32, ptr @BATADV_ICMP, align 4, !tbaa !5 %37 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 10 store i32 %36, ptr %37, align 4, !tbaa !11 %38 = load i32, ptr @BATADV_COMPAT_VERSION, align 4, !tbaa !5 %39 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 9 store i32 %38, ptr %39, align 4, !tbaa !13 %40 = load i32, ptr @BATADV_TTL, align 4, !tbaa !5 %41 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 8 store i32 %40, ptr %41, align 4, !tbaa !14 %42 = load i32, ptr @BATADV_TP, align 4, !tbaa !5 %43 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 7 store i32 %42, ptr %43, align 4, !tbaa !15 %44 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 6 %45 = load i32, ptr %44, align 4, !tbaa !16 %46 = getelementptr inbounds %struct.batadv_orig_node, ptr %7, i64 0, i32 1 %47 = load i32, ptr %46, align 8, !tbaa !17 %48 = tail call i32 @ether_addr_copy(i32 noundef %45, i32 noundef %47) #3 %49 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 5 %50 = load i32, ptr %49, align 4, !tbaa !20 %51 = load ptr, ptr %15, align 8, !tbaa !21 %52 = load i32, ptr %51, align 4, !tbaa !23 %53 = tail call i32 @ether_addr_copy(i32 noundef %50, i32 noundef %52) #3 store i32 %5, ptr %35, align 4, !tbaa !25 %54 = load i32, ptr @BATADV_TP_ACK, align 4, !tbaa !5 %55 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 4 store i32 %54, ptr %55, align 4, !tbaa !26 %56 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 3 %57 = load i32, ptr %56, align 4, !tbaa !27 %58 = tail call i32 @memcpy(i32 noundef %57, ptr noundef %4, i32 noundef 4) #3 %59 = tail call i32 @htonl(i32 noundef %2) %60 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 2 store i32 %59, ptr %60, align 4, !tbaa !28 %61 = getelementptr inbounds %struct.batadv_icmp_tp_packet, ptr %35, i64 0, i32 1 store i32 %3, ptr %61, align 4, !tbaa !29 %62 = tail call i32 @batadv_send_skb_to_orig(ptr noundef %25, ptr noundef %7, ptr noundef null) #3 %63 = lshr i32 %62, 31 %64 = tail call i64 @unlikely(i32 noundef %63) #3 %65 = icmp ne i64 %64, 0 %66 = load i32, ptr @NET_XMIT_DROP, align 4 %67 = icmp eq i32 %62, %66 %68 = select i1 %65, i1 true, i1 %67 %69 = load i32, ptr @BATADV_TP_REASON_DST_UNREACHABLE, align 4 %70 = select i1 %68, i32 %69, i32 0 br label %71 71: ; preds = %32, %30, %20, %12 %72 = phi ptr [ null, %12 ], [ %15, %20 ], [ %15, %30 ], [ %15, %32 ] %73 = phi i32 [ %13, %12 ], [ %21, %20 ], [ %31, %30 ], [ %70, %32 ] %74 = tail call i64 @likely(ptr noundef %7) #3 %75 = icmp eq i64 %74, 0 br i1 %75, label %78, label %76 76: ; preds = %71 %77 = tail call i32 @batadv_orig_node_put(ptr noundef %7) #3 br label %78 78: ; preds = %76, %71 %79 = tail call i64 @likely(ptr noundef %72) #3 %80 = icmp eq i64 %79, 0 br i1 %80, label %83, label %81 81: ; preds = %78 %82 = tail call i32 @batadv_hardif_put(ptr noundef %72) #3 br label %83 83: ; preds = %81, %78 ret i32 %73 } declare ptr @batadv_orig_hash_find(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare ptr @batadv_primary_if_get_selected(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_alloc_skb_ip_align(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ether_addr_copy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @htonl(i32 noundef) local_unnamed_addr #2 declare i32 @batadv_send_skb_to_orig(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @likely(ptr noundef) local_unnamed_addr #1 declare i32 @batadv_orig_node_put(ptr noundef) local_unnamed_addr #1 declare i32 @batadv_hardif_put(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 = { nofree nosync nounwind memory(none) "no-trapping-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 40} !12 = !{!"batadv_icmp_tp_packet", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40} !13 = !{!12, !6, i64 36} !14 = !{!12, !6, i64 32} !15 = !{!12, !6, i64 28} !16 = !{!12, !6, i64 24} !17 = !{!18, !6, i64 8} !18 = !{!"batadv_orig_node", !19, i64 0, !6, i64 8} !19 = !{!"any pointer", !7, i64 0} !20 = !{!12, !6, i64 20} !21 = !{!22, !19, i64 0} !22 = !{!"batadv_hard_iface", !19, i64 0, !6, i64 8} !23 = !{!24, !6, i64 0} !24 = !{!"TYPE_2__", !6, i64 0} !25 = !{!12, !6, i64 0} !26 = !{!12, !6, i64 16} !27 = !{!12, !6, i64 12} !28 = !{!12, !6, i64 8} !29 = !{!12, !6, i64 4}
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_tp_meter.c_batadv_tp_send_ack.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_tp_meter.c_batadv_tp_send_ack.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BATADV_TP_REASON_DST_UNREACHABLE = common local_unnamed_addr global i32 0, align 4 @ETH_HLEN = common local_unnamed_addr global i64 0, align 8 @BATADV_TP_REASON_MEMORY_ERROR = common local_unnamed_addr global i32 0, align 4 @BATADV_ICMP = common local_unnamed_addr global i32 0, align 4 @BATADV_COMPAT_VERSION = common local_unnamed_addr global i32 0, align 4 @BATADV_TTL = common local_unnamed_addr global i32 0, align 4 @BATADV_TP = common local_unnamed_addr global i32 0, align 4 @BATADV_TP_ACK = common local_unnamed_addr global i32 0, align 4 @NET_XMIT_DROP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @batadv_tp_send_ack], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @batadv_tp_send_ack(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = tail call ptr @batadv_orig_hash_find(ptr noundef %0, ptr noundef %1) #3 %8 = icmp eq ptr %7, null %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %6 %13 = load i32, ptr @BATADV_TP_REASON_DST_UNREACHABLE, align 4, !tbaa !6 br label %71 14: ; preds = %6 %15 = tail call ptr @batadv_primary_if_get_selected(ptr noundef %0) #3 %16 = icmp eq ptr %15, null %17 = zext i1 %16 to i32 %18 = tail call i64 @unlikely(i32 noundef %17) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %14 %21 = load i32, ptr @BATADV_TP_REASON_DST_UNREACHABLE, align 4, !tbaa !6 br label %71 22: ; preds = %14 %23 = load i64, ptr @ETH_HLEN, align 8, !tbaa !10 %24 = add i64 %23, 44 %25 = tail call ptr @netdev_alloc_skb_ip_align(ptr noundef null, i64 noundef %24) #3 %26 = icmp eq ptr %25, null %27 = zext i1 %26 to i32 %28 = tail call i64 @unlikely(i32 noundef %27) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %22 %31 = load i32, ptr @BATADV_TP_REASON_MEMORY_ERROR, align 4, !tbaa !6 br label %71 32: ; preds = %22 %33 = load i64, ptr @ETH_HLEN, align 8, !tbaa !10 %34 = tail call i32 @skb_reserve(ptr noundef %25, i64 noundef %33) #3 %35 = tail call ptr @skb_put(ptr noundef %25, i32 noundef 44) #3 %36 = load i32, ptr @BATADV_ICMP, align 4, !tbaa !6 %37 = getelementptr inbounds i8, ptr %35, i64 40 store i32 %36, ptr %37, align 4, !tbaa !12 %38 = load i32, ptr @BATADV_COMPAT_VERSION, align 4, !tbaa !6 %39 = getelementptr inbounds i8, ptr %35, i64 36 store i32 %38, ptr %39, align 4, !tbaa !14 %40 = load i32, ptr @BATADV_TTL, align 4, !tbaa !6 %41 = getelementptr inbounds i8, ptr %35, i64 32 store i32 %40, ptr %41, align 4, !tbaa !15 %42 = load i32, ptr @BATADV_TP, align 4, !tbaa !6 %43 = getelementptr inbounds i8, ptr %35, i64 28 store i32 %42, ptr %43, align 4, !tbaa !16 %44 = getelementptr inbounds i8, ptr %35, i64 24 %45 = load i32, ptr %44, align 4, !tbaa !17 %46 = getelementptr inbounds i8, ptr %7, i64 8 %47 = load i32, ptr %46, align 8, !tbaa !18 %48 = tail call i32 @ether_addr_copy(i32 noundef %45, i32 noundef %47) #3 %49 = getelementptr inbounds i8, ptr %35, i64 20 %50 = load i32, ptr %49, align 4, !tbaa !21 %51 = load ptr, ptr %15, align 8, !tbaa !22 %52 = load i32, ptr %51, align 4, !tbaa !24 %53 = tail call i32 @ether_addr_copy(i32 noundef %50, i32 noundef %52) #3 store i32 %5, ptr %35, align 4, !tbaa !26 %54 = load i32, ptr @BATADV_TP_ACK, align 4, !tbaa !6 %55 = getelementptr inbounds i8, ptr %35, i64 16 store i32 %54, ptr %55, align 4, !tbaa !27 %56 = getelementptr inbounds i8, ptr %35, i64 12 %57 = load i32, ptr %56, align 4, !tbaa !28 %58 = tail call i32 @memcpy(i32 noundef %57, ptr noundef %4, i32 noundef 4) #3 %59 = tail call i32 @htonl(i32 noundef %2) %60 = getelementptr inbounds i8, ptr %35, i64 8 store i32 %59, ptr %60, align 4, !tbaa !29 %61 = getelementptr inbounds i8, ptr %35, i64 4 store i32 %3, ptr %61, align 4, !tbaa !30 %62 = tail call i32 @batadv_send_skb_to_orig(ptr noundef %25, ptr noundef %7, ptr noundef null) #3 %63 = lshr i32 %62, 31 %64 = tail call i64 @unlikely(i32 noundef %63) #3 %65 = icmp ne i64 %64, 0 %66 = load i32, ptr @NET_XMIT_DROP, align 4 %67 = icmp eq i32 %62, %66 %68 = select i1 %65, i1 true, i1 %67 %69 = load i32, ptr @BATADV_TP_REASON_DST_UNREACHABLE, align 4 %70 = select i1 %68, i32 %69, i32 0 br label %71 71: ; preds = %32, %30, %20, %12 %72 = phi ptr [ null, %12 ], [ %15, %20 ], [ %15, %30 ], [ %15, %32 ] %73 = phi i32 [ %13, %12 ], [ %21, %20 ], [ %31, %30 ], [ %70, %32 ] %74 = tail call i64 @likely(ptr noundef %7) #3 %75 = icmp eq i64 %74, 0 br i1 %75, label %78, label %76 76: ; preds = %71 %77 = tail call i32 @batadv_orig_node_put(ptr noundef %7) #3 br label %78 78: ; preds = %76, %71 %79 = tail call i64 @likely(ptr noundef %72) #3 %80 = icmp eq i64 %79, 0 br i1 %80, label %83, label %81 81: ; preds = %78 %82 = tail call i32 @batadv_hardif_put(ptr noundef %72) #3 br label %83 83: ; preds = %81, %78 ret i32 %73 } declare ptr @batadv_orig_hash_find(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare ptr @batadv_primary_if_get_selected(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_alloc_skb_ip_align(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ether_addr_copy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nosync nounwind memory(none) declare i32 @htonl(i32 noundef) local_unnamed_addr #2 declare i32 @batadv_send_skb_to_orig(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @likely(ptr noundef) local_unnamed_addr #1 declare i32 @batadv_orig_node_put(ptr noundef) local_unnamed_addr #1 declare i32 @batadv_hardif_put(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 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 40} !13 = !{!"batadv_icmp_tp_packet", !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} !14 = !{!13, !7, i64 36} !15 = !{!13, !7, i64 32} !16 = !{!13, !7, i64 28} !17 = !{!13, !7, i64 24} !18 = !{!19, !7, i64 8} !19 = !{!"batadv_orig_node", !20, i64 0, !7, i64 8} !20 = !{!"any pointer", !8, i64 0} !21 = !{!13, !7, i64 20} !22 = !{!23, !20, i64 0} !23 = !{!"batadv_hard_iface", !20, i64 0, !7, i64 8} !24 = !{!25, !7, i64 0} !25 = !{!"TYPE_2__", !7, i64 0} !26 = !{!13, !7, i64 0} !27 = !{!13, !7, i64 16} !28 = !{!13, !7, i64 12} !29 = !{!13, !7, i64 8} !30 = !{!13, !7, i64 4}
linux_net_batman-adv_extr_tp_meter.c_batadv_tp_send_ack
; ModuleID = 'AnghaBench/freebsd/sys/netgraph/bluetooth/drivers/ubtbcmfw/extr_ubtbcmfw.c_ubtbcmfw_ioctl.c' source_filename = "AnghaBench/freebsd/sys/netgraph/bluetooth/drivers/ubtbcmfw/extr_ubtbcmfw.c_ubtbcmfw_ioctl.c" target datalayout = "e-m:e-p270:32:32-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 @ubtbcmfw_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ubtbcmfw_ioctl(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 %3) #0 { %5 = tail call ptr @usb_fifo_softc(ptr noundef %0) #2 %6 = icmp eq i32 %1, 128 br i1 %6, label %7, label %11 7: ; preds = %4 %8 = load i32, ptr %5, align 4, !tbaa !5 %9 = tail call i32 @usbd_get_device_descriptor(i32 noundef %8) #2 %10 = tail call i32 @memcpy(ptr noundef %2, i32 noundef %9, i32 noundef 4) #2 br label %13 11: ; preds = %4 %12 = load i32, ptr @EINVAL, align 4, !tbaa !10 br label %13 13: ; preds = %11, %7 %14 = phi i32 [ 0, %7 ], [ %12, %11 ] ret i32 %14 } declare ptr @usb_fifo_softc(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usbd_get_device_descriptor(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 = !{!"ubtbcmfw_softc", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/netgraph/bluetooth/drivers/ubtbcmfw/extr_ubtbcmfw.c_ubtbcmfw_ioctl.c' source_filename = "AnghaBench/freebsd/sys/netgraph/bluetooth/drivers/ubtbcmfw/extr_ubtbcmfw.c_ubtbcmfw_ioctl.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 @ubtbcmfw_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ubtbcmfw_ioctl(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 %3) #0 { %5 = tail call ptr @usb_fifo_softc(ptr noundef %0) #2 %6 = icmp eq i32 %1, 128 br i1 %6, label %7, label %11 7: ; preds = %4 %8 = load i32, ptr %5, align 4, !tbaa !6 %9 = tail call i32 @usbd_get_device_descriptor(i32 noundef %8) #2 %10 = tail call i32 @memcpy(ptr noundef %2, i32 noundef %9, i32 noundef 4) #2 br label %13 11: ; preds = %4 %12 = load i32, ptr @EINVAL, align 4, !tbaa !11 br label %13 13: ; preds = %11, %7 %14 = phi i32 [ 0, %7 ], [ %12, %11 ] ret i32 %14 } declare ptr @usb_fifo_softc(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usbd_get_device_descriptor(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 = !{!"ubtbcmfw_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_sys_netgraph_bluetooth_drivers_ubtbcmfw_extr_ubtbcmfw.c_ubtbcmfw_ioctl
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_object.c_vm_object_populate_with_private.c' source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_object.c_vm_object_populate_with_private.c" target datalayout = "e-m:e-p270:32:32-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_16__ = type { i32, i64, i64, i32, i32 } %struct.TYPE_15__ = type { ptr, ptr, ptr, ptr, i64 } @KERN_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @VM_PAGE_NULL = dso_local local_unnamed_addr global ptr null, align 8 @vm_page_guard_addr = dso_local local_unnamed_addr global i64 0, align 8 @TRUE = dso_local local_unnamed_addr global ptr null, align 8 @FALSE = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [49 x i8] c"vm_object_populate_with_private - %p not private\00", align 1 @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @vm_object_populate_with_private(ptr noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 4 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = icmp eq i32 %6, 0 br i1 %7, label %98, label %8 8: ; preds = %4 %9 = tail call i32 @vm_object_lock(ptr noundef nonnull %0) #2 %10 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 3 %11 = load i32, ptr %10, align 8, !tbaa !11 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %91 13: ; preds = %8 %14 = tail call i32 @trunc_page_64(i32 noundef %1) #2 %15 = icmp eq i32 %14, %1 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 @vm_object_unlock(ptr noundef nonnull %0) #2 br label %98 18: ; preds = %13 %19 = icmp eq i64 %3, 0 br i1 %19, label %96, label %20 20: ; preds = %18 %21 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 2 %22 = load i64, ptr %21, align 8, !tbaa !12 %23 = trunc i64 %22 to i32 %24 = add i32 %23, %1 br label %25 25: ; preds = %20, %84 %26 = phi i32 [ %88, %84 ], [ %24, %20 ] %27 = phi i64 [ %85, %84 ], [ %2, %20 ] %28 = phi i64 [ %89, %84 ], [ %3, %20 ] %29 = tail call ptr @vm_page_lookup(ptr noundef %0, i32 noundef %26) #2 %30 = load ptr, ptr @VM_PAGE_NULL, align 8, !tbaa !13 %31 = icmp eq ptr %29, %30 br i1 %31, label %32, label %36 32: ; preds = %25 %33 = tail call ptr (...) @vm_page_grab_fictitious() #2 %34 = load ptr, ptr @VM_PAGE_NULL, align 8, !tbaa !13 %35 = icmp eq ptr %33, %34 br i1 %35, label %68, label %73 36: ; preds = %25 %37 = getelementptr inbounds %struct.TYPE_15__, ptr %29, i64 0, i32 2 %38 = load ptr, ptr %37, align 8, !tbaa !15 %39 = icmp eq ptr %38, null %40 = tail call i64 @VM_PAGE_GET_PHYS_PAGE(ptr noundef nonnull %29) #2 br i1 %39, label %51, label %41 41: ; preds = %36 %42 = load i64, ptr @vm_page_guard_addr, align 8, !tbaa !17 %43 = icmp eq i64 %40, %42 br i1 %43, label %84, label %44 44: ; preds = %41 %45 = tail call i32 (...) @vm_page_lockspin_queues() #2 %46 = load ptr, ptr @TRUE, align 8, !tbaa !13 %47 = getelementptr inbounds %struct.TYPE_15__, ptr %29, i64 0, i32 3 store ptr %46, ptr %47, align 8, !tbaa !18 %48 = tail call i32 (...) @vm_page_unlock_queues() #2 %49 = load ptr, ptr @FALSE, align 8, !tbaa !13 store ptr %49, ptr %37, align 8, !tbaa !15 %50 = tail call i32 @VM_PAGE_SET_PHYS_PAGE(ptr noundef nonnull %29, i64 noundef %27) #2 br label %84 51: ; preds = %36 %52 = icmp eq i64 %40, %27 br i1 %52, label %84, label %53 53: ; preds = %51 %54 = getelementptr inbounds %struct.TYPE_15__, ptr %29, i64 0, i32 3 %55 = load ptr, ptr %54, align 8, !tbaa !18 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %59 57: ; preds = %53 %58 = tail call i32 @panic(ptr noundef nonnull @.str, ptr noundef nonnull %29) #2 br label %59 59: ; preds = %57, %53 %60 = getelementptr inbounds %struct.TYPE_15__, ptr %29, i64 0, i32 4 %61 = load i64, ptr %60, align 8, !tbaa !19 %62 = icmp eq i64 %61, 0 br i1 %62, label %66, label %63 63: ; preds = %59 %64 = tail call i64 @VM_PAGE_GET_PHYS_PAGE(ptr noundef nonnull %29) #2 %65 = tail call i32 @pmap_disconnect(i64 noundef %64) #2 br label %66 66: ; preds = %63, %59 %67 = tail call i32 @VM_PAGE_SET_PHYS_PAGE(ptr noundef nonnull %29, i64 noundef %27) #2 br label %84 68: ; preds = %32, %68 %69 = tail call i32 (...) @vm_page_more_fictitious() #2 %70 = tail call ptr (...) @vm_page_grab_fictitious() #2 %71 = load ptr, ptr @VM_PAGE_NULL, align 8, !tbaa !13 %72 = icmp eq ptr %70, %71 br i1 %72, label %68, label %73, !llvm.loop !20 73: ; preds = %68, %32 %74 = phi ptr [ %33, %32 ], [ %70, %68 ] %75 = load ptr, ptr @TRUE, align 8, !tbaa !13 %76 = getelementptr inbounds %struct.TYPE_15__, ptr %74, i64 0, i32 3 store ptr %75, ptr %76, align 8, !tbaa !18 %77 = load ptr, ptr @FALSE, align 8, !tbaa !13 %78 = getelementptr inbounds %struct.TYPE_15__, ptr %74, i64 0, i32 2 store ptr %77, ptr %78, align 8, !tbaa !15 %79 = tail call i32 @VM_PAGE_SET_PHYS_PAGE(ptr noundef %74, i64 noundef %27) #2 %80 = load ptr, ptr @TRUE, align 8, !tbaa !13 %81 = getelementptr inbounds %struct.TYPE_15__, ptr %74, i64 0, i32 1 store ptr %80, ptr %81, align 8, !tbaa !22 %82 = load ptr, ptr @FALSE, align 8, !tbaa !13 store ptr %82, ptr %74, align 8, !tbaa !23 %83 = tail call i32 @vm_page_insert(ptr noundef nonnull %74, ptr noundef %0, i32 noundef %26) #2 br label %84 84: ; preds = %44, %41, %66, %51, %73 %85 = add nsw i64 %27, 1 %86 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !17 %87 = trunc i64 %86 to i32 %88 = add i32 %26, %87 %89 = sub nsw i64 %28, %86 %90 = icmp eq i64 %89, 0 br i1 %90, label %96, label %25, !llvm.loop !24 91: ; preds = %8 %92 = trunc i64 %2 to i32 %93 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !25 %94 = shl i32 %92, %93 store i32 %94, ptr %0, align 8, !tbaa !26 %95 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 store i64 %3, ptr %95, align 8, !tbaa !27 br label %96 96: ; preds = %84, %18, %91 %97 = tail call i32 @vm_object_unlock(ptr noundef %0) #2 br label %98 98: ; preds = %4, %16, %96 %99 = phi ptr [ @KERN_SUCCESS, %96 ], [ @KERN_FAILURE, %16 ], [ @KERN_FAILURE, %4 ] %100 = load i32, ptr %99, align 4, !tbaa !25 ret i32 %100 } declare i32 @vm_object_lock(ptr noundef) local_unnamed_addr #1 declare i32 @trunc_page_64(i32 noundef) local_unnamed_addr #1 declare i32 @vm_object_unlock(ptr noundef) local_unnamed_addr #1 declare ptr @vm_page_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @VM_PAGE_GET_PHYS_PAGE(ptr noundef) local_unnamed_addr #1 declare i32 @vm_page_lockspin_queues(...) local_unnamed_addr #1 declare i32 @vm_page_unlock_queues(...) local_unnamed_addr #1 declare i32 @VM_PAGE_SET_PHYS_PAGE(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pmap_disconnect(i64 noundef) local_unnamed_addr #1 declare ptr @vm_page_grab_fictitious(...) local_unnamed_addr #1 declare i32 @vm_page_more_fictitious(...) local_unnamed_addr #1 declare i32 @vm_page_insert(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 28} !6 = !{!"TYPE_16__", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 24} !12 = !{!6, !10, i64 16} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !14, i64 16} !16 = !{!"TYPE_15__", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !10, i64 32} !17 = !{!10, !10, i64 0} !18 = !{!16, !14, i64 24} !19 = !{!16, !10, i64 32} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!16, !14, i64 8} !23 = !{!16, !14, i64 0} !24 = distinct !{!24, !21} !25 = !{!7, !7, i64 0} !26 = !{!6, !7, i64 0} !27 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_object.c_vm_object_populate_with_private.c' source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_object.c_vm_object_populate_with_private.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KERN_FAILURE = common local_unnamed_addr global i32 0, align 4 @VM_PAGE_NULL = common local_unnamed_addr global ptr null, align 8 @vm_page_guard_addr = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global ptr null, align 8 @FALSE = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [49 x i8] c"vm_object_populate_with_private - %p not private\00", align 1 @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4 @KERN_SUCCESS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @vm_object_populate_with_private(ptr noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds i8, ptr %0, i64 28 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = icmp eq i32 %6, 0 br i1 %7, label %98, label %8 8: ; preds = %4 %9 = tail call i32 @vm_object_lock(ptr noundef nonnull %0) #2 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %91 13: ; preds = %8 %14 = tail call i32 @trunc_page_64(i32 noundef %1) #2 %15 = icmp eq i32 %14, %1 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 @vm_object_unlock(ptr noundef nonnull %0) #2 br label %98 18: ; preds = %13 %19 = icmp eq i64 %3, 0 br i1 %19, label %96, label %20 20: ; preds = %18 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load i64, ptr %21, align 8, !tbaa !13 %23 = trunc i64 %22 to i32 %24 = add i32 %23, %1 br label %25 25: ; preds = %20, %84 %26 = phi i32 [ %88, %84 ], [ %24, %20 ] %27 = phi i64 [ %85, %84 ], [ %2, %20 ] %28 = phi i64 [ %89, %84 ], [ %3, %20 ] %29 = tail call ptr @vm_page_lookup(ptr noundef %0, i32 noundef %26) #2 %30 = load ptr, ptr @VM_PAGE_NULL, align 8, !tbaa !14 %31 = icmp eq ptr %29, %30 br i1 %31, label %32, label %36 32: ; preds = %25 %33 = tail call ptr @vm_page_grab_fictitious() #2 %34 = load ptr, ptr @VM_PAGE_NULL, align 8, !tbaa !14 %35 = icmp eq ptr %33, %34 br i1 %35, label %68, label %73 36: ; preds = %25 %37 = getelementptr inbounds i8, ptr %29, i64 16 %38 = load ptr, ptr %37, align 8, !tbaa !16 %39 = icmp eq ptr %38, null %40 = tail call i64 @VM_PAGE_GET_PHYS_PAGE(ptr noundef nonnull %29) #2 br i1 %39, label %51, label %41 41: ; preds = %36 %42 = load i64, ptr @vm_page_guard_addr, align 8, !tbaa !18 %43 = icmp eq i64 %40, %42 br i1 %43, label %84, label %44 44: ; preds = %41 %45 = tail call i32 @vm_page_lockspin_queues() #2 %46 = load ptr, ptr @TRUE, align 8, !tbaa !14 %47 = getelementptr inbounds i8, ptr %29, i64 24 store ptr %46, ptr %47, align 8, !tbaa !19 %48 = tail call i32 @vm_page_unlock_queues() #2 %49 = load ptr, ptr @FALSE, align 8, !tbaa !14 store ptr %49, ptr %37, align 8, !tbaa !16 %50 = tail call i32 @VM_PAGE_SET_PHYS_PAGE(ptr noundef nonnull %29, i64 noundef %27) #2 br label %84 51: ; preds = %36 %52 = icmp eq i64 %40, %27 br i1 %52, label %84, label %53 53: ; preds = %51 %54 = getelementptr inbounds i8, ptr %29, i64 24 %55 = load ptr, ptr %54, align 8, !tbaa !19 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %59 57: ; preds = %53 %58 = tail call i32 @panic(ptr noundef nonnull @.str, ptr noundef nonnull %29) #2 br label %59 59: ; preds = %57, %53 %60 = getelementptr inbounds i8, ptr %29, i64 32 %61 = load i64, ptr %60, align 8, !tbaa !20 %62 = icmp eq i64 %61, 0 br i1 %62, label %66, label %63 63: ; preds = %59 %64 = tail call i64 @VM_PAGE_GET_PHYS_PAGE(ptr noundef nonnull %29) #2 %65 = tail call i32 @pmap_disconnect(i64 noundef %64) #2 br label %66 66: ; preds = %63, %59 %67 = tail call i32 @VM_PAGE_SET_PHYS_PAGE(ptr noundef nonnull %29, i64 noundef %27) #2 br label %84 68: ; preds = %32, %68 %69 = tail call i32 @vm_page_more_fictitious() #2 %70 = tail call ptr @vm_page_grab_fictitious() #2 %71 = load ptr, ptr @VM_PAGE_NULL, align 8, !tbaa !14 %72 = icmp eq ptr %70, %71 br i1 %72, label %68, label %73, !llvm.loop !21 73: ; preds = %68, %32 %74 = phi ptr [ %33, %32 ], [ %70, %68 ] %75 = load ptr, ptr @TRUE, align 8, !tbaa !14 %76 = getelementptr inbounds i8, ptr %74, i64 24 store ptr %75, ptr %76, align 8, !tbaa !19 %77 = load ptr, ptr @FALSE, align 8, !tbaa !14 %78 = getelementptr inbounds i8, ptr %74, i64 16 store ptr %77, ptr %78, align 8, !tbaa !16 %79 = tail call i32 @VM_PAGE_SET_PHYS_PAGE(ptr noundef %74, i64 noundef %27) #2 %80 = load ptr, ptr @TRUE, align 8, !tbaa !14 %81 = getelementptr inbounds i8, ptr %74, i64 8 store ptr %80, ptr %81, align 8, !tbaa !23 %82 = load ptr, ptr @FALSE, align 8, !tbaa !14 store ptr %82, ptr %74, align 8, !tbaa !24 %83 = tail call i32 @vm_page_insert(ptr noundef nonnull %74, ptr noundef %0, i32 noundef %26) #2 br label %84 84: ; preds = %44, %41, %66, %51, %73 %85 = add nsw i64 %27, 1 %86 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !18 %87 = trunc i64 %86 to i32 %88 = add i32 %26, %87 %89 = sub nsw i64 %28, %86 %90 = icmp eq i64 %89, 0 br i1 %90, label %96, label %25, !llvm.loop !25 91: ; preds = %8 %92 = trunc i64 %2 to i32 %93 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !26 %94 = shl i32 %92, %93 store i32 %94, ptr %0, align 8, !tbaa !27 %95 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %3, ptr %95, align 8, !tbaa !28 br label %96 96: ; preds = %84, %18, %91 %97 = tail call i32 @vm_object_unlock(ptr noundef %0) #2 br label %98 98: ; preds = %4, %16, %96 %99 = phi ptr [ @KERN_SUCCESS, %96 ], [ @KERN_FAILURE, %16 ], [ @KERN_FAILURE, %4 ] %100 = load i32, ptr %99, align 4, !tbaa !26 ret i32 %100 } declare i32 @vm_object_lock(ptr noundef) local_unnamed_addr #1 declare i32 @trunc_page_64(i32 noundef) local_unnamed_addr #1 declare i32 @vm_object_unlock(ptr noundef) local_unnamed_addr #1 declare ptr @vm_page_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @VM_PAGE_GET_PHYS_PAGE(ptr noundef) local_unnamed_addr #1 declare i32 @vm_page_lockspin_queues(...) local_unnamed_addr #1 declare i32 @vm_page_unlock_queues(...) local_unnamed_addr #1 declare i32 @VM_PAGE_SET_PHYS_PAGE(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pmap_disconnect(i64 noundef) local_unnamed_addr #1 declare ptr @vm_page_grab_fictitious(...) local_unnamed_addr #1 declare i32 @vm_page_more_fictitious(...) local_unnamed_addr #1 declare i32 @vm_page_insert(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 28} !7 = !{!"TYPE_16__", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 24} !13 = !{!7, !11, i64 16} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !15, i64 16} !17 = !{!"TYPE_15__", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !11, i64 32} !18 = !{!11, !11, i64 0} !19 = !{!17, !15, i64 24} !20 = !{!17, !11, i64 32} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!17, !15, i64 8} !24 = !{!17, !15, i64 0} !25 = distinct !{!25, !22} !26 = !{!8, !8, i64 0} !27 = !{!7, !8, i64 0} !28 = !{!7, !11, i64 8}
darwin-xnu_osfmk_vm_extr_vm_object.c_vm_object_populate_with_private
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_rx.c_wlcore_rx_get_align_buf_size.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_rx.c_wlcore_rx_get_align_buf_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" @WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN = dso_local local_unnamed_addr global i32 0, align 4 @WL12XX_BUS_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wlcore_rx_get_align_buf_size], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wlcore_rx_get_align_buf_size(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN, align 4, !tbaa !10 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @WL12XX_BUS_BLOCK_SIZE, align 4, !tbaa !10 %9 = tail call i32 @ALIGN(i32 noundef %1, i32 noundef %8) #2 br label %10 10: ; preds = %2, %7 %11 = phi i32 [ %9, %7 ], [ %1, %2 ] ret i32 %11 } declare i32 @ALIGN(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 = !{!"wl1271", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_rx.c_wlcore_rx_get_align_buf_size.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_rx.c_wlcore_rx_get_align_buf_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN = common local_unnamed_addr global i32 0, align 4 @WL12XX_BUS_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wlcore_rx_get_align_buf_size], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wlcore_rx_get_align_buf_size(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @WL12XX_BUS_BLOCK_SIZE, align 4, !tbaa !11 %9 = tail call i32 @ALIGN(i32 noundef %1, i32 noundef %8) #2 br label %10 10: ; preds = %2, %7 %11 = phi i32 [ %9, %7 ], [ %1, %2 ] ret i32 %11 } declare i32 @ALIGN(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 = !{!"wl1271", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_net_wireless_ti_wlcore_extr_rx.c_wlcore_rx_get_align_buf_size
; ModuleID = 'AnghaBench/freebsd/contrib/xz/src/liblzma/common/extr_outqueue.c_lzma_outq_read.c' source_filename = "AnghaBench/freebsd/contrib/xz/src/liblzma/common/extr_outqueue.c_lzma_outq_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i64, i64, ptr, i64 } %struct.TYPE_5__ = type { i64, i32, i32, i32, i32 } @LZMA_OK = dso_local local_unnamed_addr global i32 0, align 4 @LZMA_STREAM_END = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @lzma_outq_read(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i64 noundef %3, ptr noalias nocapture noundef writeonly %4, ptr noalias nocapture noundef writeonly %5) local_unnamed_addr #0 { %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %42, label %9 9: ; preds = %6 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = sub i64 %11, %7 %13 = icmp ult i64 %11, %7 br i1 %13, label %14, label %18 14: ; preds = %9 %15 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4 %16 = load i64, ptr %15, align 8, !tbaa !12 %17 = add i64 %16, %12 br label %18 18: ; preds = %14, %9 %19 = phi i64 [ %17, %14 ], [ %12, %9 ] %20 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %21 = load ptr, ptr %20, align 8, !tbaa !13 %22 = getelementptr inbounds %struct.TYPE_5__, ptr %21, i64 %19, i32 4 %23 = load i32, ptr %22, align 4, !tbaa !14 %24 = icmp eq i32 %23, 0 br i1 %24, label %42, label %25 25: ; preds = %18 %26 = getelementptr inbounds %struct.TYPE_5__, ptr %21, i64 %19 %27 = getelementptr inbounds %struct.TYPE_5__, ptr %21, i64 %19, i32 3 %28 = load i32, ptr %27, align 8, !tbaa !17 %29 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %30 = load i64, ptr %26, align 8, !tbaa !18 %31 = tail call i32 @lzma_bufcpy(i32 noundef %28, ptr noundef nonnull %29, i64 noundef %30, ptr noundef %1, ptr noundef %2, i64 noundef %3) #2 %32 = load i64, ptr %29, align 8, !tbaa !19 %33 = load i64, ptr %26, align 8, !tbaa !18 %34 = icmp slt i64 %32, %33 br i1 %34, label %42, label %35 35: ; preds = %25 %36 = getelementptr inbounds %struct.TYPE_5__, ptr %21, i64 %19, i32 2 %37 = load i32, ptr %36, align 4, !tbaa !20 store i32 %37, ptr %4, align 4, !tbaa !21 %38 = getelementptr inbounds %struct.TYPE_5__, ptr %21, i64 %19, i32 1 %39 = load i32, ptr %38, align 8, !tbaa !22 store i32 %39, ptr %5, align 4, !tbaa !21 %40 = load i64, ptr %0, align 8, !tbaa !5 %41 = add nsw i64 %40, -1 store i64 %41, ptr %0, align 8, !tbaa !5 store i64 0, ptr %29, align 8, !tbaa !19 br label %42 42: ; preds = %35, %18, %25, %6 %43 = phi ptr [ @LZMA_OK, %6 ], [ @LZMA_STREAM_END, %35 ], [ @LZMA_OK, %18 ], [ @LZMA_OK, %25 ] %44 = load i32, ptr %43, align 4, !tbaa !21 ret i32 %44 } declare i32 @lzma_bufcpy(i32 noundef, ptr noundef, i64 noundef, ptr noundef, 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_4__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 32} !13 = !{!6, !10, i64 24} !14 = !{!15, !16, i64 20} !15 = !{!"TYPE_5__", !7, i64 0, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20} !16 = !{!"int", !8, i64 0} !17 = !{!15, !16, i64 16} !18 = !{!15, !7, i64 0} !19 = !{!6, !7, i64 16} !20 = !{!15, !16, i64 12} !21 = !{!16, !16, i64 0} !22 = !{!15, !16, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/xz/src/liblzma/common/extr_outqueue.c_lzma_outq_read.c' source_filename = "AnghaBench/freebsd/contrib/xz/src/liblzma/common/extr_outqueue.c_lzma_outq_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i64, i32, i32, i32, i32 } @LZMA_OK = common local_unnamed_addr global i32 0, align 4 @LZMA_STREAM_END = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @lzma_outq_read(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i64 noundef %3, ptr noalias nocapture noundef writeonly %4, ptr noalias nocapture noundef writeonly %5) local_unnamed_addr #0 { %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %42, label %9 9: ; preds = %6 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = sub i64 %11, %7 %13 = icmp ult i64 %11, %7 br i1 %13, label %14, label %18 14: ; preds = %9 %15 = getelementptr inbounds i8, ptr %0, i64 32 %16 = load i64, ptr %15, align 8, !tbaa !13 %17 = add i64 %16, %12 br label %18 18: ; preds = %14, %9 %19 = phi i64 [ %17, %14 ], [ %12, %9 ] %20 = getelementptr inbounds i8, ptr %0, i64 24 %21 = load ptr, ptr %20, align 8, !tbaa !14 %22 = getelementptr inbounds %struct.TYPE_5__, ptr %21, i64 %19 %23 = getelementptr inbounds i8, ptr %22, i64 20 %24 = load i32, ptr %23, align 4, !tbaa !15 %25 = icmp eq i32 %24, 0 br i1 %25, label %42, label %26 26: ; preds = %18 %27 = getelementptr inbounds i8, ptr %22, i64 16 %28 = load i32, ptr %27, align 8, !tbaa !18 %29 = getelementptr inbounds i8, ptr %0, i64 16 %30 = load i64, ptr %22, align 8, !tbaa !19 %31 = tail call i32 @lzma_bufcpy(i32 noundef %28, ptr noundef nonnull %29, i64 noundef %30, ptr noundef %1, ptr noundef %2, i64 noundef %3) #2 %32 = load i64, ptr %29, align 8, !tbaa !20 %33 = load i64, ptr %22, align 8, !tbaa !19 %34 = icmp slt i64 %32, %33 br i1 %34, label %42, label %35 35: ; preds = %26 %36 = getelementptr inbounds i8, ptr %22, i64 12 %37 = load i32, ptr %36, align 4, !tbaa !21 store i32 %37, ptr %4, align 4, !tbaa !22 %38 = getelementptr inbounds i8, ptr %22, i64 8 %39 = load i32, ptr %38, align 8, !tbaa !23 store i32 %39, ptr %5, align 4, !tbaa !22 %40 = load i64, ptr %0, align 8, !tbaa !6 %41 = add nsw i64 %40, -1 store i64 %41, ptr %0, align 8, !tbaa !6 store i64 0, ptr %29, align 8, !tbaa !20 br label %42 42: ; preds = %35, %18, %26, %6 %43 = phi ptr [ @LZMA_OK, %6 ], [ @LZMA_STREAM_END, %35 ], [ @LZMA_OK, %18 ], [ @LZMA_OK, %26 ] %44 = load i32, ptr %43, align 4, !tbaa !22 ret i32 %44 } declare i32 @lzma_bufcpy(i32 noundef, ptr noundef, i64 noundef, ptr noundef, 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_4__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !8, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 32} !14 = !{!7, !11, i64 24} !15 = !{!16, !17, i64 20} !16 = !{!"TYPE_5__", !8, i64 0, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20} !17 = !{!"int", !9, i64 0} !18 = !{!16, !17, i64 16} !19 = !{!16, !8, i64 0} !20 = !{!7, !8, i64 16} !21 = !{!16, !17, i64 12} !22 = !{!17, !17, i64 0} !23 = !{!16, !17, i64 8}
freebsd_contrib_xz_src_liblzma_common_extr_outqueue.c_lzma_outq_read
; ModuleID = 'AnghaBench/linux/block/extr_blk-softirq.c_raise_blk_irq.c' source_filename = "AnghaBench/linux/block/extr_blk-softirq.c_raise_blk_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 @raise_blk_irq], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @raise_blk_irq(i32 %0, ptr nocapture readnone %1) #0 { ret i32 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" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/block/extr_blk-softirq.c_raise_blk_irq.c' source_filename = "AnghaBench/linux/block/extr_blk-softirq.c_raise_blk_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 @raise_blk_irq], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @raise_blk_irq(i32 %0, ptr nocapture readnone %1) #0 { ret i32 1 } 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)"}
linux_block_extr_blk-softirq.c_raise_blk_irq
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_dma.c__dma_getnextrxp.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_dma.c__dma_getnextrxp.c" target datalayout = "e-m:e-p270:32:32-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 @_dma_getnextrxp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @_dma_getnextrxp(ptr noundef %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call ptr @dma64_getnextrxp(ptr noundef nonnull %0, i32 noundef %1) #2 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] ret ptr %8 } declare ptr @dma64_getnextrxp(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 = !{!"dma_info", !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/brcm80211/brcmsmac/extr_dma.c__dma_getnextrxp.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_dma.c__dma_getnextrxp.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 @_dma_getnextrxp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @_dma_getnextrxp(ptr noundef %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call ptr @dma64_getnextrxp(ptr noundef nonnull %0, i32 noundef %1) #2 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] ret ptr %8 } declare ptr @dma64_getnextrxp(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 = !{!"dma_info", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_wireless_brcm80211_brcmsmac_extr_dma.c__dma_getnextrxp
; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_pool.c_zpool_events_seek.c' source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_pool.c_zpool_events_seek.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @.str = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 @ZFS_IOC_EVENTS_SEEK = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @EZFS_NOENT = dso_local local_unnamed_addr global i32 0, align 4 @TEXT_DOMAIN = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"cannot get event\00", align 1 @EZFS_NOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @zpool_events_seek(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_3__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 store i64 ptrtoint (ptr @.str to i64), ptr %4, align 8 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 2 store i32 %1, ptr %5, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1 store i32 %2, ptr %6, align 8, !tbaa !11 %7 = load i32, ptr @ZFS_IOC_EVENTS_SEEK, align 4, !tbaa !12 %8 = call i64 @zfs_ioctl(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %4) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %26, label %10 10: ; preds = %3 %11 = load i32, ptr @errno, align 4, !tbaa !12 switch i32 %11, label %22 [ i32 129, label %12 i32 128, label %17 ] 12: ; preds = %10 %13 = load i32, ptr @EZFS_NOENT, align 4, !tbaa !12 %14 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !12 %15 = call i32 @dgettext(i32 noundef %14, ptr noundef nonnull @.str.1) #3 %16 = call i32 @zfs_error_fmt(ptr noundef %0, i32 noundef %13, i32 noundef %15) #3 br label %26 17: ; preds = %10 %18 = load i32, ptr @EZFS_NOMEM, align 4, !tbaa !12 %19 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !12 %20 = call i32 @dgettext(i32 noundef %19, ptr noundef nonnull @.str.1) #3 %21 = call i32 @zfs_error_fmt(ptr noundef %0, i32 noundef %18, i32 noundef %20) #3 br label %26 22: ; preds = %10 %23 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !12 %24 = call i32 @dgettext(i32 noundef %23, ptr noundef nonnull @.str.1) #3 %25 = call i32 @zpool_standard_error_fmt(ptr noundef %0, i32 noundef %11, i32 noundef %24) #3 br label %26 26: ; preds = %12, %17, %22, %3 %27 = phi i32 [ %25, %22 ], [ %21, %17 ], [ %16, %12 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @zfs_ioctl(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zfs_error_fmt(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dgettext(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zpool_standard_error_fmt(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 12} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 12} !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} !12 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_pool.c_zpool_events_seek.c' source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_pool.c_zpool_events_seek.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 { ptr, i32, i32 } @.str = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 @ZFS_IOC_EVENTS_SEEK = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @EZFS_NOENT = common local_unnamed_addr global i32 0, align 4 @TEXT_DOMAIN = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"cannot get event\00", align 1 @EZFS_NOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @zpool_events_seek(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_3__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 store i64 ptrtoint (ptr @.str to i64), ptr %4, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 12 store i32 %1, ptr %5, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %2, ptr %6, align 8, !tbaa !12 %7 = load i32, ptr @ZFS_IOC_EVENTS_SEEK, align 4, !tbaa !13 %8 = call i64 @zfs_ioctl(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %4) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %26, label %10 10: ; preds = %3 %11 = load i32, ptr @errno, align 4, !tbaa !13 switch i32 %11, label %22 [ i32 129, label %12 i32 128, label %17 ] 12: ; preds = %10 %13 = load i32, ptr @EZFS_NOENT, align 4, !tbaa !13 %14 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !13 %15 = call i32 @dgettext(i32 noundef %14, ptr noundef nonnull @.str.1) #3 %16 = call i32 @zfs_error_fmt(ptr noundef %0, i32 noundef %13, i32 noundef %15) #3 br label %26 17: ; preds = %10 %18 = load i32, ptr @EZFS_NOMEM, align 4, !tbaa !13 %19 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !13 %20 = call i32 @dgettext(i32 noundef %19, ptr noundef nonnull @.str.1) #3 %21 = call i32 @zfs_error_fmt(ptr noundef %0, i32 noundef %18, i32 noundef %20) #3 br label %26 22: ; preds = %10 %23 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !13 %24 = call i32 @dgettext(i32 noundef %23, ptr noundef nonnull @.str.1) #3 %25 = call i32 @zpool_standard_error_fmt(ptr noundef %0, i32 noundef %11, i32 noundef %24) #3 br label %26 26: ; preds = %12, %17, %22, %3 %27 = phi i32 [ %25, %22 ], [ %21, %17 ], [ %16, %12 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @zfs_ioctl(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zfs_error_fmt(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dgettext(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zpool_standard_error_fmt(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 12} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !11, i64 12} !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} !13 = !{!11, !11, i64 0}
zfs_lib_libzfs_extr_libzfs_pool.c_zpool_events_seek
; ModuleID = 'AnghaBench/freebsd/sys/compat/ndis/extr_subr_ndis.c_NdisSystemProcessorCount.c' source_filename = "AnghaBench/freebsd/sys/compat/ndis/extr_subr_ndis.c_NdisSystemProcessorCount.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mp_ncpus = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @NdisSystemProcessorCount], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @NdisSystemProcessorCount() #0 { %1 = load i32, ptr @mp_ncpus, 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/freebsd/sys/compat/ndis/extr_subr_ndis.c_NdisSystemProcessorCount.c' source_filename = "AnghaBench/freebsd/sys/compat/ndis/extr_subr_ndis.c_NdisSystemProcessorCount.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mp_ncpus = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @NdisSystemProcessorCount], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @NdisSystemProcessorCount() #0 { %1 = load i32, ptr @mp_ncpus, 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"}
freebsd_sys_compat_ndis_extr_subr_ndis.c_NdisSystemProcessorCount
; ModuleID = 'AnghaBench/linux/drivers/net/extr_virtio_net.c_add_recvbuf_small.c' source_filename = "AnghaBench/linux/drivers/net/extr_virtio_net.c_add_recvbuf_small.c" target datalayout = "e-m:e-p270:32:32-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.receive_queue = type { i32, i32, %struct.page_frag } %struct.page_frag = type { i32, i32 } @VIRTNET_RX_PAD = dso_local local_unnamed_addr global i32 0, align 4 @GOOD_PACKET_LEN = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_recvbuf_small], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @add_recvbuf_small(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.receive_queue, ptr %1, i64 0, i32 2 %5 = tail call i32 @virtnet_get_headroom(ptr noundef %0) #2 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = load i32, ptr @VIRTNET_RX_PAD, align 4, !tbaa !10 %8 = load i32, ptr @GOOD_PACKET_LEN, align 4, !tbaa !10 %9 = add i32 %6, %5 %10 = add i32 %9, %7 %11 = add i32 %10, %8 %12 = tail call i32 @SKB_DATA_ALIGN(i32 noundef %11) #2 %13 = tail call i32 @SKB_DATA_ALIGN(i32 noundef 4) #2 %14 = add nsw i32 %13, %12 %15 = tail call i32 @skb_page_frag_refill(i32 noundef %14, ptr noundef nonnull %4, i32 noundef %2) #2 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i64 @unlikely(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %3 %21 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %22 = sub nsw i32 0, %21 br label %54 23: ; preds = %3 %24 = zext i32 %5 to i64 %25 = inttoptr i64 %24 to ptr %26 = getelementptr inbounds %struct.receive_queue, ptr %1, i64 0, i32 2, i32 1 %27 = load i32, ptr %26, align 4, !tbaa !11 %28 = tail call i64 @page_address(i32 noundef %27) #2 %29 = inttoptr i64 %28 to ptr %30 = load i32, ptr %4, align 4, !tbaa !13 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i32, ptr %26, align 4, !tbaa !11 %34 = tail call i32 @get_page(i32 noundef %33) #2 %35 = load i32, ptr %4, align 4, !tbaa !13 %36 = add nsw i32 %35, %14 store i32 %36, ptr %4, align 4, !tbaa !13 %37 = load i32, ptr %1, align 4, !tbaa !14 %38 = load i32, ptr @VIRTNET_RX_PAD, align 4, !tbaa !10 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %32, i64 %39 %41 = getelementptr inbounds i8, ptr %40, i64 %24 %42 = load i32, ptr %0, align 4, !tbaa !5 %43 = load i32, ptr @GOOD_PACKET_LEN, align 4, !tbaa !10 %44 = add i32 %43, %42 %45 = tail call i32 @sg_init_one(i32 noundef %37, ptr noundef %41, i32 noundef %44) #2 %46 = getelementptr inbounds %struct.receive_queue, ptr %1, i64 0, i32 1 %47 = load i32, ptr %46, align 4, !tbaa !16 %48 = load i32, ptr %1, align 4, !tbaa !14 %49 = tail call i32 @virtqueue_add_inbuf_ctx(i32 noundef %47, i32 noundef %48, i32 noundef 1, ptr noundef %32, ptr noundef %25, i32 noundef %2) #2 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %23 %52 = tail call i32 @virt_to_head_page(ptr noundef %32) #2 %53 = tail call i32 @put_page(i32 noundef %52) #2 br label %54 54: ; preds = %23, %51, %20 %55 = phi i32 [ %22, %20 ], [ %49, %51 ], [ %49, %23 ] ret i32 %55 } declare i32 @virtnet_get_headroom(ptr noundef) local_unnamed_addr #1 declare i32 @SKB_DATA_ALIGN(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @skb_page_frag_refill(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @page_address(i32 noundef) local_unnamed_addr #1 declare i32 @get_page(i32 noundef) local_unnamed_addr #1 declare i32 @sg_init_one(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @virtqueue_add_inbuf_ctx(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @put_page(i32 noundef) local_unnamed_addr #1 declare i32 @virt_to_head_page(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 = !{!"virtnet_info", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 4} !12 = !{!"page_frag", !7, i64 0, !7, i64 4} !13 = !{!12, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"receive_queue", !7, i64 0, !7, i64 4, !12, i64 8} !16 = !{!15, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/net/extr_virtio_net.c_add_recvbuf_small.c' source_filename = "AnghaBench/linux/drivers/net/extr_virtio_net.c_add_recvbuf_small.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VIRTNET_RX_PAD = common local_unnamed_addr global i32 0, align 4 @GOOD_PACKET_LEN = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @add_recvbuf_small], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @add_recvbuf_small(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = tail call i32 @virtnet_get_headroom(ptr noundef %0) #2 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = load i32, ptr @VIRTNET_RX_PAD, align 4, !tbaa !11 %8 = load i32, ptr @GOOD_PACKET_LEN, align 4, !tbaa !11 %9 = add i32 %6, %5 %10 = add i32 %9, %7 %11 = add i32 %10, %8 %12 = tail call i32 @SKB_DATA_ALIGN(i32 noundef %11) #2 %13 = tail call i32 @SKB_DATA_ALIGN(i32 noundef 4) #2 %14 = add nsw i32 %13, %12 %15 = tail call i32 @skb_page_frag_refill(i32 noundef %14, ptr noundef nonnull %4, i32 noundef %2) #2 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i64 @unlikely(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %3 %21 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %22 = sub nsw i32 0, %21 br label %54 23: ; preds = %3 %24 = zext i32 %5 to i64 %25 = inttoptr i64 %24 to ptr %26 = getelementptr inbounds i8, ptr %1, i64 12 %27 = load i32, ptr %26, align 4, !tbaa !12 %28 = tail call i64 @page_address(i32 noundef %27) #2 %29 = inttoptr i64 %28 to ptr %30 = load i32, ptr %4, align 4, !tbaa !14 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i32, ptr %26, align 4, !tbaa !12 %34 = tail call i32 @get_page(i32 noundef %33) #2 %35 = load i32, ptr %4, align 4, !tbaa !14 %36 = add nsw i32 %35, %14 store i32 %36, ptr %4, align 4, !tbaa !14 %37 = load i32, ptr %1, align 4, !tbaa !15 %38 = load i32, ptr @VIRTNET_RX_PAD, align 4, !tbaa !11 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %32, i64 %39 %41 = getelementptr inbounds i8, ptr %40, i64 %24 %42 = load i32, ptr %0, align 4, !tbaa !6 %43 = load i32, ptr @GOOD_PACKET_LEN, align 4, !tbaa !11 %44 = add i32 %43, %42 %45 = tail call i32 @sg_init_one(i32 noundef %37, ptr noundef %41, i32 noundef %44) #2 %46 = getelementptr inbounds i8, ptr %1, i64 4 %47 = load i32, ptr %46, align 4, !tbaa !17 %48 = load i32, ptr %1, align 4, !tbaa !15 %49 = tail call i32 @virtqueue_add_inbuf_ctx(i32 noundef %47, i32 noundef %48, i32 noundef 1, ptr noundef %32, ptr noundef %25, i32 noundef %2) #2 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %23 %52 = tail call i32 @virt_to_head_page(ptr noundef %32) #2 %53 = tail call i32 @put_page(i32 noundef %52) #2 br label %54 54: ; preds = %23, %51, %20 %55 = phi i32 [ %22, %20 ], [ %49, %51 ], [ %49, %23 ] ret i32 %55 } declare i32 @virtnet_get_headroom(ptr noundef) local_unnamed_addr #1 declare i32 @SKB_DATA_ALIGN(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @skb_page_frag_refill(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @page_address(i32 noundef) local_unnamed_addr #1 declare i32 @get_page(i32 noundef) local_unnamed_addr #1 declare i32 @sg_init_one(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @virtqueue_add_inbuf_ctx(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @put_page(i32 noundef) local_unnamed_addr #1 declare i32 @virt_to_head_page(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 = !{!"virtnet_info", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 4} !13 = !{!"page_frag", !8, i64 0, !8, i64 4} !14 = !{!13, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"receive_queue", !8, i64 0, !8, i64 4, !13, i64 8} !17 = !{!16, !8, i64 4}
linux_drivers_net_extr_virtio_net.c_add_recvbuf_small
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_..wifi.h_get_sta.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_..wifi.h_get_sta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @get_sta], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @get_sta(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @ieee80211_find_sta(ptr noundef %1, ptr noundef %2) #2 ret ptr %4 } declare ptr @ieee80211_find_sta(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_..wifi.h_get_sta.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_..wifi.h_get_sta.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @get_sta], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @get_sta(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @ieee80211_find_sta(ptr noundef %1, ptr noundef %2) #2 ret ptr %4 } declare ptr @ieee80211_find_sta(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_wireless_realtek_rtlwifi_btcoexist_extr_..wifi.h_get_sta
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/vxge/extr_vxge-main.c_vxge_reset_all_vpaths.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/vxge/extr_vxge-main.c_vxge_reset_all_vpaths.c" target datalayout = "e-m:e-p270:32:32-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.vxgedev = type { i32, ptr } %struct.TYPE_2__ = type { i64 } @VXGE_HW_OK = dso_local local_unnamed_addr global i64 0, align 8 @VXGE_ERR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"vxge_hw_vpath_recover_from_reset failed for vpath: %d\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"vxge_hw_vpath_reset failed for vpath:%d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @vxge_reset_all_vpaths(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @VXGE_HW_OK, align 8, !tbaa !5 %3 = load i32, ptr %0, align 8, !tbaa !9 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %37 5: ; preds = %1 %6 = getelementptr inbounds %struct.vxgedev, ptr %0, i64 0, i32 1 br label %7 7: ; preds = %5, %27 %8 = phi i64 [ 0, %5 ], [ %28, %27 ] %9 = load ptr, ptr %6, align 8, !tbaa !13 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %8 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = icmp eq i64 %11, 0 br i1 %12, label %27, label %13 13: ; preds = %7 %14 = tail call i64 @vxge_hw_vpath_reset(i64 noundef %11) #2 %15 = load i64, ptr @VXGE_HW_OK, align 8, !tbaa !5 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %32 17: ; preds = %13 %18 = tail call i64 @is_vxge_card_up(ptr noundef nonnull %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %27, label %20 20: ; preds = %17 %21 = load ptr, ptr %6, align 8, !tbaa !13 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i64 %8 %23 = load i64, ptr %22, align 8, !tbaa !14 %24 = tail call i64 @vxge_hw_vpath_recover_from_reset(i64 noundef %23) #2 %25 = load i64, ptr @VXGE_HW_OK, align 8, !tbaa !5 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %32 27: ; preds = %7, %17, %20 %28 = add nuw nsw i64 %8, 1 %29 = load i32, ptr %0, align 8, !tbaa !9 %30 = sext i32 %29 to i64 %31 = icmp slt i64 %28, %30 br i1 %31, label %7, label %37, !llvm.loop !16 32: ; preds = %13, %20 %33 = phi ptr [ @.str, %20 ], [ @.str.1, %13 ] %34 = trunc i64 %8 to i32 %35 = load i32, ptr @VXGE_ERR, align 4, !tbaa !18 %36 = tail call i32 @vxge_debug_init(i32 noundef %35, ptr noundef nonnull %33, i32 noundef %34) #2 br label %37 37: ; preds = %27, %32, %1 %38 = trunc i64 %2 to i32 ret i32 %38 } declare i64 @vxge_hw_vpath_reset(i64 noundef) local_unnamed_addr #1 declare i64 @is_vxge_card_up(ptr noundef) local_unnamed_addr #1 declare i64 @vxge_hw_vpath_recover_from_reset(i64 noundef) local_unnamed_addr #1 declare i32 @vxge_debug_init(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"vxgedev", !11, i64 0, !12, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 8} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_2__", !6, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/vxge/extr_vxge-main.c_vxge_reset_all_vpaths.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/vxge/extr_vxge-main.c_vxge_reset_all_vpaths.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64 } @VXGE_HW_OK = common local_unnamed_addr global i64 0, align 8 @VXGE_ERR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"vxge_hw_vpath_recover_from_reset failed for vpath: %d\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"vxge_hw_vpath_reset failed for vpath:%d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @vxge_reset_all_vpaths(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @VXGE_HW_OK, align 8, !tbaa !6 %3 = load i32, ptr %0, align 8, !tbaa !10 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %37 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 br label %7 7: ; preds = %5, %27 %8 = phi i64 [ 0, %5 ], [ %28, %27 ] %9 = load ptr, ptr %6, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %8 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = icmp eq i64 %11, 0 br i1 %12, label %27, label %13 13: ; preds = %7 %14 = tail call i64 @vxge_hw_vpath_reset(i64 noundef %11) #2 %15 = load i64, ptr @VXGE_HW_OK, align 8, !tbaa !6 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %32 17: ; preds = %13 %18 = tail call i64 @is_vxge_card_up(ptr noundef nonnull %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %27, label %20 20: ; preds = %17 %21 = load ptr, ptr %6, align 8, !tbaa !14 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i64 %8 %23 = load i64, ptr %22, align 8, !tbaa !15 %24 = tail call i64 @vxge_hw_vpath_recover_from_reset(i64 noundef %23) #2 %25 = load i64, ptr @VXGE_HW_OK, align 8, !tbaa !6 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %32 27: ; preds = %7, %17, %20 %28 = add nuw nsw i64 %8, 1 %29 = load i32, ptr %0, align 8, !tbaa !10 %30 = sext i32 %29 to i64 %31 = icmp slt i64 %28, %30 br i1 %31, label %7, label %37, !llvm.loop !17 32: ; preds = %13, %20 %33 = phi ptr [ @.str, %20 ], [ @.str.1, %13 ] %34 = trunc nuw nsw i64 %8 to i32 %35 = load i32, ptr @VXGE_ERR, align 4, !tbaa !19 %36 = tail call i32 @vxge_debug_init(i32 noundef %35, ptr noundef nonnull %33, i32 noundef %34) #2 br label %37 37: ; preds = %27, %32, %1 %38 = trunc i64 %2 to i32 ret i32 %38 } declare i64 @vxge_hw_vpath_reset(i64 noundef) local_unnamed_addr #1 declare i64 @is_vxge_card_up(ptr noundef) local_unnamed_addr #1 declare i64 @vxge_hw_vpath_recover_from_reset(i64 noundef) local_unnamed_addr #1 declare i32 @vxge_debug_init(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"vxgedev", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_2__", !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!12, !12, i64 0}
fastsocket_kernel_drivers_net_vxge_extr_vxge-main.c_vxge_reset_all_vpaths
; ModuleID = 'AnghaBench/linux/drivers/i3c/master/extr_i3c-master-cdns.c_cdns_i3c_master_i2c_xfers.c' source_filename = "AnghaBench/linux/drivers/i3c/master/extr_i3c-master-cdns.c_cdns_i3c_master_i2c_xfers.c" target datalayout = "e-m:e-p270:32:32-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.i2c_msg = type { i64, i32, i32, i32 } %struct.TYPE_2__ = type { i32, i32, i32 } %struct.cdns_i3c_xfer = type { i32, i32, ptr } %struct.cdns_i3c_cmd = type { i32, i64, i64, i32, i32 } @ENOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @CMD0_FIFO_PL_LEN_MAX = dso_local local_unnamed_addr global i64 0, align 8 @I2C_M_RD = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @XMIT_BURST_WITHOUT_SUBADDR = dso_local local_unnamed_addr global i32 0, align 4 @I2C_M_TEN = dso_local local_unnamed_addr global i32 0, align 4 @CMD0_FIFO_IS_10B = dso_local local_unnamed_addr global i32 0, align 4 @CMD0_FIFO_RNW = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cdns_i3c_master_i2c_xfers], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cdns_i3c_master_i2c_xfers(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = tail call ptr @i2c_dev_get_master(ptr noundef %0) #2 %5 = tail call ptr @to_cdns_i3c_master(ptr noundef %4) #2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = icmp slt i32 %6, %2 br i1 %7, label %12, label %8 8: ; preds = %3 %9 = icmp sgt i32 %2, 0 br i1 %9, label %10, label %54 10: ; preds = %8 %11 = zext nneg i32 %2 to i64 br label %15 12: ; preds = %3 %13 = load i32, ptr @ENOTSUPP, align 4, !tbaa !11 %14 = sub nsw i32 0, %13 br label %120 15: ; preds = %10, %26 %16 = phi i64 [ 0, %10 ], [ %38, %26 ] %17 = phi i32 [ 0, %10 ], [ %37, %26 ] %18 = phi i32 [ 0, %10 ], [ %35, %26 ] %19 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %16 %20 = load i64, ptr %19, align 8, !tbaa !12 %21 = load i64, ptr @CMD0_FIFO_PL_LEN_MAX, align 8, !tbaa !15 %22 = icmp sgt i64 %20, %21 br i1 %22, label %23, label %26 23: ; preds = %15 %24 = load i32, ptr @ENOTSUPP, align 4, !tbaa !11 %25 = sub nsw i32 0, %24 br label %120 26: ; preds = %15 %27 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %16, i32 1 %28 = load i32, ptr %27, align 8, !tbaa !16 %29 = load i32, ptr @I2C_M_RD, align 4, !tbaa !11 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 %32 = tail call i64 @DIV_ROUND_UP(i64 noundef %20, i32 noundef 4) #2 %33 = trunc i64 %32 to i32 %34 = select i1 %31, i32 %33, i32 0 %35 = add i32 %18, %34 %36 = select i1 %31, i32 0, i32 %33 %37 = add i32 %17, %36 %38 = add nuw nsw i64 %16, 1 %39 = icmp eq i64 %38, %11 br i1 %39, label %40, label %15, !llvm.loop !17 40: ; preds = %26 %41 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 0, i32 1 %42 = load i32, ptr %41, align 4, !tbaa !19 %43 = icmp ugt i32 %35, %42 br i1 %43, label %48, label %44 44: ; preds = %40 %45 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 0, i32 2 %46 = load i32, ptr %45, align 4, !tbaa !20 %47 = icmp ugt i32 %37, %46 br i1 %47, label %48, label %51 48: ; preds = %44, %40 %49 = load i32, ptr @ENOTSUPP, align 4, !tbaa !11 %50 = sub nsw i32 0, %49 br label %120 51: ; preds = %44 %52 = tail call ptr @cdns_i3c_master_alloc_xfer(ptr noundef nonnull %5, i32 noundef %2) #2 %53 = icmp eq ptr %52, null br i1 %53, label %61, label %57 54: ; preds = %8 %55 = tail call ptr @cdns_i3c_master_alloc_xfer(ptr noundef nonnull %5, i32 noundef %2) #2 %56 = icmp eq ptr %55, null br i1 %56, label %61, label %108 57: ; preds = %51 br i1 %9, label %58, label %108 58: ; preds = %57 %59 = getelementptr inbounds %struct.cdns_i3c_xfer, ptr %52, i64 0, i32 2 %60 = zext nneg i32 %2 to i64 br label %64 61: ; preds = %54, %51 %62 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %63 = sub nsw i32 0, %62 br label %120 64: ; preds = %58, %105 %65 = phi i64 [ 0, %58 ], [ %106, %105 ] %66 = load ptr, ptr %59, align 8, !tbaa !21 %67 = getelementptr inbounds %struct.cdns_i3c_cmd, ptr %66, i64 %65 %68 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %65 %69 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %65, i32 3 %70 = load i32, ptr %69, align 8, !tbaa !24 %71 = tail call i32 @CMD0_FIFO_DEV_ADDR(i32 noundef %70) #2 %72 = load i64, ptr %68, align 8, !tbaa !12 %73 = tail call i32 @CMD0_FIFO_PL_LEN(i64 noundef %72) #2 %74 = or i32 %73, %71 %75 = load i32, ptr @XMIT_BURST_WITHOUT_SUBADDR, align 4, !tbaa !11 %76 = tail call i32 @CMD0_FIFO_PRIV_XMIT_MODE(i32 noundef %75) #2 %77 = or i32 %74, %76 store i32 %77, ptr %67, align 8, !tbaa !25 %78 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %65, i32 1 %79 = load i32, ptr %78, align 8, !tbaa !16 %80 = load i32, ptr @I2C_M_TEN, align 4, !tbaa !11 %81 = and i32 %80, %79 %82 = icmp eq i32 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %64 %84 = load i32, ptr @CMD0_FIFO_IS_10B, align 4, !tbaa !11 %85 = or i32 %84, %77 store i32 %85, ptr %67, align 8, !tbaa !25 br label %86 86: ; preds = %83, %64 %87 = phi i32 [ %85, %83 ], [ %77, %64 ] %88 = load i32, ptr @I2C_M_RD, align 4, !tbaa !11 %89 = and i32 %88, %79 %90 = icmp eq i32 %89, 0 br i1 %90, label %99, label %91 91: ; preds = %86 %92 = load i32, ptr @CMD0_FIFO_RNW, align 4, !tbaa !11 %93 = or i32 %87, %92 store i32 %93, ptr %67, align 8, !tbaa !25 %94 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %65, i32 2 %95 = load i32, ptr %94, align 4, !tbaa !27 %96 = getelementptr inbounds %struct.cdns_i3c_cmd, ptr %66, i64 %65, i32 4 store i32 %95, ptr %96, align 4, !tbaa !28 %97 = load i64, ptr %68, align 8, !tbaa !12 %98 = getelementptr inbounds %struct.cdns_i3c_cmd, ptr %66, i64 %65, i32 1 store i64 %97, ptr %98, align 8, !tbaa !29 br label %105 99: ; preds = %86 %100 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %65, i32 2 %101 = load i32, ptr %100, align 4, !tbaa !27 %102 = getelementptr inbounds %struct.cdns_i3c_cmd, ptr %66, i64 %65, i32 3 store i32 %101, ptr %102, align 8, !tbaa !30 %103 = load i64, ptr %68, align 8, !tbaa !12 %104 = getelementptr inbounds %struct.cdns_i3c_cmd, ptr %66, i64 %65, i32 2 store i64 %103, ptr %104, align 8, !tbaa !31 br label %105 105: ; preds = %99, %91 %106 = add nuw nsw i64 %65, 1 %107 = icmp eq i64 %106, %60 br i1 %107, label %108, label %64, !llvm.loop !32 108: ; preds = %105, %54, %57 %109 = phi ptr [ %52, %57 ], [ %55, %54 ], [ %52, %105 ] %110 = tail call i32 @cdns_i3c_master_queue_xfer(ptr noundef nonnull %5, ptr noundef nonnull %109) #2 %111 = getelementptr inbounds %struct.cdns_i3c_xfer, ptr %109, i64 0, i32 1 %112 = tail call i32 @msecs_to_jiffies(i32 noundef 1000) #2 %113 = tail call i32 @wait_for_completion_timeout(ptr noundef nonnull %111, i32 noundef %112) #2 %114 = icmp eq i32 %113, 0 br i1 %114, label %115, label %117 115: ; preds = %108 %116 = tail call i32 @cdns_i3c_master_unqueue_xfer(ptr noundef nonnull %5, ptr noundef nonnull %109) #2 br label %117 117: ; preds = %115, %108 %118 = load i32, ptr %109, align 8, !tbaa !33 %119 = tail call i32 @cdns_i3c_master_free_xfer(ptr noundef nonnull %109) #2 br label %120 120: ; preds = %117, %61, %48, %23, %12 %121 = phi i32 [ %14, %12 ], [ %25, %23 ], [ %50, %48 ], [ %118, %117 ], [ %63, %61 ] ret i32 %121 } declare ptr @i2c_dev_get_master(ptr noundef) local_unnamed_addr #1 declare ptr @to_cdns_i3c_master(ptr noundef) local_unnamed_addr #1 declare i64 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cdns_i3c_master_alloc_xfer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CMD0_FIFO_DEV_ADDR(i32 noundef) local_unnamed_addr #1 declare i32 @CMD0_FIFO_PL_LEN(i64 noundef) local_unnamed_addr #1 declare i32 @CMD0_FIFO_PRIV_XMIT_MODE(i32 noundef) local_unnamed_addr #1 declare i32 @cdns_i3c_master_queue_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wait_for_completion_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @cdns_i3c_master_unqueue_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cdns_i3c_master_free_xfer(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 = !{!"cdns_i3c_master", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"i2c_msg", !14, i64 0, !8, i64 8, !8, i64 12, !8, i64 16} !14 = !{!"long", !9, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !8, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!6, !8, i64 4} !20 = !{!6, !8, i64 8} !21 = !{!22, !23, i64 8} !22 = !{!"cdns_i3c_xfer", !8, i64 0, !8, i64 4, !23, i64 8} !23 = !{!"any pointer", !9, i64 0} !24 = !{!13, !8, i64 16} !25 = !{!26, !8, i64 0} !26 = !{!"cdns_i3c_cmd", !8, i64 0, !14, i64 8, !14, i64 16, !8, i64 24, !8, i64 28} !27 = !{!13, !8, i64 12} !28 = !{!26, !8, i64 28} !29 = !{!26, !14, i64 8} !30 = !{!26, !8, i64 24} !31 = !{!26, !14, i64 16} !32 = distinct !{!32, !18} !33 = !{!22, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/i3c/master/extr_i3c-master-cdns.c_cdns_i3c_master_i2c_xfers.c' source_filename = "AnghaBench/linux/drivers/i3c/master/extr_i3c-master-cdns.c_cdns_i3c_master_i2c_xfers.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.i2c_msg = type { i64, i32, i32, i32 } %struct.cdns_i3c_cmd = type { i32, i64, i64, i32, i32 } @ENOTSUPP = common local_unnamed_addr global i32 0, align 4 @CMD0_FIFO_PL_LEN_MAX = common local_unnamed_addr global i64 0, align 8 @I2C_M_RD = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @XMIT_BURST_WITHOUT_SUBADDR = common local_unnamed_addr global i32 0, align 4 @I2C_M_TEN = common local_unnamed_addr global i32 0, align 4 @CMD0_FIFO_IS_10B = common local_unnamed_addr global i32 0, align 4 @CMD0_FIFO_RNW = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cdns_i3c_master_i2c_xfers], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cdns_i3c_master_i2c_xfers(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = tail call ptr @i2c_dev_get_master(ptr noundef %0) #2 %5 = tail call ptr @to_cdns_i3c_master(ptr noundef %4) #2 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = icmp slt i32 %6, %2 br i1 %7, label %12, label %8 8: ; preds = %3 %9 = icmp sgt i32 %2, 0 br i1 %9, label %10, label %54 10: ; preds = %8 %11 = zext nneg i32 %2 to i64 br label %15 12: ; preds = %3 %13 = load i32, ptr @ENOTSUPP, align 4, !tbaa !12 %14 = sub nsw i32 0, %13 br label %117 15: ; preds = %10, %26 %16 = phi i64 [ 0, %10 ], [ %38, %26 ] %17 = phi i32 [ 0, %10 ], [ %37, %26 ] %18 = phi i32 [ 0, %10 ], [ %35, %26 ] %19 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %16 %20 = load i64, ptr %19, align 8, !tbaa !13 %21 = load i64, ptr @CMD0_FIFO_PL_LEN_MAX, align 8, !tbaa !16 %22 = icmp sgt i64 %20, %21 br i1 %22, label %23, label %26 23: ; preds = %15 %24 = load i32, ptr @ENOTSUPP, align 4, !tbaa !12 %25 = sub nsw i32 0, %24 br label %117 26: ; preds = %15 %27 = getelementptr inbounds i8, ptr %19, i64 8 %28 = load i32, ptr %27, align 8, !tbaa !17 %29 = load i32, ptr @I2C_M_RD, align 4, !tbaa !12 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 %32 = tail call i64 @DIV_ROUND_UP(i64 noundef %20, i32 noundef 4) #2 %33 = trunc i64 %32 to i32 %34 = select i1 %31, i32 %33, i32 0 %35 = add i32 %18, %34 %36 = select i1 %31, i32 0, i32 %33 %37 = add i32 %17, %36 %38 = add nuw nsw i64 %16, 1 %39 = icmp eq i64 %38, %11 br i1 %39, label %40, label %15, !llvm.loop !18 40: ; preds = %26 %41 = getelementptr inbounds i8, ptr %5, i64 4 %42 = load i32, ptr %41, align 4, !tbaa !20 %43 = icmp ugt i32 %35, %42 br i1 %43, label %48, label %44 44: ; preds = %40 %45 = getelementptr inbounds i8, ptr %5, i64 8 %46 = load i32, ptr %45, align 4, !tbaa !21 %47 = icmp ugt i32 %37, %46 br i1 %47, label %48, label %51 48: ; preds = %44, %40 %49 = load i32, ptr @ENOTSUPP, align 4, !tbaa !12 %50 = sub nsw i32 0, %49 br label %117 51: ; preds = %44 %52 = tail call ptr @cdns_i3c_master_alloc_xfer(ptr noundef nonnull %5, i32 noundef %2) #2 %53 = icmp eq ptr %52, null br i1 %53, label %59, label %57 54: ; preds = %8 %55 = tail call ptr @cdns_i3c_master_alloc_xfer(ptr noundef nonnull %5, i32 noundef %2) #2 %56 = icmp eq ptr %55, null br i1 %56, label %59, label %105 57: ; preds = %51 %58 = getelementptr inbounds i8, ptr %52, i64 8 br label %62 59: ; preds = %54, %51 %60 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %61 = sub nsw i32 0, %60 br label %117 62: ; preds = %57, %99 %63 = phi i64 [ 0, %57 ], [ %103, %99 ] %64 = load ptr, ptr %58, align 8, !tbaa !22 %65 = getelementptr inbounds %struct.cdns_i3c_cmd, ptr %64, i64 %63 %66 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %63 %67 = getelementptr inbounds i8, ptr %66, i64 16 %68 = load i32, ptr %67, align 8, !tbaa !25 %69 = tail call i32 @CMD0_FIFO_DEV_ADDR(i32 noundef %68) #2 %70 = load i64, ptr %66, align 8, !tbaa !13 %71 = tail call i32 @CMD0_FIFO_PL_LEN(i64 noundef %70) #2 %72 = or i32 %71, %69 %73 = load i32, ptr @XMIT_BURST_WITHOUT_SUBADDR, align 4, !tbaa !12 %74 = tail call i32 @CMD0_FIFO_PRIV_XMIT_MODE(i32 noundef %73) #2 %75 = or i32 %72, %74 store i32 %75, ptr %65, align 8, !tbaa !26 %76 = getelementptr inbounds i8, ptr %66, i64 8 %77 = load i32, ptr %76, align 8, !tbaa !17 %78 = load i32, ptr @I2C_M_TEN, align 4, !tbaa !12 %79 = and i32 %78, %77 %80 = icmp eq i32 %79, 0 br i1 %80, label %84, label %81 81: ; preds = %62 %82 = load i32, ptr @CMD0_FIFO_IS_10B, align 4, !tbaa !12 %83 = or i32 %82, %75 store i32 %83, ptr %65, align 8, !tbaa !26 br label %84 84: ; preds = %81, %62 %85 = phi i32 [ %83, %81 ], [ %75, %62 ] %86 = load i32, ptr @I2C_M_RD, align 4, !tbaa !12 %87 = and i32 %86, %77 %88 = icmp eq i32 %87, 0 br i1 %88, label %95, label %89 89: ; preds = %84 %90 = load i32, ptr @CMD0_FIFO_RNW, align 4, !tbaa !12 %91 = or i32 %85, %90 store i32 %91, ptr %65, align 8, !tbaa !26 %92 = getelementptr inbounds i8, ptr %66, i64 12 %93 = load i32, ptr %92, align 4, !tbaa !28 %94 = getelementptr inbounds i8, ptr %65, i64 28 store i32 %93, ptr %94, align 4, !tbaa !29 br label %99 95: ; preds = %84 %96 = getelementptr inbounds i8, ptr %66, i64 12 %97 = load i32, ptr %96, align 4, !tbaa !28 %98 = getelementptr inbounds i8, ptr %65, i64 24 store i32 %97, ptr %98, align 8, !tbaa !30 br label %99 99: ; preds = %95, %89 %100 = phi i64 [ 16, %95 ], [ 8, %89 ] %101 = load i64, ptr %66, align 8, !tbaa !13 %102 = getelementptr inbounds i8, ptr %65, i64 %100 store i64 %101, ptr %102, align 8, !tbaa !16 %103 = add nuw nsw i64 %63, 1 %104 = icmp eq i64 %103, %11 br i1 %104, label %105, label %62, !llvm.loop !31 105: ; preds = %99, %54 %106 = phi ptr [ %55, %54 ], [ %52, %99 ] %107 = tail call i32 @cdns_i3c_master_queue_xfer(ptr noundef nonnull %5, ptr noundef nonnull %106) #2 %108 = getelementptr inbounds i8, ptr %106, i64 4 %109 = tail call i32 @msecs_to_jiffies(i32 noundef 1000) #2 %110 = tail call i32 @wait_for_completion_timeout(ptr noundef nonnull %108, i32 noundef %109) #2 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %114 112: ; preds = %105 %113 = tail call i32 @cdns_i3c_master_unqueue_xfer(ptr noundef nonnull %5, ptr noundef nonnull %106) #2 br label %114 114: ; preds = %112, %105 %115 = load i32, ptr %106, align 8, !tbaa !32 %116 = tail call i32 @cdns_i3c_master_free_xfer(ptr noundef nonnull %106) #2 br label %117 117: ; preds = %114, %59, %48, %23, %12 %118 = phi i32 [ %14, %12 ], [ %25, %23 ], [ %50, %48 ], [ %115, %114 ], [ %61, %59 ] ret i32 %118 } declare ptr @i2c_dev_get_master(ptr noundef) local_unnamed_addr #1 declare ptr @to_cdns_i3c_master(ptr noundef) local_unnamed_addr #1 declare i64 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cdns_i3c_master_alloc_xfer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CMD0_FIFO_DEV_ADDR(i32 noundef) local_unnamed_addr #1 declare i32 @CMD0_FIFO_PL_LEN(i64 noundef) local_unnamed_addr #1 declare i32 @CMD0_FIFO_PRIV_XMIT_MODE(i32 noundef) local_unnamed_addr #1 declare i32 @cdns_i3c_master_queue_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wait_for_completion_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @cdns_i3c_master_unqueue_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cdns_i3c_master_free_xfer(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 = !{!"cdns_i3c_master", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4, !9, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"i2c_msg", !15, i64 0, !9, i64 8, !9, i64 12, !9, i64 16} !15 = !{!"long", !10, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !9, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!7, !9, i64 4} !21 = !{!7, !9, i64 8} !22 = !{!23, !24, i64 8} !23 = !{!"cdns_i3c_xfer", !9, i64 0, !9, i64 4, !24, i64 8} !24 = !{!"any pointer", !10, i64 0} !25 = !{!14, !9, i64 16} !26 = !{!27, !9, i64 0} !27 = !{!"cdns_i3c_cmd", !9, i64 0, !15, i64 8, !15, i64 16, !9, i64 24, !9, i64 28} !28 = !{!14, !9, i64 12} !29 = !{!27, !9, i64 28} !30 = !{!27, !9, i64 24} !31 = distinct !{!31, !19} !32 = !{!23, !9, i64 0}
linux_drivers_i3c_master_extr_i3c-master-cdns.c_cdns_i3c_master_i2c_xfers
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dir.c_ocfs2_read_dx_leaves.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dir.c_ocfs2_read_dx_leaves.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ocfs2_validate_dx_leaf = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_read_dx_leaves], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ocfs2_read_dx_leaves(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = tail call i32 @INODE_CACHE(ptr noundef %0) #2 %6 = load i32, ptr @ocfs2_validate_dx_leaf, align 4, !tbaa !5 %7 = tail call i32 @ocfs2_read_blocks(i32 noundef %5, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef 0, i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %4 %10 = tail call i32 @mlog_errno(i32 noundef %7) #2 br label %11 11: ; preds = %9, %4 ret i32 %7 } declare i32 @ocfs2_read_blocks(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INODE_CACHE(ptr noundef) local_unnamed_addr #1 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dir.c_ocfs2_read_dx_leaves.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dir.c_ocfs2_read_dx_leaves.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ocfs2_validate_dx_leaf = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ocfs2_read_dx_leaves], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ocfs2_read_dx_leaves(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = tail call i32 @INODE_CACHE(ptr noundef %0) #2 %6 = load i32, ptr @ocfs2_validate_dx_leaf, align 4, !tbaa !6 %7 = tail call i32 @ocfs2_read_blocks(i32 noundef %5, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef 0, i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %4 %10 = tail call i32 @mlog_errno(i32 noundef %7) #2 br label %11 11: ; preds = %9, %4 ret i32 %7 } declare i32 @ocfs2_read_blocks(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INODE_CACHE(ptr noundef) local_unnamed_addr #1 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_ocfs2_extr_dir.c_ocfs2_read_dx_leaves
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_socket_tcp.c_ngx_http_lua_socket_add_input_buffer.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_socket_tcp.c_ngx_http_lua_socket_add_input_buffer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i32, ptr } %struct.TYPE_15__ = type { i32, ptr, ptr } %struct.TYPE_17__ = type { ptr, ptr } @ngx_http_lua_module = dso_local local_unnamed_addr global i32 0, align 4 @NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @NGX_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_lua_socket_add_input_buffer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ngx_http_lua_socket_add_input_buffer(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @ngx_http_lua_module, align 4, !tbaa !5 %4 = tail call ptr @ngx_http_get_module_ctx(ptr noundef %0, i32 noundef %3) #2 %5 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !9 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = load i32, ptr %0, align 8, !tbaa !14 %9 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !15 %11 = load i32, ptr %10, align 4, !tbaa !17 %12 = tail call ptr @ngx_http_lua_chain_get_free_buf(i32 noundef %7, i32 noundef %8, ptr noundef %4, i32 noundef %11) #2 %13 = icmp eq ptr %12, null br i1 %13, label %20, label %14 14: ; preds = %2 %15 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !19 %17 = getelementptr inbounds %struct.TYPE_17__, ptr %16, i64 0, i32 1 store ptr %12, ptr %17, align 8, !tbaa !20 store ptr %12, ptr %15, align 8, !tbaa !19 %18 = load ptr, ptr %12, align 8, !tbaa !22 %19 = load i32, ptr %18, align 4, !tbaa !5 store i32 %19, ptr %1, align 8, !tbaa !23 br label %20 20: ; preds = %2, %14 %21 = phi ptr [ @NGX_OK, %14 ], [ @NGX_ERROR, %2 ] %22 = load i32, ptr %21, align 4, !tbaa !5 ret i32 %22 } declare ptr @ngx_http_get_module_ctx(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_http_lua_chain_get_free_buf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_14__", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"TYPE_13__", !6, i64 0} !14 = !{!10, !6, i64 0} !15 = !{!16, !11, i64 16} !16 = !{!"TYPE_15__", !6, i64 0, !11, i64 8, !11, i64 16} !17 = !{!18, !6, i64 0} !18 = !{!"TYPE_12__", !6, i64 0} !19 = !{!16, !11, i64 8} !20 = !{!21, !11, i64 8} !21 = !{!"TYPE_17__", !11, i64 0, !11, i64 8} !22 = !{!21, !11, i64 0} !23 = !{!16, !6, i64 0}
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_socket_tcp.c_ngx_http_lua_socket_add_input_buffer.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_socket_tcp.c_ngx_http_lua_socket_add_input_buffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ngx_http_lua_module = common local_unnamed_addr global i32 0, align 4 @NGX_ERROR = common local_unnamed_addr global i32 0, align 4 @NGX_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ngx_http_lua_socket_add_input_buffer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ngx_http_lua_socket_add_input_buffer(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @ngx_http_lua_module, align 4, !tbaa !6 %4 = tail call ptr @ngx_http_get_module_ctx(ptr noundef %0, i32 noundef %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = load i32, ptr %0, align 8, !tbaa !15 %9 = getelementptr inbounds i8, ptr %1, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !16 %11 = load i32, ptr %10, align 4, !tbaa !18 %12 = tail call ptr @ngx_http_lua_chain_get_free_buf(i32 noundef %7, i32 noundef %8, ptr noundef %4, i32 noundef %11) #2 %13 = icmp eq ptr %12, null br i1 %13, label %20, label %14 14: ; preds = %2 %15 = getelementptr inbounds i8, ptr %1, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !20 %17 = getelementptr inbounds i8, ptr %16, i64 8 store ptr %12, ptr %17, align 8, !tbaa !21 store ptr %12, ptr %15, align 8, !tbaa !20 %18 = load ptr, ptr %12, align 8, !tbaa !23 %19 = load i32, ptr %18, align 4, !tbaa !6 store i32 %19, ptr %1, align 8, !tbaa !24 br label %20 20: ; preds = %2, %14 %21 = phi ptr [ @NGX_OK, %14 ], [ @NGX_ERROR, %2 ] %22 = load i32, ptr %21, align 4, !tbaa !6 ret i32 %22 } declare ptr @ngx_http_get_module_ctx(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_http_lua_chain_get_free_buf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_14__", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_13__", !7, i64 0} !15 = !{!11, !7, i64 0} !16 = !{!17, !12, i64 16} !17 = !{!"TYPE_15__", !7, i64 0, !12, i64 8, !12, i64 16} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_12__", !7, i64 0} !20 = !{!17, !12, i64 8} !21 = !{!22, !12, i64 8} !22 = !{!"TYPE_17__", !12, i64 0, !12, i64 8} !23 = !{!22, !12, i64 0} !24 = !{!17, !7, i64 0}
tengine_modules_ngx_http_lua_module_src_extr_ngx_http_lua_socket_tcp.c_ngx_http_lua_socket_add_input_buffer
; ModuleID = 'AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_range.c' source_filename = "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_range.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CACHE_LINE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xsc3_l2_inv_range], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xsc3_l2_inv_range(i64 noundef %0, i64 noundef %1) #0 { %3 = icmp eq i64 %0, 0 %4 = icmp eq i64 %1, -1 %5 = and i1 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 (...) @xsc3_l2_inv_all() #2 br label %58 8: ; preds = %2 %9 = load i32, ptr @CACHE_LINE_SIZE, align 4, !tbaa !5 %10 = add nsw i32 %9, -1 %11 = sext i32 %10 to i64 %12 = and i64 %11, %0 %13 = icmp eq i64 %12, 0 br i1 %13, label %26, label %14 14: ; preds = %8 %15 = sub i32 0, %9 %16 = sext i32 %15 to i64 %17 = and i64 %16, %0 %18 = tail call i64 @l2_map_va(i64 noundef %17, i64 noundef -1) #2 %19 = tail call i32 @xsc3_l2_clean_mva(i64 noundef %18) #2 %20 = tail call i32 @xsc3_l2_inv_mva(i64 noundef %18) #2 %21 = load i32, ptr @CACHE_LINE_SIZE, align 4, !tbaa !5 %22 = add nsw i32 %21, -1 %23 = sext i32 %22 to i64 %24 = or i64 %23, %0 %25 = add i64 %24, 1 br label %26 26: ; preds = %14, %8 %27 = phi i32 [ %21, %14 ], [ %9, %8 ] %28 = phi i64 [ %25, %14 ], [ %0, %8 ] %29 = phi i64 [ %18, %14 ], [ -1, %8 ] %30 = sub i32 0, %27 %31 = sext i32 %30 to i64 %32 = and i64 %31, %1 %33 = icmp ult i64 %28, %32 br i1 %33, label %34, label %46 34: ; preds = %26, %34 %35 = phi i64 [ %37, %34 ], [ %29, %26 ] %36 = phi i64 [ %41, %34 ], [ %28, %26 ] %37 = tail call i64 @l2_map_va(i64 noundef %36, i64 noundef %35) #2 %38 = tail call i32 @xsc3_l2_inv_mva(i64 noundef %37) #2 %39 = load i32, ptr @CACHE_LINE_SIZE, align 4, !tbaa !5 %40 = sext i32 %39 to i64 %41 = add i64 %36, %40 %42 = sub i32 0, %39 %43 = sext i32 %42 to i64 %44 = and i64 %43, %1 %45 = icmp ult i64 %41, %44 br i1 %45, label %34, label %46, !llvm.loop !9 46: ; preds = %34, %26 %47 = phi i64 [ %28, %26 ], [ %41, %34 ] %48 = phi i64 [ %29, %26 ], [ %37, %34 ] %49 = icmp ult i64 %47, %1 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = tail call i64 @l2_map_va(i64 noundef %47, i64 noundef %48) #2 %52 = tail call i32 @xsc3_l2_clean_mva(i64 noundef %51) #2 %53 = tail call i32 @xsc3_l2_inv_mva(i64 noundef %51) #2 br label %54 54: ; preds = %50, %46 %55 = phi i64 [ %51, %50 ], [ %48, %46 ] %56 = tail call i32 @l2_unmap_va(i64 noundef %55) #2 %57 = tail call i32 (...) @dsb() #2 br label %58 58: ; preds = %54, %6 ret void } declare i32 @xsc3_l2_inv_all(...) local_unnamed_addr #1 declare i64 @l2_map_va(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @xsc3_l2_clean_mva(i64 noundef) local_unnamed_addr #1 declare i32 @xsc3_l2_inv_mva(i64 noundef) local_unnamed_addr #1 declare i32 @l2_unmap_va(i64 noundef) local_unnamed_addr #1 declare i32 @dsb(...) 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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_range.c' source_filename = "AnghaBench/linux/arch/arm/mm/extr_cache-xsc3l2.c_xsc3_l2_inv_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CACHE_LINE_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xsc3_l2_inv_range], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xsc3_l2_inv_range(i64 noundef %0, i64 noundef %1) #0 { %3 = icmp eq i64 %0, 0 %4 = icmp eq i64 %1, -1 %5 = and i1 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @xsc3_l2_inv_all() #2 br label %58 8: ; preds = %2 %9 = load i32, ptr @CACHE_LINE_SIZE, align 4, !tbaa !6 %10 = add nsw i32 %9, -1 %11 = sext i32 %10 to i64 %12 = and i64 %11, %0 %13 = icmp eq i64 %12, 0 br i1 %13, label %26, label %14 14: ; preds = %8 %15 = sub i32 0, %9 %16 = sext i32 %15 to i64 %17 = and i64 %16, %0 %18 = tail call i64 @l2_map_va(i64 noundef %17, i64 noundef -1) #2 %19 = tail call i32 @xsc3_l2_clean_mva(i64 noundef %18) #2 %20 = tail call i32 @xsc3_l2_inv_mva(i64 noundef %18) #2 %21 = load i32, ptr @CACHE_LINE_SIZE, align 4, !tbaa !6 %22 = add nsw i32 %21, -1 %23 = sext i32 %22 to i64 %24 = or i64 %23, %0 %25 = add i64 %24, 1 br label %26 26: ; preds = %14, %8 %27 = phi i32 [ %21, %14 ], [ %9, %8 ] %28 = phi i64 [ %25, %14 ], [ %0, %8 ] %29 = phi i64 [ %18, %14 ], [ -1, %8 ] %30 = sub i32 0, %27 %31 = sext i32 %30 to i64 %32 = and i64 %31, %1 %33 = icmp ult i64 %28, %32 br i1 %33, label %34, label %46 34: ; preds = %26, %34 %35 = phi i64 [ %37, %34 ], [ %29, %26 ] %36 = phi i64 [ %41, %34 ], [ %28, %26 ] %37 = tail call i64 @l2_map_va(i64 noundef %36, i64 noundef %35) #2 %38 = tail call i32 @xsc3_l2_inv_mva(i64 noundef %37) #2 %39 = load i32, ptr @CACHE_LINE_SIZE, align 4, !tbaa !6 %40 = sext i32 %39 to i64 %41 = add i64 %36, %40 %42 = sub i32 0, %39 %43 = sext i32 %42 to i64 %44 = and i64 %43, %1 %45 = icmp ult i64 %41, %44 br i1 %45, label %34, label %46, !llvm.loop !10 46: ; preds = %34, %26 %47 = phi i64 [ %28, %26 ], [ %41, %34 ] %48 = phi i64 [ %29, %26 ], [ %37, %34 ] %49 = icmp ult i64 %47, %1 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = tail call i64 @l2_map_va(i64 noundef %47, i64 noundef %48) #2 %52 = tail call i32 @xsc3_l2_clean_mva(i64 noundef %51) #2 %53 = tail call i32 @xsc3_l2_inv_mva(i64 noundef %51) #2 br label %54 54: ; preds = %50, %46 %55 = phi i64 [ %51, %50 ], [ %48, %46 ] %56 = tail call i32 @l2_unmap_va(i64 noundef %55) #2 %57 = tail call i32 @dsb() #2 br label %58 58: ; preds = %54, %6 ret void } declare i32 @xsc3_l2_inv_all(...) local_unnamed_addr #1 declare i64 @l2_map_va(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @xsc3_l2_clean_mva(i64 noundef) local_unnamed_addr #1 declare i32 @xsc3_l2_inv_mva(i64 noundef) local_unnamed_addr #1 declare i32 @l2_unmap_va(i64 noundef) local_unnamed_addr #1 declare i32 @dsb(...) 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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_arch_arm_mm_extr_cache-xsc3l2.c_xsc3_l2_inv_range
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_preset.c_hb_presets_builtin_get.c' source_filename = "AnghaBench/HandBrake/libhb/extr_preset.c_hb_presets_builtin_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" @hb_presets_builtin = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @hb_presets_builtin_get() local_unnamed_addr #0 { %1 = load i32, ptr @hb_presets_builtin, align 4, !tbaa !5 %2 = tail call ptr @hb_value_dup(i32 noundef %1) #2 ret ptr %2 } declare ptr @hb_value_dup(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/HandBrake/libhb/extr_preset.c_hb_presets_builtin_get.c' source_filename = "AnghaBench/HandBrake/libhb/extr_preset.c_hb_presets_builtin_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @hb_presets_builtin = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @hb_presets_builtin_get() local_unnamed_addr #0 { %1 = load i32, ptr @hb_presets_builtin, align 4, !tbaa !6 %2 = tail call ptr @hb_value_dup(i32 noundef %1) #2 ret ptr %2 } declare ptr @hb_value_dup(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"}
HandBrake_libhb_extr_preset.c_hb_presets_builtin_get
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/hfsplus/extr_super.c_hfsplus_put_super.c' source_filename = "AnghaBench/fastsocket/kernel/fs/hfsplus/extr_super.c_hfsplus_put_super.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, ptr } %struct.super_block = type { i32, ptr, i64 } %struct.hfsplus_vh = type { i32, i32 } @DBG_SUPER = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"hfsplus_put_super\0A\00", align 1 @MS_RDONLY = dso_local local_unnamed_addr global i32 0, align 4 @HFSPLUS_VOL_UNMNT = dso_local local_unnamed_addr global i32 0, align 4 @HFSPLUS_VOL_INCNSTNT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hfsplus_put_super], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hfsplus_put_super(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_2__, align 8 %3 = alloca %struct.TYPE_2__, align 8 %4 = alloca %struct.TYPE_2__, align 8 %5 = alloca %struct.TYPE_2__, align 8 %6 = alloca %struct.TYPE_2__, align 8 %7 = alloca %struct.TYPE_2__, align 8 %8 = alloca %struct.TYPE_2__, align 8 %9 = alloca %struct.TYPE_2__, align 8 %10 = alloca %struct.TYPE_2__, align 8 %11 = alloca %struct.TYPE_2__, align 8 %12 = load i32, ptr @DBG_SUPER, align 4, !tbaa !5 %13 = tail call i32 @dprint(i32 noundef %12, ptr noundef nonnull @.str) #2 %14 = getelementptr inbounds %struct.super_block, ptr %0, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !9 %16 = icmp eq ptr %15, null br i1 %16, label %74, label %17 17: ; preds = %1 %18 = tail call i32 (...) @lock_kernel() #2 %19 = getelementptr inbounds %struct.super_block, ptr %0, i64 0, i32 2 %20 = load i64, ptr %19, align 8, !tbaa !13 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = tail call i32 @hfsplus_write_super(ptr noundef nonnull %0) #2 br label %24 24: ; preds = %22, %17 %25 = load i32, ptr %0, align 8, !tbaa !14 %26 = load i32, ptr @MS_RDONLY, align 4, !tbaa !5 %27 = and i32 %26, %25 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %53 29: ; preds = %24 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %2, ptr noundef nonnull %0) #2 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 6 %31 = load ptr, ptr %30, align 8, !tbaa !15 %32 = icmp eq ptr %31, null br i1 %32, label %53, label %33 33: ; preds = %29 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %3, ptr noundef nonnull %0) #2 %34 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 6 %35 = load ptr, ptr %34, align 8, !tbaa !15 %36 = call i32 (...) @hfsp_now2mt() #2 %37 = getelementptr inbounds %struct.hfsplus_vh, ptr %35, i64 0, i32 1 store i32 %36, ptr %37, align 4, !tbaa !17 %38 = load i32, ptr @HFSPLUS_VOL_UNMNT, align 4, !tbaa !5 %39 = call i32 @cpu_to_be32(i32 noundef %38) #2 %40 = load i32, ptr %35, align 4, !tbaa !19 %41 = or i32 %40, %39 store i32 %41, ptr %35, align 4, !tbaa !19 %42 = load i32, ptr @HFSPLUS_VOL_INCNSTNT, align 4, !tbaa !5 %43 = xor i32 %42, -1 %44 = call i32 @cpu_to_be32(i32 noundef %43) #2 %45 = load i32, ptr %35, align 4, !tbaa !19 %46 = and i32 %45, %44 store i32 %46, ptr %35, align 4, !tbaa !19 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %4, ptr noundef nonnull %0) #2 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 %48 = load i32, ptr %47, align 4, !tbaa !20 %49 = call i32 @mark_buffer_dirty(i32 noundef %48) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %5, ptr noundef nonnull %0) #2 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 0, i32 1 %51 = load i32, ptr %50, align 4, !tbaa !20 %52 = call i32 @sync_dirty_buffer(i32 noundef %51) #2 br label %53 53: ; preds = %33, %29, %24 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %6, ptr noundef nonnull %0) #2 %54 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 5 %55 = load i32, ptr %54, align 4, !tbaa !21 %56 = call i32 @hfs_btree_close(i32 noundef %55) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %7, ptr noundef nonnull %0) #2 %57 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 4 %58 = load i32, ptr %57, align 8, !tbaa !22 %59 = call i32 @hfs_btree_close(i32 noundef %58) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %8, ptr noundef nonnull %0) #2 %60 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 3 %61 = load i32, ptr %60, align 4, !tbaa !23 %62 = call i32 @iput(i32 noundef %61) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %9, ptr noundef nonnull %0) #2 %63 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 0, i32 2 %64 = load i32, ptr %63, align 8, !tbaa !24 %65 = call i32 @iput(i32 noundef %64) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %10, ptr noundef nonnull %0) #2 %66 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1 %67 = load i32, ptr %66, align 4, !tbaa !20 %68 = call i32 @brelse(i32 noundef %67) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %11, ptr noundef nonnull %0) #2 %69 = load i32, ptr %11, align 8, !tbaa !25 %70 = call i32 @unload_nls(i32 noundef %69) #2 %71 = load ptr, ptr %14, align 8, !tbaa !9 %72 = call i32 @kfree(ptr noundef %71) #2 store ptr null, ptr %14, align 8, !tbaa !9 %73 = call i32 (...) @unlock_kernel() #2 br label %74 74: ; preds = %1, %53 ret void } declare i32 @dprint(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lock_kernel(...) local_unnamed_addr #1 declare i32 @hfsplus_write_super(ptr noundef) local_unnamed_addr #1 declare void @HFSPLUS_SB(ptr dead_on_unwind writable sret(%struct.TYPE_2__) align 8, ptr noundef) local_unnamed_addr #1 declare i32 @hfsp_now2mt(...) local_unnamed_addr #1 declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1 declare i32 @mark_buffer_dirty(i32 noundef) local_unnamed_addr #1 declare i32 @sync_dirty_buffer(i32 noundef) local_unnamed_addr #1 declare i32 @hfs_btree_close(i32 noundef) local_unnamed_addr #1 declare i32 @iput(i32 noundef) local_unnamed_addr #1 declare i32 @brelse(i32 noundef) local_unnamed_addr #1 declare i32 @unload_nls(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_kernel(...) 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 = !{!"super_block", !6, i64 0, !11, i64 8, !12, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !12, i64 16} !14 = !{!10, !6, i64 0} !15 = !{!16, !11, i64 24} !16 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !11, i64 24} !17 = !{!18, !6, i64 4} !18 = !{!"hfsplus_vh", !6, i64 0, !6, i64 4} !19 = !{!18, !6, i64 0} !20 = !{!16, !6, i64 4} !21 = !{!16, !6, i64 20} !22 = !{!16, !6, i64 16} !23 = !{!16, !6, i64 12} !24 = !{!16, !6, i64 8} !25 = !{!16, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/hfsplus/extr_super.c_hfsplus_put_super.c' source_filename = "AnghaBench/fastsocket/kernel/fs/hfsplus/extr_super.c_hfsplus_put_super.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, ptr } @DBG_SUPER = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"hfsplus_put_super\0A\00", align 1 @MS_RDONLY = common local_unnamed_addr global i32 0, align 4 @HFSPLUS_VOL_UNMNT = common local_unnamed_addr global i32 0, align 4 @HFSPLUS_VOL_INCNSTNT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hfsplus_put_super], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hfsplus_put_super(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_2__, align 8 %3 = alloca %struct.TYPE_2__, align 8 %4 = alloca %struct.TYPE_2__, align 8 %5 = alloca %struct.TYPE_2__, align 8 %6 = alloca %struct.TYPE_2__, align 8 %7 = alloca %struct.TYPE_2__, align 8 %8 = alloca %struct.TYPE_2__, align 8 %9 = alloca %struct.TYPE_2__, align 8 %10 = alloca %struct.TYPE_2__, align 8 %11 = alloca %struct.TYPE_2__, align 8 %12 = load i32, ptr @DBG_SUPER, align 4, !tbaa !6 %13 = tail call i32 @dprint(i32 noundef %12, ptr noundef nonnull @.str) #2 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !10 %16 = icmp eq ptr %15, null br i1 %16, label %74, label %17 17: ; preds = %1 %18 = tail call i32 @lock_kernel() #2 %19 = getelementptr inbounds i8, ptr %0, i64 16 %20 = load i64, ptr %19, align 8, !tbaa !14 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = tail call i32 @hfsplus_write_super(ptr noundef nonnull %0) #2 br label %24 24: ; preds = %22, %17 %25 = load i32, ptr %0, align 8, !tbaa !15 %26 = load i32, ptr @MS_RDONLY, align 4, !tbaa !6 %27 = and i32 %26, %25 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %53 29: ; preds = %24 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %2, ptr noundef nonnull %0) #2 %30 = getelementptr inbounds i8, ptr %2, i64 24 %31 = load ptr, ptr %30, align 8, !tbaa !16 %32 = icmp eq ptr %31, null br i1 %32, label %53, label %33 33: ; preds = %29 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %3, ptr noundef nonnull %0) #2 %34 = getelementptr inbounds i8, ptr %3, i64 24 %35 = load ptr, ptr %34, align 8, !tbaa !16 %36 = call i32 @hfsp_now2mt() #2 %37 = getelementptr inbounds i8, ptr %35, i64 4 store i32 %36, ptr %37, align 4, !tbaa !18 %38 = load i32, ptr @HFSPLUS_VOL_UNMNT, align 4, !tbaa !6 %39 = call i32 @cpu_to_be32(i32 noundef %38) #2 %40 = load i32, ptr %35, align 4, !tbaa !20 %41 = or i32 %40, %39 store i32 %41, ptr %35, align 4, !tbaa !20 %42 = load i32, ptr @HFSPLUS_VOL_INCNSTNT, align 4, !tbaa !6 %43 = xor i32 %42, -1 %44 = call i32 @cpu_to_be32(i32 noundef %43) #2 %45 = load i32, ptr %35, align 4, !tbaa !20 %46 = and i32 %45, %44 store i32 %46, ptr %35, align 4, !tbaa !20 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %4, ptr noundef nonnull %0) #2 %47 = getelementptr inbounds i8, ptr %4, i64 4 %48 = load i32, ptr %47, align 4, !tbaa !21 %49 = call i32 @mark_buffer_dirty(i32 noundef %48) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %5, ptr noundef nonnull %0) #2 %50 = getelementptr inbounds i8, ptr %5, i64 4 %51 = load i32, ptr %50, align 4, !tbaa !21 %52 = call i32 @sync_dirty_buffer(i32 noundef %51) #2 br label %53 53: ; preds = %33, %29, %24 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %6, ptr noundef nonnull %0) #2 %54 = getelementptr inbounds i8, ptr %6, i64 20 %55 = load i32, ptr %54, align 4, !tbaa !22 %56 = call i32 @hfs_btree_close(i32 noundef %55) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %7, ptr noundef nonnull %0) #2 %57 = getelementptr inbounds i8, ptr %7, i64 16 %58 = load i32, ptr %57, align 8, !tbaa !23 %59 = call i32 @hfs_btree_close(i32 noundef %58) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %8, ptr noundef nonnull %0) #2 %60 = getelementptr inbounds i8, ptr %8, i64 12 %61 = load i32, ptr %60, align 4, !tbaa !24 %62 = call i32 @iput(i32 noundef %61) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %9, ptr noundef nonnull %0) #2 %63 = getelementptr inbounds i8, ptr %9, i64 8 %64 = load i32, ptr %63, align 8, !tbaa !25 %65 = call i32 @iput(i32 noundef %64) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %10, ptr noundef nonnull %0) #2 %66 = getelementptr inbounds i8, ptr %10, i64 4 %67 = load i32, ptr %66, align 4, !tbaa !21 %68 = call i32 @brelse(i32 noundef %67) #2 call void @HFSPLUS_SB(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_2__) align 8 %11, ptr noundef nonnull %0) #2 %69 = load i32, ptr %11, align 8, !tbaa !26 %70 = call i32 @unload_nls(i32 noundef %69) #2 %71 = load ptr, ptr %14, align 8, !tbaa !10 %72 = call i32 @kfree(ptr noundef %71) #2 store ptr null, ptr %14, align 8, !tbaa !10 %73 = call i32 @unlock_kernel() #2 br label %74 74: ; preds = %1, %53 ret void } declare i32 @dprint(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lock_kernel(...) local_unnamed_addr #1 declare i32 @hfsplus_write_super(ptr noundef) local_unnamed_addr #1 declare void @HFSPLUS_SB(ptr dead_on_unwind writable sret(%struct.TYPE_2__) align 8, ptr noundef) local_unnamed_addr #1 declare i32 @hfsp_now2mt(...) local_unnamed_addr #1 declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1 declare i32 @mark_buffer_dirty(i32 noundef) local_unnamed_addr #1 declare i32 @sync_dirty_buffer(i32 noundef) local_unnamed_addr #1 declare i32 @hfs_btree_close(i32 noundef) local_unnamed_addr #1 declare i32 @iput(i32 noundef) local_unnamed_addr #1 declare i32 @brelse(i32 noundef) local_unnamed_addr #1 declare i32 @unload_nls(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_kernel(...) 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 = !{!"super_block", !7, i64 0, !12, i64 8, !13, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !13, i64 16} !15 = !{!11, !7, i64 0} !16 = !{!17, !12, i64 24} !17 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !12, i64 24} !18 = !{!19, !7, i64 4} !19 = !{!"hfsplus_vh", !7, i64 0, !7, i64 4} !20 = !{!19, !7, i64 0} !21 = !{!17, !7, i64 4} !22 = !{!17, !7, i64 20} !23 = !{!17, !7, i64 16} !24 = !{!17, !7, i64 12} !25 = !{!17, !7, i64 8} !26 = !{!17, !7, i64 0}
fastsocket_kernel_fs_hfsplus_extr_super.c_hfsplus_put_super
; ModuleID = 'AnghaBench/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_unrhdr_init.c' source_filename = "AnghaBench/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_unrhdr_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" @ipoib_unrhdr = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipoib_unrhdr_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ipoib_unrhdr_init(ptr nocapture readnone %0) #0 { %2 = tail call i32 @new_unrhdr(i32 noundef 0, i32 noundef 65535, ptr noundef null) #2 store i32 %2, ptr @ipoib_unrhdr, align 4, !tbaa !5 ret void } declare i32 @new_unrhdr(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/ofed/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_unrhdr_init.c' source_filename = "AnghaBench/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/extr_ipoib_main.c_ipoib_unrhdr_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ipoib_unrhdr = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ipoib_unrhdr_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ipoib_unrhdr_init(ptr nocapture readnone %0) #0 { %2 = tail call i32 @new_unrhdr(i32 noundef 0, i32 noundef 65535, ptr noundef null) #2 store i32 %2, ptr @ipoib_unrhdr, align 4, !tbaa !6 ret void } declare i32 @new_unrhdr(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_ofed_drivers_infiniband_ulp_ipoib_extr_ipoib_main.c_ipoib_unrhdr_init
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_asvenc.c_asv2_put_bits.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_asvenc.c_asv2_put_bits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ff_reverse = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @asv2_put_bits], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @asv2_put_bits(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr @ff_reverse, align 8, !tbaa !5 %5 = sub nsw i32 8, %1 %6 = shl i32 %2, %5 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i32, ptr %4, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !9 %10 = tail call i32 @put_bits(ptr noundef %0, i32 noundef %1, i32 noundef %9) #2 ret void } declare i32 @put_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/FFmpeg/libavcodec/extr_asvenc.c_asv2_put_bits.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_asvenc.c_asv2_put_bits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ff_reverse = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @asv2_put_bits], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @asv2_put_bits(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr @ff_reverse, align 8, !tbaa !6 %5 = sub nsw i32 8, %1 %6 = shl i32 %2, %5 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i32, ptr %4, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = tail call i32 @put_bits(ptr noundef %0, i32 noundef %1, i32 noundef %9) #2 ret void } declare i32 @put_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
FFmpeg_libavcodec_extr_asvenc.c_asv2_put_bits
; ModuleID = 'AnghaBench/freebsd/sys/cam/scsi/extr_scsi_pt.c_ptstrategy.c' source_filename = "AnghaBench/freebsd/sys/cam/scsi/extr_scsi_pt.c_ptstrategy.c" target datalayout = "e-m:e-p270:32:32-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.bio = type { i32, i32, ptr } %struct.pt_softc = type { i32, i32 } @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @PT_FLAG_DEVICE_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @CAM_PRIORITY_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ptstrategy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ptstrategy(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %3, align 8, !tbaa !11 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr %0, align 8, !tbaa !14 %7 = getelementptr inbounds %struct.bio, ptr %0, i64 0, i32 1 store i32 %6, ptr %7, align 4, !tbaa !15 %8 = icmp eq i64 %4, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ENXIO, align 4, !tbaa !16 %11 = tail call i32 @biofinish(ptr noundef nonnull %0, ptr noundef null, i32 noundef %10) #2 br label %30 12: ; preds = %1 %13 = tail call i32 @cam_periph_lock(ptr noundef nonnull %5) #2 %14 = load i64, ptr %5, align 8, !tbaa !17 %15 = inttoptr i64 %14 to ptr %16 = load i32, ptr %15, align 4, !tbaa !19 %17 = load i32, ptr @PT_FLAG_DEVICE_INVALID, align 4, !tbaa !16 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %12 %21 = tail call i32 @cam_periph_unlock(ptr noundef nonnull %5) #2 %22 = load i32, ptr @ENXIO, align 4, !tbaa !16 %23 = tail call i32 @biofinish(ptr noundef nonnull %0, ptr noundef null, i32 noundef %22) #2 br label %30 24: ; preds = %12 %25 = getelementptr inbounds %struct.pt_softc, ptr %15, i64 0, i32 1 %26 = tail call i32 @bioq_insert_tail(ptr noundef nonnull %25, ptr noundef nonnull %0) #2 %27 = load i32, ptr @CAM_PRIORITY_NORMAL, align 4, !tbaa !16 %28 = tail call i32 @xpt_schedule(ptr noundef nonnull %5, i32 noundef %27) #2 %29 = tail call i32 @cam_periph_unlock(ptr noundef nonnull %5) #2 br label %30 30: ; preds = %24, %20, %9 ret void } declare i32 @biofinish(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cam_periph_lock(ptr noundef) local_unnamed_addr #1 declare i32 @cam_periph_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @bioq_insert_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xpt_schedule(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 8} !6 = !{!"bio", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!6, !7, i64 4} !16 = !{!7, !7, i64 0} !17 = !{!18, !13, i64 0} !18 = !{!"cam_periph", !13, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"pt_softc", !7, i64 0, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/cam/scsi/extr_scsi_pt.c_ptstrategy.c' source_filename = "AnghaBench/freebsd/sys/cam/scsi/extr_scsi_pt.c_ptstrategy.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 @PT_FLAG_DEVICE_INVALID = common local_unnamed_addr global i32 0, align 4 @CAM_PRIORITY_NORMAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ptstrategy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ptstrategy(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %3, align 8, !tbaa !12 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr %0, align 8, !tbaa !15 %7 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %6, ptr %7, align 4, !tbaa !16 %8 = icmp eq i64 %4, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr @ENXIO, align 4, !tbaa !17 %11 = tail call i32 @biofinish(ptr noundef nonnull %0, ptr noundef null, i32 noundef %10) #2 br label %30 12: ; preds = %1 %13 = tail call i32 @cam_periph_lock(ptr noundef nonnull %5) #2 %14 = load i64, ptr %5, align 8, !tbaa !18 %15 = inttoptr i64 %14 to ptr %16 = load i32, ptr %15, align 4, !tbaa !20 %17 = load i32, ptr @PT_FLAG_DEVICE_INVALID, align 4, !tbaa !17 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %12 %21 = tail call i32 @cam_periph_unlock(ptr noundef nonnull %5) #2 %22 = load i32, ptr @ENXIO, align 4, !tbaa !17 %23 = tail call i32 @biofinish(ptr noundef nonnull %0, ptr noundef null, i32 noundef %22) #2 br label %30 24: ; preds = %12 %25 = getelementptr inbounds i8, ptr %15, i64 4 %26 = tail call i32 @bioq_insert_tail(ptr noundef nonnull %25, ptr noundef nonnull %0) #2 %27 = load i32, ptr @CAM_PRIORITY_NORMAL, align 4, !tbaa !17 %28 = tail call i32 @xpt_schedule(ptr noundef nonnull %5, i32 noundef %27) #2 %29 = tail call i32 @cam_periph_unlock(ptr noundef nonnull %5) #2 br label %30 30: ; preds = %24, %20, %9 ret void } declare i32 @biofinish(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cam_periph_lock(ptr noundef) local_unnamed_addr #1 declare i32 @cam_periph_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @bioq_insert_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xpt_schedule(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 8} !7 = !{!"bio", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!7, !8, i64 4} !17 = !{!8, !8, i64 0} !18 = !{!19, !14, i64 0} !19 = !{!"cam_periph", !14, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"pt_softc", !8, i64 0, !8, i64 4}
freebsd_sys_cam_scsi_extr_scsi_pt.c_ptstrategy
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-dom.c_record_equivalences_from_incoming_edge.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-dom.c_record_equivalences_from_incoming_edge.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.edge_info = type { i32, ptr, i64, i64 } @CDI_DOMINATORS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @record_equivalences_from_incoming_edge], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @record_equivalences_from_incoming_edge(i64 noundef %0) #0 { %2 = load i32, ptr @CDI_DOMINATORS, align 4, !tbaa !5 %3 = tail call i64 @get_immediate_dominator(i32 noundef %2, i64 noundef %0) #2 %4 = tail call ptr @single_incoming_edge_ignoring_loop_edges(i64 noundef %0) #2 %5 = icmp eq ptr %4, null br i1 %5, label %42, label %6 6: ; preds = %1 %7 = load i64, ptr %4, align 8, !tbaa !9 %8 = icmp eq i64 %7, %3 br i1 %8, label %9, label %42 9: ; preds = %6 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = inttoptr i64 %11 to ptr %13 = icmp eq i64 %11, 0 br i1 %13, label %42, label %14 14: ; preds = %9 %15 = getelementptr inbounds %struct.edge_info, ptr %12, i64 0, i32 3 %16 = load i64, ptr %15, align 8, !tbaa !13 %17 = getelementptr inbounds %struct.edge_info, ptr %12, i64 0, i32 1 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = icmp eq i64 %16, 0 br i1 %19, label %24, label %20 20: ; preds = %14 %21 = getelementptr inbounds %struct.edge_info, ptr %12, i64 0, i32 2 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = tail call i32 @record_equality(i64 noundef %16, i64 noundef %22) #2 br label %24 24: ; preds = %20, %14 %25 = icmp eq ptr %18, null br i1 %25, label %42, label %26 26: ; preds = %24 %27 = load i32, ptr %12, align 8, !tbaa !18 %28 = icmp eq i32 %27, 0 br i1 %28, label %42, label %29 29: ; preds = %26, %29 %30 = phi i32 [ %39, %29 ], [ 0, %26 ] %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i64, ptr %18, i64 %31 %33 = load i64, ptr %32, align 8, !tbaa !19 %34 = or disjoint i32 %30, 1 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds i64, ptr %18, i64 %35 %37 = load i64, ptr %36, align 8, !tbaa !19 %38 = tail call i32 @record_cond(i64 noundef %33, i64 noundef %37) #2 %39 = add i32 %30, 2 %40 = load i32, ptr %12, align 8, !tbaa !18 %41 = icmp ult i32 %39, %40 br i1 %41, label %29, label %42, !llvm.loop !20 42: ; preds = %29, %26, %9, %24, %6, %1 ret void } declare i64 @get_immediate_dominator(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @single_incoming_edge_ignoring_loop_edges(i64 noundef) local_unnamed_addr #1 declare i32 @record_equality(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @record_cond(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"TYPE_3__", !11, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !11, i64 24} !14 = !{!"edge_info", !6, i64 0, !15, i64 8, !11, i64 16, !11, i64 24} !15 = !{!"any pointer", !7, i64 0} !16 = !{!14, !15, i64 8} !17 = !{!14, !11, i64 16} !18 = !{!14, !6, i64 0} !19 = !{!11, !11, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-dom.c_record_equivalences_from_incoming_edge.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-dom.c_record_equivalences_from_incoming_edge.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CDI_DOMINATORS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @record_equivalences_from_incoming_edge], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @record_equivalences_from_incoming_edge(i64 noundef %0) #0 { %2 = load i32, ptr @CDI_DOMINATORS, align 4, !tbaa !6 %3 = tail call i64 @get_immediate_dominator(i32 noundef %2, i64 noundef %0) #2 %4 = tail call ptr @single_incoming_edge_ignoring_loop_edges(i64 noundef %0) #2 %5 = icmp eq ptr %4, null br i1 %5, label %42, label %6 6: ; preds = %1 %7 = load i64, ptr %4, align 8, !tbaa !10 %8 = icmp eq i64 %7, %3 br i1 %8, label %9, label %42 9: ; preds = %6 %10 = getelementptr inbounds i8, ptr %4, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = inttoptr i64 %11 to ptr %13 = icmp eq i64 %11, 0 br i1 %13, label %42, label %14 14: ; preds = %9 %15 = getelementptr inbounds i8, ptr %12, i64 24 %16 = load i64, ptr %15, align 8, !tbaa !14 %17 = getelementptr inbounds i8, ptr %12, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !17 %19 = icmp eq i64 %16, 0 br i1 %19, label %24, label %20 20: ; preds = %14 %21 = getelementptr inbounds i8, ptr %12, i64 16 %22 = load i64, ptr %21, align 8, !tbaa !18 %23 = tail call i32 @record_equality(i64 noundef %16, i64 noundef %22) #2 br label %24 24: ; preds = %20, %14 %25 = icmp eq ptr %18, null br i1 %25, label %42, label %26 26: ; preds = %24 %27 = load i32, ptr %12, align 8, !tbaa !19 %28 = icmp eq i32 %27, 0 br i1 %28, label %42, label %29 29: ; preds = %26, %29 %30 = phi i32 [ %39, %29 ], [ 0, %26 ] %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i64, ptr %18, i64 %31 %33 = load i64, ptr %32, align 8, !tbaa !20 %34 = or disjoint i32 %30, 1 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds i64, ptr %18, i64 %35 %37 = load i64, ptr %36, align 8, !tbaa !20 %38 = tail call i32 @record_cond(i64 noundef %33, i64 noundef %37) #2 %39 = add i32 %30, 2 %40 = load i32, ptr %12, align 8, !tbaa !19 %41 = icmp ult i32 %39, %40 br i1 %41, label %29, label %42, !llvm.loop !21 42: ; preds = %29, %26, %9, %24, %6, %1 ret void } declare i64 @get_immediate_dominator(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @single_incoming_edge_ignoring_loop_edges(i64 noundef) local_unnamed_addr #1 declare i32 @record_equality(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @record_cond(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !12, i64 24} !15 = !{!"edge_info", !7, i64 0, !16, i64 8, !12, i64 16, !12, i64 24} !16 = !{!"any pointer", !8, i64 0} !17 = !{!15, !16, i64 8} !18 = !{!15, !12, i64 16} !19 = !{!15, !7, i64 0} !20 = !{!12, !12, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gcc_extr_tree-ssa-dom.c_record_equivalences_from_incoming_edge
; ModuleID = 'AnghaBench/kphp-kdb/lists/extr_lists-engine.c_tl_do_list_entry_get.c' source_filename = "AnghaBench/kphp-kdb/lists/extr_lists-engine.c_tl_do_list_entry_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.tl_list_entry_get = type { i32, i32, i32 } @R = dso_local local_unnamed_addr global ptr null, align 8 @TL_MAYBE_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TL_MAYBE_TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @tl_do_list_entry_get(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = inttoptr i64 %2 to ptr %4 = getelementptr inbounds %struct.tl_list_entry_get, ptr %3, i64 0, i32 2 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = getelementptr inbounds %struct.tl_list_entry_get, ptr %3, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = load ptr, ptr @R, align 8, !tbaa !14 %9 = tail call i32 @fetch_list_entry(i32 noundef %5, i32 noundef %7, ptr noundef %8) #2 %10 = icmp eq i32 %9, -2 br i1 %10, label %80, label %11 11: ; preds = %1 %12 = icmp slt i32 %9, 0 br i1 %12, label %13, label %16 13: ; preds = %11 %14 = load i32, ptr @TL_MAYBE_FALSE, align 4, !tbaa !16 %15 = tail call i32 @tl_store_int(i32 noundef %14) #2 br label %80 16: ; preds = %11 %17 = icmp eq i32 %9, 6 %18 = zext i1 %17 to i32 %19 = tail call i32 @assert(i32 noundef %18) #2 %20 = load ptr, ptr @R, align 8, !tbaa !14 %21 = getelementptr inbounds i32, ptr %20, i64 12 %22 = load i32, ptr %21, align 4, !tbaa !16 %23 = load i32, ptr @TL_MAYBE_TRUE, align 4, !tbaa !16 %24 = tail call i32 @tl_store_int(i32 noundef %23) #2 %25 = load i32, ptr %3, align 4, !tbaa !17 %26 = and i32 %25, 32768 %27 = icmp eq i32 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %16 %29 = load i32, ptr %6, align 4, !tbaa !13 %30 = tail call i32 @tl_store_object_id(i32 noundef %29) #2 %31 = load i32, ptr %3, align 4, !tbaa !17 br label %32 32: ; preds = %28, %16 %33 = phi i32 [ %31, %28 ], [ %25, %16 ] %34 = and i32 %33, 64 %35 = icmp eq i32 %34, 0 br i1 %35, label %41, label %36 36: ; preds = %32 %37 = load ptr, ptr @R, align 8, !tbaa !14 %38 = load i32, ptr %37, align 4, !tbaa !16 %39 = tail call i32 @tl_store_int(i32 noundef %38) #2 %40 = load i32, ptr %3, align 4, !tbaa !17 br label %41 41: ; preds = %36, %32 %42 = phi i32 [ %40, %36 ], [ %33, %32 ] %43 = and i32 %42, 128 %44 = icmp eq i32 %43, 0 br i1 %44, label %51, label %45 45: ; preds = %41 %46 = load ptr, ptr @R, align 8, !tbaa !14 %47 = getelementptr inbounds i32, ptr %46, i64 1 %48 = load i32, ptr %47, align 4, !tbaa !16 %49 = tail call i32 @tl_store_int(i32 noundef %48) #2 %50 = load i32, ptr %3, align 4, !tbaa !17 br label %51 51: ; preds = %45, %41 %52 = phi i32 [ %50, %45 ], [ %42, %41 ] %53 = and i32 %52, 256 %54 = icmp eq i32 %53, 0 br i1 %54, label %61, label %55 55: ; preds = %51 %56 = load ptr, ptr @R, align 8, !tbaa !14 %57 = getelementptr inbounds i32, ptr %56, i64 2 %58 = load i64, ptr %57, align 8, !tbaa !18 %59 = tail call i32 @tl_store_long(i64 noundef %58) #2 %60 = load i32, ptr %3, align 4, !tbaa !17 br label %61 61: ; preds = %55, %51 %62 = phi i32 [ %60, %55 ], [ %52, %51 ] %63 = and i32 %62, 512 %64 = icmp eq i32 %63, 0 br i1 %64, label %71, label %65 65: ; preds = %61 %66 = load ptr, ptr @R, align 8, !tbaa !14 %67 = getelementptr inbounds i32, ptr %66, i64 4 %68 = load i64, ptr %67, align 8, !tbaa !18 %69 = tail call i32 @tl_store_long(i64 noundef %68) #2 %70 = load i32, ptr %3, align 4, !tbaa !17 br label %71 71: ; preds = %65, %61 %72 = phi i32 [ %70, %65 ], [ %62, %61 ] %73 = and i32 %72, 1024 %74 = icmp eq i32 %73, 0 br i1 %74, label %80, label %75 75: ; preds = %71 %76 = load ptr, ptr @R, align 8, !tbaa !14 %77 = getelementptr inbounds i32, ptr %76, i64 10 %78 = load ptr, ptr %77, align 8, !tbaa !14 %79 = tail call i32 @tl_store_string(ptr noundef %78, i32 noundef %22) #2 br label %80 80: ; preds = %71, %75, %1, %13 %81 = phi i32 [ 0, %13 ], [ -2, %1 ], [ 0, %75 ], [ 0, %71 ] ret i32 %81 } declare i32 @fetch_list_entry(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tl_store_int(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @tl_store_object_id(i32 noundef) local_unnamed_addr #1 declare i32 @tl_store_long(i64 noundef) local_unnamed_addr #1 declare i32 @tl_store_string(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 = !{!"tl_act_extra", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"tl_list_entry_get", !12, i64 0, !12, i64 4, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 4} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!12, !12, i64 0} !17 = !{!11, !12, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"long long", !8, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/lists/extr_lists-engine.c_tl_do_list_entry_get.c' source_filename = "AnghaBench/kphp-kdb/lists/extr_lists-engine.c_tl_do_list_entry_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R = common local_unnamed_addr global ptr null, align 8 @TL_MAYBE_FALSE = common local_unnamed_addr global i32 0, align 4 @TL_MAYBE_TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2, 1) i32 @tl_do_list_entry_get(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = inttoptr i64 %2 to ptr %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = getelementptr inbounds i8, ptr %3, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !14 %8 = load ptr, ptr @R, align 8, !tbaa !15 %9 = tail call i32 @fetch_list_entry(i32 noundef %5, i32 noundef %7, ptr noundef %8) #2 %10 = icmp eq i32 %9, -2 br i1 %10, label %80, label %11 11: ; preds = %1 %12 = icmp slt i32 %9, 0 br i1 %12, label %13, label %16 13: ; preds = %11 %14 = load i32, ptr @TL_MAYBE_FALSE, align 4, !tbaa !17 %15 = tail call i32 @tl_store_int(i32 noundef %14) #2 br label %80 16: ; preds = %11 %17 = icmp eq i32 %9, 6 %18 = zext i1 %17 to i32 %19 = tail call i32 @assert(i32 noundef %18) #2 %20 = load ptr, ptr @R, align 8, !tbaa !15 %21 = getelementptr inbounds i8, ptr %20, i64 48 %22 = load i32, ptr %21, align 4, !tbaa !17 %23 = load i32, ptr @TL_MAYBE_TRUE, align 4, !tbaa !17 %24 = tail call i32 @tl_store_int(i32 noundef %23) #2 %25 = load i32, ptr %3, align 4, !tbaa !18 %26 = and i32 %25, 32768 %27 = icmp eq i32 %26, 0 br i1 %27, label %32, label %28 28: ; preds = %16 %29 = load i32, ptr %6, align 4, !tbaa !14 %30 = tail call i32 @tl_store_object_id(i32 noundef %29) #2 %31 = load i32, ptr %3, align 4, !tbaa !18 br label %32 32: ; preds = %28, %16 %33 = phi i32 [ %31, %28 ], [ %25, %16 ] %34 = and i32 %33, 64 %35 = icmp eq i32 %34, 0 br i1 %35, label %41, label %36 36: ; preds = %32 %37 = load ptr, ptr @R, align 8, !tbaa !15 %38 = load i32, ptr %37, align 4, !tbaa !17 %39 = tail call i32 @tl_store_int(i32 noundef %38) #2 %40 = load i32, ptr %3, align 4, !tbaa !18 br label %41 41: ; preds = %36, %32 %42 = phi i32 [ %40, %36 ], [ %33, %32 ] %43 = and i32 %42, 128 %44 = icmp eq i32 %43, 0 br i1 %44, label %51, label %45 45: ; preds = %41 %46 = load ptr, ptr @R, align 8, !tbaa !15 %47 = getelementptr inbounds i8, ptr %46, i64 4 %48 = load i32, ptr %47, align 4, !tbaa !17 %49 = tail call i32 @tl_store_int(i32 noundef %48) #2 %50 = load i32, ptr %3, align 4, !tbaa !18 br label %51 51: ; preds = %45, %41 %52 = phi i32 [ %50, %45 ], [ %42, %41 ] %53 = and i32 %52, 256 %54 = icmp eq i32 %53, 0 br i1 %54, label %61, label %55 55: ; preds = %51 %56 = load ptr, ptr @R, align 8, !tbaa !15 %57 = getelementptr inbounds i8, ptr %56, i64 8 %58 = load i64, ptr %57, align 8, !tbaa !19 %59 = tail call i32 @tl_store_long(i64 noundef %58) #2 %60 = load i32, ptr %3, align 4, !tbaa !18 br label %61 61: ; preds = %55, %51 %62 = phi i32 [ %60, %55 ], [ %52, %51 ] %63 = and i32 %62, 512 %64 = icmp eq i32 %63, 0 br i1 %64, label %71, label %65 65: ; preds = %61 %66 = load ptr, ptr @R, align 8, !tbaa !15 %67 = getelementptr inbounds i8, ptr %66, i64 16 %68 = load i64, ptr %67, align 8, !tbaa !19 %69 = tail call i32 @tl_store_long(i64 noundef %68) #2 %70 = load i32, ptr %3, align 4, !tbaa !18 br label %71 71: ; preds = %65, %61 %72 = phi i32 [ %70, %65 ], [ %62, %61 ] %73 = and i32 %72, 1024 %74 = icmp eq i32 %73, 0 br i1 %74, label %80, label %75 75: ; preds = %71 %76 = load ptr, ptr @R, align 8, !tbaa !15 %77 = getelementptr inbounds i8, ptr %76, i64 40 %78 = load ptr, ptr %77, align 8, !tbaa !15 %79 = tail call i32 @tl_store_string(ptr noundef %78, i32 noundef %22) #2 br label %80 80: ; preds = %71, %75, %1, %13 %81 = phi i32 [ 0, %13 ], [ -2, %1 ], [ 0, %75 ], [ 0, %71 ] ret i32 %81 } declare i32 @fetch_list_entry(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tl_store_int(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @tl_store_object_id(i32 noundef) local_unnamed_addr #1 declare i32 @tl_store_long(i64 noundef) local_unnamed_addr #1 declare i32 @tl_store_string(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 = !{!"tl_act_extra", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 8} !12 = !{!"tl_list_entry_get", !13, i64 0, !13, i64 4, !13, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 4} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!13, !13, i64 0} !18 = !{!12, !13, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"long long", !9, i64 0}
kphp-kdb_lists_extr_lists-engine.c_tl_do_list_entry_get
; ModuleID = 'AnghaBench/linux/fs/hpfs/extr_super.c_hpfs_statfs.c' source_filename = "AnghaBench/linux/fs/hpfs/extr_super.c_hpfs_statfs.c" target datalayout = "e-m:e-p270:32:32-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.super_block = type { i32, ptr } %struct.kstatfs = type { i32, i32, i32, i32, i32, %struct.TYPE_4__, i32, i32, i32 } %struct.TYPE_4__ = type { ptr } %struct.hpfs_sb_info = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @hpfs_statfs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @hpfs_statfs(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call ptr @hpfs_sb(ptr noundef %3) #2 %5 = getelementptr inbounds %struct.super_block, ptr %3, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = tail call i32 @huge_encode_dev(i32 noundef %7) #2 %9 = tail call i32 @hpfs_lock(ptr noundef %3) #2 %10 = load i32, ptr %4, align 4, !tbaa !15 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = tail call i32 @count_bitmaps(ptr noundef nonnull %3) #2 store i32 %13, ptr %4, align 4, !tbaa !15 br label %14 14: ; preds = %12, %2 %15 = phi i32 [ %13, %12 ], [ %10, %2 ] %16 = load i32, ptr %3, align 8, !tbaa !17 %17 = getelementptr inbounds %struct.kstatfs, ptr %1, i64 0, i32 8 store i32 %16, ptr %17, align 8, !tbaa !18 store i32 512, ptr %1, align 8, !tbaa !21 %18 = getelementptr inbounds %struct.hpfs_sb_info, ptr %4, i64 0, i32 2 %19 = load i32, ptr %18, align 4, !tbaa !22 %20 = getelementptr inbounds %struct.kstatfs, ptr %1, i64 0, i32 7 store i32 %19, ptr %20, align 4, !tbaa !23 %21 = getelementptr inbounds %struct.kstatfs, ptr %1, i64 0, i32 1 store i32 %15, ptr %21, align 4, !tbaa !24 %22 = getelementptr inbounds %struct.kstatfs, ptr %1, i64 0, i32 2 store i32 %15, ptr %22, align 8, !tbaa !25 %23 = getelementptr inbounds %struct.hpfs_sb_info, ptr %4, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !26 %25 = sdiv i32 %24, 4 %26 = getelementptr inbounds %struct.kstatfs, ptr %1, i64 0, i32 3 store i32 %25, ptr %26, align 4, !tbaa !27 %27 = tail call i32 @hpfs_get_free_dnodes(ptr noundef nonnull %3) #2 %28 = getelementptr inbounds %struct.kstatfs, ptr %1, i64 0, i32 6 store i32 %27, ptr %28, align 8, !tbaa !28 %29 = sext i32 %8 to i64 %30 = inttoptr i64 %29 to ptr %31 = getelementptr inbounds %struct.kstatfs, ptr %1, i64 0, i32 5 %32 = load ptr, ptr %31, align 8, !tbaa !29 store ptr %30, ptr %32, align 8, !tbaa !30 %33 = getelementptr inbounds %struct.kstatfs, ptr %1, i64 0, i32 4 store i32 254, ptr %33, align 8, !tbaa !31 %34 = tail call i32 @hpfs_unlock(ptr noundef nonnull %3) #2 ret i32 0 } declare ptr @hpfs_sb(ptr noundef) local_unnamed_addr #1 declare i32 @huge_encode_dev(i32 noundef) local_unnamed_addr #1 declare i32 @hpfs_lock(ptr noundef) local_unnamed_addr #1 declare i32 @count_bitmaps(ptr noundef) local_unnamed_addr #1 declare i32 @hpfs_get_free_dnodes(ptr noundef) local_unnamed_addr #1 declare i32 @hpfs_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dentry", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"super_block", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"hpfs_sb_info", !12, i64 0, !12, i64 4, !12, i64 8} !17 = !{!11, !12, i64 0} !18 = !{!19, !12, i64 40} !19 = !{!"kstatfs", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !20, i64 24, !12, i64 32, !12, i64 36, !12, i64 40} !20 = !{!"TYPE_4__", !7, i64 0} !21 = !{!19, !12, i64 0} !22 = !{!16, !12, i64 8} !23 = !{!19, !12, i64 36} !24 = !{!19, !12, i64 4} !25 = !{!19, !12, i64 8} !26 = !{!16, !12, i64 4} !27 = !{!19, !12, i64 12} !28 = !{!19, !12, i64 32} !29 = !{!19, !7, i64 24} !30 = !{!7, !7, i64 0} !31 = !{!19, !12, i64 16}
; ModuleID = 'AnghaBench/linux/fs/hpfs/extr_super.c_hpfs_statfs.c' source_filename = "AnghaBench/linux/fs/hpfs/extr_super.c_hpfs_statfs.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 @hpfs_statfs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @hpfs_statfs(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call ptr @hpfs_sb(ptr noundef %3) #2 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load i32, ptr %6, align 4, !tbaa !14 %8 = tail call i32 @huge_encode_dev(i32 noundef %7) #2 %9 = tail call i32 @hpfs_lock(ptr noundef %3) #2 %10 = load i32, ptr %4, align 4, !tbaa !16 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = tail call i32 @count_bitmaps(ptr noundef nonnull %3) #2 store i32 %13, ptr %4, align 4, !tbaa !16 br label %14 14: ; preds = %12, %2 %15 = phi i32 [ %13, %12 ], [ %10, %2 ] %16 = load i32, ptr %3, align 8, !tbaa !18 %17 = getelementptr inbounds i8, ptr %1, i64 40 store i32 %16, ptr %17, align 8, !tbaa !19 store i32 512, ptr %1, align 8, !tbaa !22 %18 = getelementptr inbounds i8, ptr %4, i64 8 %19 = load i32, ptr %18, align 4, !tbaa !23 %20 = getelementptr inbounds i8, ptr %1, i64 36 store i32 %19, ptr %20, align 4, !tbaa !24 %21 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %15, ptr %21, align 4, !tbaa !25 %22 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %15, ptr %22, align 8, !tbaa !26 %23 = getelementptr inbounds i8, ptr %4, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !27 %25 = sdiv i32 %24, 4 %26 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %25, ptr %26, align 4, !tbaa !28 %27 = tail call i32 @hpfs_get_free_dnodes(ptr noundef nonnull %3) #2 %28 = getelementptr inbounds i8, ptr %1, i64 32 store i32 %27, ptr %28, align 8, !tbaa !29 %29 = sext i32 %8 to i64 %30 = inttoptr i64 %29 to ptr %31 = getelementptr inbounds i8, ptr %1, i64 24 %32 = load ptr, ptr %31, align 8, !tbaa !30 store ptr %30, ptr %32, align 8, !tbaa !31 %33 = getelementptr inbounds i8, ptr %1, i64 16 store i32 254, ptr %33, align 8, !tbaa !32 %34 = tail call i32 @hpfs_unlock(ptr noundef nonnull %3) #2 ret i32 0 } declare ptr @hpfs_sb(ptr noundef) local_unnamed_addr #1 declare i32 @huge_encode_dev(i32 noundef) local_unnamed_addr #1 declare i32 @hpfs_lock(ptr noundef) local_unnamed_addr #1 declare i32 @count_bitmaps(ptr noundef) local_unnamed_addr #1 declare i32 @hpfs_get_free_dnodes(ptr noundef) local_unnamed_addr #1 declare i32 @hpfs_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dentry", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"super_block", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_3__", !13, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"hpfs_sb_info", !13, i64 0, !13, i64 4, !13, i64 8} !18 = !{!12, !13, i64 0} !19 = !{!20, !13, i64 40} !20 = !{!"kstatfs", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !21, i64 24, !13, i64 32, !13, i64 36, !13, i64 40} !21 = !{!"TYPE_4__", !8, i64 0} !22 = !{!20, !13, i64 0} !23 = !{!17, !13, i64 8} !24 = !{!20, !13, i64 36} !25 = !{!20, !13, i64 4} !26 = !{!20, !13, i64 8} !27 = !{!17, !13, i64 4} !28 = !{!20, !13, i64 12} !29 = !{!20, !13, i64 32} !30 = !{!20, !8, i64 24} !31 = !{!8, !8, i64 0} !32 = !{!20, !13, i64 16}
linux_fs_hpfs_extr_super.c_hpfs_statfs
; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscSql.c_taos_stop_query.c' source_filename = "AnghaBench/TDengine/src/client/src/extr_tscSql.c_taos_stop_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.TYPE_6__ = type { ptr, %struct.TYPE_7__, %struct.TYPE_5__, ptr } %struct.TYPE_7__ = type { i64 } %struct.TYPE_5__ = type { i32 } @.str = private unnamed_addr constant [25 x i8] c"%p start to cancel query\00", align 1 @TSDB_CODE_QUERY_CANCELLED = dso_local local_unnamed_addr global i32 0, align 4 @TSDB_SQL_LOCAL = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [31 x i8] c"%p no connection, abort cancel\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"%p query is cancelled\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @taos_stop_query(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %28, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, %0 br i1 %6, label %7, label %28 7: ; preds = %3 %8 = tail call i32 @tscTrace(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2 %9 = load i32, ptr @TSDB_CODE_QUERY_CANCELLED, align 4, !tbaa !14 %10 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 store i32 %9, ptr %10, align 8, !tbaa !15 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %12 = tail call i64 @tscIsTwoStageMergeMetricQuery(ptr noundef nonnull %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %7 %15 = tail call i32 @tscKillMetricQuery(ptr noundef nonnull %0) #2 br label %28 16: ; preds = %7 %17 = load i64, ptr %11, align 8, !tbaa !16 %18 = load i64, ptr @TSDB_SQL_LOCAL, align 8, !tbaa !17 %19 = icmp slt i64 %17, %18 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load ptr, ptr %0, align 8, !tbaa !18 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %20 %24 = tail call i32 @tscTrace(ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2 br label %28 25: ; preds = %20 %26 = tail call i32 @taosStopRpcConn(ptr noundef nonnull %21) #2 %27 = tail call i32 @tscTrace(ptr noundef nonnull @.str.2, ptr noundef nonnull %0) #2 br label %28 28: ; preds = %14, %23, %25, %3, %16, %1 ret void } declare i32 @tscTrace(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @tscIsTwoStageMergeMetricQuery(ptr noundef) local_unnamed_addr #1 declare i32 @tscKillMetricQuery(ptr noundef) local_unnamed_addr #1 declare i32 @taosStopRpcConn(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 24} !6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !12, i64 16, !7, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_7__", !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!6, !13, i64 16} !16 = !{!6, !11, i64 8} !17 = !{!11, !11, i64 0} !18 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscSql.c_taos_stop_query.c' source_filename = "AnghaBench/TDengine/src/client/src/extr_tscSql.c_taos_stop_query.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 [25 x i8] c"%p start to cancel query\00", align 1 @TSDB_CODE_QUERY_CANCELLED = common local_unnamed_addr global i32 0, align 4 @TSDB_SQL_LOCAL = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [31 x i8] c"%p no connection, abort cancel\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"%p query is cancelled\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @taos_stop_query(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %28, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, %0 br i1 %6, label %7, label %28 7: ; preds = %3 %8 = tail call i32 @tscTrace(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2 %9 = load i32, ptr @TSDB_CODE_QUERY_CANCELLED, align 4, !tbaa !15 %10 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %9, ptr %10, align 8, !tbaa !16 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = tail call i64 @tscIsTwoStageMergeMetricQuery(ptr noundef nonnull %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %7 %15 = tail call i32 @tscKillMetricQuery(ptr noundef nonnull %0) #2 br label %28 16: ; preds = %7 %17 = load i64, ptr %11, align 8, !tbaa !17 %18 = load i64, ptr @TSDB_SQL_LOCAL, align 8, !tbaa !18 %19 = icmp slt i64 %17, %18 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load ptr, ptr %0, align 8, !tbaa !19 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %20 %24 = tail call i32 @tscTrace(ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2 br label %28 25: ; preds = %20 %26 = tail call i32 @taosStopRpcConn(ptr noundef nonnull %21) #2 %27 = tail call i32 @tscTrace(ptr noundef nonnull @.str.2, ptr noundef nonnull %0) #2 br label %28 28: ; preds = %14, %23, %25, %3, %16, %1 ret void } declare i32 @tscTrace(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @tscIsTwoStageMergeMetricQuery(ptr noundef) local_unnamed_addr #1 declare i32 @tscKillMetricQuery(ptr noundef) local_unnamed_addr #1 declare i32 @taosStopRpcConn(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 24} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !13, i64 16, !8, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!7, !14, i64 16} !17 = !{!7, !12, i64 8} !18 = !{!12, !12, i64 0} !19 = !{!7, !8, i64 0}
TDengine_src_client_src_extr_tscSql.c_taos_stop_query
; ModuleID = 'AnghaBench/sway/sway/tree/extr_view.c_view_destroy.c' source_filename = "AnghaBench/sway/sway/tree/extr_view.c_view_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.sway_view = type { ptr, ptr, i32, ptr, i32, ptr } @.str = private unnamed_addr constant [26 x i8] c"Tried to free mapped view\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"Tried to free view which wasn't marked as destroying\00", align 1 @.str.2 = private unnamed_addr constant [83 x i8] c"Tried to free view which still has a container (might have a pending transaction?)\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @view_destroy(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.sway_view, ptr %0, i64 0, i32 5 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i32 @sway_assert(i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %34, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.sway_view, ptr %0, i64 0, i32 4 %10 = load i32, ptr %9, align 8, !tbaa !11 %11 = tail call i32 @sway_assert(i32 noundef %10, ptr noundef nonnull @.str.1) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %34, label %13 13: ; preds = %8 %14 = getelementptr inbounds %struct.sway_view, ptr %0, i64 0, i32 3 %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = icmp eq ptr %15, null %17 = zext i1 %16 to i32 %18 = tail call i32 @sway_assert(i32 noundef %17, ptr noundef nonnull @.str.2) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %34, label %20 20: ; preds = %13 %21 = getelementptr inbounds %struct.sway_view, ptr %0, i64 0, i32 2 %22 = load i32, ptr %21, align 8, !tbaa !13 %23 = tail call i32 @list_free(i32 noundef %22) #2 %24 = getelementptr inbounds %struct.sway_view, ptr %0, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !14 %26 = tail call i32 @free(ptr noundef %25) #2 %27 = load ptr, ptr %0, align 8, !tbaa !15 %28 = load ptr, ptr %27, align 8, !tbaa !16 %29 = icmp eq ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %20 %31 = tail call i32 %28(ptr noundef nonnull %0) #2 br label %34 32: ; preds = %20 %33 = tail call i32 @free(ptr noundef nonnull %0) #2 br label %34 34: ; preds = %13, %8, %1, %32, %30 ret void } declare i32 @sway_assert(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_free(i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 40} !6 = !{!"sway_view", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40} !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 32} !12 = !{!6, !7, i64 24} !13 = !{!6, !10, i64 16} !14 = !{!6, !7, i64 8} !15 = !{!6, !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/sway/sway/tree/extr_view.c_view_destroy.c' source_filename = "AnghaBench/sway/sway/tree/extr_view.c_view_destroy.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 [26 x i8] c"Tried to free mapped view\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"Tried to free view which wasn't marked as destroying\00", align 1 @.str.2 = private unnamed_addr constant [83 x i8] c"Tried to free view which still has a container (might have a pending transaction?)\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @view_destroy(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 40 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i32 @sway_assert(i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %34, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 32 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @sway_assert(i32 noundef %10, ptr noundef nonnull @.str.1) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %34, label %13 13: ; preds = %8 %14 = getelementptr inbounds i8, ptr %0, i64 24 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = icmp eq ptr %15, null %17 = zext i1 %16 to i32 %18 = tail call i32 @sway_assert(i32 noundef %17, ptr noundef nonnull @.str.2) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %34, label %20 20: ; preds = %13 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load i32, ptr %21, align 8, !tbaa !14 %23 = tail call i32 @list_free(i32 noundef %22) #2 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !15 %26 = tail call i32 @free(ptr noundef %25) #2 %27 = load ptr, ptr %0, align 8, !tbaa !16 %28 = load ptr, ptr %27, align 8, !tbaa !17 %29 = icmp eq ptr %28, null br i1 %29, label %32, label %30 30: ; preds = %20 %31 = tail call i32 %28(ptr noundef nonnull %0) #2 br label %34 32: ; preds = %20 %33 = tail call i32 @free(ptr noundef nonnull %0) #2 br label %34 34: ; preds = %13, %8, %1, %32, %30 ret void } declare i32 @sway_assert(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_free(i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 40} !7 = !{!"sway_view", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !8, i64 40} !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 32} !13 = !{!7, !8, i64 24} !14 = !{!7, !11, i64 16} !15 = !{!7, !8, i64 8} !16 = !{!7, !8, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_2__", !8, i64 0}
sway_sway_tree_extr_view.c_view_destroy
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_datum.c_datum_image_eq.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_datum.c_datum_image_eq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VARHDRSZ = dso_local local_unnamed_addr global i64 0, align 8 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"unexpected typLen: %d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @datum_image_eq(i64 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq i32 %2, 0 br i1 %5, label %8, label %6 6: ; preds = %4 %7 = icmp eq i64 %0, %1 br label %52 8: ; preds = %4 %9 = icmp sgt i32 %3, 0 br i1 %9, label %10, label %16 10: ; preds = %8 %11 = tail call ptr @DatumGetPointer(i64 noundef %0) #3 %12 = tail call ptr @DatumGetPointer(i64 noundef %1) #3 %13 = zext nneg i32 %3 to i64 %14 = tail call i64 @memcmp(ptr noundef %11, ptr noundef %12, i64 noundef %13) #3 %15 = icmp eq i64 %14, 0 br label %52 16: ; preds = %8 switch i32 %3, label %49 [ i32 -1, label %17 i32 -2, label %39 ] 17: ; preds = %16 %18 = tail call i64 @toast_raw_datum_size(i64 noundef %0) #3 %19 = tail call i64 @toast_raw_datum_size(i64 noundef %1) #3 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %52 21: ; preds = %17 %22 = tail call ptr @PG_DETOAST_DATUM_PACKED(i64 noundef %0) #3 %23 = tail call ptr @PG_DETOAST_DATUM_PACKED(i64 noundef %1) #3 %24 = tail call ptr @VARDATA_ANY(ptr noundef %22) #3 %25 = tail call ptr @VARDATA_ANY(ptr noundef %23) #3 %26 = load i64, ptr @VARHDRSZ, align 8, !tbaa !5 %27 = sub nsw i64 %18, %26 %28 = tail call i64 @memcmp(ptr noundef %24, ptr noundef %25, i64 noundef %27) #3 %29 = icmp eq i64 %28, 0 %30 = ptrtoint ptr %22 to i64 %31 = icmp eq i64 %30, %0 br i1 %31, label %34, label %32 32: ; preds = %21 %33 = tail call i32 @pfree(ptr noundef %22) #3 br label %34 34: ; preds = %32, %21 %35 = ptrtoint ptr %23 to i64 %36 = icmp eq i64 %35, %1 br i1 %36, label %52, label %37 37: ; preds = %34 %38 = tail call i32 @pfree(ptr noundef %23) #3 br label %52 39: ; preds = %16 %40 = tail call ptr @DatumGetCString(i64 noundef %0) #3 %41 = tail call ptr @DatumGetCString(i64 noundef %1) #3 %42 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %40) %43 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %41) %44 = icmp eq i64 %42, %43 br i1 %44, label %45, label %52 45: ; preds = %39 %46 = add nsw i64 %42, 1 %47 = tail call i64 @memcmp(ptr noundef %40, ptr noundef %41, i64 noundef %46) #3 %48 = icmp eq i64 %47, 0 br label %52 49: ; preds = %16 %50 = load i32, ptr @ERROR, align 4, !tbaa !9 %51 = tail call i32 @elog(i32 noundef %50, ptr noundef nonnull @.str, i32 noundef %3) #3 br label %52 52: ; preds = %45, %39, %6, %49, %10, %17, %37, %34 %53 = phi i1 [ %7, %6 ], [ %15, %10 ], [ true, %49 ], [ false, %17 ], [ %29, %37 ], [ %29, %34 ], [ %48, %45 ], [ false, %39 ] %54 = zext i1 %53 to i32 ret i32 %54 } declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @DatumGetPointer(i64 noundef) local_unnamed_addr #1 declare i64 @toast_raw_datum_size(i64 noundef) local_unnamed_addr #1 declare ptr @PG_DETOAST_DATUM_PACKED(i64 noundef) local_unnamed_addr #1 declare ptr @VARDATA_ANY(ptr noundef) local_unnamed_addr #1 declare i32 @pfree(ptr noundef) local_unnamed_addr #1 declare ptr @DatumGetCString(i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @elog(i32 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 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_datum.c_datum_image_eq.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_datum.c_datum_image_eq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VARHDRSZ = common local_unnamed_addr global i64 0, align 8 @ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"unexpected typLen: %d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @datum_image_eq(i64 noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq i32 %2, 0 br i1 %5, label %8, label %6 6: ; preds = %4 %7 = icmp eq i64 %0, %1 br label %52 8: ; preds = %4 %9 = icmp sgt i32 %3, 0 br i1 %9, label %10, label %16 10: ; preds = %8 %11 = tail call ptr @DatumGetPointer(i64 noundef %0) #3 %12 = tail call ptr @DatumGetPointer(i64 noundef %1) #3 %13 = zext nneg i32 %3 to i64 %14 = tail call i64 @memcmp(ptr noundef %11, ptr noundef %12, i64 noundef %13) #3 %15 = icmp eq i64 %14, 0 br label %52 16: ; preds = %8 switch i32 %3, label %49 [ i32 -1, label %17 i32 -2, label %39 ] 17: ; preds = %16 %18 = tail call i64 @toast_raw_datum_size(i64 noundef %0) #3 %19 = tail call i64 @toast_raw_datum_size(i64 noundef %1) #3 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %52 21: ; preds = %17 %22 = tail call ptr @PG_DETOAST_DATUM_PACKED(i64 noundef %0) #3 %23 = tail call ptr @PG_DETOAST_DATUM_PACKED(i64 noundef %1) #3 %24 = tail call ptr @VARDATA_ANY(ptr noundef %22) #3 %25 = tail call ptr @VARDATA_ANY(ptr noundef %23) #3 %26 = load i64, ptr @VARHDRSZ, align 8, !tbaa !6 %27 = sub nsw i64 %18, %26 %28 = tail call i64 @memcmp(ptr noundef %24, ptr noundef %25, i64 noundef %27) #3 %29 = icmp eq i64 %28, 0 %30 = ptrtoint ptr %22 to i64 %31 = icmp eq i64 %30, %0 br i1 %31, label %34, label %32 32: ; preds = %21 %33 = tail call i32 @pfree(ptr noundef %22) #3 br label %34 34: ; preds = %32, %21 %35 = ptrtoint ptr %23 to i64 %36 = icmp eq i64 %35, %1 br i1 %36, label %52, label %37 37: ; preds = %34 %38 = tail call i32 @pfree(ptr noundef %23) #3 br label %52 39: ; preds = %16 %40 = tail call ptr @DatumGetCString(i64 noundef %0) #3 %41 = tail call ptr @DatumGetCString(i64 noundef %1) #3 %42 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %40) %43 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %41) %44 = icmp eq i64 %42, %43 br i1 %44, label %45, label %52 45: ; preds = %39 %46 = add nsw i64 %42, 1 %47 = tail call i64 @memcmp(ptr noundef %40, ptr noundef %41, i64 noundef %46) #3 %48 = icmp eq i64 %47, 0 br label %52 49: ; preds = %16 %50 = load i32, ptr @ERROR, align 4, !tbaa !10 %51 = tail call i32 @elog(i32 noundef %50, ptr noundef nonnull @.str, i32 noundef %3) #3 br label %52 52: ; preds = %6, %49, %10, %17, %37, %34, %45, %39 %53 = phi i1 [ false, %39 ], [ %7, %6 ], [ %15, %10 ], [ true, %49 ], [ false, %17 ], [ %29, %37 ], [ %29, %34 ], [ %48, %45 ] %54 = zext i1 %53 to i32 ret i32 %54 } declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @DatumGetPointer(i64 noundef) local_unnamed_addr #1 declare i64 @toast_raw_datum_size(i64 noundef) local_unnamed_addr #1 declare ptr @PG_DETOAST_DATUM_PACKED(i64 noundef) local_unnamed_addr #1 declare ptr @VARDATA_ANY(ptr noundef) local_unnamed_addr #1 declare i32 @pfree(ptr noundef) local_unnamed_addr #1 declare ptr @DatumGetCString(i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @elog(i32 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 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
postgres_src_backend_utils_adt_extr_datum.c_datum_image_eq
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-phy-v2.c_xgbe_phy_rrc.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-phy-v2.c_xgbe_phy_rrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @link = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"receiver reset complete\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @xgbe_phy_rrc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xgbe_phy_rrc(ptr noundef %0) #0 { %2 = tail call i32 @xgbe_phy_perform_ratechange(ptr noundef %0, i32 noundef 5, i32 noundef 0) #2 %3 = load i32, ptr @link, align 4, !tbaa !5 %4 = load i32, ptr %0, align 4, !tbaa !9 %5 = tail call i32 @netif_dbg(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4, ptr noundef nonnull @.str) #2 ret void } declare i32 @xgbe_phy_perform_ratechange(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_dbg(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"xgbe_prv_data", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-phy-v2.c_xgbe_phy_rrc.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-phy-v2.c_xgbe_phy_rrc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @link = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"receiver reset complete\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @xgbe_phy_rrc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xgbe_phy_rrc(ptr noundef %0) #0 { %2 = tail call i32 @xgbe_phy_perform_ratechange(ptr noundef %0, i32 noundef 5, i32 noundef 0) #2 %3 = load i32, ptr @link, align 4, !tbaa !6 %4 = load i32, ptr %0, align 4, !tbaa !10 %5 = tail call i32 @netif_dbg(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4, ptr noundef nonnull @.str) #2 ret void } declare i32 @xgbe_phy_perform_ratechange(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_dbg(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"xgbe_prv_data", !7, i64 0}
linux_drivers_net_ethernet_amd_xgbe_extr_xgbe-phy-v2.c_xgbe_phy_rrc
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7603/extr_mac.c_mt7603_wtbl2_addr.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7603/extr_mac.c_mt7603_wtbl2_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MT_PCIE_REMAP_BASE_1 = dso_local local_unnamed_addr global i64 0, align 8 @MT_WTBL2_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mt7603_wtbl2_addr], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i64 @mt7603_wtbl2_addr(i32 noundef %0) #0 { %2 = load i64, ptr @MT_PCIE_REMAP_BASE_1, align 8, !tbaa !5 %3 = load i32, ptr @MT_WTBL2_SIZE, align 4, !tbaa !9 %4 = mul nsw i32 %3, %0 %5 = sext i32 %4 to i64 %6 = add nsw i64 %2, %5 ret i64 %6 } 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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7603/extr_mac.c_mt7603_wtbl2_addr.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7603/extr_mac.c_mt7603_wtbl2_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MT_PCIE_REMAP_BASE_1 = common local_unnamed_addr global i64 0, align 8 @MT_WTBL2_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mt7603_wtbl2_addr], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i64 @mt7603_wtbl2_addr(i32 noundef %0) #0 { %2 = load i64, ptr @MT_PCIE_REMAP_BASE_1, align 8, !tbaa !6 %3 = load i32, ptr @MT_WTBL2_SIZE, align 4, !tbaa !10 %4 = mul nsw i32 %3, %0 %5 = sext i32 %4 to i64 %6 = add nsw i64 %2, %5 ret i64 %6 } 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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
linux_drivers_net_wireless_mediatek_mt76_mt7603_extr_mac.c_mt7603_wtbl2_addr