IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/watchdog/extr_w83697hf_wdt.c_w83697hf_set_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/watchdog/extr_w83697hf_wdt.c_w83697hf_set_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@W83697HF_EFIR = dso_local local_unnamed_addr global i32 0, align 4
@W83697HF_EFDR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @w83697hf_set_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @w83697hf_set_reg(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = load i32, ptr @W83697HF_EFIR, align 4, !tbaa !5
%4 = tail call i32 @outb_p(i8 noundef zeroext %0, i32 noundef %3) #2
%5 = load i32, ptr @W83697HF_EFDR, align 4, !tbaa !5
%6 = tail call i32 @outb_p(i8 noundef zeroext %1, i32 noundef %5) #2
ret void
}
declare i32 @outb_p(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/watchdog/extr_w83697hf_wdt.c_w83697hf_set_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/watchdog/extr_w83697hf_wdt.c_w83697hf_set_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@W83697HF_EFIR = common local_unnamed_addr global i32 0, align 4
@W83697HF_EFDR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @w83697hf_set_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @w83697hf_set_reg(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = load i32, ptr @W83697HF_EFIR, align 4, !tbaa !6
%4 = tail call i32 @outb_p(i8 noundef zeroext %0, i32 noundef %3) #2
%5 = load i32, ptr @W83697HF_EFDR, align 4, !tbaa !6
%6 = tail call i32 @outb_p(i8 noundef zeroext %1, i32 noundef %5) #2
ret void
}
declare i32 @outb_p(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_watchdog_extr_w83697hf_wdt.c_w83697hf_set_reg |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu7_clockpowergating.c_smu7_powerdown_vce.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu7_clockpowergating.c_smu7_powerdown_vce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PPSMC_MSG_VCEPowerOFF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @smu7_powerdown_vce], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @smu7_powerdown_vce(ptr noundef %0) #0 {
%2 = tail call i64 @phm_cf_want_vce_power_gating(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @PPSMC_MSG_VCEPowerOFF, align 4, !tbaa !5
%6 = tail call i32 @smum_send_msg_to_smc(ptr noundef %0, i32 noundef %5) #2
br label %7
7: ; preds = %1, %4
%8 = phi i32 [ %6, %4 ], [ 0, %1 ]
ret i32 %8
}
declare i64 @phm_cf_want_vce_power_gating(ptr noundef) local_unnamed_addr #1
declare i32 @smum_send_msg_to_smc(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/gpu/drm/amd/powerplay/hwmgr/extr_smu7_clockpowergating.c_smu7_powerdown_vce.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_smu7_clockpowergating.c_smu7_powerdown_vce.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PPSMC_MSG_VCEPowerOFF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @smu7_powerdown_vce], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @smu7_powerdown_vce(ptr noundef %0) #0 {
%2 = tail call i64 @phm_cf_want_vce_power_gating(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @PPSMC_MSG_VCEPowerOFF, align 4, !tbaa !6
%6 = tail call i32 @smum_send_msg_to_smc(ptr noundef %0, i32 noundef %5) #2
br label %7
7: ; preds = %1, %4
%8 = phi i32 [ %6, %4 ], [ 0, %1 ]
ret i32 %8
}
declare i64 @phm_cf_want_vce_power_gating(ptr noundef) local_unnamed_addr #1
declare i32 @smum_send_msg_to_smc(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_gpu_drm_amd_powerplay_hwmgr_extr_smu7_clockpowergating.c_smu7_powerdown_vce |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-mac.c_il4965_txq_agg_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-mac.c_il4965_txq_agg_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.il_priv = type { i32, ptr, i64, ptr }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, i32 }
@IL49_FIRST_AMPDU_QUEUE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"queue number out of range: %d, must be %d to %d\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUECHAIN_SEL = dso_local local_unnamed_addr global i32 0, align 4
@SCD_WIN_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUE_CTX_REG1_WIN_SIZE_POS = dso_local local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUE_CTX_REG1_WIN_SIZE_MSK = dso_local local_unnamed_addr global i32 0, align 4
@SCD_FRAME_LIMIT = dso_local local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_POS = dso_local local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_MSK = dso_local local_unnamed_addr global i32 0, align 4
@IL49_SCD_INTERRUPT_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @il4965_txq_agg_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @il4965_txq_agg_enable(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr @IL49_FIRST_AMPDU_QUEUE, align 4, !tbaa !5
%8 = icmp sle i32 %7, %1
%9 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 3
%10 = load ptr, ptr %9, align 8, !tbaa !9
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = add nsw i32 %11, %7
%13 = icmp sgt i32 %12, %1
%14 = select i1 %8, i1 %13, i1 false
br i1 %14, label %21, label %15
15: ; preds = %6
%16 = add i32 %7, -1
%17 = add i32 %16, %11
%18 = tail call i32 @IL_WARN(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %7, i32 noundef %17) #2
%19 = load i32, ptr @EINVAL, align 4, !tbaa !5
%20 = sub nsw i32 0, %19
br label %65
21: ; preds = %6
%22 = tail call i32 @BUILD_RAxTID(i32 noundef %3, i32 noundef %4) #2
%23 = tail call i32 @il4965_sta_tx_modify_enable_tid(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %65
25: ; preds = %21
%26 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %0, i64 noundef undef) #2
%27 = tail call i32 @il4965_tx_queue_stop_scheduler(ptr noundef nonnull %0, i32 noundef %1) #2
%28 = tail call i32 @il4965_tx_queue_set_q2ratid(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %1) #2
%29 = load i32, ptr @IL49_SCD_QUEUECHAIN_SEL, align 4, !tbaa !5
%30 = shl nuw i32 1, %1
%31 = tail call i32 @il_set_bits_prph(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %30) #2
%32 = and i32 %5, 255
%33 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !15
%35 = sext i32 %1 to i64
%36 = getelementptr inbounds %struct.TYPE_6__, ptr %34, i64 %35
store i32 %32, ptr %36, align 4, !tbaa !16
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %34, i64 %35, i32 0, i32 1
store i32 %32, ptr %37, align 4, !tbaa !19
%38 = tail call i32 @il4965_set_wr_ptrs(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %5) #2
%39 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 2
%40 = load i64, ptr %39, align 8, !tbaa !20
%41 = tail call i64 @IL49_SCD_CONTEXT_QUEUE_OFFSET(i32 noundef %1) #2
%42 = add nsw i64 %41, %40
%43 = load i32, ptr @SCD_WIN_SIZE, align 4, !tbaa !5
%44 = load i32, ptr @IL49_SCD_QUEUE_CTX_REG1_WIN_SIZE_POS, align 4, !tbaa !5
%45 = shl i32 %43, %44
%46 = load i32, ptr @IL49_SCD_QUEUE_CTX_REG1_WIN_SIZE_MSK, align 4, !tbaa !5
%47 = and i32 %45, %46
%48 = tail call i32 @il_write_targ_mem(ptr noundef nonnull %0, i64 noundef %42, i32 noundef %47) #2
%49 = load i64, ptr %39, align 8, !tbaa !20
%50 = tail call i64 @IL49_SCD_CONTEXT_QUEUE_OFFSET(i32 noundef %1) #2
%51 = add i64 %49, 4
%52 = add i64 %51, %50
%53 = load i32, ptr @SCD_FRAME_LIMIT, align 4, !tbaa !5
%54 = load i32, ptr @IL49_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_POS, align 4, !tbaa !5
%55 = shl i32 %53, %54
%56 = load i32, ptr @IL49_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_MSK, align 4, !tbaa !5
%57 = and i32 %55, %56
%58 = tail call i32 @il_write_targ_mem(ptr noundef nonnull %0, i64 noundef %52, i32 noundef %57) #2
%59 = load i32, ptr @IL49_SCD_INTERRUPT_MASK, align 4, !tbaa !5
%60 = tail call i32 @il_set_bits_prph(ptr noundef nonnull %0, i32 noundef %59, i32 noundef %30) #2
%61 = load ptr, ptr %33, align 8, !tbaa !15
%62 = getelementptr inbounds %struct.TYPE_6__, ptr %61, i64 %35
%63 = tail call i32 @il4965_tx_queue_set_status(ptr noundef nonnull %0, ptr noundef %62, i32 noundef %2, i32 noundef 1) #2
%64 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %65
65: ; preds = %21, %25, %15
%66 = phi i32 [ %20, %15 ], [ 0, %25 ], [ %23, %21 ]
ret i32 %66
}
declare i32 @IL_WARN(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUILD_RAxTID(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il4965_sta_tx_modify_enable_tid(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @il4965_tx_queue_stop_scheduler(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il4965_tx_queue_set_q2ratid(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il_set_bits_prph(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il4965_set_wr_ptrs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il_write_targ_mem(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IL49_SCD_CONTEXT_QUEUE_OFFSET(i32 noundef) local_unnamed_addr #1
declare i32 @il4965_tx_queue_set_status(ptr noundef, ptr noundef, 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 24}
!10 = !{!"il_priv", !6, i64 0, !11, i64 8, !12, i64 16, !11, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_4__", !6, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_6__", !18, i64 0}
!18 = !{!"TYPE_5__", !6, i64 0, !6, i64 4}
!19 = !{!17, !6, i64 4}
!20 = !{!10, !12, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-mac.c_il4965_txq_agg_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-mac.c_il4965_txq_agg_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, i32 }
@IL49_FIRST_AMPDU_QUEUE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"queue number out of range: %d, must be %d to %d\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUECHAIN_SEL = common local_unnamed_addr global i32 0, align 4
@SCD_WIN_SIZE = common local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUE_CTX_REG1_WIN_SIZE_POS = common local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUE_CTX_REG1_WIN_SIZE_MSK = common local_unnamed_addr global i32 0, align 4
@SCD_FRAME_LIMIT = common local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_POS = common local_unnamed_addr global i32 0, align 4
@IL49_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_MSK = common local_unnamed_addr global i32 0, align 4
@IL49_SCD_INTERRUPT_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @il4965_txq_agg_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @il4965_txq_agg_enable(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr @IL49_FIRST_AMPDU_QUEUE, align 4, !tbaa !6
%8 = icmp sle i32 %7, %1
%9 = getelementptr inbounds i8, ptr %0, i64 24
%10 = load ptr, ptr %9, align 8, !tbaa !10
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = add nsw i32 %11, %7
%13 = icmp sgt i32 %12, %1
%14 = select i1 %8, i1 %13, i1 false
br i1 %14, label %21, label %15
15: ; preds = %6
%16 = add i32 %7, -1
%17 = add i32 %16, %11
%18 = tail call i32 @IL_WARN(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %7, i32 noundef %17) #2
%19 = load i32, ptr @EINVAL, align 4, !tbaa !6
%20 = sub nsw i32 0, %19
br label %66
21: ; preds = %6
%22 = tail call i32 @BUILD_RAxTID(i32 noundef %3, i32 noundef %4) #2
%23 = tail call i32 @il4965_sta_tx_modify_enable_tid(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %66
25: ; preds = %21
%26 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %0, i64 noundef undef) #2
%27 = tail call i32 @il4965_tx_queue_stop_scheduler(ptr noundef nonnull %0, i32 noundef %1) #2
%28 = tail call i32 @il4965_tx_queue_set_q2ratid(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %1) #2
%29 = load i32, ptr @IL49_SCD_QUEUECHAIN_SEL, align 4, !tbaa !6
%30 = shl nuw i32 1, %1
%31 = tail call i32 @il_set_bits_prph(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %30) #2
%32 = and i32 %5, 255
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !16
%35 = sext i32 %1 to i64
%36 = getelementptr inbounds %struct.TYPE_6__, ptr %34, i64 %35
%37 = insertelement <2 x i32> poison, i32 %32, i64 0
%38 = shufflevector <2 x i32> %37, <2 x i32> poison, <2 x i32> zeroinitializer
store <2 x i32> %38, ptr %36, align 4, !tbaa !6
%39 = tail call i32 @il4965_set_wr_ptrs(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %5) #2
%40 = getelementptr inbounds i8, ptr %0, i64 16
%41 = load i64, ptr %40, align 8, !tbaa !17
%42 = tail call i64 @IL49_SCD_CONTEXT_QUEUE_OFFSET(i32 noundef %1) #2
%43 = add nsw i64 %42, %41
%44 = load i32, ptr @SCD_WIN_SIZE, align 4, !tbaa !6
%45 = load i32, ptr @IL49_SCD_QUEUE_CTX_REG1_WIN_SIZE_POS, align 4, !tbaa !6
%46 = shl i32 %44, %45
%47 = load i32, ptr @IL49_SCD_QUEUE_CTX_REG1_WIN_SIZE_MSK, align 4, !tbaa !6
%48 = and i32 %46, %47
%49 = tail call i32 @il_write_targ_mem(ptr noundef nonnull %0, i64 noundef %43, i32 noundef %48) #2
%50 = load i64, ptr %40, align 8, !tbaa !17
%51 = tail call i64 @IL49_SCD_CONTEXT_QUEUE_OFFSET(i32 noundef %1) #2
%52 = add i64 %50, 4
%53 = add i64 %52, %51
%54 = load i32, ptr @SCD_FRAME_LIMIT, align 4, !tbaa !6
%55 = load i32, ptr @IL49_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_POS, align 4, !tbaa !6
%56 = shl i32 %54, %55
%57 = load i32, ptr @IL49_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_MSK, align 4, !tbaa !6
%58 = and i32 %56, %57
%59 = tail call i32 @il_write_targ_mem(ptr noundef nonnull %0, i64 noundef %53, i32 noundef %58) #2
%60 = load i32, ptr @IL49_SCD_INTERRUPT_MASK, align 4, !tbaa !6
%61 = tail call i32 @il_set_bits_prph(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %30) #2
%62 = load ptr, ptr %33, align 8, !tbaa !16
%63 = getelementptr inbounds %struct.TYPE_6__, ptr %62, i64 %35
%64 = tail call i32 @il4965_tx_queue_set_status(ptr noundef nonnull %0, ptr noundef %63, i32 noundef %2, i32 noundef 1) #2
%65 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %66
66: ; preds = %21, %25, %15
%67 = phi i32 [ %20, %15 ], [ 0, %25 ], [ %23, %21 ]
ret i32 %67
}
declare i32 @IL_WARN(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BUILD_RAxTID(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il4965_sta_tx_modify_enable_tid(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @il4965_tx_queue_stop_scheduler(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il4965_tx_queue_set_q2ratid(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il_set_bits_prph(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il4965_set_wr_ptrs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il_write_targ_mem(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IL49_SCD_CONTEXT_QUEUE_OFFSET(i32 noundef) local_unnamed_addr #1
declare i32 @il4965_tx_queue_set_status(ptr noundef, ptr noundef, 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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 24}
!11 = !{!"il_priv", !7, i64 0, !12, i64 8, !13, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_4__", !7, i64 0}
!16 = !{!11, !12, i64 8}
!17 = !{!11, !13, i64 16}
| fastsocket_kernel_drivers_net_wireless_iwlegacy_extr_4965-mac.c_il4965_txq_agg_enable |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_dpt_i2o.c_adpt_i2o_install_device.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_dpt_i2o.c_adpt_i2o_install_device.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i2o_device = type { ptr, ptr, ptr, ptr, ptr }
@adpt_configuration_lock = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @adpt_i2o_install_device], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @adpt_i2o_install_device(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @mutex_lock(ptr noundef nonnull @adpt_configuration_lock) #2
%4 = getelementptr inbounds %struct.i2o_device, ptr %1, i64 0, i32 4
store ptr %0, ptr %4, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.i2o_device, ptr %1, i64 0, i32 3
store ptr null, ptr %5, align 8, !tbaa !10
%6 = load ptr, ptr %0, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.i2o_device, ptr %1, i64 0, i32 2
store ptr %6, ptr %7, align 8, !tbaa !13
%8 = getelementptr inbounds %struct.i2o_device, ptr %1, i64 0, i32 1
store ptr null, ptr %8, align 8, !tbaa !14
%9 = icmp eq ptr %6, null
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = getelementptr inbounds %struct.i2o_device, ptr %6, i64 0, i32 1
store ptr %1, ptr %11, align 8, !tbaa !14
br label %12
12: ; preds = %10, %2
store ptr %1, ptr %0, align 8, !tbaa !11
%13 = load ptr, ptr %1, align 8, !tbaa !15
store i64 0, ptr %13, align 8, !tbaa !16
%14 = tail call i32 @mutex_unlock(ptr noundef nonnull @adpt_configuration_lock) #2
ret i32 0
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 32}
!6 = !{!"i2o_device", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 24}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_3__", !7, i64 0}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_dpt_i2o.c_adpt_i2o_install_device.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_dpt_i2o.c_adpt_i2o_install_device.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@adpt_configuration_lock = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @adpt_i2o_install_device], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @adpt_i2o_install_device(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @mutex_lock(ptr noundef nonnull @adpt_configuration_lock) #2
%4 = getelementptr inbounds i8, ptr %1, i64 32
store ptr %0, ptr %4, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 24
store ptr null, ptr %5, align 8, !tbaa !11
%6 = load ptr, ptr %0, align 8, !tbaa !12
%7 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %6, ptr %7, align 8, !tbaa !14
%8 = getelementptr inbounds i8, ptr %1, i64 8
store ptr null, ptr %8, align 8, !tbaa !15
%9 = icmp eq ptr %6, null
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %6, i64 8
store ptr %1, ptr %11, align 8, !tbaa !15
br label %12
12: ; preds = %10, %2
store ptr %1, ptr %0, align 8, !tbaa !12
%13 = load ptr, ptr %1, align 8, !tbaa !16
store i64 0, ptr %13, align 8, !tbaa !17
%14 = tail call i32 @mutex_unlock(ptr noundef nonnull @adpt_configuration_lock) #2
ret i32 0
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 32}
!7 = !{!"i2o_device", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 24}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_3__", !8, i64 0}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
| fastsocket_kernel_drivers_scsi_extr_dpt_i2o.c_adpt_i2o_install_device |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dspl_y_adr_v6.c'
source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dspl_y_adr_v6.c"
target datalayout = "e-m:e-p270:32:32-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 @s5p_mfc_get_dspl_y_adr_v6], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s5p_mfc_get_dspl_y_adr_v6(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = tail call i32 @readl(i32 noundef %3) #2
ret i32 %4
}
declare i32 @readl(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 = !{!"s5p_mfc_dev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dspl_y_adr_v6.c'
source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dspl_y_adr_v6.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 @s5p_mfc_get_dspl_y_adr_v6], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @s5p_mfc_get_dspl_y_adr_v6(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = tail call i32 @readl(i32 noundef %3) #2
ret i32 %4
}
declare i32 @readl(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 = !{!"s5p_mfc_dev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_media_platform_s5p-mfc_extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dspl_y_adr_v6 |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_addrconf.c___ipv6_ifa_notify.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_addrconf.c___ipv6_ifa_notify.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { i32 }
%struct.inet6_ifaddr = type { ptr, i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__ipv6_ifa_notify], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__ipv6_ifa_notify(i32 noundef %0, ptr noundef %1) #0 {
%3 = icmp eq i32 %0, 0
%4 = select i1 %3, i32 128, i32 %0
%5 = tail call i32 @inet6_ifa_notify(i32 noundef %4, ptr noundef %1) #2
switch i32 %0, label %40 [
i32 128, label %6
i32 129, label %20
]
6: ; preds = %2
%7 = load ptr, ptr %1, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %6
%12 = tail call i32 @ip6_ins_rt(ptr noundef nonnull %7) #2
br label %13
13: ; preds = %11, %6
%14 = getelementptr inbounds %struct.inet6_ifaddr, ptr %1, i64 0, i32 2
%15 = load ptr, ptr %14, align 8, !tbaa !14
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = icmp eq i32 %16, 0
br i1 %17, label %40, label %18
18: ; preds = %13
%19 = tail call i32 @addrconf_join_anycast(ptr noundef nonnull %1) #2
br label %40
20: ; preds = %2
%21 = getelementptr inbounds %struct.inet6_ifaddr, ptr %1, i64 0, i32 2
%22 = load ptr, ptr %21, align 8, !tbaa !14
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = icmp eq i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %20
%26 = tail call i32 @addrconf_leave_anycast(ptr noundef nonnull %1) #2
%27 = load ptr, ptr %21, align 8, !tbaa !14
br label %28
28: ; preds = %25, %20
%29 = phi ptr [ %27, %25 ], [ %22, %20 ]
%30 = getelementptr inbounds %struct.inet6_ifaddr, ptr %1, i64 0, i32 1
%31 = tail call i32 @addrconf_leave_solict(ptr noundef %29, ptr noundef nonnull %30) #2
%32 = load ptr, ptr %1, align 8, !tbaa !5
%33 = tail call i32 @dst_hold(ptr noundef %32) #2
%34 = load ptr, ptr %1, align 8, !tbaa !5
%35 = tail call i32 @ip6_del_rt(ptr noundef %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %28
%38 = load ptr, ptr %1, align 8, !tbaa !5
%39 = tail call i32 @dst_free(ptr noundef %38) #2
br label %40
40: ; preds = %28, %37, %13, %18, %2
ret void
}
declare i32 @inet6_ifa_notify(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ip6_ins_rt(ptr noundef) local_unnamed_addr #1
declare i32 @addrconf_join_anycast(ptr noundef) local_unnamed_addr #1
declare i32 @addrconf_leave_anycast(ptr noundef) local_unnamed_addr #1
declare i32 @addrconf_leave_solict(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dst_hold(ptr noundef) local_unnamed_addr #1
declare i32 @ip6_del_rt(ptr noundef) local_unnamed_addr #1
declare i32 @dst_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"inet6_ifaddr", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"TYPE_8__", !13, i64 0, !10, i64 4}
!13 = !{!"TYPE_7__", !10, i64 0}
!14 = !{!6, !7, i64 16}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_9__", !17, i64 0}
!17 = !{!"TYPE_6__", !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_addrconf.c___ipv6_ifa_notify.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_addrconf.c___ipv6_ifa_notify.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 @__ipv6_ifa_notify], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__ipv6_ifa_notify(i32 noundef %0, ptr noundef %1) #0 {
%3 = icmp eq i32 %0, 0
%4 = select i1 %3, i32 128, i32 %0
%5 = tail call i32 @inet6_ifa_notify(i32 noundef %4, ptr noundef %1) #2
switch i32 %0, label %40 [
i32 128, label %6
i32 129, label %20
]
6: ; preds = %2
%7 = load ptr, ptr %1, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %7, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %6
%12 = tail call i32 @ip6_ins_rt(ptr noundef nonnull %7) #2
br label %13
13: ; preds = %11, %6
%14 = getelementptr inbounds i8, ptr %1, i64 16
%15 = load ptr, ptr %14, align 8, !tbaa !15
%16 = load i32, ptr %15, align 4, !tbaa !16
%17 = icmp eq i32 %16, 0
br i1 %17, label %40, label %18
18: ; preds = %13
%19 = tail call i32 @addrconf_join_anycast(ptr noundef nonnull %1) #2
br label %40
20: ; preds = %2
%21 = getelementptr inbounds i8, ptr %1, i64 16
%22 = load ptr, ptr %21, align 8, !tbaa !15
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = icmp eq i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %20
%26 = tail call i32 @addrconf_leave_anycast(ptr noundef nonnull %1) #2
%27 = load ptr, ptr %21, align 8, !tbaa !15
br label %28
28: ; preds = %25, %20
%29 = phi ptr [ %27, %25 ], [ %22, %20 ]
%30 = getelementptr inbounds i8, ptr %1, i64 8
%31 = tail call i32 @addrconf_leave_solict(ptr noundef %29, ptr noundef nonnull %30) #2
%32 = load ptr, ptr %1, align 8, !tbaa !6
%33 = tail call i32 @dst_hold(ptr noundef %32) #2
%34 = load ptr, ptr %1, align 8, !tbaa !6
%35 = tail call i32 @ip6_del_rt(ptr noundef %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %28
%38 = load ptr, ptr %1, align 8, !tbaa !6
%39 = tail call i32 @dst_free(ptr noundef %38) #2
br label %40
40: ; preds = %28, %37, %13, %18, %2
ret void
}
declare i32 @inet6_ifa_notify(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ip6_ins_rt(ptr noundef) local_unnamed_addr #1
declare i32 @addrconf_join_anycast(ptr noundef) local_unnamed_addr #1
declare i32 @addrconf_leave_anycast(ptr noundef) local_unnamed_addr #1
declare i32 @addrconf_leave_solict(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dst_hold(ptr noundef) local_unnamed_addr #1
declare i32 @ip6_del_rt(ptr noundef) local_unnamed_addr #1
declare i32 @dst_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"inet6_ifaddr", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !11, i64 4}
!13 = !{!"TYPE_8__", !14, i64 0, !11, i64 4}
!14 = !{!"TYPE_7__", !11, i64 0}
!15 = !{!7, !8, i64 16}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_9__", !18, i64 0}
!18 = !{!"TYPE_6__", !11, i64 0}
| fastsocket_kernel_net_ipv6_extr_addrconf.c___ipv6_ifa_notify |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/go7007/extr_wis-saa7113.c_wis_saa7113_command.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/go7007/extr_wis-saa7113.c_wis_saa7113_command.c"
target datalayout = "e-m:e-p270:32:32-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.v4l2_queryctrl = type { i32, i32, i32, i32, i32, i32, ptr, i32 }
%struct.v4l2_control = type { i32, i32 }
%struct.wis_saa7113 = type { i32, i32, i32, i32, i32 }
@V4L2_STD_NTSC = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_STD_PAL = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_STD_SECAM = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_CTRL_TYPE_INTEGER = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [11 x i8] c"Brightness\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Contrast\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Saturation\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"Hue\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @wis_saa7113_command], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @wis_saa7113_command(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 {
%4 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
switch i32 %1, label %136 [
i32 129, label %5
i32 128, label %13
i32 131, label %35
i32 130, label %66
i32 132, label %121
]
5: ; preds = %3
%6 = load i32, ptr %2, align 4, !tbaa !5
%7 = or i32 %6, 192
%8 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef 2, i32 noundef %7) #2
%9 = load i32, ptr %2, align 4, !tbaa !5
%10 = icmp slt i32 %9, 6
%11 = select i1 %10, i32 64, i32 128
%12 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef 9, i32 noundef %11) #2
br label %136
13: ; preds = %3
%14 = load i32, ptr %2, align 4, !tbaa !5
store i32 %14, ptr %4, align 4, !tbaa !9
%15 = load i32, ptr @V4L2_STD_NTSC, align 4, !tbaa !5
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %13
%19 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 14, i32 noundef 1) #2
%20 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 16, i32 noundef 64) #2
br label %136
21: ; preds = %13
%22 = load i32, ptr @V4L2_STD_PAL, align 4, !tbaa !5
%23 = and i32 %22, %14
%24 = icmp eq i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %21
%26 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 14, i32 noundef 1) #2
%27 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 16, i32 noundef 72) #2
br label %136
28: ; preds = %21
%29 = load i32, ptr @V4L2_STD_SECAM, align 4, !tbaa !5
%30 = mul nsw i32 %29, %14
%31 = icmp eq i32 %30, 0
br i1 %31, label %136, label %32
32: ; preds = %28
%33 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 14, i32 noundef 80) #2
%34 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 16, i32 noundef 72) #2
br label %136
35: ; preds = %3
%36 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 7
%37 = load i32, ptr %36, align 8, !tbaa !11
switch i32 %37, label %136 [
i32 136, label %38
i32 135, label %45
i32 133, label %52
i32 134, label %59
]
38: ; preds = %35
%39 = load ptr, ptr @V4L2_CTRL_TYPE_INTEGER, align 8, !tbaa !14
%40 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 6
store ptr %39, ptr %40, align 8, !tbaa !15
%41 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 5
%42 = load i32, ptr %41, align 4, !tbaa !16
%43 = tail call i32 @strncpy(i32 noundef %42, ptr noundef nonnull @.str, i32 noundef 4) #2
store <4 x i32> <i32 0, i32 255, i32 1, i32 128>, ptr %2, align 8, !tbaa !5
%44 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 4
store i32 0, ptr %44, align 8, !tbaa !17
br label %136
45: ; preds = %35
%46 = load ptr, ptr @V4L2_CTRL_TYPE_INTEGER, align 8, !tbaa !14
%47 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 6
store ptr %46, ptr %47, align 8, !tbaa !15
%48 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 5
%49 = load i32, ptr %48, align 4, !tbaa !16
%50 = tail call i32 @strncpy(i32 noundef %49, ptr noundef nonnull @.str.1, i32 noundef 4) #2
store <4 x i32> <i32 0, i32 127, i32 1, i32 71>, ptr %2, align 8, !tbaa !5
%51 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 4
store i32 0, ptr %51, align 8, !tbaa !17
br label %136
52: ; preds = %35
%53 = load ptr, ptr @V4L2_CTRL_TYPE_INTEGER, align 8, !tbaa !14
%54 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 6
store ptr %53, ptr %54, align 8, !tbaa !15
%55 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 5
%56 = load i32, ptr %55, align 4, !tbaa !16
%57 = tail call i32 @strncpy(i32 noundef %56, ptr noundef nonnull @.str.2, i32 noundef 4) #2
store <4 x i32> <i32 0, i32 127, i32 1, i32 64>, ptr %2, align 8, !tbaa !5
%58 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 4
store i32 0, ptr %58, align 8, !tbaa !17
br label %136
59: ; preds = %35
%60 = load ptr, ptr @V4L2_CTRL_TYPE_INTEGER, align 8, !tbaa !14
%61 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 6
store ptr %60, ptr %61, align 8, !tbaa !15
%62 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 5
%63 = load i32, ptr %62, align 4, !tbaa !16
%64 = tail call i32 @strncpy(i32 noundef %63, ptr noundef nonnull @.str.3, i32 noundef 4) #2
store <4 x i32> <i32 -128, i32 127, i32 1, i32 0>, ptr %2, align 8, !tbaa !5
%65 = getelementptr inbounds %struct.v4l2_queryctrl, ptr %2, i64 0, i32 4
store i32 0, ptr %65, align 8, !tbaa !17
br label %136
66: ; preds = %3
%67 = getelementptr inbounds %struct.v4l2_control, ptr %2, i64 0, i32 1
%68 = load i32, ptr %67, align 4, !tbaa !18
switch i32 %68, label %136 [
i32 136, label %69
i32 135, label %82
i32 133, label %95
i32 134, label %108
]
69: ; preds = %66
%70 = load i32, ptr %2, align 4, !tbaa !20
%71 = icmp sgt i32 %70, 255
br i1 %71, label %72, label %74
72: ; preds = %69
%73 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 1
store i32 255, ptr %73, align 4, !tbaa !21
br label %79
74: ; preds = %69
%75 = icmp slt i32 %70, 0
%76 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 1
br i1 %75, label %77, label %78
77: ; preds = %74
store i32 0, ptr %76, align 4, !tbaa !21
br label %79
78: ; preds = %74
store i32 %70, ptr %76, align 4, !tbaa !21
br label %79
79: ; preds = %77, %78, %72
%80 = phi i32 [ 0, %77 ], [ %70, %78 ], [ 255, %72 ]
%81 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 10, i32 noundef %80) #2
br label %136
82: ; preds = %66
%83 = load i32, ptr %2, align 4, !tbaa !20
%84 = icmp sgt i32 %83, 127
br i1 %84, label %85, label %87
85: ; preds = %82
%86 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 2
store i32 127, ptr %86, align 4, !tbaa !22
br label %92
87: ; preds = %82
%88 = icmp slt i32 %83, 0
%89 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 2
br i1 %88, label %90, label %91
90: ; preds = %87
store i32 0, ptr %89, align 4, !tbaa !22
br label %92
91: ; preds = %87
store i32 %83, ptr %89, align 4, !tbaa !22
br label %92
92: ; preds = %90, %91, %85
%93 = phi i32 [ 0, %90 ], [ %83, %91 ], [ 127, %85 ]
%94 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 11, i32 noundef %93) #2
br label %136
95: ; preds = %66
%96 = load i32, ptr %2, align 4, !tbaa !20
%97 = icmp sgt i32 %96, 127
br i1 %97, label %98, label %100
98: ; preds = %95
%99 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 3
store i32 127, ptr %99, align 4, !tbaa !23
br label %105
100: ; preds = %95
%101 = icmp slt i32 %96, 0
%102 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 3
br i1 %101, label %103, label %104
103: ; preds = %100
store i32 0, ptr %102, align 4, !tbaa !23
br label %105
104: ; preds = %100
store i32 %96, ptr %102, align 4, !tbaa !23
br label %105
105: ; preds = %103, %104, %98
%106 = phi i32 [ 0, %103 ], [ %96, %104 ], [ 127, %98 ]
%107 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 12, i32 noundef %106) #2
br label %136
108: ; preds = %66
%109 = load i32, ptr %2, align 4, !tbaa !20
%110 = icmp sgt i32 %109, 127
br i1 %110, label %111, label %113
111: ; preds = %108
%112 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 4
store i32 127, ptr %112, align 4, !tbaa !24
br label %118
113: ; preds = %108
%114 = icmp slt i32 %109, -128
%115 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 4
br i1 %114, label %116, label %117
116: ; preds = %113
store i32 -128, ptr %115, align 4, !tbaa !24
br label %118
117: ; preds = %113
store i32 %109, ptr %115, align 4, !tbaa !24
br label %118
118: ; preds = %116, %117, %111
%119 = phi i32 [ -128, %116 ], [ %109, %117 ], [ 127, %111 ]
%120 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 13, i32 noundef %119) #2
br label %136
121: ; preds = %3
%122 = getelementptr inbounds %struct.v4l2_control, ptr %2, i64 0, i32 1
%123 = load i32, ptr %122, align 4, !tbaa !18
switch i32 %123, label %136 [
i32 136, label %124
i32 135, label %127
i32 133, label %130
i32 134, label %133
]
124: ; preds = %121
%125 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 1
%126 = load i32, ptr %125, align 4, !tbaa !21
store i32 %126, ptr %2, align 4, !tbaa !20
br label %136
127: ; preds = %121
%128 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 2
%129 = load i32, ptr %128, align 4, !tbaa !22
store i32 %129, ptr %2, align 4, !tbaa !20
br label %136
130: ; preds = %121
%131 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 3
%132 = load i32, ptr %131, align 4, !tbaa !23
store i32 %132, ptr %2, align 4, !tbaa !20
br label %136
133: ; preds = %121
%134 = getelementptr inbounds %struct.wis_saa7113, ptr %4, i64 0, i32 4
%135 = load i32, ptr %134, align 4, !tbaa !24
store i32 %135, ptr %2, align 4, !tbaa !20
br label %136
136: ; preds = %124, %127, %130, %133, %121, %79, %92, %105, %118, %66, %38, %45, %52, %59, %35, %18, %28, %32, %25, %3, %5
ret i32 0
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strncpy(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, !6, i64 0}
!10 = !{!"wis_saa7113", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16}
!11 = !{!12, !6, i64 32}
!12 = !{!"v4l2_queryctrl", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !13, i64 24, !6, i64 32}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 24}
!16 = !{!12, !6, i64 20}
!17 = !{!12, !6, i64 16}
!18 = !{!19, !6, i64 4}
!19 = !{!"v4l2_control", !6, i64 0, !6, i64 4}
!20 = !{!19, !6, i64 0}
!21 = !{!10, !6, i64 4}
!22 = !{!10, !6, i64 8}
!23 = !{!10, !6, i64 12}
!24 = !{!10, !6, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/go7007/extr_wis-saa7113.c_wis_saa7113_command.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/go7007/extr_wis-saa7113.c_wis_saa7113_command.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@V4L2_STD_NTSC = common local_unnamed_addr global i32 0, align 4
@V4L2_STD_PAL = common local_unnamed_addr global i32 0, align 4
@V4L2_STD_SECAM = common local_unnamed_addr global i32 0, align 4
@V4L2_CTRL_TYPE_INTEGER = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [11 x i8] c"Brightness\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Contrast\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Saturation\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"Hue\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @wis_saa7113_command], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @wis_saa7113_command(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 {
%4 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
switch i32 %1, label %136 [
i32 129, label %5
i32 128, label %13
i32 131, label %35
i32 130, label %66
i32 132, label %121
]
5: ; preds = %3
%6 = load i32, ptr %2, align 4, !tbaa !6
%7 = or i32 %6, 192
%8 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef 2, i32 noundef %7) #2
%9 = load i32, ptr %2, align 4, !tbaa !6
%10 = icmp slt i32 %9, 6
%11 = select i1 %10, i32 64, i32 128
%12 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef 9, i32 noundef %11) #2
br label %136
13: ; preds = %3
%14 = load i32, ptr %2, align 4, !tbaa !6
store i32 %14, ptr %4, align 4, !tbaa !10
%15 = load i32, ptr @V4L2_STD_NTSC, align 4, !tbaa !6
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %13
%19 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 14, i32 noundef 1) #2
%20 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 16, i32 noundef 64) #2
br label %136
21: ; preds = %13
%22 = load i32, ptr @V4L2_STD_PAL, align 4, !tbaa !6
%23 = and i32 %22, %14
%24 = icmp eq i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %21
%26 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 14, i32 noundef 1) #2
%27 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 16, i32 noundef 72) #2
br label %136
28: ; preds = %21
%29 = load i32, ptr @V4L2_STD_SECAM, align 4, !tbaa !6
%30 = mul nsw i32 %29, %14
%31 = icmp eq i32 %30, 0
br i1 %31, label %136, label %32
32: ; preds = %28
%33 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 14, i32 noundef 80) #2
%34 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 16, i32 noundef 72) #2
br label %136
35: ; preds = %3
%36 = getelementptr inbounds i8, ptr %2, i64 32
%37 = load i32, ptr %36, align 8, !tbaa !12
switch i32 %37, label %136 [
i32 136, label %38
i32 135, label %45
i32 133, label %52
i32 134, label %59
]
38: ; preds = %35
%39 = load ptr, ptr @V4L2_CTRL_TYPE_INTEGER, align 8, !tbaa !15
%40 = getelementptr inbounds i8, ptr %2, i64 24
store ptr %39, ptr %40, align 8, !tbaa !16
%41 = getelementptr inbounds i8, ptr %2, i64 20
%42 = load i32, ptr %41, align 4, !tbaa !17
%43 = tail call i32 @strncpy(i32 noundef %42, ptr noundef nonnull @.str, i32 noundef 4) #2
store <4 x i32> <i32 0, i32 255, i32 1, i32 128>, ptr %2, align 8, !tbaa !6
%44 = getelementptr inbounds i8, ptr %2, i64 16
store i32 0, ptr %44, align 8, !tbaa !18
br label %136
45: ; preds = %35
%46 = load ptr, ptr @V4L2_CTRL_TYPE_INTEGER, align 8, !tbaa !15
%47 = getelementptr inbounds i8, ptr %2, i64 24
store ptr %46, ptr %47, align 8, !tbaa !16
%48 = getelementptr inbounds i8, ptr %2, i64 20
%49 = load i32, ptr %48, align 4, !tbaa !17
%50 = tail call i32 @strncpy(i32 noundef %49, ptr noundef nonnull @.str.1, i32 noundef 4) #2
store <4 x i32> <i32 0, i32 127, i32 1, i32 71>, ptr %2, align 8, !tbaa !6
%51 = getelementptr inbounds i8, ptr %2, i64 16
store i32 0, ptr %51, align 8, !tbaa !18
br label %136
52: ; preds = %35
%53 = load ptr, ptr @V4L2_CTRL_TYPE_INTEGER, align 8, !tbaa !15
%54 = getelementptr inbounds i8, ptr %2, i64 24
store ptr %53, ptr %54, align 8, !tbaa !16
%55 = getelementptr inbounds i8, ptr %2, i64 20
%56 = load i32, ptr %55, align 4, !tbaa !17
%57 = tail call i32 @strncpy(i32 noundef %56, ptr noundef nonnull @.str.2, i32 noundef 4) #2
store <4 x i32> <i32 0, i32 127, i32 1, i32 64>, ptr %2, align 8, !tbaa !6
%58 = getelementptr inbounds i8, ptr %2, i64 16
store i32 0, ptr %58, align 8, !tbaa !18
br label %136
59: ; preds = %35
%60 = load ptr, ptr @V4L2_CTRL_TYPE_INTEGER, align 8, !tbaa !15
%61 = getelementptr inbounds i8, ptr %2, i64 24
store ptr %60, ptr %61, align 8, !tbaa !16
%62 = getelementptr inbounds i8, ptr %2, i64 20
%63 = load i32, ptr %62, align 4, !tbaa !17
%64 = tail call i32 @strncpy(i32 noundef %63, ptr noundef nonnull @.str.3, i32 noundef 4) #2
store <4 x i32> <i32 -128, i32 127, i32 1, i32 0>, ptr %2, align 8, !tbaa !6
%65 = getelementptr inbounds i8, ptr %2, i64 16
store i32 0, ptr %65, align 8, !tbaa !18
br label %136
66: ; preds = %3
%67 = getelementptr inbounds i8, ptr %2, i64 4
%68 = load i32, ptr %67, align 4, !tbaa !19
switch i32 %68, label %136 [
i32 136, label %69
i32 135, label %82
i32 133, label %95
i32 134, label %108
]
69: ; preds = %66
%70 = load i32, ptr %2, align 4, !tbaa !21
%71 = icmp sgt i32 %70, 255
br i1 %71, label %72, label %74
72: ; preds = %69
%73 = getelementptr inbounds i8, ptr %4, i64 4
store i32 255, ptr %73, align 4, !tbaa !22
br label %79
74: ; preds = %69
%75 = icmp slt i32 %70, 0
%76 = getelementptr inbounds i8, ptr %4, i64 4
br i1 %75, label %77, label %78
77: ; preds = %74
store i32 0, ptr %76, align 4, !tbaa !22
br label %79
78: ; preds = %74
store i32 %70, ptr %76, align 4, !tbaa !22
br label %79
79: ; preds = %77, %78, %72
%80 = phi i32 [ 0, %77 ], [ %70, %78 ], [ 255, %72 ]
%81 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 10, i32 noundef %80) #2
br label %136
82: ; preds = %66
%83 = load i32, ptr %2, align 4, !tbaa !21
%84 = icmp sgt i32 %83, 127
br i1 %84, label %85, label %87
85: ; preds = %82
%86 = getelementptr inbounds i8, ptr %4, i64 8
store i32 127, ptr %86, align 4, !tbaa !23
br label %92
87: ; preds = %82
%88 = icmp slt i32 %83, 0
%89 = getelementptr inbounds i8, ptr %4, i64 8
br i1 %88, label %90, label %91
90: ; preds = %87
store i32 0, ptr %89, align 4, !tbaa !23
br label %92
91: ; preds = %87
store i32 %83, ptr %89, align 4, !tbaa !23
br label %92
92: ; preds = %90, %91, %85
%93 = phi i32 [ 0, %90 ], [ %83, %91 ], [ 127, %85 ]
%94 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 11, i32 noundef %93) #2
br label %136
95: ; preds = %66
%96 = load i32, ptr %2, align 4, !tbaa !21
%97 = icmp sgt i32 %96, 127
br i1 %97, label %98, label %100
98: ; preds = %95
%99 = getelementptr inbounds i8, ptr %4, i64 12
store i32 127, ptr %99, align 4, !tbaa !24
br label %105
100: ; preds = %95
%101 = icmp slt i32 %96, 0
%102 = getelementptr inbounds i8, ptr %4, i64 12
br i1 %101, label %103, label %104
103: ; preds = %100
store i32 0, ptr %102, align 4, !tbaa !24
br label %105
104: ; preds = %100
store i32 %96, ptr %102, align 4, !tbaa !24
br label %105
105: ; preds = %103, %104, %98
%106 = phi i32 [ 0, %103 ], [ %96, %104 ], [ 127, %98 ]
%107 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 12, i32 noundef %106) #2
br label %136
108: ; preds = %66
%109 = load i32, ptr %2, align 4, !tbaa !21
%110 = icmp sgt i32 %109, 127
br i1 %110, label %111, label %113
111: ; preds = %108
%112 = getelementptr inbounds i8, ptr %4, i64 16
store i32 127, ptr %112, align 4, !tbaa !25
br label %118
113: ; preds = %108
%114 = icmp slt i32 %109, -128
%115 = getelementptr inbounds i8, ptr %4, i64 16
br i1 %114, label %116, label %117
116: ; preds = %113
store i32 -128, ptr %115, align 4, !tbaa !25
br label %118
117: ; preds = %113
store i32 %109, ptr %115, align 4, !tbaa !25
br label %118
118: ; preds = %116, %117, %111
%119 = phi i32 [ -128, %116 ], [ %109, %117 ], [ 127, %111 ]
%120 = tail call i32 @write_reg(ptr noundef %0, i32 noundef 13, i32 noundef %119) #2
br label %136
121: ; preds = %3
%122 = getelementptr inbounds i8, ptr %2, i64 4
%123 = load i32, ptr %122, align 4, !tbaa !19
switch i32 %123, label %136 [
i32 136, label %124
i32 135, label %127
i32 133, label %130
i32 134, label %133
]
124: ; preds = %121
%125 = getelementptr inbounds i8, ptr %4, i64 4
%126 = load i32, ptr %125, align 4, !tbaa !22
store i32 %126, ptr %2, align 4, !tbaa !21
br label %136
127: ; preds = %121
%128 = getelementptr inbounds i8, ptr %4, i64 8
%129 = load i32, ptr %128, align 4, !tbaa !23
store i32 %129, ptr %2, align 4, !tbaa !21
br label %136
130: ; preds = %121
%131 = getelementptr inbounds i8, ptr %4, i64 12
%132 = load i32, ptr %131, align 4, !tbaa !24
store i32 %132, ptr %2, align 4, !tbaa !21
br label %136
133: ; preds = %121
%134 = getelementptr inbounds i8, ptr %4, i64 16
%135 = load i32, ptr %134, align 4, !tbaa !25
store i32 %135, ptr %2, align 4, !tbaa !21
br label %136
136: ; preds = %124, %127, %130, %133, %121, %79, %92, %105, %118, %66, %38, %45, %52, %59, %35, %18, %28, %32, %25, %3, %5
ret i32 0
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strncpy(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, !7, i64 0}
!11 = !{!"wis_saa7113", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!12 = !{!13, !7, i64 32}
!13 = !{!"v4l2_queryctrl", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !14, i64 24, !7, i64 32}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!13, !14, i64 24}
!17 = !{!13, !7, i64 20}
!18 = !{!13, !7, i64 16}
!19 = !{!20, !7, i64 4}
!20 = !{!"v4l2_control", !7, i64 0, !7, i64 4}
!21 = !{!20, !7, i64 0}
!22 = !{!11, !7, i64 4}
!23 = !{!11, !7, i64 8}
!24 = !{!11, !7, i64 12}
!25 = !{!11, !7, i64 16}
| fastsocket_kernel_drivers_staging_go7007_extr_wis-saa7113.c_wis_saa7113_command |
; ModuleID = 'AnghaBench/linux/drivers/block/aoe/extr_aoecmd.c_aoe_ktstop.c'
source_filename = "AnghaBench/linux/drivers/block/aoe/extr_aoecmd.c_aoe_ktstop.c"
target datalayout = "e-m:e-p270:32:32-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.ktstate = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @aoe_ktstop(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.ktstate, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @kthread_stop(i32 noundef %3) #2
%5 = tail call i32 @wait_for_completion(ptr noundef %0) #2
ret void
}
declare i32 @kthread_stop(i32 noundef) local_unnamed_addr #1
declare i32 @wait_for_completion(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"ktstate", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/block/aoe/extr_aoecmd.c_aoe_ktstop.c'
source_filename = "AnghaBench/linux/drivers/block/aoe/extr_aoecmd.c_aoe_ktstop.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 @aoe_ktstop(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @kthread_stop(i32 noundef %3) #2
%5 = tail call i32 @wait_for_completion(ptr noundef %0) #2
ret void
}
declare i32 @kthread_stop(i32 noundef) local_unnamed_addr #1
declare i32 @wait_for_completion(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"ktstate", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_block_aoe_extr_aoecmd.c_aoe_ktstop |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/complib/extr_cl_timer.c_cl_get_time_stamp_sec.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/complib/extr_cl_timer.c_cl_get_time_stamp_sec.c"
target datalayout = "e-m:e-p270:32:32-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.timeval = type { i32 }
; Function Attrs: nofree nounwind uwtable
define dso_local i32 @cl_get_time_stamp_sec() local_unnamed_addr #0 {
%1 = alloca %struct.timeval, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = call i32 @gettimeofday(ptr noundef nonnull %1, ptr noundef null)
%3 = load i32, ptr %1, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i32 %3
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture 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 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = { 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 #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 = !{!"timeval", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/complib/extr_cl_timer.c_cl_get_time_stamp_sec.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/complib/extr_cl_timer.c_cl_get_time_stamp_sec.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timeval = type { i32 }
; Function Attrs: nofree nounwind ssp uwtable(sync)
define i32 @cl_get_time_stamp_sec() local_unnamed_addr #0 {
%1 = alloca %struct.timeval, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = call i32 @gettimeofday(ptr noundef nonnull %1, ptr noundef null)
%3 = load i32, ptr %1, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret i32 %3
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noundef i32 @gettimeofday(ptr nocapture noundef, ptr nocapture 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 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = { 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 #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 = !{!"timeval", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_ofed_opensm_complib_extr_cl_timer.c_cl_get_time_stamp_sec |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_base.c_nvkm_disp_vblank.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_base.c_nvkm_disp_vblank.c"
target datalayout = "e-m:e-p270:32:32-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.nvif_notify_head_rep_v0 = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local void @nvkm_disp_vblank(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.nvif_notify_head_rep_v0, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4
%4 = call i32 @nvkm_event_send(ptr noundef %0, i32 noundef 1, i32 noundef %1, ptr noundef nonnull %3, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, 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 @nvkm_event_send(ptr noundef, 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)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_base.c_nvkm_disp_vblank.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_base.c_nvkm_disp_vblank.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.nvif_notify_head_rep_v0 = type { i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define void @nvkm_disp_vblank(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.nvif_notify_head_rep_v0, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4
%4 = call i32 @nvkm_event_send(ptr noundef %0, i32 noundef 1, i32 noundef %1, ptr noundef nonnull %3, i32 noundef 4) #3
call void @llvm.lifetime.end.p0(i64 4, 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 @nvkm_event_send(ptr noundef, 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)"}
| linux_drivers_gpu_drm_nouveau_nvkm_engine_disp_extr_base.c_nvkm_disp_vblank |
; ModuleID = 'AnghaBench/freebsd/tools/regression/security/proc_to_proc/extr_scenario.c_cred_print.c'
source_filename = "AnghaBench/freebsd/tools/regression/security/proc_to_proc/extr_scenario.c_cred_print.c"
target datalayout = "e-m:e-p270:32:32-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.cred = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [28 x i8] c"(e:%d r:%d s:%d P_SUGID:%d)\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cred_print], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cred_print(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.cred, ptr %1, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.cred, ptr %1, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = getelementptr inbounds %struct.cred, ptr %1, i64 0, i32 3
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %5, i32 noundef %7, i32 noundef %9) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"cred", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 12}
| ; ModuleID = 'AnghaBench/freebsd/tools/regression/security/proc_to_proc/extr_scenario.c_cred_print.c'
source_filename = "AnghaBench/freebsd/tools/regression/security/proc_to_proc/extr_scenario.c_cred_print.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 [28 x i8] c"(e:%d r:%d s:%d P_SUGID:%d)\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cred_print], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cred_print(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = getelementptr inbounds i8, ptr %1, i64 12
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %5, i32 noundef %7, i32 noundef %9) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"cred", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 12}
| freebsd_tools_regression_security_proc_to_proc_extr_scenario.c_cred_print |
; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_c3xxxvf/extr_adf_c3xxxvf_hw_data.c_get_ae_mask.c'
source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_c3xxxvf/extr_adf_c3xxxvf_hw_data.c_get_ae_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"
@ADF_C3XXXIOV_ACCELENGINES_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_ae_mask], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @get_ae_mask(i32 %0) #0 {
%2 = load i32, ptr @ADF_C3XXXIOV_ACCELENGINES_MASK, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_c3xxxvf/extr_adf_c3xxxvf_hw_data.c_get_ae_mask.c'
source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_c3xxxvf/extr_adf_c3xxxvf_hw_data.c_get_ae_mask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ADF_C3XXXIOV_ACCELENGINES_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_ae_mask], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @get_ae_mask(i32 %0) #0 {
%2 = load i32, ptr @ADF_C3XXXIOV_ACCELENGINES_MASK, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_crypto_qat_qat_c3xxxvf_extr_adf_c3xxxvf_hw_data.c_get_ae_mask |
; ModuleID = 'AnghaBench/linux/arch/mips/cavium-octeon/extr_oct_ilm.c_init_debugfs.c'
source_filename = "AnghaBench/linux/arch/mips/cavium-octeon/extr_oct_ilm.c_init_debugfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"oct_ilm\00", align 1
@dir = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"statistics\00", align 1
@oct_ilm_ops = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"reset\00", align 1
@reset_statistics_ops = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_debugfs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @init_debugfs() #0 {
%1 = tail call i32 @debugfs_create_dir(ptr noundef nonnull @.str, i32 noundef 0) #2
store i32 %1, ptr @dir, align 4, !tbaa !5
%2 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str.1, i32 noundef 146, i32 noundef %1, ptr noundef null, ptr noundef nonnull @oct_ilm_ops) #2
%3 = load i32, ptr @dir, align 4, !tbaa !5
%4 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str.2, i32 noundef 146, i32 noundef %3, ptr noundef null, ptr noundef nonnull @reset_statistics_ops) #2
ret void
}
declare i32 @debugfs_create_dir(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @debugfs_create_file(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/mips/cavium-octeon/extr_oct_ilm.c_init_debugfs.c'
source_filename = "AnghaBench/linux/arch/mips/cavium-octeon/extr_oct_ilm.c_init_debugfs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"oct_ilm\00", align 1
@dir = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"statistics\00", align 1
@oct_ilm_ops = common global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"reset\00", align 1
@reset_statistics_ops = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @init_debugfs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @init_debugfs() #0 {
%1 = tail call i32 @debugfs_create_dir(ptr noundef nonnull @.str, i32 noundef 0) #2
store i32 %1, ptr @dir, align 4, !tbaa !6
%2 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str.1, i32 noundef 146, i32 noundef %1, ptr noundef null, ptr noundef nonnull @oct_ilm_ops) #2
%3 = load i32, ptr @dir, align 4, !tbaa !6
%4 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str.2, i32 noundef 146, i32 noundef %3, ptr noundef null, ptr noundef nonnull @reset_statistics_ops) #2
ret void
}
declare i32 @debugfs_create_dir(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @debugfs_create_file(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_mips_cavium-octeon_extr_oct_ilm.c_init_debugfs |
; ModuleID = 'AnghaBench/bitwise/ion/extr_type.c_is_ptr_type.c'
source_filename = "AnghaBench/bitwise/ion/extr_type.c_is_ptr_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TYPE_PTR = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @is_ptr_type(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %8, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @TYPE_PTR, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
br label %8
8: ; preds = %3, %1
%9 = phi i32 [ 0, %1 ], [ %7, %3 ]
ret i32 %9
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/bitwise/ion/extr_type.c_is_ptr_type.c'
source_filename = "AnghaBench/bitwise/ion/extr_type.c_is_ptr_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TYPE_PTR = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 2) i32 @is_ptr_type(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %8, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @TYPE_PTR, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
br label %8
8: ; preds = %3, %1
%9 = phi i32 [ 0, %1 ], [ %7, %3 ]
ret i32 %9
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| bitwise_ion_extr_type.c_is_ptr_type |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_3w-9xxx.c_twa_shutdown.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_3w-9xxx.c_twa_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 @twa_shutdown], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @twa_shutdown(ptr noundef %0) #0 {
%2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 @__twa_shutdown(ptr noundef %4) #2
ret void
}
declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @__twa_shutdown(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 = !{!"Scsi_Host", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_3w-9xxx.c_twa_shutdown.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_3w-9xxx.c_twa_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 @twa_shutdown], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @twa_shutdown(ptr noundef %0) #0 {
%2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 @__twa_shutdown(ptr noundef %4) #2
ret void
}
declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @__twa_shutdown(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 = !{!"Scsi_Host", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_scsi_extr_3w-9xxx.c_twa_shutdown |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fence.c_radeon_fence_get_timeline_name.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fence.c_radeon_fence_get_timeline_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"radeon.gfx\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"radeon.cp1\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"radeon.cp2\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"radeon.dma\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"radeon.dma1\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"radeon.uvd\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"radeon.vce1\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"radeon.vce2\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"radeon.unk\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @radeon_fence_get_timeline_name], section "llvm.metadata"
@reltable.radeon_fence_get_timeline_name = private unnamed_addr constant [8 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.7 to i64), i64 ptrtoint (ptr @reltable.radeon_fence_get_timeline_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.radeon_fence_get_timeline_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.radeon_fence_get_timeline_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.radeon_fence_get_timeline_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.radeon_fence_get_timeline_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.radeon_fence_get_timeline_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.radeon_fence_get_timeline_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.radeon_fence_get_timeline_name to i64)) to i32)], align 4
; Function Attrs: nounwind uwtable
define internal noundef nonnull ptr @radeon_fence_get_timeline_name(ptr noundef %0) #0 {
%2 = tail call ptr @to_radeon_fence(ptr noundef %0) #3
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = add i32 %3, -128
%5 = icmp ult i32 %4, 8
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @WARN_ON_ONCE(i32 noundef 1) #3
br label %12
8: ; preds = %1
%9 = zext nneg i32 %4 to i64
%10 = shl i64 %9, 2
%11 = call ptr @llvm.load.relative.i64(ptr @reltable.radeon_fence_get_timeline_name, i64 %10)
br label %12
12: ; preds = %8, %6
%13 = phi ptr [ @.str.8, %6 ], [ %11, %8 ]
ret ptr %13
}
declare ptr @to_radeon_fence(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"radeon_fence", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fence.c_radeon_fence_get_timeline_name.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_fence.c_radeon_fence_get_timeline_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [11 x i8] c"radeon.gfx\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"radeon.cp1\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"radeon.cp2\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"radeon.dma\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"radeon.dma1\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"radeon.uvd\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"radeon.vce1\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"radeon.vce2\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"radeon.unk\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @radeon_fence_get_timeline_name], section "llvm.metadata"
@switch.table.radeon_fence_get_timeline_name = private unnamed_addr constant [8 x ptr] [ptr @.str.7, ptr @.str.6, ptr @.str, ptr @.str.5, ptr @.str.3, ptr @.str.4, ptr @.str.2, ptr @.str.1], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef nonnull ptr @radeon_fence_get_timeline_name(ptr noundef %0) #0 {
%2 = tail call ptr @to_radeon_fence(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = add i32 %3, -128
%5 = icmp ult i32 %4, 8
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @WARN_ON_ONCE(i32 noundef 1) #2
br label %12
8: ; preds = %1
%9 = zext nneg i32 %4 to i64
%10 = getelementptr inbounds [8 x ptr], ptr @switch.table.radeon_fence_get_timeline_name, i64 0, i64 %9
%11 = load ptr, ptr %10, align 8
br label %12
12: ; preds = %8, %6
%13 = phi ptr [ @.str.8, %6 ], [ %11, %8 ]
ret ptr %13
}
declare ptr @to_radeon_fence(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"radeon_fence", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_radeon_extr_radeon_fence.c_radeon_fence_get_timeline_name |
; ModuleID = 'AnghaBench/linux/drivers/hid/usbhid/extr_usbkbd.c_usb_kbd_alloc_mem.c'
source_filename = "AnghaBench/linux/drivers/hid/usbhid/extr_usbkbd.c_usb_kbd_alloc_mem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.usb_kbd = type { i32, ptr, i32, i32, ptr, ptr, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @usb_kbd_alloc_mem], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @usb_kbd_alloc_mem(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %3) #2
%5 = getelementptr inbounds %struct.usb_kbd, ptr %1, i64 0, i32 6
store ptr %4, ptr %5, align 8, !tbaa !9
%6 = icmp eq ptr %4, null
br i1 %6, label %29, label %7
7: ; preds = %2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%9 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %8) #2
%10 = getelementptr inbounds %struct.usb_kbd, ptr %1, i64 0, i32 5
store ptr %9, ptr %10, align 8, !tbaa !12
%11 = icmp eq ptr %9, null
br i1 %11, label %29, label %12
12: ; preds = %7
%13 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5
%14 = getelementptr inbounds %struct.usb_kbd, ptr %1, i64 0, i32 3
%15 = tail call ptr @usb_alloc_coherent(ptr noundef %0, i32 noundef 8, i32 noundef %13, ptr noundef nonnull %14) #2
%16 = getelementptr inbounds %struct.usb_kbd, ptr %1, i64 0, i32 4
store ptr %15, ptr %16, align 8, !tbaa !13
%17 = icmp eq ptr %15, null
br i1 %17, label %29, label %18
18: ; preds = %12
%19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%20 = tail call i32 @kmalloc(i32 noundef 4, i32 noundef %19) #2
%21 = getelementptr inbounds %struct.usb_kbd, ptr %1, i64 0, i32 2
store i32 %20, ptr %21, align 8, !tbaa !14
%22 = icmp eq i32 %20, 0
br i1 %22, label %29, label %23
23: ; preds = %18
%24 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5
%25 = tail call ptr @usb_alloc_coherent(ptr noundef %0, i32 noundef 1, i32 noundef %24, ptr noundef nonnull %1) #2
%26 = getelementptr inbounds %struct.usb_kbd, ptr %1, i64 0, i32 1
store ptr %25, ptr %26, align 8, !tbaa !15
%27 = icmp eq ptr %25, null
%28 = sext i1 %27 to i32
br label %29
29: ; preds = %23, %18, %12, %7, %2
%30 = phi i32 [ -1, %2 ], [ -1, %7 ], [ -1, %12 ], [ -1, %18 ], [ %28, %23 ]
ret i32 %30
}
declare ptr @usb_alloc_urb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @usb_alloc_coherent(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 40}
!10 = !{!"usb_kbd", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !11, i64 24, !11, i64 32, !11, i64 40}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 32}
!13 = !{!10, !11, i64 24}
!14 = !{!10, !6, i64 16}
!15 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/usbhid/extr_usbkbd.c_usb_kbd_alloc_mem.c'
source_filename = "AnghaBench/linux/drivers/hid/usbhid/extr_usbkbd.c_usb_kbd_alloc_mem.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @usb_kbd_alloc_mem], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @usb_kbd_alloc_mem(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %1, i64 40
store ptr %4, ptr %5, align 8, !tbaa !10
%6 = icmp eq ptr %4, null
br i1 %6, label %29, label %7
7: ; preds = %2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%9 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %1, i64 32
store ptr %9, ptr %10, align 8, !tbaa !13
%11 = icmp eq ptr %9, null
br i1 %11, label %29, label %12
12: ; preds = %7
%13 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6
%14 = getelementptr inbounds i8, ptr %1, i64 20
%15 = tail call ptr @usb_alloc_coherent(ptr noundef %0, i32 noundef 8, i32 noundef %13, ptr noundef nonnull %14) #2
%16 = getelementptr inbounds i8, ptr %1, i64 24
store ptr %15, ptr %16, align 8, !tbaa !14
%17 = icmp eq ptr %15, null
br i1 %17, label %29, label %18
18: ; preds = %12
%19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%20 = tail call i32 @kmalloc(i32 noundef 4, i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %20, ptr %21, align 8, !tbaa !15
%22 = icmp eq i32 %20, 0
br i1 %22, label %29, label %23
23: ; preds = %18
%24 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6
%25 = tail call ptr @usb_alloc_coherent(ptr noundef %0, i32 noundef 1, i32 noundef %24, ptr noundef nonnull %1) #2
%26 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %25, ptr %26, align 8, !tbaa !16
%27 = icmp eq ptr %25, null
%28 = sext i1 %27 to i32
br label %29
29: ; preds = %23, %18, %12, %7, %2
%30 = phi i32 [ -1, %2 ], [ -1, %7 ], [ -1, %12 ], [ -1, %18 ], [ %28, %23 ]
ret i32 %30
}
declare ptr @usb_alloc_urb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @usb_alloc_coherent(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 40}
!11 = !{!"usb_kbd", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !12, i64 24, !12, i64 32, !12, i64 40}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 32}
!14 = !{!11, !12, i64 24}
!15 = !{!11, !7, i64 16}
!16 = !{!11, !12, i64 8}
| linux_drivers_hid_usbhid_extr_usbkbd.c_usb_kbd_alloc_mem |
; ModuleID = 'AnghaBench/openwrt/package/kernel/lantiq/ltq-adsl-mei/src/extr_drv_mei_cpe.c_IFX_MEI_DMARead.c'
source_filename = "AnghaBench/openwrt/package/kernel/lantiq/ltq-adsl-mei/src/extr_drv_mei_cpe.c_IFX_MEI_DMARead.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DSL_DEV_MEI_ERR_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@ME_DX_AD = dso_local local_unnamed_addr global i64 0, align 8
@ME_DX_DATA = dso_local local_unnamed_addr global i64 0, align 8
@DSL_DEV_MEI_ERR_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @IFX_MEI_DMARead], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @IFX_MEI_DMARead(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = and i32 %1, 3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %31
8: ; preds = %4
%9 = load i64, ptr @ME_DX_AD, align 8, !tbaa !5
%10 = trunc i64 %9 to i32
%11 = tail call i32 @IFX_MEI_LongWordWriteOffset(ptr noundef %0, i32 noundef %10, i32 noundef %1) #3
%12 = icmp eq i32 %3, 0
br i1 %12, label %31, label %13
13: ; preds = %8, %27
%14 = phi i32 [ %16, %27 ], [ %3, %8 ]
%15 = phi ptr [ %29, %27 ], [ %2, %8 ]
%16 = add nsw i32 %14, -1
%17 = load i64, ptr @ME_DX_DATA, align 8, !tbaa !5
%18 = trunc i64 %17 to i32
%19 = call i32 @IFX_MEI_LongWordReadOffset(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %5) #3
%20 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3
%21 = load i64, ptr %20, align 8, !tbaa !9
%22 = inttoptr i64 %21 to ptr
%23 = icmp eq ptr %22, %2
br i1 %23, label %24, label %27
24: ; preds = %13
%25 = load i32, ptr %5, align 4, !tbaa !11
%26 = call i32 @MEI_HALF_WORD_SWAP(i32 noundef %25) #3
br label %27
27: ; preds = %24, %13
%28 = load i32, ptr %5, align 4, !tbaa !11
store i32 %28, ptr %15, align 4, !tbaa !11
%29 = getelementptr inbounds i32, ptr %15, i64 1
%30 = icmp eq i32 %16, 0
br i1 %30, label %31, label %13, !llvm.loop !13
31: ; preds = %27, %8, %4
%32 = phi ptr [ @DSL_DEV_MEI_ERR_FAILURE, %4 ], [ @DSL_DEV_MEI_ERR_SUCCESS, %8 ], [ @DSL_DEV_MEI_ERR_SUCCESS, %27 ]
%33 = load i32, ptr %32, align 4, !tbaa !11
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IFX_MEI_LongWordWriteOffset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @IFX_MEI_LongWordReadOffset(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @DSL_DEV_PRIVATE(ptr noundef) local_unnamed_addr #2
declare i32 @MEI_HALF_WORD_SWAP(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/openwrt/package/kernel/lantiq/ltq-adsl-mei/src/extr_drv_mei_cpe.c_IFX_MEI_DMARead.c'
source_filename = "AnghaBench/openwrt/package/kernel/lantiq/ltq-adsl-mei/src/extr_drv_mei_cpe.c_IFX_MEI_DMARead.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DSL_DEV_MEI_ERR_FAILURE = common local_unnamed_addr global i32 0, align 4
@ME_DX_AD = common local_unnamed_addr global i64 0, align 8
@ME_DX_DATA = common local_unnamed_addr global i64 0, align 8
@DSL_DEV_MEI_ERR_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @IFX_MEI_DMARead], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @IFX_MEI_DMARead(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = and i32 %1, 3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %31
8: ; preds = %4
%9 = load i64, ptr @ME_DX_AD, align 8, !tbaa !6
%10 = trunc i64 %9 to i32
%11 = tail call i32 @IFX_MEI_LongWordWriteOffset(ptr noundef %0, i32 noundef %10, i32 noundef %1) #3
%12 = icmp eq i32 %3, 0
br i1 %12, label %31, label %13
13: ; preds = %8, %27
%14 = phi i32 [ %16, %27 ], [ %3, %8 ]
%15 = phi ptr [ %29, %27 ], [ %2, %8 ]
%16 = add nsw i32 %14, -1
%17 = load i64, ptr @ME_DX_DATA, align 8, !tbaa !6
%18 = trunc i64 %17 to i32
%19 = call i32 @IFX_MEI_LongWordReadOffset(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %5) #3
%20 = call ptr @DSL_DEV_PRIVATE(ptr noundef %0) #3
%21 = load i64, ptr %20, align 8, !tbaa !10
%22 = inttoptr i64 %21 to ptr
%23 = icmp eq ptr %22, %2
br i1 %23, label %24, label %27
24: ; preds = %13
%25 = load i32, ptr %5, align 4, !tbaa !12
%26 = call i32 @MEI_HALF_WORD_SWAP(i32 noundef %25) #3
br label %27
27: ; preds = %24, %13
%28 = load i32, ptr %5, align 4, !tbaa !12
store i32 %28, ptr %15, align 4, !tbaa !12
%29 = getelementptr inbounds i8, ptr %15, i64 4
%30 = icmp eq i32 %16, 0
br i1 %30, label %31, label %13, !llvm.loop !14
31: ; preds = %27, %8, %4
%32 = phi ptr [ @DSL_DEV_MEI_ERR_FAILURE, %4 ], [ @DSL_DEV_MEI_ERR_SUCCESS, %8 ], [ @DSL_DEV_MEI_ERR_SUCCESS, %27 ]
%33 = load i32, ptr %32, align 4, !tbaa !12
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IFX_MEI_LongWordWriteOffset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @IFX_MEI_LongWordReadOffset(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @DSL_DEV_PRIVATE(ptr noundef) local_unnamed_addr #2
declare i32 @MEI_HALF_WORD_SWAP(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| openwrt_package_kernel_lantiq_ltq-adsl-mei_src_extr_drv_mei_cpe.c_IFX_MEI_DMARead |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_timer.c_tcp_set_lotimer_index.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_timer.c_tcp_set_lotimer_index.c"
target datalayout = "e-m:e-p270:32:32-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.tcpcb = type { ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64, i64, i64, i64 }
@TCPT_NONE = dso_local local_unnamed_addr global i64 0, align 8
@TCPT_NTIMERS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @tcp_set_lotimer_index], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @tcp_set_lotimer_index(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr @TCPT_NONE, align 8, !tbaa !5
%3 = load i64, ptr @TCPT_NTIMERS, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %34, label %5
5: ; preds = %1
%6 = load ptr, ptr %0, align 8, !tbaa !9
br label %7
7: ; preds = %5, %25
%8 = phi ptr [ %26, %25 ], [ %6, %5 ]
%9 = phi i64 [ %28, %25 ], [ 0, %5 ]
%10 = phi i64 [ %29, %25 ], [ 0, %5 ]
%11 = phi i64 [ %27, %25 ], [ %2, %5 ]
%12 = getelementptr inbounds i64, ptr %8, i64 %10
%13 = load i64, ptr %12, align 8, !tbaa !5
%14 = icmp eq i64 %13, 0
br i1 %14, label %25, label %15
15: ; preds = %7
%16 = tail call i32 @TCP_SET_TIMER_MODE(i64 noundef 0, i64 noundef %10) #3
%17 = icmp eq i64 %9, 0
%18 = load ptr, ptr %0, align 8, !tbaa !9
%19 = getelementptr inbounds i64, ptr %18, i64 %10
%20 = load i64, ptr %19, align 8, !tbaa !5
br i1 %17, label %25, label %21
21: ; preds = %15
%22 = icmp slt i64 %20, %9
%23 = select i1 %22, i64 %10, i64 %11
%24 = tail call i64 @llvm.smin.i64(i64 %20, i64 %9)
br label %25
25: ; preds = %21, %15, %7
%26 = phi ptr [ %8, %7 ], [ %18, %15 ], [ %18, %21 ]
%27 = phi i64 [ %11, %7 ], [ %10, %15 ], [ %23, %21 ]
%28 = phi i64 [ %9, %7 ], [ %20, %15 ], [ %24, %21 ]
%29 = add nuw i64 %10, 1
%30 = load i64, ptr @TCPT_NTIMERS, align 8, !tbaa !5
%31 = icmp ult i64 %29, %30
br i1 %31, label %7, label %32, !llvm.loop !13
32: ; preds = %25
%33 = load i64, ptr @TCPT_NONE, align 8, !tbaa !5
br label %34
34: ; preds = %32, %1
%35 = phi i64 [ %2, %1 ], [ %33, %32 ]
%36 = phi i64 [ %2, %1 ], [ %27, %32 ]
%37 = getelementptr inbounds %struct.tcpcb, ptr %0, i64 0, i32 1
store i64 %36, ptr %37, align 8, !tbaa !15
%38 = getelementptr inbounds %struct.tcpcb, ptr %0, i64 0, i32 1, i32 1
store i64 0, ptr %38, align 8, !tbaa !16
%39 = icmp eq i64 %36, %35
%40 = zext i1 %39 to i32
%41 = tail call i32 @VERIFY(i32 noundef %40) #3
%42 = load i64, ptr %37, align 8, !tbaa !15
%43 = load i64, ptr @TCPT_NONE, align 8, !tbaa !5
%44 = icmp eq i64 %42, %43
br i1 %44, label %54, label %45
45: ; preds = %34
%46 = getelementptr inbounds %struct.tcpcb, ptr %0, i64 0, i32 1, i32 3
%47 = load i64, ptr %46, align 8, !tbaa !17
%48 = load ptr, ptr %0, align 8, !tbaa !9
%49 = getelementptr inbounds i64, ptr %48, i64 %42
%50 = load i64, ptr %49, align 8, !tbaa !5
%51 = add nsw i64 %50, %47
%52 = getelementptr inbounds %struct.tcpcb, ptr %0, i64 0, i32 1, i32 2
%53 = tail call i64 @llvm.umax.i64(i64 %51, i64 1)
store i64 %53, ptr %52, align 8
br label %54
54: ; preds = %45, %34
ret void
}
declare i32 @TCP_SET_TIMER_MODE(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"tcpcb", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_2__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!10, !6, i64 8}
!16 = !{!10, !6, i64 16}
!17 = !{!10, !6, i64 32}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_timer.c_tcp_set_lotimer_index.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_timer.c_tcp_set_lotimer_index.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TCPT_NONE = common local_unnamed_addr global i64 0, align 8
@TCPT_NTIMERS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @tcp_set_lotimer_index], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @tcp_set_lotimer_index(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr @TCPT_NONE, align 8, !tbaa !6
%3 = load i64, ptr @TCPT_NTIMERS, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %34, label %5
5: ; preds = %1
%6 = load ptr, ptr %0, align 8, !tbaa !10
br label %7
7: ; preds = %5, %25
%8 = phi ptr [ %26, %25 ], [ %6, %5 ]
%9 = phi i64 [ %28, %25 ], [ 0, %5 ]
%10 = phi i64 [ %29, %25 ], [ 0, %5 ]
%11 = phi i64 [ %27, %25 ], [ %2, %5 ]
%12 = getelementptr inbounds i64, ptr %8, i64 %10
%13 = load i64, ptr %12, align 8, !tbaa !6
%14 = icmp eq i64 %13, 0
br i1 %14, label %25, label %15
15: ; preds = %7
%16 = tail call i32 @TCP_SET_TIMER_MODE(i64 noundef 0, i64 noundef %10) #3
%17 = icmp eq i64 %9, 0
%18 = load ptr, ptr %0, align 8, !tbaa !10
%19 = getelementptr inbounds i64, ptr %18, i64 %10
%20 = load i64, ptr %19, align 8, !tbaa !6
%21 = icmp slt i64 %20, %9
%22 = select i1 %17, i1 true, i1 %21
%23 = select i1 %22, i64 %10, i64 %11
%24 = select i1 %22, i64 %20, i64 %9
br label %25
25: ; preds = %15, %7
%26 = phi ptr [ %8, %7 ], [ %18, %15 ]
%27 = phi i64 [ %11, %7 ], [ %23, %15 ]
%28 = phi i64 [ %9, %7 ], [ %24, %15 ]
%29 = add nuw i64 %10, 1
%30 = load i64, ptr @TCPT_NTIMERS, align 8, !tbaa !6
%31 = icmp ult i64 %29, %30
br i1 %31, label %7, label %32, !llvm.loop !14
32: ; preds = %25
%33 = load i64, ptr @TCPT_NONE, align 8, !tbaa !6
br label %34
34: ; preds = %32, %1
%35 = phi i64 [ %2, %1 ], [ %33, %32 ]
%36 = phi i64 [ %2, %1 ], [ %27, %32 ]
%37 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %36, ptr %37, align 8, !tbaa !16
%38 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %38, align 8, !tbaa !17
%39 = icmp eq i64 %36, %35
%40 = zext i1 %39 to i32
%41 = tail call i32 @VERIFY(i32 noundef %40) #3
%42 = load i64, ptr %37, align 8, !tbaa !16
%43 = load i64, ptr @TCPT_NONE, align 8, !tbaa !6
%44 = icmp eq i64 %42, %43
br i1 %44, label %54, label %45
45: ; preds = %34
%46 = getelementptr inbounds i8, ptr %0, i64 32
%47 = load i64, ptr %46, align 8, !tbaa !18
%48 = load ptr, ptr %0, align 8, !tbaa !10
%49 = getelementptr inbounds i64, ptr %48, i64 %42
%50 = load i64, ptr %49, align 8, !tbaa !6
%51 = add nsw i64 %50, %47
%52 = getelementptr inbounds i8, ptr %0, i64 24
%53 = tail call i64 @llvm.umax.i64(i64 %51, i64 1)
store i64 %53, ptr %52, align 8
br label %54
54: ; preds = %45, %34
ret void
}
declare i32 @TCP_SET_TIMER_MODE(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"tcpcb", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!11, !7, i64 8}
!17 = !{!11, !7, i64 16}
!18 = !{!11, !7, i64 32}
| darwin-xnu_bsd_netinet_extr_tcp_timer.c_tcp_set_lotimer_index |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/uefisign/extr_child.c_load.c'
source_filename = "AnghaBench/freebsd/usr.sbin/uefisign/extr_child.c_load.c"
target datalayout = "e-m:e-p270:32:32-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.stat = type { i64 }
%struct.executable = type { ptr, i64, i32, i32 }
@.str = private unnamed_addr constant [10 x i8] c"%s: fstat\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"%s: file is empty\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"%s: cannot malloc %zd bytes\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%s: fread\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @load], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @load(ptr nocapture noundef %0) #0 {
%2 = alloca %struct.stat, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
%3 = getelementptr inbounds %struct.executable, ptr %0, i64 0, i32 3
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @fileno(i32 noundef %4) #5
%6 = call i32 @fstat(i32 noundef %5, ptr noundef nonnull %2)
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %1
%9 = getelementptr inbounds %struct.executable, ptr %0, i64 0, i32 2
%10 = load i32, ptr %9, align 8, !tbaa !12
%11 = tail call i32 (i32, ptr, i32, ...) @err(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %10) #5
br label %12
12: ; preds = %8, %1
%13 = load i64, ptr %2, align 8, !tbaa !13
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = getelementptr inbounds %struct.executable, ptr %0, i64 0, i32 2
%17 = load i32, ptr %16, align 8, !tbaa !12
%18 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str.1, i32 noundef %17) #5
br label %19
19: ; preds = %15, %12
%20 = tail call ptr @malloc(i64 noundef %13)
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %19
%23 = getelementptr inbounds %struct.executable, ptr %0, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !12
%25 = tail call i32 (i32, ptr, i32, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %24, i64 noundef %13) #5
br label %26
26: ; preds = %22, %19
%27 = load i32, ptr %3, align 4, !tbaa !5
%28 = tail call i64 @fread(ptr noundef %20, i64 noundef %13, i32 noundef 1, i32 noundef %27) #5
%29 = icmp eq i64 %28, 1
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = getelementptr inbounds %struct.executable, ptr %0, i64 0, i32 2
%32 = load i32, ptr %31, align 8, !tbaa !12
%33 = tail call i32 (i32, ptr, i32, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.3, i32 noundef %32) #5
br label %34
34: ; preds = %30, %26
store ptr %20, ptr %0, align 8, !tbaa !15
%35 = getelementptr inbounds %struct.executable, ptr %0, i64 0, i32 1
store i64 %13, ptr %35, align 8, !tbaa !16
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
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 @fileno(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fstat(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3
declare i32 @err(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @errx(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4
declare i64 @fread(ptr noundef, i64 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 20}
!6 = !{!"executable", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!14, !10, i64 0}
!14 = !{!"stat", !10, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/uefisign/extr_child.c_load.c'
source_filename = "AnghaBench/freebsd/usr.sbin/uefisign/extr_child.c_load.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.stat = type { i64 }
@.str = private unnamed_addr constant [10 x i8] c"%s: fstat\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"%s: file is empty\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"%s: cannot malloc %zd bytes\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%s: fread\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @load], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @load(ptr nocapture noundef %0) #0 {
%2 = alloca %struct.stat, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
%3 = getelementptr inbounds i8, ptr %0, i64 20
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @fileno(i32 noundef %4) #5
%6 = call i32 @fstat(i32 noundef %5, ptr noundef nonnull %2)
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = tail call i32 (i32, ptr, i32, ...) @err(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %10) #5
br label %12
12: ; preds = %8, %1
%13 = load i64, ptr %2, align 8, !tbaa !14
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = getelementptr inbounds i8, ptr %0, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !13
%18 = tail call i32 @errx(i32 noundef 1, ptr noundef nonnull @.str.1, i32 noundef %17) #5
br label %19
19: ; preds = %15, %12
%20 = tail call ptr @malloc(i64 noundef %13)
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %19
%23 = getelementptr inbounds i8, ptr %0, i64 16
%24 = load i32, ptr %23, align 8, !tbaa !13
%25 = tail call i32 (i32, ptr, i32, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %24, i64 noundef %13) #5
br label %26
26: ; preds = %22, %19
%27 = load i32, ptr %3, align 4, !tbaa !6
%28 = tail call i64 @fread(ptr noundef %20, i64 noundef %13, i32 noundef 1, i32 noundef %27) #5
%29 = icmp eq i64 %28, 1
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = getelementptr inbounds i8, ptr %0, i64 16
%32 = load i32, ptr %31, align 8, !tbaa !13
%33 = tail call i32 (i32, ptr, i32, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.3, i32 noundef %32) #5
br label %34
34: ; preds = %30, %26
store ptr %20, ptr %0, align 8, !tbaa !16
%35 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %13, ptr %35, align 8, !tbaa !17
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
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 @fileno(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fstat(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3
declare i32 @err(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @errx(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4
declare i64 @fread(ptr noundef, i64 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 = { 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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 20}
!7 = !{!"executable", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!15, !11, i64 0}
!15 = !{!"stat", !11, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !11, i64 8}
| freebsd_usr.sbin_uefisign_extr_child.c_load |
; ModuleID = 'AnghaBench/linux/scripts/extr_kallsyms.c_is_arm_mapping_symbol.c'
source_filename = "AnghaBench/linux/scripts/extr_kallsyms.c_is_arm_mapping_symbol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"axtd\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_arm_mapping_symbol], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @is_arm_mapping_symbol(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !5
%3 = icmp eq i8 %2, 36
br i1 %3, label %4, label %16
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 1
%6 = load i8, ptr %5, align 1, !tbaa !5
%7 = tail call i64 @strchr(ptr noundef nonnull @.str, i8 noundef signext %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %4
%10 = getelementptr inbounds i8, ptr %0, i64 2
%11 = load i8, ptr %10, align 1, !tbaa !5
%12 = icmp eq i8 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %9
%14 = icmp eq i8 %11, 46
%15 = zext i1 %14 to i32
br label %16
16: ; preds = %9, %13, %4, %1
%17 = phi i32 [ 0, %4 ], [ 0, %1 ], [ 1, %9 ], [ %15, %13 ]
ret i32 %17
}
declare i64 @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/scripts/extr_kallsyms.c_is_arm_mapping_symbol.c'
source_filename = "AnghaBench/linux/scripts/extr_kallsyms.c_is_arm_mapping_symbol.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [5 x i8] c"axtd\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @is_arm_mapping_symbol], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_arm_mapping_symbol(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !6
%3 = icmp eq i8 %2, 36
br i1 %3, label %4, label %16
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 1
%6 = load i8, ptr %5, align 1, !tbaa !6
%7 = tail call i64 @strchr(ptr noundef nonnull @.str, i8 noundef signext %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %4
%10 = getelementptr inbounds i8, ptr %0, i64 2
%11 = load i8, ptr %10, align 1, !tbaa !6
%12 = icmp eq i8 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %9
%14 = icmp eq i8 %11, 46
%15 = zext i1 %14 to i32
br label %16
16: ; preds = %9, %13, %4, %1
%17 = phi i32 [ 0, %4 ], [ 0, %1 ], [ 1, %9 ], [ %15, %13 ]
ret i32 %17
}
declare i64 @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| linux_scripts_extr_kallsyms.c_is_arm_mapping_symbol |
; ModuleID = 'AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest_mem.c_tmLsmMalloc.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest_mem.c_tmLsmMalloc.c"
target datalayout = "e-m:e-p270:32:32-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 @tmLsmMalloc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @tmLsmMalloc(i32 noundef %0) #0 {
%2 = tail call ptr @malloc(i32 noundef %0) #2
ret ptr %2
}
declare ptr @malloc(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/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest_mem.c_tmLsmMalloc.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest_mem.c_tmLsmMalloc.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 @tmLsmMalloc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @tmLsmMalloc(i32 noundef %0) #0 {
%2 = tail call ptr @malloc(i32 noundef %0) #2
ret ptr %2
}
declare ptr @malloc(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)"}
| sqlcipher_ext_lsm1_lsm-test_extr_lsmtest_mem.c_tmLsmMalloc |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/mvm/extr_sta.c_iwl_mvm_allocate_int_sta.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/mvm/extr_sta.c_iwl_mvm_allocate_int_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"
%struct.iwl_mvm = type { ptr, i32 }
%struct.iwl_mvm_int_sta = type { i64, i32 }
@IWL_MVM_STATUS_IN_HW_RESTART = dso_local local_unnamed_addr global i32 0, align 4
@IWL_MVM_STATION_COUNT = dso_local local_unnamed_addr global i64 0, align 8
@ENOSPC = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @iwl_mvm_allocate_int_sta(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @IWL_MVM_STATUS_IN_HW_RESTART, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.iwl_mvm, ptr %0, i64 0, i32 1
%6 = tail call i32 @test_bit(i32 noundef %4, ptr noundef nonnull %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %3
%9 = tail call i64 @iwl_mvm_find_free_sta_id(ptr noundef %0) #2
store i64 %9, ptr %1, align 8, !tbaa !9
%10 = load i64, ptr @IWL_MVM_STATION_COUNT, align 8, !tbaa !12
%11 = icmp eq i64 %9, %10
%12 = zext i1 %11 to i32
%13 = tail call i64 @WARN_ON_ONCE(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %8
%16 = load i32, ptr @ENOSPC, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %28
18: ; preds = %8, %3
%19 = getelementptr inbounds %struct.iwl_mvm_int_sta, ptr %1, i64 0, i32 1
store i32 %2, ptr %19, align 8, !tbaa !13
%20 = load ptr, ptr %0, align 8, !tbaa !14
%21 = load i64, ptr %1, align 8, !tbaa !9
%22 = getelementptr inbounds i32, ptr %20, i64 %21
%23 = load i32, ptr %22, align 4, !tbaa !5
%24 = load i32, ptr @EINVAL, align 4, !tbaa !5
%25 = sub nsw i32 0, %24
%26 = tail call i32 @ERR_PTR(i32 noundef %25) #2
%27 = tail call i32 @rcu_assign_pointer(i32 noundef %23, i32 noundef %26) #2
br label %28
28: ; preds = %18, %15
%29 = phi i32 [ 0, %18 ], [ %17, %15 ]
ret i32 %29
}
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @iwl_mvm_find_free_sta_id(ptr noundef) local_unnamed_addr #1
declare i64 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @rcu_assign_pointer(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"iwl_mvm_int_sta", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !6, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"iwl_mvm", !16, i64 0, !6, i64 8}
!16 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/mvm/extr_sta.c_iwl_mvm_allocate_int_sta.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/mvm/extr_sta.c_iwl_mvm_allocate_int_sta.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IWL_MVM_STATUS_IN_HW_RESTART = common local_unnamed_addr global i32 0, align 4
@IWL_MVM_STATION_COUNT = common local_unnamed_addr global i64 0, align 8
@ENOSPC = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @iwl_mvm_allocate_int_sta(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @IWL_MVM_STATUS_IN_HW_RESTART, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = tail call i32 @test_bit(i32 noundef %4, ptr noundef nonnull %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %3
%9 = tail call i64 @iwl_mvm_find_free_sta_id(ptr noundef %0) #2
store i64 %9, ptr %1, align 8, !tbaa !10
%10 = load i64, ptr @IWL_MVM_STATION_COUNT, align 8, !tbaa !13
%11 = icmp eq i64 %9, %10
%12 = zext i1 %11 to i32
%13 = tail call i64 @WARN_ON_ONCE(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %8
%16 = load i32, ptr @ENOSPC, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %28
18: ; preds = %8, %3
%19 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %2, ptr %19, align 8, !tbaa !14
%20 = load ptr, ptr %0, align 8, !tbaa !15
%21 = load i64, ptr %1, align 8, !tbaa !10
%22 = getelementptr inbounds i32, ptr %20, i64 %21
%23 = load i32, ptr %22, align 4, !tbaa !6
%24 = load i32, ptr @EINVAL, align 4, !tbaa !6
%25 = sub nsw i32 0, %24
%26 = tail call i32 @ERR_PTR(i32 noundef %25) #2
%27 = tail call i32 @rcu_assign_pointer(i32 noundef %23, i32 noundef %26) #2
br label %28
28: ; preds = %18, %15
%29 = phi i32 [ 0, %18 ], [ %17, %15 ]
ret i32 %29
}
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @iwl_mvm_find_free_sta_id(ptr noundef) local_unnamed_addr #1
declare i64 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1
declare i32 @rcu_assign_pointer(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"iwl_mvm_int_sta", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !7, i64 8}
!15 = !{!16, !17, i64 0}
!16 = !{!"iwl_mvm", !17, i64 0, !7, i64 8}
!17 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_drivers_net_wireless_iwlwifi_mvm_extr_sta.c_iwl_mvm_allocate_int_sta |
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_hcd.c_usb_hcd_giveback_urb.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_hcd.c_usb_hcd_giveback_urb.c"
target datalayout = "e-m:e-p270:32:32-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.urb = type { i32, i32, i32, i32 }
%struct.usb_hcd = type { %struct.giveback_urb_bh, %struct.giveback_urb_bh }
%struct.giveback_urb_bh = type { i32, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @usb_hcd_giveback_urb(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i64 @likely(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %3
store i32 %2, ptr %1, align 4, !tbaa !5
br label %10
10: ; preds = %9, %3
%11 = tail call i32 @hcd_giveback_urb_in_bh(ptr noundef %0) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %10
%14 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 3
%15 = load i32, ptr %14, align 4, !tbaa !10
%16 = tail call i32 @is_root_hub(i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = tail call i32 @__usb_hcd_giveback_urb(ptr noundef nonnull %1) #2
br label %48
20: ; preds = %13, %10
%21 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 2
%22 = load i32, ptr %21, align 4, !tbaa !11
%23 = tail call i64 @usb_pipeisoc(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %20
%26 = load i32, ptr %21, align 4, !tbaa !11
%27 = tail call i64 @usb_pipeint(i32 noundef %26) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %25, %20
%30 = getelementptr inbounds %struct.usb_hcd, ptr %0, i64 0, i32 1
br label %31
31: ; preds = %25, %29
%32 = phi ptr [ %30, %29 ], [ %0, %25 ]
%33 = phi i1 [ false, %29 ], [ true, %25 ]
%34 = getelementptr inbounds %struct.giveback_urb_bh, ptr %32, i64 0, i32 2
%35 = tail call i32 @spin_lock(ptr noundef nonnull %34) #2
%36 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 1
%37 = getelementptr inbounds %struct.giveback_urb_bh, ptr %32, i64 0, i32 3
%38 = tail call i32 @list_add_tail(ptr noundef nonnull %36, ptr noundef nonnull %37) #2
%39 = load i32, ptr %32, align 4, !tbaa !12
%40 = tail call i32 @spin_unlock(ptr noundef nonnull %34) #2
%41 = icmp eq i32 %39, 0
br i1 %41, label %42, label %48
42: ; preds = %31
%43 = getelementptr inbounds %struct.giveback_urb_bh, ptr %32, i64 0, i32 1
br i1 %33, label %46, label %44
44: ; preds = %42
%45 = tail call i32 @tasklet_hi_schedule(ptr noundef nonnull %43) #2
br label %48
46: ; preds = %42
%47 = tail call i32 @tasklet_schedule(ptr noundef nonnull %43) #2
br label %48
48: ; preds = %31, %46, %44, %18
ret void
}
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @hcd_giveback_urb_in_bh(ptr noundef) local_unnamed_addr #1
declare i32 @is_root_hub(i32 noundef) local_unnamed_addr #1
declare i32 @__usb_hcd_giveback_urb(ptr noundef) local_unnamed_addr #1
declare i64 @usb_pipeisoc(i32 noundef) local_unnamed_addr #1
declare i64 @usb_pipeint(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_hi_schedule(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_schedule(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 = !{!"urb", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 12}
!11 = !{!6, !7, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"giveback_urb_bh", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_hcd.c_usb_hcd_giveback_urb.c'
source_filename = "AnghaBench/linux/drivers/usb/core/extr_hcd.c_usb_hcd_giveback_urb.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 @usb_hcd_giveback_urb(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i64 @likely(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %3
store i32 %2, ptr %1, align 4, !tbaa !6
br label %10
10: ; preds = %9, %3
%11 = tail call i32 @hcd_giveback_urb_in_bh(ptr noundef %0) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %1, i64 12
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = tail call i32 @is_root_hub(i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = tail call i32 @__usb_hcd_giveback_urb(ptr noundef nonnull %1) #2
br label %48
20: ; preds = %13, %10
%21 = getelementptr inbounds i8, ptr %1, i64 8
%22 = load i32, ptr %21, align 4, !tbaa !12
%23 = tail call i64 @usb_pipeisoc(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %20
%26 = load i32, ptr %21, align 4, !tbaa !12
%27 = tail call i64 @usb_pipeint(i32 noundef %26) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %25, %20
%30 = getelementptr inbounds i8, ptr %0, i64 16
br label %31
31: ; preds = %25, %29
%32 = phi ptr [ %30, %29 ], [ %0, %25 ]
%33 = phi i1 [ false, %29 ], [ true, %25 ]
%34 = getelementptr inbounds i8, ptr %32, i64 8
%35 = tail call i32 @spin_lock(ptr noundef nonnull %34) #2
%36 = getelementptr inbounds i8, ptr %1, i64 4
%37 = getelementptr inbounds i8, ptr %32, i64 12
%38 = tail call i32 @list_add_tail(ptr noundef nonnull %36, ptr noundef nonnull %37) #2
%39 = load i32, ptr %32, align 4, !tbaa !13
%40 = tail call i32 @spin_unlock(ptr noundef nonnull %34) #2
%41 = icmp eq i32 %39, 0
br i1 %41, label %42, label %48
42: ; preds = %31
%43 = getelementptr inbounds i8, ptr %32, i64 4
br i1 %33, label %46, label %44
44: ; preds = %42
%45 = tail call i32 @tasklet_hi_schedule(ptr noundef nonnull %43) #2
br label %48
46: ; preds = %42
%47 = tail call i32 @tasklet_schedule(ptr noundef nonnull %43) #2
br label %48
48: ; preds = %31, %46, %44, %18
ret void
}
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @hcd_giveback_urb_in_bh(ptr noundef) local_unnamed_addr #1
declare i32 @is_root_hub(i32 noundef) local_unnamed_addr #1
declare i32 @__usb_hcd_giveback_urb(ptr noundef) local_unnamed_addr #1
declare i64 @usb_pipeisoc(i32 noundef) local_unnamed_addr #1
declare i64 @usb_pipeint(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_hi_schedule(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_schedule(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 = !{!"urb", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 12}
!12 = !{!7, !8, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"giveback_urb_bh", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
| linux_drivers_usb_core_extr_hcd.c_usb_hcd_giveback_urb |
; ModuleID = 'AnghaBench/linux/net/rds/extr_ib_ring.c___rds_ib_ring_empty.c'
source_filename = "AnghaBench/linux/net/rds/extr_ib_ring.c___rds_ib_ring_empty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @__rds_ib_ring_empty], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__rds_ib_ring_empty(ptr noundef %0) #0 {
%2 = tail call i64 @__rds_ib_ring_used(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
ret i32 %4
}
declare i64 @__rds_ib_ring_used(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/net/rds/extr_ib_ring.c___rds_ib_ring_empty.c'
source_filename = "AnghaBench/linux/net/rds/extr_ib_ring.c___rds_ib_ring_empty.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @__rds_ib_ring_empty], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @__rds_ib_ring_empty(ptr noundef %0) #0 {
%2 = tail call i64 @__rds_ib_ring_used(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
ret i32 %4
}
declare i64 @__rds_ib_ring_used(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_net_rds_extr_ib_ring.c___rds_ib_ring_empty |
; ModuleID = 'AnghaBench/memcached/extr_items.c_item_is_flushed.c'
source_filename = "AnghaBench/memcached/extr_items.c_item_is_flushed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, i64 }
@settings = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@current_time = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @item_is_flushed(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @settings, align 8, !tbaa !5
%3 = tail call i64 @ITEM_get_cas(ptr noundef %0) #2
%4 = load i64, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @settings, i64 0, i32 1), align 8, !tbaa !10
%5 = icmp eq i64 %2, 0
%6 = load i64, ptr @current_time, align 8
%7 = icmp sgt i64 %2, %6
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %19, label %9
9: ; preds = %1
%10 = load i64, ptr %0, align 8, !tbaa !11
%11 = icmp sgt i64 %10, %2
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = icmp ne i64 %4, 0
%14 = icmp ne i64 %3, 0
%15 = select i1 %13, i1 %14, i1 false
%16 = icmp slt i64 %3, %4
%17 = select i1 %15, i1 %16, i1 false
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %12, %9, %1
%20 = phi i32 [ 0, %1 ], [ 1, %9 ], [ %18, %12 ]
ret i32 %20
}
declare i64 @ITEM_get_cas(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_5__", !7, i64 0}
| ; ModuleID = 'AnghaBench/memcached/extr_items.c_item_is_flushed.c'
source_filename = "AnghaBench/memcached/extr_items.c_item_is_flushed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i64, i64 }
@settings = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@current_time = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @item_is_flushed(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @settings, align 8, !tbaa !6
%3 = tail call i64 @ITEM_get_cas(ptr noundef %0) #2
%4 = load i64, ptr getelementptr inbounds (i8, ptr @settings, i64 8), align 8, !tbaa !11
%5 = icmp eq i64 %2, 0
%6 = load i64, ptr @current_time, align 8
%7 = icmp sgt i64 %2, %6
%8 = select i1 %5, i1 true, i1 %7
br i1 %8, label %19, label %9
9: ; preds = %1
%10 = load i64, ptr %0, align 8, !tbaa !12
%11 = icmp sgt i64 %10, %2
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = icmp ne i64 %4, 0
%14 = icmp ne i64 %3, 0
%15 = select i1 %13, i1 %14, i1 false
%16 = icmp slt i64 %3, %4
%17 = select i1 %15, i1 %16, i1 false
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %12, %9, %1
%20 = phi i32 [ 0, %1 ], [ 1, %9 ], [ %18, %12 ]
ret i32 %20
}
declare i64 @ITEM_get_cas(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_5__", !8, i64 0}
| memcached_extr_items.c_item_is_flushed |
; ModuleID = 'AnghaBench/freebsd/contrib/apr/poll/unix/extr_select.c_impl_pollset_create.c'
source_filename = "AnghaBench/freebsd/contrib/apr/poll/unix/extr_select.c_impl_pollset_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr, i32, i64, i32, i32, i32 }
@APR_POLLSET_THREADSAFE = dso_local local_unnamed_addr global i32 0, align 4
@APR_ENOTIMPL = dso_local local_unnamed_addr global i32 0, align 4
@APR_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@APR_EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@APR_NO_DESC = dso_local local_unnamed_addr global i32 0, align 4
@FD_SETSIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @impl_pollset_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @impl_pollset_create(ptr nocapture noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @APR_POLLSET_THREADSAFE, align 4, !tbaa !5
%6 = and i32 %5, %3
%7 = icmp eq i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %4
store ptr null, ptr %0, align 8, !tbaa !9
br label %27
9: ; preds = %4
%10 = tail call ptr @apr_palloc(ptr noundef %2, i32 noundef 4) #2
store ptr %10, ptr %0, align 8, !tbaa !9
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 0, i32 6
%12 = tail call i32 @FD_ZERO(ptr noundef nonnull %11) #2
%13 = load ptr, ptr %0, align 8, !tbaa !9
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 0, i32 5
%15 = tail call i32 @FD_ZERO(ptr noundef nonnull %14) #2
%16 = load ptr, ptr %0, align 8, !tbaa !9
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 0, i32 4
%18 = tail call i32 @FD_ZERO(ptr noundef nonnull %17) #2
%19 = load ptr, ptr %0, align 8, !tbaa !9
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i64 0, i32 3
store i64 0, ptr %20, align 8, !tbaa !12
%21 = shl i32 %1, 2
%22 = tail call ptr @apr_palloc(ptr noundef %2, i32 noundef %21) #2
%23 = load ptr, ptr %0, align 8, !tbaa !9
%24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 0, i32 1
store ptr %22, ptr %24, align 8, !tbaa !15
%25 = tail call ptr @apr_palloc(ptr noundef %2, i32 noundef %21) #2
%26 = load ptr, ptr %0, align 8, !tbaa !9
store ptr %25, ptr %26, align 8, !tbaa !16
br label %27
27: ; preds = %9, %8
%28 = phi ptr [ @APR_ENOTIMPL, %8 ], [ @APR_SUCCESS, %9 ]
%29 = load i32, ptr %28, align 4, !tbaa !5
ret i32 %29
}
declare ptr @apr_palloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !14, i64 24}
!13 = !{!"TYPE_4__", !11, i64 0, !11, i64 8, !6, i64 16, !14, i64 24, !6, i64 32, !6, i64 36, !6, i64 40}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !11, i64 8}
!16 = !{!13, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/apr/poll/unix/extr_select.c_impl_pollset_create.c'
source_filename = "AnghaBench/freebsd/contrib/apr/poll/unix/extr_select.c_impl_pollset_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@APR_POLLSET_THREADSAFE = common local_unnamed_addr global i32 0, align 4
@APR_ENOTIMPL = common local_unnamed_addr global i32 0, align 4
@APR_SUCCESS = common local_unnamed_addr global i32 0, align 4
@APR_EINVAL = common local_unnamed_addr global i32 0, align 4
@APR_NO_DESC = common local_unnamed_addr global i32 0, align 4
@FD_SETSIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @impl_pollset_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @impl_pollset_create(ptr nocapture noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @APR_POLLSET_THREADSAFE, align 4, !tbaa !6
%6 = and i32 %5, %3
%7 = icmp eq i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %4
store ptr null, ptr %0, align 8, !tbaa !10
br label %27
9: ; preds = %4
%10 = tail call ptr @apr_palloc(ptr noundef %2, i32 noundef 4) #2
store ptr %10, ptr %0, align 8, !tbaa !10
%11 = getelementptr inbounds i8, ptr %10, i64 40
%12 = tail call i32 @FD_ZERO(ptr noundef nonnull %11) #2
%13 = load ptr, ptr %0, align 8, !tbaa !10
%14 = getelementptr inbounds i8, ptr %13, i64 36
%15 = tail call i32 @FD_ZERO(ptr noundef nonnull %14) #2
%16 = load ptr, ptr %0, align 8, !tbaa !10
%17 = getelementptr inbounds i8, ptr %16, i64 32
%18 = tail call i32 @FD_ZERO(ptr noundef nonnull %17) #2
%19 = load ptr, ptr %0, align 8, !tbaa !10
%20 = getelementptr inbounds i8, ptr %19, i64 24
store i64 0, ptr %20, align 8, !tbaa !13
%21 = shl i32 %1, 2
%22 = tail call ptr @apr_palloc(ptr noundef %2, i32 noundef %21) #2
%23 = load ptr, ptr %0, align 8, !tbaa !10
%24 = getelementptr inbounds i8, ptr %23, i64 8
store ptr %22, ptr %24, align 8, !tbaa !16
%25 = tail call ptr @apr_palloc(ptr noundef %2, i32 noundef %21) #2
%26 = load ptr, ptr %0, align 8, !tbaa !10
store ptr %25, ptr %26, align 8, !tbaa !17
br label %27
27: ; preds = %9, %8
%28 = phi ptr [ @APR_ENOTIMPL, %8 ], [ @APR_SUCCESS, %9 ]
%29 = load i32, ptr %28, align 4, !tbaa !6
ret i32 %29
}
declare ptr @apr_palloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 24}
!14 = !{!"TYPE_4__", !12, i64 0, !12, i64 8, !7, i64 16, !15, i64 24, !7, i64 32, !7, i64 36, !7, i64 40}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !12, i64 8}
!17 = !{!14, !12, i64 0}
| freebsd_contrib_apr_poll_unix_extr_select.c_impl_pollset_create |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/exynos4-is/extr_mipi-csis.c_s5pcsis_clk_get.c'
source_filename = "AnghaBench/linux/drivers/media/platform/exynos4-is/extr_mipi-csis.c_s5pcsis_clk_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.csis_state = type { ptr, ptr }
@NUM_CSIS_CLOCKS = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@csi_clock_name = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [25 x i8] c"failed to get clock: %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @s5pcsis_clk_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s5pcsis_clk_get(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.csis_state, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr @NUM_CSIS_CLOCKS, align 4, !tbaa !10
%5 = icmp sgt i32 %4, 0
br i1 %5, label %8, label %62
6: ; preds = %8
%7 = icmp sgt i32 %16, 0
br i1 %7, label %24, label %62
8: ; preds = %1, %8
%9 = phi i64 [ %15, %8 ], [ 0, %1 ]
%10 = load i32, ptr @EINVAL, align 4, !tbaa !10
%11 = sub nsw i32 0, %10
%12 = tail call ptr @ERR_PTR(i32 noundef %11) #2
%13 = load ptr, ptr %0, align 8, !tbaa !12
%14 = getelementptr inbounds ptr, ptr %13, i64 %9
store ptr %12, ptr %14, align 8, !tbaa !13
%15 = add nuw nsw i64 %9, 1
%16 = load i32, ptr @NUM_CSIS_CLOCKS, align 4, !tbaa !10
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %8, label %6, !llvm.loop !14
19: ; preds = %42
%20 = add nuw nsw i64 %25, 1
%21 = load i32, ptr @NUM_CSIS_CLOCKS, align 4, !tbaa !10
%22 = sext i32 %21 to i64
%23 = icmp slt i64 %20, %22
br i1 %23, label %24, label %62, !llvm.loop !16
24: ; preds = %6, %19
%25 = phi i64 [ %20, %19 ], [ 0, %6 ]
%26 = load ptr, ptr @csi_clock_name, align 8, !tbaa !13
%27 = getelementptr inbounds i32, ptr %26, i64 %25
%28 = load i32, ptr %27, align 4, !tbaa !10
%29 = tail call ptr @clk_get(ptr noundef %3, i32 noundef %28) #2
%30 = load ptr, ptr %0, align 8, !tbaa !12
%31 = getelementptr inbounds ptr, ptr %30, i64 %25
store ptr %29, ptr %31, align 8, !tbaa !13
%32 = load ptr, ptr %0, align 8, !tbaa !12
%33 = getelementptr inbounds ptr, ptr %32, i64 %25
%34 = load ptr, ptr %33, align 8, !tbaa !13
%35 = tail call i64 @IS_ERR(ptr noundef %34) #2
%36 = icmp eq i64 %35, 0
%37 = load ptr, ptr %0, align 8, !tbaa !12
%38 = getelementptr inbounds ptr, ptr %37, i64 %25
%39 = load ptr, ptr %38, align 8, !tbaa !13
br i1 %36, label %42, label %40
40: ; preds = %24
%41 = tail call i32 @PTR_ERR(ptr noundef %39) #2
br label %55
42: ; preds = %24
%43 = tail call i32 @clk_prepare(ptr noundef %39) #2
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %19
45: ; preds = %42
%46 = load ptr, ptr %0, align 8, !tbaa !12
%47 = getelementptr inbounds ptr, ptr %46, i64 %25
%48 = load ptr, ptr %47, align 8, !tbaa !13
%49 = tail call i32 @clk_put(ptr noundef %48) #2
%50 = load i32, ptr @EINVAL, align 4, !tbaa !10
%51 = sub nsw i32 0, %50
%52 = tail call ptr @ERR_PTR(i32 noundef %51) #2
%53 = load ptr, ptr %0, align 8, !tbaa !12
%54 = getelementptr inbounds ptr, ptr %53, i64 %25
store ptr %52, ptr %54, align 8, !tbaa !13
br label %55
55: ; preds = %45, %40
%56 = phi i32 [ %41, %40 ], [ %43, %45 ]
%57 = tail call i32 @s5pcsis_clk_put(ptr noundef nonnull %0) #2
%58 = load ptr, ptr @csi_clock_name, align 8, !tbaa !13
%59 = getelementptr inbounds i32, ptr %58, i64 %25
%60 = load i32, ptr %59, align 4, !tbaa !10
%61 = tail call i32 @dev_err(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %60) #2
br label %62
62: ; preds = %19, %1, %6, %55
%63 = phi i32 [ %56, %55 ], [ 0, %6 ], [ 0, %1 ], [ 0, %19 ]
ret i32 %63
}
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @clk_get(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @clk_prepare(ptr noundef) local_unnamed_addr #1
declare i32 @clk_put(ptr noundef) local_unnamed_addr #1
declare i32 @s5pcsis_clk_put(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(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 8}
!6 = !{!"csis_state", !7, i64 0, !7, i64 8}
!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 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/exynos4-is/extr_mipi-csis.c_s5pcsis_clk_get.c'
source_filename = "AnghaBench/linux/drivers/media/platform/exynos4-is/extr_mipi-csis.c_s5pcsis_clk_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NUM_CSIS_CLOCKS = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@csi_clock_name = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [25 x i8] c"failed to get clock: %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @s5pcsis_clk_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @s5pcsis_clk_get(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr @NUM_CSIS_CLOCKS, align 4, !tbaa !11
%5 = icmp sgt i32 %4, 0
br i1 %5, label %8, label %62
6: ; preds = %8
%7 = icmp sgt i32 %16, 0
br i1 %7, label %24, label %62
8: ; preds = %1, %8
%9 = phi i64 [ %15, %8 ], [ 0, %1 ]
%10 = load i32, ptr @EINVAL, align 4, !tbaa !11
%11 = sub nsw i32 0, %10
%12 = tail call ptr @ERR_PTR(i32 noundef %11) #2
%13 = load ptr, ptr %0, align 8, !tbaa !13
%14 = getelementptr inbounds ptr, ptr %13, i64 %9
store ptr %12, ptr %14, align 8, !tbaa !14
%15 = add nuw nsw i64 %9, 1
%16 = load i32, ptr @NUM_CSIS_CLOCKS, align 4, !tbaa !11
%17 = sext i32 %16 to i64
%18 = icmp slt i64 %15, %17
br i1 %18, label %8, label %6, !llvm.loop !15
19: ; preds = %42
%20 = add nuw nsw i64 %25, 1
%21 = load i32, ptr @NUM_CSIS_CLOCKS, align 4, !tbaa !11
%22 = sext i32 %21 to i64
%23 = icmp slt i64 %20, %22
br i1 %23, label %24, label %62, !llvm.loop !17
24: ; preds = %6, %19
%25 = phi i64 [ %20, %19 ], [ 0, %6 ]
%26 = load ptr, ptr @csi_clock_name, align 8, !tbaa !14
%27 = getelementptr inbounds i32, ptr %26, i64 %25
%28 = load i32, ptr %27, align 4, !tbaa !11
%29 = tail call ptr @clk_get(ptr noundef %3, i32 noundef %28) #2
%30 = load ptr, ptr %0, align 8, !tbaa !13
%31 = getelementptr inbounds ptr, ptr %30, i64 %25
store ptr %29, ptr %31, align 8, !tbaa !14
%32 = load ptr, ptr %0, align 8, !tbaa !13
%33 = getelementptr inbounds ptr, ptr %32, i64 %25
%34 = load ptr, ptr %33, align 8, !tbaa !14
%35 = tail call i64 @IS_ERR(ptr noundef %34) #2
%36 = icmp eq i64 %35, 0
%37 = load ptr, ptr %0, align 8, !tbaa !13
%38 = getelementptr inbounds ptr, ptr %37, i64 %25
%39 = load ptr, ptr %38, align 8, !tbaa !14
br i1 %36, label %42, label %40
40: ; preds = %24
%41 = tail call i32 @PTR_ERR(ptr noundef %39) #2
br label %55
42: ; preds = %24
%43 = tail call i32 @clk_prepare(ptr noundef %39) #2
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %19
45: ; preds = %42
%46 = load ptr, ptr %0, align 8, !tbaa !13
%47 = getelementptr inbounds ptr, ptr %46, i64 %25
%48 = load ptr, ptr %47, align 8, !tbaa !14
%49 = tail call i32 @clk_put(ptr noundef %48) #2
%50 = load i32, ptr @EINVAL, align 4, !tbaa !11
%51 = sub nsw i32 0, %50
%52 = tail call ptr @ERR_PTR(i32 noundef %51) #2
%53 = load ptr, ptr %0, align 8, !tbaa !13
%54 = getelementptr inbounds ptr, ptr %53, i64 %25
store ptr %52, ptr %54, align 8, !tbaa !14
br label %55
55: ; preds = %45, %40
%56 = phi i32 [ %41, %40 ], [ %43, %45 ]
%57 = tail call i32 @s5pcsis_clk_put(ptr noundef nonnull %0) #2
%58 = load ptr, ptr @csi_clock_name, align 8, !tbaa !14
%59 = getelementptr inbounds i32, ptr %58, i64 %25
%60 = load i32, ptr %59, align 4, !tbaa !11
%61 = tail call i32 @dev_err(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %60) #2
br label %62
62: ; preds = %19, %1, %6, %55
%63 = phi i32 [ %56, %55 ], [ 0, %6 ], [ 0, %1 ], [ 0, %19 ]
ret i32 %63
}
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @clk_get(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @clk_prepare(ptr noundef) local_unnamed_addr #1
declare i32 @clk_put(ptr noundef) local_unnamed_addr #1
declare i32 @s5pcsis_clk_put(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(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 8}
!7 = !{!"csis_state", !8, i64 0, !8, i64 8}
!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 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| linux_drivers_media_platform_exynos4-is_extr_mipi-csis.c_s5pcsis_clk_get |
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/dos/extr_23523.c_isELF.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/dos/extr_23523.c_isELF.c"
target datalayout = "e-m:e-p270:32:32-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 }
@.str = private unnamed_addr constant [14 x i8] c"isELF(): read\00", align 1
@EI_MAG0 = dso_local local_unnamed_addr global i64 0, align 8
@ELFMAG0 = dso_local local_unnamed_addr global i8 0, align 1
@EI_MAG1 = dso_local local_unnamed_addr global i64 0, align 8
@EI_MAG2 = dso_local local_unnamed_addr global i64 0, align 8
@EI_MAG3 = dso_local local_unnamed_addr global i64 0, align 8
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"The argument given is not an ELF file !\0A\00", align 1
@EI_CLASS = dso_local local_unnamed_addr global i64 0, align 8
@ELFCLASS32 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"Only 32-bit ELF files supported !\0A\00", align 1
@EI_DATA = dso_local local_unnamed_addr global i64 0, align 8
@ELFDATA2LSB = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@.str.3 = private unnamed_addr constant [42 x i8] c"Only little-endian ELF files supported !\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @isELF(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = call i32 @read(i32 noundef %0, ptr noundef nonnull %2, i32 noundef 8) #3
%4 = icmp eq i32 %3, -1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @perror(ptr noundef nonnull @.str) #3
br label %52
7: ; preds = %1
%8 = load ptr, ptr %2, align 8, !tbaa !5
%9 = load i64, ptr @EI_MAG0, align 8, !tbaa !10
%10 = getelementptr inbounds i8, ptr %8, i64 %9
%11 = load i8, ptr %10, align 1, !tbaa !12
%12 = load i8, ptr @ELFMAG0, align 1, !tbaa !12
%13 = icmp eq i8 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %7
%15 = load i64, ptr @EI_MAG1, align 8, !tbaa !10
%16 = getelementptr inbounds i8, ptr %8, i64 %15
%17 = load i8, ptr %16, align 1, !tbaa !12
%18 = icmp eq i8 %17, 69
br i1 %18, label %19, label %29
19: ; preds = %14
%20 = load i64, ptr @EI_MAG2, align 8, !tbaa !10
%21 = getelementptr inbounds i8, ptr %8, i64 %20
%22 = load i8, ptr %21, align 1, !tbaa !12
%23 = icmp eq i8 %22, 76
br i1 %23, label %24, label %29
24: ; preds = %19
%25 = load i64, ptr @EI_MAG3, align 8, !tbaa !10
%26 = getelementptr inbounds i8, ptr %8, i64 %25
%27 = load i8, ptr %26, align 1, !tbaa !12
%28 = icmp eq i8 %27, 70
br i1 %28, label %32, label %29
29: ; preds = %24, %19, %14, %7
%30 = load i32, ptr @stderr, align 4, !tbaa !13
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef nonnull @.str.1) #3
br label %52
32: ; preds = %24
%33 = load i64, ptr @EI_CLASS, align 8, !tbaa !10
%34 = getelementptr inbounds i8, ptr %8, i64 %33
%35 = load i8, ptr %34, align 1, !tbaa !12
%36 = sitofp i8 %35 to float
%37 = load float, ptr @ELFCLASS32, align 4, !tbaa !15
%38 = fcmp une float %37, %36
br i1 %38, label %39, label %42
39: ; preds = %32
%40 = load i32, ptr @stderr, align 4, !tbaa !13
%41 = call i32 @fprintf(i32 noundef %40, ptr noundef nonnull @.str.2) #3
br label %52
42: ; preds = %32
%43 = load i64, ptr @EI_DATA, align 8, !tbaa !10
%44 = getelementptr inbounds i8, ptr %8, i64 %43
%45 = load i8, ptr %44, align 1, !tbaa !12
%46 = sitofp i8 %45 to float
%47 = load float, ptr @ELFDATA2LSB, align 4, !tbaa !15
%48 = fcmp une float %47, %46
br i1 %48, label %49, label %52
49: ; preds = %42
%50 = load i32, ptr @stderr, align 4, !tbaa !13
%51 = call i32 @fprintf(i32 noundef %50, ptr noundef nonnull @.str.3) #3
br label %52
52: ; preds = %42, %49, %39, %29, %5
%53 = phi i32 [ 0, %5 ], [ 0, %29 ], [ 0, %39 ], [ 0, %49 ], [ 1, %42 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %53
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(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, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !8, i64 0}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/linux/dos/extr_23523.c_isELF.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/dos/extr_23523.c_isELF.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 }
@.str = private unnamed_addr constant [14 x i8] c"isELF(): read\00", align 1
@EI_MAG0 = common local_unnamed_addr global i64 0, align 8
@ELFMAG0 = common local_unnamed_addr global i8 0, align 1
@EI_MAG1 = common local_unnamed_addr global i64 0, align 8
@EI_MAG2 = common local_unnamed_addr global i64 0, align 8
@EI_MAG3 = common local_unnamed_addr global i64 0, align 8
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"The argument given is not an ELF file !\0A\00", align 1
@EI_CLASS = common local_unnamed_addr global i64 0, align 8
@ELFCLASS32 = common local_unnamed_addr global float 0.000000e+00, align 4
@.str.2 = private unnamed_addr constant [35 x i8] c"Only 32-bit ELF files supported !\0A\00", align 1
@EI_DATA = common local_unnamed_addr global i64 0, align 8
@ELFDATA2LSB = common local_unnamed_addr global float 0.000000e+00, align 4
@.str.3 = private unnamed_addr constant [42 x i8] c"Only little-endian ELF files supported !\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @isELF(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = call i32 @read(i32 noundef %0, ptr noundef nonnull %2, i32 noundef 8) #3
%4 = icmp eq i32 %3, -1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @perror(ptr noundef nonnull @.str) #3
br label %52
7: ; preds = %1
%8 = load ptr, ptr %2, align 8, !tbaa !6
%9 = load i64, ptr @EI_MAG0, align 8, !tbaa !11
%10 = getelementptr inbounds i8, ptr %8, i64 %9
%11 = load i8, ptr %10, align 1, !tbaa !13
%12 = load i8, ptr @ELFMAG0, align 1, !tbaa !13
%13 = icmp eq i8 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %7
%15 = load i64, ptr @EI_MAG1, align 8, !tbaa !11
%16 = getelementptr inbounds i8, ptr %8, i64 %15
%17 = load i8, ptr %16, align 1, !tbaa !13
%18 = icmp eq i8 %17, 69
br i1 %18, label %19, label %29
19: ; preds = %14
%20 = load i64, ptr @EI_MAG2, align 8, !tbaa !11
%21 = getelementptr inbounds i8, ptr %8, i64 %20
%22 = load i8, ptr %21, align 1, !tbaa !13
%23 = icmp eq i8 %22, 76
br i1 %23, label %24, label %29
24: ; preds = %19
%25 = load i64, ptr @EI_MAG3, align 8, !tbaa !11
%26 = getelementptr inbounds i8, ptr %8, i64 %25
%27 = load i8, ptr %26, align 1, !tbaa !13
%28 = icmp eq i8 %27, 70
br i1 %28, label %32, label %29
29: ; preds = %24, %19, %14, %7
%30 = load i32, ptr @stderr, align 4, !tbaa !14
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef nonnull @.str.1) #3
br label %52
32: ; preds = %24
%33 = load i64, ptr @EI_CLASS, align 8, !tbaa !11
%34 = getelementptr inbounds i8, ptr %8, i64 %33
%35 = load i8, ptr %34, align 1, !tbaa !13
%36 = sitofp i8 %35 to float
%37 = load float, ptr @ELFCLASS32, align 4, !tbaa !16
%38 = fcmp une float %37, %36
br i1 %38, label %39, label %42
39: ; preds = %32
%40 = load i32, ptr @stderr, align 4, !tbaa !14
%41 = call i32 @fprintf(i32 noundef %40, ptr noundef nonnull @.str.2) #3
br label %52
42: ; preds = %32
%43 = load i64, ptr @EI_DATA, align 8, !tbaa !11
%44 = getelementptr inbounds i8, ptr %8, i64 %43
%45 = load i8, ptr %44, align 1, !tbaa !13
%46 = sitofp i8 %45 to float
%47 = load float, ptr @ELFDATA2LSB, align 4, !tbaa !16
%48 = fcmp une float %47, %46
br i1 %48, label %49, label %52
49: ; preds = %42
%50 = load i32, ptr @stderr, align 4, !tbaa !14
%51 = call i32 @fprintf(i32 noundef %50, ptr noundef nonnull @.str.3) #3
br label %52
52: ; preds = %42, %49, %39, %29, %5
%53 = phi i32 [ 0, %5 ], [ 0, %29 ], [ 0, %39 ], [ 0, %49 ], [ 1, %42 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %53
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(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, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !9, i64 0}
| exploitdb_exploits_linux_dos_extr_23523.c_isELF |
; ModuleID = 'AnghaBench/linux/fs/extr_eventpoll.c_ep_item_poll.c'
source_filename = "AnghaBench/linux/fs/extr_eventpoll.c_ep_item_poll.c"
target datalayout = "e-m:e-p270:32:32-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.epitem = type { %struct.TYPE_11__, %struct.TYPE_10__ }
%struct.TYPE_11__ = type { i32 }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_12__ = type { i32, i64 }
@ep_ptable_queue_proc = dso_local local_unnamed_addr global i64 0, align 8
@ep_read_events_proc = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ep_item_poll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ep_item_poll(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
store i32 %2, ptr %4, align 4, !tbaa !5
%5 = load i32, ptr %0, align 8, !tbaa !9
store i32 %5, ptr %1, align 8, !tbaa !14
%6 = getelementptr inbounds %struct.epitem, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !17
%8 = tail call i32 @is_file_epoll(ptr noundef %7) #2
%9 = icmp eq i32 %8, 0
%10 = load ptr, ptr %6, align 8, !tbaa !17
br i1 %9, label %11, label %13
11: ; preds = %3
%12 = tail call i32 @vfs_poll(ptr noundef %10, ptr noundef nonnull %1) #2
br label %25
13: ; preds = %3
%14 = load ptr, ptr %10, align 8, !tbaa !18
%15 = tail call i32 @poll_wait(ptr noundef nonnull %10, ptr noundef %14, ptr noundef nonnull %1) #2
%16 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !20
%18 = load i64, ptr @ep_ptable_queue_proc, align 8, !tbaa !21
%19 = icmp eq i64 %17, %18
%20 = zext i1 %19 to i32
%21 = load ptr, ptr %6, align 8, !tbaa !17
%22 = load ptr, ptr %21, align 8, !tbaa !18
%23 = load i32, ptr @ep_read_events_proc, align 4, !tbaa !5
%24 = call i32 @ep_scan_ready_list(ptr noundef %22, i32 noundef %23, ptr noundef nonnull %4, i32 noundef %2, i32 noundef %20) #2
br label %25
25: ; preds = %13, %11
%26 = phi i32 [ %24, %13 ], [ %12, %11 ]
%27 = load i32, ptr %0, align 8, !tbaa !9
%28 = and i32 %27, %26
ret i32 %28
}
declare i32 @is_file_epoll(ptr noundef) local_unnamed_addr #1
declare i32 @vfs_poll(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @poll_wait(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ep_scan_ready_list(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"epitem", !11, i64 0, !12, i64 8}
!11 = !{!"TYPE_11__", !6, i64 0}
!12 = !{!"TYPE_10__", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_12__", !6, i64 0, !16, i64 8}
!16 = !{!"long", !7, i64 0}
!17 = !{!10, !13, i64 8}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_13__", !13, i64 0}
!20 = !{!15, !16, i64 8}
!21 = !{!16, !16, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/extr_eventpoll.c_ep_item_poll.c'
source_filename = "AnghaBench/linux/fs/extr_eventpoll.c_ep_item_poll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ep_ptable_queue_proc = common local_unnamed_addr global i64 0, align 8
@ep_read_events_proc = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ep_item_poll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ep_item_poll(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
store i32 %2, ptr %4, align 4, !tbaa !6
%5 = load i32, ptr %0, align 8, !tbaa !10
store i32 %5, ptr %1, align 8, !tbaa !15
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !18
%8 = tail call i32 @is_file_epoll(ptr noundef %7) #2
%9 = icmp eq i32 %8, 0
%10 = load ptr, ptr %6, align 8, !tbaa !18
br i1 %9, label %11, label %13
11: ; preds = %3
%12 = tail call i32 @vfs_poll(ptr noundef %10, ptr noundef nonnull %1) #2
br label %25
13: ; preds = %3
%14 = load ptr, ptr %10, align 8, !tbaa !19
%15 = tail call i32 @poll_wait(ptr noundef nonnull %10, ptr noundef %14, ptr noundef nonnull %1) #2
%16 = getelementptr inbounds i8, ptr %1, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !21
%18 = load i64, ptr @ep_ptable_queue_proc, align 8, !tbaa !22
%19 = icmp eq i64 %17, %18
%20 = zext i1 %19 to i32
%21 = load ptr, ptr %6, align 8, !tbaa !18
%22 = load ptr, ptr %21, align 8, !tbaa !19
%23 = load i32, ptr @ep_read_events_proc, align 4, !tbaa !6
%24 = call i32 @ep_scan_ready_list(ptr noundef %22, i32 noundef %23, ptr noundef nonnull %4, i32 noundef %2, i32 noundef %20) #2
br label %25
25: ; preds = %13, %11
%26 = phi i32 [ %24, %13 ], [ %12, %11 ]
%27 = load i32, ptr %0, align 8, !tbaa !10
%28 = and i32 %27, %26
ret i32 %28
}
declare i32 @is_file_epoll(ptr noundef) local_unnamed_addr #1
declare i32 @vfs_poll(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @poll_wait(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ep_scan_ready_list(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"epitem", !12, i64 0, !13, i64 8}
!12 = !{!"TYPE_11__", !7, i64 0}
!13 = !{!"TYPE_10__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_12__", !7, i64 0, !17, i64 8}
!17 = !{!"long", !8, i64 0}
!18 = !{!11, !14, i64 8}
!19 = !{!20, !14, i64 0}
!20 = !{!"TYPE_13__", !14, i64 0}
!21 = !{!16, !17, i64 8}
!22 = !{!17, !17, i64 0}
| linux_fs_extr_eventpoll.c_ep_item_poll |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_conn.c_hci_conn_del.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_conn.c_hci_conn_del.c"
target datalayout = "e-m:e-p270:32:32-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.hci_conn = type { i64, i32, ptr, i64, i32, i32, i32, ptr }
%struct.hci_dev = type { i32, ptr, i32, i32 }
@.str = private unnamed_addr constant [21 x i8] c"%s conn %p handle %d\00", align 1
@ACL_LINK = dso_local local_unnamed_addr global i64 0, align 8
@HCI_NOTIFY_CONN_DEL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @hci_conn_del(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.hci_conn, ptr %0, i64 0, i32 7
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.hci_dev, ptr %3, i64 0, i32 3
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = getelementptr inbounds %struct.hci_conn, ptr %0, i64 0, i32 6
%7 = load i32, ptr %6, align 8, !tbaa !14
%8 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %5, ptr noundef %0, i32 noundef %7) #2
%9 = getelementptr inbounds %struct.hci_conn, ptr %0, i64 0, i32 5
%10 = tail call i32 @del_timer(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds %struct.hci_conn, ptr %0, i64 0, i32 4
%12 = tail call i32 @del_timer(ptr noundef nonnull %11) #2
%13 = load i64, ptr %0, align 8, !tbaa !15
%14 = load i64, ptr @ACL_LINK, align 8, !tbaa !16
%15 = icmp eq i64 %13, %14
%16 = getelementptr inbounds %struct.hci_conn, ptr %0, i64 0, i32 2
%17 = load ptr, ptr %16, align 8, !tbaa !17
%18 = icmp eq ptr %17, null
br i1 %15, label %19, label %29
19: ; preds = %1
br i1 %18, label %22, label %20
20: ; preds = %19
%21 = getelementptr inbounds %struct.hci_conn, ptr %17, i64 0, i32 2
store ptr null, ptr %21, align 8, !tbaa !17
br label %22
22: ; preds = %20, %19
%23 = getelementptr inbounds %struct.hci_conn, ptr %0, i64 0, i32 3
%24 = load i64, ptr %23, align 8, !tbaa !18
%25 = getelementptr inbounds %struct.hci_dev, ptr %3, i64 0, i32 2
%26 = load i32, ptr %25, align 8, !tbaa !19
%27 = trunc i64 %24 to i32
%28 = add i32 %26, %27
store i32 %28, ptr %25, align 8, !tbaa !19
br label %33
29: ; preds = %1
br i1 %18, label %33, label %30
30: ; preds = %29
%31 = getelementptr inbounds %struct.hci_conn, ptr %17, i64 0, i32 2
store ptr null, ptr %31, align 8, !tbaa !17
%32 = tail call i32 @hci_conn_put(ptr noundef nonnull %17) #2
br label %33
33: ; preds = %29, %30, %22
%34 = tail call i32 @tasklet_disable(ptr noundef nonnull %3) #2
%35 = tail call i32 @hci_conn_hash_del(ptr noundef nonnull %3, ptr noundef nonnull %0) #2
%36 = getelementptr inbounds %struct.hci_dev, ptr %3, i64 0, i32 1
%37 = load ptr, ptr %36, align 8, !tbaa !20
%38 = icmp eq ptr %37, null
br i1 %38, label %42, label %39
39: ; preds = %33
%40 = load i32, ptr @HCI_NOTIFY_CONN_DEL, align 4, !tbaa !21
%41 = tail call i32 %37(ptr noundef nonnull %3, i32 noundef %40) #2
br label %42
42: ; preds = %39, %33
%43 = tail call i32 @tasklet_enable(ptr noundef nonnull %3) #2
%44 = getelementptr inbounds %struct.hci_conn, ptr %0, i64 0, i32 1
%45 = tail call i32 @skb_queue_purge(ptr noundef nonnull %44) #2
%46 = tail call i32 @hci_conn_put_device(ptr noundef nonnull %0) #2
%47 = tail call i32 @hci_dev_put(ptr noundef nonnull %3) #2
ret i32 0
}
declare i32 @BT_DBG(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @hci_conn_put(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_disable(ptr noundef) local_unnamed_addr #1
declare i32 @hci_conn_hash_del(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_enable(ptr noundef) local_unnamed_addr #1
declare i32 @skb_queue_purge(ptr noundef) local_unnamed_addr #1
declare i32 @hci_conn_put_device(ptr noundef) local_unnamed_addr #1
declare i32 @hci_dev_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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 48}
!6 = !{!"hci_conn", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !11, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !10, i64 20}
!13 = !{!"hci_dev", !10, i64 0, !11, i64 8, !10, i64 16, !10, i64 20}
!14 = !{!6, !10, i64 40}
!15 = !{!6, !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !11, i64 16}
!18 = !{!6, !7, i64 24}
!19 = !{!13, !10, i64 16}
!20 = !{!13, !11, i64 8}
!21 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_conn.c_hci_conn_del.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_hci_conn.c_hci_conn_del.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [21 x i8] c"%s conn %p handle %d\00", align 1
@ACL_LINK = common local_unnamed_addr global i64 0, align 8
@HCI_NOTIFY_CONN_DEL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @hci_conn_del(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 48
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 20
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = getelementptr inbounds i8, ptr %0, i64 40
%7 = load i32, ptr %6, align 8, !tbaa !15
%8 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %5, ptr noundef %0, i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 36
%10 = tail call i32 @del_timer(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = tail call i32 @del_timer(ptr noundef nonnull %11) #2
%13 = load i64, ptr %0, align 8, !tbaa !16
%14 = load i64, ptr @ACL_LINK, align 8, !tbaa !17
%15 = icmp eq i64 %13, %14
%16 = getelementptr inbounds i8, ptr %0, i64 16
%17 = load ptr, ptr %16, align 8, !tbaa !18
%18 = icmp eq ptr %17, null
br i1 %15, label %19, label %29
19: ; preds = %1
br i1 %18, label %22, label %20
20: ; preds = %19
%21 = getelementptr inbounds i8, ptr %17, i64 16
store ptr null, ptr %21, align 8, !tbaa !18
br label %22
22: ; preds = %20, %19
%23 = getelementptr inbounds i8, ptr %0, i64 24
%24 = load i64, ptr %23, align 8, !tbaa !19
%25 = getelementptr inbounds i8, ptr %3, i64 16
%26 = load i32, ptr %25, align 8, !tbaa !20
%27 = trunc i64 %24 to i32
%28 = add i32 %26, %27
store i32 %28, ptr %25, align 8, !tbaa !20
br label %33
29: ; preds = %1
br i1 %18, label %33, label %30
30: ; preds = %29
%31 = getelementptr inbounds i8, ptr %17, i64 16
store ptr null, ptr %31, align 8, !tbaa !18
%32 = tail call i32 @hci_conn_put(ptr noundef nonnull %17) #2
br label %33
33: ; preds = %29, %30, %22
%34 = tail call i32 @tasklet_disable(ptr noundef nonnull %3) #2
%35 = tail call i32 @hci_conn_hash_del(ptr noundef nonnull %3, ptr noundef nonnull %0) #2
%36 = getelementptr inbounds i8, ptr %3, i64 8
%37 = load ptr, ptr %36, align 8, !tbaa !21
%38 = icmp eq ptr %37, null
br i1 %38, label %42, label %39
39: ; preds = %33
%40 = load i32, ptr @HCI_NOTIFY_CONN_DEL, align 4, !tbaa !22
%41 = tail call i32 %37(ptr noundef nonnull %3, i32 noundef %40) #2
br label %42
42: ; preds = %39, %33
%43 = tail call i32 @tasklet_enable(ptr noundef nonnull %3) #2
%44 = getelementptr inbounds i8, ptr %0, i64 8
%45 = tail call i32 @skb_queue_purge(ptr noundef nonnull %44) #2
%46 = tail call i32 @hci_conn_put_device(ptr noundef nonnull %0) #2
%47 = tail call i32 @hci_dev_put(ptr noundef nonnull %3) #2
ret i32 0
}
declare i32 @BT_DBG(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @hci_conn_put(ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_disable(ptr noundef) local_unnamed_addr #1
declare i32 @hci_conn_hash_del(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_enable(ptr noundef) local_unnamed_addr #1
declare i32 @skb_queue_purge(ptr noundef) local_unnamed_addr #1
declare i32 @hci_conn_put_device(ptr noundef) local_unnamed_addr #1
declare i32 @hci_dev_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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 48}
!7 = !{!"hci_conn", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !12, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !11, i64 20}
!14 = !{!"hci_dev", !11, i64 0, !12, i64 8, !11, i64 16, !11, i64 20}
!15 = !{!7, !11, i64 40}
!16 = !{!7, !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !12, i64 16}
!19 = !{!7, !8, i64 24}
!20 = !{!14, !11, i64 16}
!21 = !{!14, !12, i64 8}
!22 = !{!11, !11, i64 0}
| fastsocket_kernel_net_bluetooth_extr_hci_conn.c_hci_conn_del |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ncpfs/extr_ncplib_kernel.c_ncp_add_byte.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ncpfs/extr_ncplib_kernel.c_ncp_add_byte.c"
target datalayout = "e-m:e-p270:32:32-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.ncp_server = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ncp_add_byte], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ncp_add_byte(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @assert_server_locked(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.ncp_server, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr %0, align 8, !tbaa !11
%7 = getelementptr inbounds i32, ptr %5, i64 %6
store i32 %1, ptr %7, align 4, !tbaa !12
%8 = add i64 %6, 1
store i64 %8, ptr %0, align 8, !tbaa !11
ret void
}
declare i32 @assert_server_locked(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 = !{!"ncp_server", !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, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ncpfs/extr_ncplib_kernel.c_ncp_add_byte.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ncpfs/extr_ncplib_kernel.c_ncp_add_byte.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 @ncp_add_byte], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ncp_add_byte(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @assert_server_locked(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr %0, align 8, !tbaa !12
%7 = getelementptr inbounds i32, ptr %5, i64 %6
store i32 %1, ptr %7, align 4, !tbaa !13
%8 = add i64 %6, 1
store i64 %8, ptr %0, align 8, !tbaa !12
ret void
}
declare i32 @assert_server_locked(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 = !{!"ncp_server", !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, !14, i64 0}
!14 = !{!"int", !9, i64 0}
| fastsocket_kernel_fs_ncpfs_extr_ncplib_kernel.c_ncp_add_byte |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/kprobes/extr_common.h_setup_detour_execution.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/kprobes/extr_common.h_setup_detour_execution.c"
target datalayout = "e-m:e-p270:32:32-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 @setup_detour_execution], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @setup_detour_execution(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/kprobes/extr_common.h_setup_detour_execution.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/kprobes/extr_common.h_setup_detour_execution.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 @setup_detour_execution], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @setup_detour_execution(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_x86_kernel_kprobes_extr_common.h_setup_detour_execution |
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_extent_dss.c_extent_dss_mergeable.c'
source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_extent_dss.c_extent_dss_mergeable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@have_dss = dso_local local_unnamed_addr global i32 0, align 4
@dss_base = dso_local local_unnamed_addr global i64 0, align 8
@dss_max = dso_local global i32 0, align 4
@ATOMIC_ACQUIRE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @extent_dss_mergeable(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @have_dss, align 4, !tbaa !5
%4 = tail call i32 @cassert(i32 noundef %3) #2
%5 = ptrtoint ptr %0 to i64
%6 = load i64, ptr @dss_base, align 8, !tbaa !9
%7 = icmp ugt i64 %6, %5
%8 = ptrtoint ptr %1 to i64
%9 = icmp ugt i64 %6, %8
%10 = and i1 %7, %9
br i1 %10, label %18, label %11
11: ; preds = %2
%12 = load i32, ptr @ATOMIC_ACQUIRE, align 4, !tbaa !5
%13 = tail call ptr @atomic_load_p(ptr noundef nonnull @dss_max, i32 noundef %12) #2
%14 = tail call i64 @extent_in_dss_helper(ptr noundef %0, ptr noundef %13) #2
%15 = tail call i64 @extent_in_dss_helper(ptr noundef %1, ptr noundef %13) #2
%16 = icmp eq i64 %14, %15
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %2, %11
%19 = phi i32 [ %17, %11 ], [ 1, %2 ]
ret i32 %19
}
declare i32 @cassert(i32 noundef) local_unnamed_addr #1
declare ptr @atomic_load_p(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @extent_in_dss_helper(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_extent_dss.c_extent_dss_mergeable.c'
source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_extent_dss.c_extent_dss_mergeable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@have_dss = common local_unnamed_addr global i32 0, align 4
@dss_base = common local_unnamed_addr global i64 0, align 8
@dss_max = common global i32 0, align 4
@ATOMIC_ACQUIRE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @extent_dss_mergeable(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @have_dss, align 4, !tbaa !6
%4 = tail call i32 @cassert(i32 noundef %3) #2
%5 = ptrtoint ptr %0 to i64
%6 = load i64, ptr @dss_base, align 8, !tbaa !10
%7 = icmp ugt i64 %6, %5
%8 = ptrtoint ptr %1 to i64
%9 = icmp ugt i64 %6, %8
%10 = and i1 %7, %9
br i1 %10, label %18, label %11
11: ; preds = %2
%12 = load i32, ptr @ATOMIC_ACQUIRE, align 4, !tbaa !6
%13 = tail call ptr @atomic_load_p(ptr noundef nonnull @dss_max, i32 noundef %12) #2
%14 = tail call i64 @extent_in_dss_helper(ptr noundef %0, ptr noundef %13) #2
%15 = tail call i64 @extent_in_dss_helper(ptr noundef %1, ptr noundef %13) #2
%16 = icmp eq i64 %14, %15
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %2, %11
%19 = phi i32 [ %17, %11 ], [ 1, %2 ]
ret i32 %19
}
declare i32 @cassert(i32 noundef) local_unnamed_addr #1
declare ptr @atomic_load_p(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @extent_in_dss_helper(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| freebsd_contrib_jemalloc_src_extr_extent_dss.c_extent_dss_mergeable |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_cyber2000fb.c_cyber2000_attrw.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_cyber2000fb.c_cyber2000_attrw.c"
target datalayout = "e-m:e-p270:32:32-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 @cyber2000_attrw], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @cyber2000_attrw(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @cyber2000fb_readb(i32 noundef 986, ptr noundef %2) #2
%5 = tail call i32 @cyber2000fb_writeb(i32 noundef %0, i32 noundef 960, ptr noundef %2) #2
%6 = tail call i32 @cyber2000fb_readb(i32 noundef 961, ptr noundef %2) #2
%7 = tail call i32 @cyber2000fb_writeb(i32 noundef %1, i32 noundef 960, ptr noundef %2) #2
ret void
}
declare i32 @cyber2000fb_readb(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cyber2000fb_writeb(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_cyber2000fb.c_cyber2000_attrw.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_cyber2000fb.c_cyber2000_attrw.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 @cyber2000_attrw], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @cyber2000_attrw(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @cyber2000fb_readb(i32 noundef 986, ptr noundef %2) #2
%5 = tail call i32 @cyber2000fb_writeb(i32 noundef %0, i32 noundef 960, ptr noundef %2) #2
%6 = tail call i32 @cyber2000fb_readb(i32 noundef 961, ptr noundef %2) #2
%7 = tail call i32 @cyber2000fb_writeb(i32 noundef %1, i32 noundef 960, ptr noundef %2) #2
ret void
}
declare i32 @cyber2000fb_readb(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @cyber2000fb_writeb(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_video_fbdev_extr_cyber2000fb.c_cyber2000_attrw |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hid/extr_hidraw.c_hidraw_disconnect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hid/extr_hidraw.c_hidraw_disconnect.c"
target datalayout = "e-m:e-p270:32:32-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.hid_device = type { ptr, ptr }
%struct.hidraw = type { i64, i32, i64, i64 }
@minors_lock = dso_local global i32 0, align 4
@hidraw_class = dso_local local_unnamed_addr global i32 0, align 4
@hidraw_major = dso_local local_unnamed_addr global i32 0, align 4
@hidraw_table = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @hidraw_disconnect(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.hid_device, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @mutex_lock(ptr noundef nonnull @minors_lock) #2
%5 = getelementptr inbounds %struct.hidraw, ptr %3, i64 0, i32 3
store i64 0, ptr %5, align 8, !tbaa !10
%6 = load i32, ptr @hidraw_class, align 4, !tbaa !14
%7 = load i32, ptr @hidraw_major, align 4, !tbaa !14
%8 = load i64, ptr %3, align 8, !tbaa !15
%9 = tail call i32 @MKDEV(i32 noundef %7, i64 noundef %8) #2
%10 = tail call i32 @device_destroy(i32 noundef %6, i32 noundef %9) #2
%11 = load ptr, ptr @hidraw_table, align 8, !tbaa !16
%12 = load i64, ptr %3, align 8, !tbaa !15
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
store ptr null, ptr %13, align 8, !tbaa !16
%14 = getelementptr inbounds %struct.hidraw, ptr %3, i64 0, i32 2
%15 = load i64, ptr %14, align 8, !tbaa !17
%16 = icmp eq i64 %15, 0
br i1 %16, label %23, label %17
17: ; preds = %1
%18 = load ptr, ptr %0, align 8, !tbaa !18
%19 = load ptr, ptr %18, align 8, !tbaa !19
%20 = tail call i32 %19(ptr noundef nonnull %0) #2
%21 = getelementptr inbounds %struct.hidraw, ptr %3, i64 0, i32 1
%22 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %21) #2
br label %25
23: ; preds = %1
%24 = tail call i32 @kfree(ptr noundef nonnull %3) #2
br label %25
25: ; preds = %23, %17
%26 = tail call i32 @mutex_unlock(ptr noundef nonnull @minors_lock) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @device_destroy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MKDEV(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"hid_device", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 24}
!11 = !{!"hidraw", !12, i64 0, !13, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !12, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!11, !12, i64 16}
!18 = !{!6, !7, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hid/extr_hidraw.c_hidraw_disconnect.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hid/extr_hidraw.c_hidraw_disconnect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@minors_lock = common global i32 0, align 4
@hidraw_class = common local_unnamed_addr global i32 0, align 4
@hidraw_major = common local_unnamed_addr global i32 0, align 4
@hidraw_table = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @hidraw_disconnect(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @mutex_lock(ptr noundef nonnull @minors_lock) #2
%5 = getelementptr inbounds i8, ptr %3, i64 24
store i64 0, ptr %5, align 8, !tbaa !11
%6 = load i32, ptr @hidraw_class, align 4, !tbaa !15
%7 = load i32, ptr @hidraw_major, align 4, !tbaa !15
%8 = load i64, ptr %3, align 8, !tbaa !16
%9 = tail call i32 @MKDEV(i32 noundef %7, i64 noundef %8) #2
%10 = tail call i32 @device_destroy(i32 noundef %6, i32 noundef %9) #2
%11 = load ptr, ptr @hidraw_table, align 8, !tbaa !17
%12 = load i64, ptr %3, align 8, !tbaa !16
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
store ptr null, ptr %13, align 8, !tbaa !17
%14 = getelementptr inbounds i8, ptr %3, i64 16
%15 = load i64, ptr %14, align 8, !tbaa !18
%16 = icmp eq i64 %15, 0
br i1 %16, label %23, label %17
17: ; preds = %1
%18 = load ptr, ptr %0, align 8, !tbaa !19
%19 = load ptr, ptr %18, align 8, !tbaa !20
%20 = tail call i32 %19(ptr noundef nonnull %0) #2
%21 = getelementptr inbounds i8, ptr %3, i64 8
%22 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %21) #2
br label %25
23: ; preds = %1
%24 = tail call i32 @kfree(ptr noundef nonnull %3) #2
br label %25
25: ; preds = %23, %17
%26 = tail call i32 @mutex_unlock(ptr noundef nonnull @minors_lock) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @device_destroy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MKDEV(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"hid_device", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 24}
!12 = !{!"hidraw", !13, i64 0, !14, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !13, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!12, !13, i64 16}
!19 = !{!7, !8, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"TYPE_2__", !8, i64 0}
| fastsocket_kernel_drivers_hid_extr_hidraw.c_hidraw_disconnect |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/tui/extr_tui.c_tui_rl_switch_mode.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/tui/extr_tui.c_tui_rl_switch_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@tui_active = dso_local local_unnamed_addr global i64 0, align 8
@rl_end = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @tui_rl_switch_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @tui_rl_switch_mode(i32 %0, i32 %1) #0 {
%3 = load i64, ptr @tui_active, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = tail call i32 (...) @tui_disable() #2
%7 = tail call i32 @rl_prep_terminal(i32 noundef 0) #2
br label %11
8: ; preds = %2
%9 = tail call i32 (...) @rl_deprep_terminal() #2
%10 = tail call i32 (...) @tui_enable() #2
br label %11
11: ; preds = %8, %5
%12 = load i64, ptr @rl_end, align 8, !tbaa !5
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @rl_kill_text(i32 noundef 0, i64 noundef %12) #2
br label %16
16: ; preds = %14, %11
%17 = tail call i32 @rl_newline(i32 noundef 1, i8 noundef signext 10) #2
%18 = tail call i32 (...) @dont_repeat() #2
ret i32 0
}
declare i32 @tui_disable(...) local_unnamed_addr #1
declare i32 @rl_prep_terminal(i32 noundef) local_unnamed_addr #1
declare i32 @rl_deprep_terminal(...) local_unnamed_addr #1
declare i32 @tui_enable(...) local_unnamed_addr #1
declare i32 @rl_kill_text(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @rl_newline(i32 noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @dont_repeat(...) 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/freebsd/contrib/gdb/gdb/tui/extr_tui.c_tui_rl_switch_mode.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/tui/extr_tui.c_tui_rl_switch_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tui_active = common local_unnamed_addr global i64 0, align 8
@rl_end = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @tui_rl_switch_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @tui_rl_switch_mode(i32 %0, i32 %1) #0 {
%3 = load i64, ptr @tui_active, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = tail call i32 @tui_disable() #2
%7 = tail call i32 @rl_prep_terminal(i32 noundef 0) #2
br label %11
8: ; preds = %2
%9 = tail call i32 @rl_deprep_terminal() #2
%10 = tail call i32 @tui_enable() #2
br label %11
11: ; preds = %8, %5
%12 = load i64, ptr @rl_end, align 8, !tbaa !6
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @rl_kill_text(i32 noundef 0, i64 noundef %12) #2
br label %16
16: ; preds = %14, %11
%17 = tail call i32 @rl_newline(i32 noundef 1, i8 noundef signext 10) #2
%18 = tail call i32 @dont_repeat() #2
ret i32 0
}
declare i32 @tui_disable(...) local_unnamed_addr #1
declare i32 @rl_prep_terminal(i32 noundef) local_unnamed_addr #1
declare i32 @rl_deprep_terminal(...) local_unnamed_addr #1
declare i32 @tui_enable(...) local_unnamed_addr #1
declare i32 @rl_kill_text(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @rl_newline(i32 noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @dont_repeat(...) 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"}
| freebsd_contrib_gdb_gdb_tui_extr_tui.c_tui_rl_switch_mode |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ath9k.h_ath_txq_unlock.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ath9k.h_ath_txq_unlock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath_txq_unlock], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @ath_txq_unlock(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = tail call i32 @spin_unlock_bh(ptr noundef %1) #2
ret void
}
declare i32 @spin_unlock_bh(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/ath/ath9k/extr_ath9k.h_ath_txq_unlock.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_ath9k.h_ath_txq_unlock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ath_txq_unlock], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @ath_txq_unlock(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = tail call i32 @spin_unlock_bh(ptr noundef %1) #2
ret void
}
declare i32 @spin_unlock_bh(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_ath_ath9k_extr_ath9k.h_ath_txq_unlock |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_main.c_iavf_allocate_dma_mem_d.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_main.c_iavf_allocate_dma_mem_d.c"
target datalayout = "e-m:e-p270:32:32-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.iavf_dma_mem = type { i64, i32, i32 }
@IAVF_ERR_PARAM = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@IAVF_ERR_NO_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @iavf_allocate_dma_mem_d(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp eq ptr %1, null
br i1 %5, label %6, label %8
6: ; preds = %4
%7 = load i32, ptr @IAVF_ERR_PARAM, align 4, !tbaa !5
br label %20
8: ; preds = %4
%9 = load i64, ptr %0, align 8, !tbaa !9
%10 = inttoptr i64 %9 to ptr
%11 = tail call i32 @ALIGN(i32 noundef %2, i32 noundef %3) #2
%12 = getelementptr inbounds %struct.iavf_dma_mem, ptr %1, i64 0, i32 2
store i32 %11, ptr %12, align 4, !tbaa !12
%13 = load ptr, ptr %10, align 8, !tbaa !14
%14 = getelementptr inbounds %struct.iavf_dma_mem, ptr %1, i64 0, i32 1
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%16 = tail call i64 @dma_alloc_coherent(ptr noundef %13, i32 noundef %11, ptr noundef nonnull %14, i32 noundef %15) #2
store i64 %16, ptr %1, align 8, !tbaa !17
%17 = icmp eq i64 %16, 0
%18 = load i32, ptr @IAVF_ERR_NO_MEMORY, align 4
%19 = select i1 %17, i32 %18, i32 0
br label %20
20: ; preds = %8, %6
%21 = phi i32 [ %7, %6 ], [ %19, %8 ]
ret i32 %21
}
declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @dma_alloc_coherent(ptr 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 0}
!10 = !{!"iavf_hw", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !6, i64 12}
!13 = !{!"iavf_dma_mem", !11, i64 0, !6, i64 8, !6, i64 12}
!14 = !{!15, !16, i64 0}
!15 = !{!"iavf_adapter", !16, i64 0}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!13, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_main.c_iavf_allocate_dma_mem_d.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_main.c_iavf_allocate_dma_mem_d.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IAVF_ERR_PARAM = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@IAVF_ERR_NO_MEMORY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @iavf_allocate_dma_mem_d(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = icmp eq ptr %1, null
br i1 %5, label %6, label %8
6: ; preds = %4
%7 = load i32, ptr @IAVF_ERR_PARAM, align 4, !tbaa !6
br label %20
8: ; preds = %4
%9 = load i64, ptr %0, align 8, !tbaa !10
%10 = inttoptr i64 %9 to ptr
%11 = tail call i32 @ALIGN(i32 noundef %2, i32 noundef %3) #2
%12 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %11, ptr %12, align 4, !tbaa !13
%13 = load ptr, ptr %10, align 8, !tbaa !15
%14 = getelementptr inbounds i8, ptr %1, i64 8
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%16 = tail call i64 @dma_alloc_coherent(ptr noundef %13, i32 noundef %11, ptr noundef nonnull %14, i32 noundef %15) #2
store i64 %16, ptr %1, align 8, !tbaa !18
%17 = icmp eq i64 %16, 0
%18 = load i32, ptr @IAVF_ERR_NO_MEMORY, align 4
%19 = select i1 %17, i32 %18, i32 0
br label %20
20: ; preds = %8, %6
%21 = phi i32 [ %7, %6 ], [ %19, %8 ]
ret i32 %21
}
declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @dma_alloc_coherent(ptr 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 0}
!11 = !{!"iavf_hw", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 12}
!14 = !{!"iavf_dma_mem", !12, i64 0, !7, i64 8, !7, i64 12}
!15 = !{!16, !17, i64 0}
!16 = !{!"iavf_adapter", !17, i64 0}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!14, !12, i64 0}
| linux_drivers_net_ethernet_intel_iavf_extr_iavf_main.c_iavf_allocate_dma_mem_d |
; ModuleID = 'AnghaBench/linux/arch/arm/common/extr_krait-l2-accessors.c_krait_set_l2_indirect_reg.c'
source_filename = "AnghaBench/linux/arch/arm/common/extr_krait-l2-accessors.c_krait_set_l2_indirect_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@krait_l2_lock = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @krait_set_l2_indirect_reg(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @raw_spin_lock_irqsave(ptr noundef nonnull @krait_l2_lock, i64 noundef undef) #2
tail call void asm sideeffect "mcr p15, 3, $0, c15, c0, 6 @ l2cpselr", "r,~{dirflag},~{fpsr},~{flags}"(i32 %0) #2, !srcloc !5
%4 = tail call i32 (...) @isb() #2
tail call void asm sideeffect "mcr p15, 3, $0, c15, c0, 7 @ l2cpdr", "r,~{dirflag},~{fpsr},~{flags}"(i32 %1) #2, !srcloc !6
%5 = tail call i32 (...) @isb() #2
%6 = tail call i32 @raw_spin_unlock_irqrestore(ptr noundef nonnull @krait_l2_lock, i64 noundef undef) #2
ret void
}
declare i32 @raw_spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @isb(...) local_unnamed_addr #1
declare i32 @raw_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 = !{i64 900}
!6 = !{i64 980}
| ; ModuleID = 'AnghaBench/linux/arch/arm/common/extr_krait-l2-accessors.c_krait_set_l2_indirect_reg.c'
source_filename = "AnghaBench/linux/arch/arm/common/extr_krait-l2-accessors.c_krait_set_l2_indirect_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@krait_l2_lock = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @krait_set_l2_indirect_reg(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @raw_spin_lock_irqsave(ptr noundef nonnull @krait_l2_lock, i64 noundef undef) #2
tail call void asm sideeffect "mcr p15, 3, $0, c15, c0, 6 @ l2cpselr", "r"(i32 %0) #2, !srcloc !6
%4 = tail call i32 @isb() #2
tail call void asm sideeffect "mcr p15, 3, $0, c15, c0, 7 @ l2cpdr", "r"(i32 %1) #2, !srcloc !7
%5 = tail call i32 @isb() #2
%6 = tail call i32 @raw_spin_unlock_irqrestore(ptr noundef nonnull @krait_l2_lock, i64 noundef undef) #2
ret void
}
declare i32 @raw_spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @isb(...) local_unnamed_addr #1
declare i32 @raw_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 = !{i64 900}
!7 = !{i64 980}
| linux_arch_arm_common_extr_krait-l2-accessors.c_krait_set_l2_indirect_reg |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_u132-hcd.c_queue_bulk_on_old_endpoint.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_u132-hcd.c_queue_bulk_on_old_endpoint.c"
target datalayout = "e-m:e-p270:32:32-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.u132_endp = type { i32, i64, i32, ptr }
%struct.u132_urbq = type { ptr, i32 }
@ENDP_QUEUE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@ENDP_QUEUE_MASK = dso_local local_unnamed_addr global i64 0, align 8
@GFP_ATOMIC = 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 @queue_bulk_on_old_endpoint], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @queue_bulk_on_old_endpoint(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, ptr nocapture readnone %3, ptr noundef %4, i32 %5, i32 %6, i32 %7) #0 {
store ptr %0, ptr %2, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.u132_endp, ptr %4, i64 0, i32 1
%10 = load i64, ptr %9, align 8, !tbaa !10
%11 = add nsw i64 %10, 1
store i64 %11, ptr %9, align 8, !tbaa !10
%12 = load i64, ptr @ENDP_QUEUE_SIZE, align 8, !tbaa !14
%13 = icmp slt i64 %10, %12
br i1 %13, label %14, label %24
14: ; preds = %8
%15 = getelementptr inbounds %struct.u132_endp, ptr %4, i64 0, i32 3
%16 = load ptr, ptr %15, align 8, !tbaa !15
%17 = load i64, ptr @ENDP_QUEUE_MASK, align 8, !tbaa !14
%18 = getelementptr inbounds %struct.u132_endp, ptr %4, i64 0, i32 2
%19 = load i32, ptr %18, align 8, !tbaa !16
%20 = add nsw i32 %19, 1
store i32 %20, ptr %18, align 8, !tbaa !16
%21 = sext i32 %19 to i64
%22 = and i64 %17, %21
%23 = getelementptr inbounds ptr, ptr %16, i64 %22
store ptr %2, ptr %23, align 8, !tbaa !17
br label %36
24: ; preds = %8
%25 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !18
%26 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %25) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = getelementptr inbounds %struct.u132_urbq, ptr %26, i64 0, i32 1
%30 = tail call i32 @list_add_tail(ptr noundef nonnull %29, ptr noundef nonnull %4) #2
store ptr %2, ptr %26, align 8, !tbaa !19
br label %36
31: ; preds = %24
%32 = load i64, ptr %9, align 8, !tbaa !10
%33 = add nsw i64 %32, -1
store i64 %33, ptr %9, align 8, !tbaa !10
%34 = load i32, ptr @ENOMEM, align 4, !tbaa !18
%35 = sub nsw i32 0, %34
br label %36
36: ; preds = %14, %28, %31
%37 = phi i32 [ %35, %31 ], [ 0, %28 ], [ 0, %14 ]
ret i32 %37
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(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 = !{!"urb", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"u132_endp", !12, i64 0, !13, i64 8, !12, i64 16, !7, i64 24}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !7, i64 24}
!16 = !{!11, !12, i64 16}
!17 = !{!7, !7, i64 0}
!18 = !{!12, !12, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"u132_urbq", !7, i64 0, !12, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/host/extr_u132-hcd.c_queue_bulk_on_old_endpoint.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/host/extr_u132-hcd.c_queue_bulk_on_old_endpoint.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENDP_QUEUE_SIZE = common local_unnamed_addr global i64 0, align 8
@ENDP_QUEUE_MASK = common local_unnamed_addr global i64 0, align 8
@GFP_ATOMIC = 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 @queue_bulk_on_old_endpoint], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @queue_bulk_on_old_endpoint(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, ptr nocapture readnone %3, ptr noundef %4, i32 %5, i32 %6, i32 %7) #0 {
store ptr %0, ptr %2, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %4, i64 8
%10 = load i64, ptr %9, align 8, !tbaa !11
%11 = add nsw i64 %10, 1
store i64 %11, ptr %9, align 8, !tbaa !11
%12 = load i64, ptr @ENDP_QUEUE_SIZE, align 8, !tbaa !15
%13 = icmp slt i64 %10, %12
br i1 %13, label %14, label %24
14: ; preds = %8
%15 = getelementptr inbounds i8, ptr %4, i64 24
%16 = load ptr, ptr %15, align 8, !tbaa !16
%17 = load i64, ptr @ENDP_QUEUE_MASK, align 8, !tbaa !15
%18 = getelementptr inbounds i8, ptr %4, i64 16
%19 = load i32, ptr %18, align 8, !tbaa !17
%20 = add nsw i32 %19, 1
store i32 %20, ptr %18, align 8, !tbaa !17
%21 = sext i32 %19 to i64
%22 = and i64 %17, %21
%23 = getelementptr inbounds ptr, ptr %16, i64 %22
store ptr %2, ptr %23, align 8, !tbaa !18
br label %36
24: ; preds = %8
%25 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !19
%26 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %25) #2
%27 = icmp eq ptr %26, null
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = getelementptr inbounds i8, ptr %26, i64 8
%30 = tail call i32 @list_add_tail(ptr noundef nonnull %29, ptr noundef nonnull %4) #2
store ptr %2, ptr %26, align 8, !tbaa !20
br label %36
31: ; preds = %24
%32 = load i64, ptr %9, align 8, !tbaa !11
%33 = add nsw i64 %32, -1
store i64 %33, ptr %9, align 8, !tbaa !11
%34 = load i32, ptr @ENOMEM, align 4, !tbaa !19
%35 = sub nsw i32 0, %34
br label %36
36: ; preds = %14, %28, %31
%37 = phi i32 [ %35, %31 ], [ 0, %28 ], [ 0, %14 ]
ret i32 %37
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(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 = !{!"urb", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"u132_endp", !13, i64 0, !14, i64 8, !13, i64 16, !8, i64 24}
!13 = !{!"int", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !8, i64 24}
!17 = !{!12, !13, i64 16}
!18 = !{!8, !8, i64 0}
!19 = !{!13, !13, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"u132_urbq", !8, i64 0, !13, i64 8}
| fastsocket_kernel_drivers_usb_host_extr_u132-hcd.c_queue_bulk_on_old_endpoint |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_cx24116.c_cx24116_get_algo.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_cx24116.c_cx24116_get_algo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DVBFE_ALGO_HW = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cx24116_get_algo], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @cx24116_get_algo(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @DVBFE_ALGO_HW, align 4, !tbaa !5
ret i32 %2
}
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/media/dvb/frontends/extr_cx24116.c_cx24116_get_algo.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_cx24116.c_cx24116_get_algo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DVBFE_ALGO_HW = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cx24116_get_algo], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @cx24116_get_algo(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @DVBFE_ALGO_HW, align 4, !tbaa !6
ret i32 %2
}
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_media_dvb_frontends_extr_cx24116.c_cx24116_get_algo |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_x_int64.c_uint32_print.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_x_int64.c_uint32_print.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@INTxx_FLAG_SIGNED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @uint32_print], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @uint32_print(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 %3, ptr nocapture readnone %4) #0 {
%6 = load i32, ptr %2, align 4, !tbaa !5
%7 = load i32, ptr @INTxx_FLAG_SIGNED, align 4, !tbaa !10
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, %7
%10 = load ptr, ptr %1, align 8, !tbaa !11
%11 = load i32, ptr %10, align 4, !tbaa !10
%12 = select i1 %9, ptr @.str, ptr @.str.1
%13 = tail call i32 @BIO_printf(ptr noundef %0, ptr noundef nonnull %12, i32 noundef %11) #2
ret i32 %13
}
declare i32 @BIO_printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_x_int64.c_uint32_print.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_x_int64.c_uint32_print.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTxx_FLAG_SIGNED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @uint32_print], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @uint32_print(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 %3, ptr nocapture readnone %4) #0 {
%6 = load i32, ptr %2, align 4, !tbaa !6
%7 = load i32, ptr @INTxx_FLAG_SIGNED, align 4, !tbaa !11
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, %7
%10 = load ptr, ptr %1, align 8, !tbaa !12
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = select i1 %9, ptr @.str, ptr @.str.1
%13 = tail call i32 @BIO_printf(ptr noundef %0, ptr noundef nonnull %12, i32 noundef %11) #2
ret i32 %13
}
declare i32 @BIO_printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
| freebsd_crypto_openssl_crypto_asn1_extr_x_int64.c_uint32_print |
; ModuleID = 'AnghaBench/systemd/src/import/extr_pull-job.c_pull_job_restart.c'
source_filename = "AnghaBench/systemd/src/import/extr_pull-job.c_pull_job_restart.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, i64, i64, i64, i64, i32, i32 }
@.str = private unnamed_addr constant [11 x i8] c"SHA256SUMS\00", align 1
@PULL_JOB_INIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pull_job_restart], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pull_job_restart(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
store ptr null, ptr %2, align 8, !tbaa !5
%3 = load ptr, ptr %0, align 8, !tbaa !9
%4 = call i32 @import_url_change_last_component(ptr noundef %3, ptr noundef nonnull @.str, ptr noundef nonnull %2) #5
%5 = icmp slt i32 %4, 0
br i1 %5, label %18, label %6
6: ; preds = %1
%7 = load ptr, ptr %0, align 8, !tbaa !9
%8 = call i32 @free(ptr noundef %7) #5
%9 = load ptr, ptr %2, align 8, !tbaa !5
store ptr %9, ptr %0, align 8, !tbaa !9
%10 = load i32, ptr @PULL_JOB_INIT, align 4, !tbaa !13
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 6
store i32 %10, ptr %11, align 4, !tbaa !14
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 5
%13 = load i32, ptr %12, align 8, !tbaa !15
%14 = call i32 @mfree(i32 noundef %13) #5
store i32 %14, ptr %12, align 8, !tbaa !15
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %15, i8 0, i64 32, i1 false)
%16 = call i32 @pull_job_begin(ptr noundef nonnull %0) #5
%17 = call i32 @llvm.smin.i32(i32 %16, i32 0)
br label %18
18: ; preds = %6, %1
%19 = phi i32 [ %4, %1 ], [ %17, %6 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @import_url_change_last_component(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @mfree(i32 noundef) local_unnamed_addr #2
declare i32 @pull_job_begin(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_4__", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !12, i64 44}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!10, !12, i64 44}
!15 = !{!10, !12, i64 40}
| ; ModuleID = 'AnghaBench/systemd/src/import/extr_pull-job.c_pull_job_restart.c'
source_filename = "AnghaBench/systemd/src/import/extr_pull-job.c_pull_job_restart.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 [11 x i8] c"SHA256SUMS\00", align 1
@PULL_JOB_INIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pull_job_restart], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @pull_job_restart(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
store ptr null, ptr %2, align 8, !tbaa !6
%3 = load ptr, ptr %0, align 8, !tbaa !10
%4 = call i32 @import_url_change_last_component(ptr noundef %3, ptr noundef nonnull @.str, ptr noundef nonnull %2) #5
%5 = icmp slt i32 %4, 0
br i1 %5, label %18, label %6
6: ; preds = %1
%7 = load ptr, ptr %0, align 8, !tbaa !10
%8 = call i32 @free(ptr noundef %7) #5
%9 = load ptr, ptr %2, align 8, !tbaa !6
store ptr %9, ptr %0, align 8, !tbaa !10
%10 = load i32, ptr @PULL_JOB_INIT, align 4, !tbaa !14
%11 = getelementptr inbounds i8, ptr %0, i64 44
store i32 %10, ptr %11, align 4, !tbaa !15
%12 = getelementptr inbounds i8, ptr %0, i64 40
%13 = load i32, ptr %12, align 8, !tbaa !16
%14 = call i32 @mfree(i32 noundef %13) #5
store i32 %14, ptr %12, align 8, !tbaa !16
%15 = getelementptr inbounds i8, ptr %0, i64 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %15, i8 0, i64 32, i1 false)
%16 = call i32 @pull_job_begin(ptr noundef nonnull %0) #5
%17 = call i32 @llvm.smin.i32(i32 %16, i32 0)
br label %18
18: ; preds = %6, %1
%19 = phi i32 [ %4, %1 ], [ %17, %6 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @import_url_change_last_component(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i32 @mfree(i32 noundef) local_unnamed_addr #2
declare i32 @pull_job_begin(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !13, i64 44}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !13, i64 44}
!16 = !{!11, !13, i64 40}
| systemd_src_import_extr_pull-job.c_pull_job_restart |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixgbe/extr_ixgbe_82598.c_ixgbe_clear_vfta_82598.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixgbe/extr_ixgbe_82598.c_ixgbe_clear_vfta_82598.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"ixgbe_clear_vfta_82598\00", align 1
@IXGBE_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbe_clear_vfta_82598], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ixgbe_clear_vfta_82598(ptr noundef %0) #0 {
%2 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = icmp sgt i64 %3, 0
br i1 %4, label %7, label %48
5: ; preds = %7
%6 = icmp sgt i64 %12, 0
br i1 %6, label %14, label %48
7: ; preds = %1, %7
%8 = phi i64 [ %11, %7 ], [ 0, %1 ]
%9 = tail call i32 @IXGBE_VFTA(i64 noundef %8) #2
%10 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %9, i32 noundef 0) #2
%11 = add nuw nsw i64 %8, 1
%12 = load i64, ptr %0, align 8, !tbaa !5
%13 = icmp slt i64 %11, %12
br i1 %13, label %7, label %5, !llvm.loop !11
14: ; preds = %5, %14
%15 = phi i64 [ %18, %14 ], [ 0, %5 ]
%16 = tail call i32 @IXGBE_VFTAVIND(i64 noundef 0, i64 noundef %15) #2
%17 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 0) #2
%18 = add nuw nsw i64 %15, 1
%19 = load i64, ptr %0, align 8, !tbaa !5
%20 = icmp slt i64 %18, %19
br i1 %20, label %14, label %21, !llvm.loop !13
21: ; preds = %14
%22 = icmp sgt i64 %19, 0
br i1 %22, label %23, label %48
23: ; preds = %21, %23
%24 = phi i64 [ %27, %23 ], [ 0, %21 ]
%25 = tail call i32 @IXGBE_VFTAVIND(i64 noundef 1, i64 noundef %24) #2
%26 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %25, i32 noundef 0) #2
%27 = add nuw nsw i64 %24, 1
%28 = load i64, ptr %0, align 8, !tbaa !5
%29 = icmp slt i64 %27, %28
br i1 %29, label %23, label %30, !llvm.loop !13
30: ; preds = %23
%31 = icmp sgt i64 %28, 0
br i1 %31, label %32, label %48
32: ; preds = %30, %32
%33 = phi i64 [ %36, %32 ], [ 0, %30 ]
%34 = tail call i32 @IXGBE_VFTAVIND(i64 noundef 2, i64 noundef %33) #2
%35 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %34, i32 noundef 0) #2
%36 = add nuw nsw i64 %33, 1
%37 = load i64, ptr %0, align 8, !tbaa !5
%38 = icmp slt i64 %36, %37
br i1 %38, label %32, label %39, !llvm.loop !13
39: ; preds = %32
%40 = icmp sgt i64 %37, 0
br i1 %40, label %41, label %48
41: ; preds = %39, %41
%42 = phi i64 [ %45, %41 ], [ 0, %39 ]
%43 = tail call i32 @IXGBE_VFTAVIND(i64 noundef 3, i64 noundef %42) #2
%44 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %43, i32 noundef 0) #2
%45 = add nuw nsw i64 %42, 1
%46 = load i64, ptr %0, align 8, !tbaa !5
%47 = icmp slt i64 %45, %46
br i1 %47, label %41, label %48, !llvm.loop !13
48: ; preds = %41, %1, %5, %21, %30, %39
%49 = load i32, ptr @IXGBE_SUCCESS, align 4, !tbaa !14
ret i32 %49
}
declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1
declare i32 @IXGBE_WRITE_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IXGBE_VFTA(i64 noundef) local_unnamed_addr #1
declare i32 @IXGBE_VFTAVIND(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"ixgbe_hw", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ixgbe/extr_ixgbe_82598.c_ixgbe_clear_vfta_82598.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixgbe/extr_ixgbe_82598.c_ixgbe_clear_vfta_82598.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"ixgbe_clear_vfta_82598\00", align 1
@IXGBE_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ixgbe_clear_vfta_82598], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ixgbe_clear_vfta_82598(ptr noundef %0) #0 {
%2 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = icmp sgt i64 %3, 0
br i1 %4, label %7, label %48
5: ; preds = %7
%6 = icmp sgt i64 %12, 0
br i1 %6, label %14, label %48
7: ; preds = %1, %7
%8 = phi i64 [ %11, %7 ], [ 0, %1 ]
%9 = tail call i32 @IXGBE_VFTA(i64 noundef %8) #2
%10 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %9, i32 noundef 0) #2
%11 = add nuw nsw i64 %8, 1
%12 = load i64, ptr %0, align 8, !tbaa !6
%13 = icmp slt i64 %11, %12
br i1 %13, label %7, label %5, !llvm.loop !12
14: ; preds = %5, %14
%15 = phi i64 [ %18, %14 ], [ 0, %5 ]
%16 = tail call i32 @IXGBE_VFTAVIND(i64 noundef 0, i64 noundef %15) #2
%17 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 0) #2
%18 = add nuw nsw i64 %15, 1
%19 = load i64, ptr %0, align 8, !tbaa !6
%20 = icmp slt i64 %18, %19
br i1 %20, label %14, label %21, !llvm.loop !14
21: ; preds = %14
%22 = icmp sgt i64 %19, 0
br i1 %22, label %23, label %48
23: ; preds = %21, %23
%24 = phi i64 [ %27, %23 ], [ 0, %21 ]
%25 = tail call i32 @IXGBE_VFTAVIND(i64 noundef 1, i64 noundef %24) #2
%26 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %25, i32 noundef 0) #2
%27 = add nuw nsw i64 %24, 1
%28 = load i64, ptr %0, align 8, !tbaa !6
%29 = icmp slt i64 %27, %28
br i1 %29, label %23, label %30, !llvm.loop !14
30: ; preds = %23
%31 = icmp sgt i64 %28, 0
br i1 %31, label %32, label %48
32: ; preds = %30, %32
%33 = phi i64 [ %36, %32 ], [ 0, %30 ]
%34 = tail call i32 @IXGBE_VFTAVIND(i64 noundef 2, i64 noundef %33) #2
%35 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %34, i32 noundef 0) #2
%36 = add nuw nsw i64 %33, 1
%37 = load i64, ptr %0, align 8, !tbaa !6
%38 = icmp slt i64 %36, %37
br i1 %38, label %32, label %39, !llvm.loop !14
39: ; preds = %32
%40 = icmp sgt i64 %37, 0
br i1 %40, label %41, label %48
41: ; preds = %39, %41
%42 = phi i64 [ %45, %41 ], [ 0, %39 ]
%43 = tail call i32 @IXGBE_VFTAVIND(i64 noundef 3, i64 noundef %42) #2
%44 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %43, i32 noundef 0) #2
%45 = add nuw nsw i64 %42, 1
%46 = load i64, ptr %0, align 8, !tbaa !6
%47 = icmp slt i64 %45, %46
br i1 %47, label %41, label %48, !llvm.loop !14
48: ; preds = %41, %1, %5, %21, %30, %39
%49 = load i32, ptr @IXGBE_SUCCESS, align 4, !tbaa !15
ret i32 %49
}
declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1
declare i32 @IXGBE_WRITE_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IXGBE_VFTA(i64 noundef) local_unnamed_addr #1
declare i32 @IXGBE_VFTAVIND(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"ixgbe_hw", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !10, i64 0}
| freebsd_sys_dev_ixgbe_extr_ixgbe_82598.c_ixgbe_clear_vfta_82598 |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/sis/extr_init301.c_SiS_GetLVDSDesPtr.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/sis/extr_init301.c_SiS_GetLVDSDesPtr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CUT_BARCO1024 = dso_local local_unnamed_addr global i64 0, align 8
@CUT_BARCO1366 = dso_local local_unnamed_addr global i64 0, align 8
@DontExpandLCD = dso_local local_unnamed_addr global i32 0, align 4
@SIS_315H = dso_local local_unnamed_addr global i64 0, align 8
@SetCRT2ToLCD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @SiS_GetLVDSDesPtr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noalias noundef ptr @SiS_GetLVDSDesPtr(ptr nocapture readnone %0) #0 {
ret ptr null
}
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/drivers/video/fbdev/sis/extr_init301.c_SiS_GetLVDSDesPtr.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/sis/extr_init301.c_SiS_GetLVDSDesPtr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CUT_BARCO1024 = common local_unnamed_addr global i64 0, align 8
@CUT_BARCO1366 = common local_unnamed_addr global i64 0, align 8
@DontExpandLCD = common local_unnamed_addr global i32 0, align 4
@SIS_315H = common local_unnamed_addr global i64 0, align 8
@SetCRT2ToLCD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @SiS_GetLVDSDesPtr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noalias noundef ptr @SiS_GetLVDSDesPtr(ptr nocapture readnone %0) #0 {
ret ptr null
}
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_drivers_video_fbdev_sis_extr_init301.c_SiS_GetLVDSDesPtr |
; ModuleID = 'AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_process.c_atf_process_exec_list.c'
source_filename = "AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_process.c_atf_process_exec_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"
@atf_process_stream_type_capture = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @atf_process_exec_list(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = icmp eq ptr %3, null
br i1 %8, label %14, label %9
9: ; preds = %6
%10 = tail call i64 @atf_process_stream_type(ptr noundef nonnull %3) #3
%11 = load i64, ptr @atf_process_stream_type_capture, align 8, !tbaa !5
%12 = icmp ne i64 %10, %11
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %9, %6
%15 = phi i32 [ 1, %6 ], [ %13, %9 ]
%16 = tail call i32 @PRE(i32 noundef %15) #3
%17 = icmp eq ptr %4, null
br i1 %17, label %23, label %18
18: ; preds = %14
%19 = tail call i64 @atf_process_stream_type(ptr noundef nonnull %4) #3
%20 = load i64, ptr @atf_process_stream_type_capture, align 8, !tbaa !5
%21 = icmp ne i64 %19, %20
%22 = zext i1 %21 to i32
br label %23
23: ; preds = %18, %14
%24 = phi i32 [ 1, %14 ], [ %22, %18 ]
%25 = tail call i32 @PRE(i32 noundef %24) #3
store ptr null, ptr %7, align 8, !tbaa !9
%26 = call i32 @list_to_array(ptr noundef %2, ptr noundef nonnull %7) #3
%27 = call i64 @atf_is_error(i32 noundef %26) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %23
%30 = load ptr, ptr %7, align 8, !tbaa !9
%31 = call i32 @atf_process_exec_array(ptr noundef %0, ptr noundef %1, ptr noundef %30, ptr noundef %3, ptr noundef %4, ptr noundef %5) #3
%32 = load ptr, ptr %7, align 8, !tbaa !9
%33 = call i32 @free(ptr noundef %32) #3
br label %34
34: ; preds = %23, %29
%35 = phi i32 [ %26, %23 ], [ %31, %29 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %35
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @PRE(i32 noundef) local_unnamed_addr #2
declare i64 @atf_process_stream_type(ptr noundef) local_unnamed_addr #2
declare i32 @list_to_array(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @atf_is_error(i32 noundef) local_unnamed_addr #2
declare i32 @atf_process_exec_array(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_process.c_atf_process_exec_list.c'
source_filename = "AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_process.c_atf_process_exec_list.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@atf_process_stream_type_capture = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @atf_process_exec_list(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%8 = icmp eq ptr %3, null
br i1 %8, label %14, label %9
9: ; preds = %6
%10 = tail call i64 @atf_process_stream_type(ptr noundef nonnull %3) #3
%11 = load i64, ptr @atf_process_stream_type_capture, align 8, !tbaa !6
%12 = icmp ne i64 %10, %11
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %9, %6
%15 = phi i32 [ 1, %6 ], [ %13, %9 ]
%16 = tail call i32 @PRE(i32 noundef %15) #3
%17 = icmp eq ptr %4, null
br i1 %17, label %23, label %18
18: ; preds = %14
%19 = tail call i64 @atf_process_stream_type(ptr noundef nonnull %4) #3
%20 = load i64, ptr @atf_process_stream_type_capture, align 8, !tbaa !6
%21 = icmp ne i64 %19, %20
%22 = zext i1 %21 to i32
br label %23
23: ; preds = %18, %14
%24 = phi i32 [ 1, %14 ], [ %22, %18 ]
%25 = tail call i32 @PRE(i32 noundef %24) #3
store ptr null, ptr %7, align 8, !tbaa !10
%26 = call i32 @list_to_array(ptr noundef %2, ptr noundef nonnull %7) #3
%27 = call i64 @atf_is_error(i32 noundef %26) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %23
%30 = load ptr, ptr %7, align 8, !tbaa !10
%31 = call i32 @atf_process_exec_array(ptr noundef %0, ptr noundef %1, ptr noundef %30, ptr noundef %3, ptr noundef %4, ptr noundef %5) #3
%32 = load ptr, ptr %7, align 8, !tbaa !10
%33 = call i32 @free(ptr noundef %32) #3
br label %34
34: ; preds = %23, %29
%35 = phi i32 [ %26, %23 ], [ %31, %29 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %35
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @PRE(i32 noundef) local_unnamed_addr #2
declare i64 @atf_process_stream_type(ptr noundef) local_unnamed_addr #2
declare i32 @list_to_array(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @atf_is_error(i32 noundef) local_unnamed_addr #2
declare i32 @atf_process_exec_array(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_atf_atf-c_detail_extr_process.c_atf_process_exec_list |
; ModuleID = 'AnghaBench/git/extr_exec-cmd.c_git_exec_path.c'
source_filename = "AnghaBench/git/extr_exec-cmd.c_git_exec_path.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@exec_path_value = dso_local local_unnamed_addr global ptr null, align 8
@EXEC_PATH_ENVIRONMENT = dso_local local_unnamed_addr global i32 0, align 4
@GIT_EXEC_PATH = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @git_exec_path() local_unnamed_addr #0 {
%1 = load ptr, ptr @exec_path_value, align 8, !tbaa !5
%2 = icmp eq ptr %1, null
br i1 %2, label %3, label %17
3: ; preds = %0
%4 = load i32, ptr @EXEC_PATH_ENVIRONMENT, align 4, !tbaa !9
%5 = tail call ptr @getenv(i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %12, label %7
7: ; preds = %3
%8 = load i8, ptr %5, align 1, !tbaa !11
%9 = icmp eq i8 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call ptr @xstrdup(ptr noundef nonnull %5) #2
br label %15
12: ; preds = %7, %3
%13 = load i32, ptr @GIT_EXEC_PATH, align 4, !tbaa !9
%14 = tail call ptr @system_path(i32 noundef %13) #2
br label %15
15: ; preds = %12, %10
%16 = phi ptr [ %14, %12 ], [ %11, %10 ]
store ptr %16, ptr @exec_path_value, align 8, !tbaa !5
br label %17
17: ; preds = %15, %0
%18 = phi ptr [ %16, %15 ], [ %1, %0 ]
ret ptr %18
}
declare ptr @getenv(i32 noundef) local_unnamed_addr #1
declare ptr @xstrdup(ptr noundef) local_unnamed_addr #1
declare ptr @system_path(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/git/extr_exec-cmd.c_git_exec_path.c'
source_filename = "AnghaBench/git/extr_exec-cmd.c_git_exec_path.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@exec_path_value = common local_unnamed_addr global ptr null, align 8
@EXEC_PATH_ENVIRONMENT = common local_unnamed_addr global i32 0, align 4
@GIT_EXEC_PATH = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @git_exec_path() local_unnamed_addr #0 {
%1 = load ptr, ptr @exec_path_value, align 8, !tbaa !6
%2 = icmp eq ptr %1, null
br i1 %2, label %3, label %17
3: ; preds = %0
%4 = load i32, ptr @EXEC_PATH_ENVIRONMENT, align 4, !tbaa !10
%5 = tail call ptr @getenv(i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %12, label %7
7: ; preds = %3
%8 = load i8, ptr %5, align 1, !tbaa !12
%9 = icmp eq i8 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call ptr @xstrdup(ptr noundef nonnull %5) #2
br label %15
12: ; preds = %7, %3
%13 = load i32, ptr @GIT_EXEC_PATH, align 4, !tbaa !10
%14 = tail call ptr @system_path(i32 noundef %13) #2
br label %15
15: ; preds = %12, %10
%16 = phi ptr [ %14, %12 ], [ %11, %10 ]
store ptr %16, ptr @exec_path_value, align 8, !tbaa !6
br label %17
17: ; preds = %15, %0
%18 = phi ptr [ %16, %15 ], [ %1, %0 ]
ret ptr %18
}
declare ptr @getenv(i32 noundef) local_unnamed_addr #1
declare ptr @xstrdup(ptr noundef) local_unnamed_addr #1
declare ptr @system_path(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!8, !8, i64 0}
| git_extr_exec-cmd.c_git_exec_path |
; ModuleID = 'AnghaBench/openssl/crypto/evp/extr_mac_meth.c_EVP_MAC_settable_ctx_params.c'
source_filename = "AnghaBench/openssl/crypto/evp/extr_mac_meth.c_EVP_MAC_settable_ctx_params.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @EVP_MAC_settable_ctx_params(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call ptr (...) %2() #1
br label %6
6: ; preds = %1, %4
%7 = phi ptr [ %5, %4 ], [ null, %1 ]
ret ptr %7
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/openssl/crypto/evp/extr_mac_meth.c_EVP_MAC_settable_ctx_params.c'
source_filename = "AnghaBench/openssl/crypto/evp/extr_mac_meth.c_EVP_MAC_settable_ctx_params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @EVP_MAC_settable_ctx_params(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call ptr %2() #1
br label %6
6: ; preds = %1, %4
%7 = phi ptr [ %5, %4 ], [ null, %1 ]
ret ptr %7
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| openssl_crypto_evp_extr_mac_meth.c_EVP_MAC_settable_ctx_params |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server.c_eap_sm_process_nak.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server.c_eap_sm_process_nak.c"
target datalayout = "e-m:e-p270:32:32-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.eap_sm = type { i32, ptr }
%struct.TYPE_5__ = type { i64, i64 }
@MSG_MSGDUMP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"EAP: processing NAK (current EAP method index %d)\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"EAP: configured methods\00", align 1
@EAP_MAX_METHODS = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [43 x i8] c"EAP: list of methods supported by the peer\00", align 1
@EAP_VENDOR_IETF = dso_local local_unnamed_addr global i64 0, align 8
@EAP_TYPE_NONE = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [36 x i8] c"EAP: new list of configured methods\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @eap_sm_process_nak(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.eap_sm, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %98, label %7
7: ; preds = %3
%8 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !11
%9 = load i32, ptr %0, align 8, !tbaa !12
%10 = tail call i32 @wpa_printf(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9) #2
%11 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !11
%12 = load ptr, ptr %4, align 8, !tbaa !5
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = load i32, ptr @EAP_MAX_METHODS, align 4, !tbaa !11
%15 = shl i32 %14, 4
%16 = tail call i32 @wpa_hexdump(i32 noundef %11, ptr noundef nonnull @.str.1, ptr noundef %13, i32 noundef %15) #2
%17 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !11
%18 = trunc i64 %2 to i32
%19 = tail call i32 @wpa_hexdump(i32 noundef %17, ptr noundef nonnull @.str.2, ptr noundef %1, i32 noundef %18) #2
%20 = load i32, ptr %0, align 8, !tbaa !12
%21 = load i32, ptr @EAP_MAX_METHODS, align 4, !tbaa !11
%22 = icmp slt i32 %20, %21
br i1 %22, label %26, label %23
23: ; preds = %7
%24 = load ptr, ptr %4, align 8, !tbaa !5
%25 = load ptr, ptr %24, align 8, !tbaa !13
br label %92
26: ; preds = %7
%27 = icmp eq i64 %2, 0
%28 = sext i32 %20 to i64
%29 = load ptr, ptr %4, align 8, !tbaa !5
%30 = load ptr, ptr %29, align 8, !tbaa !13
br label %31
31: ; preds = %26, %62
%32 = phi ptr [ %30, %26 ], [ %40, %62 ]
%33 = phi i32 [ %21, %26 ], [ %41, %62 ]
%34 = phi i32 [ %21, %26 ], [ %43, %62 ]
%35 = phi i64 [ %28, %26 ], [ %36, %62 ]
%36 = add nsw i64 %35, 1
%37 = trunc i64 %35 to i32
%38 = xor i32 %37, -1
br label %39
39: ; preds = %31, %80
%40 = phi ptr [ %32, %31 ], [ %83, %80 ]
%41 = phi i32 [ %33, %31 ], [ %84, %80 ]
%42 = phi ptr [ %32, %31 ], [ %85, %80 ]
%43 = phi i32 [ %34, %31 ], [ %84, %80 ]
%44 = getelementptr inbounds %struct.TYPE_5__, ptr %42, i64 %35
%45 = load i64, ptr %44, align 8, !tbaa !15
%46 = load i64, ptr @EAP_VENDOR_IETF, align 8, !tbaa !18
%47 = icmp eq i64 %45, %46
br i1 %47, label %48, label %65
48: ; preds = %39
%49 = getelementptr inbounds %struct.TYPE_5__, ptr %42, i64 %35, i32 1
%50 = load i64, ptr %49, align 8, !tbaa !19
%51 = load i64, ptr @EAP_TYPE_NONE, align 8, !tbaa !18
%52 = icmp eq i64 %50, %51
br i1 %52, label %92, label %53
53: ; preds = %48
br i1 %27, label %65, label %57
54: ; preds = %57
%55 = add nuw i64 %58, 1
%56 = icmp eq i64 %55, %2
br i1 %56, label %65, label %57, !llvm.loop !20
57: ; preds = %53, %54
%58 = phi i64 [ %55, %54 ], [ 0, %53 ]
%59 = getelementptr inbounds i64, ptr %1, i64 %58
%60 = load i64, ptr %59, align 8, !tbaa !18
%61 = icmp eq i64 %60, %50
br i1 %61, label %62, label %54
62: ; preds = %57
%63 = sext i32 %43 to i64
%64 = icmp slt i64 %36, %63
br i1 %64, label %31, label %92, !llvm.loop !22
65: ; preds = %54, %53, %39
%66 = sext i32 %43 to i64
%67 = icmp slt i64 %36, %66
br i1 %67, label %70, label %68
68: ; preds = %65
%69 = sext i32 %41 to i64
br label %80
70: ; preds = %65
%71 = getelementptr inbounds %struct.TYPE_5__, ptr %42, i64 %36
%72 = add i32 %43, %38
%73 = shl i32 %72, 4
%74 = tail call i32 @os_memmove(ptr noundef nonnull %44, ptr noundef %71, i32 noundef %73) #2
%75 = load i64, ptr @EAP_VENDOR_IETF, align 8, !tbaa !18
%76 = load ptr, ptr %4, align 8, !tbaa !5
%77 = load ptr, ptr %76, align 8, !tbaa !13
%78 = load i32, ptr @EAP_MAX_METHODS, align 4, !tbaa !11
%79 = sext i32 %78 to i64
br label %80
80: ; preds = %68, %70
%81 = phi i64 [ %69, %68 ], [ %79, %70 ]
%82 = phi i64 [ %66, %68 ], [ %79, %70 ]
%83 = phi ptr [ %40, %68 ], [ %77, %70 ]
%84 = phi i32 [ %41, %68 ], [ %78, %70 ]
%85 = phi ptr [ %42, %68 ], [ %77, %70 ]
%86 = phi i64 [ %46, %68 ], [ %75, %70 ]
%87 = getelementptr %struct.TYPE_5__, ptr %85, i64 %82
%88 = getelementptr %struct.TYPE_5__, ptr %87, i64 -1
store i64 %86, ptr %88, align 8, !tbaa !15
%89 = load i64, ptr @EAP_TYPE_NONE, align 8, !tbaa !18
%90 = getelementptr %struct.TYPE_5__, ptr %87, i64 -1, i32 1
store i64 %89, ptr %90, align 8, !tbaa !19
%91 = icmp slt i64 %35, %81
br i1 %91, label %39, label %92, !llvm.loop !22
92: ; preds = %62, %48, %80, %23
%93 = phi ptr [ %25, %23 ], [ %85, %80 ], [ %42, %48 ], [ %42, %62 ]
%94 = phi i32 [ %21, %23 ], [ %84, %80 ], [ %43, %48 ], [ %43, %62 ]
%95 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !11
%96 = shl i32 %94, 4
%97 = tail call i32 @wpa_hexdump(i32 noundef %95, ptr noundef nonnull @.str.3, ptr noundef %93, i32 noundef %96) #2
br label %98
98: ; preds = %3, %92
ret void
}
declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @os_memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"eap_sm", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_4__", !10, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_5__", !17, i64 0, !17, i64 8}
!17 = !{!"long", !8, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{!16, !17, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server.c_eap_sm_process_nak.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server.c_eap_sm_process_nak.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, i64 }
@MSG_MSGDUMP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"EAP: processing NAK (current EAP method index %d)\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"EAP: configured methods\00", align 1
@EAP_MAX_METHODS = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [43 x i8] c"EAP: list of methods supported by the peer\00", align 1
@EAP_VENDOR_IETF = common local_unnamed_addr global i64 0, align 8
@EAP_TYPE_NONE = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [36 x i8] c"EAP: new list of configured methods\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @eap_sm_process_nak(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %98, label %7
7: ; preds = %3
%8 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !12
%9 = load i32, ptr %0, align 8, !tbaa !13
%10 = tail call i32 @wpa_printf(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9) #2
%11 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !12
%12 = load ptr, ptr %4, align 8, !tbaa !6
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load i32, ptr @EAP_MAX_METHODS, align 4, !tbaa !12
%15 = shl i32 %14, 4
%16 = tail call i32 @wpa_hexdump(i32 noundef %11, ptr noundef nonnull @.str.1, ptr noundef %13, i32 noundef %15) #2
%17 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !12
%18 = trunc i64 %2 to i32
%19 = tail call i32 @wpa_hexdump(i32 noundef %17, ptr noundef nonnull @.str.2, ptr noundef %1, i32 noundef %18) #2
%20 = load i32, ptr %0, align 8, !tbaa !13
%21 = load i32, ptr @EAP_MAX_METHODS, align 4, !tbaa !12
%22 = icmp slt i32 %20, %21
br i1 %22, label %26, label %23
23: ; preds = %7
%24 = load ptr, ptr %4, align 8, !tbaa !6
%25 = load ptr, ptr %24, align 8, !tbaa !14
br label %92
26: ; preds = %7
%27 = icmp eq i64 %2, 0
%28 = sext i32 %20 to i64
%29 = load ptr, ptr %4, align 8, !tbaa !6
%30 = load ptr, ptr %29, align 8, !tbaa !14
br label %31
31: ; preds = %26, %62
%32 = phi ptr [ %30, %26 ], [ %40, %62 ]
%33 = phi i32 [ %21, %26 ], [ %41, %62 ]
%34 = phi i32 [ %21, %26 ], [ %43, %62 ]
%35 = phi i64 [ %28, %26 ], [ %36, %62 ]
%36 = add nsw i64 %35, 1
%37 = trunc nsw i64 %35 to i32
%38 = xor i32 %37, -1
br label %39
39: ; preds = %31, %80
%40 = phi ptr [ %32, %31 ], [ %83, %80 ]
%41 = phi i32 [ %33, %31 ], [ %84, %80 ]
%42 = phi ptr [ %32, %31 ], [ %85, %80 ]
%43 = phi i32 [ %34, %31 ], [ %84, %80 ]
%44 = getelementptr inbounds %struct.TYPE_5__, ptr %42, i64 %35
%45 = load i64, ptr %44, align 8, !tbaa !16
%46 = load i64, ptr @EAP_VENDOR_IETF, align 8, !tbaa !19
%47 = icmp eq i64 %45, %46
br i1 %47, label %48, label %65
48: ; preds = %39
%49 = getelementptr inbounds i8, ptr %44, i64 8
%50 = load i64, ptr %49, align 8, !tbaa !20
%51 = load i64, ptr @EAP_TYPE_NONE, align 8, !tbaa !19
%52 = icmp eq i64 %50, %51
br i1 %52, label %92, label %53
53: ; preds = %48
br i1 %27, label %65, label %57
54: ; preds = %57
%55 = add nuw i64 %58, 1
%56 = icmp eq i64 %55, %2
br i1 %56, label %65, label %57, !llvm.loop !21
57: ; preds = %53, %54
%58 = phi i64 [ %55, %54 ], [ 0, %53 ]
%59 = getelementptr inbounds i64, ptr %1, i64 %58
%60 = load i64, ptr %59, align 8, !tbaa !19
%61 = icmp eq i64 %60, %50
br i1 %61, label %62, label %54
62: ; preds = %57
%63 = sext i32 %43 to i64
%64 = icmp slt i64 %36, %63
br i1 %64, label %31, label %92, !llvm.loop !23
65: ; preds = %54, %53, %39
%66 = sext i32 %43 to i64
%67 = icmp slt i64 %36, %66
br i1 %67, label %70, label %68
68: ; preds = %65
%69 = sext i32 %41 to i64
br label %80
70: ; preds = %65
%71 = getelementptr inbounds %struct.TYPE_5__, ptr %42, i64 %36
%72 = add i32 %43, %38
%73 = shl i32 %72, 4
%74 = tail call i32 @os_memmove(ptr noundef nonnull %44, ptr noundef %71, i32 noundef %73) #2
%75 = load i64, ptr @EAP_VENDOR_IETF, align 8, !tbaa !19
%76 = load ptr, ptr %4, align 8, !tbaa !6
%77 = load ptr, ptr %76, align 8, !tbaa !14
%78 = load i32, ptr @EAP_MAX_METHODS, align 4, !tbaa !12
%79 = sext i32 %78 to i64
br label %80
80: ; preds = %68, %70
%81 = phi i64 [ %69, %68 ], [ %79, %70 ]
%82 = phi i64 [ %66, %68 ], [ %79, %70 ]
%83 = phi ptr [ %40, %68 ], [ %77, %70 ]
%84 = phi i32 [ %41, %68 ], [ %78, %70 ]
%85 = phi ptr [ %42, %68 ], [ %77, %70 ]
%86 = phi i64 [ %46, %68 ], [ %75, %70 ]
%87 = getelementptr %struct.TYPE_5__, ptr %85, i64 %82
%88 = getelementptr i8, ptr %87, i64 -16
store i64 %86, ptr %88, align 8, !tbaa !16
%89 = load i64, ptr @EAP_TYPE_NONE, align 8, !tbaa !19
%90 = getelementptr i8, ptr %87, i64 -8
store i64 %89, ptr %90, align 8, !tbaa !20
%91 = icmp slt i64 %35, %81
br i1 %91, label %39, label %92, !llvm.loop !23
92: ; preds = %62, %48, %80, %23
%93 = phi ptr [ %25, %23 ], [ %85, %80 ], [ %42, %48 ], [ %42, %62 ]
%94 = phi i32 [ %21, %23 ], [ %84, %80 ], [ %43, %48 ], [ %43, %62 ]
%95 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !12
%96 = shl i32 %94, 4
%97 = tail call i32 @wpa_hexdump(i32 noundef %95, ptr noundef nonnull @.str.3, ptr noundef %93, i32 noundef %96) #2
br label %98
98: ; preds = %3, %92
ret void
}
declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @os_memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"eap_sm", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_4__", !11, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_5__", !18, i64 0, !18, i64 8}
!18 = !{!"long", !9, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!17, !18, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
| freebsd_contrib_wpa_src_eap_server_extr_eap_server.c_eap_sm_process_nak |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_upgt.c_upgt_raw_xmit.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_upgt.c_upgt_raw_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.upgt_softc = type { i32, i32, i32 }
@UPGT_FLAG_INITDONE = dso_local local_unnamed_addr global i32 0, align 4
@ENETDOWN = dso_local local_unnamed_addr global i32 0, align 4
@ENOBUFS = dso_local local_unnamed_addr global i32 0, align 4
@next = dso_local local_unnamed_addr global i32 0, align 4
@st_tx_inactive = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @upgt_raw_xmit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @upgt_raw_xmit(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = tail call i32 @UPGT_LOCK(ptr noundef %5) #2
%7 = load i32, ptr %5, align 4, !tbaa !12
%8 = load i32, ptr @UPGT_FLAG_INITDONE, align 4, !tbaa !15
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = tail call i32 @m_freem(ptr noundef %1) #2
%13 = tail call i32 @UPGT_UNLOCK(ptr noundef nonnull %5) #2
%14 = load i32, ptr @ENETDOWN, align 4, !tbaa !15
br label %36
15: ; preds = %3
%16 = tail call ptr @upgt_gettxbuf(ptr noundef nonnull %5) #2
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = tail call i32 @m_freem(ptr noundef %1) #2
%20 = tail call i32 @UPGT_UNLOCK(ptr noundef nonnull %5) #2
%21 = load i32, ptr @ENOBUFS, align 4, !tbaa !15
br label %36
22: ; preds = %15
%23 = tail call i64 @upgt_tx_start(ptr noundef nonnull %5, ptr noundef %1, ptr noundef nonnull %0, ptr noundef nonnull %16) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %33, label %25
25: ; preds = %22
%26 = getelementptr inbounds %struct.upgt_softc, ptr %5, i64 0, i32 2
%27 = load i32, ptr @next, align 4, !tbaa !15
%28 = tail call i32 @STAILQ_INSERT_HEAD(ptr noundef nonnull %26, ptr noundef nonnull %16, i32 noundef %27) #2
%29 = load i32, ptr @st_tx_inactive, align 4, !tbaa !15
%30 = tail call i32 @UPGT_STAT_INC(ptr noundef nonnull %5, i32 noundef %29) #2
%31 = tail call i32 @UPGT_UNLOCK(ptr noundef nonnull %5) #2
%32 = load i32, ptr @EIO, align 4, !tbaa !15
br label %36
33: ; preds = %22
%34 = tail call i32 @UPGT_UNLOCK(ptr noundef nonnull %5) #2
%35 = getelementptr inbounds %struct.upgt_softc, ptr %5, i64 0, i32 1
store i32 5, ptr %35, align 4, !tbaa !16
br label %36
36: ; preds = %33, %25, %18, %11
%37 = phi i32 [ %21, %18 ], [ %32, %25 ], [ 0, %33 ], [ %14, %11 ]
ret i32 %37
}
declare i32 @UPGT_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @m_freem(ptr noundef) local_unnamed_addr #1
declare i32 @UPGT_UNLOCK(ptr noundef) local_unnamed_addr #1
declare ptr @upgt_gettxbuf(ptr noundef) local_unnamed_addr #1
declare i64 @upgt_tx_start(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UPGT_STAT_INC(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 = !{!"ieee80211_node", !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 = !{!"ieee80211com", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"upgt_softc", !14, i64 0, !14, i64 4, !14, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!13, !14, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_upgt.c_upgt_raw_xmit.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_upgt.c_upgt_raw_xmit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UPGT_FLAG_INITDONE = common local_unnamed_addr global i32 0, align 4
@ENETDOWN = common local_unnamed_addr global i32 0, align 4
@ENOBUFS = common local_unnamed_addr global i32 0, align 4
@next = common local_unnamed_addr global i32 0, align 4
@st_tx_inactive = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @upgt_raw_xmit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @upgt_raw_xmit(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i32 @UPGT_LOCK(ptr noundef %5) #2
%7 = load i32, ptr %5, align 4, !tbaa !13
%8 = load i32, ptr @UPGT_FLAG_INITDONE, align 4, !tbaa !16
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = tail call i32 @m_freem(ptr noundef %1) #2
%13 = tail call i32 @UPGT_UNLOCK(ptr noundef nonnull %5) #2
%14 = load i32, ptr @ENETDOWN, align 4, !tbaa !16
br label %36
15: ; preds = %3
%16 = tail call ptr @upgt_gettxbuf(ptr noundef nonnull %5) #2
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = tail call i32 @m_freem(ptr noundef %1) #2
%20 = tail call i32 @UPGT_UNLOCK(ptr noundef nonnull %5) #2
%21 = load i32, ptr @ENOBUFS, align 4, !tbaa !16
br label %36
22: ; preds = %15
%23 = tail call i64 @upgt_tx_start(ptr noundef nonnull %5, ptr noundef %1, ptr noundef nonnull %0, ptr noundef nonnull %16) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %33, label %25
25: ; preds = %22
%26 = getelementptr inbounds i8, ptr %5, i64 8
%27 = load i32, ptr @next, align 4, !tbaa !16
%28 = tail call i32 @STAILQ_INSERT_HEAD(ptr noundef nonnull %26, ptr noundef nonnull %16, i32 noundef %27) #2
%29 = load i32, ptr @st_tx_inactive, align 4, !tbaa !16
%30 = tail call i32 @UPGT_STAT_INC(ptr noundef nonnull %5, i32 noundef %29) #2
%31 = tail call i32 @UPGT_UNLOCK(ptr noundef nonnull %5) #2
%32 = load i32, ptr @EIO, align 4, !tbaa !16
br label %36
33: ; preds = %22
%34 = tail call i32 @UPGT_UNLOCK(ptr noundef nonnull %5) #2
%35 = getelementptr inbounds i8, ptr %5, i64 4
store i32 5, ptr %35, align 4, !tbaa !17
br label %36
36: ; preds = %33, %25, %18, %11
%37 = phi i32 [ %21, %18 ], [ %32, %25 ], [ 0, %33 ], [ %14, %11 ]
ret i32 %37
}
declare i32 @UPGT_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @m_freem(ptr noundef) local_unnamed_addr #1
declare i32 @UPGT_UNLOCK(ptr noundef) local_unnamed_addr #1
declare ptr @upgt_gettxbuf(ptr noundef) local_unnamed_addr #1
declare i64 @upgt_tx_start(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @STAILQ_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UPGT_STAT_INC(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 = !{!"ieee80211_node", !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 = !{!"ieee80211com", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"upgt_softc", !15, i64 0, !15, i64 4, !15, i64 8}
!15 = !{!"int", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !15, i64 4}
| freebsd_sys_dev_usb_wlan_extr_if_upgt.c_upgt_raw_xmit |
; ModuleID = 'AnghaBench/radare2/shlr/grub/fs/extr_reiserfs.c_iterate.c'
source_filename = "AnghaBench/radare2/shlr/grub/fs/extr_reiserfs.c_iterate.c"
target datalayout = "e-m:e-p270:32:32-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.grub_dirhook_info = type { i32 }
%struct.grub_reiserfs_dir_closure = type { ptr, i32 }
@GRUB_FSHELP_TYPE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@GRUB_FSHELP_DIR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @iterate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @iterate(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 {
%5 = alloca %struct.grub_dirhook_info, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @grub_memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 4) #3
%7 = load i32, ptr @GRUB_FSHELP_TYPE_MASK, align 4, !tbaa !5
%8 = and i32 %7, %1
%9 = load i32, ptr @GRUB_FSHELP_DIR, align 4, !tbaa !5
%10 = icmp eq i32 %8, %9
%11 = zext i1 %10 to i32
store i32 %11, ptr %5, align 4, !tbaa !9
%12 = call i32 @grub_free(i32 noundef %2) #3
%13 = load ptr, ptr %3, align 8, !tbaa !11
%14 = getelementptr inbounds %struct.grub_reiserfs_dir_closure, ptr %3, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !14
%16 = call i32 %13(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %15) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %16
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @grub_memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @grub_free(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"grub_dirhook_info", !6, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"grub_reiserfs_dir_closure", !13, i64 0, !6, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!12, !6, i64 8}
| ; ModuleID = 'AnghaBench/radare2/shlr/grub/fs/extr_reiserfs.c_iterate.c'
source_filename = "AnghaBench/radare2/shlr/grub/fs/extr_reiserfs.c_iterate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.grub_dirhook_info = type { i32 }
@GRUB_FSHELP_TYPE_MASK = common local_unnamed_addr global i32 0, align 4
@GRUB_FSHELP_DIR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @iterate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @iterate(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 {
%5 = alloca %struct.grub_dirhook_info, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @grub_memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 4) #3
%7 = load i32, ptr @GRUB_FSHELP_TYPE_MASK, align 4, !tbaa !6
%8 = and i32 %7, %1
%9 = load i32, ptr @GRUB_FSHELP_DIR, align 4, !tbaa !6
%10 = icmp eq i32 %8, %9
%11 = zext i1 %10 to i32
store i32 %11, ptr %5, align 4, !tbaa !10
%12 = call i32 @grub_free(i32 noundef %2) #3
%13 = load ptr, ptr %3, align 8, !tbaa !12
%14 = getelementptr inbounds i8, ptr %3, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !15
%16 = call i32 %13(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %15) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %16
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @grub_memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @grub_free(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"grub_dirhook_info", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"grub_reiserfs_dir_closure", !14, i64 0, !7, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!13, !7, i64 8}
| radare2_shlr_grub_fs_extr_reiserfs.c_iterate |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/QM/extr_qman_low.h_qmPortalDqrrPceUpdate.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/QM/extr_qman_low.h_qmPortalDqrrPceUpdate.c"
target datalayout = "e-m:e-p270:32:32-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.qm_dqrr = type { i64, i32, i64 }
@DQRR_PI = dso_local local_unnamed_addr global i32 0, align 4
@QM_DQRR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@e_QmPortalPCE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @qmPortalDqrrPceUpdate], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i64 @qmPortalDqrrPceUpdate(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.qm_dqrr, ptr %0, i64 0, i32 2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr @DQRR_PI, align 4, !tbaa !11
%5 = tail call i32 @qm_cl_in(i32 noundef %4) #2
%6 = load i32, ptr @QM_DQRR_SIZE, align 4, !tbaa !11
%7 = add nsw i32 %6, -1
%8 = and i32 %7, %5
%9 = sext i32 %8 to i64
store i64 %9, ptr %2, align 8, !tbaa !5
%10 = tail call i64 @cyc_diff(i32 noundef %6, i64 noundef %3, i64 noundef %9) #2
%11 = getelementptr inbounds %struct.qm_dqrr, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !12
%13 = trunc i64 %10 to i32
%14 = add i32 %12, %13
store i32 %14, ptr %11, align 8, !tbaa !12
ret i64 %10
}
declare i32 @qm_cl_in(i32 noundef) local_unnamed_addr #1
declare i64 @cyc_diff(i32 noundef, i64 noundef, i64 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 16}
!6 = !{!"qm_dqrr", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/QM/extr_qman_low.h_qmPortalDqrrPceUpdate.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/QM/extr_qman_low.h_qmPortalDqrrPceUpdate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DQRR_PI = common local_unnamed_addr global i32 0, align 4
@QM_DQRR_SIZE = common local_unnamed_addr global i32 0, align 4
@e_QmPortalPCE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @qmPortalDqrrPceUpdate], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i64 @qmPortalDqrrPceUpdate(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr @DQRR_PI, align 4, !tbaa !12
%5 = tail call i32 @qm_cl_in(i32 noundef %4) #2
%6 = load i32, ptr @QM_DQRR_SIZE, align 4, !tbaa !12
%7 = add nsw i32 %6, -1
%8 = and i32 %7, %5
%9 = sext i32 %8 to i64
store i64 %9, ptr %2, align 8, !tbaa !6
%10 = tail call i64 @cyc_diff(i32 noundef %6, i64 noundef %3, i64 noundef %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = trunc i64 %10 to i32
%14 = add i32 %12, %13
store i32 %14, ptr %11, align 8, !tbaa !13
ret i64 %10
}
declare i32 @qm_cl_in(i32 noundef) local_unnamed_addr #1
declare i64 @cyc_diff(i32 noundef, i64 noundef, i64 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 16}
!7 = !{!"qm_dqrr", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !11, i64 8}
| freebsd_sys_contrib_ncsw_Peripherals_QM_extr_qman_low.h_qmPortalDqrrPceUpdate |
; ModuleID = 'AnghaBench/freebsd/sys/rpc/extr_clnt_bck.c_clnt_bck_geterr.c'
source_filename = "AnghaBench/freebsd/sys/rpc/extr_clnt_bck.c_clnt_bck_geterr.c"
target datalayout = "e-m:e-p270:32:32-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 @clnt_bck_geterr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @clnt_bck_geterr(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %4, align 4, !tbaa !10
store i32 %5, ptr %1, align 4, !tbaa !10
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, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/rpc/extr_clnt_bck.c_clnt_bck_geterr.c'
source_filename = "AnghaBench/freebsd/sys/rpc/extr_clnt_bck.c_clnt_bck_geterr.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 @clnt_bck_geterr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @clnt_bck_geterr(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load i32, ptr %4, align 4, !tbaa !11
store i32 %5, ptr %1, align 4, !tbaa !11
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, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| freebsd_sys_rpc_extr_clnt_bck.c_clnt_bck_geterr |
; ModuleID = 'AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_queue_purge.c'
source_filename = "AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_queue_purge.c"
target datalayout = "e-m:e-p270:32:32-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 @xenvif_rx_queue_purge], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xenvif_rx_queue_purge(ptr noundef %0) #0 {
%2 = tail call ptr @xenvif_rx_dequeue(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1, %4
%5 = phi ptr [ %7, %4 ], [ %2, %1 ]
%6 = tail call i32 @kfree_skb(ptr noundef nonnull %5) #2
%7 = tail call ptr @xenvif_rx_dequeue(ptr noundef %0) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %4, !llvm.loop !5
9: ; preds = %4, %1
ret void
}
declare ptr @xenvif_rx_dequeue(ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_queue_purge.c'
source_filename = "AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_queue_purge.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 @xenvif_rx_queue_purge], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xenvif_rx_queue_purge(ptr noundef %0) #0 {
%2 = tail call ptr @xenvif_rx_dequeue(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1, %4
%5 = phi ptr [ %7, %4 ], [ %2, %1 ]
%6 = tail call i32 @kfree_skb(ptr noundef nonnull %5) #2
%7 = tail call ptr @xenvif_rx_dequeue(ptr noundef %0) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %4, !llvm.loop !6
9: ; preds = %4, %1
ret void
}
declare ptr @xenvif_rx_dequeue(ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_xen-netback_extr_rx.c_xenvif_rx_queue_purge |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_dbf.h_zfcp_dbf_hba_fsf_response.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_dbf.h_zfcp_dbf_hba_fsf_response.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.zfcp_fsf_req = type { i64, ptr, ptr }
%struct.fsf_qtcb = type { %struct.TYPE_5__, %struct.TYPE_4__ }
%struct.TYPE_5__ = type { i64, i64 }
%struct.TYPE_4__ = type { i64 }
@FSF_PROT_GOOD = dso_local local_unnamed_addr global i64 0, align 8
@FSF_PROT_FSF_STATUS_PRESENTED = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [5 x i8] c"perr\00", align 1
@FSF_GOOD = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"ferr\00", align 1
@FSF_QTCB_OPEN_PORT_WITH_DID = dso_local local_unnamed_addr global i64 0, align 8
@FSF_QTCB_OPEN_LUN = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"qtcb\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"norm\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @zfcp_dbf_hba_fsf_response], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @zfcp_dbf_hba_fsf_response(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.zfcp_fsf_req, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = getelementptr inbounds %struct.zfcp_fsf_req, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = getelementptr inbounds %struct.fsf_qtcb, ptr %6, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = load i64, ptr @FSF_PROT_GOOD, align 8, !tbaa !18
%10 = icmp eq i64 %8, %9
%11 = load i64, ptr @FSF_PROT_FSF_STATUS_PRESENTED, align 8
%12 = icmp eq i64 %8, %11
%13 = select i1 %10, i1 true, i1 %12
br i1 %13, label %16, label %14
14: ; preds = %1
%15 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str, i32 noundef 1, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
16: ; preds = %1
%17 = load i64, ptr %6, align 8, !tbaa !19
%18 = load i64, ptr @FSF_GOOD, align 8, !tbaa !18
%19 = icmp eq i64 %17, %18
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str.1, i32 noundef 1, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
22: ; preds = %16
%23 = load i64, ptr %0, align 8, !tbaa !20
%24 = load i64, ptr @FSF_QTCB_OPEN_PORT_WITH_DID, align 8, !tbaa !18
%25 = icmp eq i64 %23, %24
%26 = load i64, ptr @FSF_QTCB_OPEN_LUN, align 8
%27 = icmp eq i64 %23, %26
%28 = select i1 %25, i1 true, i1 %27
br i1 %28, label %29, label %31
29: ; preds = %22
%30 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str.2, i32 noundef 4, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
31: ; preds = %22
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %6, i64 0, i32 1
%33 = load i64, ptr %32, align 8, !tbaa !21
%34 = icmp eq i64 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %31
%36 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str.3, i32 noundef 5, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
37: ; preds = %31
%38 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str.4, i32 noundef 6, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
39: ; preds = %20, %35, %37, %29, %14
ret void
}
declare i32 @zfcp_dbf_hba_fsf_resp(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"zfcp_fsf_req", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_6__", !10, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!15, !7, i64 16}
!15 = !{!"fsf_qtcb", !16, i64 0, !17, i64 16}
!16 = !{!"TYPE_5__", !7, i64 0, !7, i64 8}
!17 = !{!"TYPE_4__", !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!15, !7, i64 0}
!20 = !{!6, !7, i64 0}
!21 = !{!15, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_dbf.h_zfcp_dbf_hba_fsf_response.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_dbf.h_zfcp_dbf_hba_fsf_response.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FSF_PROT_GOOD = common local_unnamed_addr global i64 0, align 8
@FSF_PROT_FSF_STATUS_PRESENTED = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [5 x i8] c"perr\00", align 1
@FSF_GOOD = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"ferr\00", align 1
@FSF_QTCB_OPEN_PORT_WITH_DID = common local_unnamed_addr global i64 0, align 8
@FSF_QTCB_OPEN_LUN = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"qtcb\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"norm\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @zfcp_dbf_hba_fsf_response], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @zfcp_dbf_hba_fsf_response(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !14
%7 = getelementptr inbounds i8, ptr %6, i64 16
%8 = load i64, ptr %7, align 8, !tbaa !15
%9 = load i64, ptr @FSF_PROT_GOOD, align 8, !tbaa !19
%10 = icmp eq i64 %8, %9
%11 = load i64, ptr @FSF_PROT_FSF_STATUS_PRESENTED, align 8
%12 = icmp eq i64 %8, %11
%13 = select i1 %10, i1 true, i1 %12
br i1 %13, label %16, label %14
14: ; preds = %1
%15 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str, i32 noundef 1, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
16: ; preds = %1
%17 = load i64, ptr %6, align 8, !tbaa !20
%18 = load i64, ptr @FSF_GOOD, align 8, !tbaa !19
%19 = icmp eq i64 %17, %18
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str.1, i32 noundef 1, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
22: ; preds = %16
%23 = load i64, ptr %0, align 8, !tbaa !21
%24 = load i64, ptr @FSF_QTCB_OPEN_PORT_WITH_DID, align 8, !tbaa !19
%25 = icmp eq i64 %23, %24
%26 = load i64, ptr @FSF_QTCB_OPEN_LUN, align 8
%27 = icmp eq i64 %23, %26
%28 = select i1 %25, i1 true, i1 %27
br i1 %28, label %29, label %31
29: ; preds = %22
%30 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str.2, i32 noundef 4, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
31: ; preds = %22
%32 = getelementptr inbounds i8, ptr %6, i64 8
%33 = load i64, ptr %32, align 8, !tbaa !22
%34 = icmp eq i64 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %31
%36 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str.3, i32 noundef 5, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
37: ; preds = %31
%38 = tail call i32 @zfcp_dbf_hba_fsf_resp(ptr noundef nonnull @.str.4, i32 noundef 6, ptr noundef nonnull %0, ptr noundef %4) #2
br label %39
39: ; preds = %20, %35, %37, %29, %14
ret void
}
declare i32 @zfcp_dbf_hba_fsf_resp(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"zfcp_fsf_req", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_6__", !11, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!16, !8, i64 16}
!16 = !{!"fsf_qtcb", !17, i64 0, !18, i64 16}
!17 = !{!"TYPE_5__", !8, i64 0, !8, i64 8}
!18 = !{!"TYPE_4__", !8, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!16, !8, i64 0}
!21 = !{!7, !8, i64 0}
!22 = !{!16, !8, i64 8}
| fastsocket_kernel_drivers_s390_scsi_extr_zfcp_dbf.h_zfcp_dbf_hba_fsf_response |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a2xx.xml.h_REG_A2XX_VSC_PIPE_CONFIG.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a2xx.xml.h_REG_A2XX_VSC_PIPE_CONFIG.c"
target datalayout = "e-m:e-p270:32:32-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 @REG_A2XX_VSC_PIPE_CONFIG], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @REG_A2XX_VSC_PIPE_CONFIG(i32 noundef %0) #0 {
%2 = mul nsw i32 %0, 3
%3 = add nsw i32 %2, 3078
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a2xx.xml.h_REG_A2XX_VSC_PIPE_CONFIG.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a2xx.xml.h_REG_A2XX_VSC_PIPE_CONFIG.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 @REG_A2XX_VSC_PIPE_CONFIG], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 -2147480570, -2147483648) i32 @REG_A2XX_VSC_PIPE_CONFIG(i32 noundef %0) #0 {
%2 = mul nsw i32 %0, 3
%3 = add nsw i32 %2, 3078
ret i32 %3
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_msm_adreno_extr_a2xx.xml.h_REG_A2XX_VSC_PIPE_CONFIG |
; ModuleID = 'AnghaBench/postgres/src/timezone/extr_zic.c_emalloc.c'
source_filename = "AnghaBench/postgres/src/timezone/extr_zic.c_emalloc.c"
target datalayout = "e-m:e-p270:32:32-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 @emalloc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @emalloc(i64 noundef %0) #0 {
%2 = tail call i32 @malloc(i64 noundef %0) #2
%3 = tail call ptr @memcheck(i32 noundef %2) #2
ret ptr %3
}
declare ptr @memcheck(i32 noundef) local_unnamed_addr #1
declare i32 @malloc(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)"}
| ; ModuleID = 'AnghaBench/postgres/src/timezone/extr_zic.c_emalloc.c'
source_filename = "AnghaBench/postgres/src/timezone/extr_zic.c_emalloc.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 @emalloc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @emalloc(i64 noundef %0) #0 {
%2 = tail call i32 @malloc(i64 noundef %0) #2
%3 = tail call ptr @memcheck(i32 noundef %2) #2
ret ptr %3
}
declare ptr @memcheck(i32 noundef) local_unnamed_addr #1
declare i32 @malloc(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)"}
| postgres_src_timezone_extr_zic.c_emalloc |
; ModuleID = 'AnghaBench/freebsd/sys/security/audit/extr_bsm_token.c_au_to_exit.c'
source_filename = "AnghaBench/freebsd/sys/security/audit/extr_bsm_token.c_au_to_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"
@AUT_EXIT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noalias ptr @au_to_exit(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @GET_TOKEN_AREA(ptr noundef undef, ptr noundef null, i32 noundef 12) #2
%4 = load i32, ptr @AUT_EXIT, align 4, !tbaa !5
%5 = tail call i32 @ADD_U_CHAR(ptr noundef null, i32 noundef %4) #2
%6 = tail call i32 @ADD_U_INT32(ptr noundef null, i32 noundef %1) #2
%7 = tail call i32 @ADD_U_INT32(ptr noundef null, i32 noundef %0) #2
ret ptr undef
}
declare i32 @GET_TOKEN_AREA(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ADD_U_CHAR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ADD_U_INT32(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/freebsd/sys/security/audit/extr_bsm_token.c_au_to_exit.c'
source_filename = "AnghaBench/freebsd/sys/security/audit/extr_bsm_token.c_au_to_exit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AUT_EXIT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noalias ptr @au_to_exit(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @GET_TOKEN_AREA(ptr noundef undef, ptr noundef null, i32 noundef 12) #2
%4 = load i32, ptr @AUT_EXIT, align 4, !tbaa !6
%5 = tail call i32 @ADD_U_CHAR(ptr noundef null, i32 noundef %4) #2
%6 = tail call i32 @ADD_U_INT32(ptr noundef null, i32 noundef %1) #2
%7 = tail call i32 @ADD_U_INT32(ptr noundef null, i32 noundef %0) #2
ret ptr undef
}
declare i32 @GET_TOKEN_AREA(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ADD_U_CHAR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ADD_U_INT32(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"}
| freebsd_sys_security_audit_extr_bsm_token.c_au_to_exit |
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_action.c_MSI_Sequence.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_action.c_MSI_Sequence.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MSI_Sequence.query = internal constant [60 x i8] c"SELECT * FROM `%s` WHERE `Sequence` > 0 ORDER BY `Sequence`\00", align 16
@.str = private unnamed_addr constant [7 x i8] c"%p %s\0A\00", align 1
@ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@ITERATE_Actions = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @MSI_Sequence(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = tail call i32 @debugstr_w(i32 noundef %1) #3
%5 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %4) #3
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = call i64 @MSI_OpenQuery(i32 noundef %6, ptr noundef nonnull %3, ptr noundef nonnull @MSI_Sequence.query, i32 noundef %1) #3
%8 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !10
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load ptr, ptr %3, align 8, !tbaa !12
%12 = load i32, ptr @ITERATE_Actions, align 4, !tbaa !14
%13 = call i64 @MSI_IterateRecords(ptr noundef %11, ptr noundef null, i32 noundef %12, ptr noundef nonnull %0) #3
%14 = load ptr, ptr %3, align 8, !tbaa !12
%15 = call i32 @msiobj_release(ptr noundef %14) #3
br label %16
16: ; preds = %10, %2
%17 = phi i64 [ %13, %10 ], [ %7, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i64 %17
}
; 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(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @debugstr_w(i32 noundef) local_unnamed_addr #2
declare i64 @MSI_OpenQuery(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @MSI_IterateRecords(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @msiobj_release(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_9__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_action.c_MSI_Sequence.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_action.c_MSI_Sequence.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSI_Sequence.query = internal constant [60 x i8] c"SELECT * FROM `%s` WHERE `Sequence` > 0 ORDER BY `Sequence`\00", align 1
@.str = private unnamed_addr constant [7 x i8] c"%p %s\0A\00", align 1
@ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8
@ITERATE_Actions = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @MSI_Sequence(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = tail call i32 @debugstr_w(i32 noundef %1) #3
%5 = tail call i32 @TRACE(ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %4) #3
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = call i64 @MSI_OpenQuery(i32 noundef %6, ptr noundef nonnull %3, ptr noundef nonnull @MSI_Sequence.query, i32 noundef %1) #3
%8 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load ptr, ptr %3, align 8, !tbaa !13
%12 = load i32, ptr @ITERATE_Actions, align 4, !tbaa !15
%13 = call i64 @MSI_IterateRecords(ptr noundef %11, ptr noundef null, i32 noundef %12, ptr noundef nonnull %0) #3
%14 = load ptr, ptr %3, align 8, !tbaa !13
%15 = call i32 @msiobj_release(ptr noundef %14) #3
br label %16
16: ; preds = %10, %2
%17 = phi i64 [ %13, %10 ], [ %7, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i64 %17
}
; 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(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @debugstr_w(i32 noundef) local_unnamed_addr #2
declare i64 @MSI_OpenQuery(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @MSI_IterateRecords(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @msiobj_release(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_9__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!8, !8, i64 0}
| reactos_dll_win32_msi_extr_action.c_MSI_Sequence |
; ModuleID = 'AnghaBench/Atlas/lib/extr_lpeg.c_getcaptures.c'
source_filename = "AnghaBench/Atlas/lib/extr_lpeg.c_getcaptures.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, i64, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @getcaptures], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @getcaptures(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca %struct.TYPE_3__, align 8
%6 = tail call i32 @caplistidx(i32 noundef %3) #3
%7 = tail call i64 @lua_touserdata(ptr noundef %0, i32 noundef %6) #3
%8 = inttoptr i64 %7 to ptr
%9 = tail call i32 @isclosecap(ptr noundef %8) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %29
11: ; preds = %4
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #3
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 2
store ptr %8, ptr %12, align 8, !tbaa !5
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 5
store ptr %8, ptr %13, align 8, !tbaa !12
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 4
store ptr %0, ptr %14, align 8, !tbaa !13
store ptr %1, ptr %5, align 8, !tbaa !14
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 3
store i64 0, ptr %15, align 8, !tbaa !15
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1
store i32 %3, ptr %16, align 8, !tbaa !16
br label %17
17: ; preds = %17, %11
%18 = phi i64 [ 0, %11 ], [ %22, %17 ]
%19 = call i64 @pushcapture(ptr noundef nonnull %5) #3
%20 = shl i64 %18, 32
%21 = ashr exact i64 %20, 32
%22 = add nsw i64 %21, %19
%23 = load ptr, ptr %12, align 8, !tbaa !5
%24 = call i32 @isclosecap(ptr noundef %23) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %17, label %26, !llvm.loop !17
26: ; preds = %17
%27 = trunc i64 %22 to i32
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %36
29: ; preds = %4, %26
%30 = ptrtoint ptr %2 to i64
%31 = ptrtoint ptr %1 to i64
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = add i32 %33, 1
%35 = call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %34) #3
br label %36
36: ; preds = %29, %26
%37 = phi i32 [ 1, %29 ], [ %27, %26 ]
ret i32 %37
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @caplistidx(i32 noundef) local_unnamed_addr #2
declare i32 @isclosecap(ptr noundef) local_unnamed_addr #2
declare i64 @pushcapture(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_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !7, 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 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 40}
!13 = !{!6, !7, i64 32}
!14 = !{!6, !7, i64 0}
!15 = !{!6, !11, i64 24}
!16 = !{!6, !10, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/Atlas/lib/extr_lpeg.c_getcaptures.c'
source_filename = "AnghaBench/Atlas/lib/extr_lpeg.c_getcaptures.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, ptr, i64, ptr, ptr }
@llvm.used = appending global [1 x ptr] [ptr @getcaptures], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 1, 0) i32 @getcaptures(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca %struct.TYPE_3__, align 8
%6 = tail call i32 @caplistidx(i32 noundef %3) #3
%7 = tail call i64 @lua_touserdata(ptr noundef %0, i32 noundef %6) #3
%8 = inttoptr i64 %7 to ptr
%9 = tail call i32 @isclosecap(ptr noundef %8) #3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %29
11: ; preds = %4
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #3
%12 = getelementptr inbounds i8, ptr %5, i64 16
store ptr %8, ptr %12, align 8, !tbaa !6
%13 = getelementptr inbounds i8, ptr %5, i64 40
store ptr %8, ptr %13, align 8, !tbaa !13
%14 = getelementptr inbounds i8, ptr %5, i64 32
store ptr %0, ptr %14, align 8, !tbaa !14
store ptr %1, ptr %5, align 8, !tbaa !15
%15 = getelementptr inbounds i8, ptr %5, i64 24
store i64 0, ptr %15, align 8, !tbaa !16
%16 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %3, ptr %16, align 8, !tbaa !17
br label %17
17: ; preds = %17, %11
%18 = phi i64 [ 0, %11 ], [ %22, %17 ]
%19 = call i64 @pushcapture(ptr noundef nonnull %5) #3
%20 = shl i64 %18, 32
%21 = ashr exact i64 %20, 32
%22 = add nsw i64 %21, %19
%23 = load ptr, ptr %12, align 8, !tbaa !6
%24 = call i32 @isclosecap(ptr noundef %23) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %17, label %26, !llvm.loop !18
26: ; preds = %17
%27 = trunc i64 %22 to i32
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %36
29: ; preds = %4, %26
%30 = ptrtoint ptr %2 to i64
%31 = ptrtoint ptr %1 to i64
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = add i32 %33, 1
%35 = call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %34) #3
br label %36
36: ; preds = %29, %26
%37 = phi i32 [ 1, %29 ], [ %27, %26 ]
ret i32 %37
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @caplistidx(i32 noundef) local_unnamed_addr #2
declare i32 @isclosecap(ptr noundef) local_unnamed_addr #2
declare i64 @pushcapture(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_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !8, 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 = !{!"long", !9, i64 0}
!13 = !{!7, !8, i64 40}
!14 = !{!7, !8, i64 32}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !12, i64 24}
!17 = !{!7, !11, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| Atlas_lib_extr_lpeg.c_getcaptures |
; ModuleID = 'AnghaBench/winfile/src/extr_wfcomman.c_RedoDriveWindows.c'
source_filename = "AnghaBench/winfile/src/extr_wfcomman.c_RedoDriveWindows.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@hwndMDIClient = dso_local local_unnamed_addr global i32 0, align 4
@WM_MDIGETACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@GWL_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@cDrives = dso_local local_unnamed_addr global i64 0, align 8
@rgiDrive = dso_local local_unnamed_addr global ptr null, align 8
@DRIVEBAR_FLAG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @RedoDriveWindows(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %3, label %8
3: ; preds = %1
%4 = load i32, ptr @hwndMDIClient, align 4, !tbaa !5
%5 = load i32, ptr @WM_MDIGETACTIVE, align 4, !tbaa !5
%6 = tail call i64 @SendMessage(i32 noundef %4, i32 noundef %5, i32 noundef 0, i64 noundef 0) #2
%7 = inttoptr i64 %6 to ptr
br label %8
8: ; preds = %3, %1
%9 = phi ptr [ %7, %3 ], [ %0, %1 ]
%10 = load i32, ptr @GWL_TYPE, align 4, !tbaa !5
%11 = tail call i64 @GetWindowLongPtr(ptr noundef %9, i32 noundef %10) #2
%12 = icmp sgt i64 %11, -1
br i1 %12, label %13, label %29
13: ; preds = %8
%14 = load i64, ptr @cDrives, align 8, !tbaa !9
%15 = icmp sgt i64 %14, 0
br i1 %15, label %16, label %29
16: ; preds = %13
%17 = load ptr, ptr @rgiDrive, align 8, !tbaa !11
br label %18
18: ; preds = %16, %26
%19 = phi i64 [ 0, %16 ], [ %27, %26 ]
%20 = getelementptr inbounds i64, ptr %17, i64 %19
%21 = load i64, ptr %20, align 8, !tbaa !9
%22 = icmp eq i64 %21, %11
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = tail call i32 @FillToolbarDrives(i64 noundef %11) #2
%25 = tail call i32 @SelectToolbarDrive(i64 noundef %19) #2
br label %29
26: ; preds = %18
%27 = add nuw nsw i64 %19, 1
%28 = icmp eq i64 %27, %14
br i1 %28, label %29, label %18, !llvm.loop !13
29: ; preds = %26, %13, %23, %8
%30 = load i32, ptr @DRIVEBAR_FLAG, align 4, !tbaa !5
%31 = tail call i32 @MDIClientSizeChange(ptr noundef %9, i32 noundef %30) #2
ret i32 undef
}
declare i64 @SendMessage(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @GetWindowLongPtr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FillToolbarDrives(i64 noundef) local_unnamed_addr #1
declare i32 @SelectToolbarDrive(i64 noundef) local_unnamed_addr #1
declare i32 @MDIClientSizeChange(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/winfile/src/extr_wfcomman.c_RedoDriveWindows.c'
source_filename = "AnghaBench/winfile/src/extr_wfcomman.c_RedoDriveWindows.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hwndMDIClient = common local_unnamed_addr global i32 0, align 4
@WM_MDIGETACTIVE = common local_unnamed_addr global i32 0, align 4
@GWL_TYPE = common local_unnamed_addr global i32 0, align 4
@cDrives = common local_unnamed_addr global i64 0, align 8
@rgiDrive = common local_unnamed_addr global ptr null, align 8
@DRIVEBAR_FLAG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @RedoDriveWindows(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %3, label %8
3: ; preds = %1
%4 = load i32, ptr @hwndMDIClient, align 4, !tbaa !6
%5 = load i32, ptr @WM_MDIGETACTIVE, align 4, !tbaa !6
%6 = tail call i64 @SendMessage(i32 noundef %4, i32 noundef %5, i32 noundef 0, i64 noundef 0) #2
%7 = inttoptr i64 %6 to ptr
br label %8
8: ; preds = %3, %1
%9 = phi ptr [ %7, %3 ], [ %0, %1 ]
%10 = load i32, ptr @GWL_TYPE, align 4, !tbaa !6
%11 = tail call i64 @GetWindowLongPtr(ptr noundef %9, i32 noundef %10) #2
%12 = icmp sgt i64 %11, -1
br i1 %12, label %13, label %29
13: ; preds = %8
%14 = load i64, ptr @cDrives, align 8, !tbaa !10
%15 = icmp sgt i64 %14, 0
br i1 %15, label %16, label %29
16: ; preds = %13
%17 = load ptr, ptr @rgiDrive, align 8, !tbaa !12
br label %18
18: ; preds = %16, %26
%19 = phi i64 [ 0, %16 ], [ %27, %26 ]
%20 = getelementptr inbounds i64, ptr %17, i64 %19
%21 = load i64, ptr %20, align 8, !tbaa !10
%22 = icmp eq i64 %21, %11
br i1 %22, label %23, label %26
23: ; preds = %18
%24 = tail call i32 @FillToolbarDrives(i64 noundef %11) #2
%25 = tail call i32 @SelectToolbarDrive(i64 noundef %19) #2
br label %29
26: ; preds = %18
%27 = add nuw nsw i64 %19, 1
%28 = icmp eq i64 %27, %14
br i1 %28, label %29, label %18, !llvm.loop !14
29: ; preds = %26, %13, %23, %8
%30 = load i32, ptr @DRIVEBAR_FLAG, align 4, !tbaa !6
%31 = tail call i32 @MDIClientSizeChange(ptr noundef %9, i32 noundef %30) #2
ret i32 undef
}
declare i64 @SendMessage(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @GetWindowLongPtr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FillToolbarDrives(i64 noundef) local_unnamed_addr #1
declare i32 @SelectToolbarDrive(i64 noundef) local_unnamed_addr #1
declare i32 @MDIClientSizeChange(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| winfile_src_extr_wfcomman.c_RedoDriveWindows |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_dst.c_dst_type_print.c'
source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_dst.c_dst_type_print.c"
target datalayout = "e-m:e-p270:32:32-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 [10 x i8] c"satellite\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"terrestrial\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"cable\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"atsc\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"invalid dst type %d\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [14 x i8] c"DST type: %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dst_type_print], section "llvm.metadata"
@reltable.dst_type_print = private unnamed_addr constant [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.dst_type_print to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.dst_type_print to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.dst_type_print to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.dst_type_print to i64)) to i32)], align 4
; Function Attrs: nounwind uwtable
define internal i32 @dst_type_print(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = add i32 %1, -128
%4 = icmp ult i32 %3, 4
br i1 %4, label %9, label %5
5: ; preds = %2
%6 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 2, ptr noundef nonnull @.str.4, i32 noundef %1) #3
%7 = load i32, ptr @EINVAL, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %14
9: ; preds = %2
%10 = zext nneg i32 %3 to i64
%11 = shl i64 %10, 2
%12 = call ptr @llvm.load.relative.i64(ptr @reltable.dst_type_print, i64 %11)
%13 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 2, ptr noundef nonnull @.str.5, ptr noundef nonnull %12) #3
br label %14
14: ; preds = %9, %5
%15 = phi i32 [ %8, %5 ], [ 0, %9 ]
ret i32 %15
}
declare i32 @dprintk(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/pci/bt8xx/extr_dst.c_dst_type_print.c'
source_filename = "AnghaBench/linux/drivers/media/pci/bt8xx/extr_dst.c_dst_type_print.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 [10 x i8] c"satellite\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"terrestrial\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"cable\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"atsc\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"invalid dst type %d\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [14 x i8] c"DST type: %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dst_type_print], section "llvm.metadata"
@switch.table.dst_type_print = private unnamed_addr constant [4 x ptr] [ptr @.str.1, ptr @.str, ptr @.str.2, ptr @.str.3], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @dst_type_print(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = add i32 %1, -128
%4 = icmp ult i32 %3, 4
br i1 %4, label %9, label %5
5: ; preds = %2
%6 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 2, ptr noundef nonnull @.str.4, i32 noundef %1) #2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %14
9: ; preds = %2
%10 = zext nneg i32 %3 to i64
%11 = getelementptr inbounds [4 x ptr], ptr @switch.table.dst_type_print, i64 0, i64 %10
%12 = load ptr, ptr %11, align 8
%13 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 2, ptr noundef nonnull @.str.5, ptr noundef nonnull %12) #2
br label %14
14: ; preds = %9, %5
%15 = phi i32 [ %8, %5 ], [ 0, %9 ]
ret i32 %15
}
declare i32 @dprintk(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"}
| linux_drivers_media_pci_bt8xx_extr_dst.c_dst_type_print |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_ipa-type-escape.c_check_cast.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_ipa-type-escape.c_check_cast.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FULL_ESCAPE = dso_local local_unnamed_addr global i32 0, align 4
@results_of_malloc = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_cast], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @check_cast(i64 noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @TREE_TYPE(i64 noundef %1) #2
%4 = tail call i64 @get_canon_type(i64 noundef %3, i32 noundef 0, i32 noundef 0) #2
%5 = tail call i64 @get_canon_type(i64 noundef %0, i32 noundef 0, i32 noundef 0) #2
%6 = icmp eq i64 %4, 0
%7 = icmp eq i64 %5, 0
%8 = select i1 %6, i1 true, i1 %7
%9 = icmp eq i64 %4, %5
%10 = select i1 %8, i1 true, i1 %9
br i1 %10, label %36, label %11
11: ; preds = %2
%12 = tail call i64 @ipa_type_escape_star_count_of_interesting_type(i64 noundef %5) #2
%13 = icmp sgt i64 %12, -1
%14 = tail call i64 @ipa_type_escape_star_count_of_interesting_type(i64 noundef %4) #2
%15 = icmp sgt i64 %14, -1
br i1 %13, label %16, label %31
16: ; preds = %11
br i1 %15, label %17, label %23
17: ; preds = %16
%18 = tail call i32 @check_cast_type(i64 noundef %5, i64 noundef %4) #2
%19 = icmp eq i32 %18, 130
br i1 %19, label %20, label %36
20: ; preds = %17
%21 = load i32, ptr @FULL_ESCAPE, align 4, !tbaa !5
%22 = tail call i32 @mark_type(i64 noundef %5, i32 noundef %21) #2
br label %32
23: ; preds = %16
%24 = tail call i64 @DECL_P(i64 noundef %1) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %36, label %26
26: ; preds = %23
%27 = load i32, ptr @results_of_malloc, align 4, !tbaa !5
%28 = tail call i32 @DECL_UID(i64 noundef %1) #2
%29 = tail call i32 @bitmap_bit_p(i32 noundef %27, i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %32, label %36
31: ; preds = %11
br i1 %15, label %32, label %36
32: ; preds = %31, %26, %20
%33 = phi i64 [ %4, %20 ], [ %5, %26 ], [ %4, %31 ]
%34 = load i32, ptr @FULL_ESCAPE, align 4, !tbaa !5
%35 = tail call i32 @mark_type(i64 noundef %33, i32 noundef %34) #2
br label %36
36: ; preds = %32, %23, %26, %31, %17, %2
ret void
}
declare i64 @get_canon_type(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @TREE_TYPE(i64 noundef) local_unnamed_addr #1
declare i64 @ipa_type_escape_star_count_of_interesting_type(i64 noundef) local_unnamed_addr #1
declare i32 @check_cast_type(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mark_type(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @DECL_P(i64 noundef) local_unnamed_addr #1
declare i32 @bitmap_bit_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DECL_UID(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"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_ipa-type-escape.c_check_cast.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_ipa-type-escape.c_check_cast.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FULL_ESCAPE = common local_unnamed_addr global i32 0, align 4
@results_of_malloc = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @check_cast], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @check_cast(i64 noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @TREE_TYPE(i64 noundef %1) #2
%4 = tail call i64 @get_canon_type(i64 noundef %3, i32 noundef 0, i32 noundef 0) #2
%5 = tail call i64 @get_canon_type(i64 noundef %0, i32 noundef 0, i32 noundef 0) #2
%6 = icmp eq i64 %4, 0
%7 = icmp eq i64 %5, 0
%8 = select i1 %6, i1 true, i1 %7
%9 = icmp eq i64 %4, %5
%10 = select i1 %8, i1 true, i1 %9
br i1 %10, label %36, label %11
11: ; preds = %2
%12 = tail call i64 @ipa_type_escape_star_count_of_interesting_type(i64 noundef %5) #2
%13 = icmp sgt i64 %12, -1
%14 = tail call i64 @ipa_type_escape_star_count_of_interesting_type(i64 noundef %4) #2
%15 = icmp sgt i64 %14, -1
br i1 %13, label %16, label %31
16: ; preds = %11
br i1 %15, label %17, label %23
17: ; preds = %16
%18 = tail call i32 @check_cast_type(i64 noundef %5, i64 noundef %4) #2
%19 = icmp eq i32 %18, 130
br i1 %19, label %20, label %36
20: ; preds = %17
%21 = load i32, ptr @FULL_ESCAPE, align 4, !tbaa !6
%22 = tail call i32 @mark_type(i64 noundef %5, i32 noundef %21) #2
br label %32
23: ; preds = %16
%24 = tail call i64 @DECL_P(i64 noundef %1) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %36, label %26
26: ; preds = %23
%27 = load i32, ptr @results_of_malloc, align 4, !tbaa !6
%28 = tail call i32 @DECL_UID(i64 noundef %1) #2
%29 = tail call i32 @bitmap_bit_p(i32 noundef %27, i32 noundef %28) #2
%30 = icmp eq i32 %29, 0
br i1 %30, label %32, label %36
31: ; preds = %11
br i1 %15, label %32, label %36
32: ; preds = %31, %26, %20
%33 = phi i64 [ %4, %20 ], [ %5, %26 ], [ %4, %31 ]
%34 = load i32, ptr @FULL_ESCAPE, align 4, !tbaa !6
%35 = tail call i32 @mark_type(i64 noundef %33, i32 noundef %34) #2
br label %36
36: ; preds = %32, %23, %26, %31, %17, %2
ret void
}
declare i64 @get_canon_type(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @TREE_TYPE(i64 noundef) local_unnamed_addr #1
declare i64 @ipa_type_escape_star_count_of_interesting_type(i64 noundef) local_unnamed_addr #1
declare i32 @check_cast_type(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mark_type(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @DECL_P(i64 noundef) local_unnamed_addr #1
declare i32 @bitmap_bit_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DECL_UID(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"}
| freebsd_contrib_gcc_extr_ipa-type-escape.c_check_cast |
; ModuleID = 'AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_intr.c'
source_filename = "AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_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"
@cpu_feature = dso_local local_unnamed_addr global i32 0, align 4
@CPUID_MCA = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"MC Type: 0x%jx Address: 0x%jx\0A\00", align 1
@MSR_P5_MC_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@MSR_P5_MC_ADDR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"Machine check\00", align 1
@MCE = dso_local local_unnamed_addr global i32 0, align 4
@MSR_MCG_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@MCG_STATUS_RIPV = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [38 x i8] c"Unrecoverable machine check exception\00", align 1
@MCG_STATUS_MCIP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mca_intr() local_unnamed_addr #0 {
%1 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = load i32, ptr @cpu_feature, align 4, !tbaa !5
%3 = load i32, ptr @CPUID_MCA, align 4, !tbaa !5
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %13
6: ; preds = %0
%7 = load i32, ptr @MSR_P5_MC_TYPE, align 4, !tbaa !5
%8 = tail call i32 @rdmsr(i32 noundef %7) #3
%9 = load i32, ptr @MSR_P5_MC_ADDR, align 4, !tbaa !5
%10 = tail call i32 @rdmsr(i32 noundef %9) #3
%11 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %10) #3
%12 = tail call i32 @panic(ptr noundef nonnull @.str.1) #3
br label %13
13: ; preds = %6, %0
%14 = load i32, ptr @MCE, align 4, !tbaa !5
%15 = call i32 @mca_scan(i32 noundef %14, ptr noundef nonnull %1) #3
%16 = load i32, ptr @MSR_MCG_STATUS, align 4, !tbaa !5
%17 = call i32 @rdmsr(i32 noundef %16) #3
%18 = load i32, ptr @MCG_STATUS_RIPV, align 4, !tbaa !5
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %13
store i32 0, ptr %1, align 4, !tbaa !5
br label %25
22: ; preds = %13
%23 = load i32, ptr %1, align 4, !tbaa !5
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %22, %21
%26 = icmp eq i32 %15, 0
br i1 %26, label %27, label %29
27: ; preds = %25, %27
%28 = call i32 (...) @cpu_spinwait() #3
br label %27
29: ; preds = %25
%30 = call i32 @panic(ptr noundef nonnull @.str.2) #3
br label %31
31: ; preds = %29, %22
%32 = load i32, ptr @MSR_MCG_STATUS, align 4, !tbaa !5
%33 = load i32, ptr @MCG_STATUS_MCIP, align 4, !tbaa !5
%34 = xor i32 %33, -1
%35 = and i32 %17, %34
%36 = call i32 @wrmsr(i32 noundef %32, i32 noundef %35) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #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 @printf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rdmsr(i32 noundef) local_unnamed_addr #2
declare i32 @panic(ptr noundef) local_unnamed_addr #2
declare i32 @mca_scan(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cpu_spinwait(...) local_unnamed_addr #2
declare i32 @wrmsr(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_intr.c'
source_filename = "AnghaBench/freebsd/sys/x86/x86/extr_mca.c_mca_intr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cpu_feature = common local_unnamed_addr global i32 0, align 4
@CPUID_MCA = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"MC Type: 0x%jx Address: 0x%jx\0A\00", align 1
@MSR_P5_MC_TYPE = common local_unnamed_addr global i32 0, align 4
@MSR_P5_MC_ADDR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"Machine check\00", align 1
@MCE = common local_unnamed_addr global i32 0, align 4
@MSR_MCG_STATUS = common local_unnamed_addr global i32 0, align 4
@MCG_STATUS_RIPV = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [38 x i8] c"Unrecoverable machine check exception\00", align 1
@MCG_STATUS_MCIP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mca_intr() local_unnamed_addr #0 {
%1 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = load i32, ptr @cpu_feature, align 4, !tbaa !6
%3 = load i32, ptr @CPUID_MCA, align 4, !tbaa !6
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %13
6: ; preds = %0
%7 = load i32, ptr @MSR_P5_MC_TYPE, align 4, !tbaa !6
%8 = tail call i32 @rdmsr(i32 noundef %7) #3
%9 = load i32, ptr @MSR_P5_MC_ADDR, align 4, !tbaa !6
%10 = tail call i32 @rdmsr(i32 noundef %9) #3
%11 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %10) #3
%12 = tail call i32 @panic(ptr noundef nonnull @.str.1) #3
br label %13
13: ; preds = %6, %0
%14 = load i32, ptr @MCE, align 4, !tbaa !6
%15 = call i32 @mca_scan(i32 noundef %14, ptr noundef nonnull %1) #3
%16 = load i32, ptr @MSR_MCG_STATUS, align 4, !tbaa !6
%17 = call i32 @rdmsr(i32 noundef %16) #3
%18 = load i32, ptr @MCG_STATUS_RIPV, align 4, !tbaa !6
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %13
store i32 0, ptr %1, align 4, !tbaa !6
br label %25
22: ; preds = %13
%23 = load i32, ptr %1, align 4, !tbaa !6
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %22, %21
%26 = icmp eq i32 %15, 0
br i1 %26, label %27, label %29
27: ; preds = %25, %27
%28 = call i32 @cpu_spinwait() #3
br label %27
29: ; preds = %25
%30 = call i32 @panic(ptr noundef nonnull @.str.2) #3
br label %31
31: ; preds = %29, %22
%32 = load i32, ptr @MSR_MCG_STATUS, align 4, !tbaa !6
%33 = load i32, ptr @MCG_STATUS_MCIP, align 4, !tbaa !6
%34 = xor i32 %33, -1
%35 = and i32 %17, %34
%36 = call i32 @wrmsr(i32 noundef %32, i32 noundef %35) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #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 @printf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rdmsr(i32 noundef) local_unnamed_addr #2
declare i32 @panic(ptr noundef) local_unnamed_addr #2
declare i32 @mca_scan(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cpu_spinwait(...) local_unnamed_addr #2
declare i32 @wrmsr(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_x86_x86_extr_mca.c_mca_intr |
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..retroarch.c_path_clear_all.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..retroarch.c_path_clear_all.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RARCH_PATH_CONTENT = dso_local local_unnamed_addr global i32 0, align 4
@RARCH_PATH_CONFIG = dso_local local_unnamed_addr global i32 0, align 4
@RARCH_PATH_CONFIG_APPEND = dso_local local_unnamed_addr global i32 0, align 4
@RARCH_PATH_CORE_OPTIONS = dso_local local_unnamed_addr global i32 0, align 4
@RARCH_PATH_BASENAME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @path_clear_all], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @path_clear_all() #0 {
%1 = load i32, ptr @RARCH_PATH_CONTENT, align 4, !tbaa !5
%2 = tail call i32 @path_clear(i32 noundef %1) #2
%3 = load i32, ptr @RARCH_PATH_CONFIG, align 4, !tbaa !5
%4 = tail call i32 @path_clear(i32 noundef %3) #2
%5 = load i32, ptr @RARCH_PATH_CONFIG_APPEND, align 4, !tbaa !5
%6 = tail call i32 @path_clear(i32 noundef %5) #2
%7 = load i32, ptr @RARCH_PATH_CORE_OPTIONS, align 4, !tbaa !5
%8 = tail call i32 @path_clear(i32 noundef %7) #2
%9 = load i32, ptr @RARCH_PATH_BASENAME, align 4, !tbaa !5
%10 = tail call i32 @path_clear(i32 noundef %9) #2
ret void
}
declare i32 @path_clear(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/RetroArch/griffin/extr_..retroarch.c_path_clear_all.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..retroarch.c_path_clear_all.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RARCH_PATH_CONTENT = common local_unnamed_addr global i32 0, align 4
@RARCH_PATH_CONFIG = common local_unnamed_addr global i32 0, align 4
@RARCH_PATH_CONFIG_APPEND = common local_unnamed_addr global i32 0, align 4
@RARCH_PATH_CORE_OPTIONS = common local_unnamed_addr global i32 0, align 4
@RARCH_PATH_BASENAME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @path_clear_all], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @path_clear_all() #0 {
%1 = load i32, ptr @RARCH_PATH_CONTENT, align 4, !tbaa !6
%2 = tail call i32 @path_clear(i32 noundef %1) #2
%3 = load i32, ptr @RARCH_PATH_CONFIG, align 4, !tbaa !6
%4 = tail call i32 @path_clear(i32 noundef %3) #2
%5 = load i32, ptr @RARCH_PATH_CONFIG_APPEND, align 4, !tbaa !6
%6 = tail call i32 @path_clear(i32 noundef %5) #2
%7 = load i32, ptr @RARCH_PATH_CORE_OPTIONS, align 4, !tbaa !6
%8 = tail call i32 @path_clear(i32 noundef %7) #2
%9 = load i32, ptr @RARCH_PATH_BASENAME, align 4, !tbaa !6
%10 = tail call i32 @path_clear(i32 noundef %9) #2
ret void
}
declare i32 @path_clear(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"}
| RetroArch_griffin_extr_..retroarch.c_path_clear_all |
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lobject.c_readhexa.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lobject.c_readhexa.c"
target datalayout = "e-m:e-p270:32:32-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 @readhexa], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @readhexa(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i8, ptr %4, align 1, !tbaa !9
%6 = tail call i32 @cast_uchar(i8 noundef signext %5) #2
%7 = tail call i64 @lisxdigit(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %27, label %9
9: ; preds = %3, %9
%10 = phi i32 [ %18, %9 ], [ %1, %3 ]
%11 = tail call i32 @cast_num(double noundef 1.600000e+01) #2
%12 = mul nsw i32 %11, %10
%13 = load ptr, ptr %0, align 8, !tbaa !5
%14 = load i8, ptr %13, align 1, !tbaa !9
%15 = tail call i32 @cast_uchar(i8 noundef signext %14) #2
%16 = tail call double @luaO_hexavalue(i32 noundef %15) #2
%17 = tail call i32 @cast_num(double noundef %16) #2
%18 = add nsw i32 %17, %12
%19 = load i32, ptr %2, align 4, !tbaa !10
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4, !tbaa !10
%21 = load ptr, ptr %0, align 8, !tbaa !5
%22 = getelementptr inbounds i8, ptr %21, i64 1
store ptr %22, ptr %0, align 8, !tbaa !5
%23 = load i8, ptr %22, align 1, !tbaa !9
%24 = tail call i32 @cast_uchar(i8 noundef signext %23) #2
%25 = tail call i64 @lisxdigit(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %9, !llvm.loop !12
27: ; preds = %9, %3
%28 = phi i32 [ %1, %3 ], [ %18, %9 ]
ret i32 %28
}
declare i64 @lisxdigit(i32 noundef) local_unnamed_addr #1
declare i32 @cast_uchar(i8 noundef signext) local_unnamed_addr #1
declare i32 @cast_num(double noundef) local_unnamed_addr #1
declare double @luaO_hexavalue(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lobject.c_readhexa.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lobject.c_readhexa.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 @readhexa], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @readhexa(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i8, ptr %4, align 1, !tbaa !10
%6 = tail call i32 @cast_uchar(i8 noundef signext %5) #2
%7 = tail call i64 @lisxdigit(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %27, label %9
9: ; preds = %3, %9
%10 = phi i32 [ %18, %9 ], [ %1, %3 ]
%11 = tail call i32 @cast_num(double noundef 1.600000e+01) #2
%12 = mul nsw i32 %11, %10
%13 = load ptr, ptr %0, align 8, !tbaa !6
%14 = load i8, ptr %13, align 1, !tbaa !10
%15 = tail call i32 @cast_uchar(i8 noundef signext %14) #2
%16 = tail call double @luaO_hexavalue(i32 noundef %15) #2
%17 = tail call i32 @cast_num(double noundef %16) #2
%18 = add nsw i32 %17, %12
%19 = load i32, ptr %2, align 4, !tbaa !11
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4, !tbaa !11
%21 = load ptr, ptr %0, align 8, !tbaa !6
%22 = getelementptr inbounds i8, ptr %21, i64 1
store ptr %22, ptr %0, align 8, !tbaa !6
%23 = load i8, ptr %22, align 1, !tbaa !10
%24 = tail call i32 @cast_uchar(i8 noundef signext %23) #2
%25 = tail call i64 @lisxdigit(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %9, !llvm.loop !13
27: ; preds = %9, %3
%28 = phi i32 [ %1, %3 ], [ %18, %9 ]
ret i32 %28
}
declare i64 @lisxdigit(i32 noundef) local_unnamed_addr #1
declare i32 @cast_uchar(i8 noundef signext) local_unnamed_addr #1
declare i32 @cast_num(double noundef) local_unnamed_addr #1
declare double @luaO_hexavalue(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_lua_extr_lobject.c_readhexa |
; ModuleID = 'AnghaBench/openssl/test/extr_danetest.c_allws.c'
source_filename = "AnghaBench/openssl/test/extr_danetest.c_allws.c"
target datalayout = "e-m:e-p270:32:32-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 @allws], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @allws(ptr nocapture noundef readonly %0) #0 {
br label %2
2: ; preds = %6, %1
%3 = phi ptr [ %0, %1 ], [ %7, %6 ]
%4 = load i8, ptr %3, align 1, !tbaa !5
%5 = icmp eq i8 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %3, i64 1
%8 = sext i8 %4 to i32
%9 = tail call i32 @_UC(i32 noundef %8) #3
%10 = tail call i32 @isspace(i32 noundef %9) #4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %2, !llvm.loop !8
12: ; preds = %2, %6
%13 = phi i32 [ 0, %6 ], [ 1, %2 ]
ret i32 %13
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) local_unnamed_addr #1
declare i32 @_UC(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 nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 }
attributes #4 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/openssl/test/extr_danetest.c_allws.c'
source_filename = "AnghaBench/openssl/test/extr_danetest.c_allws.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 @allws], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @allws(ptr nocapture noundef readonly %0) #0 {
br label %2
2: ; preds = %6, %1
%3 = phi ptr [ %0, %1 ], [ %7, %6 ]
%4 = load i8, ptr %3, align 1, !tbaa !6
%5 = icmp eq i8 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %3, i64 1
%8 = sext i8 %4 to i32
%9 = tail call i32 @_UC(i32 noundef %8) #3
%10 = tail call i32 @isspace(i32 noundef %9) #4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %2, !llvm.loop !9
12: ; preds = %2, %6
%13 = phi i32 [ 0, %6 ], [ 1, %2 ]
ret i32 %13
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) local_unnamed_addr #1
declare i32 @_UC(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 nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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 }
attributes #4 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| openssl_test_extr_danetest.c_allws |
; ModuleID = 'AnghaBench/lede/tools/padjffs2/src/extr_padjffs2.c_usage.c'
source_filename = "AnghaBench/lede/tools/padjffs2/src/extr_padjffs2.c_usage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [482 x i8] c"Usage: %s file [<options>] [pad0] [pad1] [padN]\0AOptions:\0A -x <offset>: Add an extra offset for padding data\0A -J: Use a fake big-endian jffs2 padding element instead of EOF\0A This is used to work around broken boot loaders that\0A try to parse the entire firmware area as one big jffs2\0A -j: (like -J, but little-endian instead of big-endian)\0A -c: write padding to stdout\0A\0A\00", align 1
@progname = dso_local local_unnamed_addr global ptr null, align 8
@EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @usage() #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !5
%2 = load ptr, ptr @progname, align 8, !tbaa !9
%3 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %2) #2
%4 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
ret i32 %4
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/lede/tools/padjffs2/src/extr_padjffs2.c_usage.c'
source_filename = "AnghaBench/lede/tools/padjffs2/src/extr_padjffs2.c_usage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [482 x i8] c"Usage: %s file [<options>] [pad0] [pad1] [padN]\0AOptions:\0A -x <offset>: Add an extra offset for padding data\0A -J: Use a fake big-endian jffs2 padding element instead of EOF\0A This is used to work around broken boot loaders that\0A try to parse the entire firmware area as one big jffs2\0A -j: (like -J, but little-endian instead of big-endian)\0A -c: write padding to stdout\0A\0A\00", align 1
@progname = common local_unnamed_addr global ptr null, align 8
@EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @usage() #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !6
%2 = load ptr, ptr @progname, align 8, !tbaa !10
%3 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %2) #2
%4 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
ret i32 %4
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| lede_tools_padjffs2_src_extr_padjffs2.c_usage |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/devpts/extr_inode.c_devpts_kill_sb.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/devpts/extr_inode.c_devpts_kill_sb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @devpts_kill_sb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @devpts_kill_sb(ptr noundef %0) #0 {
%2 = tail call ptr @DEVPTS_SB(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
%4 = tail call i32 @kill_litter_super(ptr noundef %0) #2
ret void
}
declare ptr @DEVPTS_SB(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @kill_litter_super(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/devpts/extr_inode.c_devpts_kill_sb.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/devpts/extr_inode.c_devpts_kill_sb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @devpts_kill_sb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @devpts_kill_sb(ptr noundef %0) #0 {
%2 = tail call ptr @DEVPTS_SB(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
%4 = tail call i32 @kill_litter_super(ptr noundef %0) #2
ret void
}
declare ptr @DEVPTS_SB(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @kill_litter_super(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_fs_devpts_extr_inode.c_devpts_kill_sb |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_cdata.c_lj_cdata_newx.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_cdata.c_lj_cdata_newx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CTF_VLA = dso_local local_unnamed_addr global i32 0, align 4
@CT_MEMALIGN = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @lj_cdata_newx(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @CTF_VLA, align 4, !tbaa !5
%6 = and i32 %5, %3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %4
%9 = tail call i64 @ctype_align(i32 noundef %3) #2
%10 = load i64, ptr @CT_MEMALIGN, align 8, !tbaa !9
%11 = icmp sgt i64 %9, %10
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = tail call ptr @lj_cdata_new(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
br label %18
14: ; preds = %8, %4
%15 = load i32, ptr %0, align 4, !tbaa !11
%16 = tail call i64 @ctype_align(i32 noundef %3) #2
%17 = tail call ptr @lj_cdata_newv(i32 noundef %15, i32 noundef %1, i32 noundef %2, i64 noundef %16) #2
br label %18
18: ; preds = %14, %12
%19 = phi ptr [ %17, %14 ], [ %13, %12 ]
ret ptr %19
}
declare i64 @ctype_align(i32 noundef) local_unnamed_addr #1
declare ptr @lj_cdata_new(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @lj_cdata_newv(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"TYPE_4__", !6, i64 0}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_cdata.c_lj_cdata_newx.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_cdata.c_lj_cdata_newx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CTF_VLA = common local_unnamed_addr global i32 0, align 4
@CT_MEMALIGN = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @lj_cdata_newx(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @CTF_VLA, align 4, !tbaa !6
%6 = and i32 %5, %3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %4
%9 = tail call i64 @ctype_align(i32 noundef %3) #2
%10 = load i64, ptr @CT_MEMALIGN, align 8, !tbaa !10
%11 = icmp sgt i64 %9, %10
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = tail call ptr @lj_cdata_new(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
br label %18
14: ; preds = %8, %4
%15 = load i32, ptr %0, align 4, !tbaa !12
%16 = tail call i64 @ctype_align(i32 noundef %3) #2
%17 = tail call ptr @lj_cdata_newv(i32 noundef %15, i32 noundef %1, i32 noundef %2, i64 noundef %16) #2
br label %18
18: ; preds = %14, %12
%19 = phi ptr [ %17, %14 ], [ %13, %12 ]
ret ptr %19
}
declare i64 @ctype_align(i32 noundef) local_unnamed_addr #1
declare ptr @lj_cdata_new(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @lj_cdata_newv(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"TYPE_4__", !7, i64 0}
| xLua_build_luajit-2.1.0b2_src_extr_lj_cdata.c_lj_cdata_newx |
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_rmap.c_page_add_anon_rmap.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_rmap.c_page_add_anon_rmap.c"
target datalayout = "e-m:e-p270:32:32-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 @page_add_anon_rmap(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @do_page_add_anon_rmap(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef 0) #2
ret void
}
declare i32 @do_page_add_anon_rmap(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_rmap.c_page_add_anon_rmap.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_rmap.c_page_add_anon_rmap.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 @page_add_anon_rmap(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @do_page_add_anon_rmap(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef 0) #2
ret void
}
declare i32 @do_page_add_anon_rmap(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_mm_extr_rmap.c_page_add_anon_rmap |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/extr_usb_pf.c_usbpf_aggregate_status.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/extr_usb_pf.c_usbpf_aggregate_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.usb_xfer_flags_int = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@USBPF_STATUS_OPEN = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_TRANSFERRING = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_DID_DMA_DELAY = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_DID_CLOSE = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_DRAINING = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_STARTED = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_BW_RECLAIMED = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CONTROL_XFR = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CONTROL_HDR = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CONTROL_ACT = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CONTROL_STALL = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_SHORT_FRAMES_OK = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_SHORT_XFER_OK = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_ISOCHRONOUS_XFR = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CURR_DMA_SET = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CAN_CANCEL_IMMED = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_DOING_CALLBACK = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_BDMA_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_BDMA_NO_POST_SYNC = dso_local local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_BDMA_SETUP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @usbpf_aggregate_status], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @usbpf_aggregate_status(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @USBPF_STATUS_OPEN, align 4
%3 = load i32, ptr @USBPF_STATUS_TRANSFERRING, align 4
%4 = load i32, ptr @USBPF_STATUS_DID_DMA_DELAY, align 4
%5 = load i32, ptr @USBPF_STATUS_DID_CLOSE, align 4
%6 = load i32, ptr @USBPF_STATUS_DRAINING, align 4
%7 = load i32, ptr @USBPF_STATUS_STARTED, align 4
%8 = load i32, ptr @USBPF_STATUS_BW_RECLAIMED, align 4
%9 = load <8 x i32>, ptr %0, align 4, !tbaa !5
%10 = load i32, ptr @USBPF_STATUS_CONTROL_XFR, align 4
%11 = getelementptr inbounds %struct.usb_xfer_flags_int, ptr %0, i64 0, i32 8
%12 = load i32, ptr @USBPF_STATUS_CONTROL_HDR, align 4
%13 = load i32, ptr @USBPF_STATUS_CONTROL_ACT, align 4
%14 = load i32, ptr @USBPF_STATUS_CONTROL_STALL, align 4
%15 = load <4 x i32>, ptr %11, align 4, !tbaa !5
%16 = load i32, ptr @USBPF_STATUS_SHORT_FRAMES_OK, align 4
%17 = getelementptr inbounds %struct.usb_xfer_flags_int, ptr %0, i64 0, i32 12
%18 = load i32, ptr %17, align 4, !tbaa !9
%19 = load i32, ptr @USBPF_STATUS_SHORT_XFER_OK, align 4
%20 = getelementptr inbounds %struct.usb_xfer_flags_int, ptr %0, i64 0, i32 16
%21 = load i32, ptr %20, align 4, !tbaa !11
%22 = load i32, ptr @USBPF_STATUS_ISOCHRONOUS_XFR, align 4
%23 = getelementptr inbounds %struct.usb_xfer_flags_int, ptr %0, i64 0, i32 17
%24 = load i32, ptr @USBPF_STATUS_CURR_DMA_SET, align 4
%25 = load <2 x i32>, ptr %23, align 4, !tbaa !5
%26 = load i32, ptr @USBPF_STATUS_CAN_CANCEL_IMMED, align 4
%27 = shufflevector <8 x i32> %9, <8 x i32> poison, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%28 = shufflevector <4 x i32> %15, <4 x i32> poison, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%29 = shufflevector <16 x i32> %27, <16 x i32> %28, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 16, i32 17, i32 18, i32 19, i32 poison, i32 poison, i32 poison, i32 poison>
%30 = insertelement <16 x i32> %29, i32 %18, i64 12
%31 = insertelement <16 x i32> %30, i32 %21, i64 13
%32 = shufflevector <2 x i32> %25, <2 x i32> poison, <16 x i32> <i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%33 = shufflevector <16 x i32> %31, <16 x i32> %32, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 16, i32 17>
%34 = icmp eq <16 x i32> %33, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
%35 = insertelement <16 x i32> poison, i32 %2, i64 0
%36 = insertelement <16 x i32> %35, i32 %3, i64 1
%37 = insertelement <16 x i32> %36, i32 %4, i64 2
%38 = insertelement <16 x i32> %37, i32 %5, i64 3
%39 = insertelement <16 x i32> %38, i32 %6, i64 4
%40 = insertelement <16 x i32> %39, i32 %7, i64 5
%41 = insertelement <16 x i32> %40, i32 %8, i64 6
%42 = insertelement <16 x i32> %41, i32 %10, i64 7
%43 = insertelement <16 x i32> %42, i32 %12, i64 8
%44 = insertelement <16 x i32> %43, i32 %13, i64 9
%45 = insertelement <16 x i32> %44, i32 %14, i64 10
%46 = insertelement <16 x i32> %45, i32 %16, i64 11
%47 = insertelement <16 x i32> %46, i32 %19, i64 12
%48 = insertelement <16 x i32> %47, i32 %22, i64 13
%49 = insertelement <16 x i32> %48, i32 %24, i64 14
%50 = insertelement <16 x i32> %49, i32 %26, i64 15
%51 = select <16 x i1> %34, <16 x i32> %50, <16 x i32> zeroinitializer
%52 = getelementptr inbounds %struct.usb_xfer_flags_int, ptr %0, i64 0, i32 19
%53 = load i32, ptr %52, align 4, !tbaa !12
%54 = icmp eq i32 %53, 1
%55 = load i32, ptr @USBPF_STATUS_DOING_CALLBACK, align 4
%56 = select i1 %54, i32 %55, i32 0
%57 = tail call i32 @llvm.vector.reduce.or.v16i32(<16 x i32> %51)
%58 = or i32 %57, %56
ret i32 %58
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.or.v16i32(<16 x i32>) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 48}
!10 = !{!"usb_xfer_flags_int", !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, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76}
!11 = !{!10, !6, i64 64}
!12 = !{!10, !6, i64 76}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/extr_usb_pf.c_usbpf_aggregate_status.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/extr_usb_pf.c_usbpf_aggregate_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USBPF_STATUS_OPEN = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_TRANSFERRING = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_DID_DMA_DELAY = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_DID_CLOSE = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_DRAINING = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_STARTED = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_BW_RECLAIMED = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CONTROL_XFR = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CONTROL_HDR = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CONTROL_ACT = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CONTROL_STALL = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_SHORT_FRAMES_OK = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_SHORT_XFER_OK = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_ISOCHRONOUS_XFR = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CURR_DMA_SET = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_CAN_CANCEL_IMMED = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_DOING_CALLBACK = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_BDMA_ENABLE = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_BDMA_NO_POST_SYNC = common local_unnamed_addr global i32 0, align 4
@USBPF_STATUS_BDMA_SETUP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @usbpf_aggregate_status], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @usbpf_aggregate_status(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @USBPF_STATUS_OPEN, align 4
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = icmp eq i32 %5, 1
%7 = load i32, ptr @USBPF_STATUS_TRANSFERRING, align 4
%8 = select i1 %6, i32 %7, i32 0
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = load i32, ptr @USBPF_STATUS_DID_DMA_DELAY, align 4
%12 = getelementptr inbounds i8, ptr %0, i64 12
%13 = load i32, ptr @USBPF_STATUS_DID_CLOSE, align 4
%14 = load <2 x i32>, ptr %12, align 4, !tbaa !13
%15 = load i32, ptr @USBPF_STATUS_DRAINING, align 4
%16 = getelementptr inbounds i8, ptr %0, i64 20
%17 = load i32, ptr @USBPF_STATUS_STARTED, align 4
%18 = load i32, ptr @USBPF_STATUS_BW_RECLAIMED, align 4
%19 = load i32, ptr @USBPF_STATUS_CONTROL_XFR, align 4
%20 = load i32, ptr @USBPF_STATUS_CONTROL_HDR, align 4
%21 = load i32, ptr @USBPF_STATUS_CONTROL_ACT, align 4
%22 = load i32, ptr @USBPF_STATUS_CONTROL_STALL, align 4
%23 = load i32, ptr @USBPF_STATUS_SHORT_FRAMES_OK, align 4
%24 = load <8 x i32>, ptr %16, align 4, !tbaa !13
%25 = load i32, ptr @USBPF_STATUS_SHORT_XFER_OK, align 4
%26 = getelementptr inbounds i8, ptr %0, i64 64
%27 = load i32, ptr @USBPF_STATUS_ISOCHRONOUS_XFR, align 4
%28 = load i32, ptr @USBPF_STATUS_CURR_DMA_SET, align 4
%29 = load i32, ptr @USBPF_STATUS_CAN_CANCEL_IMMED, align 4
%30 = load <4 x i32>, ptr %26, align 4, !tbaa !13
%31 = load i32, ptr @USBPF_STATUS_DOING_CALLBACK, align 4
%32 = insertelement <16 x i32> poison, i32 %2, i64 0
%33 = insertelement <16 x i32> %32, i32 %10, i64 1
%34 = shufflevector <2 x i32> %14, <2 x i32> poison, <16 x i32> <i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%35 = shufflevector <16 x i32> %33, <16 x i32> %34, <16 x i32> <i32 0, i32 1, i32 16, i32 17, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%36 = shufflevector <8 x i32> %24, <8 x i32> poison, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%37 = shufflevector <16 x i32> %35, <16 x i32> %36, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 poison, i32 poison, i32 poison, i32 poison>
%38 = shufflevector <4 x i32> %30, <4 x i32> poison, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%39 = shufflevector <16 x i32> %37, <16 x i32> %38, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 16, i32 17, i32 18, i32 19>
%40 = icmp eq <16 x i32> %39, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
%41 = insertelement <16 x i32> poison, i32 %3, i64 0
%42 = insertelement <16 x i32> %41, i32 %11, i64 1
%43 = insertelement <16 x i32> %42, i32 %13, i64 2
%44 = insertelement <16 x i32> %43, i32 %15, i64 3
%45 = insertelement <16 x i32> %44, i32 %17, i64 4
%46 = insertelement <16 x i32> %45, i32 %18, i64 5
%47 = insertelement <16 x i32> %46, i32 %19, i64 6
%48 = insertelement <16 x i32> %47, i32 %20, i64 7
%49 = insertelement <16 x i32> %48, i32 %21, i64 8
%50 = insertelement <16 x i32> %49, i32 %22, i64 9
%51 = insertelement <16 x i32> %50, i32 %23, i64 10
%52 = insertelement <16 x i32> %51, i32 %25, i64 11
%53 = insertelement <16 x i32> %52, i32 %27, i64 12
%54 = insertelement <16 x i32> %53, i32 %28, i64 13
%55 = insertelement <16 x i32> %54, i32 %29, i64 14
%56 = insertelement <16 x i32> %55, i32 %31, i64 15
%57 = select <16 x i1> %40, <16 x i32> %56, <16 x i32> zeroinitializer
%58 = tail call i32 @llvm.vector.reduce.or.v16i32(<16 x i32> %57)
%59 = or i32 %58, %8
ret i32 %59
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.or.v16i32(<16 x i32>) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"usb_xfer_flags_int", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64, !8, i64 68, !8, i64 72, !8, i64 76}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 8}
!13 = !{!8, !8, i64 0}
| freebsd_sys_dev_usb_extr_usb_pf.c_usbpf_aggregate_status |
; ModuleID = 'AnghaBench/qmk_firmware/quantum/process_keycode/extr_process_audio.c_compute_freq_for_midi_note.c'
source_filename = "AnghaBench/qmk_firmware/quantum/process_keycode/extr_process_audio.c_compute_freq_for_midi_note.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PITCH_STANDARD_A = dso_local local_unnamed_addr global float 0.000000e+00, align 4
; Function Attrs: nounwind uwtable
define dso_local float @compute_freq_for_midi_note(i32 noundef %0) local_unnamed_addr #0 {
%2 = add nsw i32 %0, -69
%3 = sitofp i32 %2 to double
%4 = fdiv double %3, 1.200000e+01
%5 = fptosi double %4 to i32
%6 = tail call float @pow(double noundef 2.000000e+00, i32 noundef %5) #2
%7 = load float, ptr @PITCH_STANDARD_A, align 4, !tbaa !5
%8 = fmul float %6, %7
ret float %8
}
declare float @pow(double 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/qmk_firmware/quantum/process_keycode/extr_process_audio.c_compute_freq_for_midi_note.c'
source_filename = "AnghaBench/qmk_firmware/quantum/process_keycode/extr_process_audio.c_compute_freq_for_midi_note.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PITCH_STANDARD_A = common local_unnamed_addr global float 0.000000e+00, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define float @compute_freq_for_midi_note(i32 noundef %0) local_unnamed_addr #0 {
%2 = add nsw i32 %0, -69
%3 = sitofp i32 %2 to double
%4 = fdiv double %3, 1.200000e+01
%5 = fptosi double %4 to i32
%6 = tail call float @pow(double noundef 2.000000e+00, i32 noundef %5) #2
%7 = load float, ptr @PITCH_STANDARD_A, align 4, !tbaa !6
%8 = fmul float %6, %7
ret float %8
}
declare float @pow(double 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 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| qmk_firmware_quantum_process_keycode_extr_process_audio.c_compute_freq_for_midi_note |
; ModuleID = 'AnghaBench/ish/fs/extr_real.c_realfs_seekdir.c'
source_filename = "AnghaBench/ish/fs/extr_real.c_realfs_seekdir.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.fd = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local void @realfs_seekdir(%struct.fd* noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @realfs_opendir(%struct.fd* noundef %0) #2
%4 = getelementptr inbounds %struct.fd, %struct.fd* %0, i64 0, i32 0
%5 = load i32, i32* %4, align 4, !tbaa !5
%6 = tail call i32 @seekdir(i32 noundef %5, i64 noundef %1) #2
ret void
}
declare i32 @realfs_opendir(%struct.fd* noundef) local_unnamed_addr #1
declare i32 @seekdir(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fd", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/ish/fs/extr_real.c_realfs_seekdir.c'
source_filename = "AnghaBench/ish/fs/extr_real.c_realfs_seekdir.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 @realfs_seekdir(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @realfs_opendir(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @seekdir(i32 noundef %4, i64 noundef %1) #2
ret void
}
declare i32 @realfs_opendir(ptr noundef) local_unnamed_addr #1
declare i32 @seekdir(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, !8, i64 0}
!7 = !{!"fd", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ish_fs_extr_real.c_realfs_seekdir |
; ModuleID = 'AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_ip17xx.c_ip17xx_set_port_speed.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_ip17xx.c_ip17xx_set_port_speed.c"
target datalayout = "e-m:e-p270:32:32-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.switch_val = type { i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ip17xx_set_port_speed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ip17xx_set_port_speed(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call ptr @get_state(ptr noundef %0) #2
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.switch_val, ptr %2, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !11
switch i32 %7, label %9 [
i32 100, label %10
i32 10, label %8
]
8: ; preds = %3
br label %10
9: ; preds = %3
br label %10
10: ; preds = %3, %8, %9
%11 = phi i32 [ 0, %8 ], [ 4096, %9 ], [ 0, %3 ]
%12 = phi i32 [ 0, %8 ], [ 8192, %9 ], [ 8192, %3 ]
%13 = load ptr, ptr %4, align 8, !tbaa !12
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = icmp eq i32 %5, %14
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i32, ptr @EINVAL, align 4, !tbaa !17
%18 = sub nsw i32 0, %17
br label %38
19: ; preds = %10
%20 = load i32, ptr %0, align 4, !tbaa !18
%21 = icmp sge i32 %5, %20
%22 = icmp slt i32 %5, 0
%23 = or i1 %22, %21
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr @EINVAL, align 4, !tbaa !17
%26 = sub nsw i32 0, %25
br label %38
27: ; preds = %19
%28 = tail call i32 @ip_phy_read(ptr noundef nonnull %4, i32 noundef %5, i32 noundef 0) #2
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, ptr @EIO, align 4, !tbaa !17
%32 = sub nsw i32 0, %31
br label %38
33: ; preds = %27
%34 = and i32 %28, 2147471359
%35 = or disjoint i32 %12, %11
%36 = or disjoint i32 %35, %34
%37 = tail call i32 @ip_phy_write(ptr noundef nonnull %4, i32 noundef %5, i32 noundef 0, i32 noundef %36) #2
br label %38
38: ; preds = %33, %30, %24, %16
%39 = phi i32 [ %18, %16 ], [ %26, %24 ], [ %32, %30 ], [ %37, %33 ]
ret i32 %39
}
declare ptr @get_state(ptr noundef) local_unnamed_addr #1
declare i32 @ip_phy_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ip_phy_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"switch_val", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_3__", !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!13, !14, i64 0}
!13 = !{!"ip17xx_state", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_4__", !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !7, i64 0}
!19 = !{!"switch_dev", !7, i64 0}
| ; ModuleID = 'AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_ip17xx.c_ip17xx_set_port_speed.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_ip17xx.c_ip17xx_set_port_speed.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
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ip17xx_set_port_speed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ip17xx_set_port_speed(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call ptr @get_state(ptr noundef %0) #2
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %2, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !12
switch i32 %7, label %9 [
i32 100, label %10
i32 10, label %8
]
8: ; preds = %3
br label %10
9: ; preds = %3
br label %10
10: ; preds = %3, %8, %9
%11 = phi i32 [ 0, %8 ], [ 4096, %9 ], [ 0, %3 ]
%12 = phi i32 [ 0, %8 ], [ 8192, %9 ], [ 8192, %3 ]
%13 = load ptr, ptr %4, align 8, !tbaa !13
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = icmp eq i32 %5, %14
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load i32, ptr @EINVAL, align 4, !tbaa !18
%18 = sub nsw i32 0, %17
br label %38
19: ; preds = %10
%20 = load i32, ptr %0, align 4, !tbaa !19
%21 = icmp sge i32 %5, %20
%22 = icmp slt i32 %5, 0
%23 = or i1 %22, %21
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr @EINVAL, align 4, !tbaa !18
%26 = sub nsw i32 0, %25
br label %38
27: ; preds = %19
%28 = tail call i32 @ip_phy_read(ptr noundef nonnull %4, i32 noundef %5, i32 noundef 0) #2
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = load i32, ptr @EIO, align 4, !tbaa !18
%32 = sub nsw i32 0, %31
br label %38
33: ; preds = %27
%34 = and i32 %28, 2147471359
%35 = or disjoint i32 %12, %11
%36 = or disjoint i32 %35, %34
%37 = tail call i32 @ip_phy_write(ptr noundef nonnull %4, i32 noundef %5, i32 noundef 0, i32 noundef %36) #2
br label %38
38: ; preds = %33, %30, %24, %16
%39 = phi i32 [ %18, %16 ], [ %26, %24 ], [ %32, %30 ], [ %37, %33 ]
ret i32 %39
}
declare ptr @get_state(ptr noundef) local_unnamed_addr #1
declare i32 @ip_phy_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ip_phy_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"switch_val", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_3__", !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!14, !15, i64 0}
!14 = !{!"ip17xx_state", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_4__", !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!20, !8, i64 0}
!20 = !{!"switch_dev", !8, i64 0}
| openwrt_target_linux_generic_files_drivers_net_phy_extr_ip17xx.c_ip17xx_set_port_speed |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c___subn_get_opa_hfi1_cong_log.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c___subn_get_opa_hfi1_cong_log.c"
target datalayout = "e-m:e-p270:32:32-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.hfi1_pportdata = type { i32, i32, i64, ptr, ptr }
%struct.opa_hfi1_cong_log = type { ptr, ptr, i32, i32, i64, i32 }
%struct.opa_hfi1_cong_log_event_internal = type { i32, i32, i32, i32, i32, i32 }
%struct.TYPE_2__ = type { i32, ptr, ptr, i32, i32 }
@IB_SMP_INVALID_FIELD = dso_local local_unnamed_addr global i32 0, align 4
@OPA_CC_LOG_TYPE_HFI = dso_local local_unnamed_addr global i32 0, align 4
@OPA_CONG_LOG_ELEMS = dso_local local_unnamed_addr global i32 0, align 4
@U32_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__subn_get_opa_hfi1_cong_log], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__subn_get_opa_hfi1_cong_log(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = tail call ptr @to_iport(ptr noundef %3, i32 noundef %4) #2
%9 = tail call ptr @ppd_from_ibp(ptr noundef %8) #2
%10 = icmp eq i32 %1, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = tail call i64 @smp_length_check(i32 noundef 40, i32 noundef %6) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %11, %7
%15 = load i32, ptr @IB_SMP_INVALID_FIELD, align 4, !tbaa !5
%16 = load i32, ptr %0, align 4, !tbaa !9
%17 = or i32 %16, %15
store i32 %17, ptr %0, align 4, !tbaa !9
%18 = tail call i32 @reply(ptr noundef nonnull %0) #2
br label %102
19: ; preds = %11
%20 = getelementptr inbounds %struct.hfi1_pportdata, ptr %9, i64 0, i32 1
%21 = tail call i32 @spin_lock_irq(ptr noundef nonnull %20) #2
%22 = load i32, ptr @OPA_CC_LOG_TYPE_HFI, align 4, !tbaa !5
%23 = getelementptr inbounds %struct.opa_hfi1_cong_log, ptr %2, i64 0, i32 5
store i32 %22, ptr %23, align 8, !tbaa !11
%24 = getelementptr inbounds %struct.opa_hfi1_cong_log, ptr %2, i64 0, i32 4
store i64 0, ptr %24, align 8, !tbaa !15
%25 = getelementptr inbounds %struct.hfi1_pportdata, ptr %9, i64 0, i32 2
%26 = load i64, ptr %25, align 8, !tbaa !16
%27 = tail call i32 @cpu_to_be16(i64 noundef %26) #2
%28 = getelementptr inbounds %struct.opa_hfi1_cong_log, ptr %2, i64 0, i32 3
store i32 %27, ptr %28, align 4, !tbaa !18
%29 = getelementptr inbounds %struct.opa_hfi1_cong_log, ptr %2, i64 0, i32 2
%30 = load i32, ptr %29, align 8, !tbaa !19
%31 = getelementptr inbounds %struct.hfi1_pportdata, ptr %9, i64 0, i32 3
%32 = load ptr, ptr %31, align 8, !tbaa !20
%33 = tail call i32 @memcpy(i32 noundef %30, ptr noundef %32, i32 noundef 4) #2
%34 = tail call i32 (...) @ktime_get_ns() #2
%35 = sdiv i32 %34, 1024
%36 = tail call ptr @cpu_to_be32(i32 noundef %35) #2
%37 = getelementptr inbounds %struct.opa_hfi1_cong_log, ptr %2, i64 0, i32 1
store ptr %36, ptr %37, align 8, !tbaa !21
%38 = load i32, ptr @OPA_CONG_LOG_ELEMS, align 4, !tbaa !5
%39 = icmp sgt i32 %38, 0
br i1 %39, label %40, label %92
40: ; preds = %19
%41 = getelementptr inbounds %struct.hfi1_pportdata, ptr %9, i64 0, i32 4
br label %42
42: ; preds = %40, %87
%43 = phi i64 [ 0, %40 ], [ %88, %87 ]
%44 = load ptr, ptr %41, align 8, !tbaa !22
%45 = load i32, ptr %9, align 8, !tbaa !23
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 8, !tbaa !23
%47 = sext i32 %45 to i64
%48 = getelementptr inbounds %struct.opa_hfi1_cong_log_event_internal, ptr %44, i64 %47
%49 = load i32, ptr @OPA_CONG_LOG_ELEMS, align 4, !tbaa !5
%50 = icmp eq i32 %46, %49
%51 = select i1 %50, i32 0, i32 %46
store i32 %51, ptr %9, align 8
%52 = load i32, ptr %48, align 4, !tbaa !24
%53 = sub nsw i32 %35, %52
%54 = sdiv i32 %53, 2
%55 = load i32, ptr @U32_MAX, align 4, !tbaa !5
%56 = icmp sgt i32 %54, %55
br i1 %56, label %87, label %57
57: ; preds = %42
%58 = load ptr, ptr %2, align 8, !tbaa !26
%59 = getelementptr inbounds %struct.TYPE_2__, ptr %58, i64 %43, i32 4
%60 = load i32, ptr %59, align 4, !tbaa !27
%61 = getelementptr inbounds %struct.opa_hfi1_cong_log_event_internal, ptr %44, i64 %47, i32 5
%62 = tail call i32 @memcpy(i32 noundef %60, ptr noundef nonnull %61, i32 noundef 3) #2
%63 = load ptr, ptr %2, align 8, !tbaa !26
%64 = getelementptr inbounds %struct.TYPE_2__, ptr %63, i64 %43, i32 3
%65 = load i32, ptr %64, align 8, !tbaa !29
%66 = getelementptr inbounds %struct.opa_hfi1_cong_log_event_internal, ptr %44, i64 %47, i32 4
%67 = tail call i32 @memcpy(i32 noundef %65, ptr noundef nonnull %66, i32 noundef 3) #2
%68 = getelementptr inbounds %struct.opa_hfi1_cong_log_event_internal, ptr %44, i64 %47, i32 1
%69 = load i32, ptr %68, align 4, !tbaa !30
%70 = shl i32 %69, 3
%71 = and i32 %70, 248
%72 = getelementptr inbounds %struct.opa_hfi1_cong_log_event_internal, ptr %44, i64 %47, i32 2
%73 = load i32, ptr %72, align 4, !tbaa !31
%74 = and i32 %73, 7
%75 = or disjoint i32 %71, %74
%76 = load ptr, ptr %2, align 8, !tbaa !26
%77 = getelementptr inbounds %struct.TYPE_2__, ptr %76, i64 %43
store i32 %75, ptr %77, align 8, !tbaa !32
%78 = getelementptr inbounds %struct.opa_hfi1_cong_log_event_internal, ptr %44, i64 %47, i32 3
%79 = load i32, ptr %78, align 4, !tbaa !33
%80 = tail call ptr @cpu_to_be32(i32 noundef %79) #2
%81 = load ptr, ptr %2, align 8, !tbaa !26
%82 = getelementptr inbounds %struct.TYPE_2__, ptr %81, i64 %43, i32 2
store ptr %80, ptr %82, align 8, !tbaa !34
%83 = load i32, ptr %48, align 4, !tbaa !24
%84 = tail call ptr @cpu_to_be32(i32 noundef %83) #2
%85 = load ptr, ptr %2, align 8, !tbaa !26
%86 = getelementptr inbounds %struct.TYPE_2__, ptr %85, i64 %43, i32 1
store ptr %84, ptr %86, align 8, !tbaa !35
br label %87
87: ; preds = %42, %57
%88 = add nuw nsw i64 %43, 1
%89 = load i32, ptr @OPA_CONG_LOG_ELEMS, align 4, !tbaa !5
%90 = sext i32 %89 to i64
%91 = icmp slt i64 %88, %90
br i1 %91, label %42, label %92, !llvm.loop !36
92: ; preds = %87, %19
%93 = load ptr, ptr %31, align 8, !tbaa !20
%94 = tail call i32 @memset(ptr noundef %93, i32 noundef 0, i32 noundef 8) #2
store i64 0, ptr %25, align 8, !tbaa !16
%95 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %20) #2
%96 = icmp eq ptr %5, null
br i1 %96, label %100, label %97
97: ; preds = %92
%98 = load i32, ptr %5, align 4, !tbaa !5
%99 = add i32 %98, 40
store i32 %99, ptr %5, align 4, !tbaa !5
br label %100
100: ; preds = %97, %92
%101 = tail call i32 @reply(ptr noundef %0) #2
br label %102
102: ; preds = %100, %14
%103 = phi i32 [ %18, %14 ], [ %101, %100 ]
ret i32 %103
}
declare ptr @to_iport(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ppd_from_ibp(ptr noundef) local_unnamed_addr #1
declare i64 @smp_length_check(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @reply(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_be16(i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ktime_get_ns(...) local_unnamed_addr #1
declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(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 = !{!"opa_smp", !6, i64 0}
!11 = !{!12, !6, i64 32}
!12 = !{!"opa_hfi1_cong_log", !13, i64 0, !13, i64 8, !6, i64 16, !6, i64 20, !14, i64 24, !6, i64 32}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !14, i64 24}
!16 = !{!17, !14, i64 8}
!17 = !{!"hfi1_pportdata", !6, i64 0, !6, i64 4, !14, i64 8, !13, i64 16, !13, i64 24}
!18 = !{!12, !6, i64 20}
!19 = !{!12, !6, i64 16}
!20 = !{!17, !13, i64 16}
!21 = !{!12, !13, i64 8}
!22 = !{!17, !13, i64 24}
!23 = !{!17, !6, i64 0}
!24 = !{!25, !6, i64 0}
!25 = !{!"opa_hfi1_cong_log_event_internal", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!26 = !{!12, !13, i64 0}
!27 = !{!28, !6, i64 28}
!28 = !{!"TYPE_2__", !6, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !6, i64 28}
!29 = !{!28, !6, i64 24}
!30 = !{!25, !6, i64 4}
!31 = !{!25, !6, i64 8}
!32 = !{!28, !6, i64 0}
!33 = !{!25, !6, i64 12}
!34 = !{!28, !13, i64 16}
!35 = !{!28, !13, i64 8}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c___subn_get_opa_hfi1_cong_log.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mad.c___subn_get_opa_hfi1_cong_log.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.opa_hfi1_cong_log_event_internal = type { i32, i32, i32, i32, i32, i32 }
%struct.TYPE_2__ = type { i32, ptr, ptr, i32, i32 }
@IB_SMP_INVALID_FIELD = common local_unnamed_addr global i32 0, align 4
@OPA_CC_LOG_TYPE_HFI = common local_unnamed_addr global i32 0, align 4
@OPA_CONG_LOG_ELEMS = common local_unnamed_addr global i32 0, align 4
@U32_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__subn_get_opa_hfi1_cong_log], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__subn_get_opa_hfi1_cong_log(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = tail call ptr @to_iport(ptr noundef %3, i32 noundef %4) #2
%9 = tail call ptr @ppd_from_ibp(ptr noundef %8) #2
%10 = icmp eq i32 %1, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = tail call i64 @smp_length_check(i32 noundef 40, i32 noundef %6) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %11, %7
%15 = load i32, ptr @IB_SMP_INVALID_FIELD, align 4, !tbaa !6
%16 = load i32, ptr %0, align 4, !tbaa !10
%17 = or i32 %16, %15
store i32 %17, ptr %0, align 4, !tbaa !10
%18 = tail call i32 @reply(ptr noundef nonnull %0) #2
br label %102
19: ; preds = %11
%20 = getelementptr inbounds i8, ptr %9, i64 4
%21 = tail call i32 @spin_lock_irq(ptr noundef nonnull %20) #2
%22 = load i32, ptr @OPA_CC_LOG_TYPE_HFI, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %22, ptr %23, align 8, !tbaa !12
%24 = getelementptr inbounds i8, ptr %2, i64 24
store i64 0, ptr %24, align 8, !tbaa !16
%25 = getelementptr inbounds i8, ptr %9, i64 8
%26 = load i64, ptr %25, align 8, !tbaa !17
%27 = tail call i32 @cpu_to_be16(i64 noundef %26) #2
%28 = getelementptr inbounds i8, ptr %2, i64 20
store i32 %27, ptr %28, align 4, !tbaa !19
%29 = getelementptr inbounds i8, ptr %2, i64 16
%30 = load i32, ptr %29, align 8, !tbaa !20
%31 = getelementptr inbounds i8, ptr %9, i64 16
%32 = load ptr, ptr %31, align 8, !tbaa !21
%33 = tail call i32 @memcpy(i32 noundef %30, ptr noundef %32, i32 noundef 4) #2
%34 = tail call i32 @ktime_get_ns() #2
%35 = sdiv i32 %34, 1024
%36 = tail call ptr @cpu_to_be32(i32 noundef %35) #2
%37 = getelementptr inbounds i8, ptr %2, i64 8
store ptr %36, ptr %37, align 8, !tbaa !22
%38 = load i32, ptr @OPA_CONG_LOG_ELEMS, align 4, !tbaa !6
%39 = icmp sgt i32 %38, 0
br i1 %39, label %40, label %92
40: ; preds = %19
%41 = getelementptr inbounds i8, ptr %9, i64 24
br label %42
42: ; preds = %40, %87
%43 = phi i64 [ 0, %40 ], [ %88, %87 ]
%44 = load ptr, ptr %41, align 8, !tbaa !23
%45 = load i32, ptr %9, align 8, !tbaa !24
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 8, !tbaa !24
%47 = sext i32 %45 to i64
%48 = getelementptr inbounds %struct.opa_hfi1_cong_log_event_internal, ptr %44, i64 %47
%49 = load i32, ptr @OPA_CONG_LOG_ELEMS, align 4, !tbaa !6
%50 = icmp eq i32 %46, %49
%51 = select i1 %50, i32 0, i32 %46
store i32 %51, ptr %9, align 8
%52 = load i32, ptr %48, align 4, !tbaa !25
%53 = sub nsw i32 %35, %52
%54 = sdiv i32 %53, 2
%55 = load i32, ptr @U32_MAX, align 4, !tbaa !6
%56 = icmp sgt i32 %54, %55
br i1 %56, label %87, label %57
57: ; preds = %42
%58 = load ptr, ptr %2, align 8, !tbaa !27
%59 = getelementptr inbounds %struct.TYPE_2__, ptr %58, i64 %43, i32 4
%60 = load i32, ptr %59, align 4, !tbaa !28
%61 = getelementptr inbounds i8, ptr %48, i64 20
%62 = tail call i32 @memcpy(i32 noundef %60, ptr noundef nonnull %61, i32 noundef 3) #2
%63 = load ptr, ptr %2, align 8, !tbaa !27
%64 = getelementptr inbounds %struct.TYPE_2__, ptr %63, i64 %43, i32 3
%65 = load i32, ptr %64, align 8, !tbaa !30
%66 = getelementptr inbounds i8, ptr %48, i64 16
%67 = tail call i32 @memcpy(i32 noundef %65, ptr noundef nonnull %66, i32 noundef 3) #2
%68 = getelementptr inbounds i8, ptr %48, i64 4
%69 = load i32, ptr %68, align 4, !tbaa !31
%70 = shl i32 %69, 3
%71 = and i32 %70, 248
%72 = getelementptr inbounds i8, ptr %48, i64 8
%73 = load i32, ptr %72, align 4, !tbaa !32
%74 = and i32 %73, 7
%75 = or disjoint i32 %71, %74
%76 = load ptr, ptr %2, align 8, !tbaa !27
%77 = getelementptr inbounds %struct.TYPE_2__, ptr %76, i64 %43
store i32 %75, ptr %77, align 8, !tbaa !33
%78 = getelementptr inbounds i8, ptr %48, i64 12
%79 = load i32, ptr %78, align 4, !tbaa !34
%80 = tail call ptr @cpu_to_be32(i32 noundef %79) #2
%81 = load ptr, ptr %2, align 8, !tbaa !27
%82 = getelementptr inbounds %struct.TYPE_2__, ptr %81, i64 %43, i32 2
store ptr %80, ptr %82, align 8, !tbaa !35
%83 = load i32, ptr %48, align 4, !tbaa !25
%84 = tail call ptr @cpu_to_be32(i32 noundef %83) #2
%85 = load ptr, ptr %2, align 8, !tbaa !27
%86 = getelementptr inbounds %struct.TYPE_2__, ptr %85, i64 %43, i32 1
store ptr %84, ptr %86, align 8, !tbaa !36
br label %87
87: ; preds = %42, %57
%88 = add nuw nsw i64 %43, 1
%89 = load i32, ptr @OPA_CONG_LOG_ELEMS, align 4, !tbaa !6
%90 = sext i32 %89 to i64
%91 = icmp slt i64 %88, %90
br i1 %91, label %42, label %92, !llvm.loop !37
92: ; preds = %87, %19
%93 = load ptr, ptr %31, align 8, !tbaa !21
%94 = tail call i32 @memset(ptr noundef %93, i32 noundef 0, i32 noundef 8) #2
store i64 0, ptr %25, align 8, !tbaa !17
%95 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %20) #2
%96 = icmp eq ptr %5, null
br i1 %96, label %100, label %97
97: ; preds = %92
%98 = load i32, ptr %5, align 4, !tbaa !6
%99 = add i32 %98, 40
store i32 %99, ptr %5, align 4, !tbaa !6
br label %100
100: ; preds = %97, %92
%101 = tail call i32 @reply(ptr noundef %0) #2
br label %102
102: ; preds = %100, %14
%103 = phi i32 [ %18, %14 ], [ %101, %100 ]
ret i32 %103
}
declare ptr @to_iport(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ppd_from_ibp(ptr noundef) local_unnamed_addr #1
declare i64 @smp_length_check(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @reply(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_be16(i64 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ktime_get_ns(...) local_unnamed_addr #1
declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(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 = !{!"opa_smp", !7, i64 0}
!12 = !{!13, !7, i64 32}
!13 = !{!"opa_hfi1_cong_log", !14, i64 0, !14, i64 8, !7, i64 16, !7, i64 20, !15, i64 24, !7, i64 32}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!13, !15, i64 24}
!17 = !{!18, !15, i64 8}
!18 = !{!"hfi1_pportdata", !7, i64 0, !7, i64 4, !15, i64 8, !14, i64 16, !14, i64 24}
!19 = !{!13, !7, i64 20}
!20 = !{!13, !7, i64 16}
!21 = !{!18, !14, i64 16}
!22 = !{!13, !14, i64 8}
!23 = !{!18, !14, i64 24}
!24 = !{!18, !7, i64 0}
!25 = !{!26, !7, i64 0}
!26 = !{!"opa_hfi1_cong_log_event_internal", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!27 = !{!13, !14, i64 0}
!28 = !{!29, !7, i64 28}
!29 = !{!"TYPE_2__", !7, i64 0, !14, i64 8, !14, i64 16, !7, i64 24, !7, i64 28}
!30 = !{!29, !7, i64 24}
!31 = !{!26, !7, i64 4}
!32 = !{!26, !7, i64 8}
!33 = !{!29, !7, i64 0}
!34 = !{!26, !7, i64 12}
!35 = !{!29, !14, i64 16}
!36 = !{!29, !14, i64 8}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
| linux_drivers_infiniband_hw_hfi1_extr_mad.c___subn_get_opa_hfi1_cong_log |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_count.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_count.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ZDICT_count], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @ZDICT_count(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @MEM_readST(ptr noundef %1) #2
%4 = tail call i64 @MEM_readST(ptr noundef %0) #2
%5 = xor i64 %4, %3
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %16
7: ; preds = %2, %7
%8 = phi ptr [ %10, %7 ], [ %0, %2 ]
%9 = phi ptr [ %11, %7 ], [ %1, %2 ]
%10 = getelementptr inbounds i8, ptr %8, i64 8
%11 = getelementptr inbounds i8, ptr %9, i64 8
%12 = tail call i64 @MEM_readST(ptr noundef nonnull %11) #2
%13 = tail call i64 @MEM_readST(ptr noundef nonnull %10) #2
%14 = xor i64 %13, %12
%15 = icmp eq i64 %14, 0
br i1 %15, label %7, label %16
16: ; preds = %7, %2
%17 = phi ptr [ %0, %2 ], [ %10, %7 ]
%18 = phi i64 [ %5, %2 ], [ %14, %7 ]
%19 = tail call i32 @ZDICT_NbCommonBytes(i64 noundef %18) #2
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %17, i64 %20
%22 = ptrtoint ptr %21 to i64
%23 = ptrtoint ptr %0 to i64
%24 = sub i64 %22, %23
ret i64 %24
}
declare i64 @MEM_readST(ptr noundef) local_unnamed_addr #1
declare i32 @ZDICT_NbCommonBytes(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)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_count.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_count.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 @ZDICT_count], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @ZDICT_count(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @MEM_readST(ptr noundef %1) #2
%4 = tail call i64 @MEM_readST(ptr noundef %0) #2
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %14
6: ; preds = %2, %6
%7 = phi ptr [ %9, %6 ], [ %0, %2 ]
%8 = phi ptr [ %10, %6 ], [ %1, %2 ]
%9 = getelementptr inbounds i8, ptr %7, i64 8
%10 = getelementptr inbounds i8, ptr %8, i64 8
%11 = tail call i64 @MEM_readST(ptr noundef nonnull %10) #2
%12 = tail call i64 @MEM_readST(ptr noundef nonnull %9) #2
%13 = icmp eq i64 %11, %12
br i1 %13, label %6, label %14
14: ; preds = %6, %2
%15 = phi ptr [ %0, %2 ], [ %9, %6 ]
%16 = phi i64 [ %3, %2 ], [ %11, %6 ]
%17 = phi i64 [ %4, %2 ], [ %12, %6 ]
%18 = xor i64 %17, %16
%19 = tail call i32 @ZDICT_NbCommonBytes(i64 noundef %18) #2
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %15, i64 %20
%22 = ptrtoint ptr %21 to i64
%23 = ptrtoint ptr %0 to i64
%24 = sub i64 %22, %23
ret i64 %24
}
declare i64 @MEM_readST(ptr noundef) local_unnamed_addr #1
declare i32 @ZDICT_NbCommonBytes(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)"}
| freebsd_sys_contrib_zstd_lib_dictBuilder_extr_zdict.c_ZDICT_count |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_base.c_nvkm_gr_cclass_new.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_base.c_nvkm_gr_cclass_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @nvkm_gr_cclass_new], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nvkm_gr_cclass_new(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = tail call ptr @nvkm_gr(i32 noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %3
%10 = tail call i32 %7(ptr noundef nonnull %5, ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2) #2
br label %11
11: ; preds = %3, %9
%12 = phi i32 [ %10, %9 ], [ 0, %3 ]
ret i32 %12
}
declare ptr @nvkm_gr(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 = !{!"nvkm_oclass", !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 = !{!"nvkm_gr", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_base.c_nvkm_gr_cclass_new.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/extr_base.c_nvkm_gr_cclass_new.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 @nvkm_gr_cclass_new], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nvkm_gr_cclass_new(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = tail call ptr @nvkm_gr(i32 noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %3
%10 = tail call i32 %7(ptr noundef nonnull %5, ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2) #2
br label %11
11: ; preds = %3, %9
%12 = phi i32 [ %10, %9 ], [ 0, %3 ]
ret i32 %12
}
declare ptr @nvkm_gr(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 = !{!"nvkm_oclass", !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 = !{!"nvkm_gr", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_2__", !13, i64 0}
| linux_drivers_gpu_drm_nouveau_nvkm_engine_gr_extr_base.c_nvkm_gr_cclass_new |
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_auth_unix.c_unx_lookup_cred.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_auth_unix.c_unx_lookup_cred.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@unix_pool = dso_local local_unnamed_addr global i32 0, align 4
@GFP_NOFS = dso_local local_unnamed_addr global i32 0, align 4
@unix_credops = dso_local global i32 0, align 4
@RPCAUTH_CRED_UPTODATE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @unx_lookup_cred], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @unx_lookup_cred(ptr noundef %0, ptr noundef %1, i32 %2) #0 {
%4 = load i32, ptr @unix_pool, align 4, !tbaa !5
%5 = load i32, ptr @GFP_NOFS, align 4, !tbaa !5
%6 = tail call ptr @mempool_alloc(i32 noundef %4, i32 noundef %5) #2
%7 = tail call i32 @rpcauth_init_cred(ptr noundef %6, ptr noundef %1, ptr noundef %0, ptr noundef nonnull @unix_credops) #2
%8 = load i64, ptr @RPCAUTH_CRED_UPTODATE, align 8, !tbaa !9
%9 = shl nuw i64 1, %8
store i64 %9, ptr %6, align 8, !tbaa !11
ret ptr %6
}
declare ptr @mempool_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rpcauth_init_cred(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"rpc_cred", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_auth_unix.c_unx_lookup_cred.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_auth_unix.c_unx_lookup_cred.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@unix_pool = common local_unnamed_addr global i32 0, align 4
@GFP_NOFS = common local_unnamed_addr global i32 0, align 4
@unix_credops = common global i32 0, align 4
@RPCAUTH_CRED_UPTODATE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @unx_lookup_cred], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @unx_lookup_cred(ptr noundef %0, ptr noundef %1, i32 %2) #0 {
%4 = load i32, ptr @unix_pool, align 4, !tbaa !6
%5 = load i32, ptr @GFP_NOFS, align 4, !tbaa !6
%6 = tail call ptr @mempool_alloc(i32 noundef %4, i32 noundef %5) #2
%7 = tail call i32 @rpcauth_init_cred(ptr noundef %6, ptr noundef %1, ptr noundef %0, ptr noundef nonnull @unix_credops) #2
%8 = load i64, ptr @RPCAUTH_CRED_UPTODATE, align 8, !tbaa !10
%9 = shl nuw i64 1, %8
store i64 %9, ptr %6, align 8, !tbaa !12
ret ptr %6
}
declare ptr @mempool_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rpcauth_init_cred(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"rpc_cred", !11, i64 0}
| linux_net_sunrpc_extr_auth_unix.c_unx_lookup_cred |
; ModuleID = 'AnghaBench/freebsd/lib/libc/compat-43/extr_creat.c___creat.c'
source_filename = "AnghaBench/freebsd/lib/libc/compat-43/extr_creat.c___creat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@__libc_interposing = dso_local local_unnamed_addr global ptr null, align 8
@INTERPOS_openat = dso_local local_unnamed_addr global i64 0, align 8
@AT_FDCWD = dso_local local_unnamed_addr global i32 0, align 4
@O_WRONLY = dso_local local_unnamed_addr global i32 0, align 4
@O_CREAT = dso_local local_unnamed_addr global i32 0, align 4
@O_TRUNC = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @__creat(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @__libc_interposing, align 8, !tbaa !5
%4 = load i64, ptr @INTERPOS_openat, align 8, !tbaa !9
%5 = getelementptr inbounds i64, ptr %3, i64 %4
%6 = load i64, ptr %5, align 8, !tbaa !9
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr @AT_FDCWD, align 4, !tbaa !11
%9 = load i32, ptr @O_WRONLY, align 4, !tbaa !11
%10 = load i32, ptr @O_CREAT, align 4, !tbaa !11
%11 = or i32 %10, %9
%12 = load i32, ptr @O_TRUNC, align 4, !tbaa !11
%13 = or i32 %11, %12
%14 = tail call i32 (i32, ptr, i32, ...) %7(i32 noundef %8, ptr noundef %0, i32 noundef %13, i32 noundef %1) #1
ret i32 %14
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/compat-43/extr_creat.c___creat.c'
source_filename = "AnghaBench/freebsd/lib/libc/compat-43/extr_creat.c___creat.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__libc_interposing = common local_unnamed_addr global ptr null, align 8
@INTERPOS_openat = common local_unnamed_addr global i64 0, align 8
@AT_FDCWD = common local_unnamed_addr global i32 0, align 4
@O_WRONLY = common local_unnamed_addr global i32 0, align 4
@O_CREAT = common local_unnamed_addr global i32 0, align 4
@O_TRUNC = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @__creat(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @__libc_interposing, align 8, !tbaa !6
%4 = load i64, ptr @INTERPOS_openat, align 8, !tbaa !10
%5 = getelementptr inbounds i64, ptr %3, i64 %4
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr @AT_FDCWD, align 4, !tbaa !12
%9 = load i32, ptr @O_WRONLY, align 4, !tbaa !12
%10 = load i32, ptr @O_CREAT, align 4, !tbaa !12
%11 = or i32 %10, %9
%12 = load i32, ptr @O_TRUNC, align 4, !tbaa !12
%13 = or i32 %11, %12
%14 = tail call i32 (i32, ptr, i32, ...) %7(i32 noundef %8, ptr noundef %0, i32 noundef %13, i32 noundef %1) #1
ret i32 %14
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"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, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| freebsd_lib_libc_compat-43_extr_creat.c___creat |
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_jack.c_snd_hda_jack_add_kctls.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_jack.c_snd_hda_jack_add_kctls.c"
target datalayout = "e-m:e-p270:32:32-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.auto_pin_cfg = type { i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, i64, i64, ptr }
%struct.TYPE_2__ = type { i64, i64 }
@.str = private unnamed_addr constant [14 x i8] c"Headphone Mic\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @snd_hda_jack_add_kctls(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 8, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %37
5: ; preds = %2
%6 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 11
br label %12
7: ; preds = %34
%8 = add nuw nsw i64 %13, 1
%9 = load i32, ptr %1, align 8, !tbaa !5
%10 = sext i32 %9 to i64
%11 = icmp slt i64 %8, %10
br i1 %11, label %12, label %37, !llvm.loop !12
12: ; preds = %5, %7
%13 = phi i64 [ 0, %5 ], [ %8, %7 ]
%14 = load ptr, ptr %6, align 8, !tbaa !14
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %13, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !15
%17 = icmp eq i64 %16, 0
br i1 %17, label %30, label %18
18: ; preds = %12
%19 = tail call i32 @auto_cfg_hp_outs(ptr noundef nonnull %1) #3
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = tail call ptr @auto_cfg_hp_pins(ptr noundef nonnull %1) #3
%23 = load i64, ptr %22, align 8, !tbaa !17
%24 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %23, ptr noundef nonnull %1, ptr noundef nonnull @.str) #3
br label %34
25: ; preds = %18
%26 = load ptr, ptr %6, align 8, !tbaa !14
%27 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 %13
%28 = load i64, ptr %27, align 8, !tbaa !18
%29 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %28, ptr noundef nonnull %1, ptr noundef nonnull @.str) #3
br label %34
30: ; preds = %12
%31 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %13
%32 = load i64, ptr %31, align 8, !tbaa !18
%33 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %32, ptr noundef nonnull %1, ptr noundef null) #3
br label %34
34: ; preds = %21, %25, %30
%35 = phi i32 [ %24, %21 ], [ %29, %25 ], [ %33, %30 ]
%36 = icmp slt i32 %35, 0
br i1 %36, label %127, label %7
37: ; preds = %7, %2
%38 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 1
%39 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 2
%40 = load i32, ptr %39, align 8, !tbaa !19
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %55
42: ; preds = %37
%43 = load ptr, ptr %38, align 8, !tbaa !20
br label %44
44: ; preds = %42, %50
%45 = phi i32 [ %51, %50 ], [ 0, %42 ]
%46 = phi ptr [ %52, %50 ], [ %43, %42 ]
%47 = load i64, ptr %46, align 8, !tbaa !17
%48 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %47, ptr noundef nonnull %1, ptr noundef null) #3
%49 = icmp slt i32 %48, 0
br i1 %49, label %127, label %50
50: ; preds = %44
%51 = add nuw nsw i32 %45, 1
%52 = getelementptr inbounds i64, ptr %46, i64 1
%53 = load i32, ptr %39, align 8, !tbaa !19
%54 = icmp slt i32 %51, %53
br i1 %54, label %44, label %55, !llvm.loop !21
55: ; preds = %50, %37
%56 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 4
%57 = load i32, ptr %56, align 8, !tbaa !22
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %77
59: ; preds = %55
%60 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 3
%61 = load ptr, ptr %60, align 8, !tbaa !23
br label %62
62: ; preds = %59, %72
%63 = phi i32 [ %73, %72 ], [ 0, %59 ]
%64 = phi ptr [ %74, %72 ], [ %61, %59 ]
%65 = load i64, ptr %64, align 8, !tbaa !17
%66 = load ptr, ptr %38, align 8, !tbaa !20
%67 = load i64, ptr %66, align 8, !tbaa !17
%68 = icmp eq i64 %65, %67
br i1 %68, label %77, label %69
69: ; preds = %62
%70 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %65, ptr noundef nonnull %1, ptr noundef null) #3
%71 = icmp slt i32 %70, 0
br i1 %71, label %127, label %72
72: ; preds = %69
%73 = add nuw nsw i32 %63, 1
%74 = getelementptr inbounds i64, ptr %64, i64 1
%75 = load i32, ptr %56, align 8, !tbaa !22
%76 = icmp slt i32 %73, %75
br i1 %76, label %62, label %77, !llvm.loop !24
77: ; preds = %72, %62, %55
%78 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 6
%79 = load i32, ptr %78, align 8, !tbaa !25
%80 = icmp sgt i32 %79, 0
br i1 %80, label %81, label %99
81: ; preds = %77
%82 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 5
%83 = load ptr, ptr %82, align 8, !tbaa !26
br label %84
84: ; preds = %81, %94
%85 = phi i32 [ %95, %94 ], [ 0, %81 ]
%86 = phi ptr [ %96, %94 ], [ %83, %81 ]
%87 = load i64, ptr %86, align 8, !tbaa !17
%88 = load ptr, ptr %38, align 8, !tbaa !20
%89 = load i64, ptr %88, align 8, !tbaa !17
%90 = icmp eq i64 %87, %89
br i1 %90, label %99, label %91
91: ; preds = %84
%92 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %87, ptr noundef nonnull %1, ptr noundef null) #3
%93 = icmp slt i32 %92, 0
br i1 %93, label %127, label %94
94: ; preds = %91
%95 = add nuw nsw i32 %85, 1
%96 = getelementptr inbounds i64, ptr %86, i64 1
%97 = load i32, ptr %78, align 8, !tbaa !25
%98 = icmp slt i32 %95, %97
br i1 %98, label %84, label %99, !llvm.loop !27
99: ; preds = %94, %84, %77
%100 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 8
%101 = load i32, ptr %100, align 8, !tbaa !28
%102 = icmp sgt i32 %101, 0
br i1 %102, label %103, label %117
103: ; preds = %99
%104 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 7
%105 = load ptr, ptr %104, align 8, !tbaa !29
br label %106
106: ; preds = %103, %112
%107 = phi i32 [ %113, %112 ], [ 0, %103 ]
%108 = phi ptr [ %114, %112 ], [ %105, %103 ]
%109 = load i64, ptr %108, align 8, !tbaa !17
%110 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %109, ptr noundef nonnull %1, ptr noundef null) #3
%111 = icmp slt i32 %110, 0
br i1 %111, label %127, label %112
112: ; preds = %106
%113 = add nuw nsw i32 %107, 1
%114 = getelementptr inbounds i64, ptr %108, i64 1
%115 = load i32, ptr %100, align 8, !tbaa !28
%116 = icmp slt i32 %113, %115
br i1 %116, label %106, label %117, !llvm.loop !30
117: ; preds = %112, %99
%118 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 9
%119 = load i64, ptr %118, align 8, !tbaa !31
%120 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %119, ptr noundef nonnull %1, ptr noundef null) #3
%121 = icmp slt i32 %120, 0
br i1 %121, label %127, label %122
122: ; preds = %117
%123 = getelementptr inbounds %struct.auto_pin_cfg, ptr %1, i64 0, i32 10
%124 = load i64, ptr %123, align 8, !tbaa !32
%125 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %124, ptr noundef nonnull %1, ptr noundef null) #3
%126 = tail call i32 @llvm.smin.i32(i32 %125, i32 0)
br label %127
127: ; preds = %34, %44, %69, %91, %106, %122, %117
%128 = phi i32 [ %120, %117 ], [ %126, %122 ], [ %110, %106 ], [ %92, %91 ], [ %70, %69 ], [ %48, %44 ], [ %35, %34 ]
ret i32 %128
}
declare i32 @auto_cfg_hp_outs(ptr noundef) local_unnamed_addr #1
declare i32 @add_jack_kctl(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @auto_cfg_hp_pins(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"auto_pin_cfg", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !11, i64 72, !11, i64 80, !10, i64 88}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!6, !10, i64 88}
!15 = !{!16, !11, i64 8}
!16 = !{!"TYPE_2__", !11, i64 0, !11, i64 8}
!17 = !{!11, !11, i64 0}
!18 = !{!16, !11, i64 0}
!19 = !{!6, !7, i64 16}
!20 = !{!6, !10, i64 8}
!21 = distinct !{!21, !13}
!22 = !{!6, !7, i64 32}
!23 = !{!6, !10, i64 24}
!24 = distinct !{!24, !13}
!25 = !{!6, !7, i64 48}
!26 = !{!6, !10, i64 40}
!27 = distinct !{!27, !13}
!28 = !{!6, !7, i64 64}
!29 = !{!6, !10, i64 56}
!30 = distinct !{!30, !13}
!31 = !{!6, !11, i64 72}
!32 = !{!6, !11, i64 80}
| ; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_jack.c_snd_hda_jack_add_kctls.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_jack.c_snd_hda_jack_add_kctls.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, i64 }
@.str = private unnamed_addr constant [14 x i8] c"Headphone Mic\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483648, 1) i32 @snd_hda_jack_add_kctls(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %1, align 8, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %37
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %1, i64 88
br label %12
7: ; preds = %34
%8 = add nuw nsw i64 %13, 1
%9 = load i32, ptr %1, align 8, !tbaa !6
%10 = sext i32 %9 to i64
%11 = icmp slt i64 %8, %10
br i1 %11, label %12, label %37, !llvm.loop !13
12: ; preds = %5, %7
%13 = phi i64 [ 0, %5 ], [ %8, %7 ]
%14 = load ptr, ptr %6, align 8, !tbaa !15
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %13
%16 = getelementptr inbounds i8, ptr %15, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !16
%18 = icmp eq i64 %17, 0
br i1 %18, label %31, label %19
19: ; preds = %12
%20 = tail call i32 @auto_cfg_hp_outs(ptr noundef nonnull %1) #3
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %26
22: ; preds = %19
%23 = tail call ptr @auto_cfg_hp_pins(ptr noundef nonnull %1) #3
%24 = load i64, ptr %23, align 8, !tbaa !18
%25 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %24, ptr noundef nonnull %1, ptr noundef nonnull @.str) #3
br label %34
26: ; preds = %19
%27 = load ptr, ptr %6, align 8, !tbaa !15
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i64 %13
%29 = load i64, ptr %28, align 8, !tbaa !19
%30 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %29, ptr noundef nonnull %1, ptr noundef nonnull @.str) #3
br label %34
31: ; preds = %12
%32 = load i64, ptr %15, align 8, !tbaa !19
%33 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %32, ptr noundef nonnull %1, ptr noundef null) #3
br label %34
34: ; preds = %22, %26, %31
%35 = phi i32 [ %25, %22 ], [ %30, %26 ], [ %33, %31 ]
%36 = icmp slt i32 %35, 0
br i1 %36, label %127, label %7
37: ; preds = %7, %2
%38 = getelementptr inbounds i8, ptr %1, i64 8
%39 = getelementptr inbounds i8, ptr %1, i64 16
%40 = load i32, ptr %39, align 8, !tbaa !20
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %55
42: ; preds = %37
%43 = load ptr, ptr %38, align 8, !tbaa !21
br label %44
44: ; preds = %42, %50
%45 = phi i32 [ %51, %50 ], [ 0, %42 ]
%46 = phi ptr [ %52, %50 ], [ %43, %42 ]
%47 = load i64, ptr %46, align 8, !tbaa !18
%48 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %47, ptr noundef nonnull %1, ptr noundef null) #3
%49 = icmp slt i32 %48, 0
br i1 %49, label %127, label %50
50: ; preds = %44
%51 = add nuw nsw i32 %45, 1
%52 = getelementptr inbounds i8, ptr %46, i64 8
%53 = load i32, ptr %39, align 8, !tbaa !20
%54 = icmp slt i32 %51, %53
br i1 %54, label %44, label %55, !llvm.loop !22
55: ; preds = %50, %37
%56 = getelementptr inbounds i8, ptr %1, i64 32
%57 = load i32, ptr %56, align 8, !tbaa !23
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %77
59: ; preds = %55
%60 = getelementptr inbounds i8, ptr %1, i64 24
%61 = load ptr, ptr %60, align 8, !tbaa !24
br label %62
62: ; preds = %59, %72
%63 = phi i32 [ %73, %72 ], [ 0, %59 ]
%64 = phi ptr [ %74, %72 ], [ %61, %59 ]
%65 = load i64, ptr %64, align 8, !tbaa !18
%66 = load ptr, ptr %38, align 8, !tbaa !21
%67 = load i64, ptr %66, align 8, !tbaa !18
%68 = icmp eq i64 %65, %67
br i1 %68, label %77, label %69
69: ; preds = %62
%70 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %65, ptr noundef nonnull %1, ptr noundef null) #3
%71 = icmp slt i32 %70, 0
br i1 %71, label %127, label %72
72: ; preds = %69
%73 = add nuw nsw i32 %63, 1
%74 = getelementptr inbounds i8, ptr %64, i64 8
%75 = load i32, ptr %56, align 8, !tbaa !23
%76 = icmp slt i32 %73, %75
br i1 %76, label %62, label %77, !llvm.loop !25
77: ; preds = %72, %62, %55
%78 = getelementptr inbounds i8, ptr %1, i64 48
%79 = load i32, ptr %78, align 8, !tbaa !26
%80 = icmp sgt i32 %79, 0
br i1 %80, label %81, label %99
81: ; preds = %77
%82 = getelementptr inbounds i8, ptr %1, i64 40
%83 = load ptr, ptr %82, align 8, !tbaa !27
br label %84
84: ; preds = %81, %94
%85 = phi i32 [ %95, %94 ], [ 0, %81 ]
%86 = phi ptr [ %96, %94 ], [ %83, %81 ]
%87 = load i64, ptr %86, align 8, !tbaa !18
%88 = load ptr, ptr %38, align 8, !tbaa !21
%89 = load i64, ptr %88, align 8, !tbaa !18
%90 = icmp eq i64 %87, %89
br i1 %90, label %99, label %91
91: ; preds = %84
%92 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %87, ptr noundef nonnull %1, ptr noundef null) #3
%93 = icmp slt i32 %92, 0
br i1 %93, label %127, label %94
94: ; preds = %91
%95 = add nuw nsw i32 %85, 1
%96 = getelementptr inbounds i8, ptr %86, i64 8
%97 = load i32, ptr %78, align 8, !tbaa !26
%98 = icmp slt i32 %95, %97
br i1 %98, label %84, label %99, !llvm.loop !28
99: ; preds = %94, %84, %77
%100 = getelementptr inbounds i8, ptr %1, i64 64
%101 = load i32, ptr %100, align 8, !tbaa !29
%102 = icmp sgt i32 %101, 0
br i1 %102, label %103, label %117
103: ; preds = %99
%104 = getelementptr inbounds i8, ptr %1, i64 56
%105 = load ptr, ptr %104, align 8, !tbaa !30
br label %106
106: ; preds = %103, %112
%107 = phi i32 [ %113, %112 ], [ 0, %103 ]
%108 = phi ptr [ %114, %112 ], [ %105, %103 ]
%109 = load i64, ptr %108, align 8, !tbaa !18
%110 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %109, ptr noundef nonnull %1, ptr noundef null) #3
%111 = icmp slt i32 %110, 0
br i1 %111, label %127, label %112
112: ; preds = %106
%113 = add nuw nsw i32 %107, 1
%114 = getelementptr inbounds i8, ptr %108, i64 8
%115 = load i32, ptr %100, align 8, !tbaa !29
%116 = icmp slt i32 %113, %115
br i1 %116, label %106, label %117, !llvm.loop !31
117: ; preds = %112, %99
%118 = getelementptr inbounds i8, ptr %1, i64 72
%119 = load i64, ptr %118, align 8, !tbaa !32
%120 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %119, ptr noundef nonnull %1, ptr noundef null) #3
%121 = icmp slt i32 %120, 0
br i1 %121, label %127, label %122
122: ; preds = %117
%123 = getelementptr inbounds i8, ptr %1, i64 80
%124 = load i64, ptr %123, align 8, !tbaa !33
%125 = tail call i32 @add_jack_kctl(ptr noundef %0, i64 noundef %124, ptr noundef nonnull %1, ptr noundef null) #3
%126 = tail call i32 @llvm.smin.i32(i32 %125, i32 0)
br label %127
127: ; preds = %34, %44, %69, %91, %106, %122, %117
%128 = phi i32 [ %120, %117 ], [ %126, %122 ], [ %110, %106 ], [ %92, %91 ], [ %70, %69 ], [ %48, %44 ], [ %35, %34 ]
ret i32 %128
}
declare i32 @auto_cfg_hp_outs(ptr noundef) local_unnamed_addr #1
declare i32 @add_jack_kctl(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @auto_cfg_hp_pins(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"auto_pin_cfg", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !8, i64 32, !11, i64 40, !8, i64 48, !11, i64 56, !8, i64 64, !12, i64 72, !12, i64 80, !11, i64 88}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !11, i64 88}
!16 = !{!17, !12, i64 8}
!17 = !{!"TYPE_2__", !12, i64 0, !12, i64 8}
!18 = !{!12, !12, i64 0}
!19 = !{!17, !12, i64 0}
!20 = !{!7, !8, i64 16}
!21 = !{!7, !11, i64 8}
!22 = distinct !{!22, !14}
!23 = !{!7, !8, i64 32}
!24 = !{!7, !11, i64 24}
!25 = distinct !{!25, !14}
!26 = !{!7, !8, i64 48}
!27 = !{!7, !11, i64 40}
!28 = distinct !{!28, !14}
!29 = !{!7, !8, i64 64}
!30 = !{!7, !11, i64 56}
!31 = distinct !{!31, !14}
!32 = !{!7, !12, i64 72}
!33 = !{!7, !12, i64 80}
| linux_sound_pci_hda_extr_hda_jack.c_snd_hda_jack_add_kctls |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_hotcopy.c_hotcopy_incremental_check_preconditions.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_hotcopy.c_hotcopy_incremental_check_preconditions.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr }
%struct.TYPE_6__ = type { i64, i64 }
@SVN_ERR_UNSUPPORTED_FEATURE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [159 x i8] c"The FSFS format (%d) of the hotcopy source does not match the FSFS format (%d) of the hotcopy destination; please upgrade both repositories to the same format\00", align 1
@SVN_ERR_RA_UUID_MISMATCH = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [82 x i8] c"The UUID of the hotcopy source does not match the UUID of the hotcopy destination\00", align 1
@.str.2 = private unnamed_addr constant [132 x i8] c"The sharding layout configuration of the hotcopy source does not match the sharding layout configuration of the hotcopy destination\00", align 1
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @hotcopy_incremental_check_preconditions], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @hotcopy_incremental_check_preconditions(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = load i64, ptr %5, align 8, !tbaa !11
%9 = load i64, ptr %7, align 8, !tbaa !11
%10 = icmp eq i64 %8, %9
br i1 %10, label %17, label %11
11: ; preds = %3
%12 = load i32, ptr @SVN_ERR_UNSUPPORTED_FEATURE, align 4, !tbaa !14
%13 = tail call i32 @_(ptr noundef nonnull @.str) #2
%14 = load i64, ptr %5, align 8, !tbaa !11
%15 = load i64, ptr %7, align 8, !tbaa !11
%16 = tail call ptr @svn_error_createf(i32 noundef %12, ptr noundef null, i32 noundef %13, i64 noundef %14, i64 noundef %15) #2
br label %38
17: ; preds = %3
%18 = load i32, ptr %0, align 8, !tbaa !15
%19 = load i32, ptr %1, align 8, !tbaa !15
%20 = tail call i64 @strcmp(i32 noundef %18, i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %17
%23 = load i32, ptr @SVN_ERR_RA_UUID_MISMATCH, align 4, !tbaa !14
%24 = tail call i32 @_(ptr noundef nonnull @.str.1) #2
%25 = tail call ptr @svn_error_create(i32 noundef %23, ptr noundef null, i32 noundef %24) #2
br label %38
26: ; preds = %17
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 1
%28 = load i64, ptr %27, align 8, !tbaa !16
%29 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 1
%30 = load i64, ptr %29, align 8, !tbaa !16
%31 = icmp eq i64 %28, %30
br i1 %31, label %36, label %32
32: ; preds = %26
%33 = load i32, ptr @SVN_ERR_UNSUPPORTED_FEATURE, align 4, !tbaa !14
%34 = tail call i32 @_(ptr noundef nonnull @.str.2) #2
%35 = tail call ptr @svn_error_create(i32 noundef %33, ptr noundef null, i32 noundef %34) #2
br label %38
36: ; preds = %26
%37 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !17
br label %38
38: ; preds = %36, %32, %22, %11
%39 = phi ptr [ %16, %11 ], [ %25, %22 ], [ %35, %32 ], [ %37, %36 ]
ret ptr %39
}
declare ptr @svn_error_createf(i32 noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i64 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @svn_error_create(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, !10, i64 8}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0, !13, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!12, !13, i64 8}
!17 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_hotcopy.c_hotcopy_incremental_check_preconditions.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_hotcopy.c_hotcopy_incremental_check_preconditions.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_ERR_UNSUPPORTED_FEATURE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [159 x i8] c"The FSFS format (%d) of the hotcopy source does not match the FSFS format (%d) of the hotcopy destination; please upgrade both repositories to the same format\00", align 1
@SVN_ERR_RA_UUID_MISMATCH = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [82 x i8] c"The UUID of the hotcopy source does not match the UUID of the hotcopy destination\00", align 1
@.str.2 = private unnamed_addr constant [132 x i8] c"The sharding layout configuration of the hotcopy source does not match the sharding layout configuration of the hotcopy destination\00", align 1
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @hotcopy_incremental_check_preconditions], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @hotcopy_incremental_check_preconditions(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load i64, ptr %5, align 8, !tbaa !12
%9 = load i64, ptr %7, align 8, !tbaa !12
%10 = icmp eq i64 %8, %9
br i1 %10, label %17, label %11
11: ; preds = %3
%12 = load i32, ptr @SVN_ERR_UNSUPPORTED_FEATURE, align 4, !tbaa !15
%13 = tail call i32 @_(ptr noundef nonnull @.str) #2
%14 = load i64, ptr %5, align 8, !tbaa !12
%15 = load i64, ptr %7, align 8, !tbaa !12
%16 = tail call ptr @svn_error_createf(i32 noundef %12, ptr noundef null, i32 noundef %13, i64 noundef %14, i64 noundef %15) #2
br label %38
17: ; preds = %3
%18 = load i32, ptr %0, align 8, !tbaa !16
%19 = load i32, ptr %1, align 8, !tbaa !16
%20 = tail call i64 @strcmp(i32 noundef %18, i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %17
%23 = load i32, ptr @SVN_ERR_RA_UUID_MISMATCH, align 4, !tbaa !15
%24 = tail call i32 @_(ptr noundef nonnull @.str.1) #2
%25 = tail call ptr @svn_error_create(i32 noundef %23, ptr noundef null, i32 noundef %24) #2
br label %38
26: ; preds = %17
%27 = getelementptr inbounds i8, ptr %5, i64 8
%28 = load i64, ptr %27, align 8, !tbaa !17
%29 = getelementptr inbounds i8, ptr %7, i64 8
%30 = load i64, ptr %29, align 8, !tbaa !17
%31 = icmp eq i64 %28, %30
br i1 %31, label %36, label %32
32: ; preds = %26
%33 = load i32, ptr @SVN_ERR_UNSUPPORTED_FEATURE, align 4, !tbaa !15
%34 = tail call i32 @_(ptr noundef nonnull @.str.2) #2
%35 = tail call ptr @svn_error_create(i32 noundef %33, ptr noundef null, i32 noundef %34) #2
br label %38
36: ; preds = %26
%37 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !18
br label %38
38: ; preds = %36, %32, %22, %11
%39 = phi ptr [ %16, %11 ], [ %25, %22 ], [ %35, %32 ], [ %37, %36 ]
ret ptr %39
}
declare ptr @svn_error_createf(i32 noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @_(ptr noundef) local_unnamed_addr #1
declare i64 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @svn_error_create(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, !11, i64 8}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0, !14, i64 8}
!14 = !{!"long", !9, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 0}
!17 = !{!13, !14, i64 8}
!18 = !{!11, !11, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_fs_fs_extr_hotcopy.c_hotcopy_incremental_check_preconditions |
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_tracing_map.c_tracing_map_set_var.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_tracing_map.c_tracing_map_set_var.c"
target datalayout = "e-m:e-p270:32:32-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.tracing_map_elt = type { ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @tracing_map_set_var(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.tracing_map_elt, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = zext i32 %1 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = tail call i32 @atomic64_set(ptr noundef %7, i32 noundef %2) #2
%9 = load ptr, ptr %0, align 8, !tbaa !10
%10 = getelementptr inbounds i32, ptr %9, i64 %6
store i32 1, ptr %10, align 4, !tbaa !11
ret void
}
declare i32 @atomic64_set(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 8}
!6 = !{!"tracing_map_elt", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/kernel/trace/extr_tracing_map.c_tracing_map_set_var.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_tracing_map.c_tracing_map_set_var.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 @tracing_map_set_var(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = zext i32 %1 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = tail call i32 @atomic64_set(ptr noundef %7, i32 noundef %2) #2
%9 = load ptr, ptr %0, align 8, !tbaa !11
%10 = getelementptr inbounds i32, ptr %9, i64 %6
store i32 1, ptr %10, align 4, !tbaa !12
ret void
}
declare i32 @atomic64_set(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 8}
!7 = !{!"tracing_map_elt", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_kernel_trace_extr_tracing_map.c_tracing_map_set_var |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/common/extr_fstest_ext2fs.c_ext2fs_fstest_delfs.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/common/extr_fstest_ext2fs.c_ext2fs_fstest_delfs.c"
target datalayout = "e-m:e-p270:32:32-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.ext2fstestargs = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @ext2fs_fstest_delfs(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.ext2fstestargs, ptr %1, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @rump_pub_etfs_remove(i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %2
%8 = load i32, ptr %1, align 4, !tbaa !10
%9 = tail call i32 @unlink(i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = tail call i32 @free(ptr noundef nonnull %1) #2
br label %13
13: ; preds = %7, %2, %11
%14 = phi i32 [ 0, %11 ], [ %5, %2 ], [ %9, %7 ]
ret i32 %14
}
declare i32 @rump_pub_etfs_remove(i32 noundef) local_unnamed_addr #1
declare i32 @unlink(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 4}
!6 = !{!"ext2fstestargs", !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/netbsd-tests/fs/common/extr_fstest_ext2fs.c_ext2fs_fstest_delfs.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/common/extr_fstest_ext2fs.c_ext2fs_fstest_delfs.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 @ext2fs_fstest_delfs(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @rump_pub_etfs_remove(i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %2
%8 = load i32, ptr %1, align 4, !tbaa !11
%9 = tail call i32 @unlink(i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = tail call i32 @free(ptr noundef nonnull %1) #2
br label %13
13: ; preds = %7, %2, %11
%14 = phi i32 [ 0, %11 ], [ %5, %2 ], [ %9, %7 ]
ret i32 %14
}
declare i32 @rump_pub_etfs_remove(i32 noundef) local_unnamed_addr #1
declare i32 @unlink(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 4}
!7 = !{!"ext2fstestargs", !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_netbsd-tests_fs_common_extr_fstest_ext2fs.c_ext2fs_fstest_delfs |
; ModuleID = 'AnghaBench/freebsd/sbin/etherswitchcfg/extr_ifmedia.c_get_mode_desc.c'
source_filename = "AnghaBench/freebsd/sbin/etherswitchcfg/extr_ifmedia.c_get_mode_desc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, i64 }
%struct.ifmedia_description = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_mode_desc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @get_mode_desc(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %35, label %6
6: ; preds = %2, %29
%7 = phi ptr [ %30, %29 ], [ %3, %2 ]
%8 = phi i64 [ %31, %29 ], [ 0, %2 ]
%9 = phi ptr [ %33, %29 ], [ %4, %2 ]
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %8, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %29
13: ; preds = %6
%14 = getelementptr inbounds %struct.ifmedia_description, ptr %9, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !14
%16 = icmp eq ptr %15, null
br i1 %16, label %29, label %17
17: ; preds = %13, %22
%18 = phi ptr [ %23, %22 ], [ %9, %13 ]
%19 = tail call i64 @IFM_MODE(i32 noundef %0) #2
%20 = load i64, ptr %18, align 8, !tbaa !16
%21 = icmp eq i64 %19, %20
br i1 %21, label %35, label %22
22: ; preds = %17
%23 = getelementptr inbounds %struct.ifmedia_description, ptr %18, i64 1
%24 = getelementptr inbounds %struct.ifmedia_description, ptr %18, i64 1, i32 1
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %17, !llvm.loop !17
27: ; preds = %22
%28 = load ptr, ptr %1, align 8, !tbaa !5
br label %29
29: ; preds = %27, %13, %6
%30 = phi ptr [ %28, %27 ], [ %7, %13 ], [ %7, %6 ]
%31 = add nuw i64 %8, 1
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %31
%33 = load ptr, ptr %32, align 8, !tbaa !10
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %6, !llvm.loop !19
35: ; preds = %29, %17, %2
%36 = phi ptr [ null, %2 ], [ %18, %17 ], [ null, %29 ]
ret ptr %36
}
declare i64 @IFM_MODE(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 = !{!"ifmedia_type_to_subtype", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!15, !7, i64 8}
!15 = !{!"ifmedia_description", !12, i64 0, !7, i64 8}
!16 = !{!15, !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
| ; ModuleID = 'AnghaBench/freebsd/sbin/etherswitchcfg/extr_ifmedia.c_get_mode_desc.c'
source_filename = "AnghaBench/freebsd/sbin/etherswitchcfg/extr_ifmedia.c_get_mode_desc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, i64 }
@llvm.used = appending global [1 x ptr] [ptr @get_mode_desc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @get_mode_desc(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = icmp eq ptr %4, null
br i1 %5, label %36, label %6
6: ; preds = %2, %30
%7 = phi ptr [ %31, %30 ], [ %3, %2 ]
%8 = phi i64 [ %32, %30 ], [ 0, %2 ]
%9 = phi ptr [ %34, %30 ], [ %4, %2 ]
%10 = phi ptr [ %33, %30 ], [ %3, %2 ]
%11 = getelementptr inbounds i8, ptr %10, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %30
14: ; preds = %6
%15 = getelementptr inbounds i8, ptr %9, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !15
%17 = icmp eq ptr %16, null
br i1 %17, label %30, label %18
18: ; preds = %14, %23
%19 = phi ptr [ %24, %23 ], [ %9, %14 ]
%20 = tail call i64 @IFM_MODE(i32 noundef %0) #2
%21 = load i64, ptr %19, align 8, !tbaa !17
%22 = icmp eq i64 %20, %21
br i1 %22, label %36, label %23
23: ; preds = %18
%24 = getelementptr inbounds i8, ptr %19, i64 16
%25 = getelementptr inbounds i8, ptr %19, i64 24
%26 = load ptr, ptr %25, align 8, !tbaa !15
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %18, !llvm.loop !18
28: ; preds = %23
%29 = load ptr, ptr %1, align 8, !tbaa !6
br label %30
30: ; preds = %28, %14, %6
%31 = phi ptr [ %29, %28 ], [ %7, %14 ], [ %7, %6 ]
%32 = add nuw nsw i64 %8, 1
%33 = getelementptr inbounds %struct.TYPE_2__, ptr %31, i64 %32
%34 = load ptr, ptr %33, align 8, !tbaa !11
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %6, !llvm.loop !20
36: ; preds = %30, %18, %2
%37 = phi ptr [ null, %2 ], [ %19, %18 ], [ null, %30 ]
ret ptr %37
}
declare i64 @IFM_MODE(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 = !{!"ifmedia_type_to_subtype", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !8, i64 8}
!16 = !{!"ifmedia_description", !13, i64 0, !8, i64 8}
!17 = !{!16, !13, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
| freebsd_sbin_etherswitchcfg_extr_ifmedia.c_get_mode_desc |
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_tcrypt.c_test_hash_jiffies_digest.c'
source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_tcrypt.c_test_hash_jiffies_digest.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"%6u opers/sec, %9lu bytes/sec\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_hash_jiffies_digest], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @test_hash_jiffies_digest(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = load i64, ptr @jiffies, align 8, !tbaa !5
%7 = load i32, ptr @HZ, align 4, !tbaa !9
%8 = mul nsw i32 %7, %4
%9 = sext i32 %8 to i64
%10 = add i64 %6, %9
%11 = tail call i64 @time_before(i64 noundef %6, i64 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %22, label %13
13: ; preds = %5, %17
%14 = phi i32 [ %18, %17 ], [ 0, %5 ]
%15 = tail call i32 @crypto_hash_digest(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %31
17: ; preds = %13
%18 = add nuw nsw i32 %14, 1
%19 = load i64, ptr @jiffies, align 8, !tbaa !5
%20 = tail call i64 @time_before(i64 noundef %19, i64 noundef %10) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %13, !llvm.loop !11
22: ; preds = %17, %5
%23 = phi i32 [ 0, %5 ], [ %18, %17 ]
%24 = sdiv i32 %23, %4
%25 = zext nneg i32 %23 to i64
%26 = sext i32 %2 to i64
%27 = mul nsw i64 %25, %26
%28 = sext i32 %4 to i64
%29 = sdiv i64 %27, %28
%30 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %24, i64 noundef %29) #2
br label %31
31: ; preds = %13, %22
%32 = phi i32 [ 0, %22 ], [ %15, %13 ]
ret i32 %32
}
declare i64 @time_before(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @crypto_hash_digest(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_tcrypt.c_test_hash_jiffies_digest.c'
source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_tcrypt.c_test_hash_jiffies_digest.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i64 0, align 8
@HZ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"%6u opers/sec, %9lu bytes/sec\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_hash_jiffies_digest], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @test_hash_jiffies_digest(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = load i64, ptr @jiffies, align 8, !tbaa !6
%7 = load i32, ptr @HZ, align 4, !tbaa !10
%8 = mul nsw i32 %7, %4
%9 = sext i32 %8 to i64
%10 = add i64 %6, %9
%11 = tail call i64 @time_before(i64 noundef %6, i64 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %22, label %13
13: ; preds = %5, %17
%14 = phi i32 [ %18, %17 ], [ 0, %5 ]
%15 = tail call i32 @crypto_hash_digest(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %31
17: ; preds = %13
%18 = add nuw nsw i32 %14, 1
%19 = load i64, ptr @jiffies, align 8, !tbaa !6
%20 = tail call i64 @time_before(i64 noundef %19, i64 noundef %10) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %13, !llvm.loop !12
22: ; preds = %17, %5
%23 = phi i32 [ 0, %5 ], [ %18, %17 ]
%24 = sdiv i32 %23, %4
%25 = zext nneg i32 %23 to i64
%26 = sext i32 %2 to i64
%27 = mul nsw i64 %25, %26
%28 = sext i32 %4 to i64
%29 = sdiv i64 %27, %28
%30 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %24, i64 noundef %29) #2
br label %31
31: ; preds = %13, %22
%32 = phi i32 [ 0, %22 ], [ %15, %13 ]
ret i32 %32
}
declare i64 @time_before(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @crypto_hash_digest(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_crypto_extr_tcrypt.c_test_hash_jiffies_digest |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cxgb4_tc_u32.h_can_tc_u32_offload.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cxgb4_tc_u32.h_can_tc_u32_offload.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NETIF_F_HW_TC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @can_tc_u32_offload], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @can_tc_u32_offload(ptr noundef %0) #0 {
%2 = tail call ptr @netdev2adap(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr @NETIF_F_HW_TC, align 4, !tbaa !10
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load i64, ptr %2, align 8, !tbaa !11
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %7, %1
%12 = phi i32 [ 0, %1 ], [ %10, %7 ]
ret i32 %12
}
declare ptr @netdev2adap(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 = !{!"net_device", !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, !13, i64 0}
!12 = !{!"adapter", !13, i64 0}
!13 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cxgb4_tc_u32.h_can_tc_u32_offload.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cxgb4_tc_u32.h_can_tc_u32_offload.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NETIF_F_HW_TC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @can_tc_u32_offload], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @can_tc_u32_offload(ptr noundef %0) #0 {
%2 = tail call ptr @netdev2adap(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr @NETIF_F_HW_TC, align 4, !tbaa !11
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load i64, ptr %2, align 8, !tbaa !12
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %7, %1
%12 = phi i32 [ 0, %1 ], [ %10, %7 ]
ret i32 %12
}
declare ptr @netdev2adap(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 = !{!"net_device", !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, !14, i64 0}
!13 = !{!"adapter", !14, i64 0}
!14 = !{!"long", !9, i64 0}
| linux_drivers_net_ethernet_chelsio_cxgb4_extr_cxgb4_tc_u32.h_can_tc_u32_offload |
; ModuleID = 'AnghaBench/linux/kernel/extr_auditsc.c___audit_ntp_log.c'
source_filename = "AnghaBench/linux/kernel/extr_auditsc.c___audit_ntp_log.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"offset\00", align 1
@AUDIT_NTP_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"freq\00", align 1
@AUDIT_NTP_FREQ = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"status\00", align 1
@AUDIT_NTP_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"tai\00", align 1
@AUDIT_NTP_TAI = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [5 x i8] c"tick\00", align 1
@AUDIT_NTP_TICK = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [7 x i8] c"adjust\00", align 1
@AUDIT_NTP_ADJUST = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @__audit_ntp_log(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @AUDIT_NTP_OFFSET, align 4, !tbaa !5
%3 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2
%4 = load i32, ptr @AUDIT_NTP_FREQ, align 4, !tbaa !5
%5 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %4) #2
%6 = load i32, ptr @AUDIT_NTP_STATUS, align 4, !tbaa !5
%7 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %6) #2
%8 = load i32, ptr @AUDIT_NTP_TAI, align 4, !tbaa !5
%9 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %8) #2
%10 = load i32, ptr @AUDIT_NTP_TICK, align 4, !tbaa !5
%11 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %10) #2
%12 = load i32, ptr @AUDIT_NTP_ADJUST, align 4, !tbaa !5
%13 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %12) #2
ret void
}
declare i32 @audit_log_ntp_val(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/kernel/extr_auditsc.c___audit_ntp_log.c'
source_filename = "AnghaBench/linux/kernel/extr_auditsc.c___audit_ntp_log.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"offset\00", align 1
@AUDIT_NTP_OFFSET = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"freq\00", align 1
@AUDIT_NTP_FREQ = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"status\00", align 1
@AUDIT_NTP_STATUS = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"tai\00", align 1
@AUDIT_NTP_TAI = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [5 x i8] c"tick\00", align 1
@AUDIT_NTP_TICK = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [7 x i8] c"adjust\00", align 1
@AUDIT_NTP_ADJUST = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @__audit_ntp_log(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @AUDIT_NTP_OFFSET, align 4, !tbaa !6
%3 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2
%4 = load i32, ptr @AUDIT_NTP_FREQ, align 4, !tbaa !6
%5 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %4) #2
%6 = load i32, ptr @AUDIT_NTP_STATUS, align 4, !tbaa !6
%7 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %6) #2
%8 = load i32, ptr @AUDIT_NTP_TAI, align 4, !tbaa !6
%9 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %8) #2
%10 = load i32, ptr @AUDIT_NTP_TICK, align 4, !tbaa !6
%11 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %10) #2
%12 = load i32, ptr @AUDIT_NTP_ADJUST, align 4, !tbaa !6
%13 = tail call i32 @audit_log_ntp_val(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %12) #2
ret void
}
declare i32 @audit_log_ntp_val(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_kernel_extr_auditsc.c___audit_ntp_log |
; ModuleID = 'AnghaBench/htop/extr_UsersTable.c_UsersTable_delete.c'
source_filename = "AnghaBench/htop/extr_UsersTable.c_UsersTable_delete.c"
target datalayout = "e-m:e-p270:32:32-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 @UsersTable_delete(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @Hashtable_delete(i32 noundef %2) #2
%4 = tail call i32 @free(ptr noundef nonnull %0) #2
ret void
}
declare i32 @Hashtable_delete(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 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/htop/extr_UsersTable.c_UsersTable_delete.c'
source_filename = "AnghaBench/htop/extr_UsersTable.c_UsersTable_delete.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 @UsersTable_delete(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @Hashtable_delete(i32 noundef %2) #2
%4 = tail call i32 @free(ptr noundef nonnull %0) #2
ret void
}
declare i32 @Hashtable_delete(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 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| htop_extr_UsersTable.c_UsersTable_delete |
; ModuleID = 'AnghaBench/kphp-kdb/drinkless/extr_dl-perm.c_dl_perm_dbg.c'
source_filename = "AnghaBench/kphp-kdb/drinkless/extr_dl-perm.c_dl_perm_dbg.c"
target datalayout = "e-m:e-p270:32:32-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 }
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%d : \0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @dl_perm_dbg(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !5
%3 = load i32, ptr %0, align 4, !tbaa !9
%4 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @_go(i32 noundef %6, i32 noundef 0) #2
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_go(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/kphp-kdb/drinkless/extr_dl-perm.c_dl_perm_dbg.c'
source_filename = "AnghaBench/kphp-kdb/drinkless/extr_dl-perm.c_dl_perm_dbg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%d : \0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @dl_perm_dbg(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !6
%3 = load i32, ptr %0, align 4, !tbaa !10
%4 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = tail call i32 @_go(i32 noundef %6, i32 noundef 0) #2
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_go(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
| kphp-kdb_drinkless_extr_dl-perm.c_dl_perm_dbg |
; ModuleID = 'AnghaBench/linux/drivers/i3c/master/extr_dw-i3c-master.c_dw_i3c_master_disable.c'
source_filename = "AnghaBench/linux/drivers/i3c/master/extr_dw-i3c-master.c_dw_i3c_master_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"
@DEVICE_CTRL = dso_local local_unnamed_addr global i64 0, align 8
@DEV_CTRL_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dw_i3c_master_disable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dw_i3c_master_disable(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @DEVICE_CTRL, align 8, !tbaa !10
%4 = add nsw i64 %3, %2
%5 = tail call i32 @readl(i64 noundef %4) #2
%6 = load i32, ptr @DEV_CTRL_ENABLE, align 4, !tbaa !11
%7 = xor i32 %6, -1
%8 = and i32 %5, %7
%9 = load i64, ptr %0, align 8, !tbaa !5
%10 = load i64, ptr @DEVICE_CTRL, align 8, !tbaa !10
%11 = add nsw i64 %10, %9
%12 = tail call i32 @writel(i32 noundef %8, i64 noundef %11) #2
ret void
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl(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 = !{!"dw_i3c_master", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/i3c/master/extr_dw-i3c-master.c_dw_i3c_master_disable.c'
source_filename = "AnghaBench/linux/drivers/i3c/master/extr_dw-i3c-master.c_dw_i3c_master_disable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DEVICE_CTRL = common local_unnamed_addr global i64 0, align 8
@DEV_CTRL_ENABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dw_i3c_master_disable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dw_i3c_master_disable(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @DEVICE_CTRL, align 8, !tbaa !11
%4 = add nsw i64 %3, %2
%5 = tail call i32 @readl(i64 noundef %4) #2
%6 = load i32, ptr @DEV_CTRL_ENABLE, align 4, !tbaa !12
%7 = xor i32 %6, -1
%8 = and i32 %5, %7
%9 = load i64, ptr %0, align 8, !tbaa !6
%10 = load i64, ptr @DEVICE_CTRL, align 8, !tbaa !11
%11 = add nsw i64 %10, %9
%12 = tail call i32 @writel(i32 noundef %8, i64 noundef %11) #2
ret void
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @readl(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 = !{!"dw_i3c_master", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_i3c_master_extr_dw-i3c-master.c_dw_i3c_master_disable |
; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_mpeg4_iod.c_ODGetURL.c'
source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_mpeg4_iod.c_ODGetURL.c"
target datalayout = "e-m:e-p270:32:32-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 @ODGetURL], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ODGetURL(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @ODGetBytes(ptr noundef %0, ptr noundef %1, i32 noundef 1) #3
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @llvm.umin.i32(i32 %3, i32 %4)
%6 = load ptr, ptr %1, align 8, !tbaa !9
%7 = tail call ptr @strndup(ptr noundef %6, i32 noundef %5) #3
%8 = load ptr, ptr %1, align 8, !tbaa !9
%9 = zext i32 %5 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
store ptr %10, ptr %1, align 8, !tbaa !9
%11 = load i32, ptr %0, align 4, !tbaa !5
%12 = sub i32 %11, %5
store i32 %12, ptr %0, align 4, !tbaa !5
ret ptr %7
}
declare i32 @ODGetBytes(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @strndup(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_mpeg4_iod.c_ODGetURL.c'
source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_mpeg4_iod.c_ODGetURL.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 @ODGetURL], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ODGetURL(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @ODGetBytes(ptr noundef %0, ptr noundef %1, i32 noundef 1) #3
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @llvm.umin.i32(i32 %3, i32 %4)
%6 = load ptr, ptr %1, align 8, !tbaa !10
%7 = tail call ptr @strndup(ptr noundef %6, i32 noundef %5) #3
%8 = load ptr, ptr %1, align 8, !tbaa !10
%9 = zext i32 %5 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
store ptr %10, ptr %1, align 8, !tbaa !10
%11 = load i32, ptr %0, align 4, !tbaa !6
%12 = sub i32 %11, %5
store i32 %12, ptr %0, align 4, !tbaa !6
ret ptr %7
}
declare i32 @ODGetBytes(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @strndup(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| vlc_modules_demux_mpeg_extr_mpeg4_iod.c_ODGetURL |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_ht.c_b43_phy_ht_rssi_select.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_ht.c_b43_phy_ht_rssi_select.c"
target datalayout = "e-m:e-p270:32:32-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 [49 x i8] c"RSSI selection for core off not implemented yet\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"RSSI selection for type %d not implemented yet\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @b43_phy_ht_rssi_select], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @b43_phy_ht_rssi_select(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %1, 0
br i1 %4, label %9, label %5
5: ; preds = %3
%6 = icmp eq i32 %2, 131
%7 = and i32 %1, -2
%8 = icmp eq i32 %7, 2
br i1 %8, label %13, label %12
9: ; preds = %3
%10 = load i32, ptr %0, align 4, !tbaa !5
%11 = tail call i32 (i32, ptr, ...) @b43err(i32 noundef %10, ptr noundef nonnull @.str) #2
br label %54
12: ; preds = %5
br i1 %6, label %16, label %25
13: ; preds = %5
%14 = and i32 %1, 1
%15 = icmp eq i32 %14, 0
br i1 %15, label %30, label %41
16: ; preds = %12
%17 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 137, i32 noundef 768) #2
%18 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 137, i32 noundef 3072) #2
%19 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 136, i32 noundef 512) #2
%20 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 136, i32 noundef 1024) #2
%21 = tail call i32 @b43_radio_set(ptr noundef %0, i32 noundef 191, i32 noundef 1) #2
%22 = tail call i32 @b43_radio_write(ptr noundef %0, i32 noundef 475, i32 noundef 17) #2
%23 = and i32 %1, -3
%24 = icmp eq i32 %23, 1
br i1 %24, label %41, label %34
25: ; preds = %12
%26 = load i32, ptr %0, align 4, !tbaa !5
%27 = tail call i32 (i32, ptr, ...) @b43err(i32 noundef %26, ptr noundef nonnull @.str.1, i32 noundef %2) #2
%28 = and i32 %1, -3
%29 = icmp eq i32 %28, 1
br i1 %29, label %41, label %31
30: ; preds = %13
br i1 %6, label %34, label %31
31: ; preds = %25, %30
%32 = load i32, ptr %0, align 4, !tbaa !5
%33 = tail call i32 (i32, ptr, ...) @b43err(i32 noundef %32, ptr noundef nonnull @.str.1, i32 noundef %2) #2
br label %41
34: ; preds = %16, %30
%35 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 135, i32 noundef 768) #2
%36 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 135, i32 noundef 3072) #2
%37 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 134, i32 noundef 512) #2
%38 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 134, i32 noundef 1024) #2
%39 = tail call i32 @b43_radio_set(ptr noundef %0, i32 noundef 191, i32 noundef 1) #2
%40 = tail call i32 @b43_radio_write(ptr noundef %0, i32 noundef 473, i32 noundef 17) #2
br label %41
41: ; preds = %16, %25, %34, %31, %13
%42 = icmp ult i32 %1, 3
br i1 %42, label %54, label %43
43: ; preds = %41
br i1 %6, label %47, label %44
44: ; preds = %43
%45 = load i32, ptr %0, align 4, !tbaa !5
%46 = tail call i32 (i32, ptr, ...) @b43err(i32 noundef %45, ptr noundef nonnull @.str.1, i32 noundef %2) #2
br label %54
47: ; preds = %43
%48 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 133, i32 noundef 768) #2
%49 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 133, i32 noundef 3072) #2
%50 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 132, i32 noundef 512) #2
%51 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 132, i32 noundef 1024) #2
%52 = tail call i32 @b43_radio_set(ptr noundef %0, i32 noundef 191, i32 noundef 1) #2
%53 = tail call i32 @b43_radio_write(ptr noundef %0, i32 noundef 473, i32 noundef 17) #2
br label %54
54: ; preds = %41, %44, %47, %9
ret void
}
declare i32 @b43err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @b43_phy_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43_radio_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43_radio_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"b43_wldev", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_ht.c_b43_phy_ht_rssi_select.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_ht.c_b43_phy_ht_rssi_select.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 [49 x i8] c"RSSI selection for core off not implemented yet\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"RSSI selection for type %d not implemented yet\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @b43_phy_ht_rssi_select], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @b43_phy_ht_rssi_select(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %1, 0
br i1 %4, label %9, label %5
5: ; preds = %3
%6 = icmp eq i32 %2, 131
%7 = and i32 %1, -2
%8 = icmp eq i32 %7, 2
br i1 %8, label %13, label %12
9: ; preds = %3
%10 = load i32, ptr %0, align 4, !tbaa !6
%11 = tail call i32 (i32, ptr, ...) @b43err(i32 noundef %10, ptr noundef nonnull @.str) #2
br label %56
12: ; preds = %5
br i1 %6, label %16, label %25
13: ; preds = %5
%14 = and i32 %1, 1
%15 = icmp eq i32 %14, 0
br i1 %15, label %30, label %31
16: ; preds = %12
%17 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 137, i32 noundef 768) #2
%18 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 137, i32 noundef 3072) #2
%19 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 136, i32 noundef 512) #2
%20 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 136, i32 noundef 1024) #2
%21 = tail call i32 @b43_radio_set(ptr noundef %0, i32 noundef 191, i32 noundef 1) #2
%22 = tail call i32 @b43_radio_write(ptr noundef %0, i32 noundef 475, i32 noundef 17) #2
%23 = and i32 %1, -3
%24 = icmp eq i32 %23, 1
br i1 %24, label %56, label %33
25: ; preds = %12
%26 = load i32, ptr %0, align 4, !tbaa !6
%27 = tail call i32 (i32, ptr, ...) @b43err(i32 noundef %26, ptr noundef nonnull @.str.1, i32 noundef %2) #2
%28 = and i32 %1, -3
%29 = icmp eq i32 %28, 1
br i1 %29, label %56, label %41
30: ; preds = %13
br i1 %6, label %33, label %41
31: ; preds = %13
%32 = icmp ult i32 %1, 3
br i1 %32, label %56, label %45
33: ; preds = %30, %16
%34 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 135, i32 noundef 768) #2
%35 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 135, i32 noundef 3072) #2
%36 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 134, i32 noundef 512) #2
%37 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 134, i32 noundef 1024) #2
%38 = tail call i32 @b43_radio_set(ptr noundef %0, i32 noundef 191, i32 noundef 1) #2
%39 = tail call i32 @b43_radio_write(ptr noundef %0, i32 noundef 473, i32 noundef 17) #2
%40 = icmp ult i32 %1, 3
br i1 %40, label %56, label %49
41: ; preds = %30, %25
%42 = load i32, ptr %0, align 4, !tbaa !6
%43 = tail call i32 (i32, ptr, ...) @b43err(i32 noundef %42, ptr noundef nonnull @.str.1, i32 noundef %2) #2
%44 = icmp ult i32 %1, 3
br i1 %44, label %56, label %46
45: ; preds = %31
br i1 %6, label %49, label %46
46: ; preds = %41, %45
%47 = load i32, ptr %0, align 4, !tbaa !6
%48 = tail call i32 (i32, ptr, ...) @b43err(i32 noundef %47, ptr noundef nonnull @.str.1, i32 noundef %2) #2
br label %56
49: ; preds = %33, %45
%50 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 133, i32 noundef 768) #2
%51 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 133, i32 noundef 3072) #2
%52 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 132, i32 noundef 512) #2
%53 = tail call i32 @b43_phy_set(ptr noundef %0, i32 noundef 132, i32 noundef 1024) #2
%54 = tail call i32 @b43_radio_set(ptr noundef %0, i32 noundef 191, i32 noundef 1) #2
%55 = tail call i32 @b43_radio_write(ptr noundef %0, i32 noundef 473, i32 noundef 17) #2
br label %56
56: ; preds = %25, %16, %31, %46, %49, %41, %33, %9
ret void
}
declare i32 @b43err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @b43_phy_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43_radio_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43_radio_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"b43_wldev", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_wireless_b43_extr_phy_ht.c_b43_phy_ht_rssi_select |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_sx8.c_carm_end_rq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_sx8.c_carm_end_rq.c"
target datalayout = "e-m:e-p270:32:32-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.carm_host = type { i64, i64 }
@max_queue = dso_local local_unnamed_addr global i32 0, align 4
@CARM_MSG_LOW_WATER = dso_local local_unnamed_addr global i64 0, align 8
@CARM_SG_LOW_WATER = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @carm_end_rq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @carm_end_rq(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @carm_end_request_queued(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%5 = load i32, ptr @max_queue, align 4, !tbaa !5
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @carm_round_robin(ptr noundef %0) #2
br label %20
9: ; preds = %3
%10 = load i64, ptr %0, align 8, !tbaa !9
%11 = load i64, ptr @CARM_MSG_LOW_WATER, align 8, !tbaa !12
%12 = icmp sgt i64 %10, %11
br i1 %12, label %20, label %13
13: ; preds = %9
%14 = getelementptr inbounds %struct.carm_host, ptr %0, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = load i64, ptr @CARM_SG_LOW_WATER, align 8, !tbaa !12
%17 = icmp sgt i64 %15, %16
br i1 %17, label %20, label %18
18: ; preds = %13
%19 = tail call i32 @carm_round_robin(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %9, %13, %18, %7
ret void
}
declare i32 @carm_end_request_queued(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @carm_round_robin(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"carm_host", !11, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_sx8.c_carm_end_rq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_sx8.c_carm_end_rq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@max_queue = common local_unnamed_addr global i32 0, align 4
@CARM_MSG_LOW_WATER = common local_unnamed_addr global i64 0, align 8
@CARM_SG_LOW_WATER = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @carm_end_rq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @carm_end_rq(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @carm_end_request_queued(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%5 = load i32, ptr @max_queue, align 4, !tbaa !6
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @carm_round_robin(ptr noundef %0) #2
br label %20
9: ; preds = %3
%10 = load i64, ptr %0, align 8, !tbaa !10
%11 = load i64, ptr @CARM_MSG_LOW_WATER, align 8, !tbaa !13
%12 = icmp sgt i64 %10, %11
br i1 %12, label %20, label %13
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = load i64, ptr @CARM_SG_LOW_WATER, align 8, !tbaa !13
%17 = icmp sgt i64 %15, %16
br i1 %17, label %20, label %18
18: ; preds = %13
%19 = tail call i32 @carm_round_robin(ptr noundef nonnull %0) #2
br label %20
20: ; preds = %9, %13, %18, %7
ret void
}
declare i32 @carm_end_request_queued(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @carm_round_robin(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"carm_host", !12, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 8}
| fastsocket_kernel_drivers_block_extr_sx8.c_carm_end_rq |
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_directory.c_spl_filesystem_dir_it_current_data.c'
source_filename = "AnghaBench/php-src/ext/spl/extr_spl_directory.c_spl_filesystem_dir_it_current_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @spl_filesystem_dir_it_current_data], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef ptr @spl_filesystem_dir_it_current_data(ptr noundef readnone returned %0) #0 {
ret ptr %0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_directory.c_spl_filesystem_dir_it_current_data.c'
source_filename = "AnghaBench/php-src/ext/spl/extr_spl_directory.c_spl_filesystem_dir_it_current_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @spl_filesystem_dir_it_current_data], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef ptr @spl_filesystem_dir_it_current_data(ptr noundef readnone returned %0) #0 {
ret ptr %0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| php-src_ext_spl_extr_spl_directory.c_spl_filesystem_dir_it_current_data |
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..playlist.c_JSONStringHandler.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..playlist.c_JSONStringHandler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32, ptr, ptr, ptr, i64, ptr, i64 }
@JSON_Parser_Continue = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @JSONStringHandler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @JSONStringHandler(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 %3) #0 {
%5 = tail call i64 @JSON_Parser_GetUserData(i32 noundef %0) #4
%6 = inttoptr i64 %5 to ptr
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 5
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
br i1 %9, label %64, label %10
10: ; preds = %4
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 7
%12 = load i64, ptr %11, align 8, !tbaa !12
%13 = icmp eq i64 %12, 0
%14 = load i32, ptr %6, align 8, !tbaa !13
%15 = icmp eq i32 %14, 2
br i1 %13, label %40, label %16
16: ; preds = %10
br i1 %15, label %17, label %66
17: ; preds = %16
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = icmp eq i32 %19, 2
br i1 %20, label %21, label %41
21: ; preds = %17
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 6
%23 = load ptr, ptr %22, align 8, !tbaa !15
%24 = icmp ne ptr %23, null
%25 = icmp ne i64 %2, 0
%26 = and i1 %25, %24
br i1 %26, label %27, label %95
27: ; preds = %21
%28 = tail call i32 @string_is_empty(ptr noundef %1) #4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %95
30: ; preds = %27
%31 = load ptr, ptr %22, align 8, !tbaa !15
%32 = load i64, ptr %31, align 8, !tbaa !16
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = tail call i64 (...) @string_list_new() #4
%36 = load ptr, ptr %22, align 8, !tbaa !15
store i64 %35, ptr %36, align 8, !tbaa !16
br label %37
37: ; preds = %34, %30
%38 = phi i64 [ %35, %34 ], [ %32, %30 ]
%39 = tail call i32 @string_list_append(i64 noundef %38, ptr noundef %1, i32 0) #4
br label %95
40: ; preds = %10
br i1 %15, label %41, label %66
41: ; preds = %17, %40
%42 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
%43 = load i32, ptr %42, align 4, !tbaa !14
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %95
45: ; preds = %41
%46 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 3
%47 = load ptr, ptr %46, align 8, !tbaa !17
%48 = icmp ne ptr %47, null
%49 = icmp ne i64 %2, 0
%50 = and i1 %49, %48
br i1 %50, label %51, label %95
51: ; preds = %45
%52 = tail call i32 @string_is_empty(ptr noundef %1) #4
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %95
54: ; preds = %51
%55 = load ptr, ptr %46, align 8, !tbaa !17
%56 = load ptr, ptr %55, align 8, !tbaa !18
%57 = icmp eq ptr %56, null
br i1 %57, label %61, label %58
58: ; preds = %54
%59 = tail call i32 @free(ptr noundef nonnull %56) #4
%60 = load ptr, ptr %46, align 8, !tbaa !17
br label %61
61: ; preds = %58, %54
%62 = phi ptr [ %60, %58 ], [ %55, %54 ]
%63 = tail call ptr @strdup(ptr noundef %1)
store ptr %63, ptr %62, align 8, !tbaa !18
br label %95
64: ; preds = %4
%65 = load i32, ptr %6, align 8, !tbaa !13
br label %66
66: ; preds = %16, %64, %40
%67 = phi i32 [ %65, %64 ], [ %14, %40 ], [ %14, %16 ]
%68 = icmp eq i32 %67, 1
br i1 %68, label %69, label %95
69: ; preds = %66
%70 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
%71 = load i32, ptr %70, align 4, !tbaa !14
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %95
73: ; preds = %69
%74 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 2
%75 = load ptr, ptr %74, align 8, !tbaa !19
%76 = icmp ne ptr %75, null
%77 = icmp ne i64 %2, 0
%78 = and i1 %77, %76
br i1 %78, label %79, label %95
79: ; preds = %73
%80 = tail call i32 @string_is_empty(ptr noundef %1) #4
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %95
82: ; preds = %79
%83 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 4
%84 = load ptr, ptr %83, align 8, !tbaa !20
%85 = tail call i32 @free(ptr noundef %84) #4
store ptr null, ptr %83, align 8, !tbaa !20
%86 = load ptr, ptr %74, align 8, !tbaa !19
%87 = load ptr, ptr %86, align 8, !tbaa !18
%88 = icmp eq ptr %87, null
br i1 %88, label %92, label %89
89: ; preds = %82
%90 = tail call i32 @free(ptr noundef nonnull %87) #4
%91 = load ptr, ptr %74, align 8, !tbaa !19
br label %92
92: ; preds = %89, %82
%93 = phi ptr [ %91, %89 ], [ %86, %82 ]
%94 = tail call ptr @strdup(ptr noundef %1)
store ptr %94, ptr %93, align 8, !tbaa !18
br label %95
95: ; preds = %61, %51, %45, %41, %69, %92, %79, %73, %66, %21, %27, %37
%96 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %96, i8 0, i64 16, i1 false)
%97 = load i32, ptr @JSON_Parser_Continue, align 4, !tbaa !21
ret i32 %97
}
declare i64 @JSON_Parser_GetUserData(i32 noundef) local_unnamed_addr #1
declare i32 @string_is_empty(ptr noundef) local_unnamed_addr #1
declare i64 @string_list_new(...) local_unnamed_addr #1
declare i32 @string_list_append(i64 noundef, ptr noundef, i32) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="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: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-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 nounwind willreturn memory(argmem: write) }
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, !11, i64 32}
!6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !10, i64 40, !11, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 48}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !10, i64 40}
!16 = !{!11, !11, i64 0}
!17 = !{!6, !10, i64 16}
!18 = !{!10, !10, i64 0}
!19 = !{!6, !10, i64 8}
!20 = !{!6, !10, i64 24}
!21 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..playlist.c_JSONStringHandler.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..playlist.c_JSONStringHandler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@JSON_Parser_Continue = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @JSONStringHandler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @JSONStringHandler(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 %3) #0 {
%5 = tail call i64 @JSON_Parser_GetUserData(i32 noundef %0) #4
%6 = inttoptr i64 %5 to ptr
%7 = getelementptr inbounds i8, ptr %6, i64 32
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
br i1 %9, label %64, label %10
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %6, i64 48
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = icmp eq i64 %12, 0
%14 = load i32, ptr %6, align 8, !tbaa !14
%15 = icmp eq i32 %14, 2
br i1 %13, label %40, label %16
16: ; preds = %10
br i1 %15, label %17, label %66
17: ; preds = %16
%18 = getelementptr inbounds i8, ptr %6, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = icmp eq i32 %19, 2
br i1 %20, label %21, label %41
21: ; preds = %17
%22 = getelementptr inbounds i8, ptr %6, i64 40
%23 = load ptr, ptr %22, align 8, !tbaa !16
%24 = icmp ne ptr %23, null
%25 = icmp ne i64 %2, 0
%26 = and i1 %25, %24
br i1 %26, label %27, label %95
27: ; preds = %21
%28 = tail call i32 @string_is_empty(ptr noundef %1) #4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %95
30: ; preds = %27
%31 = load ptr, ptr %22, align 8, !tbaa !16
%32 = load i64, ptr %31, align 8, !tbaa !17
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = tail call i64 @string_list_new() #4
%36 = load ptr, ptr %22, align 8, !tbaa !16
store i64 %35, ptr %36, align 8, !tbaa !17
br label %37
37: ; preds = %34, %30
%38 = phi i64 [ %35, %34 ], [ %32, %30 ]
%39 = tail call i32 @string_list_append(i64 noundef %38, ptr noundef %1, i64 0) #4
br label %95
40: ; preds = %10
br i1 %15, label %41, label %66
41: ; preds = %17, %40
%42 = getelementptr inbounds i8, ptr %6, i64 4
%43 = load i32, ptr %42, align 4, !tbaa !15
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %95
45: ; preds = %41
%46 = getelementptr inbounds i8, ptr %6, i64 16
%47 = load ptr, ptr %46, align 8, !tbaa !18
%48 = icmp ne ptr %47, null
%49 = icmp ne i64 %2, 0
%50 = and i1 %49, %48
br i1 %50, label %51, label %95
51: ; preds = %45
%52 = tail call i32 @string_is_empty(ptr noundef %1) #4
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %95
54: ; preds = %51
%55 = load ptr, ptr %46, align 8, !tbaa !18
%56 = load ptr, ptr %55, align 8, !tbaa !19
%57 = icmp eq ptr %56, null
br i1 %57, label %61, label %58
58: ; preds = %54
%59 = tail call i32 @free(ptr noundef nonnull %56) #4
%60 = load ptr, ptr %46, align 8, !tbaa !18
br label %61
61: ; preds = %58, %54
%62 = phi ptr [ %60, %58 ], [ %55, %54 ]
%63 = tail call ptr @strdup(ptr noundef %1)
store ptr %63, ptr %62, align 8, !tbaa !19
br label %95
64: ; preds = %4
%65 = load i32, ptr %6, align 8, !tbaa !14
br label %66
66: ; preds = %16, %64, %40
%67 = phi i32 [ %65, %64 ], [ %14, %40 ], [ %14, %16 ]
%68 = icmp eq i32 %67, 1
br i1 %68, label %69, label %95
69: ; preds = %66
%70 = getelementptr inbounds i8, ptr %6, i64 4
%71 = load i32, ptr %70, align 4, !tbaa !15
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %95
73: ; preds = %69
%74 = getelementptr inbounds i8, ptr %6, i64 8
%75 = load ptr, ptr %74, align 8, !tbaa !20
%76 = icmp ne ptr %75, null
%77 = icmp ne i64 %2, 0
%78 = and i1 %77, %76
br i1 %78, label %79, label %95
79: ; preds = %73
%80 = tail call i32 @string_is_empty(ptr noundef %1) #4
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %95
82: ; preds = %79
%83 = getelementptr inbounds i8, ptr %6, i64 24
%84 = load ptr, ptr %83, align 8, !tbaa !21
%85 = tail call i32 @free(ptr noundef %84) #4
store ptr null, ptr %83, align 8, !tbaa !21
%86 = load ptr, ptr %74, align 8, !tbaa !20
%87 = load ptr, ptr %86, align 8, !tbaa !19
%88 = icmp eq ptr %87, null
br i1 %88, label %92, label %89
89: ; preds = %82
%90 = tail call i32 @free(ptr noundef nonnull %87) #4
%91 = load ptr, ptr %74, align 8, !tbaa !20
br label %92
92: ; preds = %89, %82
%93 = phi ptr [ %91, %89 ], [ %86, %82 ]
%94 = tail call ptr @strdup(ptr noundef %1)
store ptr %94, ptr %93, align 8, !tbaa !19
br label %95
95: ; preds = %61, %51, %45, %41, %69, %92, %79, %73, %66, %21, %27, %37
%96 = getelementptr inbounds i8, ptr %6, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %96, i8 0, i64 16, i1 false)
%97 = load i32, ptr @JSON_Parser_Continue, align 4, !tbaa !22
ret i32 %97
}
declare i64 @JSON_Parser_GetUserData(i32 noundef) local_unnamed_addr #1
declare i32 @string_is_empty(ptr noundef) local_unnamed_addr #1
declare i64 @string_list_new(...) local_unnamed_addr #1
declare i32 @string_list_append(i64 noundef, ptr noundef, i64) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 nounwind willreturn memory(argmem: write) }
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, !12, i64 32}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !11, i64 40, !12, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !12, i64 48}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !8, i64 4}
!16 = !{!7, !11, i64 40}
!17 = !{!12, !12, i64 0}
!18 = !{!7, !11, i64 16}
!19 = !{!11, !11, i64 0}
!20 = !{!7, !11, i64 8}
!21 = !{!7, !11, i64 24}
!22 = !{!8, !8, i64 0}
| RetroArch_griffin_extr_..playlist.c_JSONStringHandler |
; ModuleID = 'AnghaBench/tig/src/extr_parse.c_parse_timesec.c'
source_filename = "AnghaBench/tig/src/extr_parse.c_parse_timesec.c"
target datalayout = "e-m:e-p270:32:32-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 @parse_timesec], section "llvm.metadata"
; Function Attrs: mustprogress nofree nounwind willreturn memory(read, argmem: readwrite) uwtable
define internal void @parse_timesec(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call i64 @atol(ptr nocapture noundef %1)
store i64 %3, ptr %0, align 8, !tbaa !5
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i64 @atol(ptr nocapture noundef) local_unnamed_addr #1
attributes #0 = { mustprogress nofree nounwind willreturn memory(read, argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"time", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/tig/src/extr_parse.c_parse_timesec.c'
source_filename = "AnghaBench/tig/src/extr_parse.c_parse_timesec.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 @parse_timesec], section "llvm.metadata"
; Function Attrs: mustprogress nofree nounwind ssp willreturn memory(read, argmem: readwrite) uwtable(sync)
define internal void @parse_timesec(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call i64 @atol(ptr nocapture noundef %1)
store i64 %3, ptr %0, align 8, !tbaa !6
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i64 @atol(ptr nocapture noundef) local_unnamed_addr #1
attributes #0 = { mustprogress nofree nounwind ssp willreturn memory(read, argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"time", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| tig_src_extr_parse.c_parse_timesec |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_mt76x02_mmio.c_mt76x02_mac_start.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_mt76x02_mmio.c_mt76x02_mac_start.c"
target datalayout = "e-m:e-p270:32:32-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_RX_FILTR_CFG = dso_local local_unnamed_addr global i32 0, align 4
@MT_MAC_SYS_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@MT_MAC_SYS_CTRL_ENABLE_TX = dso_local local_unnamed_addr global i32 0, align 4
@MT_MAC_SYS_CTRL_ENABLE_RX = dso_local local_unnamed_addr global i32 0, align 4
@MT_INT_RX_DONE_ALL = dso_local local_unnamed_addr global i32 0, align 4
@MT_INT_TX_DONE_ALL = dso_local local_unnamed_addr global i32 0, align 4
@MT_INT_TX_STAT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mt76x02_mac_start(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mt76x02_dma_enable(ptr noundef %0) #2
%3 = load i32, ptr @MT_RX_FILTR_CFG, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = tail call i32 @mt76_wr(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr @MT_MAC_SYS_CTRL, align 4, !tbaa !5
%7 = load i32, ptr @MT_MAC_SYS_CTRL_ENABLE_TX, align 4, !tbaa !5
%8 = load i32, ptr @MT_MAC_SYS_CTRL_ENABLE_RX, align 4, !tbaa !5
%9 = or i32 %8, %7
%10 = tail call i32 @mt76_wr(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %9) #2
%11 = load i32, ptr @MT_INT_RX_DONE_ALL, align 4, !tbaa !5
%12 = load i32, ptr @MT_INT_TX_DONE_ALL, align 4, !tbaa !5
%13 = or i32 %12, %11
%14 = load i32, ptr @MT_INT_TX_STAT, align 4, !tbaa !5
%15 = or i32 %13, %14
%16 = tail call i32 @mt76x02_irq_enable(ptr noundef nonnull %0, i32 noundef %15) #2
ret void
}
declare i32 @mt76x02_dma_enable(ptr noundef) local_unnamed_addr #1
declare i32 @mt76_wr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mt76x02_irq_enable(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"mt76x02_dev", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_mt76x02_mmio.c_mt76x02_mac_start.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_mt76x02_mmio.c_mt76x02_mac_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MT_RX_FILTR_CFG = common local_unnamed_addr global i32 0, align 4
@MT_MAC_SYS_CTRL = common local_unnamed_addr global i32 0, align 4
@MT_MAC_SYS_CTRL_ENABLE_TX = common local_unnamed_addr global i32 0, align 4
@MT_MAC_SYS_CTRL_ENABLE_RX = common local_unnamed_addr global i32 0, align 4
@MT_INT_RX_DONE_ALL = common local_unnamed_addr global i32 0, align 4
@MT_INT_TX_DONE_ALL = common local_unnamed_addr global i32 0, align 4
@MT_INT_TX_STAT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mt76x02_mac_start(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mt76x02_dma_enable(ptr noundef %0) #2
%3 = load i32, ptr @MT_RX_FILTR_CFG, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i32 @mt76_wr(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr @MT_MAC_SYS_CTRL, align 4, !tbaa !6
%7 = load i32, ptr @MT_MAC_SYS_CTRL_ENABLE_TX, align 4, !tbaa !6
%8 = load i32, ptr @MT_MAC_SYS_CTRL_ENABLE_RX, align 4, !tbaa !6
%9 = or i32 %8, %7
%10 = tail call i32 @mt76_wr(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %9) #2
%11 = load i32, ptr @MT_INT_RX_DONE_ALL, align 4, !tbaa !6
%12 = load i32, ptr @MT_INT_TX_DONE_ALL, align 4, !tbaa !6
%13 = or i32 %12, %11
%14 = load i32, ptr @MT_INT_TX_STAT, align 4, !tbaa !6
%15 = or i32 %13, %14
%16 = tail call i32 @mt76x02_irq_enable(ptr noundef nonnull %0, i32 noundef %15) #2
ret void
}
declare i32 @mt76x02_dma_enable(ptr noundef) local_unnamed_addr #1
declare i32 @mt76_wr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mt76x02_irq_enable(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"mt76x02_dev", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
| linux_drivers_net_wireless_mediatek_mt76_extr_mt76x02_mmio.c_mt76x02_mac_start |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/davinci/extr_vpif_capture.c_vpif_buffer_queue_setup.c'
source_filename = "AnghaBench/linux/drivers/media/platform/davinci/extr_vpif_capture.c_vpif_buffer_queue_setup.c"
target datalayout = "e-m:e-p270:32:32-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.common_obj = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@VPIF_VIDEO_INDEX = dso_local local_unnamed_addr global i64 0, align 8
@debug = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"vpif_buffer_setup\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vpif_buffer_queue_setup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vpif_buffer_queue_setup(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr nocapture readnone %4) #0 {
%6 = tail call ptr @vb2_get_drv_priv(ptr noundef %0) #2
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = load i64, ptr @VPIF_VIDEO_INDEX, align 8, !tbaa !10
%9 = getelementptr inbounds %struct.common_obj, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = load i32, ptr @debug, align 4, !tbaa !18
%12 = tail call i32 @vpif_dbg(i32 noundef 2, i32 noundef %11, ptr noundef nonnull @.str) #2
%13 = load i32, ptr %2, align 4, !tbaa !18
%14 = icmp eq i32 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %5
%16 = load i32, ptr %3, align 4, !tbaa !18
%17 = icmp ult i32 %16, %10
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr @EINVAL, align 4, !tbaa !18
%20 = sub nsw i32 0, %19
br label %31
21: ; preds = %15, %5
%22 = phi i32 [ %10, %5 ], [ %16, %15 ]
%23 = load i32, ptr %0, align 4, !tbaa !19
%24 = load i32, ptr %1, align 4, !tbaa !18
%25 = add i32 %24, %23
%26 = icmp ult i32 %25, 3
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = sub i32 3, %23
store i32 %28, ptr %1, align 4, !tbaa !18
br label %29
29: ; preds = %27, %21
store i32 1, ptr %2, align 4, !tbaa !18
store i32 %22, ptr %3, align 4, !tbaa !18
%30 = tail call i32 @vpif_calculate_offsets(ptr noundef nonnull %6) #2
br label %31
31: ; preds = %29, %18
%32 = phi i32 [ %20, %18 ], [ 0, %29 ]
ret i32 %32
}
declare ptr @vb2_get_drv_priv(ptr noundef) local_unnamed_addr #1
declare i32 @vpif_dbg(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vpif_calculate_offsets(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 = !{!"channel_obj", !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, !17, i64 0}
!13 = !{!"common_obj", !14, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"int", !8, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{!20, !17, i64 0}
!20 = !{!"vb2_queue", !17, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/davinci/extr_vpif_capture.c_vpif_buffer_queue_setup.c'
source_filename = "AnghaBench/linux/drivers/media/platform/davinci/extr_vpif_capture.c_vpif_buffer_queue_setup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.common_obj = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@VPIF_VIDEO_INDEX = common local_unnamed_addr global i64 0, align 8
@debug = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"vpif_buffer_setup\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vpif_buffer_queue_setup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @vpif_buffer_queue_setup(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr nocapture readnone %4) #0 {
%6 = tail call ptr @vb2_get_drv_priv(ptr noundef %0) #2
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load i64, ptr @VPIF_VIDEO_INDEX, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.common_obj, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = load i32, ptr @debug, align 4, !tbaa !19
%12 = tail call i32 @vpif_dbg(i32 noundef 2, i32 noundef %11, ptr noundef nonnull @.str) #2
%13 = load i32, ptr %2, align 4, !tbaa !19
%14 = icmp eq i32 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %5
%16 = load i32, ptr %3, align 4, !tbaa !19
%17 = icmp ult i32 %16, %10
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr @EINVAL, align 4, !tbaa !19
%20 = sub nsw i32 0, %19
br label %31
21: ; preds = %15, %5
%22 = phi i32 [ %10, %5 ], [ %16, %15 ]
%23 = load i32, ptr %0, align 4, !tbaa !20
%24 = load i32, ptr %1, align 4, !tbaa !19
%25 = add i32 %24, %23
%26 = icmp ult i32 %25, 3
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = sub i32 3, %23
store i32 %28, ptr %1, align 4, !tbaa !19
br label %29
29: ; preds = %27, %21
store i32 1, ptr %2, align 4, !tbaa !19
store i32 %22, ptr %3, align 4, !tbaa !19
%30 = tail call i32 @vpif_calculate_offsets(ptr noundef nonnull %6) #2
br label %31
31: ; preds = %29, %18
%32 = phi i32 [ %20, %18 ], [ 0, %29 ]
ret i32 %32
}
declare ptr @vb2_get_drv_priv(ptr noundef) local_unnamed_addr #1
declare i32 @vpif_dbg(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vpif_calculate_offsets(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 = !{!"channel_obj", !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}
!13 = !{!14, !18, i64 0}
!14 = !{!"common_obj", !15, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"TYPE_5__", !17, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"int", !9, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!21, !18, i64 0}
!21 = !{!"vb2_queue", !18, i64 0}
| linux_drivers_media_platform_davinci_extr_vpif_capture.c_vpif_buffer_queue_setup |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.