IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/usb/storage/extr_shuttle_usbat.c_usbat_execute_command.c' source_filename = "AnghaBench/linux/drivers/usb/storage/extr_shuttle_usbat.c_usbat_execute_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" @USBAT_CMD_EXEC_CMD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @usbat_execute_command], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @usbat_execute_command(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @USBAT_CMD_EXEC_CMD, align 4, !tbaa !10 %6 = tail call i32 @usb_stor_ctrl_transfer(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %5, i32 noundef 64, i32 noundef 0, i32 noundef 0, ptr noundef %1, i32 noundef %2) #2 ret i32 %6 } declare i32 @usb_stor_ctrl_transfer(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"us_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/usb/storage/extr_shuttle_usbat.c_usbat_execute_command.c' source_filename = "AnghaBench/linux/drivers/usb/storage/extr_shuttle_usbat.c_usbat_execute_command.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USBAT_CMD_EXEC_CMD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @usbat_execute_command], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @usbat_execute_command(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @USBAT_CMD_EXEC_CMD, align 4, !tbaa !11 %6 = tail call i32 @usb_stor_ctrl_transfer(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %5, i32 noundef 64, i32 noundef 0, i32 noundef 0, ptr noundef %1, i32 noundef %2) #2 ret i32 %6 } declare i32 @usb_stor_ctrl_transfer(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"us_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_usb_storage_extr_shuttle_usbat.c_usbat_execute_command
; ModuleID = 'AnghaBench/linux/arch/mips/txx9/rbtx4938/extr_irq.c_toshiba_rbtx4938_irq_ioc_disable.c' source_filename = "AnghaBench/linux/arch/mips/txx9/rbtx4938/extr_irq.c_toshiba_rbtx4938_irq_ioc_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" @rbtx4938_imask_addr = dso_local local_unnamed_addr global i32 0, align 4 @RBTX4938_IRQ_IOC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @toshiba_rbtx4938_irq_ioc_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @toshiba_rbtx4938_irq_ioc_disable(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @rbtx4938_imask_addr, align 4, !tbaa !5 %3 = tail call zeroext i8 @readb(i32 noundef %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !9 %5 = load i32, ptr @RBTX4938_IRQ_IOC, align 4, !tbaa !5 %6 = sub nsw i32 %4, %5 %7 = shl nuw i32 1, %6 %8 = trunc i32 %7 to i8 %9 = xor i8 %8, -1 %10 = and i8 %3, %9 %11 = load i32, ptr @rbtx4938_imask_addr, align 4, !tbaa !5 %12 = tail call i32 @writeb(i8 noundef zeroext %10, i32 noundef %11) #2 %13 = tail call i32 (...) @mmiowb() #2 ret void } declare zeroext i8 @readb(i32 noundef) local_unnamed_addr #1 declare i32 @writeb(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1 declare i32 @mmiowb(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"irq_data", !6, i64 0}
; ModuleID = 'AnghaBench/linux/arch/mips/txx9/rbtx4938/extr_irq.c_toshiba_rbtx4938_irq_ioc_disable.c' source_filename = "AnghaBench/linux/arch/mips/txx9/rbtx4938/extr_irq.c_toshiba_rbtx4938_irq_ioc_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @rbtx4938_imask_addr = common local_unnamed_addr global i32 0, align 4 @RBTX4938_IRQ_IOC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @toshiba_rbtx4938_irq_ioc_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @toshiba_rbtx4938_irq_ioc_disable(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @rbtx4938_imask_addr, align 4, !tbaa !6 %3 = tail call zeroext i8 @readb(i32 noundef %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !10 %5 = load i32, ptr @RBTX4938_IRQ_IOC, align 4, !tbaa !6 %6 = sub nsw i32 %4, %5 %7 = shl nuw i32 1, %6 %8 = trunc i32 %7 to i8 %9 = xor i8 %8, -1 %10 = and i8 %3, %9 %11 = load i32, ptr @rbtx4938_imask_addr, align 4, !tbaa !6 %12 = tail call i32 @writeb(i8 noundef zeroext %10, i32 noundef %11) #2 %13 = tail call i32 @mmiowb() #2 ret void } declare zeroext i8 @readb(i32 noundef) local_unnamed_addr #1 declare i32 @writeb(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1 declare i32 @mmiowb(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"irq_data", !7, i64 0}
linux_arch_mips_txx9_rbtx4938_extr_irq.c_toshiba_rbtx4938_irq_ioc_disable
; ModuleID = 'AnghaBench/linux/drivers/staging/vt6656/extr_int.c_vnt_int_start_interrupt.c' source_filename = "AnghaBench/linux/drivers/staging/vt6656/extr_int.c_vnt_int_start_interrupt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vnt_private = type { i32, ptr } @.str = private unnamed_addr constant [31 x i8] c"---->Interrupt Polling Thread\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @vnt_int_start_interrupt(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.vnt_private, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @dev_dbg(ptr noundef %3, ptr noundef nonnull @.str) #2 %5 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %6 = tail call i32 @vnt_start_interrupt_urb(ptr noundef %0) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret i32 %6 } declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @vnt_start_interrupt_urb(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"vnt_private", !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}
; ModuleID = 'AnghaBench/linux/drivers/staging/vt6656/extr_int.c_vnt_int_start_interrupt.c' source_filename = "AnghaBench/linux/drivers/staging/vt6656/extr_int.c_vnt_int_start_interrupt.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 [31 x i8] c"---->Interrupt Polling Thread\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @vnt_int_start_interrupt(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 @dev_dbg(ptr noundef %3, ptr noundef nonnull @.str) #2 %5 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %6 = tail call i32 @vnt_start_interrupt_urb(ptr noundef %0) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret i32 %6 } declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @vnt_start_interrupt_urb(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"vnt_private", !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}
linux_drivers_staging_vt6656_extr_int.c_vnt_int_start_interrupt
; ModuleID = 'AnghaBench/fastsocket/kernel/net/phonet/extr_pn_dev.c_phonet_device_destroy.c' source_filename = "AnghaBench/fastsocket/kernel/net/phonet/extr_pn_dev.c_phonet_device_destroy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.phonet_device = type { i32, i32 } @RTM_DELADDR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @phonet_device_destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @phonet_device_destroy(ptr noundef %0) #0 { %2 = tail call i32 @dev_net(ptr noundef %0) #2 %3 = tail call ptr @phonet_device_list(i32 noundef %2) #2 %4 = tail call i32 (...) @ASSERT_RTNL() #2 %5 = tail call i32 @spin_lock_bh(ptr noundef %3) #2 %6 = tail call ptr @__phonet_get(ptr noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %25, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.phonet_device, ptr %6, i64 0, i32 1 %10 = tail call i32 @list_del(ptr noundef nonnull %9) #2 %11 = tail call i32 @spin_unlock_bh(ptr noundef %3) #2 %12 = load i32, ptr %6, align 4, !tbaa !5 %13 = tail call i32 @find_first_bit(i32 noundef %12, i32 noundef 64) #2 %14 = icmp slt i32 %13, 64 br i1 %14, label %15, label %23 15: ; preds = %8, %15 %16 = phi i32 [ %21, %15 ], [ %13, %8 ] %17 = load i32, ptr @RTM_DELADDR, align 4, !tbaa !10 %18 = tail call i32 @phonet_address_notify(i32 noundef %17, ptr noundef %0, i32 noundef %16) #2 %19 = load i32, ptr %6, align 4, !tbaa !5 %20 = add nsw i32 %16, 1 %21 = tail call i32 @find_next_bit(i32 noundef %19, i32 noundef 64, i32 noundef %20) #2 %22 = icmp slt i32 %21, 64 br i1 %22, label %15, label %23, !llvm.loop !11 23: ; preds = %15, %8 %24 = tail call i32 @kfree(ptr noundef nonnull %6) #2 br label %27 25: ; preds = %1 %26 = tail call i32 @spin_unlock_bh(ptr noundef %3) #2 br label %27 27: ; preds = %25, %23 ret void } declare ptr @phonet_device_list(i32 noundef) local_unnamed_addr #1 declare i32 @dev_net(ptr noundef) local_unnamed_addr #1 declare i32 @ASSERT_RTNL(...) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare ptr @__phonet_get(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @find_first_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phonet_address_notify(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @find_next_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"phonet_device", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/phonet/extr_pn_dev.c_phonet_device_destroy.c' source_filename = "AnghaBench/fastsocket/kernel/net/phonet/extr_pn_dev.c_phonet_device_destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTM_DELADDR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @phonet_device_destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @phonet_device_destroy(ptr noundef %0) #0 { %2 = tail call i32 @dev_net(ptr noundef %0) #2 %3 = tail call ptr @phonet_device_list(i32 noundef %2) #2 %4 = tail call i32 @ASSERT_RTNL() #2 %5 = tail call i32 @spin_lock_bh(ptr noundef %3) #2 %6 = tail call ptr @__phonet_get(ptr noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %25, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %6, i64 4 %10 = tail call i32 @list_del(ptr noundef nonnull %9) #2 %11 = tail call i32 @spin_unlock_bh(ptr noundef %3) #2 %12 = load i32, ptr %6, align 4, !tbaa !6 %13 = tail call i32 @find_first_bit(i32 noundef %12, i32 noundef 64) #2 %14 = icmp slt i32 %13, 64 br i1 %14, label %15, label %23 15: ; preds = %8, %15 %16 = phi i32 [ %21, %15 ], [ %13, %8 ] %17 = load i32, ptr @RTM_DELADDR, align 4, !tbaa !11 %18 = tail call i32 @phonet_address_notify(i32 noundef %17, ptr noundef %0, i32 noundef %16) #2 %19 = load i32, ptr %6, align 4, !tbaa !6 %20 = add nsw i32 %16, 1 %21 = tail call i32 @find_next_bit(i32 noundef %19, i32 noundef 64, i32 noundef %20) #2 %22 = icmp slt i32 %21, 64 br i1 %22, label %15, label %23, !llvm.loop !12 23: ; preds = %15, %8 %24 = tail call i32 @kfree(ptr noundef nonnull %6) #2 br label %27 25: ; preds = %1 %26 = tail call i32 @spin_unlock_bh(ptr noundef %3) #2 br label %27 27: ; preds = %25, %23 ret void } declare ptr @phonet_device_list(i32 noundef) local_unnamed_addr #1 declare i32 @dev_net(ptr noundef) local_unnamed_addr #1 declare i32 @ASSERT_RTNL(...) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare ptr @__phonet_get(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @find_first_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phonet_address_notify(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @find_next_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"phonet_device", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_net_phonet_extr_pn_dev.c_phonet_device_destroy
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-stm32h7.c_pll_disable.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-stm32h7.c_pll_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { ptr } @ready_gate_clk_ops = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @pll_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pll_disable(ptr noundef %0) #0 { %2 = tail call ptr @to_pll(ptr noundef %0) #2 %3 = tail call i32 @__clk_hw_set_clk(ptr noundef %2, ptr noundef %0) #2 %4 = load ptr, ptr @ready_gate_clk_ops, align 8, !tbaa !5 %5 = tail call i32 %4(ptr noundef %2) #2 ret void } declare ptr @to_pll(ptr noundef) local_unnamed_addr #1 declare i32 @__clk_hw_set_clk(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-stm32h7.c_pll_disable.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-stm32h7.c_pll_disable.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 { ptr } @ready_gate_clk_ops = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @pll_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pll_disable(ptr noundef %0) #0 { %2 = tail call ptr @to_pll(ptr noundef %0) #2 %3 = tail call i32 @__clk_hw_set_clk(ptr noundef %2, ptr noundef %0) #2 %4 = load ptr, ptr @ready_gate_clk_ops, align 8, !tbaa !6 %5 = tail call i32 %4(ptr noundef %2) #2 ret void } declare ptr @to_pll(ptr noundef) local_unnamed_addr #1 declare i32 @__clk_hw_set_clk(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_clk_extr_clk-stm32h7.c_pll_disable
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_string.c___match_charclass.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_string.c___match_charclass.c" target datalayout = "e-m:e-p270:32:32-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 @__match_charclass], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @__match_charclass(ptr noundef %0, i8 noundef signext %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i8, ptr %0, align 1, !tbaa !5 %5 = icmp eq i8 %4, 33 %6 = zext i1 %5 to i64 %7 = getelementptr inbounds i8, ptr %0, i64 %6 %8 = getelementptr inbounds i8, ptr %7, i64 1 %9 = load i8, ptr %7, align 1, !tbaa !5 %10 = icmp eq i8 %9, %1 br i1 %10, label %33, label %11 11: ; preds = %3, %31 %12 = phi ptr [ %32, %31 ], [ %8, %3 ] %13 = load i8, ptr %12, align 1, !tbaa !5 switch i8 %13, label %28 [ i8 45, label %14 i8 0, label %45 i8 93, label %33 ] 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %12, i64 1 %16 = load i8, ptr %15, align 1, !tbaa !5 %17 = icmp eq i8 %16, 93 br i1 %17, label %28, label %18 18: ; preds = %14 %19 = getelementptr inbounds i8, ptr %12, i64 -1 %20 = load i8, ptr %19, align 1, !tbaa !5 %21 = icmp sgt i8 %20, %1 %22 = icmp slt i8 %16, %1 %23 = or i1 %22, %21 br i1 %23, label %24, label %33 24: ; preds = %18 %25 = icmp sgt i8 %20, %16 br i1 %25, label %45, label %26 26: ; preds = %24 %27 = getelementptr inbounds i8, ptr %12, i64 2 br label %31 28: ; preds = %11, %14 %29 = getelementptr inbounds i8, ptr %12, i64 1 %30 = icmp eq i8 %13, %1 br i1 %30, label %33, label %31 31: ; preds = %28, %26 %32 = phi ptr [ %27, %26 ], [ %29, %28 ] br label %11, !llvm.loop !8 33: ; preds = %11, %18, %28, %3 %34 = phi ptr [ %8, %3 ], [ %12, %11 ], [ %12, %18 ], [ %29, %28 ] %35 = phi i32 [ 0, %3 ], [ 1, %11 ], [ 0, %18 ], [ 0, %28 ] %36 = phi i32 [ 1, %3 ], [ 0, %11 ], [ 1, %18 ], [ 1, %28 ] br label %37 37: ; preds = %40, %33 %38 = phi ptr [ %34, %33 ], [ %41, %40 ] %39 = load i8, ptr %38, align 1, !tbaa !5 switch i8 %39, label %40 [ i8 0, label %45 i8 93, label %42 ] 40: ; preds = %37 %41 = getelementptr inbounds i8, ptr %38, i64 1 br label %37, !llvm.loop !10 42: ; preds = %37 %43 = getelementptr inbounds i8, ptr %38, i64 1 store ptr %43, ptr %2, align 8, !tbaa !11 %44 = select i1 %5, i32 %35, i32 %36 br label %45 45: ; preds = %11, %24, %37, %42 %46 = phi i32 [ %44, %42 ], [ 0, %37 ], [ 0, %24 ], [ 0, %11 ] ret i32 %46 } attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = distinct !{!10, !9} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !6, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_string.c___match_charclass.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_string.c___match_charclass.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 @__match_charclass], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @__match_charclass(ptr noundef %0, i8 noundef signext %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i8, ptr %0, align 1, !tbaa !6 %5 = icmp eq i8 %4, 33 %6 = zext i1 %5 to i64 %7 = getelementptr inbounds i8, ptr %0, i64 %6 %8 = getelementptr inbounds i8, ptr %7, i64 1 %9 = load i8, ptr %7, align 1, !tbaa !6 %10 = icmp eq i8 %9, %1 br i1 %10, label %33, label %11 11: ; preds = %3, %31 %12 = phi ptr [ %32, %31 ], [ %8, %3 ] %13 = load i8, ptr %12, align 1, !tbaa !6 switch i8 %13, label %28 [ i8 45, label %14 i8 0, label %45 i8 93, label %33 ] 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %12, i64 1 %16 = load i8, ptr %15, align 1, !tbaa !6 %17 = icmp eq i8 %16, 93 br i1 %17, label %28, label %18 18: ; preds = %14 %19 = getelementptr inbounds i8, ptr %12, i64 -1 %20 = load i8, ptr %19, align 1, !tbaa !6 %21 = icmp sgt i8 %20, %1 %22 = icmp slt i8 %16, %1 %23 = or i1 %22, %21 br i1 %23, label %24, label %33 24: ; preds = %18 %25 = icmp sgt i8 %20, %16 br i1 %25, label %45, label %26 26: ; preds = %24 %27 = getelementptr inbounds i8, ptr %12, i64 2 br label %31 28: ; preds = %11, %14 %29 = getelementptr inbounds i8, ptr %12, i64 1 %30 = icmp eq i8 %13, %1 br i1 %30, label %33, label %31 31: ; preds = %28, %26 %32 = phi ptr [ %27, %26 ], [ %29, %28 ] br label %11, !llvm.loop !9 33: ; preds = %11, %18, %28, %3 %34 = phi ptr [ %8, %3 ], [ %12, %11 ], [ %12, %18 ], [ %29, %28 ] %35 = phi i32 [ 0, %3 ], [ 1, %11 ], [ 0, %18 ], [ 0, %28 ] %36 = phi i32 [ 1, %3 ], [ 0, %11 ], [ 1, %18 ], [ 1, %28 ] br label %37 37: ; preds = %40, %33 %38 = phi ptr [ %34, %33 ], [ %41, %40 ] %39 = load i8, ptr %38, align 1, !tbaa !6 switch i8 %39, label %40 [ i8 0, label %45 i8 93, label %42 ] 40: ; preds = %37 %41 = getelementptr inbounds i8, ptr %38, i64 1 br label %37, !llvm.loop !11 42: ; preds = %37 %43 = getelementptr inbounds i8, ptr %38, i64 1 store ptr %43, ptr %2, align 8, !tbaa !12 %44 = select i1 %5, i32 %35, i32 %36 br label %45 45: ; preds = %11, %24, %37, %42 %46 = phi i32 [ %44, %42 ], [ 0, %37 ], [ 0, %24 ], [ 0, %11 ] ret i32 %46 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !7, i64 0}
linux_tools_perf_util_extr_string.c___match_charclass
; ModuleID = 'AnghaBench/toxcore/toxav/extr_toxav.c_callback_bwc.c' source_filename = "AnghaBench/toxcore/toxav/extr_toxav.c_callback_bwc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, i32, ptr } %struct.TYPE_8__ = type { i32, %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32, ptr } @.str = private unnamed_addr constant [22 x i8] c"Reported loss of %f%%\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"No callback to report loss on\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @callback_bwc(ptr nocapture noundef readnone %0, i32 noundef %1, float noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @assert(ptr noundef %3) #3 %6 = fmul float %2, 1.000000e+02 %7 = tail call i32 @LOGGER_DEBUG(ptr noundef nonnull @.str, float noundef %6) #3 %8 = fcmp olt float %2, 0x3F847AE140000000 br i1 %8, label %48, label %9 9: ; preds = %4 %10 = getelementptr inbounds %struct.TYPE_7__, ptr %3, i64 0, i32 2 %11 = load ptr, ptr %10, align 8, !tbaa !5 %12 = load i32, ptr %11, align 8, !tbaa !11 %13 = tail call i32 @pthread_mutex_lock(i32 noundef %12) #3 %14 = load ptr, ptr %10, align 8, !tbaa !5 %15 = getelementptr inbounds %struct.TYPE_8__, ptr %14, i64 0, i32 1 %16 = getelementptr inbounds %struct.TYPE_8__, ptr %14, i64 0, i32 1, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !14 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %9 %20 = load i32, ptr %14, align 8, !tbaa !11 %21 = tail call i32 @pthread_mutex_unlock(i32 noundef %20) #3 %22 = tail call i32 @LOGGER_WARNING(ptr noundef nonnull @.str.1) #3 br label %48 23: ; preds = %9 %24 = load i32, ptr %3, align 8, !tbaa !15 %25 = icmp eq i32 %24, 0 %26 = getelementptr inbounds %struct.TYPE_7__, ptr %3, i64 0, i32 1 %27 = load i32, ptr %26, align 4, !tbaa !16 br i1 %25, label %33, label %28 28: ; preds = %23 %29 = sitofp i32 %27 to float %30 = sitofp i32 %24 to float %31 = fneg float %30 %32 = tail call float @llvm.fmuladd.f32(float %31, float %2, float %30) br label %39 33: ; preds = %23 %34 = icmp eq i32 %27, 0 br i1 %34, label %44, label %35 35: ; preds = %33 %36 = sitofp i32 %27 to float %37 = fneg float %36 %38 = tail call float @llvm.fmuladd.f32(float %37, float %2, float %36) br label %39 39: ; preds = %28, %35 %40 = phi float [ 0.000000e+00, %35 ], [ %32, %28 ] %41 = phi float [ %38, %35 ], [ %29, %28 ] %42 = load i32, ptr %15, align 8, !tbaa !17 %43 = tail call i32 %17(ptr noundef nonnull %14, i32 noundef %1, float noundef %41, float noundef %40, i32 noundef %42) #3 br label %44 44: ; preds = %39, %33 %45 = load ptr, ptr %10, align 8, !tbaa !5 %46 = load i32, ptr %45, align 8, !tbaa !11 %47 = tail call i32 @pthread_mutex_unlock(i32 noundef %46) #3 br label %48 48: ; preds = %4, %44, %19 ret void } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @LOGGER_DEBUG(ptr noundef, float noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_lock(i32 noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_unlock(i32 noundef) local_unnamed_addr #1 declare i32 @LOGGER_WARNING(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind 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, !10, i64 8} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_8__", !7, i64 0, !13, i64 8} !13 = !{!"TYPE_6__", !7, i64 0, !10, i64 8} !14 = !{!12, !10, i64 16} !15 = !{!6, !7, i64 0} !16 = !{!6, !7, i64 4} !17 = !{!12, !7, i64 8}
; ModuleID = 'AnghaBench/toxcore/toxav/extr_toxav.c_callback_bwc.c' source_filename = "AnghaBench/toxcore/toxav/extr_toxav.c_callback_bwc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [22 x i8] c"Reported loss of %f%%\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"No callback to report loss on\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @callback_bwc(ptr nocapture noundef readnone %0, i32 noundef %1, float noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @assert(ptr noundef %3) #3 %6 = fmul float %2, 1.000000e+02 %7 = tail call i32 @LOGGER_DEBUG(ptr noundef nonnull @.str, float noundef %6) #3 %8 = fcmp olt float %2, 0x3F847AE140000000 br i1 %8, label %47, label %9 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %3, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !6 %12 = load i32, ptr %11, align 8, !tbaa !12 %13 = tail call i32 @pthread_mutex_lock(i32 noundef %12) #3 %14 = load ptr, ptr %10, align 8, !tbaa !6 %15 = getelementptr inbounds i8, ptr %14, i64 8 %16 = getelementptr inbounds i8, ptr %14, i64 16 %17 = load ptr, ptr %16, align 8, !tbaa !15 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %9 %20 = load i32, ptr %14, align 8, !tbaa !12 %21 = tail call i32 @pthread_mutex_unlock(i32 noundef %20) #3 %22 = tail call i32 @LOGGER_WARNING(ptr noundef nonnull @.str.1) #3 br label %47 23: ; preds = %9 %24 = load i32, ptr %3, align 8, !tbaa !16 %25 = icmp eq i32 %24, 0 %26 = getelementptr inbounds i8, ptr %3, i64 4 %27 = load i32, ptr %26, align 4, !tbaa !17 br i1 %25, label %35, label %28 28: ; preds = %23 %29 = sitofp i32 %27 to float %30 = sitofp i32 %24 to float %31 = fneg float %30 %32 = tail call float @llvm.fmuladd.f32(float %31, float %2, float %30) %33 = load i32, ptr %15, align 8, !tbaa !18 %34 = tail call i32 %17(ptr noundef nonnull %14, i32 noundef %1, float noundef %29, float noundef %32, i32 noundef %33) #3 br label %43 35: ; preds = %23 %36 = icmp eq i32 %27, 0 br i1 %36, label %43, label %37 37: ; preds = %35 %38 = sitofp i32 %27 to float %39 = fneg float %38 %40 = tail call float @llvm.fmuladd.f32(float %39, float %2, float %38) %41 = load i32, ptr %15, align 8, !tbaa !18 %42 = tail call i32 %17(ptr noundef nonnull %14, i32 noundef %1, float noundef %40, float noundef 0.000000e+00, i32 noundef %41) #3 br label %43 43: ; preds = %35, %37, %28 %44 = load ptr, ptr %10, align 8, !tbaa !6 %45 = load i32, ptr %44, align 8, !tbaa !12 %46 = tail call i32 @pthread_mutex_unlock(i32 noundef %45) #3 br label %47 47: ; preds = %4, %43, %19 ret void } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @LOGGER_DEBUG(ptr noundef, float noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_lock(i32 noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_unlock(i32 noundef) local_unnamed_addr #1 declare i32 @LOGGER_WARNING(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_8__", !8, i64 0, !14, i64 8} !14 = !{!"TYPE_6__", !8, i64 0, !11, i64 8} !15 = !{!13, !11, i64 16} !16 = !{!7, !8, i64 0} !17 = !{!7, !8, i64 4} !18 = !{!13, !8, i64 8}
toxcore_toxav_extr_toxav.c_callback_bwc
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb8_main.c_snd_sb8_capture_trigger.c' source_filename = "AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb8_main.c_snd_sb8_capture_trigger.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_sb = type { i32, i32, i32, i32, i32, i32 } @SB_DSP_INPUT = dso_local local_unnamed_addr global i32 0, align 4 @SB_DSP_HI_INPUT_AUTO = dso_local local_unnamed_addr global i32 0, align 4 @SB_DSP_CAPTURE_FILT = dso_local local_unnamed_addr global i32 0, align 4 @SB_DSP_MONO_8BIT = dso_local local_unnamed_addr global i32 0, align 4 @SB_DSP_DMA8_OFF = dso_local local_unnamed_addr global i32 0, align 4 @SB_DSP_SPEAKER_OFF = dso_local local_unnamed_addr global i32 0, align 4 @SB_MODE_CAPTURE_8 = dso_local local_unnamed_addr global i32 0, align 4 @SB_MODE_HALT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_sb8_capture_trigger], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @snd_sb8_capture_trigger(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.snd_sb, ptr %3, i64 0, i32 2 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 switch i32 %1, label %45 [ i32 129, label %6 i32 128, label %19 ] 6: ; preds = %2 %7 = load i32, ptr %3, align 4, !tbaa !5 %8 = tail call i32 @snd_sbdsp_command(ptr noundef nonnull %3, i32 noundef %7) #2 %9 = load i32, ptr %3, align 4, !tbaa !5 %10 = load i32, ptr @SB_DSP_INPUT, align 4, !tbaa !10 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %45 12: ; preds = %6 %13 = getelementptr inbounds %struct.snd_sb, ptr %3, i64 0, i32 5 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = add nsw i32 %14, -1 %16 = and i32 %15, 255 %17 = tail call i32 @snd_sbdsp_command(ptr noundef nonnull %3, i32 noundef %16) #2 %18 = lshr i32 %15, 8 br label %42 19: ; preds = %2 %20 = load i32, ptr %3, align 4, !tbaa !5 %21 = load i32, ptr @SB_DSP_HI_INPUT_AUTO, align 4, !tbaa !10 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %36 23: ; preds = %19 %24 = load ptr, ptr %0, align 8, !tbaa !12 %25 = tail call i32 @snd_sbdsp_reset(ptr noundef nonnull %3) #2 %26 = load i32, ptr %24, align 4, !tbaa !15 %27 = icmp sgt i32 %26, 1 br i1 %27, label %28, label %40 28: ; preds = %23 %29 = getelementptr inbounds %struct.snd_sb, ptr %3, i64 0, i32 3 %30 = tail call i32 @spin_lock(ptr noundef nonnull %29) #2 %31 = load i32, ptr @SB_DSP_CAPTURE_FILT, align 4, !tbaa !10 %32 = getelementptr inbounds %struct.snd_sb, ptr %3, i64 0, i32 4 %33 = load i32, ptr %32, align 4, !tbaa !17 %34 = tail call i32 @snd_sbmixer_write(ptr noundef nonnull %3, i32 noundef %31, i32 noundef %33) #2 %35 = tail call i32 @spin_unlock(ptr noundef nonnull %29) #2 br label %36 36: ; preds = %19, %28 %37 = phi ptr [ @SB_DSP_MONO_8BIT, %28 ], [ @SB_DSP_DMA8_OFF, %19 ] %38 = load i32, ptr %37, align 4, !tbaa !10 %39 = tail call i32 @snd_sbdsp_command(ptr noundef nonnull %3, i32 noundef %38) #2 br label %40 40: ; preds = %36, %23 %41 = load i32, ptr @SB_DSP_SPEAKER_OFF, align 4, !tbaa !10 br label %42 42: ; preds = %40, %12 %43 = phi i32 [ %18, %12 ], [ %41, %40 ] %44 = tail call i32 @snd_sbdsp_command(ptr noundef nonnull %3, i32 noundef %43) #2 br label %45 45: ; preds = %42, %6, %2 %46 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2 %47 = icmp eq i32 %1, 129 %48 = load i32, ptr @SB_MODE_CAPTURE_8, align 4 %49 = load i32, ptr @SB_MODE_HALT, align 4 %50 = select i1 %47, i32 %48, i32 %49 %51 = getelementptr inbounds %struct.snd_sb, ptr %3, i64 0, i32 1 store i32 %50, ptr %51, align 4, !tbaa !18 ret i32 0 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_sbdsp_command(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_sbdsp_reset(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @snd_sbmixer_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_sb", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 20} !12 = !{!13, !14, i64 0} !13 = !{!"snd_pcm_substream", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"snd_pcm_runtime", !7, i64 0} !17 = !{!6, !7, i64 16} !18 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb8_main.c_snd_sb8_capture_trigger.c' source_filename = "AnghaBench/fastsocket/kernel/sound/isa/sb/extr_sb8_main.c_snd_sb8_capture_trigger.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SB_DSP_INPUT = common local_unnamed_addr global i32 0, align 4 @SB_DSP_HI_INPUT_AUTO = common local_unnamed_addr global i32 0, align 4 @SB_DSP_CAPTURE_FILT = common local_unnamed_addr global i32 0, align 4 @SB_DSP_MONO_8BIT = common local_unnamed_addr global i32 0, align 4 @SB_DSP_DMA8_OFF = common local_unnamed_addr global i32 0, align 4 @SB_DSP_SPEAKER_OFF = common local_unnamed_addr global i32 0, align 4 @SB_MODE_CAPTURE_8 = common local_unnamed_addr global i32 0, align 4 @SB_MODE_HALT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_sb8_capture_trigger], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @snd_sb8_capture_trigger(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 switch i32 %1, label %45 [ i32 129, label %6 i32 128, label %19 ] 6: ; preds = %2 %7 = load i32, ptr %3, align 4, !tbaa !6 %8 = tail call i32 @snd_sbdsp_command(ptr noundef nonnull %3, i32 noundef %7) #2 %9 = load i32, ptr %3, align 4, !tbaa !6 %10 = load i32, ptr @SB_DSP_INPUT, align 4, !tbaa !11 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %45 12: ; preds = %6 %13 = getelementptr inbounds i8, ptr %3, i64 20 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = add nsw i32 %14, -1 %16 = and i32 %15, 255 %17 = tail call i32 @snd_sbdsp_command(ptr noundef nonnull %3, i32 noundef %16) #2 %18 = lshr i32 %15, 8 br label %42 19: ; preds = %2 %20 = load i32, ptr %3, align 4, !tbaa !6 %21 = load i32, ptr @SB_DSP_HI_INPUT_AUTO, align 4, !tbaa !11 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %36 23: ; preds = %19 %24 = load ptr, ptr %0, align 8, !tbaa !13 %25 = tail call i32 @snd_sbdsp_reset(ptr noundef nonnull %3) #2 %26 = load i32, ptr %24, align 4, !tbaa !16 %27 = icmp sgt i32 %26, 1 br i1 %27, label %28, label %40 28: ; preds = %23 %29 = getelementptr inbounds i8, ptr %3, i64 12 %30 = tail call i32 @spin_lock(ptr noundef nonnull %29) #2 %31 = load i32, ptr @SB_DSP_CAPTURE_FILT, align 4, !tbaa !11 %32 = getelementptr inbounds i8, ptr %3, i64 16 %33 = load i32, ptr %32, align 4, !tbaa !18 %34 = tail call i32 @snd_sbmixer_write(ptr noundef nonnull %3, i32 noundef %31, i32 noundef %33) #2 %35 = tail call i32 @spin_unlock(ptr noundef nonnull %29) #2 br label %36 36: ; preds = %19, %28 %37 = phi ptr [ @SB_DSP_MONO_8BIT, %28 ], [ @SB_DSP_DMA8_OFF, %19 ] %38 = load i32, ptr %37, align 4, !tbaa !11 %39 = tail call i32 @snd_sbdsp_command(ptr noundef nonnull %3, i32 noundef %38) #2 br label %40 40: ; preds = %36, %23 %41 = load i32, ptr @SB_DSP_SPEAKER_OFF, align 4, !tbaa !11 br label %42 42: ; preds = %40, %12 %43 = phi i32 [ %18, %12 ], [ %41, %40 ] %44 = tail call i32 @snd_sbdsp_command(ptr noundef nonnull %3, i32 noundef %43) #2 br label %45 45: ; preds = %42, %6, %2 %46 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2 %47 = icmp eq i32 %1, 129 %48 = load i32, ptr @SB_MODE_CAPTURE_8, align 4 %49 = load i32, ptr @SB_MODE_HALT, align 4 %50 = select i1 %47, i32 %48, i32 %49 %51 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %50, ptr %51, align 4, !tbaa !19 ret i32 0 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_sbdsp_command(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_sbdsp_reset(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @snd_sbmixer_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_sb", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 20} !13 = !{!14, !15, i64 0} !14 = !{!"snd_pcm_substream", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"snd_pcm_runtime", !8, i64 0} !18 = !{!7, !8, i64 16} !19 = !{!7, !8, i64 4}
fastsocket_kernel_sound_isa_sb_extr_sb8_main.c_snd_sb8_capture_trigger
; ModuleID = 'AnghaBench/freebsd/sbin/hastd/extr_primary.c_cleanup.c' source_filename = "AnghaBench/freebsd/sbin/hastd/extr_primary.c_cleanup.c" target datalayout = "e-m:e-p270:32:32-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.g_gate_ctl_destroy = type { i32, i32, i32 } %struct.hast_resource = type { i32, i32, i32 } @errno = dso_local local_unnamed_addr global i32 0, align 4 @G_GATE_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @G_GATE_CMD_DESTROY = dso_local local_unnamed_addr global i32 0, align 4 @LOG_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Unable to destroy hast/%s device\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cleanup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cleanup(ptr nocapture noundef %0) #0 { %2 = alloca %struct.g_gate_ctl_destroy, align 4 %3 = load i32, ptr @errno, align 4, !tbaa !5 %4 = load i32, ptr %0, align 4, !tbaa !9 %5 = icmp sgt i32 %4, -1 br i1 %5, label %6, label %23 6: ; preds = %1 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3 %7 = call i32 @bzero(ptr noundef nonnull %2, i32 noundef 12) #3 %8 = load i32, ptr @G_GATE_VERSION, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.g_gate_ctl_destroy, ptr %2, i64 0, i32 2 store i32 %8, ptr %9, align 4, !tbaa !11 %10 = load i32, ptr %0, align 4, !tbaa !9 store i32 %10, ptr %2, align 4, !tbaa !13 %11 = getelementptr inbounds %struct.g_gate_ctl_destroy, ptr %2, i64 0, i32 1 store i32 1, ptr %11, align 4, !tbaa !14 %12 = getelementptr inbounds %struct.hast_resource, ptr %0, i64 0, i32 2 %13 = load i32, ptr %12, align 4, !tbaa !15 %14 = load i32, ptr @G_GATE_CMD_DESTROY, align 4, !tbaa !5 %15 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, ptr noundef nonnull %2) #3 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %22 17: ; preds = %6 %18 = load i32, ptr @LOG_WARNING, align 4, !tbaa !5 %19 = getelementptr inbounds %struct.hast_resource, ptr %0, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = call i32 @pjdlog_errno(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %20) #3 br label %22 22: ; preds = %17, %6 store i32 -1, ptr %0, align 4, !tbaa !9 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3 br label %23 23: ; preds = %22, %1 store i32 %3, ptr @errno, align 4, !tbaa !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 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pjdlog_errno(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"hast_resource", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!12, !6, i64 8} !12 = !{!"g_gate_ctl_destroy", !6, i64 0, !6, i64 4, !6, i64 8} !13 = !{!12, !6, i64 0} !14 = !{!12, !6, i64 4} !15 = !{!10, !6, i64 8} !16 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/freebsd/sbin/hastd/extr_primary.c_cleanup.c' source_filename = "AnghaBench/freebsd/sbin/hastd/extr_primary.c_cleanup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.g_gate_ctl_destroy = type { i32, i32, i32 } @errno = common local_unnamed_addr global i32 0, align 4 @G_GATE_VERSION = common local_unnamed_addr global i32 0, align 4 @G_GATE_CMD_DESTROY = common local_unnamed_addr global i32 0, align 4 @LOG_WARNING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Unable to destroy hast/%s device\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cleanup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cleanup(ptr nocapture noundef %0) #0 { %2 = alloca %struct.g_gate_ctl_destroy, align 4 %3 = load i32, ptr @errno, align 4, !tbaa !6 %4 = load i32, ptr %0, align 4, !tbaa !10 %5 = icmp sgt i32 %4, -1 br i1 %5, label %6, label %23 6: ; preds = %1 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3 %7 = call i32 @bzero(ptr noundef nonnull %2, i32 noundef 12) #3 %8 = load i32, ptr @G_GATE_VERSION, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %8, ptr %9, align 4, !tbaa !12 %10 = load i32, ptr %0, align 4, !tbaa !10 store i32 %10, ptr %2, align 4, !tbaa !14 %11 = getelementptr inbounds i8, ptr %2, i64 4 store i32 1, ptr %11, align 4, !tbaa !15 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i32, ptr %12, align 4, !tbaa !16 %14 = load i32, ptr @G_GATE_CMD_DESTROY, align 4, !tbaa !6 %15 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, ptr noundef nonnull %2) #3 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %22 17: ; preds = %6 %18 = load i32, ptr @LOG_WARNING, align 4, !tbaa !6 %19 = getelementptr inbounds i8, ptr %0, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = call i32 @pjdlog_errno(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %20) #3 br label %22 22: ; preds = %17, %6 store i32 -1, ptr %0, align 4, !tbaa !10 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3 br label %23 23: ; preds = %22, %1 store i32 %3, ptr @errno, align 4, !tbaa !6 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 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pjdlog_errno(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"hast_resource", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!13, !7, i64 8} !13 = !{!"g_gate_ctl_destroy", !7, i64 0, !7, i64 4, !7, i64 8} !14 = !{!13, !7, i64 0} !15 = !{!13, !7, i64 4} !16 = !{!11, !7, i64 8} !17 = !{!11, !7, i64 4}
freebsd_sbin_hastd_extr_primary.c_cleanup
; ModuleID = 'AnghaBench/linux/drivers/pci/extr_quirks.c_quirk_triton.c' source_filename = "AnghaBench/linux/drivers/pci/extr_quirks.c_quirk_triton.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pci_pci_problems = dso_local local_unnamed_addr global i32 0, align 4 @PCIPCI_TRITON = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Limiting direct PCI/PCI transfers\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @quirk_triton], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @quirk_triton(ptr noundef %0) #0 { %2 = load i32, ptr @pci_pci_problems, align 4, !tbaa !5 %3 = load i32, ptr @PCIPCI_TRITON, align 4, !tbaa !5 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %1 %7 = tail call i32 @pci_info(ptr noundef %0, ptr noundef nonnull @.str) #2 %8 = load i32, ptr @PCIPCI_TRITON, align 4, !tbaa !5 %9 = load i32, ptr @pci_pci_problems, align 4, !tbaa !5 %10 = or i32 %9, %8 store i32 %10, ptr @pci_pci_problems, align 4, !tbaa !5 br label %11 11: ; preds = %6, %1 ret void } declare i32 @pci_info(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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/pci/extr_quirks.c_quirk_triton.c' source_filename = "AnghaBench/linux/drivers/pci/extr_quirks.c_quirk_triton.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pci_pci_problems = common local_unnamed_addr global i32 0, align 4 @PCIPCI_TRITON = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"Limiting direct PCI/PCI transfers\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @quirk_triton], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @quirk_triton(ptr noundef %0) #0 { %2 = load i32, ptr @pci_pci_problems, align 4, !tbaa !6 %3 = load i32, ptr @PCIPCI_TRITON, align 4, !tbaa !6 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %1 %7 = tail call i32 @pci_info(ptr noundef %0, ptr noundef nonnull @.str) #2 %8 = load i32, ptr @PCIPCI_TRITON, align 4, !tbaa !6 %9 = load i32, ptr @pci_pci_problems, align 4, !tbaa !6 %10 = or i32 %9, %8 store i32 %10, ptr @pci_pci_problems, align 4, !tbaa !6 br label %11 11: ; preds = %6, %1 ret void } declare i32 @pci_info(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_pci_extr_quirks.c_quirk_triton
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/pf/extr_pf_table.c_pfr_pool_get.c' source_filename = "AnghaBench/freebsd/sys/netpfil/pf/extr_pf_table.c_pfr_pool_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" %union.sockaddr_union = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32, i32 } %struct.TYPE_5__ = type { i32, i32 } %struct.pfr_ktable = type { i32, i32, ptr, ptr, i32, ptr } %struct.pfr_kentry = type { i32, %union.sockaddr_union } @PFR_TFLAG_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @pfr_ffaddr = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @pfr_pool_get(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %union.sockaddr_union, align 4 %6 = alloca %union.sockaddr_union, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 switch i32 %3, label %11 [ i32 129, label %7 i32 128, label %9 ] 7: ; preds = %4 store i32 4, ptr %5, align 4, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1 store i32 129, ptr %8, align 4, !tbaa !5 br label %11 9: ; preds = %4 store i32 4, ptr %5, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 0, i32 1 store i32 128, ptr %10, align 4, !tbaa !5 br label %11 11: ; preds = %4, %9, %7 %12 = call ptr @SUNION2PF(ptr noundef nonnull %5, i32 noundef %3) #4 %13 = load i32, ptr %0, align 8, !tbaa !8 %14 = load i32, ptr @PFR_TFLAG_ACTIVE, align 4, !tbaa !12 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %25 17: ; preds = %11 %18 = getelementptr inbounds %struct.pfr_ktable, ptr %0, i64 0, i32 5 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = icmp eq ptr %19, null %21 = select i1 %20, ptr %0, ptr %19 %22 = load i32, ptr %21, align 8, !tbaa !8 %23 = and i32 %22, %14 %24 = icmp eq i32 %23, 0 br i1 %24, label %109, label %25 25: ; preds = %11, %17 %26 = phi ptr [ %21, %17 ], [ %0, %11 ] %27 = icmp eq ptr %1, null br i1 %27, label %30, label %28 28: ; preds = %25 %29 = load i32, ptr %1, align 4, !tbaa !12 br label %30 30: ; preds = %28, %25 %31 = phi i32 [ %29, %28 ], [ -1, %25 ] %32 = call i32 @llvm.smax.i32(i32 %31, i32 0) %33 = call ptr @pfr_kentry_byidx(ptr noundef nonnull %26, i32 noundef %32, i32 noundef %3) #4 %34 = icmp eq ptr %33, null br i1 %34, label %58, label %35 35: ; preds = %30 %36 = icmp eq ptr %2, null %37 = icmp slt i32 %31, 0 %38 = select i1 %36, i1 true, i1 %37 %39 = getelementptr inbounds %struct.pfr_ktable, ptr %26, i64 0, i32 2 %40 = getelementptr inbounds %struct.pfr_ktable, ptr %26, i64 0, i32 3 br label %41 41: ; preds = %35, %100 %42 = phi ptr [ %33, %35 ], [ %102, %100 ] %43 = phi i1 [ %38, %35 ], [ true, %100 ] %44 = phi i32 [ %32, %35 ], [ %101, %100 ] %45 = phi ptr [ null, %35 ], [ %87, %100 ] %46 = load i32, ptr %42, align 4, !tbaa !14 %47 = call i32 @pfr_prepare_network(ptr noundef nonnull %6, i32 noundef %3, i32 noundef %46) #4 %48 = getelementptr inbounds %struct.pfr_kentry, ptr %42, i64 0, i32 1 %49 = call ptr @SUNION2PF(ptr noundef nonnull %48, i32 noundef %3) #4 %50 = call ptr @SUNION2PF(ptr noundef nonnull %6, i32 noundef %3) #4 br i1 %43, label %66, label %51 51: ; preds = %41 %52 = call i32 @PF_MATCHA(i32 noundef 0, ptr noundef %49, ptr noundef %50, ptr noundef %2, i32 noundef %3) #4 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %66 54: ; preds = %51 %55 = add nsw i32 %44, 1 %56 = call ptr @pfr_kentry_byidx(ptr noundef nonnull %26, i32 noundef %55, i32 noundef %3) #4 %57 = icmp eq ptr %56, null br i1 %57, label %58, label %60 58: ; preds = %100, %54, %30 %59 = getelementptr inbounds %struct.pfr_ktable, ptr %26, i64 0, i32 4 br label %104 60: ; preds = %54 %61 = load i32, ptr %56, align 4, !tbaa !14 %62 = call i32 @pfr_prepare_network(ptr noundef nonnull %6, i32 noundef %3, i32 noundef %61) #4 %63 = getelementptr inbounds %struct.pfr_kentry, ptr %56, i64 0, i32 1 %64 = call ptr @SUNION2PF(ptr noundef nonnull %63, i32 noundef %3) #4 %65 = call ptr @SUNION2PF(ptr noundef nonnull %6, i32 noundef %3) #4 br label %66 66: ; preds = %41, %60, %51 %67 = phi ptr [ %2, %51 ], [ %49, %41 ], [ %64, %60 ] %68 = phi ptr [ %42, %51 ], [ %42, %41 ], [ %56, %60 ] %69 = phi i32 [ %44, %51 ], [ %44, %41 ], [ %55, %60 ] %70 = phi ptr [ %49, %51 ], [ %49, %41 ], [ %64, %60 ] %71 = phi ptr [ %50, %51 ], [ %50, %41 ], [ %65, %60 ] %72 = call i32 @PF_ACPY(ptr noundef %12, ptr noundef %67, i32 noundef %3) #4 %73 = call i32 @KENTRY_NETWORK(ptr noundef nonnull %68) #4 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %66 %76 = call i32 @PF_ACPY(ptr noundef %2, ptr noundef %12, i32 noundef %3) #4 store i32 %69, ptr %1, align 4, !tbaa !12 %77 = getelementptr inbounds %struct.pfr_ktable, ptr %26, i64 0, i32 1 br label %104 78: ; preds = %66, %92 %79 = phi ptr [ %87, %92 ], [ %45, %66 ] switch i32 %3, label %86 [ i32 129, label %81 i32 128, label %80 ] 80: ; preds = %78 br label %81 81: ; preds = %78, %80 %82 = phi ptr [ %39, %80 ], [ %40, %78 ] %83 = load ptr, ptr %82, align 8, !tbaa !16 %84 = call i64 @rn_match(ptr noundef nonnull %5, ptr noundef %83) #4 %85 = inttoptr i64 %84 to ptr br label %86 86: ; preds = %81, %78 %87 = phi ptr [ %79, %78 ], [ %85, %81 ] %88 = icmp eq ptr %87, %68 br i1 %88, label %89, label %92 89: ; preds = %86 %90 = call i32 @PF_ACPY(ptr noundef %2, ptr noundef %12, i32 noundef %3) #4 store i32 %69, ptr %1, align 4, !tbaa !12 %91 = getelementptr inbounds %struct.pfr_ktable, ptr %26, i64 0, i32 1 br label %104 92: ; preds = %86 %93 = load i32, ptr %87, align 4, !tbaa !14 %94 = call i32 @pfr_prepare_network(ptr noundef nonnull %6, i32 noundef 129, i32 noundef %93) #4 %95 = call ptr @SUNION2PF(ptr noundef nonnull %6, i32 noundef %3) #4 %96 = call i32 @PF_POOLMASK(ptr noundef %12, ptr noundef %12, ptr noundef %95, ptr noundef nonnull @pfr_ffaddr, i32 noundef %3) #4 %97 = call i32 @PF_AINC(ptr noundef %12, i32 noundef %3) #4 %98 = call i32 @PF_MATCHA(i32 noundef 0, ptr noundef %70, ptr noundef %71, ptr noundef %12, i32 noundef %3) #4 %99 = icmp eq i32 %98, 0 br i1 %99, label %100, label %78 100: ; preds = %92 %101 = add nsw i32 %69, 1 %102 = call ptr @pfr_kentry_byidx(ptr noundef nonnull %26, i32 noundef %101, i32 noundef %3) #4 %103 = icmp eq ptr %102, null br i1 %103, label %58, label %41 104: ; preds = %58, %75, %89 %105 = phi ptr [ %91, %89 ], [ %77, %75 ], [ %59, %58 ] %106 = phi i32 [ 0, %89 ], [ 0, %75 ], [ 1, %58 ] %107 = load i32, ptr %105, align 4, !tbaa !12 %108 = call i32 @counter_u64_add(i32 noundef %107, i32 noundef 1) #4 br label %109 109: ; preds = %104, %17 %110 = phi i32 [ -1, %17 ], [ %106, %104 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i32 %110 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @SUNION2PF(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @pfr_kentry_byidx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @counter_u64_add(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pfr_prepare_network(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PF_MATCHA(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PF_ACPY(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @KENTRY_NETWORK(ptr noundef) local_unnamed_addr #2 declare i64 @rn_match(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PF_POOLMASK(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PF_AINC(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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !10, i64 0} !9 = !{!"pfr_ktable", !10, i64 0, !10, i64 4, !11, i64 8, !11, i64 16, !10, i64 24, !11, i64 32} !10 = !{!"int", !6, i64 0} !11 = !{!"any pointer", !6, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!9, !11, i64 32} !14 = !{!15, !10, i64 0} !15 = !{!"pfr_kentry", !10, i64 0, !6, i64 4} !16 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/pf/extr_pf_table.c_pfr_pool_get.c' source_filename = "AnghaBench/freebsd/sys/netpfil/pf/extr_pf_table.c_pfr_pool_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.sockaddr_union = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32, i32 } @PFR_TFLAG_ACTIVE = common local_unnamed_addr global i32 0, align 4 @pfr_ffaddr = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 2) i32 @pfr_pool_get(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %union.sockaddr_union, align 4 %6 = alloca %union.sockaddr_union, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 %7 = and i32 %3, -2 %8 = icmp eq i32 %7, 128 br i1 %8, label %9, label %11 9: ; preds = %4 store i32 4, ptr %5, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %3, ptr %10, align 4, !tbaa !6 br label %11 11: ; preds = %4, %9 %12 = call ptr @SUNION2PF(ptr noundef nonnull %5, i32 noundef %3) #4 %13 = load i32, ptr %0, align 8, !tbaa !9 %14 = load i32, ptr @PFR_TFLAG_ACTIVE, align 4, !tbaa !13 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %25 17: ; preds = %11 %18 = getelementptr inbounds i8, ptr %0, i64 32 %19 = load ptr, ptr %18, align 8, !tbaa !14 %20 = icmp eq ptr %19, null %21 = select i1 %20, ptr %0, ptr %19 %22 = load i32, ptr %21, align 8, !tbaa !9 %23 = and i32 %22, %14 %24 = icmp eq i32 %23, 0 br i1 %24, label %104, label %25 25: ; preds = %11, %17 %26 = phi ptr [ %21, %17 ], [ %0, %11 ] %27 = icmp eq ptr %1, null br i1 %27, label %30, label %28 28: ; preds = %25 %29 = load i32, ptr %1, align 4, !tbaa !13 br label %30 30: ; preds = %28, %25 %31 = phi i32 [ %29, %28 ], [ -1, %25 ] %32 = call i32 @llvm.smax.i32(i32 %31, i32 0) %33 = call ptr @pfr_kentry_byidx(ptr noundef nonnull %26, i32 noundef %32, i32 noundef %3) #4 %34 = icmp eq ptr %33, null br i1 %34, label %98, label %35 35: ; preds = %30 %36 = icmp eq ptr %2, null %37 = icmp slt i32 %31, 0 %38 = or i1 %36, %37 %39 = getelementptr inbounds i8, ptr %26, i64 8 %40 = getelementptr inbounds i8, ptr %26, i64 16 br label %41 41: ; preds = %35, %92 %42 = phi ptr [ %33, %35 ], [ %94, %92 ] %43 = phi i1 [ %38, %35 ], [ true, %92 ] %44 = phi i32 [ %32, %35 ], [ %93, %92 ] %45 = phi ptr [ null, %35 ], [ %82, %92 ] %46 = load i32, ptr %42, align 4, !tbaa !15 %47 = call i32 @pfr_prepare_network(ptr noundef nonnull %6, i32 noundef %3, i32 noundef %46) #4 %48 = getelementptr inbounds i8, ptr %42, i64 4 %49 = call ptr @SUNION2PF(ptr noundef nonnull %48, i32 noundef %3) #4 %50 = call ptr @SUNION2PF(ptr noundef nonnull %6, i32 noundef %3) #4 br i1 %43, label %64, label %51 51: ; preds = %41 %52 = call i32 @PF_MATCHA(i32 noundef 0, ptr noundef %49, ptr noundef %50, ptr noundef %2, i32 noundef %3) #4 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %64 54: ; preds = %51 %55 = add nuw nsw i32 %44, 1 %56 = call ptr @pfr_kentry_byidx(ptr noundef nonnull %26, i32 noundef %55, i32 noundef %3) #4 %57 = icmp eq ptr %56, null br i1 %57, label %98, label %58 58: ; preds = %54 %59 = load i32, ptr %56, align 4, !tbaa !15 %60 = call i32 @pfr_prepare_network(ptr noundef nonnull %6, i32 noundef %3, i32 noundef %59) #4 %61 = getelementptr inbounds i8, ptr %56, i64 4 %62 = call ptr @SUNION2PF(ptr noundef nonnull %61, i32 noundef %3) #4 %63 = call ptr @SUNION2PF(ptr noundef nonnull %6, i32 noundef %3) #4 br label %64 64: ; preds = %41, %58, %51 %65 = phi ptr [ %2, %51 ], [ %49, %41 ], [ %62, %58 ] %66 = phi ptr [ %42, %51 ], [ %42, %41 ], [ %56, %58 ] %67 = phi i32 [ %44, %51 ], [ %44, %41 ], [ %55, %58 ] %68 = phi ptr [ %49, %51 ], [ %49, %41 ], [ %62, %58 ] %69 = phi ptr [ %50, %51 ], [ %50, %41 ], [ %63, %58 ] %70 = call i32 @PF_ACPY(ptr noundef %12, ptr noundef %65, i32 noundef %3) #4 %71 = call i32 @KENTRY_NETWORK(ptr noundef nonnull %66) #4 %72 = icmp eq i32 %71, 0 br i1 %72, label %96, label %73 73: ; preds = %64, %84 %74 = phi ptr [ %82, %84 ], [ %45, %64 ] switch i32 %3, label %81 [ i32 129, label %76 i32 128, label %75 ] 75: ; preds = %73 br label %76 76: ; preds = %73, %75 %77 = phi ptr [ %39, %75 ], [ %40, %73 ] %78 = load ptr, ptr %77, align 8, !tbaa !17 %79 = call i64 @rn_match(ptr noundef nonnull %5, ptr noundef %78) #4 %80 = inttoptr i64 %79 to ptr br label %81 81: ; preds = %76, %73 %82 = phi ptr [ %74, %73 ], [ %80, %76 ] %83 = icmp eq ptr %82, %66 br i1 %83, label %96, label %84 84: ; preds = %81 %85 = load i32, ptr %82, align 4, !tbaa !15 %86 = call i32 @pfr_prepare_network(ptr noundef nonnull %6, i32 noundef 129, i32 noundef %85) #4 %87 = call ptr @SUNION2PF(ptr noundef nonnull %6, i32 noundef %3) #4 %88 = call i32 @PF_POOLMASK(ptr noundef %12, ptr noundef %12, ptr noundef %87, ptr noundef nonnull @pfr_ffaddr, i32 noundef %3) #4 %89 = call i32 @PF_AINC(ptr noundef %12, i32 noundef %3) #4 %90 = call i32 @PF_MATCHA(i32 noundef 0, ptr noundef %68, ptr noundef %69, ptr noundef %12, i32 noundef %3) #4 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %73 92: ; preds = %84 %93 = add nuw nsw i32 %67, 1 %94 = call ptr @pfr_kentry_byidx(ptr noundef nonnull %26, i32 noundef %93, i32 noundef %3) #4 %95 = icmp eq ptr %94, null br i1 %95, label %98, label %41 96: ; preds = %64, %81 %97 = call i32 @PF_ACPY(ptr noundef %2, ptr noundef %12, i32 noundef %3) #4 store i32 %67, ptr %1, align 4, !tbaa !13 br label %98 98: ; preds = %54, %92, %96, %30 %99 = phi i64 [ 24, %30 ], [ 4, %96 ], [ 24, %92 ], [ 24, %54 ] %100 = phi i32 [ 1, %30 ], [ 0, %96 ], [ 1, %92 ], [ 1, %54 ] %101 = getelementptr inbounds i8, ptr %26, i64 %99 %102 = load i32, ptr %101, align 4, !tbaa !13 %103 = call i32 @counter_u64_add(i32 noundef %102, i32 noundef 1) #4 br label %104 104: ; preds = %98, %17 %105 = phi i32 [ -1, %17 ], [ %100, %98 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 ret i32 %105 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @SUNION2PF(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @pfr_kentry_byidx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @counter_u64_add(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pfr_prepare_network(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PF_MATCHA(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PF_ACPY(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @KENTRY_NETWORK(ptr noundef) local_unnamed_addr #2 declare i64 @rn_match(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PF_POOLMASK(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PF_AINC(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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"pfr_ktable", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 16, !11, i64 24, !12, i64 32} !11 = !{!"int", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!10, !12, i64 32} !15 = !{!16, !11, i64 0} !16 = !{!"pfr_kentry", !11, i64 0, !7, i64 4} !17 = !{!12, !12, i64 0}
freebsd_sys_netpfil_pf_extr_pf_table.c_pfr_pool_get
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_es1968.c_snd_es1968_bob_stop.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_es1968.c_snd_es1968_bob_stop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ESM_BOB_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @ESM_BOB_START = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_es1968_bob_stop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_es1968_bob_stop(ptr noundef %0) #0 { %2 = tail call i32 @__maestro_read(ptr noundef %0, i32 noundef 17) #2 %3 = load i32, ptr @ESM_BOB_ENABLE, align 4, !tbaa !5 %4 = xor i32 %3, -1 %5 = and i32 %2, %4 %6 = tail call i32 @__maestro_write(ptr noundef %0, i32 noundef 17, i32 noundef %5) #2 %7 = tail call i32 @__maestro_read(ptr noundef %0, i32 noundef 23) #2 %8 = load i32, ptr @ESM_BOB_START, align 4, !tbaa !5 %9 = xor i32 %8, -1 %10 = and i32 %7, %9 %11 = tail call i32 @__maestro_write(ptr noundef %0, i32 noundef 23, i32 noundef %10) #2 ret void } declare i32 @__maestro_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__maestro_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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_es1968.c_snd_es1968_bob_stop.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_es1968.c_snd_es1968_bob_stop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ESM_BOB_ENABLE = common local_unnamed_addr global i32 0, align 4 @ESM_BOB_START = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_es1968_bob_stop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_es1968_bob_stop(ptr noundef %0) #0 { %2 = tail call i32 @__maestro_read(ptr noundef %0, i32 noundef 17) #2 %3 = load i32, ptr @ESM_BOB_ENABLE, align 4, !tbaa !6 %4 = xor i32 %3, -1 %5 = and i32 %2, %4 %6 = tail call i32 @__maestro_write(ptr noundef %0, i32 noundef 17, i32 noundef %5) #2 %7 = tail call i32 @__maestro_read(ptr noundef %0, i32 noundef 23) #2 %8 = load i32, ptr @ESM_BOB_START, align 4, !tbaa !6 %9 = xor i32 %8, -1 %10 = and i32 %7, %9 %11 = tail call i32 @__maestro_write(ptr noundef %0, i32 noundef 23, i32 noundef %10) #2 ret void } declare i32 @__maestro_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__maestro_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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_sound_pci_extr_es1968.c_snd_es1968_bob_stop
; ModuleID = 'AnghaBench/vlc/modules/video_filter/extr_edgedetection.c_Filter.c' source_filename = "AnghaBench/vlc/modules/video_filter/extr_edgedetection.c_Filter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { ptr, i32 } %struct.TYPE_12__ = type { i32, i32, ptr } @.str = private unnamed_addr constant [40 x i8] c"Could not allocate memory for new frame\00", align 1 @Y_PLANE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @Filter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @Filter(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = tail call ptr @filter_chain_VideoFilter(ptr noundef %4, ptr noundef %1) #2 %6 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %7 = tail call ptr @picture_NewFromFormat(ptr noundef nonnull %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = tail call i32 @picture_Release(ptr noundef %5) #2 %11 = tail call i32 @msg_Err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %54 12: ; preds = %2 %13 = load ptr, ptr %5, align 8, !tbaa !10 %14 = load i64, ptr @Y_PLANE, align 8, !tbaa !14 %15 = getelementptr inbounds %struct.TYPE_12__, ptr %13, i64 %14 %16 = load i32, ptr %15, align 8, !tbaa !15 %17 = getelementptr inbounds %struct.TYPE_12__, ptr %13, i64 %14, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = icmp sgt i32 %16, 0 br i1 %19, label %20, label %32 20: ; preds = %12 %21 = icmp sgt i32 %18, 0 %22 = zext nneg i32 %16 to i64 %23 = zext nneg i32 %18 to i64 br label %24 24: ; preds = %20, %34 %25 = phi i64 [ %14, %20 ], [ %35, %34 ] %26 = phi i64 [ 0, %20 ], [ %36, %34 ] br i1 %21, label %27, label %34 27: ; preds = %24 %28 = trunc i64 %26 to i32 %29 = mul i32 %18, %28 %30 = zext i32 %29 to i64 %31 = trunc i64 %26 to i32 br label %38 32: ; preds = %34, %12 %33 = tail call i32 @picture_Release(ptr noundef nonnull %5) #2 br label %54 34: ; preds = %38, %24 %35 = phi i64 [ %25, %24 ], [ %47, %38 ] %36 = add nuw nsw i64 %26, 1 %37 = icmp eq i64 %36, %22 br i1 %37, label %32, label %24, !llvm.loop !18 38: ; preds = %27, %38 %39 = phi i64 [ %25, %27 ], [ %47, %38 ] %40 = phi i64 [ 0, %27 ], [ %52, %38 ] %41 = load ptr, ptr %5, align 8, !tbaa !10 %42 = getelementptr inbounds %struct.TYPE_12__, ptr %41, i64 %39, i32 2 %43 = load ptr, ptr %42, align 8, !tbaa !20 %44 = trunc i64 %40 to i32 %45 = tail call i32 @sobel(ptr noundef %43, i32 noundef %18, i32 noundef %16, i32 noundef %44, i32 noundef %31) #2 %46 = load ptr, ptr %7, align 8, !tbaa !10 %47 = load i64, ptr @Y_PLANE, align 8, !tbaa !14 %48 = getelementptr inbounds %struct.TYPE_12__, ptr %46, i64 %47, i32 2 %49 = load ptr, ptr %48, align 8, !tbaa !20 %50 = getelementptr i32, ptr %49, i64 %40 %51 = getelementptr i32, ptr %50, i64 %30 store i32 %45, ptr %51, align 4, !tbaa !21 %52 = add nuw nsw i64 %40, 1 %53 = icmp eq i64 %52, %23 br i1 %53, label %34, label %38, !llvm.loop !22 54: ; preds = %32, %9 ret ptr %7 } declare ptr @filter_chain_VideoFilter(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @picture_NewFromFormat(ptr noundef) local_unnamed_addr #1 declare i32 @picture_Release(ptr noundef) local_unnamed_addr #1 declare i32 @msg_Err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sobel(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 = !{!"TYPE_14__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_13__", !12, i64 0, !13, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_12__", !13, i64 0, !13, i64 4, !12, i64 8} !17 = !{!16, !13, i64 4} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!16, !12, i64 8} !21 = !{!13, !13, i64 0} !22 = distinct !{!22, !19}
; ModuleID = 'AnghaBench/vlc/modules/video_filter/extr_edgedetection.c_Filter.c' source_filename = "AnghaBench/vlc/modules/video_filter/extr_edgedetection.c_Filter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_12__ = type { i32, i32, ptr } @.str = private unnamed_addr constant [40 x i8] c"Could not allocate memory for new frame\00", align 1 @Y_PLANE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @Filter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @Filter(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = tail call ptr @filter_chain_VideoFilter(ptr noundef %4, ptr noundef %1) #2 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = tail call ptr @picture_NewFromFormat(ptr noundef nonnull %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = tail call i32 @picture_Release(ptr noundef %5) #2 %11 = tail call i32 @msg_Err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %52 12: ; preds = %2 %13 = load ptr, ptr %5, align 8, !tbaa !11 %14 = load i64, ptr @Y_PLANE, align 8, !tbaa !15 %15 = getelementptr inbounds %struct.TYPE_12__, ptr %13, i64 %14 %16 = load i32, ptr %15, align 8, !tbaa !16 %17 = getelementptr inbounds i8, ptr %15, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !18 %19 = icmp sgt i32 %16, 0 br i1 %19, label %20, label %30 20: ; preds = %12 %21 = icmp sgt i32 %18, 0 %22 = zext i32 %18 to i64 %23 = zext nneg i32 %16 to i64 br label %24 24: ; preds = %20, %32 %25 = phi i64 [ %14, %20 ], [ %33, %32 ] %26 = phi i64 [ 0, %20 ], [ %34, %32 ] br i1 %21, label %27, label %32 27: ; preds = %24 %28 = mul nuw nsw i64 %26, %22 %29 = trunc nuw nsw i64 %26 to i32 br label %36 30: ; preds = %32, %12 %31 = tail call i32 @picture_Release(ptr noundef nonnull %5) #2 br label %52 32: ; preds = %36, %24 %33 = phi i64 [ %25, %24 ], [ %45, %36 ] %34 = add nuw nsw i64 %26, 1 %35 = icmp eq i64 %34, %23 br i1 %35, label %30, label %24, !llvm.loop !19 36: ; preds = %27, %36 %37 = phi i64 [ %25, %27 ], [ %45, %36 ] %38 = phi i64 [ 0, %27 ], [ %50, %36 ] %39 = load ptr, ptr %5, align 8, !tbaa !11 %40 = getelementptr inbounds %struct.TYPE_12__, ptr %39, i64 %37, i32 2 %41 = load ptr, ptr %40, align 8, !tbaa !21 %42 = trunc nuw nsw i64 %38 to i32 %43 = tail call i32 @sobel(ptr noundef %41, i32 noundef %18, i32 noundef %16, i32 noundef %42, i32 noundef %29) #2 %44 = load ptr, ptr %7, align 8, !tbaa !11 %45 = load i64, ptr @Y_PLANE, align 8, !tbaa !15 %46 = getelementptr inbounds %struct.TYPE_12__, ptr %44, i64 %45, i32 2 %47 = load ptr, ptr %46, align 8, !tbaa !21 %48 = getelementptr inbounds i32, ptr %47, i64 %38 %49 = getelementptr inbounds i32, ptr %48, i64 %28 store i32 %43, ptr %49, align 4, !tbaa !22 %50 = add nuw nsw i64 %38, 1 %51 = icmp eq i64 %50, %22 br i1 %51, label %32, label %36, !llvm.loop !23 52: ; preds = %30, %9 ret ptr %7 } declare ptr @filter_chain_VideoFilter(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @picture_NewFromFormat(ptr noundef) local_unnamed_addr #1 declare i32 @picture_Release(ptr noundef) local_unnamed_addr #1 declare i32 @msg_Err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sobel(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 = !{!"TYPE_14__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_13__", !13, i64 0, !14, i64 8} !13 = !{!"any pointer", !9, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"TYPE_12__", !14, i64 0, !14, i64 4, !13, i64 8} !18 = !{!17, !14, i64 4} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!17, !13, i64 8} !22 = !{!14, !14, i64 0} !23 = distinct !{!23, !20}
vlc_modules_video_filter_extr_edgedetection.c_Filter
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_kthread.c_kproc_resume.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_kthread.c_kproc_resume.c" target datalayout = "e-m:e-p270:32:32-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.proc = type { i32, i32 } @P_KPROC = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @SIGSTOP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @kproc_resume(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @PROC_LOCK(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @P_KPROC, align 4, !tbaa !10 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %0) #2 %9 = load i32, ptr @EINVAL, align 4, !tbaa !10 br label %17 10: ; preds = %1 %11 = getelementptr inbounds %struct.proc, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = load i32, ptr @SIGSTOP, align 4, !tbaa !10 %14 = tail call i32 @SIGDELSET(i32 noundef %12, i32 noundef %13) #2 %15 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %0) #2 %16 = tail call i32 @wakeup(ptr noundef nonnull %11) #2 br label %17 17: ; preds = %10, %7 %18 = phi i32 [ %9, %7 ], [ 0, %10 ] ret i32 %18 } declare i32 @PROC_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @SIGDELSET(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wakeup(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 = !{!"proc", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_kthread.c_kproc_resume.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_kthread.c_kproc_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @P_KPROC = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @SIGSTOP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @kproc_resume(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @PROC_LOCK(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @P_KPROC, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %0) #2 %9 = load i32, ptr @EINVAL, align 4, !tbaa !11 br label %17 10: ; preds = %1 %11 = getelementptr inbounds i8, ptr %0, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = load i32, ptr @SIGSTOP, align 4, !tbaa !11 %14 = tail call i32 @SIGDELSET(i32 noundef %12, i32 noundef %13) #2 %15 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %0) #2 %16 = tail call i32 @wakeup(ptr noundef nonnull %11) #2 br label %17 17: ; preds = %10, %7 %18 = phi i32 [ %9, %7 ], [ 0, %10 ] ret i32 %18 } declare i32 @PROC_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @SIGDELSET(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wakeup(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 = !{!"proc", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
freebsd_sys_kern_extr_kern_kthread.c_kproc_resume
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_cmtime.c_diff_us.c' source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_cmtime.c_diff_us.c" target datalayout = "e-m:e-p270:32:32-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, float } @llvm.compiler.used = appending global [1 x ptr] [ptr @diff_us], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal float @diff_us(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = sub nsw i32 %3, %4 %6 = sitofp i32 %5 to double %7 = getelementptr inbounds %struct.timeval, ptr %0, i64 0, i32 1 %8 = load float, ptr %7, align 4, !tbaa !11 %9 = getelementptr inbounds %struct.timeval, ptr %1, i64 0, i32 1 %10 = load float, ptr %9, align 4, !tbaa !11 %11 = fsub float %8, %10 %12 = fpext float %11 to double %13 = tail call double @llvm.fmuladd.f64(double %6, double 1.000000e+06, double %12) %14 = fptrunc double %13 to float ret float %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"timeval", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"float", !8, i64 0} !11 = !{!6, !10, i64 4}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_cmtime.c_diff_us.c' source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_cmtime.c_diff_us.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 @diff_us], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal float @diff_us(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = sub nsw i32 %3, %4 %6 = sitofp i32 %5 to double %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load float, ptr %7, align 4, !tbaa !12 %9 = getelementptr inbounds i8, ptr %1, i64 4 %10 = load float, ptr %9, align 4, !tbaa !12 %11 = fsub float %8, %10 %12 = fpext float %11 to double %13 = tail call double @llvm.fmuladd.f64(double %6, double 1.000000e+06, double %12) %14 = fptrunc double %13 to float ret float %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"timeval", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"float", !9, i64 0} !12 = !{!7, !11, i64 4}
freebsd_contrib_ofed_librdmacm_examples_extr_cmtime.c_diff_us
; ModuleID = 'AnghaBench/freebsd/sys/sparc64/sparc64/extr_machdep.c_cpu_shutdown.c' source_filename = "AnghaBench/freebsd/sys/sparc64/sparc64/extr_machdep.c_cpu_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" ; Function Attrs: nounwind uwtable define dso_local void @cpu_shutdown(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @ofw_exit(ptr noundef %0) #2 ret void } declare i32 @ofw_exit(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/sparc64/sparc64/extr_machdep.c_cpu_shutdown.c' source_filename = "AnghaBench/freebsd/sys/sparc64/sparc64/extr_machdep.c_cpu_shutdown.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 @cpu_shutdown(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @ofw_exit(ptr noundef %0) #2 ret void } declare i32 @ofw_exit(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_sparc64_sparc64_extr_machdep.c_cpu_shutdown
; ModuleID = 'AnghaBench/lab/engine/code/botlib/extr_be_aas_cluster.c_AAS_ConnectedAreas_r.c' source_filename = "AnghaBench/lab/engine/code/botlib/extr_be_aas_cluster.c_AAS_ConnectedAreas_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_6__ = type { %struct.TYPE_4__*, i32*, %struct.TYPE_5__* } %struct.TYPE_4__ = type { i32, i32, i32 } %struct.TYPE_5__ = type { i32, i32 } @qtrue = dso_local local_unnamed_addr global i32 0, align 4 @aasworld = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @FACE_SOLID = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nofree nosync nounwind uwtable define dso_local void @AAS_ConnectedAreas_r(i32* nocapture noundef readonly %0, i32 noundef %1, i32* nocapture noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, i32* @qtrue, align 4, !tbaa !5 %6 = sext i32 %3 to i64 %7 = getelementptr inbounds i32, i32* %2, i64 %6 store i32 %5, i32* %7, align 4, !tbaa !5 %8 = load %struct.TYPE_5__*, %struct.TYPE_5__** getelementptr inbounds (%struct.TYPE_6__, %struct.TYPE_6__* @aasworld, i64 0, i32 2), align 8, !tbaa !9 %9 = getelementptr inbounds i32, i32* %0, i64 %6 %10 = load i32, i32* %9, align 4, !tbaa !5 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %8, i64 %11, i32 0 %13 = load i32, i32* %12, align 4, !tbaa !12 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %79 15: ; preds = %4 %16 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %8, i64 %11, i32 1 %17 = icmp sgt i32 %1, 0 %18 = load i32*, i32** getelementptr inbounds (%struct.TYPE_6__, %struct.TYPE_6__* @aasworld, i64 0, i32 1), align 8, !tbaa !14 %19 = load %struct.TYPE_4__*, %struct.TYPE_4__** getelementptr inbounds (%struct.TYPE_6__, %struct.TYPE_6__* @aasworld, i64 0, i32 0), align 8, !tbaa !15 %20 = load i32, i32* @FACE_SOLID, align 4, !tbaa !5 %21 = zext i32 %1 to i64 br label %22 22: ; preds = %15, %72 %23 = phi i32 [ %13, %15 ], [ %73, %72 ] %24 = phi i32 [ %20, %15 ], [ %74, %72 ] %25 = phi %struct.TYPE_4__* [ %19, %15 ], [ %75, %72 ] %26 = phi i32* [ %18, %15 ], [ %76, %72 ] %27 = phi i32 [ 0, %15 ], [ %77, %72 ] %28 = load i32, i32* %16, align 4, !tbaa !16 %29 = add nsw i32 %28, %27 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, i32* %26, i64 %30 %32 = load i32, i32* %31, align 4, !tbaa !5 %33 = tail call i32 @llvm.abs.i32(i32 %32, i1 true) %34 = zext i32 %33 to i64 %35 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %25, i64 %34, i32 0 %36 = load i32, i32* %35, align 4, !tbaa !17 %37 = and i32 %24, %36 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %72 39: ; preds = %22 %40 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %25, i64 %34, i32 1 %41 = load i32, i32* %40, align 4, !tbaa !19 %42 = load i32, i32* %9, align 4, !tbaa !5 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %25, i64 %34, i32 2 %46 = load i32, i32* %45, align 4, !tbaa !20 br label %47 47: ; preds = %39, %44 %48 = phi i32 [ %46, %44 ], [ %41, %39 ] br i1 %17, label %49, label %59 49: ; preds = %47, %54 %50 = phi i64 [ %55, %54 ], [ 0, %47 ] %51 = getelementptr inbounds i32, i32* %0, i64 %50 %52 = load i32, i32* %51, align 4, !tbaa !5 %53 = icmp eq i32 %52, %48 br i1 %53, label %57, label %54 54: ; preds = %49 %55 = add nuw nsw i64 %50, 1 %56 = icmp eq i64 %55, %21 br i1 %56, label %72, label %49, !llvm.loop !21 57: ; preds = %49 %58 = trunc i64 %50 to i32 br label %59 59: ; preds = %57, %47 %60 = phi i32 [ 0, %47 ], [ %58, %57 ] %61 = icmp eq i32 %60, %1 br i1 %61, label %72, label %62 62: ; preds = %59 %63 = zext i32 %60 to i64 %64 = getelementptr inbounds i32, i32* %2, i64 %63 %65 = load i32, i32* %64, align 4, !tbaa !5 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %72 67: ; preds = %62 tail call void @AAS_ConnectedAreas_r(i32* noundef nonnull %0, i32 noundef %1, i32* noundef nonnull %2, i32 noundef %60) %68 = load i32*, i32** getelementptr inbounds (%struct.TYPE_6__, %struct.TYPE_6__* @aasworld, i64 0, i32 1), align 8, !tbaa !14 %69 = load %struct.TYPE_4__*, %struct.TYPE_4__** getelementptr inbounds (%struct.TYPE_6__, %struct.TYPE_6__* @aasworld, i64 0, i32 0), align 8, !tbaa !15 %70 = load i32, i32* @FACE_SOLID, align 4, !tbaa !5 %71 = load i32, i32* %12, align 4, !tbaa !12 br label %72 72: ; preds = %54, %62, %59, %22, %67 %73 = phi i32 [ %23, %62 ], [ %23, %59 ], [ %23, %22 ], [ %71, %67 ], [ %23, %54 ] %74 = phi i32 [ %24, %62 ], [ %24, %59 ], [ %24, %22 ], [ %70, %67 ], [ %24, %54 ] %75 = phi %struct.TYPE_4__* [ %25, %62 ], [ %25, %59 ], [ %25, %22 ], [ %69, %67 ], [ %25, %54 ] %76 = phi i32* [ %26, %62 ], [ %26, %59 ], [ %26, %22 ], [ %68, %67 ], [ %26, %54 ] %77 = add nuw nsw i32 %27, 1 %78 = icmp slt i32 %77, %73 br i1 %78, label %22, label %79, !llvm.loop !23 79: ; preds = %72, %4 ret void } ; Function Attrs: nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.abs.i32(i32, i1 immarg) #1 attributes #0 = { nofree nosync 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 = { nofree nosync nounwind readnone speculatable willreturn } !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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 16} !10 = !{!"TYPE_6__", !11, i64 0, !11, i64 8, !11, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"TYPE_5__", !6, i64 0, !6, i64 4} !14 = !{!10, !11, i64 8} !15 = !{!10, !11, i64 0} !16 = !{!13, !6, i64 4} !17 = !{!18, !6, i64 0} !18 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !6, i64 8} !19 = !{!18, !6, i64 4} !20 = !{!18, !6, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = distinct !{!23, !22}
; ModuleID = 'AnghaBench/lab/engine/code/botlib/extr_be_aas_cluster.c_AAS_ConnectedAreas_r.c' source_filename = "AnghaBench/lab/engine/code/botlib/extr_be_aas_cluster.c_AAS_ConnectedAreas_r.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 { ptr, ptr, ptr } %struct.TYPE_5__ = type { i32, i32 } %struct.TYPE_4__ = type { i32, i32, i32 } @qtrue = common local_unnamed_addr global i32 0, align 4 @aasworld = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @FACE_SOLID = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nofree nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @AAS_ConnectedAreas_r(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @qtrue, align 4, !tbaa !6 %6 = sext i32 %3 to i64 %7 = getelementptr inbounds i32, ptr %2, i64 %6 store i32 %5, ptr %7, align 4, !tbaa !6 %8 = load ptr, ptr getelementptr inbounds (i8, ptr @aasworld, i64 16), align 8, !tbaa !10 %9 = getelementptr inbounds i32, ptr %0, i64 %6 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %79 15: ; preds = %4 %16 = getelementptr inbounds i8, ptr %12, i64 4 %17 = icmp sgt i32 %1, 0 %18 = load ptr, ptr getelementptr inbounds (i8, ptr @aasworld, i64 8), align 8, !tbaa !15 %19 = load ptr, ptr @aasworld, align 8, !tbaa !16 %20 = load i32, ptr @FACE_SOLID, align 4, !tbaa !6 %21 = zext nneg i32 %1 to i64 br label %22 22: ; preds = %15, %72 %23 = phi i32 [ %13, %15 ], [ %73, %72 ] %24 = phi i32 [ %20, %15 ], [ %74, %72 ] %25 = phi ptr [ %19, %15 ], [ %75, %72 ] %26 = phi ptr [ %18, %15 ], [ %76, %72 ] %27 = phi i32 [ 0, %15 ], [ %77, %72 ] %28 = load i32, ptr %16, align 4, !tbaa !17 %29 = add nsw i32 %28, %27 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %26, i64 %30 %32 = load i32, ptr %31, align 4, !tbaa !6 %33 = tail call i32 @llvm.abs.i32(i32 %32, i1 true) %34 = zext nneg i32 %33 to i64 %35 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i64 %34 %36 = load i32, ptr %35, align 4, !tbaa !18 %37 = and i32 %24, %36 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %72 39: ; preds = %22 %40 = getelementptr inbounds i8, ptr %35, i64 4 %41 = load i32, ptr %40, align 4, !tbaa !20 %42 = load i32, ptr %9, align 4, !tbaa !6 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = getelementptr inbounds i8, ptr %35, i64 8 %46 = load i32, ptr %45, align 4, !tbaa !21 br label %47 47: ; preds = %39, %44 %48 = phi i32 [ %46, %44 ], [ %41, %39 ] br i1 %17, label %49, label %59 49: ; preds = %47, %54 %50 = phi i64 [ %55, %54 ], [ 0, %47 ] %51 = getelementptr inbounds i32, ptr %0, i64 %50 %52 = load i32, ptr %51, align 4, !tbaa !6 %53 = icmp eq i32 %52, %48 br i1 %53, label %57, label %54 54: ; preds = %49 %55 = add nuw nsw i64 %50, 1 %56 = icmp eq i64 %55, %21 br i1 %56, label %72, label %49, !llvm.loop !22 57: ; preds = %49 %58 = trunc nuw nsw i64 %50 to i32 br label %59 59: ; preds = %57, %47 %60 = phi i32 [ 0, %47 ], [ %58, %57 ] %61 = icmp eq i32 %60, %1 br i1 %61, label %72, label %62 62: ; preds = %59 %63 = zext nneg i32 %60 to i64 %64 = getelementptr inbounds i32, ptr %2, i64 %63 %65 = load i32, ptr %64, align 4, !tbaa !6 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %72 67: ; preds = %62 tail call void @AAS_ConnectedAreas_r(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %2, i32 noundef %60) %68 = load ptr, ptr getelementptr inbounds (i8, ptr @aasworld, i64 8), align 8, !tbaa !15 %69 = load ptr, ptr @aasworld, align 8, !tbaa !16 %70 = load i32, ptr @FACE_SOLID, align 4, !tbaa !6 %71 = load i32, ptr %12, align 4, !tbaa !13 br label %72 72: ; preds = %54, %62, %59, %22, %67 %73 = phi i32 [ %23, %62 ], [ %23, %59 ], [ %23, %22 ], [ %71, %67 ], [ %23, %54 ] %74 = phi i32 [ %24, %62 ], [ %24, %59 ], [ %24, %22 ], [ %70, %67 ], [ %24, %54 ] %75 = phi ptr [ %25, %62 ], [ %25, %59 ], [ %25, %22 ], [ %69, %67 ], [ %25, %54 ] %76 = phi ptr [ %26, %62 ], [ %26, %59 ], [ %26, %22 ], [ %68, %67 ], [ %26, %54 ] %77 = add nuw nsw i32 %27, 1 %78 = icmp slt i32 %77, %73 br i1 %78, label %22, label %79, !llvm.loop !24 79: ; preds = %72, %4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.abs.i32(i32, i1 immarg) #1 attributes #0 = { nofree nosync nounwind ssp 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" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"TYPE_6__", !12, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_5__", !7, i64 0, !7, i64 4} !15 = !{!11, !12, i64 8} !16 = !{!11, !12, i64 0} !17 = !{!14, !7, i64 4} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8} !20 = !{!19, !7, i64 4} !21 = !{!19, !7, i64 8} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = distinct !{!24, !23}
lab_engine_code_botlib_extr_be_aas_cluster.c_AAS_ConnectedAreas_r
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fuse/extr_cuse.c_cuse_conntbl_head.c' source_filename = "AnghaBench/fastsocket/kernel/fs/fuse/extr_cuse.c_cuse_conntbl_head.c" target datalayout = "e-m:e-p270:32:32-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.list_head = type { i32 } @cuse_conntbl = dso_local local_unnamed_addr global ptr null, align 8 @CUSE_CONNTBL_LEN = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @cuse_conntbl_head], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @cuse_conntbl_head(i32 noundef %0) #0 { %2 = load ptr, ptr @cuse_conntbl, align 8, !tbaa !5 %3 = tail call i64 @MAJOR(i32 noundef %0) #2 %4 = tail call i64 @MINOR(i32 noundef %0) #2 %5 = add i64 %4, %3 %6 = load i64, ptr @CUSE_CONNTBL_LEN, align 8, !tbaa !9 %7 = urem i64 %5, %6 %8 = getelementptr inbounds %struct.list_head, ptr %2, i64 %7 ret ptr %8 } declare i64 @MAJOR(i32 noundef) local_unnamed_addr #1 declare i64 @MINOR(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 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fuse/extr_cuse.c_cuse_conntbl_head.c' source_filename = "AnghaBench/fastsocket/kernel/fs/fuse/extr_cuse.c_cuse_conntbl_head.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.list_head = type { i32 } @cuse_conntbl = common local_unnamed_addr global ptr null, align 8 @CUSE_CONNTBL_LEN = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @cuse_conntbl_head], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @cuse_conntbl_head(i32 noundef %0) #0 { %2 = load ptr, ptr @cuse_conntbl, align 8, !tbaa !6 %3 = tail call i64 @MAJOR(i32 noundef %0) #2 %4 = tail call i64 @MINOR(i32 noundef %0) #2 %5 = add i64 %4, %3 %6 = load i64, ptr @CUSE_CONNTBL_LEN, align 8, !tbaa !10 %7 = urem i64 %5, %6 %8 = getelementptr inbounds %struct.list_head, ptr %2, i64 %7 ret ptr %8 } declare i64 @MAJOR(i32 noundef) local_unnamed_addr #1 declare i64 @MINOR(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 = !{!"long", !8, i64 0}
fastsocket_kernel_fs_fuse_extr_cuse.c_cuse_conntbl_head
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_map_hl.c_HL_CreateBrushes_r.c' source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_map_hl.c_HL_CreateBrushes_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { i32 } %struct.TYPE_13__ = type { ptr, i32 } %struct.TYPE_15__ = type { i32, ptr } %struct.TYPE_14__ = type { i32, i32 } @hl_dleafs = dso_local local_unnamed_addr global ptr null, align 8 @CONTENTS_SOLID = dso_local local_unnamed_addr global i32 0, align 4 @CONTENTS_WATER = dso_local local_unnamed_addr global i32 0, align 4 @CONTENTS_SLIME = dso_local local_unnamed_addr global i32 0, align 4 @CONTENTS_LAVA = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"HL_CreateBrushes_r: unknown contents %d in Half-Life BSP\00", align 1 @hl_dnodes = dso_local local_unnamed_addr global ptr null, align 8 @hl_dplanes = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [54 x i8] c"HL_CreateBrushes_r: WARNING node not splitting brush\0A\00", align 1 @hl_numbrushes = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @HL_CreateBrushes_r(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = icmp slt i32 %1, 0 br i1 %5, label %6, label %28 6: ; preds = %2 %7 = load ptr, ptr @hl_dleafs, align 8, !tbaa !5 %8 = xor i32 %1, -1 %9 = zext nneg i32 %8 to i64 %10 = getelementptr inbounds %struct.TYPE_12__, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !9 switch i32 %11, label %26 [ i32 135, label %12 i32 130, label %14 i32 132, label %14 i32 128, label %17 i32 131, label %20 i32 134, label %23 ] 12: ; preds = %6 %13 = tail call i32 @FreeBrush(ptr noundef %0) #3 br label %80 14: ; preds = %6, %6 %15 = load i32, ptr @CONTENTS_SOLID, align 4, !tbaa !12 %16 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 store i32 %15, ptr %16, align 8, !tbaa !13 br label %80 17: ; preds = %6 %18 = load i32, ptr @CONTENTS_WATER, align 4, !tbaa !12 %19 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 store i32 %18, ptr %19, align 8, !tbaa !13 br label %80 20: ; preds = %6 %21 = load i32, ptr @CONTENTS_SLIME, align 4, !tbaa !12 %22 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 store i32 %21, ptr %22, align 8, !tbaa !13 br label %80 23: ; preds = %6 %24 = load i32, ptr @CONTENTS_LAVA, align 4, !tbaa !12 %25 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 store i32 %24, ptr %25, align 8, !tbaa !13 br label %80 26: ; preds = %6 %27 = tail call i32 @Error(ptr noundef nonnull @.str, i32 noundef %11) #3 br label %80 28: ; preds = %2 %29 = load ptr, ptr @hl_dnodes, align 8, !tbaa !5 %30 = zext nneg i32 %1 to i64 %31 = getelementptr inbounds %struct.TYPE_15__, ptr %29, i64 %30 %32 = load i32, ptr %31, align 8, !tbaa !15 %33 = load ptr, ptr @hl_dplanes, align 8, !tbaa !5 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds %struct.TYPE_14__, ptr %33, i64 %34 %36 = getelementptr inbounds %struct.TYPE_14__, ptr %33, i64 %34, i32 1 %37 = load i32, ptr %36, align 4, !tbaa !17 %38 = load i32, ptr %35, align 4, !tbaa !19 %39 = tail call i32 @FindFloatPlane(i32 noundef %37, i32 noundef %38) #3 %40 = call i32 @HL_SplitBrush(ptr noundef %0, i32 noundef %39, i32 noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %41 = call i32 @FreeBrush(ptr noundef %0) #3 %42 = load ptr, ptr %3, align 8, !tbaa !5 %43 = icmp ne ptr %42, null %44 = load ptr, ptr %4, align 8 %45 = icmp ne ptr %44, null %46 = select i1 %43, i1 %45, i1 false br i1 %46, label %51, label %47 47: ; preds = %28 %48 = call i32 @Log_Print(ptr noundef nonnull @.str.1) #3 %49 = load ptr, ptr %3, align 8, !tbaa !5 %50 = icmp eq ptr %49, null br i1 %50, label %58, label %51 51: ; preds = %28, %47 %52 = phi ptr [ %49, %47 ], [ %42, %28 ] %53 = load ptr, ptr @hl_dnodes, align 8, !tbaa !5 %54 = getelementptr inbounds %struct.TYPE_15__, ptr %53, i64 %30, i32 1 %55 = load ptr, ptr %54, align 8, !tbaa !20 %56 = load i32, ptr %55, align 4, !tbaa !12 %57 = call ptr @HL_CreateBrushes_r(ptr noundef nonnull %52, i32 noundef %56) store ptr %57, ptr %3, align 8, !tbaa !5 br label %58 58: ; preds = %51, %47 %59 = phi ptr [ %57, %51 ], [ null, %47 ] %60 = load ptr, ptr %4, align 8, !tbaa !5 %61 = icmp eq ptr %60, null br i1 %61, label %70, label %62 62: ; preds = %58 %63 = load ptr, ptr @hl_dnodes, align 8, !tbaa !5 %64 = getelementptr inbounds %struct.TYPE_15__, ptr %63, i64 %30, i32 1 %65 = load ptr, ptr %64, align 8, !tbaa !20 %66 = getelementptr inbounds i32, ptr %65, i64 1 %67 = load i32, ptr %66, align 4, !tbaa !12 %68 = call ptr @HL_CreateBrushes_r(ptr noundef nonnull %60, i32 noundef %67) store ptr %68, ptr %4, align 8, !tbaa !5 %69 = load ptr, ptr %3, align 8, !tbaa !5 br label %70 70: ; preds = %62, %58 %71 = phi ptr [ %68, %62 ], [ null, %58 ] %72 = phi ptr [ %69, %62 ], [ %59, %58 ] %73 = icmp eq ptr %72, null br i1 %73, label %80, label %74 74: ; preds = %70, %74 %75 = phi ptr [ %76, %74 ], [ %72, %70 ] %76 = load ptr, ptr %75, align 8, !tbaa !21 %77 = icmp eq ptr %76, null br i1 %77, label %78, label %74, !llvm.loop !22 78: ; preds = %74 store ptr %71, ptr %75, align 8, !tbaa !21 %79 = load ptr, ptr %3, align 8, !tbaa !5 br label %80 80: ; preds = %70, %78, %26, %23, %20, %17, %14, %12 %81 = phi ptr [ null, %26 ], [ %0, %23 ], [ %0, %20 ], [ %0, %17 ], [ %0, %14 ], [ null, %12 ], [ %79, %78 ], [ %71, %70 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %81 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @FreeBrush(ptr noundef) local_unnamed_addr #2 declare i32 @Error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FindFloatPlane(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @HL_SplitBrush(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Log_Print(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_12__", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !11, i64 8} !14 = !{!"TYPE_13__", !6, i64 0, !11, i64 8} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_15__", !11, i64 0, !6, i64 8} !17 = !{!18, !11, i64 4} !18 = !{!"TYPE_14__", !11, i64 0, !11, i64 4} !19 = !{!18, !11, i64 0} !20 = !{!16, !6, i64 8} !21 = !{!14, !6, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_map_hl.c_HL_CreateBrushes_r.c' source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_map_hl.c_HL_CreateBrushes_r.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_12__ = type { i32 } %struct.TYPE_15__ = type { i32, ptr } %struct.TYPE_14__ = type { i32, i32 } @hl_dleafs = common local_unnamed_addr global ptr null, align 8 @CONTENTS_SOLID = common local_unnamed_addr global i32 0, align 4 @CONTENTS_WATER = common local_unnamed_addr global i32 0, align 4 @CONTENTS_SLIME = common local_unnamed_addr global i32 0, align 4 @CONTENTS_LAVA = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"HL_CreateBrushes_r: unknown contents %d in Half-Life BSP\00", align 1 @hl_dnodes = common local_unnamed_addr global ptr null, align 8 @hl_dplanes = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [54 x i8] c"HL_CreateBrushes_r: WARNING node not splitting brush\0A\00", align 1 @hl_numbrushes = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @HL_CreateBrushes_r(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = icmp slt i32 %1, 0 br i1 %5, label %6, label %28 6: ; preds = %2 %7 = load ptr, ptr @hl_dleafs, align 8, !tbaa !6 %8 = xor i32 %1, -1 %9 = zext nneg i32 %8 to i64 %10 = getelementptr inbounds %struct.TYPE_12__, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !10 switch i32 %11, label %26 [ i32 135, label %12 i32 130, label %14 i32 132, label %14 i32 128, label %17 i32 131, label %20 i32 134, label %23 ] 12: ; preds = %6 %13 = tail call i32 @FreeBrush(ptr noundef %0) #3 br label %80 14: ; preds = %6, %6 %15 = load i32, ptr @CONTENTS_SOLID, align 4, !tbaa !13 %16 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %15, ptr %16, align 8, !tbaa !14 br label %80 17: ; preds = %6 %18 = load i32, ptr @CONTENTS_WATER, align 4, !tbaa !13 %19 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %18, ptr %19, align 8, !tbaa !14 br label %80 20: ; preds = %6 %21 = load i32, ptr @CONTENTS_SLIME, align 4, !tbaa !13 %22 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %21, ptr %22, align 8, !tbaa !14 br label %80 23: ; preds = %6 %24 = load i32, ptr @CONTENTS_LAVA, align 4, !tbaa !13 %25 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %24, ptr %25, align 8, !tbaa !14 br label %80 26: ; preds = %6 %27 = tail call i32 @Error(ptr noundef nonnull @.str, i32 noundef %11) #3 br label %80 28: ; preds = %2 %29 = load ptr, ptr @hl_dnodes, align 8, !tbaa !6 %30 = zext nneg i32 %1 to i64 %31 = getelementptr inbounds %struct.TYPE_15__, ptr %29, i64 %30 %32 = load i32, ptr %31, align 8, !tbaa !16 %33 = load ptr, ptr @hl_dplanes, align 8, !tbaa !6 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds %struct.TYPE_14__, ptr %33, i64 %34 %36 = getelementptr inbounds i8, ptr %35, i64 4 %37 = load i32, ptr %36, align 4, !tbaa !18 %38 = load i32, ptr %35, align 4, !tbaa !20 %39 = tail call i32 @FindFloatPlane(i32 noundef %37, i32 noundef %38) #3 %40 = call i32 @HL_SplitBrush(ptr noundef %0, i32 noundef %39, i32 noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %41 = call i32 @FreeBrush(ptr noundef %0) #3 %42 = load ptr, ptr %3, align 8, !tbaa !6 %43 = icmp ne ptr %42, null %44 = load ptr, ptr %4, align 8 %45 = icmp ne ptr %44, null %46 = select i1 %43, i1 %45, i1 false br i1 %46, label %51, label %47 47: ; preds = %28 %48 = call i32 @Log_Print(ptr noundef nonnull @.str.1) #3 %49 = load ptr, ptr %3, align 8, !tbaa !6 %50 = icmp eq ptr %49, null br i1 %50, label %58, label %51 51: ; preds = %28, %47 %52 = phi ptr [ %49, %47 ], [ %42, %28 ] %53 = load ptr, ptr @hl_dnodes, align 8, !tbaa !6 %54 = getelementptr inbounds %struct.TYPE_15__, ptr %53, i64 %30, i32 1 %55 = load ptr, ptr %54, align 8, !tbaa !21 %56 = load i32, ptr %55, align 4, !tbaa !13 %57 = call ptr @HL_CreateBrushes_r(ptr noundef nonnull %52, i32 noundef %56) store ptr %57, ptr %3, align 8, !tbaa !6 br label %58 58: ; preds = %51, %47 %59 = phi ptr [ %57, %51 ], [ null, %47 ] %60 = load ptr, ptr %4, align 8, !tbaa !6 %61 = icmp eq ptr %60, null br i1 %61, label %70, label %62 62: ; preds = %58 %63 = load ptr, ptr @hl_dnodes, align 8, !tbaa !6 %64 = getelementptr inbounds %struct.TYPE_15__, ptr %63, i64 %30, i32 1 %65 = load ptr, ptr %64, align 8, !tbaa !21 %66 = getelementptr inbounds i8, ptr %65, i64 4 %67 = load i32, ptr %66, align 4, !tbaa !13 %68 = call ptr @HL_CreateBrushes_r(ptr noundef nonnull %60, i32 noundef %67) store ptr %68, ptr %4, align 8, !tbaa !6 %69 = load ptr, ptr %3, align 8, !tbaa !6 br label %70 70: ; preds = %62, %58 %71 = phi ptr [ %68, %62 ], [ null, %58 ] %72 = phi ptr [ %69, %62 ], [ %59, %58 ] %73 = icmp eq ptr %72, null br i1 %73, label %80, label %74 74: ; preds = %70, %74 %75 = phi ptr [ %76, %74 ], [ %72, %70 ] %76 = load ptr, ptr %75, align 8, !tbaa !22 %77 = icmp eq ptr %76, null br i1 %77, label %78, label %74, !llvm.loop !23 78: ; preds = %74 store ptr %71, ptr %75, align 8, !tbaa !22 %79 = load ptr, ptr %3, align 8, !tbaa !6 br label %80 80: ; preds = %70, %78, %26, %23, %20, %17, %14, %12 %81 = phi ptr [ null, %26 ], [ %0, %23 ], [ %0, %20 ], [ %0, %17 ], [ %0, %14 ], [ null, %12 ], [ %79, %78 ], [ %71, %70 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %81 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @FreeBrush(ptr noundef) local_unnamed_addr #2 declare i32 @Error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FindFloatPlane(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @HL_SplitBrush(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Log_Print(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_12__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !12, i64 8} !15 = !{!"TYPE_13__", !7, i64 0, !12, i64 8} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_15__", !12, i64 0, !7, i64 8} !18 = !{!19, !12, i64 4} !19 = !{!"TYPE_14__", !12, i64 0, !12, i64 4} !20 = !{!19, !12, i64 0} !21 = !{!17, !7, i64 8} !22 = !{!15, !7, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
Quake-III-Arena_code_bspc_extr_map_hl.c_HL_CreateBrushes_r
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_shutdown.c_vpanic.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_shutdown.c_vpanic.c" target datalayout = "e-m:e-p270:32:32-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.thread = type { i32, i32 } @curthread = dso_local local_unnamed_addr global ptr null, align 8 @vpanic.buf = internal global [256 x i8] zeroinitializer, align 16 @RB_AUTOBOOT = dso_local local_unnamed_addr global i32 0, align 4 @panicstr = dso_local local_unnamed_addr global ptr null, align 8 @RB_NOSYNC = dso_local local_unnamed_addr global i32 0, align 4 @RB_DUMP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"panic: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"panic: \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"time = %jd\0A\00", align 1 @time_second = dso_local local_unnamed_addr global i64 0, align 8 @TDF_INPANIC = dso_local local_unnamed_addr global i32 0, align 4 @sync_on_panic = dso_local local_unnamed_addr global i32 0, align 4 @poweroff_on_panic = dso_local local_unnamed_addr global i64 0, align 8 @RB_POWEROFF = dso_local local_unnamed_addr global i32 0, align 4 @powercycle_on_panic = dso_local local_unnamed_addr global i64 0, align 8 @RB_POWERCYCLE = dso_local local_unnamed_addr global i32 0, align 4 @KDB_WHY_PANIC = dso_local local_unnamed_addr global i32 0, align 4 @all_cpus = dso_local local_unnamed_addr global i32 0, align 4 @cpuid = dso_local local_unnamed_addr global i32 0, align 4 @debugger_on_panic = dso_local local_unnamed_addr global i64 0, align 8 @kdb_active = dso_local local_unnamed_addr global i32 0, align 4 @trace_all_panics = dso_local local_unnamed_addr global i64 0, align 8 @trace_on_panic = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @vpanic(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @curthread, align 8, !tbaa !5 %4 = tail call i32 (...) @spinlock_enter() #4 store i32 1, ptr %3, align 4, !tbaa !9 %5 = load i32, ptr @RB_AUTOBOOT, align 4, !tbaa !12 %6 = load ptr, ptr @panicstr, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i32, ptr @RB_DUMP, align 4, !tbaa !12 store ptr %0, ptr @panicstr, align 8, !tbaa !5 %10 = tail call i32 @vsnprintf(ptr noundef nonnull @vpanic.buf, i32 noundef 256, ptr noundef %0, i32 noundef %1) #4 store ptr @vpanic.buf, ptr @panicstr, align 8, !tbaa !5 %11 = tail call i32 (...) @cngrab() #4 %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull @vpanic.buf) br label %18 13: ; preds = %2 %14 = load i32, ptr @RB_NOSYNC, align 4, !tbaa !12 %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1) %16 = tail call i32 @vprintf(ptr noundef %0, i32 noundef %1) #4 %17 = tail call i32 @putchar(i32 10) br label %18 18: ; preds = %13, %8 %19 = phi i32 [ %14, %13 ], [ %9, %8 ] %20 = or i32 %19, %5 %21 = load i64, ptr @time_second, align 8, !tbaa !13 %22 = trunc i64 %21 to i32 %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %22) %24 = load i32, ptr @TDF_INPANIC, align 4, !tbaa !12 %25 = getelementptr inbounds %struct.thread, ptr %3, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !15 %27 = or i32 %26, %24 store i32 %27, ptr %25, align 4, !tbaa !15 %28 = load i32, ptr @sync_on_panic, align 4, !tbaa !12 %29 = icmp eq i32 %28, 0 %30 = load i32, ptr @RB_NOSYNC, align 4 %31 = select i1 %29, i32 %30, i32 0 %32 = or i32 %20, %31 %33 = load i64, ptr @poweroff_on_panic, align 8, !tbaa !13 %34 = icmp eq i64 %33, 0 %35 = load i32, ptr @RB_POWEROFF, align 4 %36 = select i1 %34, i32 0, i32 %35 %37 = or i32 %32, %36 %38 = load i64, ptr @powercycle_on_panic, align 8, !tbaa !13 %39 = icmp eq i64 %38, 0 %40 = load i32, ptr @RB_POWERCYCLE, align 4 %41 = select i1 %39, i32 0, i32 %40 %42 = or i32 %37, %41 %43 = tail call i32 @kern_reboot(i32 noundef %42) #4 ret void } declare i32 @spinlock_enter(...) local_unnamed_addr #1 declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cngrab(...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @vprintf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kern_reboot(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #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 = { 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 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"thread", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!10, !11, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_shutdown.c_vpanic.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_shutdown.c_vpanic.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @curthread = common local_unnamed_addr global ptr null, align 8 @vpanic.buf = internal global [256 x i8] zeroinitializer, align 1 @RB_AUTOBOOT = common local_unnamed_addr global i32 0, align 4 @panicstr = common local_unnamed_addr global ptr null, align 8 @RB_NOSYNC = common local_unnamed_addr global i32 0, align 4 @RB_DUMP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"panic: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"panic: \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"time = %jd\0A\00", align 1 @time_second = common local_unnamed_addr global i64 0, align 8 @TDF_INPANIC = common local_unnamed_addr global i32 0, align 4 @sync_on_panic = common local_unnamed_addr global i32 0, align 4 @poweroff_on_panic = common local_unnamed_addr global i64 0, align 8 @RB_POWEROFF = common local_unnamed_addr global i32 0, align 4 @powercycle_on_panic = common local_unnamed_addr global i64 0, align 8 @RB_POWERCYCLE = common local_unnamed_addr global i32 0, align 4 @KDB_WHY_PANIC = common local_unnamed_addr global i32 0, align 4 @all_cpus = common local_unnamed_addr global i32 0, align 4 @cpuid = common local_unnamed_addr global i32 0, align 4 @debugger_on_panic = common local_unnamed_addr global i64 0, align 8 @kdb_active = common local_unnamed_addr global i32 0, align 4 @trace_all_panics = common local_unnamed_addr global i64 0, align 8 @trace_on_panic = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @vpanic(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @curthread, align 8, !tbaa !6 %4 = tail call i32 @spinlock_enter() #4 store i32 1, ptr %3, align 4, !tbaa !10 %5 = load i32, ptr @RB_AUTOBOOT, align 4, !tbaa !13 %6 = load ptr, ptr @panicstr, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i32, ptr @RB_DUMP, align 4, !tbaa !13 store ptr %0, ptr @panicstr, align 8, !tbaa !6 %10 = tail call i32 @vsnprintf(ptr noundef nonnull @vpanic.buf, i32 noundef 256, ptr noundef %0, i32 noundef %1) #4 store ptr @vpanic.buf, ptr @panicstr, align 8, !tbaa !6 %11 = tail call i32 @cngrab() #4 %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull @vpanic.buf) br label %18 13: ; preds = %2 %14 = load i32, ptr @RB_NOSYNC, align 4, !tbaa !13 %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1) %16 = tail call i32 @vprintf(ptr noundef %0, i32 noundef %1) #4 %17 = tail call i32 @putchar(i32 10) br label %18 18: ; preds = %13, %8 %19 = phi i32 [ %14, %13 ], [ %9, %8 ] %20 = or i32 %19, %5 %21 = load i64, ptr @time_second, align 8, !tbaa !14 %22 = trunc i64 %21 to i32 %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %22) %24 = load i32, ptr @TDF_INPANIC, align 4, !tbaa !13 %25 = getelementptr inbounds i8, ptr %3, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !16 %27 = or i32 %26, %24 store i32 %27, ptr %25, align 4, !tbaa !16 %28 = load i32, ptr @sync_on_panic, align 4, !tbaa !13 %29 = icmp eq i32 %28, 0 %30 = load i32, ptr @RB_NOSYNC, align 4 %31 = select i1 %29, i32 %30, i32 0 %32 = or i32 %20, %31 %33 = load i64, ptr @poweroff_on_panic, align 8, !tbaa !14 %34 = icmp eq i64 %33, 0 %35 = load i32, ptr @RB_POWEROFF, align 4 %36 = select i1 %34, i32 0, i32 %35 %37 = or i32 %32, %36 %38 = load i64, ptr @powercycle_on_panic, align 8, !tbaa !14 %39 = icmp eq i64 %38, 0 %40 = load i32, ptr @RB_POWERCYCLE, align 4 %41 = select i1 %39, i32 0, i32 %40 %42 = or i32 %37, %41 %43 = tail call i32 @kern_reboot(i32 noundef %42) #4 ret void } declare i32 @spinlock_enter(...) local_unnamed_addr #1 declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cngrab(...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @vprintf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kern_reboot(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #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 = { 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 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"thread", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!11, !12, i64 4}
freebsd_sys_kern_extr_kern_shutdown.c_vpanic
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/kernel/cpu/sh4/extr_fpu.c_float_raise.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sh/kernel/cpu/sh4/extr_fpu.c_float_raise.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @fpu_exception_flags = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable define dso_local void @float_raise(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @fpu_exception_flags, align 4, !tbaa !5 %3 = or i32 %2, %0 store i32 %3, ptr @fpu_exception_flags, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/kernel/cpu/sh4/extr_fpu.c_float_raise.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sh/kernel/cpu/sh4/extr_fpu.c_float_raise.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @fpu_exception_flags = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) define void @float_raise(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @fpu_exception_flags, align 4, !tbaa !6 %3 = or i32 %2, %0 store i32 %3, ptr @fpu_exception_flags, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_sh_kernel_cpu_sh4_extr_fpu.c_float_raise
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_gem.c_i915_gem_pin_ioctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_gem.c_i915_gem_pin_ioctl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.drm_i915_gem_pin = type { i32, i32, i32 } %struct.drm_i915_gem_object = type { i64, i64, i32, i32, ptr } @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @I915_MADV_WILLNEED = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [38 x i8] c"Attempting to pin a purgeable buffer\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"Already pinned in i915_gem_pin_ioctl(): %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @i915_gem_pin_ioctl(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @i915_mutex_lock_interruptible(ptr noundef %0) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %51 6: ; preds = %3 %7 = getelementptr inbounds %struct.drm_i915_gem_pin, ptr %1, i64 0, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = tail call i32 @drm_gem_object_lookup(ptr noundef %0, ptr noundef %2, i32 noundef %8) #2 %10 = tail call ptr @to_intel_bo(i32 noundef %9) #2 %11 = getelementptr inbounds %struct.drm_i915_gem_object, ptr %10, i64 0, i32 2 %12 = load i64, ptr %10, align 8, !tbaa !10 %13 = load i64, ptr @I915_MADV_WILLNEED, align 8, !tbaa !14 %14 = icmp eq i64 %12, %13 br i1 %14, label %19, label %15 15: ; preds = %6 %16 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str) #2 %17 = load i32, ptr @EINVAL, align 4, !tbaa !15 %18 = sub nsw i32 0, %17 br label %47 19: ; preds = %6 %20 = getelementptr inbounds %struct.drm_i915_gem_object, ptr %10, i64 0, i32 4 %21 = load ptr, ptr %20, align 8, !tbaa !16 %22 = icmp eq ptr %21, null %23 = icmp eq ptr %21, %2 %24 = or i1 %22, %23 br i1 %24, label %30, label %25 25: ; preds = %19 %26 = load i32, ptr %7, align 4, !tbaa !5 %27 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.1, i32 noundef %26) #2 %28 = load i32, ptr @EINVAL, align 4, !tbaa !15 %29 = sub nsw i32 0, %28 br label %47 30: ; preds = %19 %31 = getelementptr inbounds %struct.drm_i915_gem_object, ptr %10, i64 0, i32 1 %32 = load i64, ptr %31, align 8, !tbaa !17 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %30 %35 = getelementptr inbounds %struct.drm_i915_gem_pin, ptr %1, i64 0, i32 1 %36 = load i32, ptr %35, align 4, !tbaa !18 %37 = tail call i32 @i915_gem_object_pin(ptr noundef nonnull %10, i32 noundef %36, i32 noundef 1, i32 noundef 0) #2 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %34 %40 = load i64, ptr %31, align 8, !tbaa !17 br label %41 41: ; preds = %39, %30 %42 = phi i64 [ %40, %39 ], [ %32, %30 ] %43 = add nsw i64 %42, 1 store i64 %43, ptr %31, align 8, !tbaa !17 store ptr %2, ptr %20, align 8, !tbaa !16 %44 = tail call i32 @i915_gem_object_flush_cpu_write_domain(ptr noundef nonnull %10) #2 %45 = getelementptr inbounds %struct.drm_i915_gem_object, ptr %10, i64 0, i32 3 %46 = load i32, ptr %45, align 4, !tbaa !19 store i32 %46, ptr %1, align 4, !tbaa !20 br label %47 47: ; preds = %34, %41, %25, %15 %48 = phi i32 [ %18, %15 ], [ %29, %25 ], [ %37, %34 ], [ 0, %41 ] %49 = tail call i32 @drm_gem_object_unreference(ptr noundef nonnull %11) #2 %50 = tail call i32 @mutex_unlock(ptr noundef %0) #2 br label %51 51: ; preds = %3, %47 %52 = phi i32 [ %48, %47 ], [ %4, %3 ] ret i32 %52 } declare i32 @i915_mutex_lock_interruptible(ptr noundef) local_unnamed_addr #1 declare ptr @to_intel_bo(i32 noundef) local_unnamed_addr #1 declare i32 @drm_gem_object_lookup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef, ...) local_unnamed_addr #1 declare i32 @i915_gem_object_pin(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i915_gem_object_flush_cpu_write_domain(ptr noundef) local_unnamed_addr #1 declare i32 @drm_gem_object_unreference(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 = !{!"drm_i915_gem_pin", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"drm_i915_gem_object", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !13, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!11, !13, i64 24} !17 = !{!11, !12, i64 8} !18 = !{!6, !7, i64 4} !19 = !{!11, !7, i64 20} !20 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_gem.c_i915_gem_pin_ioctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_i915_gem.c_i915_gem_pin_ioctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOENT = common local_unnamed_addr global i32 0, align 4 @I915_MADV_WILLNEED = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [38 x i8] c"Attempting to pin a purgeable buffer\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"Already pinned in i915_gem_pin_ioctl(): %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @i915_gem_pin_ioctl(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @i915_mutex_lock_interruptible(ptr noundef %0) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %51 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = tail call i32 @drm_gem_object_lookup(ptr noundef %0, ptr noundef %2, i32 noundef %8) #2 %10 = tail call ptr @to_intel_bo(i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %10, i64 16 %12 = load i64, ptr %10, align 8, !tbaa !11 %13 = load i64, ptr @I915_MADV_WILLNEED, align 8, !tbaa !15 %14 = icmp eq i64 %12, %13 br i1 %14, label %19, label %15 15: ; preds = %6 %16 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str) #2 %17 = load i32, ptr @EINVAL, align 4, !tbaa !16 %18 = sub nsw i32 0, %17 br label %47 19: ; preds = %6 %20 = getelementptr inbounds i8, ptr %10, i64 24 %21 = load ptr, ptr %20, align 8, !tbaa !17 %22 = icmp eq ptr %21, null %23 = icmp eq ptr %21, %2 %24 = or i1 %22, %23 br i1 %24, label %30, label %25 25: ; preds = %19 %26 = load i32, ptr %7, align 4, !tbaa !6 %27 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.1, i32 noundef %26) #2 %28 = load i32, ptr @EINVAL, align 4, !tbaa !16 %29 = sub nsw i32 0, %28 br label %47 30: ; preds = %19 %31 = getelementptr inbounds i8, ptr %10, i64 8 %32 = load i64, ptr %31, align 8, !tbaa !18 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %30 %35 = getelementptr inbounds i8, ptr %1, i64 4 %36 = load i32, ptr %35, align 4, !tbaa !19 %37 = tail call i32 @i915_gem_object_pin(ptr noundef nonnull %10, i32 noundef %36, i32 noundef 1, i32 noundef 0) #2 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %34 %40 = load i64, ptr %31, align 8, !tbaa !18 br label %41 41: ; preds = %39, %30 %42 = phi i64 [ %40, %39 ], [ %32, %30 ] %43 = add nsw i64 %42, 1 store i64 %43, ptr %31, align 8, !tbaa !18 store ptr %2, ptr %20, align 8, !tbaa !17 %44 = tail call i32 @i915_gem_object_flush_cpu_write_domain(ptr noundef nonnull %10) #2 %45 = getelementptr inbounds i8, ptr %10, i64 20 %46 = load i32, ptr %45, align 4, !tbaa !20 store i32 %46, ptr %1, align 4, !tbaa !21 br label %47 47: ; preds = %34, %41, %25, %15 %48 = phi i32 [ %18, %15 ], [ %29, %25 ], [ %37, %34 ], [ 0, %41 ] %49 = tail call i32 @drm_gem_object_unreference(ptr noundef nonnull %11) #2 %50 = tail call i32 @mutex_unlock(ptr noundef %0) #2 br label %51 51: ; preds = %3, %47 %52 = phi i32 [ %48, %47 ], [ %4, %3 ] ret i32 %52 } declare i32 @i915_mutex_lock_interruptible(ptr noundef) local_unnamed_addr #1 declare ptr @to_intel_bo(i32 noundef) local_unnamed_addr #1 declare i32 @drm_gem_object_lookup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef, ...) local_unnamed_addr #1 declare i32 @i915_gem_object_pin(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i915_gem_object_flush_cpu_write_domain(ptr noundef) local_unnamed_addr #1 declare i32 @drm_gem_object_unreference(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 = !{!"drm_i915_gem_pin", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"drm_i915_gem_object", !13, i64 0, !13, i64 8, !8, i64 16, !8, i64 20, !14, i64 24} !13 = !{!"long", !9, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!12, !14, i64 24} !18 = !{!12, !13, i64 8} !19 = !{!7, !8, i64 4} !20 = !{!12, !8, i64 20} !21 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_gpu_drm_i915_extr_i915_gem.c_i915_gem_pin_ioctl
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/intel_th/extr_pti.c_mode_store.c' source_filename = "AnghaBench/linux/drivers/hwtracing/intel_th/extr_pti.c_mode_store.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @mode_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mode_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %15 9: ; preds = %4 %10 = load i64, ptr %5, align 8, !tbaa !5 %11 = call i32 @pti_width_mode(i64 noundef %10) #3 %12 = icmp slt i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 store i32 %11, ptr %6, align 4, !tbaa !9 %14 = trunc i64 %3 to i32 br label %15 15: ; preds = %9, %4, %13 %16 = phi i32 [ %14, %13 ], [ %7, %4 ], [ %11, %9 ] call void @llvm.lifetime.end.p0(i64 8, 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 ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pti_width_mode(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"pti_device", !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/intel_th/extr_pti.c_mode_store.c' source_filename = "AnghaBench/linux/drivers/hwtracing/intel_th/extr_pti.c_mode_store.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 @mode_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mode_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %15 9: ; preds = %4 %10 = load i64, ptr %5, align 8, !tbaa !6 %11 = call i32 @pti_width_mode(i64 noundef %10) #3 %12 = icmp slt i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 store i32 %11, ptr %6, align 4, !tbaa !10 %14 = trunc i64 %3 to i32 br label %15 15: ; preds = %9, %4, %13 %16 = phi i32 [ %14, %13 ], [ %7, %4 ], [ %11, %9 ] call void @llvm.lifetime.end.p0(i64 8, 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 ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pti_width_mode(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"pti_device", !12, i64 0} !12 = !{!"int", !8, i64 0}
linux_drivers_hwtracing_intel_th_extr_pti.c_mode_store
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/luac_cross/extr_liolib.c_io_open.c' source_filename = "AnghaBench/nodemcu-firmware/app/lua/luac_cross/extr_liolib.c_io_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @io_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @io_open(ptr noundef %0) #0 { %2 = tail call ptr @luaL_checkstring(ptr noundef %0, i32 noundef 1) #3 %3 = tail call ptr @luaL_optstring(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @.str) #3 %4 = tail call ptr @newfile(ptr noundef %0) #3 %5 = tail call ptr @fopen(ptr noundef %2, ptr noundef %3) store ptr %5, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @pushresult(ptr noundef %0, i32 noundef 0, ptr noundef %2) #3 br label %9 9: ; preds = %1, %7 %10 = phi i32 [ %8, %7 ], [ 1, %1 ] ret i32 %10 } declare ptr @luaL_checkstring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @luaL_optstring(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @newfile(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @pushresult(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/luac_cross/extr_liolib.c_io_open.c' source_filename = "AnghaBench/nodemcu-firmware/app/lua/luac_cross/extr_liolib.c_io_open.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 [2 x i8] c"r\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @io_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @io_open(ptr noundef %0) #0 { %2 = tail call ptr @luaL_checkstring(ptr noundef %0, i32 noundef 1) #3 %3 = tail call ptr @luaL_optstring(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @.str) #3 %4 = tail call ptr @newfile(ptr noundef %0) #3 %5 = tail call ptr @fopen(ptr noundef %2, ptr noundef %3) store ptr %5, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @pushresult(ptr noundef %0, i32 noundef 0, ptr noundef %2) #3 br label %9 9: ; preds = %1, %7 %10 = phi i32 [ %8, %7 ], [ 1, %1 ] ret i32 %10 } declare ptr @luaL_checkstring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @luaL_optstring(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @newfile(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @pushresult(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { 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, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
nodemcu-firmware_app_lua_luac_cross_extr_liolib.c_io_open
; ModuleID = 'AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fdin_rd.c' source_filename = "AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fdin_rd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FDCTL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fdin_rd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fdin_rd(ptr noundef %0) #0 { %2 = load i32, ptr @FDCTL, align 4, !tbaa !5 %3 = tail call i32 @fdregrd(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @fdregrd(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/dev/fdc/extr_fdc.c_fdin_rd.c' source_filename = "AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fdin_rd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FDCTL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fdin_rd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fdin_rd(ptr noundef %0) #0 { %2 = load i32, ptr @FDCTL, align 4, !tbaa !6 %3 = tail call i32 @fdregrd(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @fdregrd(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_dev_fdc_extr_fdc.c_fdin_rd
; ModuleID = 'AnghaBench/linux/net/decnet/extr_af_decnet.c_dn_poll.c' source_filename = "AnghaBench/linux/net/decnet/extr_af_decnet.c_dn_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" @EPOLLRDBAND = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dn_poll], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dn_poll(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = tail call ptr @DN_SK(ptr noundef %4) #2 %6 = tail call i32 @datagram_poll(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2) #2 %7 = tail call i32 @skb_queue_empty_lockless(ptr noundef %5) #2 %8 = icmp eq i32 %7, 0 %9 = load i32, ptr @EPOLLRDBAND, align 4 %10 = select i1 %8, i32 %9, i32 0 %11 = or i32 %10, %6 ret i32 %11 } declare ptr @DN_SK(ptr noundef) local_unnamed_addr #1 declare i32 @datagram_poll(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @skb_queue_empty_lockless(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"socket", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/decnet/extr_af_decnet.c_dn_poll.c' source_filename = "AnghaBench/linux/net/decnet/extr_af_decnet.c_dn_poll.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EPOLLRDBAND = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dn_poll], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dn_poll(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = tail call ptr @DN_SK(ptr noundef %4) #2 %6 = tail call i32 @datagram_poll(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2) #2 %7 = tail call i32 @skb_queue_empty_lockless(ptr noundef %5) #2 %8 = icmp eq i32 %7, 0 %9 = load i32, ptr @EPOLLRDBAND, align 4 %10 = select i1 %8, i32 %9, i32 0 %11 = or i32 %10, %6 ret i32 %11 } declare ptr @DN_SK(ptr noundef) local_unnamed_addr #1 declare i32 @datagram_poll(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @skb_queue_empty_lockless(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"socket", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_net_decnet_extr_af_decnet.c_dn_poll
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_clock24xx.c_omap2xxx_clk_get_core_rate.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_clock24xx.c_omap2xxx_clk_get_core_rate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PLL_MOD = dso_local local_unnamed_addr global i32 0, align 4 @CM_CLKSEL2 = dso_local local_unnamed_addr global i32 0, align 4 @OMAP24XX_CORE_CLK_SRC_MASK = dso_local local_unnamed_addr global i64 0, align 8 @CORE_CLK_SRC_32K = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @omap2xxx_clk_get_core_rate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @omap2xxx_clk_get_core_rate(ptr noundef %0) #0 { %2 = tail call i64 @omap2_get_dpll_rate(ptr noundef %0) #2 %3 = load i32, ptr @PLL_MOD, align 4, !tbaa !5 %4 = load i32, ptr @CM_CLKSEL2, align 4, !tbaa !5 %5 = tail call i64 @cm_read_mod_reg(i32 noundef %3, i32 noundef %4) #2 %6 = load i64, ptr @OMAP24XX_CORE_CLK_SRC_MASK, align 8, !tbaa !9 %7 = and i64 %6, %5 %8 = load i64, ptr @CORE_CLK_SRC_32K, align 8, !tbaa !9 %9 = icmp eq i64 %7, %8 %10 = mul nsw i64 %7, %2 %11 = select i1 %9, i64 32768, i64 %10 ret i64 %11 } declare i64 @omap2_get_dpll_rate(ptr noundef) local_unnamed_addr #1 declare i64 @cm_read_mod_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long long", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_clock24xx.c_omap2xxx_clk_get_core_rate.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_clock24xx.c_omap2xxx_clk_get_core_rate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PLL_MOD = common local_unnamed_addr global i32 0, align 4 @CM_CLKSEL2 = common local_unnamed_addr global i32 0, align 4 @OMAP24XX_CORE_CLK_SRC_MASK = common local_unnamed_addr global i64 0, align 8 @CORE_CLK_SRC_32K = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @omap2xxx_clk_get_core_rate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @omap2xxx_clk_get_core_rate(ptr noundef %0) #0 { %2 = tail call i64 @omap2_get_dpll_rate(ptr noundef %0) #2 %3 = load i32, ptr @PLL_MOD, align 4, !tbaa !6 %4 = load i32, ptr @CM_CLKSEL2, align 4, !tbaa !6 %5 = tail call i64 @cm_read_mod_reg(i32 noundef %3, i32 noundef %4) #2 %6 = load i64, ptr @OMAP24XX_CORE_CLK_SRC_MASK, align 8, !tbaa !10 %7 = and i64 %6, %5 %8 = load i64, ptr @CORE_CLK_SRC_32K, align 8, !tbaa !10 %9 = icmp eq i64 %7, %8 %10 = mul nsw i64 %7, %2 %11 = select i1 %9, i64 32768, i64 %10 ret i64 %11 } declare i64 @omap2_get_dpll_rate(ptr noundef) local_unnamed_addr #1 declare i64 @cm_read_mod_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long long", !8, i64 0}
fastsocket_kernel_arch_arm_mach-omap2_extr_clock24xx.c_omap2xxx_clk_get_core_rate
; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_tree_num_split.c' source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_tree_num_split.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, ptr, ptr } @NIL = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @tree_num_split], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tree_num_split(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load ptr, ptr @NIL, align 8, !tbaa !5 %6 = icmp eq ptr %5, %2 br i1 %6, label %7, label %8 7: ; preds = %4 store ptr %2, ptr %1, align 8, !tbaa !5 store ptr %2, ptr %0, align 8, !tbaa !5 br label %19 8: ; preds = %4 %9 = load i32, ptr %2, align 8, !tbaa !9 %10 = icmp slt i32 %9, %3 br i1 %10, label %14, label %11 11: ; preds = %8 store ptr %2, ptr %1, align 8, !tbaa !5 %12 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 2 %13 = load ptr, ptr %12, align 8, !tbaa !12 tail call void @tree_num_split(ptr noundef %0, ptr noundef nonnull %12, ptr noundef %13, i32 noundef %3) br label %17 14: ; preds = %8 store ptr %2, ptr %0, align 8, !tbaa !5 %15 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !13 tail call void @tree_num_split(ptr noundef nonnull %15, ptr noundef %1, ptr noundef %16, i32 noundef %3) br label %17 17: ; preds = %14, %11 %18 = tail call i32 @tree_num_relax(ptr noundef nonnull %2) #2 br label %19 19: ; preds = %17, %7 ret void } declare i32 @tree_num_relax(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_7__", !11, i64 0, !6, i64 8, !6, i64 16} !11 = !{!"int", !7, i64 0} !12 = !{!10, !6, i64 16} !13 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_tree_num_split.c' source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_tree_num_split.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NIL = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @tree_num_split], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tree_num_split(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load ptr, ptr @NIL, align 8, !tbaa !6 %6 = icmp eq ptr %5, %2 br i1 %6, label %7, label %8 7: ; preds = %4 store ptr %5, ptr %1, align 8, !tbaa !6 store ptr %5, ptr %0, align 8, !tbaa !6 br label %19 8: ; preds = %4 %9 = load i32, ptr %2, align 8, !tbaa !10 %10 = icmp slt i32 %9, %3 br i1 %10, label %14, label %11 11: ; preds = %8 store ptr %2, ptr %1, align 8, !tbaa !6 %12 = getelementptr inbounds i8, ptr %2, i64 16 %13 = load ptr, ptr %12, align 8, !tbaa !13 tail call void @tree_num_split(ptr noundef %0, ptr noundef nonnull %12, ptr noundef %13, i32 noundef %3) br label %17 14: ; preds = %8 store ptr %2, ptr %0, align 8, !tbaa !6 %15 = getelementptr inbounds i8, ptr %2, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !14 tail call void @tree_num_split(ptr noundef nonnull %15, ptr noundef %1, ptr noundef %16, i32 noundef %3) br label %17 17: ; preds = %14, %11 %18 = tail call i32 @tree_num_relax(ptr noundef nonnull %2) #2 br label %19 19: ; preds = %17, %7 ret void } declare i32 @tree_num_relax(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_7__", !12, i64 0, !7, i64 8, !7, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!11, !7, i64 16} !14 = !{!11, !7, i64 8}
kphp-kdb_text_extr_text-data.c_tree_num_split
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/venus/extr_firmware.c_venus_boot_no_tz.c' source_filename = "AnghaBench/linux/drivers/media/platform/qcom/venus/extr_firmware.c_venus_boot_no_tz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i64, ptr, ptr } @EPROBE_DEFER = dso_local local_unnamed_addr global i32 0, align 4 @VENUS_FW_START_ADDR = dso_local local_unnamed_addr global i32 0, align 4 @IOMMU_READ = dso_local local_unnamed_addr global i32 0, align 4 @IOMMU_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @IOMMU_PRIV = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"could not map video firmware region\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @venus_boot_no_tz], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @venus_boot_no_tz(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !12 %9 = sub nsw i32 0, %8 br label %25 10: ; preds = %3 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !14 store i64 %2, ptr %0, align 8, !tbaa !15 %13 = load i32, ptr @VENUS_FW_START_ADDR, align 4, !tbaa !12 %14 = load i32, ptr @IOMMU_READ, align 4, !tbaa !12 %15 = load i32, ptr @IOMMU_WRITE, align 4, !tbaa !12 %16 = or i32 %15, %14 %17 = load i32, ptr @IOMMU_PRIV, align 4, !tbaa !12 %18 = or i32 %16, %17 %19 = tail call i32 @iommu_map(ptr noundef %12, i32 noundef %13, i32 noundef %1, i64 noundef %2, i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %10 %22 = tail call i32 @dev_err(ptr noundef nonnull %5, ptr noundef nonnull @.str) #2 br label %25 23: ; preds = %10 %24 = tail call i32 @venus_reset_cpu(ptr noundef nonnull %0) #2 br label %25 25: ; preds = %23, %21, %7 %26 = phi i32 [ %19, %21 ], [ 0, %23 ], [ %9, %7 ] ret i32 %26 } declare i32 @iommu_map(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @venus_reset_cpu(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"venus_core", !7, i64 0} !7 = !{!"TYPE_2__", !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, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!6, !11, i64 8} !15 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/venus/extr_firmware.c_venus_boot_no_tz.c' source_filename = "AnghaBench/linux/drivers/media/platform/qcom/venus/extr_firmware.c_venus_boot_no_tz.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EPROBE_DEFER = common local_unnamed_addr global i32 0, align 4 @VENUS_FW_START_ADDR = common local_unnamed_addr global i32 0, align 4 @IOMMU_READ = common local_unnamed_addr global i32 0, align 4 @IOMMU_WRITE = common local_unnamed_addr global i32 0, align 4 @IOMMU_PRIV = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"could not map video firmware region\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @venus_boot_no_tz], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @venus_boot_no_tz(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @EPROBE_DEFER, align 4, !tbaa !13 %9 = sub nsw i32 0, %8 br label %25 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !15 store i64 %2, ptr %0, align 8, !tbaa !16 %13 = load i32, ptr @VENUS_FW_START_ADDR, align 4, !tbaa !13 %14 = load i32, ptr @IOMMU_READ, align 4, !tbaa !13 %15 = load i32, ptr @IOMMU_WRITE, align 4, !tbaa !13 %16 = or i32 %15, %14 %17 = load i32, ptr @IOMMU_PRIV, align 4, !tbaa !13 %18 = or i32 %16, %17 %19 = tail call i32 @iommu_map(ptr noundef %12, i32 noundef %13, i32 noundef %1, i64 noundef %2, i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %10 %22 = tail call i32 @dev_err(ptr noundef nonnull %5, ptr noundef nonnull @.str) #2 br label %25 23: ; preds = %10 %24 = tail call i32 @venus_reset_cpu(ptr noundef nonnull %0) #2 br label %25 25: ; preds = %23, %21, %7 %26 = phi i32 [ %19, %21 ], [ 0, %23 ], [ %9, %7 ] ret i32 %26 } declare i32 @iommu_map(ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @venus_reset_cpu(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"venus_core", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8, !12, i64 16} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !10, i64 0} !15 = !{!7, !12, i64 8} !16 = !{!7, !9, i64 0}
linux_drivers_media_platform_qcom_venus_extr_firmware.c_venus_boot_no_tz
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_crecord.c_crec_bit64_type.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_crecord.c_crec_bit64_type.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32 } @CTMASK_NUM = dso_local local_unnamed_addr global i32 0, align 4 @CTF_BOOL = dso_local local_unnamed_addr global i32 0, align 4 @CTF_FP = dso_local local_unnamed_addr global i32 0, align 4 @CTF_UNSIGNED = dso_local local_unnamed_addr global i32 0, align 4 @CT_NUM = dso_local local_unnamed_addr global i32 0, align 4 @CTID_UINT64 = dso_local local_unnamed_addr global i32 0, align 4 @CTID_INT64 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @crec_bit64_type], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @crec_bit64_type(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @tviscdata(ptr noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %36, label %5 5: ; preds = %2 %6 = tail call ptr @cdataV(ptr noundef %1) #2 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = tail call ptr @lj_ctype_rawref(ptr noundef %0, i32 noundef %7) #2 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = tail call i64 @ctype_isenum(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %5 %13 = tail call ptr @ctype_child(ptr noundef %0, ptr noundef nonnull %8) #2 br label %14 14: ; preds = %12, %5 %15 = phi ptr [ %13, %12 ], [ %8, %5 ] %16 = load i32, ptr %15, align 4, !tbaa !10 %17 = load i32, ptr @CTMASK_NUM, align 4, !tbaa !12 %18 = load i32, ptr @CTF_BOOL, align 4, !tbaa !12 %19 = or i32 %18, %17 %20 = load i32, ptr @CTF_FP, align 4, !tbaa !12 %21 = or i32 %19, %20 %22 = load i32, ptr @CTF_UNSIGNED, align 4, !tbaa !12 %23 = or i32 %21, %22 %24 = and i32 %23, %16 %25 = load i32, ptr @CT_NUM, align 4, !tbaa !12 %26 = tail call i32 @CTINFO(i32 noundef %25, i32 noundef %22) #2 %27 = icmp eq i32 %24, %26 br i1 %27, label %28, label %32 28: ; preds = %14 %29 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 0, i32 1 %30 = load i32, ptr %29, align 4, !tbaa !13 %31 = icmp eq i32 %30, 8 br i1 %31, label %33, label %32 32: ; preds = %28, %14 br label %33 33: ; preds = %28, %32 %34 = phi ptr [ @CTID_INT64, %32 ], [ @CTID_UINT64, %28 ] %35 = load i32, ptr %34, align 4, !tbaa !12 br label %36 36: ; preds = %2, %33 %37 = phi i32 [ %35, %33 ], [ 0, %2 ] ret i32 %37 } declare i64 @tviscdata(ptr noundef) local_unnamed_addr #1 declare ptr @lj_ctype_rawref(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cdataV(ptr noundef) local_unnamed_addr #1 declare i64 @ctype_isenum(i32 noundef) local_unnamed_addr #1 declare ptr @ctype_child(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CTINFO(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_6__", !7, i64 0, !7, i64 4} !12 = !{!7, !7, i64 0} !13 = !{!11, !7, i64 4}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_crecord.c_crec_bit64_type.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_crecord.c_crec_bit64_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CTMASK_NUM = common local_unnamed_addr global i32 0, align 4 @CTF_BOOL = common local_unnamed_addr global i32 0, align 4 @CTF_FP = common local_unnamed_addr global i32 0, align 4 @CTF_UNSIGNED = common local_unnamed_addr global i32 0, align 4 @CT_NUM = common local_unnamed_addr global i32 0, align 4 @CTID_UINT64 = common local_unnamed_addr global i32 0, align 4 @CTID_INT64 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @crec_bit64_type], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @crec_bit64_type(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @tviscdata(ptr noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %36, label %5 5: ; preds = %2 %6 = tail call ptr @cdataV(ptr noundef %1) #2 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = tail call ptr @lj_ctype_rawref(ptr noundef %0, i32 noundef %7) #2 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i64 @ctype_isenum(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %5 %13 = tail call ptr @ctype_child(ptr noundef %0, ptr noundef nonnull %8) #2 br label %14 14: ; preds = %12, %5 %15 = phi ptr [ %13, %12 ], [ %8, %5 ] %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = load i32, ptr @CTMASK_NUM, align 4, !tbaa !13 %18 = load i32, ptr @CTF_BOOL, align 4, !tbaa !13 %19 = or i32 %18, %17 %20 = load i32, ptr @CTF_FP, align 4, !tbaa !13 %21 = or i32 %19, %20 %22 = load i32, ptr @CTF_UNSIGNED, align 4, !tbaa !13 %23 = or i32 %21, %22 %24 = and i32 %23, %16 %25 = load i32, ptr @CT_NUM, align 4, !tbaa !13 %26 = tail call i32 @CTINFO(i32 noundef %25, i32 noundef %22) #2 %27 = icmp eq i32 %24, %26 br i1 %27, label %28, label %32 28: ; preds = %14 %29 = getelementptr inbounds i8, ptr %15, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !14 %31 = icmp eq i32 %30, 8 br i1 %31, label %33, label %32 32: ; preds = %28, %14 br label %33 33: ; preds = %28, %32 %34 = phi ptr [ @CTID_INT64, %32 ], [ @CTID_UINT64, %28 ] %35 = load i32, ptr %34, align 4, !tbaa !13 br label %36 36: ; preds = %2, %33 %37 = phi i32 [ %35, %33 ], [ 0, %2 ] ret i32 %37 } declare i64 @tviscdata(ptr noundef) local_unnamed_addr #1 declare ptr @lj_ctype_rawref(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cdataV(ptr noundef) local_unnamed_addr #1 declare i64 @ctype_isenum(i32 noundef) local_unnamed_addr #1 declare ptr @ctype_child(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CTINFO(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_6__", !8, i64 0, !8, i64 4} !13 = !{!8, !8, i64 0} !14 = !{!12, !8, i64 4}
xLua_build_luajit-2.1.0b2_src_extr_lj_crecord.c_crec_bit64_type
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_rt5663.c_rt5663_hp_event.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_rt5663.c_rt5663_hp_event.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CODEC_VER_1 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_HP_CHARGE_PUMP_1 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_SEL_PM_HP_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_SEL_PM_HP_HIGH = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_HP_LOGIC_2 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_HP_SIG_SRC1_MASK = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_HP_SIG_SRC1_SILENCE = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_DACREF_LDO = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_DEPOP_2 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_OVCD_HP_MASK = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_OVCD_HP_DIS = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_HP_CHARGE_PUMP_2 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_HP_BIAS = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_CHARGE_PUMP_1 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_ANA_BIAS_CUR_1 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_CHARGE_PUMP_2 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_STO_DRE_1 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_DEPOP_1 = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_DIG_VOL_ZCD = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_HP_SIG_SRC1_REG = dso_local local_unnamed_addr global i32 0, align 4 @RT5663_OVCD_HP_EN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt5663_hp_event], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rt5663_hp_event(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call ptr @snd_soc_dapm_to_component(i32 noundef %4) #2 %6 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %5) #2 switch i32 %2, label %67 [ i32 129, label %7 i32 128, label %47 ] 7: ; preds = %3 %8 = load i32, ptr %6, align 4, !tbaa !10 %9 = load i32, ptr @CODEC_VER_1, align 4, !tbaa !12 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %20 11: ; preds = %7 %12 = load i32, ptr @RT5663_HP_CHARGE_PUMP_1, align 4, !tbaa !12 %13 = load i32, ptr @RT5663_SEL_PM_HP_SHIFT, align 4, !tbaa !12 %14 = load i32, ptr @RT5663_SEL_PM_HP_HIGH, align 4, !tbaa !12 %15 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %12, i32 noundef %13, i32 noundef %14) #2 %16 = load i32, ptr @RT5663_HP_LOGIC_2, align 4, !tbaa !12 %17 = load i32, ptr @RT5663_HP_SIG_SRC1_MASK, align 4, !tbaa !12 %18 = load i32, ptr @RT5663_HP_SIG_SRC1_SILENCE, align 4, !tbaa !12 %19 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %16, i32 noundef %17, i32 noundef %18) #2 br label %67 20: ; preds = %7 %21 = load i32, ptr @RT5663_DACREF_LDO, align 4, !tbaa !12 %22 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %21, i32 noundef 15886, i32 noundef 14858) #2 %23 = load i32, ptr @RT5663_DEPOP_2, align 4, !tbaa !12 %24 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %23, i32 noundef 12291) #2 %25 = load i32, ptr @RT5663_HP_CHARGE_PUMP_1, align 4, !tbaa !12 %26 = load i32, ptr @RT5663_OVCD_HP_MASK, align 4, !tbaa !12 %27 = load i32, ptr @RT5663_OVCD_HP_DIS, align 4, !tbaa !12 %28 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %25, i32 noundef %26, i32 noundef %27) #2 %29 = load i32, ptr @RT5663_HP_CHARGE_PUMP_2, align 4, !tbaa !12 %30 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %29, i32 noundef 4977) #2 %31 = load i32, ptr @RT5663_HP_BIAS, align 4, !tbaa !12 %32 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %31, i32 noundef 43962) #2 %33 = load i32, ptr @RT5663_CHARGE_PUMP_1, align 4, !tbaa !12 %34 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %33, i32 noundef 8740) #2 %35 = load i32, ptr @RT5663_ANA_BIAS_CUR_1, align 4, !tbaa !12 %36 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %35, i32 noundef 30566) #2 %37 = load i32, ptr @RT5663_HP_BIAS, align 4, !tbaa !12 %38 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %37, i32 noundef 44970) #2 %39 = load i32, ptr @RT5663_CHARGE_PUMP_2, align 4, !tbaa !12 %40 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %39, i32 noundef 30583) #2 %41 = load i32, ptr @RT5663_STO_DRE_1, align 4, !tbaa !12 %42 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %41, i32 noundef 32768, i32 noundef 32768) #2 %43 = load i32, ptr @RT5663_DEPOP_1, align 4, !tbaa !12 %44 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %43, i32 noundef 12288, i32 noundef 12288) #2 %45 = load i32, ptr @RT5663_DIG_VOL_ZCD, align 4, !tbaa !12 %46 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %45, i32 noundef 192, i32 noundef 128) #2 br label %67 47: ; preds = %3 %48 = load i32, ptr %6, align 4, !tbaa !10 %49 = load i32, ptr @CODEC_VER_1, align 4, !tbaa !12 %50 = icmp eq i32 %48, %49 br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load i32, ptr @RT5663_HP_LOGIC_2, align 4, !tbaa !12 %53 = load i32, ptr @RT5663_HP_SIG_SRC1_MASK, align 4, !tbaa !12 %54 = load i32, ptr @RT5663_HP_SIG_SRC1_REG, align 4, !tbaa !12 %55 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %52, i32 noundef %53, i32 noundef %54) #2 br label %67 56: ; preds = %47 %57 = load i32, ptr @RT5663_DEPOP_1, align 4, !tbaa !12 %58 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %57, i32 noundef 12288, i32 noundef 0) #2 %59 = load i32, ptr @RT5663_HP_CHARGE_PUMP_1, align 4, !tbaa !12 %60 = load i32, ptr @RT5663_OVCD_HP_MASK, align 4, !tbaa !12 %61 = load i32, ptr @RT5663_OVCD_HP_EN, align 4, !tbaa !12 %62 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %59, i32 noundef %60, i32 noundef %61) #2 %63 = load i32, ptr @RT5663_DACREF_LDO, align 4, !tbaa !12 %64 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %63, i32 noundef 15886, i32 noundef 0) #2 %65 = load i32, ptr @RT5663_DIG_VOL_ZCD, align 4, !tbaa !12 %66 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %65, i32 noundef 192, i32 noundef 0) #2 br label %67 67: ; preds = %20, %11, %56, %51, %3 ret i32 0 } declare ptr @snd_soc_dapm_to_component(i32 noundef) local_unnamed_addr #1 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_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 = !{!"snd_soc_dapm_widget", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"rt5663_priv", !7, i64 0} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_rt5663.c_rt5663_hp_event.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_rt5663.c_rt5663_hp_event.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CODEC_VER_1 = common local_unnamed_addr global i32 0, align 4 @RT5663_HP_CHARGE_PUMP_1 = common local_unnamed_addr global i32 0, align 4 @RT5663_SEL_PM_HP_SHIFT = common local_unnamed_addr global i32 0, align 4 @RT5663_SEL_PM_HP_HIGH = common local_unnamed_addr global i32 0, align 4 @RT5663_HP_LOGIC_2 = common local_unnamed_addr global i32 0, align 4 @RT5663_HP_SIG_SRC1_MASK = common local_unnamed_addr global i32 0, align 4 @RT5663_HP_SIG_SRC1_SILENCE = common local_unnamed_addr global i32 0, align 4 @RT5663_DACREF_LDO = common local_unnamed_addr global i32 0, align 4 @RT5663_DEPOP_2 = common local_unnamed_addr global i32 0, align 4 @RT5663_OVCD_HP_MASK = common local_unnamed_addr global i32 0, align 4 @RT5663_OVCD_HP_DIS = common local_unnamed_addr global i32 0, align 4 @RT5663_HP_CHARGE_PUMP_2 = common local_unnamed_addr global i32 0, align 4 @RT5663_HP_BIAS = common local_unnamed_addr global i32 0, align 4 @RT5663_CHARGE_PUMP_1 = common local_unnamed_addr global i32 0, align 4 @RT5663_ANA_BIAS_CUR_1 = common local_unnamed_addr global i32 0, align 4 @RT5663_CHARGE_PUMP_2 = common local_unnamed_addr global i32 0, align 4 @RT5663_STO_DRE_1 = common local_unnamed_addr global i32 0, align 4 @RT5663_DEPOP_1 = common local_unnamed_addr global i32 0, align 4 @RT5663_DIG_VOL_ZCD = common local_unnamed_addr global i32 0, align 4 @RT5663_HP_SIG_SRC1_REG = common local_unnamed_addr global i32 0, align 4 @RT5663_OVCD_HP_EN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rt5663_hp_event], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @rt5663_hp_event(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call ptr @snd_soc_dapm_to_component(i32 noundef %4) #2 %6 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %5) #2 switch i32 %2, label %67 [ i32 129, label %7 i32 128, label %47 ] 7: ; preds = %3 %8 = load i32, ptr %6, align 4, !tbaa !11 %9 = load i32, ptr @CODEC_VER_1, align 4, !tbaa !13 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %20 11: ; preds = %7 %12 = load i32, ptr @RT5663_HP_CHARGE_PUMP_1, align 4, !tbaa !13 %13 = load i32, ptr @RT5663_SEL_PM_HP_SHIFT, align 4, !tbaa !13 %14 = load i32, ptr @RT5663_SEL_PM_HP_HIGH, align 4, !tbaa !13 %15 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %12, i32 noundef %13, i32 noundef %14) #2 %16 = load i32, ptr @RT5663_HP_LOGIC_2, align 4, !tbaa !13 %17 = load i32, ptr @RT5663_HP_SIG_SRC1_MASK, align 4, !tbaa !13 %18 = load i32, ptr @RT5663_HP_SIG_SRC1_SILENCE, align 4, !tbaa !13 %19 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %16, i32 noundef %17, i32 noundef %18) #2 br label %67 20: ; preds = %7 %21 = load i32, ptr @RT5663_DACREF_LDO, align 4, !tbaa !13 %22 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %21, i32 noundef 15886, i32 noundef 14858) #2 %23 = load i32, ptr @RT5663_DEPOP_2, align 4, !tbaa !13 %24 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %23, i32 noundef 12291) #2 %25 = load i32, ptr @RT5663_HP_CHARGE_PUMP_1, align 4, !tbaa !13 %26 = load i32, ptr @RT5663_OVCD_HP_MASK, align 4, !tbaa !13 %27 = load i32, ptr @RT5663_OVCD_HP_DIS, align 4, !tbaa !13 %28 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %25, i32 noundef %26, i32 noundef %27) #2 %29 = load i32, ptr @RT5663_HP_CHARGE_PUMP_2, align 4, !tbaa !13 %30 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %29, i32 noundef 4977) #2 %31 = load i32, ptr @RT5663_HP_BIAS, align 4, !tbaa !13 %32 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %31, i32 noundef 43962) #2 %33 = load i32, ptr @RT5663_CHARGE_PUMP_1, align 4, !tbaa !13 %34 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %33, i32 noundef 8740) #2 %35 = load i32, ptr @RT5663_ANA_BIAS_CUR_1, align 4, !tbaa !13 %36 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %35, i32 noundef 30566) #2 %37 = load i32, ptr @RT5663_HP_BIAS, align 4, !tbaa !13 %38 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %37, i32 noundef 44970) #2 %39 = load i32, ptr @RT5663_CHARGE_PUMP_2, align 4, !tbaa !13 %40 = tail call i32 @snd_soc_component_write(ptr noundef %5, i32 noundef %39, i32 noundef 30583) #2 %41 = load i32, ptr @RT5663_STO_DRE_1, align 4, !tbaa !13 %42 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %41, i32 noundef 32768, i32 noundef 32768) #2 %43 = load i32, ptr @RT5663_DEPOP_1, align 4, !tbaa !13 %44 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %43, i32 noundef 12288, i32 noundef 12288) #2 %45 = load i32, ptr @RT5663_DIG_VOL_ZCD, align 4, !tbaa !13 %46 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %45, i32 noundef 192, i32 noundef 128) #2 br label %67 47: ; preds = %3 %48 = load i32, ptr %6, align 4, !tbaa !11 %49 = load i32, ptr @CODEC_VER_1, align 4, !tbaa !13 %50 = icmp eq i32 %48, %49 br i1 %50, label %51, label %56 51: ; preds = %47 %52 = load i32, ptr @RT5663_HP_LOGIC_2, align 4, !tbaa !13 %53 = load i32, ptr @RT5663_HP_SIG_SRC1_MASK, align 4, !tbaa !13 %54 = load i32, ptr @RT5663_HP_SIG_SRC1_REG, align 4, !tbaa !13 %55 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %52, i32 noundef %53, i32 noundef %54) #2 br label %67 56: ; preds = %47 %57 = load i32, ptr @RT5663_DEPOP_1, align 4, !tbaa !13 %58 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %57, i32 noundef 12288, i32 noundef 0) #2 %59 = load i32, ptr @RT5663_HP_CHARGE_PUMP_1, align 4, !tbaa !13 %60 = load i32, ptr @RT5663_OVCD_HP_MASK, align 4, !tbaa !13 %61 = load i32, ptr @RT5663_OVCD_HP_EN, align 4, !tbaa !13 %62 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %59, i32 noundef %60, i32 noundef %61) #2 %63 = load i32, ptr @RT5663_DACREF_LDO, align 4, !tbaa !13 %64 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %63, i32 noundef 15886, i32 noundef 0) #2 %65 = load i32, ptr @RT5663_DIG_VOL_ZCD, align 4, !tbaa !13 %66 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %65, i32 noundef 192, i32 noundef 0) #2 br label %67 67: ; preds = %20, %11, %56, %51, %3 ret i32 0 } declare ptr @snd_soc_dapm_to_component(i32 noundef) local_unnamed_addr #1 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_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 = !{!"snd_soc_dapm_widget", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"rt5663_priv", !8, i64 0} !13 = !{!8, !8, i64 0}
linux_sound_soc_codecs_extr_rt5663.c_rt5663_hp_event
; ModuleID = 'AnghaBench/freebsd/sys/mips/mips/extr_nexus.c_nexus_add_child.c' source_filename = "AnghaBench/freebsd/sys/mips/mips/extr_nexus.c_nexus_add_child.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @M_NEXUSDEV = dso_local local_unnamed_addr global i32 0, align 4 @M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @M_ZERO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"failed to add child: %s%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nexus_add_child], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @nexus_add_child(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @M_NEXUSDEV, align 4, !tbaa !5 %6 = load i32, ptr @M_NOWAIT, align 4, !tbaa !5 %7 = load i32, ptr @M_ZERO, align 4, !tbaa !5 %8 = or i32 %7, %6 %9 = tail call ptr @malloc(i32 noundef 4, i32 noundef %5, i32 noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %19, label %11 11: ; preds = %4 %12 = tail call i32 @resource_list_init(ptr noundef nonnull %9) #2 %13 = tail call ptr @device_add_child_ordered(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #2 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %11 %16 = tail call i32 @device_printf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %3) #2 br label %19 17: ; preds = %11 %18 = tail call i32 @device_set_ivars(ptr noundef nonnull %13, ptr noundef nonnull %9) #2 br label %19 19: ; preds = %4, %17, %15 %20 = phi ptr [ null, %15 ], [ %13, %17 ], [ null, %4 ] ret ptr %20 } declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @resource_list_init(ptr noundef) local_unnamed_addr #1 declare ptr @device_add_child_ordered(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_set_ivars(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/mips/mips/extr_nexus.c_nexus_add_child.c' source_filename = "AnghaBench/freebsd/sys/mips/mips/extr_nexus.c_nexus_add_child.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_NEXUSDEV = common local_unnamed_addr global i32 0, align 4 @M_NOWAIT = common local_unnamed_addr global i32 0, align 4 @M_ZERO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"failed to add child: %s%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @nexus_add_child], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @nexus_add_child(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @M_NEXUSDEV, align 4, !tbaa !6 %6 = load i32, ptr @M_NOWAIT, align 4, !tbaa !6 %7 = load i32, ptr @M_ZERO, align 4, !tbaa !6 %8 = or i32 %7, %6 %9 = tail call ptr @malloc(i32 noundef 4, i32 noundef %5, i32 noundef %8) #2 %10 = icmp eq ptr %9, null br i1 %10, label %19, label %11 11: ; preds = %4 %12 = tail call i32 @resource_list_init(ptr noundef nonnull %9) #2 %13 = tail call ptr @device_add_child_ordered(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #2 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %11 %16 = tail call i32 @device_printf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %3) #2 br label %19 17: ; preds = %11 %18 = tail call i32 @device_set_ivars(ptr noundef nonnull %13, ptr noundef nonnull %9) #2 br label %19 19: ; preds = %4, %17, %15 %20 = phi ptr [ null, %15 ], [ %13, %17 ], [ null, %4 ] ret ptr %20 } declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @resource_list_init(ptr noundef) local_unnamed_addr #1 declare ptr @device_add_child_ordered(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_set_ivars(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_mips_mips_extr_nexus.c_nexus_add_child
; ModuleID = 'AnghaBench/linux/drivers/siox/extr_siox-core.c_siox_device_connected.c' source_filename = "AnghaBench/linux/drivers/siox/extr_siox-core.c_siox_device_connected.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @siox_device_connected(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @siox_device_synced(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %9, label %4 4: ; preds = %1 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call i32 @siox_device_wdg_error(ptr noundef nonnull %0, i32 noundef %5) #2 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 br label %9 9: ; preds = %1, %4 %10 = phi i32 [ %8, %4 ], [ 0, %1 ] ret i32 %10 } declare i32 @siox_device_synced(ptr noundef) local_unnamed_addr #1 declare i32 @siox_device_wdg_error(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 = !{!"siox_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/siox/extr_siox-core.c_siox_device_connected.c' source_filename = "AnghaBench/linux/drivers/siox/extr_siox-core.c_siox_device_connected.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @siox_device_connected(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @siox_device_synced(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %9, label %4 4: ; preds = %1 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call i32 @siox_device_wdg_error(ptr noundef nonnull %0, i32 noundef %5) #2 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 br label %9 9: ; preds = %1, %4 %10 = phi i32 [ %8, %4 ], [ 0, %1 ] ret i32 %10 } declare i32 @siox_device_synced(ptr noundef) local_unnamed_addr #1 declare i32 @siox_device_wdg_error(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 = !{!"siox_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_siox_extr_siox-core.c_siox_device_connected
; ModuleID = 'AnghaBench/linux/fs/jffs2/extr_readinode.c_jffs2_do_clear_inode.c' source_filename = "AnghaBench/linux/fs/jffs2/extr_readinode.c_jffs2_do_clear_inode.c" target datalayout = "e-m:e-p270:32:32-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.jffs2_inode_info = type { i32, ptr, ptr, i32, ptr } %struct.TYPE_5__ = type { i64, ptr, i32 } @INO_STATE_CHECKING = dso_local local_unnamed_addr global i64 0, align 8 @INO_STATE_CLEARING = dso_local local_unnamed_addr global i32 0, align 4 @INO_STATE_CHECKEDABSENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @jffs2_do_clear_inode(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.jffs2_inode_info, ptr %1, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @jffs2_xattr_delete_inode(ptr noundef %0, ptr noundef %4) #2 %6 = tail call i32 @mutex_lock(ptr noundef %1) #2 %7 = load ptr, ptr %3, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %24, label %9 9: ; preds = %2 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 0, i32 2 %11 = load i32, ptr %10, align 8, !tbaa !11 %12 = freeze i32 %11 %13 = icmp eq i32 %12, 0 %14 = load i64, ptr %7, align 8, !tbaa !14 %15 = load i64, ptr @INO_STATE_CHECKING, align 8, !tbaa !15 %16 = icmp eq i64 %14, %15 br i1 %16, label %20, label %17 17: ; preds = %9 %18 = load i32, ptr @INO_STATE_CLEARING, align 4, !tbaa !16 %19 = tail call i32 @jffs2_set_inocache_state(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %18) #2 br label %20 20: ; preds = %17, %9 %21 = getelementptr inbounds %struct.jffs2_inode_info, ptr %1, i64 0, i32 4 %22 = load ptr, ptr %21, align 8, !tbaa !17 %23 = icmp eq ptr %22, null br i1 %23, label %37, label %28 24: ; preds = %2 %25 = getelementptr inbounds %struct.jffs2_inode_info, ptr %1, i64 0, i32 4 %26 = load ptr, ptr %25, align 8, !tbaa !17 %27 = icmp eq ptr %26, null br i1 %27, label %39, label %29 28: ; preds = %20 br i1 %13, label %32, label %29 29: ; preds = %28, %24 %30 = phi ptr [ %26, %24 ], [ %22, %28 ] %31 = tail call i32 @jffs2_free_full_dnode(ptr noundef nonnull %30) #2 br label %39 32: ; preds = %28 %33 = load i32, ptr %22, align 4, !tbaa !18 %34 = tail call i32 @jffs2_mark_node_obsolete(ptr noundef %0, i32 noundef %33) #2 %35 = load ptr, ptr %21, align 8, !tbaa !17 %36 = tail call i32 @jffs2_free_full_dnode(ptr noundef %35) #2 br label %39 37: ; preds = %20 %38 = select i1 %13, ptr %0, ptr null br label %39 39: ; preds = %24, %37, %32, %29 %40 = phi ptr [ null, %29 ], [ %0, %32 ], [ %38, %37 ], [ null, %24 ] %41 = getelementptr inbounds %struct.jffs2_inode_info, ptr %1, i64 0, i32 3 %42 = tail call i32 @jffs2_kill_fragtree(ptr noundef nonnull %41, ptr noundef %40) #2 %43 = getelementptr inbounds %struct.jffs2_inode_info, ptr %1, i64 0, i32 2 %44 = load ptr, ptr %43, align 8, !tbaa !20 %45 = icmp eq ptr %44, null br i1 %45, label %51, label %46 46: ; preds = %39, %46 %47 = phi ptr [ %48, %46 ], [ %44, %39 ] %48 = load ptr, ptr %47, align 8, !tbaa !21 %49 = tail call i32 @jffs2_free_full_dirent(ptr noundef nonnull %47) #2 %50 = icmp eq ptr %48, null br i1 %50, label %51, label %46, !llvm.loop !23 51: ; preds = %46, %39 %52 = load ptr, ptr %3, align 8, !tbaa !5 %53 = icmp eq ptr %52, null br i1 %53, label %67, label %54 54: ; preds = %51 %55 = load i64, ptr %52, align 8, !tbaa !14 %56 = load i64, ptr @INO_STATE_CHECKING, align 8, !tbaa !15 %57 = icmp eq i64 %55, %56 br i1 %57, label %67, label %58 58: ; preds = %54 %59 = load i32, ptr @INO_STATE_CHECKEDABSENT, align 4, !tbaa !16 %60 = tail call i32 @jffs2_set_inocache_state(ptr noundef %0, ptr noundef nonnull %52, i32 noundef %59) #2 %61 = load ptr, ptr %3, align 8, !tbaa !5 %62 = getelementptr inbounds %struct.TYPE_5__, ptr %61, i64 0, i32 1 %63 = load ptr, ptr %62, align 8, !tbaa !25 %64 = icmp eq ptr %63, %61 br i1 %64, label %65, label %67 65: ; preds = %58 %66 = tail call i32 @jffs2_del_ino_cache(ptr noundef %0, ptr noundef nonnull %61) #2 br label %67 67: ; preds = %58, %65, %54, %51 %68 = tail call i32 @mutex_unlock(ptr noundef nonnull %1) #2 ret void } declare i32 @jffs2_xattr_delete_inode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_set_inocache_state(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @jffs2_mark_node_obsolete(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @jffs2_free_full_dnode(ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_kill_fragtree(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_free_full_dirent(ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_del_ino_cache(ptr noundef, 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, !10, i64 8} !6 = !{!"jffs2_inode_info", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !10, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 16} !12 = !{!"TYPE_5__", !13, i64 0, !10, i64 8, !7, i64 16} !13 = !{!"long", !8, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!6, !10, i64 32} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_6__", !7, i64 0} !20 = !{!6, !10, i64 16} !21 = !{!22, !10, i64 0} !22 = !{!"jffs2_full_dirent", !10, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!12, !10, i64 8}
; ModuleID = 'AnghaBench/linux/fs/jffs2/extr_readinode.c_jffs2_do_clear_inode.c' source_filename = "AnghaBench/linux/fs/jffs2/extr_readinode.c_jffs2_do_clear_inode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INO_STATE_CHECKING = common local_unnamed_addr global i64 0, align 8 @INO_STATE_CLEARING = common local_unnamed_addr global i32 0, align 4 @INO_STATE_CHECKEDABSENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @jffs2_do_clear_inode(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @jffs2_xattr_delete_inode(ptr noundef %0, ptr noundef %4) #2 %6 = tail call i32 @mutex_lock(ptr noundef %1) #2 %7 = load ptr, ptr %3, align 8, !tbaa !6 %8 = icmp eq ptr %7, null br i1 %8, label %24, label %9 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %7, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = freeze i32 %11 %13 = icmp eq i32 %12, 0 %14 = load i64, ptr %7, align 8, !tbaa !15 %15 = load i64, ptr @INO_STATE_CHECKING, align 8, !tbaa !16 %16 = icmp eq i64 %14, %15 br i1 %16, label %20, label %17 17: ; preds = %9 %18 = load i32, ptr @INO_STATE_CLEARING, align 4, !tbaa !17 %19 = tail call i32 @jffs2_set_inocache_state(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %18) #2 br label %20 20: ; preds = %17, %9 %21 = getelementptr inbounds i8, ptr %1, i64 32 %22 = load ptr, ptr %21, align 8, !tbaa !18 %23 = icmp eq ptr %22, null br i1 %23, label %41, label %30 24: ; preds = %2 %25 = getelementptr inbounds i8, ptr %1, i64 32 %26 = load ptr, ptr %25, align 8, !tbaa !18 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %24 %29 = getelementptr inbounds i8, ptr %1, i64 24 br label %45 30: ; preds = %20 br i1 %13, label %35, label %31 31: ; preds = %30, %24 %32 = phi ptr [ %26, %24 ], [ %22, %30 ] %33 = tail call i32 @jffs2_free_full_dnode(ptr noundef nonnull %32) #2 %34 = getelementptr inbounds i8, ptr %1, i64 24 br label %45 35: ; preds = %30 %36 = load i32, ptr %22, align 4, !tbaa !19 %37 = tail call i32 @jffs2_mark_node_obsolete(ptr noundef %0, i32 noundef %36) #2 %38 = load ptr, ptr %21, align 8, !tbaa !18 %39 = tail call i32 @jffs2_free_full_dnode(ptr noundef %38) #2 %40 = getelementptr inbounds i8, ptr %1, i64 24 br label %43 41: ; preds = %20 %42 = getelementptr inbounds i8, ptr %1, i64 24 br i1 %13, label %43, label %45 43: ; preds = %35, %41 %44 = phi ptr [ %40, %35 ], [ %42, %41 ] br label %45 45: ; preds = %31, %28, %41, %43 %46 = phi ptr [ %44, %43 ], [ %42, %41 ], [ %29, %28 ], [ %34, %31 ] %47 = phi ptr [ %0, %43 ], [ null, %41 ], [ null, %28 ], [ null, %31 ] %48 = tail call i32 @jffs2_kill_fragtree(ptr noundef nonnull %46, ptr noundef %47) #2 %49 = getelementptr inbounds i8, ptr %1, i64 16 %50 = load ptr, ptr %49, align 8, !tbaa !21 %51 = icmp eq ptr %50, null br i1 %51, label %57, label %52 52: ; preds = %45, %52 %53 = phi ptr [ %54, %52 ], [ %50, %45 ] %54 = load ptr, ptr %53, align 8, !tbaa !22 %55 = tail call i32 @jffs2_free_full_dirent(ptr noundef nonnull %53) #2 %56 = icmp eq ptr %54, null br i1 %56, label %57, label %52, !llvm.loop !24 57: ; preds = %52, %45 %58 = load ptr, ptr %3, align 8, !tbaa !6 %59 = icmp eq ptr %58, null br i1 %59, label %73, label %60 60: ; preds = %57 %61 = load i64, ptr %58, align 8, !tbaa !15 %62 = load i64, ptr @INO_STATE_CHECKING, align 8, !tbaa !16 %63 = icmp eq i64 %61, %62 br i1 %63, label %73, label %64 64: ; preds = %60 %65 = load i32, ptr @INO_STATE_CHECKEDABSENT, align 4, !tbaa !17 %66 = tail call i32 @jffs2_set_inocache_state(ptr noundef %0, ptr noundef nonnull %58, i32 noundef %65) #2 %67 = load ptr, ptr %3, align 8, !tbaa !6 %68 = getelementptr inbounds i8, ptr %67, i64 8 %69 = load ptr, ptr %68, align 8, !tbaa !26 %70 = icmp eq ptr %69, %67 br i1 %70, label %71, label %73 71: ; preds = %64 %72 = tail call i32 @jffs2_del_ino_cache(ptr noundef %0, ptr noundef nonnull %67) #2 br label %73 73: ; preds = %64, %71, %60, %57 %74 = tail call i32 @mutex_unlock(ptr noundef nonnull %1) #2 ret void } declare i32 @jffs2_xattr_delete_inode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_set_inocache_state(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @jffs2_mark_node_obsolete(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @jffs2_free_full_dnode(ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_kill_fragtree(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_free_full_dirent(ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_del_ino_cache(ptr noundef, 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, !11, i64 8} !7 = !{!"jffs2_inode_info", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !11, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 16} !13 = !{!"TYPE_5__", !14, i64 0, !11, i64 8, !8, i64 16} !14 = !{!"long", !9, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!7, !11, i64 32} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_6__", !8, i64 0} !21 = !{!7, !11, i64 16} !22 = !{!23, !11, i64 0} !23 = !{!"jffs2_full_dirent", !11, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!13, !11, i64 8}
linux_fs_jffs2_extr_readinode.c_jffs2_do_clear_inode
; ModuleID = 'AnghaBench/jemalloc/test/src/extr_test.c_check_global_slow.c' source_filename = "AnghaBench/jemalloc/test/src/extr_test.c_check_global_slow.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @test_status_fail = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @check_global_slow], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @check_global_slow(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/jemalloc/test/src/extr_test.c_check_global_slow.c' source_filename = "AnghaBench/jemalloc/test/src/extr_test.c_check_global_slow.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @test_status_fail = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @check_global_slow], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @check_global_slow(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
jemalloc_test_src_extr_test.c_check_global_slow
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx/extr_mlx.c_mlx_rebuild.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx/extr_mlx.c_mlx_rebuild.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MLX_CMD_REBUILDASYNC = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"REBUILD ASYNC failed - %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"drive rebuild started for %d:%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mlx_rebuild], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mlx_rebuild(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @debug_called(i32 noundef 1) #2 %5 = tail call i32 @MLX_IO_ASSERT_LOCKED(ptr noundef %0) #2 %6 = tail call ptr @mlx_alloccmd(ptr noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %30, label %8 8: ; preds = %3 %9 = tail call i64 @mlx_getslot(ptr noundef nonnull %6) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %27 11: ; preds = %8 %12 = load i32, ptr @MLX_CMD_REBUILDASYNC, align 4, !tbaa !5 %13 = tail call i32 @mlx_make_type2(ptr noundef nonnull %6, i32 noundef %12, i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 %14 = tail call i64 @mlx_wait_command(ptr noundef nonnull %6) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %27 16: ; preds = %11 %17 = load i32, ptr %6, align 4, !tbaa !9 %18 = icmp eq i32 %17, 0 %19 = load i32, ptr %0, align 4, !tbaa !11 br i1 %18, label %23, label %20 20: ; preds = %16 %21 = tail call i32 @mlx_diagnose_command(ptr noundef nonnull %6) #2 %22 = tail call i32 (i32, ptr, i32, ...) @device_printf(i32 noundef %19, ptr noundef nonnull @.str, i32 noundef %21) #2 br label %25 23: ; preds = %16 %24 = tail call i32 (i32, ptr, i32, ...) @device_printf(i32 noundef %19, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %2) #2 br label %25 25: ; preds = %23, %20 %26 = load i32, ptr %6, align 4, !tbaa !9 br label %27 27: ; preds = %11, %8, %25 %28 = phi i32 [ %26, %25 ], [ 65536, %11 ], [ 65536, %8 ] %29 = tail call i32 @mlx_releasecmd(ptr noundef nonnull %6) #2 br label %30 30: ; preds = %3, %27 %31 = phi i32 [ %28, %27 ], [ 65536, %3 ] ret i32 %31 } declare i32 @debug_called(i32 noundef) local_unnamed_addr #1 declare i32 @MLX_IO_ASSERT_LOCKED(ptr noundef) local_unnamed_addr #1 declare ptr @mlx_alloccmd(ptr noundef) local_unnamed_addr #1 declare i64 @mlx_getslot(ptr noundef) local_unnamed_addr #1 declare i32 @mlx_make_type2(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @mlx_wait_command(ptr noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @mlx_diagnose_command(ptr noundef) local_unnamed_addr #1 declare i32 @mlx_releasecmd(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 = !{!"mlx_command", !6, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"mlx_softc", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx/extr_mlx.c_mlx_rebuild.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx/extr_mlx.c_mlx_rebuild.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX_CMD_REBUILDASYNC = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"REBUILD ASYNC failed - %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"drive rebuild started for %d:%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mlx_rebuild], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mlx_rebuild(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @debug_called(i32 noundef 1) #2 %5 = tail call i32 @MLX_IO_ASSERT_LOCKED(ptr noundef %0) #2 %6 = tail call ptr @mlx_alloccmd(ptr noundef %0) #2 %7 = icmp eq ptr %6, null br i1 %7, label %30, label %8 8: ; preds = %3 %9 = tail call i64 @mlx_getslot(ptr noundef nonnull %6) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %27 11: ; preds = %8 %12 = load i32, ptr @MLX_CMD_REBUILDASYNC, align 4, !tbaa !6 %13 = tail call i32 @mlx_make_type2(ptr noundef nonnull %6, i32 noundef %12, i32 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 %14 = tail call i64 @mlx_wait_command(ptr noundef nonnull %6) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %27 16: ; preds = %11 %17 = load i32, ptr %6, align 4, !tbaa !10 %18 = icmp eq i32 %17, 0 %19 = load i32, ptr %0, align 4, !tbaa !12 br i1 %18, label %23, label %20 20: ; preds = %16 %21 = tail call i32 @mlx_diagnose_command(ptr noundef nonnull %6) #2 %22 = tail call i32 (i32, ptr, i32, ...) @device_printf(i32 noundef %19, ptr noundef nonnull @.str, i32 noundef %21) #2 br label %25 23: ; preds = %16 %24 = tail call i32 (i32, ptr, i32, ...) @device_printf(i32 noundef %19, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %2) #2 br label %25 25: ; preds = %23, %20 %26 = load i32, ptr %6, align 4, !tbaa !10 br label %27 27: ; preds = %11, %8, %25 %28 = phi i32 [ %26, %25 ], [ 65536, %11 ], [ 65536, %8 ] %29 = tail call i32 @mlx_releasecmd(ptr noundef nonnull %6) #2 br label %30 30: ; preds = %3, %27 %31 = phi i32 [ %28, %27 ], [ 65536, %3 ] ret i32 %31 } declare i32 @debug_called(i32 noundef) local_unnamed_addr #1 declare i32 @MLX_IO_ASSERT_LOCKED(ptr noundef) local_unnamed_addr #1 declare ptr @mlx_alloccmd(ptr noundef) local_unnamed_addr #1 declare i64 @mlx_getslot(ptr noundef) local_unnamed_addr #1 declare i32 @mlx_make_type2(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @mlx_wait_command(ptr noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @mlx_diagnose_command(ptr noundef) local_unnamed_addr #1 declare i32 @mlx_releasecmd(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 = !{!"mlx_command", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"mlx_softc", !7, i64 0}
freebsd_sys_dev_mlx_extr_mlx.c_mlx_rebuild
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_transport.c_SendReceiveNoRsp.c' source_filename = "AnghaBench/linux/fs/cifs/extr_transport.c_SendReceiveNoRsp.c" target datalayout = "e-m:e-p270:32:32-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.kvec = type { ptr, i64 } @CIFS_NO_RSP_BUF = dso_local local_unnamed_addr global i32 0, align 4 @NOISY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"SendRcvNoRsp flags %d rc %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @SendReceiveNoRsp(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca [1 x %struct.kvec], align 16 %6 = alloca %struct.kvec, align 8 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store ptr %2, ptr %5, align 16, !tbaa !5 %8 = tail call i64 @get_rfc1002_length(ptr noundef %2) #3 %9 = add nsw i64 %8, 4 %10 = getelementptr inbounds %struct.kvec, ptr %5, i64 0, i32 1 store i64 %9, ptr %10, align 8, !tbaa !11 %11 = load i32, ptr @CIFS_NO_RSP_BUF, align 4, !tbaa !12 %12 = or i32 %11, %3 %13 = call i32 @SendReceive2(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %5, i32 noundef 1, ptr noundef nonnull %7, i32 noundef %12, ptr noundef nonnull %6) #3 %14 = load i32, ptr @NOISY, align 4, !tbaa !12 %15 = call i32 @cifs_dbg(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %13) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @get_rfc1002_length(ptr noundef) local_unnamed_addr #2 declare i32 @SendReceive2(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cifs_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"kvec", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_transport.c_SendReceiveNoRsp.c' source_filename = "AnghaBench/linux/fs/cifs/extr_transport.c_SendReceiveNoRsp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.kvec = type { ptr, i64 } @CIFS_NO_RSP_BUF = common local_unnamed_addr global i32 0, align 4 @NOISY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"SendRcvNoRsp flags %d rc %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @SendReceiveNoRsp(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca [1 x %struct.kvec], align 8 %6 = alloca %struct.kvec, align 8 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store ptr %2, ptr %5, align 8, !tbaa !6 %8 = tail call i64 @get_rfc1002_length(ptr noundef %2) #3 %9 = add nsw i64 %8, 4 %10 = getelementptr inbounds i8, ptr %5, i64 8 store i64 %9, ptr %10, align 8, !tbaa !12 %11 = load i32, ptr @CIFS_NO_RSP_BUF, align 4, !tbaa !13 %12 = or i32 %11, %3 %13 = call i32 @SendReceive2(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %5, i32 noundef 1, ptr noundef nonnull %7, i32 noundef %12, ptr noundef nonnull %6) #3 %14 = load i32, ptr @NOISY, align 4, !tbaa !13 %15 = call i32 @cifs_dbg(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %13) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 ret i32 %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @get_rfc1002_length(ptr noundef) local_unnamed_addr #2 declare i32 @SendReceive2(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cifs_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"kvec", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
linux_fs_cifs_extr_transport.c_SendReceiveNoRsp
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_mutex.c_mutex3_threadfunc.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_mutex.c_mutex3_threadfunc.c" target datalayout = "e-m:e-p270:32:32-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 [37 x i8] c"2: Second thread (%p). Count is %ld\0A\00", align 1 @static_mutex = dso_local global i32 0, align 4 @ts_lengthy = dso_local global i32 0, align 4 @global_x = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mutex3_threadfunc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @mutex3_threadfunc(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = sext i32 %2 to i64 %4 = tail call i32 (...) @pthread_self() #2 %5 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %4, i64 noundef %3) #2 %6 = add nsw i64 %3, -1 %7 = icmp eq i32 %2, 0 br i1 %7, label %18, label %8 8: ; preds = %1, %8 %9 = phi i64 [ %16, %8 ], [ %6, %1 ] %10 = tail call i32 @mutex_lock(ptr noundef nonnull @static_mutex, ptr noundef nonnull @ts_lengthy) #2 %11 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %10) #2 %12 = load i32, ptr @global_x, align 4, !tbaa !5 %13 = add nsw i32 %12, 1 store i32 %13, ptr @global_x, align 4, !tbaa !5 %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @static_mutex) #2 %15 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %14) #2 %16 = add nsw i64 %9, -1 %17 = icmp eq i64 %9, 0 br i1 %17, label %18, label %8, !llvm.loop !9 18: ; preds = %8, %1 %19 = phi i64 [ %6, %1 ], [ -1, %8 ] %20 = inttoptr i64 %19 to ptr ret ptr %20 } declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pthread_self(...) local_unnamed_addr #1 declare i32 @PTHREAD_REQUIRE(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_mutex.c_mutex3_threadfunc.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_mutex.c_mutex3_threadfunc.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 [37 x i8] c"2: Second thread (%p). Count is %ld\0A\00", align 1 @static_mutex = common global i32 0, align 4 @ts_lengthy = common global i32 0, align 4 @global_x = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mutex3_threadfunc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @mutex3_threadfunc(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = sext i32 %2 to i64 %4 = tail call i32 @pthread_self() #2 %5 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %4, i64 noundef %3) #2 %6 = add nsw i64 %3, -1 %7 = icmp eq i32 %2, 0 br i1 %7, label %18, label %8 8: ; preds = %1, %8 %9 = phi i64 [ %16, %8 ], [ %6, %1 ] %10 = tail call i32 @mutex_lock(ptr noundef nonnull @static_mutex, ptr noundef nonnull @ts_lengthy) #2 %11 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %10) #2 %12 = load i32, ptr @global_x, align 4, !tbaa !6 %13 = add nsw i32 %12, 1 store i32 %13, ptr @global_x, align 4, !tbaa !6 %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @static_mutex) #2 %15 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %14) #2 %16 = add nsw i64 %9, -1 %17 = icmp eq i64 %9, 0 br i1 %17, label %18, label %8, !llvm.loop !10 18: ; preds = %8, %1 %19 = phi i64 [ %6, %1 ], [ -1, %8 ] %20 = inttoptr i64 %19 to ptr ret ptr %20 } declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pthread_self(...) local_unnamed_addr #1 declare i32 @PTHREAD_REQUIRE(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_netbsd-tests_lib_libpthread_extr_t_mutex.c_mutex3_threadfunc
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_reg.c_CardGetMulticastBit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_reg.c_CardGetMulticastBit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @CardGetMulticastBit(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = load i32, ptr @ETH_ALEN, align 4, !tbaa !5 %5 = tail call i32 @CardComputeCrc(ptr noundef %0, i32 noundef %4) #2 %6 = lshr i32 %5, 26 %7 = lshr i32 %5, 29 store i32 %7, ptr %1, align 4, !tbaa !5 %8 = and i32 %6, 7 %9 = shl nuw nsw i32 1, %8 store i32 %9, ptr %2, align 4, !tbaa !5 ret void } declare i32 @CardComputeCrc(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/fastsocket/kernel/drivers/staging/winbond/extr_reg.c_CardGetMulticastBit.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_reg.c_CardGetMulticastBit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETH_ALEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @CardGetMulticastBit(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = load i32, ptr @ETH_ALEN, align 4, !tbaa !6 %5 = tail call i32 @CardComputeCrc(ptr noundef %0, i32 noundef %4) #2 %6 = lshr i32 %5, 26 %7 = lshr i32 %5, 29 store i32 %7, ptr %1, align 4, !tbaa !6 %8 = and i32 %6, 7 %9 = shl nuw nsw i32 1, %8 store i32 %9, ptr %2, align 4, !tbaa !6 ret void } declare i32 @CardComputeCrc(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"}
fastsocket_kernel_drivers_staging_winbond_extr_reg.c_CardGetMulticastBit
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_dell-smbios-smm.c_init_dell_smbios_smm.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-smbios-smm.c_init_dell_smbios_smm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @GFP_DMA32 = dso_local local_unnamed_addr global i32 0, align 4 @buffer = dso_local local_unnamed_addr global ptr null, align 8 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @find_cmd_address = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Disabling due to WSMT enabled\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"dell-smbios\00", align 1 @platform_device = dso_local local_unnamed_addr global ptr null, align 8 @dell_smbios_smm_call = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @init_dell_smbios_smm() local_unnamed_addr #0 { %1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %2 = load i32, ptr @GFP_DMA32, align 4, !tbaa !5 %3 = or i32 %2, %1 %4 = tail call i64 @__get_free_page(i32 noundef %3) #2 %5 = inttoptr i64 %4 to ptr store ptr %5, ptr @buffer, align 8, !tbaa !9 %6 = icmp eq i64 %4, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %44 10: ; preds = %0 %11 = load i32, ptr @find_cmd_address, align 4, !tbaa !5 %12 = tail call i32 @dmi_walk(i32 noundef %11, ptr noundef null) #2 %13 = tail call i64 (...) @test_wsmt_enabled() #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %19, label %15 15: ; preds = %10 %16 = tail call i32 @pr_debug(ptr noundef nonnull @.str) #2 %17 = load i32, ptr @ENODEV, align 4, !tbaa !5 %18 = sub nsw i32 0, %17 br label %39 19: ; preds = %10 %20 = tail call ptr @platform_device_alloc(ptr noundef nonnull @.str.1, i32 noundef 1) #2 store ptr %20, ptr @platform_device, align 8, !tbaa !9 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %24 = sub nsw i32 0, %23 br label %39 25: ; preds = %19 %26 = tail call i32 @platform_device_add(ptr noundef nonnull %20) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %25 %29 = load ptr, ptr @platform_device, align 8, !tbaa !9 %30 = tail call i32 @dell_smbios_register_device(ptr noundef %29, ptr noundef nonnull @dell_smbios_smm_call) #2 %31 = icmp eq i32 %30, 0 br i1 %31, label %44, label %32 32: ; preds = %28 %33 = load ptr, ptr @platform_device, align 8, !tbaa !9 %34 = tail call i32 @platform_device_del(ptr noundef %33) #2 br label %35 35: ; preds = %25, %32 %36 = phi i32 [ %26, %25 ], [ %30, %32 ] %37 = load ptr, ptr @platform_device, align 8, !tbaa !9 %38 = tail call i32 @platform_device_put(ptr noundef %37) #2 br label %39 39: ; preds = %15, %35, %22 %40 = phi i32 [ %18, %15 ], [ %36, %35 ], [ %24, %22 ] %41 = load ptr, ptr @buffer, align 8, !tbaa !9 %42 = ptrtoint ptr %41 to i64 %43 = tail call i32 @free_page(i64 noundef %42) #2 br label %44 44: ; preds = %28, %39, %7 %45 = phi i32 [ %40, %39 ], [ %9, %7 ], [ 0, %28 ] ret i32 %45 } declare i64 @__get_free_page(i32 noundef) local_unnamed_addr #1 declare i32 @dmi_walk(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @test_wsmt_enabled(...) local_unnamed_addr #1 declare i32 @pr_debug(ptr noundef) local_unnamed_addr #1 declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #1 declare i32 @dell_smbios_register_device(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @platform_device_del(ptr noundef) local_unnamed_addr #1 declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #1 declare i32 @free_page(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 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_dell-smbios-smm.c_init_dell_smbios_smm.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-smbios-smm.c_init_dell_smbios_smm.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_DMA32 = common local_unnamed_addr global i32 0, align 4 @buffer = common local_unnamed_addr global ptr null, align 8 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @find_cmd_address = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Disabling due to WSMT enabled\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"dell-smbios\00", align 1 @platform_device = common local_unnamed_addr global ptr null, align 8 @dell_smbios_smm_call = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @init_dell_smbios_smm() local_unnamed_addr #0 { %1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %2 = load i32, ptr @GFP_DMA32, align 4, !tbaa !6 %3 = or i32 %2, %1 %4 = tail call i64 @__get_free_page(i32 noundef %3) #2 %5 = inttoptr i64 %4 to ptr store ptr %5, ptr @buffer, align 8, !tbaa !10 %6 = icmp eq i64 %4, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %44 10: ; preds = %0 %11 = load i32, ptr @find_cmd_address, align 4, !tbaa !6 %12 = tail call i32 @dmi_walk(i32 noundef %11, ptr noundef null) #2 %13 = tail call i64 @test_wsmt_enabled() #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %19, label %15 15: ; preds = %10 %16 = tail call i32 @pr_debug(ptr noundef nonnull @.str) #2 %17 = load i32, ptr @ENODEV, align 4, !tbaa !6 %18 = sub nsw i32 0, %17 br label %39 19: ; preds = %10 %20 = tail call ptr @platform_device_alloc(ptr noundef nonnull @.str.1, i32 noundef 1) #2 store ptr %20, ptr @platform_device, align 8, !tbaa !10 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %24 = sub nsw i32 0, %23 br label %39 25: ; preds = %19 %26 = tail call i32 @platform_device_add(ptr noundef nonnull %20) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %25 %29 = load ptr, ptr @platform_device, align 8, !tbaa !10 %30 = tail call i32 @dell_smbios_register_device(ptr noundef %29, ptr noundef nonnull @dell_smbios_smm_call) #2 %31 = icmp eq i32 %30, 0 br i1 %31, label %44, label %32 32: ; preds = %28 %33 = load ptr, ptr @platform_device, align 8, !tbaa !10 %34 = tail call i32 @platform_device_del(ptr noundef %33) #2 br label %35 35: ; preds = %25, %32 %36 = phi i32 [ %26, %25 ], [ %30, %32 ] %37 = load ptr, ptr @platform_device, align 8, !tbaa !10 %38 = tail call i32 @platform_device_put(ptr noundef %37) #2 br label %39 39: ; preds = %15, %35, %22 %40 = phi i32 [ %18, %15 ], [ %36, %35 ], [ %24, %22 ] %41 = load ptr, ptr @buffer, align 8, !tbaa !10 %42 = ptrtoint ptr %41 to i64 %43 = tail call i32 @free_page(i64 noundef %42) #2 br label %44 44: ; preds = %28, %39, %7 %45 = phi i32 [ %40, %39 ], [ %9, %7 ], [ 0, %28 ] ret i32 %45 } declare i64 @__get_free_page(i32 noundef) local_unnamed_addr #1 declare i32 @dmi_walk(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @test_wsmt_enabled(...) local_unnamed_addr #1 declare i32 @pr_debug(ptr noundef) local_unnamed_addr #1 declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #1 declare i32 @dell_smbios_register_device(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @platform_device_del(ptr noundef) local_unnamed_addr #1 declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #1 declare i32 @free_page(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 = !{!"any pointer", !8, i64 0}
linux_drivers_platform_x86_extr_dell-smbios-smm.c_init_dell_smbios_smm
; ModuleID = 'AnghaBench/freebsd/sys/security/audit/extr_audit_syscalls.c_sys_audit.c' source_filename = "AnghaBench/freebsd/sys/security/audit/extr_audit_syscalls.c_sys_audit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i32 @sys_audit(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @ENOSYS, align 4, !tbaa !5 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/security/audit/extr_audit_syscalls.c_sys_audit.c' source_filename = "AnghaBench/freebsd/sys/security/audit/extr_audit_syscalls.c_sys_audit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOSYS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i32 @sys_audit(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @ENOSYS, align 4, !tbaa !6 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_security_audit_extr_audit_syscalls.c_sys_audit
; ModuleID = 'AnghaBench/linux/sound/soc/samsung/extr_s3c-i2s-v2.c_s3c_i2sv2_get_clock.c' source_filename = "AnghaBench/linux/sound/soc/samsung/extr_s3c-i2s-v2.c_s3c_i2sv2_get_clock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.s3c_i2sv2_info = type { ptr, ptr, i64 } @S3C2412_IISMOD = dso_local local_unnamed_addr global i64 0, align 8 @S3C2412_IISMOD_IMS_SYSMUX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @s3c_i2sv2_get_clock(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @to_info(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.s3c_i2sv2_info, ptr %2, i64 0, i32 2 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr @S3C2412_IISMOD, align 8, !tbaa !11 %6 = add nsw i64 %5, %4 %7 = tail call i32 @readl(i64 noundef %6) #2 %8 = load i32, ptr @S3C2412_IISMOD_IMS_SYSMUX, align 4, !tbaa !12 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 %11 = getelementptr inbounds %struct.s3c_i2sv2_info, ptr %2, i64 0, i32 1 %12 = select i1 %10, ptr %2, ptr %11 %13 = load ptr, ptr %12, align 8, !tbaa !14 ret ptr %13 } declare ptr @to_info(ptr 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, !10, i64 16} !6 = !{!"s3c_i2sv2_info", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/samsung/extr_s3c-i2s-v2.c_s3c_i2sv2_get_clock.c' source_filename = "AnghaBench/linux/sound/soc/samsung/extr_s3c-i2s-v2.c_s3c_i2sv2_get_clock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S3C2412_IISMOD = common local_unnamed_addr global i64 0, align 8 @S3C2412_IISMOD_IMS_SYSMUX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @s3c_i2sv2_get_clock(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @to_info(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 16 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr @S3C2412_IISMOD, align 8, !tbaa !12 %6 = add nsw i64 %5, %4 %7 = tail call i32 @readl(i64 noundef %6) #2 %8 = load i32, ptr @S3C2412_IISMOD_IMS_SYSMUX, align 4, !tbaa !13 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 %11 = select i1 %10, i64 0, i64 8 %12 = getelementptr inbounds i8, ptr %2, i64 %11 %13 = load ptr, ptr %12, align 8, !tbaa !15 ret ptr %13 } declare ptr @to_info(ptr 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, !11, i64 16} !7 = !{!"s3c_i2sv2_info", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!8, !8, i64 0}
linux_sound_soc_samsung_extr_s3c-i2s-v2.c_s3c_i2sv2_get_clock
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_user.c_vm_allocate_external.c' source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_user.c_vm_allocate_external.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @vm_allocate_external(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @VM_GET_FLAGS_ALIAS(i32 noundef %3, i32 noundef undef) #2 %6 = tail call i32 @vm_allocate_kernel(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef undef) #2 ret i32 %6 } declare i32 @VM_GET_FLAGS_ALIAS(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vm_allocate_kernel(i32 noundef, 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)"}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_user.c_vm_allocate_external.c' source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_user.c_vm_allocate_external.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 @vm_allocate_external(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @VM_GET_FLAGS_ALIAS(i32 noundef %3, i32 noundef undef) #2 %6 = tail call i32 @vm_allocate_kernel(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef undef) #2 ret i32 %6 } declare i32 @VM_GET_FLAGS_ALIAS(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vm_allocate_kernel(i32 noundef, 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)"}
darwin-xnu_osfmk_vm_extr_vm_user.c_vm_allocate_external
; ModuleID = 'AnghaBench/freebsd/usr.sbin/jail/extr_jail.c_failed.c' source_filename = "AnghaBench/freebsd/usr.sbin/jail/extr_jail.c_failed.c" target datalayout = "e-m:e-p270:32:32-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.cfjail = type { ptr, i32 } @JF_FAILED = dso_local local_unnamed_addr global i32 0, align 4 @tq = dso_local local_unnamed_addr global i32 0, align 4 @ready = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @failed(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @JF_FAILED, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.cfjail, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !9 %5 = or i32 %4, %2 store i32 %5, ptr %3, align 8, !tbaa !9 %6 = load ptr, ptr %0, align 8, !tbaa !12 %7 = load i32, ptr @tq, align 4, !tbaa !5 %8 = tail call i32 @TAILQ_REMOVE(ptr noundef %6, ptr noundef nonnull %0, i32 noundef %7) #2 %9 = load i32, ptr @tq, align 4, !tbaa !5 %10 = tail call i32 @TAILQ_INSERT_HEAD(ptr noundef nonnull @ready, ptr noundef nonnull %0, i32 noundef %9) #2 store ptr @ready, ptr %0, align 8, !tbaa !12 ret void } declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TAILQ_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"cfjail", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/jail/extr_jail.c_failed.c' source_filename = "AnghaBench/freebsd/usr.sbin/jail/extr_jail.c_failed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @JF_FAILED = common local_unnamed_addr global i32 0, align 4 @tq = common local_unnamed_addr global i32 0, align 4 @ready = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @failed(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @JF_FAILED, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !10 %5 = or i32 %4, %2 store i32 %5, ptr %3, align 8, !tbaa !10 %6 = load ptr, ptr %0, align 8, !tbaa !13 %7 = load i32, ptr @tq, align 4, !tbaa !6 %8 = tail call i32 @TAILQ_REMOVE(ptr noundef %6, ptr noundef nonnull %0, i32 noundef %7) #2 %9 = load i32, ptr @tq, align 4, !tbaa !6 %10 = tail call i32 @TAILQ_INSERT_HEAD(ptr noundef nonnull @ready, ptr noundef nonnull %0, i32 noundef %9) #2 store ptr @ready, ptr %0, align 8, !tbaa !13 ret void } declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TAILQ_INSERT_HEAD(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"cfjail", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0}
freebsd_usr.sbin_jail_extr_jail.c_failed
; ModuleID = 'AnghaBench/kphp-kdb/hints/extr_hints-data.c_get_local_user_id.c' source_filename = "AnghaBench/kphp-kdb/hints/extr_hints-data.c_get_local_user_id.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @log_split_mod = dso_local local_unnamed_addr global i32 0, align 4 @log_split_min = dso_local local_unnamed_addr global i32 0, align 4 @write_only = dso_local local_unnamed_addr global i64 0, align 8 @user_table = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @get_local_user_id(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp slt i32 %0, 1 br i1 %2, label %13, label %3 3: ; preds = %1 %4 = load i32, ptr @log_split_mod, align 4, !tbaa !5 %5 = srem i32 %0, %4 %6 = load i32, ptr @log_split_min, align 4, !tbaa !5 %7 = icmp eq i32 %5, %6 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = load i64, ptr @write_only, align 8, !tbaa !9 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = tail call i32 @ltbl_get_to(ptr noundef nonnull @user_table, i32 noundef %0) #2 br label %13 13: ; preds = %8, %3, %1, %11 %14 = phi i32 [ %12, %11 ], [ -1, %1 ], [ -1, %3 ], [ 1, %8 ] ret i32 %14 } declare i32 @ltbl_get_to(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/hints/extr_hints-data.c_get_local_user_id.c' source_filename = "AnghaBench/kphp-kdb/hints/extr_hints-data.c_get_local_user_id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @log_split_mod = common local_unnamed_addr global i32 0, align 4 @log_split_min = common local_unnamed_addr global i32 0, align 4 @write_only = common local_unnamed_addr global i64 0, align 8 @user_table = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @get_local_user_id(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp slt i32 %0, 1 br i1 %2, label %13, label %3 3: ; preds = %1 %4 = load i32, ptr @log_split_mod, align 4, !tbaa !6 %5 = srem i32 %0, %4 %6 = load i32, ptr @log_split_min, align 4, !tbaa !6 %7 = icmp eq i32 %5, %6 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = load i64, ptr @write_only, align 8, !tbaa !10 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = tail call i32 @ltbl_get_to(ptr noundef nonnull @user_table, i32 noundef %0) #2 br label %13 13: ; preds = %8, %3, %1, %11 %14 = phi i32 [ %12, %11 ], [ -1, %1 ], [ -1, %3 ], [ 1, %8 ] ret i32 %14 } declare i32 @ltbl_get_to(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}
kphp-kdb_hints_extr_hints-data.c_get_local_user_id
; ModuleID = 'AnghaBench/i3/src/extr_regex.c_regex_free.c' source_filename = "AnghaBench/i3/src/extr_regex.c_regex_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.regex = type { ptr, ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local void @regex_free(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %13, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.regex, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @FREE(ptr noundef %5) #2 %7 = getelementptr inbounds %struct.regex, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = tail call i32 @FREE(ptr noundef %8) #2 %10 = load ptr, ptr %0, align 8, !tbaa !11 %11 = tail call i32 @FREE(ptr noundef %10) #2 %12 = tail call i32 @FREE(ptr noundef nonnull %0) #2 br label %13 13: ; preds = %1, %3 ret void } 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 16} !6 = !{!"regex", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/i3/src/extr_regex.c_regex_free.c' source_filename = "AnghaBench/i3/src/extr_regex.c_regex_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @regex_free(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %13, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @FREE(ptr noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = tail call i32 @FREE(ptr noundef %8) #2 %10 = load ptr, ptr %0, align 8, !tbaa !12 %11 = tail call i32 @FREE(ptr noundef %10) #2 %12 = tail call i32 @FREE(ptr noundef nonnull %0) #2 br label %13 13: ; preds = %1, %3 ret void } 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 16} !7 = !{!"regex", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 0}
i3_src_extr_regex.c_regex_free
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/rc/extr_streamzap.c_sz_push_half_space.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/rc/extr_streamzap.c_sz_push_half_space.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SZ_SPACE_MASK = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @sz_push_half_space], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sz_push_half_space(ptr noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr @SZ_SPACE_MASK, align 8, !tbaa !5 %4 = and i64 %3, %1 %5 = tail call i32 @sz_push_full_space(ptr noundef %0, i64 noundef %4) #2 ret void } declare i32 @sz_push_full_space(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/rc/extr_streamzap.c_sz_push_half_space.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/rc/extr_streamzap.c_sz_push_half_space.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SZ_SPACE_MASK = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @sz_push_half_space], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sz_push_half_space(ptr noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr @SZ_SPACE_MASK, align 8, !tbaa !6 %4 = and i64 %3, %1 %5 = tail call i32 @sz_push_full_space(ptr noundef %0, i64 noundef %4) #2 ret void } declare i32 @sz_push_full_space(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_media_rc_extr_streamzap.c_sz_push_half_space
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/uio/extr_uio_pdrv_genirq.c_uio_pdrv_genirq_open.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/uio/extr_uio_pdrv_genirq.c_uio_pdrv_genirq_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @uio_pdrv_genirq_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @uio_pdrv_genirq_open(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = tail call i32 @pm_runtime_get_sync(ptr noundef %4) #2 ret i32 0 } declare i32 @pm_runtime_get_sync(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 = !{!"uio_info", !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 = !{!"uio_pdrv_genirq_platdata", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/uio/extr_uio_pdrv_genirq.c_uio_pdrv_genirq_open.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/uio/extr_uio_pdrv_genirq.c_uio_pdrv_genirq_open.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 @uio_pdrv_genirq_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @uio_pdrv_genirq_open(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = tail call i32 @pm_runtime_get_sync(ptr noundef %4) #2 ret i32 0 } declare i32 @pm_runtime_get_sync(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 = !{!"uio_info", !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 = !{!"uio_pdrv_genirq_platdata", !8, i64 0}
fastsocket_kernel_drivers_uio_extr_uio_pdrv_genirq.c_uio_pdrv_genirq_open
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_stv680.c_stv680_set_pict.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_stv680.c_stv680_set_pict.c" target datalayout = "e-m:e-p270:32:32-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.video_picture = type { i64, i64, i32, i32, i32, i32, i32 } %struct.usb_stv = type { i64, i32, i64, i32, i32, i32, i32, i32 } @STV_VIDEO_PALETTE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [38 x i8] c"STV(e): Palette set error in _set_pic\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @stv680_set_pict], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @stv680_set_pict(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !5 %4 = load i64, ptr @STV_VIDEO_PALETTE, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @PDEBUG(i32 noundef 2, ptr noundef nonnull @.str) #2 br label %23 8: ; preds = %2 %9 = load i64, ptr %0, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.video_picture, ptr %1, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = icmp eq i64 %9, %11 br i1 %12, label %15, label %13 13: ; preds = %8 %14 = getelementptr inbounds %struct.usb_stv, ptr %0, i64 0, i32 1 store i32 1, ptr %14, align 8, !tbaa !15 store i64 %11, ptr %0, align 8, !tbaa !12 br label %15 15: ; preds = %13, %8 %16 = getelementptr inbounds %struct.video_picture, ptr %1, i64 0, i32 6 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = getelementptr inbounds %struct.usb_stv, ptr %0, i64 0, i32 7 store i32 %17, ptr %18, align 8, !tbaa !17 %19 = getelementptr inbounds %struct.usb_stv, ptr %0, i64 0, i32 2 store i64 %3, ptr %19, align 8, !tbaa !18 %20 = getelementptr inbounds %struct.video_picture, ptr %1, i64 0, i32 2 %21 = getelementptr inbounds %struct.usb_stv, ptr %0, i64 0, i32 3 %22 = load <4 x i32>, ptr %20, align 8, !tbaa !19 store <4 x i32> %22, ptr %21, align 8, !tbaa !19 br label %23 23: ; preds = %15, %6 %24 = phi i32 [ 1, %6 ], [ 0, %15 ] ret i32 %24 } declare i32 @PDEBUG(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"video_picture", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"usb_stv", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40} !14 = !{!6, !7, i64 8} !15 = !{!13, !10, i64 8} !16 = !{!6, !10, i64 32} !17 = !{!13, !10, i64 40} !18 = !{!13, !7, i64 16} !19 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_stv680.c_stv680_set_pict.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_stv680.c_stv680_set_pict.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STV_VIDEO_PALETTE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [38 x i8] c"STV(e): Palette set error in _set_pic\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @stv680_set_pict], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @stv680_set_pict(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !6 %4 = load i64, ptr @STV_VIDEO_PALETTE, align 8, !tbaa !12 %5 = icmp eq i64 %3, %4 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @PDEBUG(i32 noundef 2, ptr noundef nonnull @.str) #2 br label %23 8: ; preds = %2 %9 = load i64, ptr %0, align 8, !tbaa !13 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = icmp eq i64 %9, %11 br i1 %12, label %15, label %13 13: ; preds = %8 %14 = getelementptr inbounds i8, ptr %0, i64 8 store i32 1, ptr %14, align 8, !tbaa !16 store i64 %11, ptr %0, align 8, !tbaa !13 br label %15 15: ; preds = %13, %8 %16 = getelementptr inbounds i8, ptr %1, i64 32 %17 = load i32, ptr %16, align 8, !tbaa !17 %18 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %17, ptr %18, align 8, !tbaa !18 %19 = getelementptr inbounds i8, ptr %0, i64 16 store i64 %3, ptr %19, align 8, !tbaa !19 %20 = getelementptr inbounds i8, ptr %1, i64 16 %21 = getelementptr inbounds i8, ptr %0, i64 24 %22 = load <4 x i32>, ptr %20, align 8, !tbaa !20 store <4 x i32> %22, ptr %21, align 8, !tbaa !20 br label %23 23: ; preds = %15, %6 %24 = phi i32 [ 1, %6 ], [ 0, %15 ] ret i32 %24 } declare i32 @PDEBUG(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"video_picture", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"usb_stv", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40} !15 = !{!7, !8, i64 8} !16 = !{!14, !11, i64 8} !17 = !{!7, !11, i64 32} !18 = !{!14, !11, i64 40} !19 = !{!14, !8, i64 16} !20 = !{!11, !11, i64 0}
fastsocket_kernel_drivers_media_video_extr_stv680.c_stv680_set_pict
; ModuleID = 'AnghaBench/linux/drivers/media/pci/solo6x10/extr_solo6x10-i2c.c_solo_i2c_isr.c' source_filename = "AnghaBench/linux/drivers/media/pci/solo6x10/extr_solo6x10-i2c.c_solo_i2c_isr.c" target datalayout = "e-m:e-p270:32:32-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.solo_dev = type { i64, i32, i64, ptr } %struct.TYPE_2__ = type { i32, ptr } @SOLO_IIC_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @SOLO_IIC_STATE_TRNS = dso_local local_unnamed_addr global i32 0, align 4 @SOLO_IIC_STATE_SIG_ERR = dso_local local_unnamed_addr global i32 0, align 4 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @I2C_M_RD = dso_local local_unnamed_addr global i32 0, align 4 @SOLO_IIC_RXD = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @solo_i2c_isr(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @SOLO_IIC_CTRL, align 4, !tbaa !5 %3 = tail call ptr @solo_reg_read(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @EINVAL, align 4, !tbaa !5 %5 = sub nsw i32 0, %4 %6 = load i32, ptr @SOLO_IIC_STATE_TRNS, align 4, !tbaa !5 %7 = load i32, ptr @SOLO_IIC_STATE_SIG_ERR, align 4, !tbaa !5 %8 = or i32 %7, %6 %9 = tail call i64 @CHK_FLAGS(ptr noundef %3, i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i64, ptr %0, align 8, !tbaa !9 %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %11, %1 %15 = tail call i32 @solo_i2c_stop(ptr noundef %0) #2 %16 = load i32, ptr @ENXIO, align 4, !tbaa !5 %17 = sub nsw i32 0, %16 br label %47 18: ; preds = %11 %19 = getelementptr inbounds %struct.solo_dev, ptr %0, i64 0, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !13 switch i32 %20, label %45 [ i32 129, label %21 i32 128, label %31 i32 130, label %33 ] 21: ; preds = %18 %22 = getelementptr inbounds %struct.solo_dev, ptr %0, i64 0, i32 3 %23 = load ptr, ptr %22, align 8, !tbaa !14 %24 = load i32, ptr %23, align 8, !tbaa !15 %25 = load i32, ptr @I2C_M_RD, align 4, !tbaa !5 %26 = and i32 %25, %24 %27 = icmp eq i32 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %21 store i32 130, ptr %19, align 8, !tbaa !13 %29 = tail call i32 @solo_i2c_handle_read(ptr noundef nonnull %0) #2 br label %47 30: ; preds = %21 store i32 128, ptr %19, align 8, !tbaa !13 br label %31 31: ; preds = %18, %30 %32 = tail call i32 @solo_i2c_handle_write(ptr noundef nonnull %0) #2 br label %47 33: ; preds = %18 %34 = load i32, ptr @SOLO_IIC_RXD, align 4, !tbaa !5 %35 = tail call ptr @solo_reg_read(ptr noundef nonnull %0, i32 noundef %34) #2 %36 = getelementptr inbounds %struct.solo_dev, ptr %0, i64 0, i32 3 %37 = load ptr, ptr %36, align 8, !tbaa !14 %38 = getelementptr inbounds %struct.TYPE_2__, ptr %37, i64 0, i32 1 %39 = load ptr, ptr %38, align 8, !tbaa !17 %40 = getelementptr inbounds %struct.solo_dev, ptr %0, i64 0, i32 2 %41 = load i64, ptr %40, align 8, !tbaa !18 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 store ptr %35, ptr %42, align 8, !tbaa !19 %43 = add i64 %41, 1 store i64 %43, ptr %40, align 8, !tbaa !18 %44 = tail call i32 @solo_i2c_handle_read(ptr noundef nonnull %0) #2 br label %47 45: ; preds = %18 %46 = tail call i32 @solo_i2c_stop(ptr noundef nonnull %0) #2 br label %47 47: ; preds = %28, %31, %33, %45, %14 %48 = phi i32 [ %17, %14 ], [ %5, %45 ], [ %44, %33 ], [ %32, %31 ], [ %29, %28 ] ret i32 %48 } declare ptr @solo_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @CHK_FLAGS(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @solo_i2c_stop(ptr noundef) local_unnamed_addr #1 declare i32 @solo_i2c_handle_read(ptr noundef) local_unnamed_addr #1 declare i32 @solo_i2c_handle_write(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 = !{!"solo_dev", !11, i64 0, !6, i64 8, !11, i64 16, !12, i64 24} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 8} !14 = !{!10, !12, i64 24} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_2__", !6, i64 0, !12, i64 8} !17 = !{!16, !12, i64 8} !18 = !{!10, !11, i64 16} !19 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/solo6x10/extr_solo6x10-i2c.c_solo_i2c_isr.c' source_filename = "AnghaBench/linux/drivers/media/pci/solo6x10/extr_solo6x10-i2c.c_solo_i2c_isr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SOLO_IIC_CTRL = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @SOLO_IIC_STATE_TRNS = common local_unnamed_addr global i32 0, align 4 @SOLO_IIC_STATE_SIG_ERR = common local_unnamed_addr global i32 0, align 4 @ENXIO = common local_unnamed_addr global i32 0, align 4 @I2C_M_RD = common local_unnamed_addr global i32 0, align 4 @SOLO_IIC_RXD = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @solo_i2c_isr(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @SOLO_IIC_CTRL, align 4, !tbaa !6 %3 = tail call ptr @solo_reg_read(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @EINVAL, align 4, !tbaa !6 %5 = sub nsw i32 0, %4 %6 = load i32, ptr @SOLO_IIC_STATE_TRNS, align 4, !tbaa !6 %7 = load i32, ptr @SOLO_IIC_STATE_SIG_ERR, align 4, !tbaa !6 %8 = or i32 %7, %6 %9 = tail call i64 @CHK_FLAGS(ptr noundef %3, i32 noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i64, ptr %0, align 8, !tbaa !10 %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %11, %1 %15 = tail call i32 @solo_i2c_stop(ptr noundef %0) #2 %16 = load i32, ptr @ENXIO, align 4, !tbaa !6 %17 = sub nsw i32 0, %16 br label %47 18: ; preds = %11 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !14 switch i32 %20, label %45 [ i32 129, label %21 i32 128, label %31 i32 130, label %33 ] 21: ; preds = %18 %22 = getelementptr inbounds i8, ptr %0, i64 24 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = load i32, ptr %23, align 8, !tbaa !16 %25 = load i32, ptr @I2C_M_RD, align 4, !tbaa !6 %26 = and i32 %25, %24 %27 = icmp eq i32 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %21 store i32 130, ptr %19, align 8, !tbaa !14 %29 = tail call i32 @solo_i2c_handle_read(ptr noundef nonnull %0) #2 br label %47 30: ; preds = %21 store i32 128, ptr %19, align 8, !tbaa !14 br label %31 31: ; preds = %18, %30 %32 = tail call i32 @solo_i2c_handle_write(ptr noundef nonnull %0) #2 br label %47 33: ; preds = %18 %34 = load i32, ptr @SOLO_IIC_RXD, align 4, !tbaa !6 %35 = tail call ptr @solo_reg_read(ptr noundef nonnull %0, i32 noundef %34) #2 %36 = getelementptr inbounds i8, ptr %0, i64 24 %37 = load ptr, ptr %36, align 8, !tbaa !15 %38 = getelementptr inbounds i8, ptr %37, i64 8 %39 = load ptr, ptr %38, align 8, !tbaa !18 %40 = getelementptr inbounds i8, ptr %0, i64 16 %41 = load i64, ptr %40, align 8, !tbaa !19 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 store ptr %35, ptr %42, align 8, !tbaa !20 %43 = add i64 %41, 1 store i64 %43, ptr %40, align 8, !tbaa !19 %44 = tail call i32 @solo_i2c_handle_read(ptr noundef nonnull %0) #2 br label %47 45: ; preds = %18 %46 = tail call i32 @solo_i2c_stop(ptr noundef nonnull %0) #2 br label %47 47: ; preds = %28, %31, %33, %45, %14 %48 = phi i32 [ %17, %14 ], [ %5, %45 ], [ %44, %33 ], [ %32, %31 ], [ %29, %28 ] ret i32 %48 } declare ptr @solo_reg_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @CHK_FLAGS(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @solo_i2c_stop(ptr noundef) local_unnamed_addr #1 declare i32 @solo_i2c_handle_read(ptr noundef) local_unnamed_addr #1 declare i32 @solo_i2c_handle_write(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 = !{!"solo_dev", !12, i64 0, !7, i64 8, !12, i64 16, !13, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!11, !13, i64 24} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_2__", !7, i64 0, !13, i64 8} !18 = !{!17, !13, i64 8} !19 = !{!11, !12, i64 16} !20 = !{!13, !13, i64 0}
linux_drivers_media_pci_solo6x10_extr_solo6x10-i2c.c_solo_i2c_isr
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_displayintel_display_types.h_intel_crtc_has_type.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_displayintel_display_types.h_intel_crtc_has_type.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_crtc_has_type], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @intel_crtc_has_type(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = shl nuw i32 1, %1 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"intel_crtc_state", !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/i915/extr_displayintel_display_types.h_intel_crtc_has_type.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_displayintel_display_types.h_intel_crtc_has_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @intel_crtc_has_type], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @intel_crtc_has_type(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = shl nuw i32 1, %1 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"intel_crtc_state", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_i915_extr_displayintel_display_types.h_intel_crtc_has_type
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_cluster.c_cluster_callback.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_cluster.c_cluster_callback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.buf = type { i32, i32, i32, i64, i64, %struct.TYPE_2__, i32, i64 } %struct.TYPE_2__ = type { i32 } @BIO_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @cluster_entry = dso_local local_unnamed_addr global i32 0, align 4 @B_INVAL = dso_local local_unnamed_addr global i32 0, align 4 @B_DIRECT = dso_local local_unnamed_addr global i32 0, align 4 @B_RELBUF = dso_local local_unnamed_addr global i32 0, align 4 @cluster_pbuf_zone = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cluster_callback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cluster_callback(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @BIO_ERROR, align 4, !tbaa !12 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.buf, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !13 br label %9 9: ; preds = %6, %1 %10 = phi i32 [ %8, %6 ], [ 0, %1 ] %11 = tail call i64 @buf_mapped(ptr noundef nonnull %0) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %21, label %13 13: ; preds = %9 %14 = getelementptr inbounds %struct.buf, ptr %0, i64 0, i32 7 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = trunc i64 %15 to i32 %17 = tail call i32 @trunc_page(i32 noundef %16) #3 %18 = getelementptr inbounds %struct.buf, ptr %0, i64 0, i32 6 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = tail call i32 @pmap_qremove(i32 noundef %17, i32 noundef %19) #3 br label %21 21: ; preds = %13, %9 %22 = getelementptr inbounds %struct.buf, ptr %0, i64 0, i32 5 %23 = tail call ptr @TAILQ_FIRST(ptr noundef nonnull %22) #3 %24 = icmp eq ptr %23, null br i1 %24, label %57, label %25 25: ; preds = %21 %26 = icmp eq i32 %10, 0 br label %27 27: ; preds = %25, %54 %28 = phi ptr [ %23, %25 ], [ %31, %54 ] %29 = getelementptr inbounds %struct.buf, ptr %28, i64 0, i32 5 %30 = load i32, ptr @cluster_entry, align 4, !tbaa !12 %31 = tail call ptr @TAILQ_NEXT(ptr noundef nonnull %29, i32 noundef %30) #3 br i1 %26, label %37, label %32 32: ; preds = %27 %33 = load i32, ptr @BIO_ERROR, align 4, !tbaa !12 %34 = load i32, ptr %28, align 8, !tbaa !5 %35 = or i32 %34, %33 store i32 %35, ptr %28, align 8, !tbaa !5 %36 = getelementptr inbounds %struct.buf, ptr %28, i64 0, i32 1 store i32 %10, ptr %36, align 4, !tbaa !13 br label %54 37: ; preds = %27 %38 = getelementptr inbounds %struct.buf, ptr %28, i64 0, i32 3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %38, i8 0, i64 16, i1 false) %39 = load i32, ptr @B_INVAL, align 4, !tbaa !12 %40 = xor i32 %39, -1 %41 = getelementptr inbounds %struct.buf, ptr %28, i64 0, i32 2 %42 = load i32, ptr %41, align 8, !tbaa !16 %43 = and i32 %42, %40 store i32 %43, ptr %41, align 8, !tbaa !16 %44 = load i32, ptr @BIO_ERROR, align 4, !tbaa !12 %45 = xor i32 %44, -1 %46 = load i32, ptr %28, align 8, !tbaa !5 %47 = and i32 %46, %45 store i32 %47, ptr %28, align 8, !tbaa !5 %48 = load i32, ptr @B_DIRECT, align 4, !tbaa !12 %49 = and i32 %48, %43 %50 = icmp eq i32 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %37 %52 = load i32, ptr @B_RELBUF, align 4, !tbaa !12 %53 = or i32 %52, %43 store i32 %53, ptr %41, align 8, !tbaa !16 br label %54 54: ; preds = %37, %51, %32 %55 = tail call i32 @bufdone(ptr noundef nonnull %28) #3 %56 = icmp eq ptr %31, null br i1 %56, label %57, label %27, !llvm.loop !17 57: ; preds = %54, %21 %58 = tail call i32 @pbrelvp(ptr noundef nonnull %0) #3 %59 = load i32, ptr @cluster_pbuf_zone, align 4, !tbaa !12 %60 = tail call i32 @uma_zfree(i32 noundef %59, ptr noundef nonnull %0) #3 ret void } declare i64 @buf_mapped(ptr noundef) local_unnamed_addr #1 declare i32 @pmap_qremove(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @trunc_page(i32 noundef) local_unnamed_addr #1 declare ptr @TAILQ_FIRST(ptr noundef) local_unnamed_addr #1 declare ptr @TAILQ_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bufdone(ptr noundef) local_unnamed_addr #1 declare i32 @pbrelvp(ptr noundef) local_unnamed_addr #1 declare i32 @uma_zfree(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"buf", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !7, i64 36, !10, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 4} !14 = !{!6, !10, i64 40} !15 = !{!6, !7, i64 36} !16 = !{!6, !7, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_cluster.c_cluster_callback.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_cluster.c_cluster_callback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BIO_ERROR = common local_unnamed_addr global i32 0, align 4 @cluster_entry = common local_unnamed_addr global i32 0, align 4 @B_INVAL = common local_unnamed_addr global i32 0, align 4 @B_DIRECT = common local_unnamed_addr global i32 0, align 4 @B_RELBUF = common local_unnamed_addr global i32 0, align 4 @cluster_pbuf_zone = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cluster_callback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cluster_callback(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @BIO_ERROR, align 4, !tbaa !13 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !14 br label %9 9: ; preds = %6, %1 %10 = phi i32 [ %8, %6 ], [ 0, %1 ] %11 = tail call i64 @buf_mapped(ptr noundef nonnull %0) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %21, label %13 13: ; preds = %9 %14 = getelementptr inbounds i8, ptr %0, i64 40 %15 = load i64, ptr %14, align 8, !tbaa !15 %16 = trunc i64 %15 to i32 %17 = tail call i32 @trunc_page(i32 noundef %16) #3 %18 = getelementptr inbounds i8, ptr %0, i64 36 %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = tail call i32 @pmap_qremove(i32 noundef %17, i32 noundef %19) #3 br label %21 21: ; preds = %13, %9 %22 = getelementptr inbounds i8, ptr %0, i64 32 %23 = tail call ptr @TAILQ_FIRST(ptr noundef nonnull %22) #3 %24 = icmp eq ptr %23, null br i1 %24, label %57, label %25 25: ; preds = %21 %26 = icmp eq i32 %10, 0 br label %27 27: ; preds = %25, %54 %28 = phi ptr [ %23, %25 ], [ %31, %54 ] %29 = getelementptr inbounds i8, ptr %28, i64 32 %30 = load i32, ptr @cluster_entry, align 4, !tbaa !13 %31 = tail call ptr @TAILQ_NEXT(ptr noundef nonnull %29, i32 noundef %30) #3 br i1 %26, label %37, label %32 32: ; preds = %27 %33 = load i32, ptr @BIO_ERROR, align 4, !tbaa !13 %34 = load i32, ptr %28, align 8, !tbaa !6 %35 = or i32 %34, %33 store i32 %35, ptr %28, align 8, !tbaa !6 %36 = getelementptr inbounds i8, ptr %28, i64 4 store i32 %10, ptr %36, align 4, !tbaa !14 br label %54 37: ; preds = %27 %38 = getelementptr inbounds i8, ptr %28, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %38, i8 0, i64 16, i1 false) %39 = load i32, ptr @B_INVAL, align 4, !tbaa !13 %40 = xor i32 %39, -1 %41 = getelementptr inbounds i8, ptr %28, i64 8 %42 = load i32, ptr %41, align 8, !tbaa !17 %43 = and i32 %42, %40 store i32 %43, ptr %41, align 8, !tbaa !17 %44 = load i32, ptr @BIO_ERROR, align 4, !tbaa !13 %45 = xor i32 %44, -1 %46 = load i32, ptr %28, align 8, !tbaa !6 %47 = and i32 %46, %45 store i32 %47, ptr %28, align 8, !tbaa !6 %48 = load i32, ptr @B_DIRECT, align 4, !tbaa !13 %49 = and i32 %48, %43 %50 = icmp eq i32 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %37 %52 = load i32, ptr @B_RELBUF, align 4, !tbaa !13 %53 = or i32 %52, %43 store i32 %53, ptr %41, align 8, !tbaa !17 br label %54 54: ; preds = %37, %51, %32 %55 = tail call i32 @bufdone(ptr noundef nonnull %28) #3 %56 = icmp eq ptr %31, null br i1 %56, label %57, label %27, !llvm.loop !18 57: ; preds = %54, %21 %58 = tail call i32 @pbrelvp(ptr noundef nonnull %0) #3 %59 = load i32, ptr @cluster_pbuf_zone, align 4, !tbaa !13 %60 = tail call i32 @uma_zfree(i32 noundef %59, ptr noundef nonnull %0) #3 ret void } declare i64 @buf_mapped(ptr noundef) local_unnamed_addr #1 declare i32 @pmap_qremove(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @trunc_page(i32 noundef) local_unnamed_addr #1 declare ptr @TAILQ_FIRST(ptr noundef) local_unnamed_addr #1 declare ptr @TAILQ_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bufdone(ptr noundef) local_unnamed_addr #1 declare i32 @pbrelvp(ptr noundef) local_unnamed_addr #1 declare i32 @uma_zfree(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"buf", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !8, i64 36, !11, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 4} !15 = !{!7, !11, i64 40} !16 = !{!7, !8, i64 36} !17 = !{!7, !8, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
freebsd_sys_kern_extr_vfs_cluster.c_cluster_callback
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-s3c2412/extr_clock.c_s3c2412_getrate_uart.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-s3c2412/extr_clock.c_s3c2412_getrate_uart.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @S3C2410_CLKDIVN = dso_local local_unnamed_addr global i32 0, align 4 @S3C2412_CLKDIVN_UARTDIV_MASK = dso_local local_unnamed_addr global i64 0, align 8 @S3C2412_CLKDIVN_UARTDIV_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @s3c2412_getrate_uart], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @s3c2412_getrate_uart(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i64 @clk_get_rate(i32 noundef %2) #2 %4 = load i32, ptr @S3C2410_CLKDIVN, align 4, !tbaa !10 %5 = tail call i64 @__raw_readl(i32 noundef %4) #2 %6 = load i64, ptr @S3C2412_CLKDIVN_UARTDIV_MASK, align 8, !tbaa !11 %7 = and i64 %6, %5 %8 = load i64, ptr @S3C2412_CLKDIVN_UARTDIV_SHIFT, align 8, !tbaa !11 %9 = lshr i64 %7, %8 %10 = add i64 %9, 1 %11 = udiv i64 %3, %10 ret i64 %11 } declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1 declare i64 @__raw_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 = !{!"clk", !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 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-s3c2412/extr_clock.c_s3c2412_getrate_uart.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-s3c2412/extr_clock.c_s3c2412_getrate_uart.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S3C2410_CLKDIVN = common local_unnamed_addr global i32 0, align 4 @S3C2412_CLKDIVN_UARTDIV_MASK = common local_unnamed_addr global i64 0, align 8 @S3C2412_CLKDIVN_UARTDIV_SHIFT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @s3c2412_getrate_uart], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @s3c2412_getrate_uart(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i64 @clk_get_rate(i32 noundef %2) #2 %4 = load i32, ptr @S3C2410_CLKDIVN, align 4, !tbaa !11 %5 = tail call i64 @__raw_readl(i32 noundef %4) #2 %6 = load i64, ptr @S3C2412_CLKDIVN_UARTDIV_MASK, align 8, !tbaa !12 %7 = and i64 %6, %5 %8 = load i64, ptr @S3C2412_CLKDIVN_UARTDIV_SHIFT, align 8, !tbaa !12 %9 = lshr i64 %7, %8 %10 = add i64 %9, 1 %11 = udiv i64 %3, %10 ret i64 %11 } declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1 declare i64 @__raw_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 = !{!"clk", !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 = !{!"long", !9, i64 0}
fastsocket_kernel_arch_arm_mach-s3c2412_extr_clock.c_s3c2412_getrate_uart
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_stdu.c_vmw_stdu_bo_fifo_size_cpu.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_stdu.c_vmw_stdu_bo_fifo_size_cpu.c" target datalayout = "e-m:e-p270:32:32-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 @vmw_stdu_bo_fifo_size_cpu], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @vmw_stdu_bo_fifo_size_cpu(ptr nocapture readnone %0, i32 %1) #0 { ret i32 8 } 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/gpu/drm/vmwgfx/extr_vmwgfx_stdu.c_vmw_stdu_bo_fifo_size_cpu.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_stdu.c_vmw_stdu_bo_fifo_size_cpu.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 @vmw_stdu_bo_fifo_size_cpu], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @vmw_stdu_bo_fifo_size_cpu(ptr nocapture readnone %0, i32 %1) #0 { ret i32 8 } 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_gpu_drm_vmwgfx_extr_vmwgfx_stdu.c_vmw_stdu_bo_fifo_size_cpu
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_file.c_alloc_fdmem.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_file.c_alloc_fdmem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @alloc_fdmem], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @alloc_fdmem(i32 noundef %0) #0 { %2 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %3 = icmp ult i32 %2, %0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %6 = tail call ptr @kmalloc(i32 noundef %0, i32 noundef %5) #2 br label %9 7: ; preds = %1 %8 = tail call ptr @vmalloc(i32 noundef %0) #2 br label %9 9: ; preds = %7, %4 %10 = phi ptr [ %6, %4 ], [ %8, %7 ] ret ptr %10 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @vmalloc(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_file.c_alloc_fdmem.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_file.c_alloc_fdmem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @alloc_fdmem], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @alloc_fdmem(i32 noundef %0) #0 { %2 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %3 = icmp ult i32 %2, %0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %6 = tail call ptr @kmalloc(i32 noundef %0, i32 noundef %5) #2 br label %9 7: ; preds = %1 %8 = tail call ptr @vmalloc(i32 noundef %0) #2 br label %9 9: ; preds = %7, %4 %10 = phi ptr [ %6, %4 ], [ %8, %7 ] ret ptr %10 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @vmalloc(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_extr_file.c_alloc_fdmem
; ModuleID = 'AnghaBench/linux/sound/pci/extr_via82xx.c_snd_via82xx_codec_xread.c' source_filename = "AnghaBench/linux/sound/pci/extr_via82xx.c_snd_via82xx_codec_xread.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AC97 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_via82xx_codec_xread], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @snd_via82xx_codec_xread(ptr noundef %0) #0 { %2 = load i32, ptr @AC97, align 4, !tbaa !5 %3 = tail call i32 @VIAREG(ptr noundef %0, i32 noundef %2) #2 %4 = tail call i32 @inl(i32 noundef %3) #2 ret i32 %4 } declare i32 @inl(i32 noundef) local_unnamed_addr #1 declare i32 @VIAREG(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/pci/extr_via82xx.c_snd_via82xx_codec_xread.c' source_filename = "AnghaBench/linux/sound/pci/extr_via82xx.c_snd_via82xx_codec_xread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AC97 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_via82xx_codec_xread], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @snd_via82xx_codec_xread(ptr noundef %0) #0 { %2 = load i32, ptr @AC97, align 4, !tbaa !6 %3 = tail call i32 @VIAREG(ptr noundef %0, i32 noundef %2) #2 %4 = tail call i32 @inl(i32 noundef %3) #2 ret i32 %4 } declare i32 @inl(i32 noundef) local_unnamed_addr #1 declare i32 @VIAREG(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_sound_pci_extr_via82xx.c_snd_via82xx_codec_xread
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/console/extr_tileblit.c_tile_clear_margins.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/console/extr_tileblit.c_tile_clear_margins.c" target datalayout = "e-m:e-p270:32:32-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 @tile_clear_margins], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @tile_clear_margins(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/console/extr_tileblit.c_tile_clear_margins.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/console/extr_tileblit.c_tile_clear_margins.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 @tile_clear_margins], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @tile_clear_margins(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_video_console_extr_tileblit.c_tile_clear_margins
; ModuleID = 'AnghaBench/linux/sound/pci/lola/extr_lola_proc.c_print_clock_widget.c' source_filename = "AnghaBench/linux/sound/pci/lola/extr_lola_proc.c_print_clock_widget.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LOLA_PAR_AUDIO_WIDGET_CAP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Node 0x%02x [Clock] wcaps 0x%x\0A\00", align 1 @LOLA_VERB_GET_CLOCK_LIST = dso_local local_unnamed_addr global i32 0, align 4 @LOLA_CLOCK_TYPE_INTERNAL = dso_local local_unnamed_addr global i8 0, align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Internal\00", align 1 @LOLA_CLOCK_TYPE_VIDEO = dso_local local_unnamed_addr global i8 0, align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Video\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Other\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c" Clock %d: Type %d:%s, freq=%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @print_clock_widget], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @print_clock_widget(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @LOLA_PAR_AUDIO_WIDGET_CAP, align 4, !tbaa !5 %7 = call i32 @lola_read_param(ptr noundef %1, i32 noundef %2, i32 noundef %6, ptr noundef nonnull %4) #3 %8 = load i32, ptr %4, align 4, !tbaa !5 %9 = trunc i32 %8 to i8 %10 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2, i8 noundef zeroext %9) #3 %11 = load i32, ptr %4, align 4, !tbaa !5 %12 = and i32 %11, 255 %13 = icmp eq i32 %12, 0 br i1 %13, label %116, label %14 14: ; preds = %3 %15 = zext nneg i32 %12 to i64 br label %16 16: ; preds = %113, %14 %17 = phi i64 [ 0, %14 ], [ %114, %113 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %18 = load i32, ptr @LOLA_VERB_GET_CLOCK_LIST, align 4, !tbaa !5 %19 = trunc i64 %17 to i32 %20 = call i32 @lola_codec_read(ptr noundef %1, i32 noundef %2, i32 noundef %18, i32 noundef %19, i32 noundef 0, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %21 = load i32, ptr %4, align 4, !tbaa !5 %22 = trunc i32 %21 to i16 %23 = lshr i32 %21, 16 %24 = load i32, ptr %5, align 4, !tbaa !5 %25 = trunc i32 %24 to i16 %26 = lshr i32 %24, 16 %27 = lshr i16 %22, 8 %28 = and i16 %27, 15 %29 = trunc i16 %28 to i8 %30 = and i32 %21, 255 %31 = load i8, ptr @LOLA_CLOCK_TYPE_INTERNAL, align 1, !tbaa !9 %32 = zext i8 %31 to i16 %33 = icmp eq i16 %28, %32 br i1 %33, label %38, label %34 34: ; preds = %16 %35 = load i8, ptr @LOLA_CLOCK_TYPE_VIDEO, align 1, !tbaa !9 %36 = zext i8 %35 to i16 %37 = icmp eq i16 %28, %36 br i1 %37, label %38, label %41 38: ; preds = %34, %16 %39 = phi ptr [ @.str.1, %16 ], [ @.str.2, %34 ] %40 = call i32 @lola_sample_rate_convert(i32 noundef %30) #3 br label %41 41: ; preds = %38, %34 %42 = phi ptr [ @.str.3, %34 ], [ %39, %38 ] %43 = phi i32 [ %30, %34 ], [ %40, %38 ] %44 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %19, i8 noundef zeroext %29, ptr noundef nonnull %42, i32 noundef %43) #3 %45 = lshr i32 %21, 24 %46 = trunc i32 %45 to i16 %47 = and i16 %46, 15 %48 = trunc i16 %47 to i8 %49 = and i32 %23, 255 %50 = or disjoint i64 %17, 1 %51 = icmp ult i64 %50, %15 br i1 %51, label %52, label %113 52: ; preds = %41 %53 = load i8, ptr @LOLA_CLOCK_TYPE_INTERNAL, align 1, !tbaa !9 %54 = zext i8 %53 to i16 %55 = icmp eq i16 %47, %54 br i1 %55, label %60, label %56 56: ; preds = %52 %57 = load i8, ptr @LOLA_CLOCK_TYPE_VIDEO, align 1, !tbaa !9 %58 = zext i8 %57 to i16 %59 = icmp eq i16 %47, %58 br i1 %59, label %60, label %63 60: ; preds = %52, %56 %61 = phi ptr [ @.str.2, %56 ], [ @.str.1, %52 ] %62 = call i32 @lola_sample_rate_convert(i32 noundef %49) #3 br label %63 63: ; preds = %60, %56 %64 = phi ptr [ @.str.3, %56 ], [ %61, %60 ] %65 = phi i32 [ %49, %56 ], [ %62, %60 ] %66 = trunc i64 %50 to i32 %67 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %66, i8 noundef zeroext %48, ptr noundef nonnull %64, i32 noundef %65) #3 %68 = lshr i16 %25, 8 %69 = and i16 %68, 15 %70 = trunc i16 %69 to i8 %71 = and i32 %24, 255 %72 = or disjoint i64 %17, 2 %73 = icmp ult i64 %72, %15 br i1 %73, label %74, label %113 74: ; preds = %63 %75 = load i8, ptr @LOLA_CLOCK_TYPE_INTERNAL, align 1, !tbaa !9 %76 = zext i8 %75 to i16 %77 = icmp eq i16 %69, %76 br i1 %77, label %82, label %78 78: ; preds = %74 %79 = load i8, ptr @LOLA_CLOCK_TYPE_VIDEO, align 1, !tbaa !9 %80 = zext i8 %79 to i16 %81 = icmp eq i16 %69, %80 br i1 %81, label %82, label %85 82: ; preds = %74, %78 %83 = phi ptr [ @.str.2, %78 ], [ @.str.1, %74 ] %84 = call i32 @lola_sample_rate_convert(i32 noundef %71) #3 br label %85 85: ; preds = %82, %78 %86 = phi ptr [ @.str.3, %78 ], [ %83, %82 ] %87 = phi i32 [ %71, %78 ], [ %84, %82 ] %88 = trunc i64 %72 to i32 %89 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %88, i8 noundef zeroext %70, ptr noundef nonnull %86, i32 noundef %87) #3 %90 = lshr i32 %24, 24 %91 = trunc i32 %90 to i16 %92 = and i16 %91, 15 %93 = trunc i16 %92 to i8 %94 = and i32 %26, 255 %95 = or disjoint i64 %17, 3 %96 = icmp ult i64 %95, %15 br i1 %96, label %97, label %113 97: ; preds = %85 %98 = load i8, ptr @LOLA_CLOCK_TYPE_INTERNAL, align 1, !tbaa !9 %99 = zext i8 %98 to i16 %100 = icmp eq i16 %92, %99 br i1 %100, label %105, label %101 101: ; preds = %97 %102 = load i8, ptr @LOLA_CLOCK_TYPE_VIDEO, align 1, !tbaa !9 %103 = zext i8 %102 to i16 %104 = icmp eq i16 %92, %103 br i1 %104, label %105, label %108 105: ; preds = %97, %101 %106 = phi ptr [ @.str.2, %101 ], [ @.str.1, %97 ] %107 = call i32 @lola_sample_rate_convert(i32 noundef %94) #3 br label %108 108: ; preds = %105, %101 %109 = phi ptr [ @.str.3, %101 ], [ %106, %105 ] %110 = phi i32 [ %94, %101 ], [ %107, %105 ] %111 = trunc i64 %95 to i32 %112 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %111, i8 noundef zeroext %93, ptr noundef nonnull %109, i32 noundef %110) #3 br label %113 113: ; preds = %108, %85, %63, %41 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 %114 = add nuw nsw i64 %17, 4 %115 = icmp ult i64 %114, %15 br i1 %115, label %16, label %116, !llvm.loop !10 116: ; preds = %113, %3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @lola_read_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snd_iprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, ...) local_unnamed_addr #2 declare i32 @lola_codec_read(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lola_sample_rate_convert(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 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/sound/pci/lola/extr_lola_proc.c_print_clock_widget.c' source_filename = "AnghaBench/linux/sound/pci/lola/extr_lola_proc.c_print_clock_widget.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LOLA_PAR_AUDIO_WIDGET_CAP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Node 0x%02x [Clock] wcaps 0x%x\0A\00", align 1 @LOLA_VERB_GET_CLOCK_LIST = common local_unnamed_addr global i32 0, align 4 @LOLA_CLOCK_TYPE_INTERNAL = common local_unnamed_addr global i8 0, align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Internal\00", align 1 @LOLA_CLOCK_TYPE_VIDEO = common local_unnamed_addr global i8 0, align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Video\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Other\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c" Clock %d: Type %d:%s, freq=%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @print_clock_widget], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @print_clock_widget(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @LOLA_PAR_AUDIO_WIDGET_CAP, align 4, !tbaa !6 %7 = call i32 @lola_read_param(ptr noundef %1, i32 noundef %2, i32 noundef %6, ptr noundef nonnull %4) #3 %8 = load i32, ptr %4, align 4, !tbaa !6 %9 = trunc i32 %8 to i8 %10 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2, i8 noundef zeroext %9) #3 %11 = load i32, ptr %4, align 4, !tbaa !6 %12 = and i32 %11, 255 %13 = icmp eq i32 %12, 0 br i1 %13, label %116, label %14 14: ; preds = %3 %15 = zext nneg i32 %12 to i64 br label %16 16: ; preds = %113, %14 %17 = phi i64 [ 0, %14 ], [ %114, %113 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %18 = load i32, ptr @LOLA_VERB_GET_CLOCK_LIST, align 4, !tbaa !6 %19 = trunc nuw nsw i64 %17 to i32 %20 = call i32 @lola_codec_read(ptr noundef %1, i32 noundef %2, i32 noundef %18, i32 noundef %19, i32 noundef 0, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %21 = load i32, ptr %4, align 4, !tbaa !6 %22 = trunc i32 %21 to i16 %23 = lshr i32 %21, 16 %24 = load i32, ptr %5, align 4, !tbaa !6 %25 = trunc i32 %24 to i16 %26 = lshr i32 %24, 16 %27 = lshr i16 %22, 8 %28 = and i16 %27, 15 %29 = trunc nuw nsw i16 %28 to i8 %30 = and i32 %21, 255 %31 = load i8, ptr @LOLA_CLOCK_TYPE_INTERNAL, align 1, !tbaa !10 %32 = zext i8 %31 to i16 %33 = icmp eq i16 %28, %32 br i1 %33, label %38, label %34 34: ; preds = %16 %35 = load i8, ptr @LOLA_CLOCK_TYPE_VIDEO, align 1, !tbaa !10 %36 = zext i8 %35 to i16 %37 = icmp eq i16 %28, %36 br i1 %37, label %38, label %41 38: ; preds = %34, %16 %39 = phi ptr [ @.str.1, %16 ], [ @.str.2, %34 ] %40 = call i32 @lola_sample_rate_convert(i32 noundef %30) #3 br label %41 41: ; preds = %38, %34 %42 = phi ptr [ @.str.3, %34 ], [ %39, %38 ] %43 = phi i32 [ %30, %34 ], [ %40, %38 ] %44 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %19, i8 noundef zeroext %29, ptr noundef nonnull %42, i32 noundef %43) #3 %45 = lshr i32 %21, 24 %46 = trunc nuw nsw i32 %45 to i16 %47 = and i16 %46, 15 %48 = trunc nuw nsw i16 %47 to i8 %49 = and i32 %23, 255 %50 = or disjoint i64 %17, 1 %51 = icmp ult i64 %50, %15 br i1 %51, label %52, label %113 52: ; preds = %41 %53 = load i8, ptr @LOLA_CLOCK_TYPE_INTERNAL, align 1, !tbaa !10 %54 = zext i8 %53 to i16 %55 = icmp eq i16 %47, %54 br i1 %55, label %60, label %56 56: ; preds = %52 %57 = load i8, ptr @LOLA_CLOCK_TYPE_VIDEO, align 1, !tbaa !10 %58 = zext i8 %57 to i16 %59 = icmp eq i16 %47, %58 br i1 %59, label %60, label %63 60: ; preds = %52, %56 %61 = phi ptr [ @.str.2, %56 ], [ @.str.1, %52 ] %62 = call i32 @lola_sample_rate_convert(i32 noundef %49) #3 br label %63 63: ; preds = %60, %56 %64 = phi ptr [ @.str.3, %56 ], [ %61, %60 ] %65 = phi i32 [ %49, %56 ], [ %62, %60 ] %66 = trunc nuw nsw i64 %50 to i32 %67 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %66, i8 noundef zeroext %48, ptr noundef nonnull %64, i32 noundef %65) #3 %68 = lshr i16 %25, 8 %69 = and i16 %68, 15 %70 = trunc nuw nsw i16 %69 to i8 %71 = and i32 %24, 255 %72 = or disjoint i64 %17, 2 %73 = icmp ult i64 %72, %15 br i1 %73, label %74, label %113 74: ; preds = %63 %75 = load i8, ptr @LOLA_CLOCK_TYPE_INTERNAL, align 1, !tbaa !10 %76 = zext i8 %75 to i16 %77 = icmp eq i16 %69, %76 br i1 %77, label %82, label %78 78: ; preds = %74 %79 = load i8, ptr @LOLA_CLOCK_TYPE_VIDEO, align 1, !tbaa !10 %80 = zext i8 %79 to i16 %81 = icmp eq i16 %69, %80 br i1 %81, label %82, label %85 82: ; preds = %74, %78 %83 = phi ptr [ @.str.2, %78 ], [ @.str.1, %74 ] %84 = call i32 @lola_sample_rate_convert(i32 noundef %71) #3 br label %85 85: ; preds = %82, %78 %86 = phi ptr [ @.str.3, %78 ], [ %83, %82 ] %87 = phi i32 [ %71, %78 ], [ %84, %82 ] %88 = trunc nuw nsw i64 %72 to i32 %89 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %88, i8 noundef zeroext %70, ptr noundef nonnull %86, i32 noundef %87) #3 %90 = lshr i32 %24, 24 %91 = trunc nuw nsw i32 %90 to i16 %92 = and i16 %91, 15 %93 = trunc nuw nsw i16 %92 to i8 %94 = and i32 %26, 255 %95 = or disjoint i64 %17, 3 %96 = icmp ult i64 %95, %15 br i1 %96, label %97, label %113 97: ; preds = %85 %98 = load i8, ptr @LOLA_CLOCK_TYPE_INTERNAL, align 1, !tbaa !10 %99 = zext i8 %98 to i16 %100 = icmp eq i16 %92, %99 br i1 %100, label %105, label %101 101: ; preds = %97 %102 = load i8, ptr @LOLA_CLOCK_TYPE_VIDEO, align 1, !tbaa !10 %103 = zext i8 %102 to i16 %104 = icmp eq i16 %92, %103 br i1 %104, label %105, label %108 105: ; preds = %97, %101 %106 = phi ptr [ @.str.2, %101 ], [ @.str.1, %97 ] %107 = call i32 @lola_sample_rate_convert(i32 noundef %94) #3 br label %108 108: ; preds = %105, %101 %109 = phi ptr [ @.str.3, %101 ], [ %106, %105 ] %110 = phi i32 [ %94, %101 ], [ %107, %105 ] %111 = trunc nuw nsw i64 %95 to i32 %112 = call i32 (ptr, ptr, i32, i8, ...) @snd_iprintf(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %111, i8 noundef zeroext %93, ptr noundef nonnull %109, i32 noundef %110) #3 br label %113 113: ; preds = %108, %85, %63, %41 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 %114 = add nuw nsw i64 %17, 4 %115 = icmp ult i64 %114, %15 br i1 %115, label %16, label %116, !llvm.loop !11 116: ; preds = %113, %3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @lola_read_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snd_iprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, ...) local_unnamed_addr #2 declare i32 @lola_codec_read(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lola_sample_rate_convert(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 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
linux_sound_pci_lola_extr_lola_proc.c_print_clock_widget
; ModuleID = 'AnghaBench/freebsd/sys/dev/cyapa/extr_cyapa.c_cyapa_start.c' source_filename = "AnghaBench/freebsd/sys/dev/cyapa/extr_cyapa.c_cyapa_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" @CMD_POWER_MODE_IDLE = dso_local local_unnamed_addr global i32 0, align 4 @cyapa_poll_thread = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"cyapa-poll\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cyapa_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cyapa_start(ptr noundef %0) #0 { %2 = tail call ptr @device_get_softc(ptr noundef %0) #2 %3 = tail call i32 @config_intrhook_disestablish(ptr noundef %2) #2 %4 = load i32, ptr @CMD_POWER_MODE_IDLE, align 4, !tbaa !5 %5 = tail call i32 @cyapa_set_power_mode(ptr noundef %2, i32 noundef %4) #2 %6 = load i32, ptr @cyapa_poll_thread, align 4, !tbaa !5 %7 = tail call i32 @kthread_add(i32 noundef %6, ptr noundef %2, ptr noundef null, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str) #2 ret void } declare ptr @device_get_softc(ptr noundef) local_unnamed_addr #1 declare i32 @config_intrhook_disestablish(ptr noundef) local_unnamed_addr #1 declare i32 @cyapa_set_power_mode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kthread_add(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/cyapa/extr_cyapa.c_cyapa_start.c' source_filename = "AnghaBench/freebsd/sys/dev/cyapa/extr_cyapa.c_cyapa_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CMD_POWER_MODE_IDLE = common local_unnamed_addr global i32 0, align 4 @cyapa_poll_thread = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"cyapa-poll\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cyapa_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cyapa_start(ptr noundef %0) #0 { %2 = tail call ptr @device_get_softc(ptr noundef %0) #2 %3 = tail call i32 @config_intrhook_disestablish(ptr noundef %2) #2 %4 = load i32, ptr @CMD_POWER_MODE_IDLE, align 4, !tbaa !6 %5 = tail call i32 @cyapa_set_power_mode(ptr noundef %2, i32 noundef %4) #2 %6 = load i32, ptr @cyapa_poll_thread, align 4, !tbaa !6 %7 = tail call i32 @kthread_add(i32 noundef %6, ptr noundef %2, ptr noundef null, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str) #2 ret void } declare ptr @device_get_softc(ptr noundef) local_unnamed_addr #1 declare i32 @config_intrhook_disestablish(ptr noundef) local_unnamed_addr #1 declare i32 @cyapa_set_power_mode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kthread_add(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_cyapa_extr_cyapa.c_cyapa_start
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_odm.c_ODM_Write_DIG.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_odm.c_ODM_Write_DIG.c" target datalayout = "e-m:e-p270:32:32-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.odm_dm_struct = type { ptr, %struct.rtw_dig } %struct.rtw_dig = type { i64 } @ODM_REG_IGI_A_11N = dso_local local_unnamed_addr global i32 0, align 4 @ODM_BIT_IGI_11N = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ODM_Write_DIG(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.odm_dm_struct, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, %1 br i1 %5, label %11, label %6 6: ; preds = %2 %7 = load ptr, ptr %0, align 8, !tbaa !10 %8 = load i32, ptr @ODM_REG_IGI_A_11N, align 4, !tbaa !13 %9 = load i32, ptr @ODM_BIT_IGI_11N, align 4, !tbaa !13 %10 = tail call i32 @phy_set_bb_reg(ptr noundef %7, i32 noundef %8, i32 noundef %9, i64 noundef %1) #2 store i64 %1, ptr %3, align 8, !tbaa !5 br label %11 11: ; preds = %6, %2 ret void } declare i32 @phy_set_bb_reg(ptr 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, !7, i64 0} !6 = !{!"rtw_dig", !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 = !{!"odm_dm_struct", !12, i64 0, !6, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_odm.c_ODM_Write_DIG.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_odm.c_ODM_Write_DIG.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ODM_REG_IGI_A_11N = common local_unnamed_addr global i32 0, align 4 @ODM_BIT_IGI_11N = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ODM_Write_DIG(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, %1 br i1 %5, label %11, label %6 6: ; preds = %2 %7 = load ptr, ptr %0, align 8, !tbaa !11 %8 = load i32, ptr @ODM_REG_IGI_A_11N, align 4, !tbaa !14 %9 = load i32, ptr @ODM_BIT_IGI_11N, align 4, !tbaa !14 %10 = tail call i32 @phy_set_bb_reg(ptr noundef %7, i32 noundef %8, i32 noundef %9, i64 noundef %1) #2 store i64 %1, ptr %3, align 8, !tbaa !6 br label %11 11: ; preds = %6, %2 ret void } declare i32 @phy_set_bb_reg(ptr 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, !8, i64 0} !7 = !{!"rtw_dig", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"odm_dm_struct", !13, i64 0, !7, i64 8} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0}
linux_drivers_staging_rtl8188eu_hal_extr_odm.c_ODM_Write_DIG
; ModuleID = 'AnghaBench/linux/sound/synth/emux/extr_soundfont.c_snd_soundfont_search_zone.c' source_filename = "AnghaBench/linux/sound/synth/emux/extr_soundfont.c_snd_soundfont_search_zone.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_sf_list = type { i32, i64 } ; Function Attrs: nounwind uwtable define dso_local i32 @snd_soundfont_search_zone(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8) local_unnamed_addr #0 { %10 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %11 = getelementptr inbounds %struct.snd_sf_list, ptr %0, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !5 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %9 %15 = tail call i32 @search_zones(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %7, i32 noundef %8, i32 noundef 0) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %14 %18 = icmp eq i32 %3, %5 %19 = icmp eq i32 %4, %6 %20 = and i1 %18, %19 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @search_zones(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef 0) #2 br label %23 23: ; preds = %14, %21, %17, %9 %24 = phi i32 [ 0, %9 ], [ %15, %14 ], [ %22, %21 ], [ 0, %17 ] %25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2 ret i32 %24 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @search_zones(ptr noundef, ptr noundef, i32 noundef, i32 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, !10, i64 8} !6 = !{!"snd_sf_list", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/sound/synth/emux/extr_soundfont.c_snd_soundfont_search_zone.c' source_filename = "AnghaBench/linux/sound/synth/emux/extr_soundfont.c_snd_soundfont_search_zone.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 @snd_soundfont_search_zone(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8) local_unnamed_addr #0 { %10 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !6 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %9 %15 = tail call i32 @search_zones(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %7, i32 noundef %8, i32 noundef 0) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %14 %18 = icmp eq i32 %3, %5 %19 = icmp eq i32 %4, %6 %20 = and i1 %18, %19 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @search_zones(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef 0) #2 br label %23 23: ; preds = %14, %21, %17, %9 %24 = phi i32 [ 0, %9 ], [ %15, %14 ], [ %22, %21 ], [ 0, %17 ] %25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2 ret i32 %24 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @search_zones(ptr noundef, ptr noundef, i32 noundef, i32 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, !11, i64 8} !7 = !{!"snd_sf_list", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0}
linux_sound_synth_emux_extr_soundfont.c_snd_soundfont_search_zone
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_lvm.c_luaV_equalobj.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_lvm.c_luaV_equalobj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LUA_TNUMBER = dso_local local_unnamed_addr global i64 0, align 8 @TM_EQ = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @luaV_equalobj(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = tail call i32 @ttype(ptr noundef %1) #3 %7 = tail call i32 @ttype(ptr noundef %2) #3 %8 = icmp eq i32 %6, %7 br i1 %8, label %30, label %9 9: ; preds = %3 %10 = tail call i64 @ttnov(ptr noundef %1) #3 %11 = tail call i64 @ttnov(ptr noundef %2) #3 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %111 13: ; preds = %9 %14 = tail call i64 @ttnov(ptr noundef %1) #3 %15 = load i64, ptr @LUA_TNUMBER, align 8, !tbaa !5 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %111 17: ; preds = %13 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %18 = call i64 @tointeger(ptr noundef %1, ptr noundef nonnull %4) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %28, label %20 20: ; preds = %17 %21 = call i64 @tointeger(ptr noundef %2, ptr noundef nonnull %5) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %20 %24 = load i64, ptr %4, align 8, !tbaa !5 %25 = load i64, ptr %5, align 8, !tbaa !5 %26 = icmp eq i64 %24, %25 %27 = zext i1 %26 to i32 br label %28 28: ; preds = %23, %20, %17 %29 = phi i32 [ 0, %20 ], [ 0, %17 ], [ %27, %23 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %111 30: ; preds = %3 %31 = tail call i32 @ttype(ptr noundef %1) #3 switch i32 %31, label %92 [ i32 133, label %111 i32 131, label %32 i32 132, label %37 i32 137, label %41 i32 135, label %46 i32 136, label %51 i32 130, label %56 i32 134, label %60 i32 128, label %64 i32 129, label %78 ] 32: ; preds = %30 %33 = tail call i32 @ivalue(ptr noundef %1) #3 %34 = tail call i32 @ivalue(ptr noundef %2) #3 %35 = icmp eq i32 %33, %34 %36 = zext i1 %35 to i32 br label %111 37: ; preds = %30 %38 = tail call i32 @fltvalue(ptr noundef %1) #3 %39 = tail call i32 @fltvalue(ptr noundef %2) #3 %40 = tail call i32 @luai_numeq(i32 noundef %38, i32 noundef %39) #3 br label %111 41: ; preds = %30 %42 = tail call i32 @bvalue(ptr noundef %1) #3 %43 = tail call i32 @bvalue(ptr noundef %2) #3 %44 = icmp eq i32 %42, %43 %45 = zext i1 %44 to i32 br label %111 46: ; preds = %30 %47 = tail call i32 @pvalue(ptr noundef %1) #3 %48 = tail call i32 @pvalue(ptr noundef %2) #3 %49 = icmp eq i32 %47, %48 %50 = zext i1 %49 to i32 br label %111 51: ; preds = %30 %52 = tail call i32 @fvalue(ptr noundef %1) #3 %53 = tail call i32 @fvalue(ptr noundef %2) #3 %54 = icmp eq i32 %52, %53 %55 = zext i1 %54 to i32 br label %111 56: ; preds = %30 %57 = tail call i32 @tsvalue(ptr noundef %1) #3 %58 = tail call i32 @tsvalue(ptr noundef %2) #3 %59 = tail call i32 @eqshrstr(i32 noundef %57, i32 noundef %58) #3 br label %111 60: ; preds = %30 %61 = tail call i32 @tsvalue(ptr noundef %1) #3 %62 = tail call i32 @tsvalue(ptr noundef %2) #3 %63 = tail call i32 @luaS_eqlngstr(i32 noundef %61, i32 noundef %62) #3 br label %111 64: ; preds = %30 %65 = tail call ptr @uvalue(ptr noundef %1) #3 %66 = tail call ptr @uvalue(ptr noundef %2) #3 %67 = icmp eq ptr %65, %66 br i1 %67, label %111, label %68 68: ; preds = %64 %69 = icmp eq ptr %0, null br i1 %69, label %111, label %70 70: ; preds = %68 %71 = tail call ptr @uvalue(ptr noundef %1) #3 %72 = load i32, ptr %71, align 4, !tbaa !9 %73 = load i32, ptr @TM_EQ, align 4, !tbaa !12 %74 = tail call ptr @fasttm(ptr noundef nonnull %0, i32 noundef %72, i32 noundef %73) #3 %75 = icmp eq ptr %74, null br i1 %75, label %76, label %103 76: ; preds = %70 %77 = tail call ptr @uvalue(ptr noundef %2) #3 br label %97 78: ; preds = %30 %79 = tail call ptr @hvalue(ptr noundef %1) #3 %80 = tail call ptr @hvalue(ptr noundef %2) #3 %81 = icmp eq ptr %79, %80 br i1 %81, label %111, label %82 82: ; preds = %78 %83 = icmp eq ptr %0, null br i1 %83, label %111, label %84 84: ; preds = %82 %85 = tail call ptr @hvalue(ptr noundef %1) #3 %86 = load i32, ptr %85, align 4, !tbaa !13 %87 = load i32, ptr @TM_EQ, align 4, !tbaa !12 %88 = tail call ptr @fasttm(ptr noundef nonnull %0, i32 noundef %86, i32 noundef %87) #3 %89 = icmp eq ptr %88, null br i1 %89, label %90, label %103 90: ; preds = %84 %91 = tail call ptr @hvalue(ptr noundef %2) #3 br label %97 92: ; preds = %30 %93 = tail call i32 @gcvalue(ptr noundef %1) #3 %94 = tail call i32 @gcvalue(ptr noundef %2) #3 %95 = icmp eq i32 %93, %94 %96 = zext i1 %95 to i32 br label %111 97: ; preds = %90, %76 %98 = phi ptr [ %91, %90 ], [ %77, %76 ] %99 = load i32, ptr %98, align 4, !tbaa !12 %100 = load i32, ptr @TM_EQ, align 4, !tbaa !12 %101 = tail call ptr @fasttm(ptr noundef nonnull %0, i32 noundef %99, i32 noundef %100) #3 %102 = icmp eq ptr %101, null br i1 %102, label %111, label %103 103: ; preds = %70, %84, %97 %104 = phi ptr [ %101, %97 ], [ %74, %70 ], [ %88, %84 ] %105 = load i32, ptr %0, align 4, !tbaa !15 %106 = tail call i32 @luaT_callTM(ptr noundef nonnull %0, ptr noundef nonnull %104, ptr noundef %1, ptr noundef %2, i32 noundef %105, i32 noundef 1) #3 %107 = load i32, ptr %0, align 4, !tbaa !15 %108 = tail call i32 @l_isfalse(i32 noundef %107) #3 %109 = icmp eq i32 %108, 0 %110 = zext i1 %109 to i32 br label %111 111: ; preds = %97, %82, %78, %68, %64, %30, %9, %13, %103, %92, %60, %56, %51, %46, %41, %37, %32, %28 %112 = phi i32 [ %29, %28 ], [ %96, %92 ], [ %110, %103 ], [ %63, %60 ], [ %59, %56 ], [ %55, %51 ], [ %50, %46 ], [ %45, %41 ], [ %40, %37 ], [ %36, %32 ], [ 0, %13 ], [ 0, %9 ], [ 1, %30 ], [ 1, %64 ], [ 0, %68 ], [ 1, %78 ], [ 0, %82 ], [ 0, %97 ] ret i32 %112 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ttype(ptr noundef) local_unnamed_addr #2 declare i64 @ttnov(ptr noundef) local_unnamed_addr #2 declare i64 @tointeger(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @ivalue(ptr noundef) local_unnamed_addr #2 declare i32 @luai_numeq(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fltvalue(ptr noundef) local_unnamed_addr #2 declare i32 @bvalue(ptr noundef) local_unnamed_addr #2 declare i32 @pvalue(ptr noundef) local_unnamed_addr #2 declare i32 @fvalue(ptr noundef) local_unnamed_addr #2 declare i32 @eqshrstr(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tsvalue(ptr noundef) local_unnamed_addr #2 declare i32 @luaS_eqlngstr(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @uvalue(ptr noundef) local_unnamed_addr #2 declare ptr @fasttm(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @hvalue(ptr noundef) local_unnamed_addr #2 declare i32 @gcvalue(ptr noundef) local_unnamed_addr #2 declare i32 @luaT_callTM(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @l_isfalse(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_8__", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_9__", !11, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_7__", !11, i64 0}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_lvm.c_luaV_equalobj.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_lvm.c_luaV_equalobj.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LUA_TNUMBER = common local_unnamed_addr global i64 0, align 8 @TM_EQ = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @luaV_equalobj(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = tail call i32 @ttype(ptr noundef %1) #3 %7 = tail call i32 @ttype(ptr noundef %2) #3 %8 = icmp eq i32 %6, %7 br i1 %8, label %30, label %9 9: ; preds = %3 %10 = tail call i64 @ttnov(ptr noundef %1) #3 %11 = tail call i64 @ttnov(ptr noundef %2) #3 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %111 13: ; preds = %9 %14 = tail call i64 @ttnov(ptr noundef %1) #3 %15 = load i64, ptr @LUA_TNUMBER, align 8, !tbaa !6 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %111 17: ; preds = %13 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %18 = call i64 @tointeger(ptr noundef %1, ptr noundef nonnull %4) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %28, label %20 20: ; preds = %17 %21 = call i64 @tointeger(ptr noundef %2, ptr noundef nonnull %5) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %20 %24 = load i64, ptr %4, align 8, !tbaa !6 %25 = load i64, ptr %5, align 8, !tbaa !6 %26 = icmp eq i64 %24, %25 %27 = zext i1 %26 to i32 br label %28 28: ; preds = %23, %20, %17 %29 = phi i32 [ 0, %20 ], [ 0, %17 ], [ %27, %23 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %111 30: ; preds = %3 %31 = tail call i32 @ttype(ptr noundef %1) #3 switch i32 %31, label %92 [ i32 133, label %111 i32 131, label %32 i32 132, label %37 i32 137, label %41 i32 135, label %46 i32 136, label %51 i32 130, label %56 i32 134, label %60 i32 128, label %64 i32 129, label %78 ] 32: ; preds = %30 %33 = tail call i32 @ivalue(ptr noundef %1) #3 %34 = tail call i32 @ivalue(ptr noundef %2) #3 %35 = icmp eq i32 %33, %34 %36 = zext i1 %35 to i32 br label %111 37: ; preds = %30 %38 = tail call i32 @fltvalue(ptr noundef %1) #3 %39 = tail call i32 @fltvalue(ptr noundef %2) #3 %40 = tail call i32 @luai_numeq(i32 noundef %38, i32 noundef %39) #3 br label %111 41: ; preds = %30 %42 = tail call i32 @bvalue(ptr noundef %1) #3 %43 = tail call i32 @bvalue(ptr noundef %2) #3 %44 = icmp eq i32 %42, %43 %45 = zext i1 %44 to i32 br label %111 46: ; preds = %30 %47 = tail call i32 @pvalue(ptr noundef %1) #3 %48 = tail call i32 @pvalue(ptr noundef %2) #3 %49 = icmp eq i32 %47, %48 %50 = zext i1 %49 to i32 br label %111 51: ; preds = %30 %52 = tail call i32 @fvalue(ptr noundef %1) #3 %53 = tail call i32 @fvalue(ptr noundef %2) #3 %54 = icmp eq i32 %52, %53 %55 = zext i1 %54 to i32 br label %111 56: ; preds = %30 %57 = tail call i32 @tsvalue(ptr noundef %1) #3 %58 = tail call i32 @tsvalue(ptr noundef %2) #3 %59 = tail call i32 @eqshrstr(i32 noundef %57, i32 noundef %58) #3 br label %111 60: ; preds = %30 %61 = tail call i32 @tsvalue(ptr noundef %1) #3 %62 = tail call i32 @tsvalue(ptr noundef %2) #3 %63 = tail call i32 @luaS_eqlngstr(i32 noundef %61, i32 noundef %62) #3 br label %111 64: ; preds = %30 %65 = tail call ptr @uvalue(ptr noundef %1) #3 %66 = tail call ptr @uvalue(ptr noundef %2) #3 %67 = icmp eq ptr %65, %66 br i1 %67, label %111, label %68 68: ; preds = %64 %69 = icmp eq ptr %0, null br i1 %69, label %111, label %70 70: ; preds = %68 %71 = tail call ptr @uvalue(ptr noundef %1) #3 %72 = load i32, ptr %71, align 4, !tbaa !10 %73 = load i32, ptr @TM_EQ, align 4, !tbaa !13 %74 = tail call ptr @fasttm(ptr noundef nonnull %0, i32 noundef %72, i32 noundef %73) #3 %75 = icmp eq ptr %74, null br i1 %75, label %76, label %103 76: ; preds = %70 %77 = tail call ptr @uvalue(ptr noundef %2) #3 br label %97 78: ; preds = %30 %79 = tail call ptr @hvalue(ptr noundef %1) #3 %80 = tail call ptr @hvalue(ptr noundef %2) #3 %81 = icmp eq ptr %79, %80 br i1 %81, label %111, label %82 82: ; preds = %78 %83 = icmp eq ptr %0, null br i1 %83, label %111, label %84 84: ; preds = %82 %85 = tail call ptr @hvalue(ptr noundef %1) #3 %86 = load i32, ptr %85, align 4, !tbaa !14 %87 = load i32, ptr @TM_EQ, align 4, !tbaa !13 %88 = tail call ptr @fasttm(ptr noundef nonnull %0, i32 noundef %86, i32 noundef %87) #3 %89 = icmp eq ptr %88, null br i1 %89, label %90, label %103 90: ; preds = %84 %91 = tail call ptr @hvalue(ptr noundef %2) #3 br label %97 92: ; preds = %30 %93 = tail call i32 @gcvalue(ptr noundef %1) #3 %94 = tail call i32 @gcvalue(ptr noundef %2) #3 %95 = icmp eq i32 %93, %94 %96 = zext i1 %95 to i32 br label %111 97: ; preds = %90, %76 %98 = phi ptr [ %91, %90 ], [ %77, %76 ] %99 = load i32, ptr %98, align 4, !tbaa !13 %100 = load i32, ptr @TM_EQ, align 4, !tbaa !13 %101 = tail call ptr @fasttm(ptr noundef nonnull %0, i32 noundef %99, i32 noundef %100) #3 %102 = icmp eq ptr %101, null br i1 %102, label %111, label %103 103: ; preds = %70, %84, %97 %104 = phi ptr [ %101, %97 ], [ %74, %70 ], [ %88, %84 ] %105 = load i32, ptr %0, align 4, !tbaa !16 %106 = tail call i32 @luaT_callTM(ptr noundef nonnull %0, ptr noundef nonnull %104, ptr noundef %1, ptr noundef %2, i32 noundef %105, i32 noundef 1) #3 %107 = load i32, ptr %0, align 4, !tbaa !16 %108 = tail call i32 @l_isfalse(i32 noundef %107) #3 %109 = icmp eq i32 %108, 0 %110 = zext i1 %109 to i32 br label %111 111: ; preds = %97, %82, %78, %68, %64, %30, %9, %13, %103, %92, %60, %56, %51, %46, %41, %37, %32, %28 %112 = phi i32 [ %29, %28 ], [ %96, %92 ], [ %110, %103 ], [ %63, %60 ], [ %59, %56 ], [ %55, %51 ], [ %50, %46 ], [ %45, %41 ], [ %40, %37 ], [ %36, %32 ], [ 0, %13 ], [ 0, %9 ], [ 1, %30 ], [ 1, %64 ], [ 0, %68 ], [ 1, %78 ], [ 0, %82 ], [ 0, %97 ] ret i32 %112 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ttype(ptr noundef) local_unnamed_addr #2 declare i64 @ttnov(ptr noundef) local_unnamed_addr #2 declare i64 @tointeger(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @ivalue(ptr noundef) local_unnamed_addr #2 declare i32 @luai_numeq(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fltvalue(ptr noundef) local_unnamed_addr #2 declare i32 @bvalue(ptr noundef) local_unnamed_addr #2 declare i32 @pvalue(ptr noundef) local_unnamed_addr #2 declare i32 @fvalue(ptr noundef) local_unnamed_addr #2 declare i32 @eqshrstr(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tsvalue(ptr noundef) local_unnamed_addr #2 declare i32 @luaS_eqlngstr(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @uvalue(ptr noundef) local_unnamed_addr #2 declare ptr @fasttm(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @hvalue(ptr noundef) local_unnamed_addr #2 declare i32 @gcvalue(ptr noundef) local_unnamed_addr #2 declare i32 @luaT_callTM(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @l_isfalse(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_9__", !12, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_7__", !12, i64 0}
xLua_build_lua-5.3.3_src_extr_lvm.c_luaV_equalobj
; ModuleID = 'AnghaBench/linux/sound/soc/sof/xtensa/extr_..sof-priv.h_sof_stack.c' source_filename = "AnghaBench/linux/sound/soc/sof/xtensa/extr_..sof-priv.h_sof_stack.c" target datalayout = "e-m:e-p270:32:32-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 @sof_stack], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @sof_stack(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @sof_arch_ops(ptr noundef %0) #2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %4 %9 = tail call ptr @sof_arch_ops(ptr noundef %0) #2 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = tail call i32 %10(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 br label %12 12: ; preds = %8, %4 ret void } declare ptr @sof_arch_ops(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 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/soc/sof/xtensa/extr_..sof-priv.h_sof_stack.c' source_filename = "AnghaBench/linux/sound/soc/sof/xtensa/extr_..sof-priv.h_sof_stack.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 @sof_stack], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @sof_stack(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @sof_arch_ops(ptr noundef %0) #2 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %4 %9 = tail call ptr @sof_arch_ops(ptr noundef %0) #2 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = tail call i32 %10(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 br label %12 12: ; preds = %8, %4 ret void } declare ptr @sof_arch_ops(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 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_sound_soc_sof_xtensa_extr_..sof-priv.h_sof_stack
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_ili922x.c_ili922x_write.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_ili922x.c_ili922x_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.spi_message = type { i32 } %struct.spi_transfer = type { ptr, ptr, i32, i32, i32 } @CMD_BUFSIZE = dso_local local_unnamed_addr global i32 0, align 4 @ili922x_id = dso_local local_unnamed_addr global i32 0, align 4 @START_RS_INDEX = dso_local local_unnamed_addr global i32 0, align 4 @START_RW_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @START_RS_REG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Error sending SPI message 0x%x\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ili922x_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ili922x_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.spi_message, align 4 %5 = alloca %struct.spi_transfer, align 8 %6 = alloca %struct.spi_transfer, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4 %7 = load i32, ptr @CMD_BUFSIZE, align 4, !tbaa !5 %8 = zext i32 %7 to i64 %9 = tail call ptr @llvm.stacksave.p0() %10 = alloca i8, i64 %8, align 16 %11 = load i32, ptr @CMD_BUFSIZE, align 4, !tbaa !5 %12 = zext i32 %11 to i64 %13 = alloca i8, i64 %12, align 16 %14 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 32) #4 %15 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 32) #4 %16 = call i32 @spi_message_init(ptr noundef nonnull %4) #4 store ptr %10, ptr %5, align 8, !tbaa !9 %17 = getelementptr inbounds %struct.spi_transfer, ptr %5, i64 0, i32 1 store ptr %13, ptr %17, align 8, !tbaa !12 %18 = getelementptr inbounds %struct.spi_transfer, ptr %5, i64 0, i32 2 store i32 1, ptr %18, align 8, !tbaa !13 %19 = call i32 @CHECK_FREQ_REG(ptr noundef %0, ptr noundef nonnull %5) #4 %20 = load i32, ptr @ili922x_id, align 4, !tbaa !5 %21 = load i32, ptr @START_RS_INDEX, align 4, !tbaa !5 %22 = load i32, ptr @START_RW_WRITE, align 4, !tbaa !5 %23 = call i32 @START_BYTE(i32 noundef %20, i32 noundef %21, i32 noundef %22) #4 %24 = call zeroext i8 @set_tx_byte(i32 noundef %23) #4 store i8 %24, ptr %10, align 16, !tbaa !14 %25 = call zeroext i8 @set_tx_byte(i32 noundef 0) #4 %26 = getelementptr inbounds i8, ptr %10, i64 1 store i8 %25, ptr %26, align 1, !tbaa !14 %27 = call zeroext i8 @set_tx_byte(i32 noundef %1) #4 %28 = getelementptr inbounds i8, ptr %10, i64 2 store i8 %27, ptr %28, align 2, !tbaa !14 %29 = getelementptr inbounds %struct.spi_transfer, ptr %5, i64 0, i32 3 store i32 8, ptr %29, align 4, !tbaa !15 %30 = getelementptr inbounds %struct.spi_transfer, ptr %5, i64 0, i32 4 store i32 3, ptr %30, align 8, !tbaa !16 %31 = call i32 @spi_message_add_tail(ptr noundef nonnull %5, ptr noundef nonnull %4) #4 %32 = call i32 @spi_sync(ptr noundef %0, ptr noundef nonnull %4) #4 %33 = call i32 @spi_message_init(ptr noundef nonnull %4) #4 %34 = load i32, ptr @ili922x_id, align 4, !tbaa !5 %35 = load i32, ptr @START_RS_REG, align 4, !tbaa !5 %36 = load i32, ptr @START_RW_WRITE, align 4, !tbaa !5 %37 = call i32 @START_BYTE(i32 noundef %34, i32 noundef %35, i32 noundef %36) #4 %38 = call zeroext i8 @set_tx_byte(i32 noundef %37) #4 store i8 %38, ptr %10, align 16, !tbaa !14 %39 = lshr i32 %2, 8 %40 = and i32 %39, 255 %41 = call zeroext i8 @set_tx_byte(i32 noundef %40) #4 store i8 %41, ptr %26, align 1, !tbaa !14 %42 = and i32 %2, 255 %43 = call zeroext i8 @set_tx_byte(i32 noundef %42) #4 store i8 %43, ptr %28, align 2, !tbaa !14 %44 = getelementptr inbounds %struct.spi_transfer, ptr %6, i64 0, i32 2 store i32 1, ptr %44, align 8, !tbaa !13 %45 = getelementptr inbounds %struct.spi_transfer, ptr %6, i64 0, i32 4 store i32 3, ptr %45, align 8, !tbaa !16 store ptr %10, ptr %6, align 8, !tbaa !9 %46 = getelementptr inbounds %struct.spi_transfer, ptr %6, i64 0, i32 1 store ptr %13, ptr %46, align 8, !tbaa !12 %47 = call i32 @CHECK_FREQ_REG(ptr noundef %0, ptr noundef nonnull %6) #4 %48 = call i32 @spi_message_add_tail(ptr noundef nonnull %6, ptr noundef nonnull %4) #4 %49 = call i32 @spi_sync(ptr noundef %0, ptr noundef nonnull %4) #4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %3 %52 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %49) #4 br label %53 53: ; preds = %3, %51 %54 = phi i32 [ %49, %51 ], [ 0, %3 ] call void @llvm.stackrestore.p0(ptr %9) call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %54 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @spi_message_init(ptr noundef) local_unnamed_addr #3 declare i32 @CHECK_FREQ_REG(ptr noundef, ptr noundef) local_unnamed_addr #3 declare zeroext i8 @set_tx_byte(i32 noundef) local_unnamed_addr #3 declare i32 @START_BYTE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @spi_message_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @spi_sync(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"spi_transfer", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!10, !6, i64 16} !14 = !{!7, !7, i64 0} !15 = !{!10, !6, i64 20} !16 = !{!10, !6, i64 24}
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_ili922x.c_ili922x_write.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_ili922x.c_ili922x_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.spi_message = type { i32 } %struct.spi_transfer = type { ptr, ptr, i32, i32, i32 } @CMD_BUFSIZE = common local_unnamed_addr global i32 0, align 4 @ili922x_id = common local_unnamed_addr global i32 0, align 4 @START_RS_INDEX = common local_unnamed_addr global i32 0, align 4 @START_RW_WRITE = common local_unnamed_addr global i32 0, align 4 @START_RS_REG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Error sending SPI message 0x%x\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ili922x_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @ili922x_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.spi_message, align 4 %5 = alloca %struct.spi_transfer, align 8 %6 = alloca %struct.spi_transfer, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #4 %7 = load i32, ptr @CMD_BUFSIZE, align 4, !tbaa !6 %8 = zext i32 %7 to i64 %9 = tail call ptr @llvm.stacksave.p0() %10 = alloca i8, i64 %8, align 1 %11 = load i32, ptr @CMD_BUFSIZE, align 4, !tbaa !6 %12 = zext i32 %11 to i64 %13 = alloca i8, i64 %12, align 1 %14 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 32) #4 %15 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 32) #4 %16 = call i32 @spi_message_init(ptr noundef nonnull %4) #4 store ptr %10, ptr %5, align 8, !tbaa !10 %17 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %13, ptr %17, align 8, !tbaa !13 %18 = getelementptr inbounds i8, ptr %5, i64 16 store i32 1, ptr %18, align 8, !tbaa !14 %19 = call i32 @CHECK_FREQ_REG(ptr noundef %0, ptr noundef nonnull %5) #4 %20 = load i32, ptr @ili922x_id, align 4, !tbaa !6 %21 = load i32, ptr @START_RS_INDEX, align 4, !tbaa !6 %22 = load i32, ptr @START_RW_WRITE, align 4, !tbaa !6 %23 = call i32 @START_BYTE(i32 noundef %20, i32 noundef %21, i32 noundef %22) #4 %24 = call zeroext i8 @set_tx_byte(i32 noundef %23) #4 store i8 %24, ptr %10, align 1, !tbaa !15 %25 = call zeroext i8 @set_tx_byte(i32 noundef 0) #4 %26 = getelementptr inbounds i8, ptr %10, i64 1 store i8 %25, ptr %26, align 1, !tbaa !15 %27 = call zeroext i8 @set_tx_byte(i32 noundef %1) #4 %28 = getelementptr inbounds i8, ptr %10, i64 2 store i8 %27, ptr %28, align 1, !tbaa !15 %29 = getelementptr inbounds i8, ptr %5, i64 20 store <2 x i32> <i32 8, i32 3>, ptr %29, align 4, !tbaa !6 %30 = call i32 @spi_message_add_tail(ptr noundef nonnull %5, ptr noundef nonnull %4) #4 %31 = call i32 @spi_sync(ptr noundef %0, ptr noundef nonnull %4) #4 %32 = call i32 @spi_message_init(ptr noundef nonnull %4) #4 %33 = load i32, ptr @ili922x_id, align 4, !tbaa !6 %34 = load i32, ptr @START_RS_REG, align 4, !tbaa !6 %35 = load i32, ptr @START_RW_WRITE, align 4, !tbaa !6 %36 = call i32 @START_BYTE(i32 noundef %33, i32 noundef %34, i32 noundef %35) #4 %37 = call zeroext i8 @set_tx_byte(i32 noundef %36) #4 store i8 %37, ptr %10, align 1, !tbaa !15 %38 = lshr i32 %2, 8 %39 = and i32 %38, 255 %40 = call zeroext i8 @set_tx_byte(i32 noundef %39) #4 store i8 %40, ptr %26, align 1, !tbaa !15 %41 = and i32 %2, 255 %42 = call zeroext i8 @set_tx_byte(i32 noundef %41) #4 store i8 %42, ptr %28, align 1, !tbaa !15 %43 = getelementptr inbounds i8, ptr %6, i64 16 store i32 1, ptr %43, align 8, !tbaa !14 %44 = getelementptr inbounds i8, ptr %6, i64 24 store i32 3, ptr %44, align 8, !tbaa !16 store ptr %10, ptr %6, align 8, !tbaa !10 %45 = getelementptr inbounds i8, ptr %6, i64 8 store ptr %13, ptr %45, align 8, !tbaa !13 %46 = call i32 @CHECK_FREQ_REG(ptr noundef %0, ptr noundef nonnull %6) #4 %47 = call i32 @spi_message_add_tail(ptr noundef nonnull %6, ptr noundef nonnull %4) #4 %48 = call i32 @spi_sync(ptr noundef %0, ptr noundef nonnull %4) #4 %49 = icmp slt i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %3 %51 = call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %48) #4 br label %52 52: ; preds = %3, %50 %53 = phi i32 [ %48, %50 ], [ 0, %3 ] call void @llvm.stackrestore.p0(ptr %9) call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @spi_message_init(ptr noundef) local_unnamed_addr #3 declare i32 @CHECK_FREQ_REG(ptr noundef, ptr noundef) local_unnamed_addr #3 declare zeroext i8 @set_tx_byte(i32 noundef) local_unnamed_addr #3 declare i32 @START_BYTE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @spi_message_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @spi_sync(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"spi_transfer", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!11, !7, i64 16} !15 = !{!8, !8, i64 0} !16 = !{!11, !7, i64 24}
linux_drivers_video_backlight_extr_ili922x.c_ili922x_write
; ModuleID = 'AnghaBench/openssl/test/extr_sslcorrupttest.c_tls_corrupt_ctrl.c' source_filename = "AnghaBench/openssl/test/extr_sslcorrupttest.c_tls_corrupt_ctrl.c" target datalayout = "e-m:e-p270:32:32-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 @tls_corrupt_ctrl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @tls_corrupt_ctrl(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = tail call ptr @BIO_next(ptr noundef %0) #2 %6 = icmp eq ptr %5, null %7 = icmp eq i32 %1, 128 %8 = or i1 %7, %6 br i1 %8, label %11, label %9 9: ; preds = %4 %10 = tail call i64 @BIO_ctrl(ptr noundef nonnull %5, i32 noundef %1, i64 noundef %2, ptr noundef %3) #2 br label %11 11: ; preds = %9, %4 %12 = phi i64 [ 0, %4 ], [ %10, %9 ] ret i64 %12 } declare ptr @BIO_next(ptr noundef) local_unnamed_addr #1 declare i64 @BIO_ctrl(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/openssl/test/extr_sslcorrupttest.c_tls_corrupt_ctrl.c' source_filename = "AnghaBench/openssl/test/extr_sslcorrupttest.c_tls_corrupt_ctrl.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 @tls_corrupt_ctrl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @tls_corrupt_ctrl(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = tail call ptr @BIO_next(ptr noundef %0) #2 %6 = icmp eq ptr %5, null %7 = icmp eq i32 %1, 128 %8 = or i1 %7, %6 br i1 %8, label %11, label %9 9: ; preds = %4 %10 = tail call i64 @BIO_ctrl(ptr noundef nonnull %5, i32 noundef %1, i64 noundef %2, ptr noundef %3) #2 br label %11 11: ; preds = %9, %4 %12 = phi i64 [ 0, %4 ], [ %10, %9 ] ret i64 %12 } declare ptr @BIO_next(ptr noundef) local_unnamed_addr #1 declare i64 @BIO_ctrl(ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
openssl_test_extr_sslcorrupttest.c_tls_corrupt_ctrl
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_flacenc.c_write_frame_header.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_flacenc.c_write_frame_header.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { ptr, i32, i32, %struct.TYPE_10__, i32, %struct.TYPE_8__ } %struct.TYPE_10__ = type { i32 } %struct.TYPE_8__ = type { ptr, i32 } @FLAC_CHMODE_INDEPENDENT = dso_local local_unnamed_addr global i32 0, align 4 @FLAC_MAX_CHANNELS = dso_local local_unnamed_addr global i32 0, align 4 @AV_CRC_8_ATM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_frame_header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write_frame_header(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 5 %3 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3 %4 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 16, i32 noundef 65528) #2 %5 = load ptr, ptr %2, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 4, i32 noundef %6) #2 %8 = load ptr, ptr %0, align 8, !tbaa !12 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 4, i32 noundef %9) #2 %11 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 5, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !15 %13 = load i32, ptr @FLAC_CHMODE_INDEPENDENT, align 4, !tbaa !11 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %1 %16 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = add nsw i32 %17, -1 br label %23 19: ; preds = %1 %20 = load i32, ptr @FLAC_MAX_CHANNELS, align 4, !tbaa !11 %21 = add i32 %12, -1 %22 = add i32 %21, %20 br label %23 23: ; preds = %19, %15 %24 = phi i32 [ %22, %19 ], [ %18, %15 ] %25 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 4, i32 noundef %24) #2 %26 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %27 = load i32, ptr %26, align 4, !tbaa !17 %28 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 3, i32 noundef %27) #2 %29 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 1, i32 noundef 0) #2 %30 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 4 %31 = load i32, ptr %30, align 4, !tbaa !18 %32 = tail call i32 @write_utf8(ptr noundef nonnull %3, i32 noundef %31) #2 %33 = load ptr, ptr %2, align 8, !tbaa !5 %34 = load i32, ptr %33, align 4, !tbaa !11 switch i32 %34, label %41 [ i32 6, label %36 i32 7, label %35 ] 35: ; preds = %23 br label %36 36: ; preds = %23, %35 %37 = phi i32 [ 16, %35 ], [ 8, %23 ] %38 = getelementptr inbounds i32, ptr %33, i64 1 %39 = load i32, ptr %38, align 4, !tbaa !11 %40 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef %37, i32 noundef %39) #2 br label %41 41: ; preds = %36, %23 %42 = load ptr, ptr %0, align 8, !tbaa !12 %43 = load i32, ptr %42, align 4, !tbaa !11 %44 = icmp eq i32 %43, 12 br i1 %44, label %47, label %45 45: ; preds = %41 %46 = icmp sgt i32 %43, 12 br i1 %46, label %47, label %52 47: ; preds = %45, %41 %48 = phi i32 [ 8, %41 ], [ 16, %45 ] %49 = getelementptr inbounds i32, ptr %42, i64 1 %50 = load i32, ptr %49, align 4, !tbaa !11 %51 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef %48, i32 noundef %50) #2 br label %52 52: ; preds = %47, %45 %53 = tail call i32 @flush_put_bits(ptr noundef nonnull %3) #2 %54 = load i32, ptr @AV_CRC_8_ATM, align 4, !tbaa !11 %55 = tail call i32 @av_crc_get_table(i32 noundef %54) #2 %56 = load i32, ptr %3, align 8, !tbaa !19 %57 = tail call i32 @put_bits_count(ptr noundef nonnull %3) #2 %58 = ashr i32 %57, 3 %59 = tail call i32 @av_crc(i32 noundef %55, i32 noundef 0, i32 noundef %56, i32 noundef %58) #2 %60 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 8, i32 noundef %59) #2 ret void } declare i32 @put_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_utf8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @flush_put_bits(ptr noundef) local_unnamed_addr #1 declare i32 @av_crc(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_crc_get_table(i32 noundef) local_unnamed_addr #1 declare i32 @put_bits_count(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_8__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_9__", !7, i64 0, !10, i64 8, !10, i64 12, !14, i64 16, !10, i64 20, !6, i64 24} !14 = !{!"TYPE_10__", !10, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!13, !10, i64 8} !17 = !{!13, !10, i64 12} !18 = !{!13, !10, i64 20} !19 = !{!13, !10, i64 16}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_flacenc.c_write_frame_header.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_flacenc.c_write_frame_header.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FLAC_CHMODE_INDEPENDENT = common local_unnamed_addr global i32 0, align 4 @FLAC_MAX_CHANNELS = common local_unnamed_addr global i32 0, align 4 @AV_CRC_8_ATM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @write_frame_header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write_frame_header(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 16, i32 noundef 65528) #2 %5 = load ptr, ptr %2, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 4, i32 noundef %6) #2 %8 = load ptr, ptr %0, align 8, !tbaa !13 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 4, i32 noundef %9) #2 %11 = getelementptr inbounds i8, ptr %0, i64 32 %12 = load i32, ptr %11, align 8, !tbaa !16 %13 = load i32, ptr @FLAC_CHMODE_INDEPENDENT, align 4, !tbaa !12 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %1 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !17 %18 = add nsw i32 %17, -1 br label %23 19: ; preds = %1 %20 = load i32, ptr @FLAC_MAX_CHANNELS, align 4, !tbaa !12 %21 = add i32 %12, -1 %22 = add i32 %21, %20 br label %23 23: ; preds = %19, %15 %24 = phi i32 [ %22, %19 ], [ %18, %15 ] %25 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 4, i32 noundef %24) #2 %26 = getelementptr inbounds i8, ptr %0, i64 12 %27 = load i32, ptr %26, align 4, !tbaa !18 %28 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 3, i32 noundef %27) #2 %29 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 1, i32 noundef 0) #2 %30 = getelementptr inbounds i8, ptr %0, i64 20 %31 = load i32, ptr %30, align 4, !tbaa !19 %32 = tail call i32 @write_utf8(ptr noundef nonnull %3, i32 noundef %31) #2 %33 = load ptr, ptr %2, align 8, !tbaa !6 %34 = load i32, ptr %33, align 4, !tbaa !12 switch i32 %34, label %41 [ i32 6, label %36 i32 7, label %35 ] 35: ; preds = %23 br label %36 36: ; preds = %23, %35 %37 = phi i32 [ 16, %35 ], [ 8, %23 ] %38 = getelementptr inbounds i8, ptr %33, i64 4 %39 = load i32, ptr %38, align 4, !tbaa !12 %40 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef %37, i32 noundef %39) #2 br label %41 41: ; preds = %36, %23 %42 = load ptr, ptr %0, align 8, !tbaa !13 %43 = load i32, ptr %42, align 4, !tbaa !12 %44 = icmp eq i32 %43, 12 br i1 %44, label %47, label %45 45: ; preds = %41 %46 = icmp sgt i32 %43, 12 br i1 %46, label %47, label %52 47: ; preds = %45, %41 %48 = phi i32 [ 8, %41 ], [ 16, %45 ] %49 = getelementptr inbounds i8, ptr %42, i64 4 %50 = load i32, ptr %49, align 4, !tbaa !12 %51 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef %48, i32 noundef %50) #2 br label %52 52: ; preds = %47, %45 %53 = tail call i32 @flush_put_bits(ptr noundef nonnull %3) #2 %54 = load i32, ptr @AV_CRC_8_ATM, align 4, !tbaa !12 %55 = tail call i32 @av_crc_get_table(i32 noundef %54) #2 %56 = load i32, ptr %3, align 8, !tbaa !20 %57 = tail call i32 @put_bits_count(ptr noundef nonnull %3) #2 %58 = ashr i32 %57, 3 %59 = tail call i32 @av_crc(i32 noundef %55, i32 noundef 0, i32 noundef %56, i32 noundef %58) #2 %60 = tail call i32 @put_bits(ptr noundef nonnull %3, i32 noundef 8, i32 noundef %59) #2 ret void } declare i32 @put_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_utf8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @flush_put_bits(ptr noundef) local_unnamed_addr #1 declare i32 @av_crc(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_crc_get_table(i32 noundef) local_unnamed_addr #1 declare i32 @put_bits_count(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_8__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_9__", !8, i64 0, !11, i64 8, !11, i64 12, !15, i64 16, !11, i64 20, !7, i64 24} !15 = !{!"TYPE_10__", !11, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!14, !11, i64 8} !18 = !{!14, !11, i64 12} !19 = !{!14, !11, i64 20} !20 = !{!14, !11, i64 16}
FFmpeg_libavcodec_extr_flacenc.c_write_frame_header
; ModuleID = 'AnghaBench/linux/lib/extr_parser.c_match_wildcard.c' source_filename = "AnghaBench/linux/lib/extr_parser.c_match_wildcard.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local i32 @match_wildcard(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i8, ptr %1, align 1, !tbaa !5 %4 = icmp eq i8 %3, 0 br i1 %4, label %37, label %5 5: ; preds = %2, %29 %6 = phi i8 [ %35, %29 ], [ %3, %2 ] %7 = phi i32 [ %34, %29 ], [ 0, %2 ] %8 = phi ptr [ %33, %29 ], [ %0, %2 ] %9 = phi ptr [ %32, %29 ], [ %1, %2 ] %10 = phi ptr [ %31, %29 ], [ %1, %2 ] %11 = phi ptr [ %30, %29 ], [ %0, %2 ] %12 = load i8, ptr %8, align 1, !tbaa !5 switch i8 %12, label %20 [ i8 63, label %13 i8 42, label %16 ] 13: ; preds = %5 %14 = getelementptr inbounds i8, ptr %9, i64 1 %15 = getelementptr inbounds i8, ptr %8, i64 1 br label %29 16: ; preds = %5 %17 = getelementptr inbounds i8, ptr %8, i64 1 %18 = load i8, ptr %17, align 1, !tbaa !5 %19 = icmp eq i8 %18, 0 br i1 %19, label %46, label %29 20: ; preds = %5 %21 = icmp eq i8 %6, %12 br i1 %21, label %22, label %25 22: ; preds = %20 %23 = getelementptr inbounds i8, ptr %9, i64 1 %24 = getelementptr inbounds i8, ptr %8, i64 1 br label %29 25: ; preds = %20 %26 = icmp eq i32 %7, 0 br i1 %26, label %46, label %27 27: ; preds = %25 %28 = getelementptr inbounds i8, ptr %10, i64 1 br label %29 29: ; preds = %16, %22, %27, %13 %30 = phi ptr [ %11, %22 ], [ %11, %27 ], [ %11, %13 ], [ %17, %16 ] %31 = phi ptr [ %10, %22 ], [ %28, %27 ], [ %10, %13 ], [ %9, %16 ] %32 = phi ptr [ %23, %22 ], [ %28, %27 ], [ %14, %13 ], [ %9, %16 ] %33 = phi ptr [ %24, %22 ], [ %11, %27 ], [ %15, %13 ], [ %17, %16 ] %34 = phi i32 [ %7, %22 ], [ 1, %27 ], [ %7, %13 ], [ 1, %16 ] %35 = load i8, ptr %32, align 1, !tbaa !5 %36 = icmp eq i8 %35, 0 br i1 %36, label %37, label %5, !llvm.loop !8 37: ; preds = %29, %2 %38 = phi ptr [ %0, %2 ], [ %33, %29 ] %39 = load i8, ptr %38, align 1, !tbaa !5 %40 = icmp eq i8 %39, 42 %41 = zext i1 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 %43 = load i8, ptr %42, align 1, !tbaa !5 %44 = icmp eq i8 %43, 0 %45 = zext i1 %44 to i32 br label %46 46: ; preds = %25, %16, %37 %47 = phi i32 [ %45, %37 ], [ 0, %25 ], [ 1, %16 ] ret i32 %47 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/lib/extr_parser.c_match_wildcard.c' source_filename = "AnghaBench/linux/lib/extr_parser.c_match_wildcard.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define range(i32 0, 2) i32 @match_wildcard(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i8, ptr %1, align 1, !tbaa !6 %4 = icmp eq i8 %3, 0 br i1 %4, label %37, label %5 5: ; preds = %2, %29 %6 = phi i8 [ %35, %29 ], [ %3, %2 ] %7 = phi i32 [ %34, %29 ], [ 0, %2 ] %8 = phi ptr [ %33, %29 ], [ %0, %2 ] %9 = phi ptr [ %32, %29 ], [ %1, %2 ] %10 = phi ptr [ %31, %29 ], [ %1, %2 ] %11 = phi ptr [ %30, %29 ], [ %0, %2 ] %12 = load i8, ptr %8, align 1, !tbaa !6 switch i8 %12, label %20 [ i8 63, label %13 i8 42, label %16 ] 13: ; preds = %5 %14 = getelementptr inbounds i8, ptr %9, i64 1 %15 = getelementptr inbounds i8, ptr %8, i64 1 br label %29 16: ; preds = %5 %17 = getelementptr inbounds i8, ptr %8, i64 1 %18 = load i8, ptr %17, align 1, !tbaa !6 %19 = icmp eq i8 %18, 0 br i1 %19, label %46, label %29 20: ; preds = %5 %21 = icmp eq i8 %6, %12 br i1 %21, label %22, label %25 22: ; preds = %20 %23 = getelementptr inbounds i8, ptr %9, i64 1 %24 = getelementptr inbounds i8, ptr %8, i64 1 br label %29 25: ; preds = %20 %26 = icmp eq i32 %7, 0 br i1 %26, label %46, label %27 27: ; preds = %25 %28 = getelementptr inbounds i8, ptr %10, i64 1 br label %29 29: ; preds = %16, %22, %27, %13 %30 = phi ptr [ %11, %22 ], [ %11, %27 ], [ %11, %13 ], [ %17, %16 ] %31 = phi ptr [ %10, %22 ], [ %28, %27 ], [ %10, %13 ], [ %9, %16 ] %32 = phi ptr [ %23, %22 ], [ %28, %27 ], [ %14, %13 ], [ %9, %16 ] %33 = phi ptr [ %24, %22 ], [ %11, %27 ], [ %15, %13 ], [ %17, %16 ] %34 = phi i32 [ %7, %22 ], [ 1, %27 ], [ %7, %13 ], [ 1, %16 ] %35 = load i8, ptr %32, align 1, !tbaa !6 %36 = icmp eq i8 %35, 0 br i1 %36, label %37, label %5, !llvm.loop !9 37: ; preds = %29, %2 %38 = phi ptr [ %0, %2 ], [ %33, %29 ] %39 = load i8, ptr %38, align 1, !tbaa !6 %40 = icmp eq i8 %39, 42 %41 = zext i1 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 %43 = load i8, ptr %42, align 1, !tbaa !6 %44 = icmp eq i8 %43, 0 %45 = zext i1 %44 to i32 br label %46 46: ; preds = %25, %16, %37 %47 = phi i32 [ %45, %37 ], [ 0, %25 ], [ 1, %16 ] ret i32 %47 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
linux_lib_extr_parser.c_match_wildcard
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_fsl_pamu.c_setup_qbman_paace.c' source_filename = "AnghaBench/linux/drivers/iommu/extr_fsl_pamu.c_setup_qbman_paace.c" target datalayout = "e-m:e-p270:32:32-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.paace = type { %struct.TYPE_6__, i32, %struct.TYPE_7__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } %struct.TYPE_7__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32 } @PAACE_IA_OTM = dso_local local_unnamed_addr global i32 0, align 4 @PAACE_OTM_INDEXED = dso_local local_unnamed_addr global i32 0, align 4 @OMI_QMAN_PRIV = dso_local local_unnamed_addr global i32 0, align 4 @PAACE_IA_CID = dso_local local_unnamed_addr global i32 0, align 4 @PAMU_ATTR_CACHE_L3 = dso_local local_unnamed_addr global i32 0, align 4 @PAACE_DA_HOST_CR = dso_local local_unnamed_addr global i32 0, align 4 @OMI_QMAN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @setup_qbman_paace], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @setup_qbman_paace(ptr nocapture noundef %0, i32 noundef %1) #0 { switch i32 %1, label %36 [ i32 129, label %3 i32 128, label %19 i32 130, label %32 ] 3: ; preds = %2 %4 = getelementptr inbounds %struct.paace, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = load i32, ptr @PAACE_IA_OTM, align 4, !tbaa !14 %7 = load i32, ptr @PAACE_OTM_INDEXED, align 4, !tbaa !14 %8 = tail call i32 @set_bf(i32 noundef %5, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @OMI_QMAN_PRIV, align 4, !tbaa !14 %10 = getelementptr inbounds %struct.paace, ptr %0, i64 0, i32 2 store i32 %9, ptr %10, align 4, !tbaa !15 %11 = load i32, ptr %4, align 4, !tbaa !5 %12 = load i32, ptr @PAACE_IA_CID, align 4, !tbaa !14 %13 = load i32, ptr @PAMU_ATTR_CACHE_L3, align 4, !tbaa !14 %14 = tail call i32 @get_stash_id(i32 noundef %13, i32 noundef 0) #2 %15 = tail call i32 @set_bf(i32 noundef %11, i32 noundef %12, i32 noundef %14) #2 %16 = load i32, ptr %0, align 4, !tbaa !16 %17 = load i32, ptr @PAACE_DA_HOST_CR, align 4, !tbaa !14 %18 = tail call i32 @set_bf(i32 noundef %16, i32 noundef %17, i32 noundef 0) #2 br label %36 19: ; preds = %2 %20 = getelementptr inbounds %struct.paace, ptr %0, i64 0, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !5 %22 = load i32, ptr @PAACE_IA_OTM, align 4, !tbaa !14 %23 = load i32, ptr @PAACE_OTM_INDEXED, align 4, !tbaa !14 %24 = tail call i32 @set_bf(i32 noundef %21, i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @OMI_QMAN, align 4, !tbaa !14 %26 = getelementptr inbounds %struct.paace, ptr %0, i64 0, i32 2 store i32 %25, ptr %26, align 4, !tbaa !15 %27 = load i32, ptr %20, align 4, !tbaa !5 %28 = load i32, ptr @PAACE_IA_CID, align 4, !tbaa !14 %29 = load i32, ptr @PAMU_ATTR_CACHE_L3, align 4, !tbaa !14 %30 = tail call i32 @get_stash_id(i32 noundef %29, i32 noundef 0) #2 %31 = tail call i32 @set_bf(i32 noundef %27, i32 noundef %28, i32 noundef %30) #2 br label %36 32: ; preds = %2 %33 = load i32, ptr %0, align 4, !tbaa !16 %34 = load i32, ptr @PAACE_DA_HOST_CR, align 4, !tbaa !14 %35 = tail call i32 @set_bf(i32 noundef %33, i32 noundef %34, i32 noundef 0) #2 br label %36 36: ; preds = %2, %32, %19, %3 ret void } declare i32 @set_bf(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_stash_id(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, !9, i64 4} !6 = !{!"paace", !7, i64 0, !9, i64 4, !12, i64 8} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_7__", !13, i64 0} !13 = !{!"TYPE_8__", !9, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!6, !9, i64 8} !16 = !{!6, !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_fsl_pamu.c_setup_qbman_paace.c' source_filename = "AnghaBench/linux/drivers/iommu/extr_fsl_pamu.c_setup_qbman_paace.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAACE_IA_OTM = common local_unnamed_addr global i32 0, align 4 @PAACE_OTM_INDEXED = common local_unnamed_addr global i32 0, align 4 @OMI_QMAN_PRIV = common local_unnamed_addr global i32 0, align 4 @PAACE_IA_CID = common local_unnamed_addr global i32 0, align 4 @PAMU_ATTR_CACHE_L3 = common local_unnamed_addr global i32 0, align 4 @PAACE_DA_HOST_CR = common local_unnamed_addr global i32 0, align 4 @OMI_QMAN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @setup_qbman_paace], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @setup_qbman_paace(ptr nocapture noundef %0, i32 noundef %1) #0 { switch i32 %1, label %36 [ i32 129, label %3 i32 128, label %19 i32 130, label %32 ] 3: ; preds = %2 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = load i32, ptr @PAACE_IA_OTM, align 4, !tbaa !15 %7 = load i32, ptr @PAACE_OTM_INDEXED, align 4, !tbaa !15 %8 = tail call i32 @set_bf(i32 noundef %5, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @OMI_QMAN_PRIV, align 4, !tbaa !15 %10 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %9, ptr %10, align 4, !tbaa !16 %11 = load i32, ptr %4, align 4, !tbaa !6 %12 = load i32, ptr @PAACE_IA_CID, align 4, !tbaa !15 %13 = load i32, ptr @PAMU_ATTR_CACHE_L3, align 4, !tbaa !15 %14 = tail call i32 @get_stash_id(i32 noundef %13, i32 noundef 0) #2 %15 = tail call i32 @set_bf(i32 noundef %11, i32 noundef %12, i32 noundef %14) #2 %16 = load i32, ptr %0, align 4, !tbaa !17 %17 = load i32, ptr @PAACE_DA_HOST_CR, align 4, !tbaa !15 %18 = tail call i32 @set_bf(i32 noundef %16, i32 noundef %17, i32 noundef 0) #2 br label %36 19: ; preds = %2 %20 = getelementptr inbounds i8, ptr %0, i64 4 %21 = load i32, ptr %20, align 4, !tbaa !6 %22 = load i32, ptr @PAACE_IA_OTM, align 4, !tbaa !15 %23 = load i32, ptr @PAACE_OTM_INDEXED, align 4, !tbaa !15 %24 = tail call i32 @set_bf(i32 noundef %21, i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @OMI_QMAN, align 4, !tbaa !15 %26 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %25, ptr %26, align 4, !tbaa !16 %27 = load i32, ptr %20, align 4, !tbaa !6 %28 = load i32, ptr @PAACE_IA_CID, align 4, !tbaa !15 %29 = load i32, ptr @PAMU_ATTR_CACHE_L3, align 4, !tbaa !15 %30 = tail call i32 @get_stash_id(i32 noundef %29, i32 noundef 0) #2 %31 = tail call i32 @set_bf(i32 noundef %27, i32 noundef %28, i32 noundef %30) #2 br label %36 32: ; preds = %2 %33 = load i32, ptr %0, align 4, !tbaa !17 %34 = load i32, ptr @PAACE_DA_HOST_CR, align 4, !tbaa !15 %35 = tail call i32 @set_bf(i32 noundef %33, i32 noundef %34, i32 noundef 0) #2 br label %36 36: ; preds = %2, %32, %19, %3 ret void } declare i32 @set_bf(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_stash_id(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, !10, i64 4} !7 = !{!"paace", !8, i64 0, !10, i64 4, !13, i64 8} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"TYPE_5__", !10, i64 0} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"TYPE_7__", !14, i64 0} !14 = !{!"TYPE_8__", !10, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!7, !10, i64 8} !17 = !{!7, !10, i64 0}
linux_drivers_iommu_extr_fsl_pamu.c_setup_qbman_paace
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wl1251/extr_debugfs.c_wl1251_debugfs_exit.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wl1251/extr_debugfs.c_wl1251_debugfs_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" %struct.wl1251 = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { ptr, ptr } %struct.TYPE_3__ = type { ptr } ; Function Attrs: nounwind uwtable define dso_local void @wl1251_debugfs_exit(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @wl1251_debugfs_delete_files(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.wl1251, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @kfree(ptr noundef %4) #2 store ptr null, ptr %3, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = tail call i32 @debugfs_remove(ptr noundef %7) #2 store ptr null, ptr %6, align 8, !tbaa !12 %9 = load ptr, ptr %0, align 8, !tbaa !13 %10 = tail call i32 @debugfs_remove(ptr noundef %9) #2 store ptr null, ptr %0, align 8, !tbaa !13 ret void } declare i32 @wl1251_debugfs_delete_files(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @debugfs_remove(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 16} !6 = !{!"wl1251", !7, i64 0, !11, i64 16} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !8, i64 0} !12 = !{!6, !8, i64 8} !13 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wl1251/extr_debugfs.c_wl1251_debugfs_exit.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wl1251/extr_debugfs.c_wl1251_debugfs_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @wl1251_debugfs_exit(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @wl1251_debugfs_delete_files(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @kfree(ptr noundef %4) #2 store ptr null, ptr %3, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = tail call i32 @debugfs_remove(ptr noundef %7) #2 store ptr null, ptr %6, align 8, !tbaa !13 %9 = load ptr, ptr %0, align 8, !tbaa !14 %10 = tail call i32 @debugfs_remove(ptr noundef %9) #2 store ptr null, ptr %0, align 8, !tbaa !14 ret void } declare i32 @wl1251_debugfs_delete_files(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @debugfs_remove(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 16} !7 = !{!"wl1251", !8, i64 0, !12, i64 16} !8 = !{!"TYPE_4__", !9, i64 0, !9, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_3__", !9, i64 0} !13 = !{!7, !9, i64 8} !14 = !{!7, !9, i64 0}
linux_drivers_net_wireless_ti_wl1251_extr_debugfs.c_wl1251_debugfs_exit
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_ctrl_iface_unix.c_wpa_supplicant_ctrl_iface_msg_cb.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_ctrl_iface_unix.c_wpa_supplicant_ctrl_iface_msg_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.wpa_supplicant = type { ptr, ptr, ptr } %struct.ctrl_iface_global_priv = type { i64, i32, i32, i32 } %struct.ctrl_iface_priv = type { i64, i32, i32, i32 } @WPA_MSG_NO_GLOBAL = dso_local local_unnamed_addr global i32 0, align 4 @MSG_MSGDUMP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"CTRL: Had to throttle global event message for sock %d\00", align 1 @.str.1 = private unnamed_addr constant [61 x i8] c"CTRL: Had to throttle %u global event message(s) for sock %d\00", align 1 @WPA_MSG_PER_INTERFACE = dso_local local_unnamed_addr global i32 0, align 4 @WPA_MSG_ONLY_GLOBAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"CTRL: Had to throttle event message for sock %d\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"CTRL: Had to throttle %u event message(s) for sock %d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @wpa_supplicant_ctrl_iface_msg_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wpa_supplicant_ctrl_iface_msg_cb(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = icmp eq ptr %0, null br i1 %6, label %101, label %7 7: ; preds = %5 %8 = getelementptr inbounds %struct.wpa_supplicant, ptr %0, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = load ptr, ptr %9, align 8, !tbaa !10 %11 = load i32, ptr @WPA_MSG_NO_GLOBAL, align 4, !tbaa !12 %12 = icmp ne i32 %11, %2 %13 = icmp ne ptr %10, null %14 = select i1 %12, i1 %13, i1 false br i1 %14, label %15, label %60 15: ; preds = %7 %16 = getelementptr inbounds %struct.ctrl_iface_global_priv, ptr %10, i64 0, i32 1 %17 = tail call i32 @dl_list_empty(ptr noundef nonnull %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %60 19: ; preds = %15 %20 = getelementptr inbounds %struct.ctrl_iface_global_priv, ptr %10, i64 0, i32 3 %21 = tail call i32 @dl_list_empty(ptr noundef nonnull %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %19 %24 = getelementptr inbounds %struct.ctrl_iface_global_priv, ptr %10, i64 0, i32 2 %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = tail call i64 @wpas_ctrl_iface_throttle(i32 noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %43, label %28 28: ; preds = %23, %19 %29 = load i64, ptr %10, align 8, !tbaa !17 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %28 %32 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !12 %33 = getelementptr inbounds %struct.ctrl_iface_global_priv, ptr %10, i64 0, i32 2 %34 = load i32, ptr %33, align 4, !tbaa !14 %35 = sext i32 %34 to i64 %36 = tail call i32 (i32, ptr, i64, ...) @wpa_printf(i32 noundef %32, ptr noundef nonnull @.str, i64 noundef %35) #2 %37 = load i64, ptr %10, align 8, !tbaa !17 br label %38 38: ; preds = %31, %28 %39 = phi i64 [ %37, %31 ], [ %29, %28 ] %40 = add nsw i64 %39, 1 store i64 %40, ptr %10, align 8, !tbaa !17 %41 = tail call i32 @wpas_ctrl_msg_queue_limit(i64 noundef %40, ptr noundef nonnull %20) #2 %42 = tail call i32 @wpas_ctrl_msg_queue(ptr noundef nonnull %20, ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #2 br label %60 43: ; preds = %23 %44 = load i64, ptr %10, align 8, !tbaa !17 %45 = icmp eq i64 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %43 %47 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !12 %48 = load i32, ptr %24, align 4, !tbaa !14 %49 = tail call i32 (i32, ptr, i64, ...) @wpa_printf(i32 noundef %47, ptr noundef nonnull @.str.1, i64 noundef %44, i32 noundef %48) #2 br label %50 50: ; preds = %46, %43 store i64 0, ptr %10, align 8, !tbaa !17 %51 = load i32, ptr @WPA_MSG_PER_INTERFACE, align 4, !tbaa !12 %52 = icmp eq i32 %51, %2 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = getelementptr inbounds %struct.wpa_supplicant, ptr %0, i64 0, i32 1 %55 = load ptr, ptr %54, align 8, !tbaa !18 br label %56 56: ; preds = %50, %53 %57 = phi ptr [ %55, %53 ], [ null, %50 ] %58 = load i32, ptr %24, align 4, !tbaa !14 %59 = tail call i32 @wpa_supplicant_ctrl_iface_send(ptr noundef nonnull %0, ptr noundef %57, i32 noundef %58, ptr noundef nonnull %16, i32 noundef %1, ptr noundef %3, i64 noundef %4, ptr noundef null, ptr noundef nonnull %10) #2 br label %60 60: ; preds = %38, %56, %15, %7 %61 = load ptr, ptr %0, align 8, !tbaa !19 %62 = load i32, ptr @WPA_MSG_ONLY_GLOBAL, align 4, !tbaa !12 %63 = icmp ne i32 %62, %2 %64 = icmp ne ptr %61, null %65 = select i1 %63, i1 %64, i1 false br i1 %65, label %66, label %101 66: ; preds = %60 %67 = getelementptr inbounds %struct.ctrl_iface_priv, ptr %61, i64 0, i32 3 %68 = tail call i32 @dl_list_empty(ptr noundef nonnull %67) #2 %69 = icmp eq i32 %68, 0 br i1 %69, label %75, label %70 70: ; preds = %66 %71 = getelementptr inbounds %struct.ctrl_iface_priv, ptr %61, i64 0, i32 2 %72 = load i32, ptr %71, align 4, !tbaa !20 %73 = tail call i64 @wpas_ctrl_iface_throttle(i32 noundef %72) #2 %74 = icmp eq i64 %73, 0 br i1 %74, label %90, label %75 75: ; preds = %70, %66 %76 = load i64, ptr %61, align 8, !tbaa !22 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %85 78: ; preds = %75 %79 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !12 %80 = getelementptr inbounds %struct.ctrl_iface_priv, ptr %61, i64 0, i32 2 %81 = load i32, ptr %80, align 4, !tbaa !20 %82 = sext i32 %81 to i64 %83 = tail call i32 (i32, ptr, i64, ...) @wpa_printf(i32 noundef %79, ptr noundef nonnull @.str.2, i64 noundef %82) #2 %84 = load i64, ptr %61, align 8, !tbaa !22 br label %85 85: ; preds = %78, %75 %86 = phi i64 [ %84, %78 ], [ %76, %75 ] %87 = add nsw i64 %86, 1 store i64 %87, ptr %61, align 8, !tbaa !22 %88 = tail call i32 @wpas_ctrl_msg_queue_limit(i64 noundef %87, ptr noundef nonnull %67) #2 %89 = tail call i32 @wpas_ctrl_msg_queue(ptr noundef nonnull %67, ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #2 br label %101 90: ; preds = %70 %91 = load i64, ptr %61, align 8, !tbaa !22 %92 = icmp eq i64 %91, 0 br i1 %92, label %97, label %93 93: ; preds = %90 %94 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !12 %95 = load i32, ptr %71, align 4, !tbaa !20 %96 = tail call i32 (i32, ptr, i64, ...) @wpa_printf(i32 noundef %94, ptr noundef nonnull @.str.3, i64 noundef %91, i32 noundef %95) #2 br label %97 97: ; preds = %93, %90 store i64 0, ptr %61, align 8, !tbaa !22 %98 = load i32, ptr %71, align 4, !tbaa !20 %99 = getelementptr inbounds %struct.ctrl_iface_priv, ptr %61, i64 0, i32 1 %100 = tail call i32 @wpa_supplicant_ctrl_iface_send(ptr noundef nonnull %0, ptr noundef null, i32 noundef %98, ptr noundef nonnull %99, i32 noundef %1, ptr noundef %3, i64 noundef %4, ptr noundef nonnull %61, ptr noundef null) #2 br label %101 101: ; preds = %60, %97, %85, %5 ret void } declare i32 @dl_list_empty(ptr noundef) local_unnamed_addr #1 declare i64 @wpas_ctrl_iface_throttle(i32 noundef) local_unnamed_addr #1 declare i32 @wpa_printf(i32 noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @wpas_ctrl_msg_queue_limit(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wpas_ctrl_msg_queue(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wpa_supplicant_ctrl_iface_send(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 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, !7, i64 16} !6 = !{!"wpa_supplicant", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 12} !15 = !{!"ctrl_iface_global_priv", !16, i64 0, !13, i64 8, !13, i64 12, !13, i64 16} !16 = !{!"long", !8, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!6, !7, i64 8} !19 = !{!6, !7, i64 0} !20 = !{!21, !13, i64 12} !21 = !{!"ctrl_iface_priv", !16, i64 0, !13, i64 8, !13, i64 12, !13, i64 16} !22 = !{!21, !16, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_ctrl_iface_unix.c_wpa_supplicant_ctrl_iface_msg_cb.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_ctrl_iface_unix.c_wpa_supplicant_ctrl_iface_msg_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WPA_MSG_NO_GLOBAL = common local_unnamed_addr global i32 0, align 4 @MSG_MSGDUMP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"CTRL: Had to throttle global event message for sock %d\00", align 1 @.str.1 = private unnamed_addr constant [61 x i8] c"CTRL: Had to throttle %u global event message(s) for sock %d\00", align 1 @WPA_MSG_PER_INTERFACE = common local_unnamed_addr global i32 0, align 4 @WPA_MSG_ONLY_GLOBAL = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"CTRL: Had to throttle event message for sock %d\00", align 1 @.str.3 = private unnamed_addr constant [54 x i8] c"CTRL: Had to throttle %u event message(s) for sock %d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @wpa_supplicant_ctrl_iface_msg_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wpa_supplicant_ctrl_iface_msg_cb(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = icmp eq ptr %0, null br i1 %6, label %101, label %7 7: ; preds = %5 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = load ptr, ptr %9, align 8, !tbaa !11 %11 = load i32, ptr @WPA_MSG_NO_GLOBAL, align 4, !tbaa !13 %12 = icmp ne i32 %11, %2 %13 = icmp ne ptr %10, null %14 = select i1 %12, i1 %13, i1 false br i1 %14, label %15, label %60 15: ; preds = %7 %16 = getelementptr inbounds i8, ptr %10, i64 8 %17 = tail call i32 @dl_list_empty(ptr noundef nonnull %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %60 19: ; preds = %15 %20 = getelementptr inbounds i8, ptr %10, i64 16 %21 = tail call i32 @dl_list_empty(ptr noundef nonnull %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %10, i64 12 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = tail call i64 @wpas_ctrl_iface_throttle(i32 noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %43, label %28 28: ; preds = %23, %19 %29 = load i64, ptr %10, align 8, !tbaa !18 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %28 %32 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !13 %33 = getelementptr inbounds i8, ptr %10, i64 12 %34 = load i32, ptr %33, align 4, !tbaa !15 %35 = sext i32 %34 to i64 %36 = tail call i32 (i32, ptr, i64, ...) @wpa_printf(i32 noundef %32, ptr noundef nonnull @.str, i64 noundef %35) #2 %37 = load i64, ptr %10, align 8, !tbaa !18 br label %38 38: ; preds = %31, %28 %39 = phi i64 [ %37, %31 ], [ %29, %28 ] %40 = add nsw i64 %39, 1 store i64 %40, ptr %10, align 8, !tbaa !18 %41 = tail call i32 @wpas_ctrl_msg_queue_limit(i64 noundef %40, ptr noundef nonnull %20) #2 %42 = tail call i32 @wpas_ctrl_msg_queue(ptr noundef nonnull %20, ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #2 br label %60 43: ; preds = %23 %44 = load i64, ptr %10, align 8, !tbaa !18 %45 = icmp eq i64 %44, 0 br i1 %45, label %50, label %46 46: ; preds = %43 %47 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !13 %48 = load i32, ptr %24, align 4, !tbaa !15 %49 = tail call i32 (i32, ptr, i64, ...) @wpa_printf(i32 noundef %47, ptr noundef nonnull @.str.1, i64 noundef %44, i32 noundef %48) #2 br label %50 50: ; preds = %46, %43 store i64 0, ptr %10, align 8, !tbaa !18 %51 = load i32, ptr @WPA_MSG_PER_INTERFACE, align 4, !tbaa !13 %52 = icmp eq i32 %51, %2 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = getelementptr inbounds i8, ptr %0, i64 8 %55 = load ptr, ptr %54, align 8, !tbaa !19 br label %56 56: ; preds = %50, %53 %57 = phi ptr [ %55, %53 ], [ null, %50 ] %58 = load i32, ptr %24, align 4, !tbaa !15 %59 = tail call i32 @wpa_supplicant_ctrl_iface_send(ptr noundef nonnull %0, ptr noundef %57, i32 noundef %58, ptr noundef nonnull %16, i32 noundef %1, ptr noundef %3, i64 noundef %4, ptr noundef null, ptr noundef nonnull %10) #2 br label %60 60: ; preds = %38, %56, %15, %7 %61 = load ptr, ptr %0, align 8, !tbaa !20 %62 = load i32, ptr @WPA_MSG_ONLY_GLOBAL, align 4, !tbaa !13 %63 = icmp ne i32 %62, %2 %64 = icmp ne ptr %61, null %65 = select i1 %63, i1 %64, i1 false br i1 %65, label %66, label %101 66: ; preds = %60 %67 = getelementptr inbounds i8, ptr %61, i64 16 %68 = tail call i32 @dl_list_empty(ptr noundef nonnull %67) #2 %69 = icmp eq i32 %68, 0 br i1 %69, label %75, label %70 70: ; preds = %66 %71 = getelementptr inbounds i8, ptr %61, i64 12 %72 = load i32, ptr %71, align 4, !tbaa !21 %73 = tail call i64 @wpas_ctrl_iface_throttle(i32 noundef %72) #2 %74 = icmp eq i64 %73, 0 br i1 %74, label %90, label %75 75: ; preds = %70, %66 %76 = load i64, ptr %61, align 8, !tbaa !23 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %85 78: ; preds = %75 %79 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !13 %80 = getelementptr inbounds i8, ptr %61, i64 12 %81 = load i32, ptr %80, align 4, !tbaa !21 %82 = sext i32 %81 to i64 %83 = tail call i32 (i32, ptr, i64, ...) @wpa_printf(i32 noundef %79, ptr noundef nonnull @.str.2, i64 noundef %82) #2 %84 = load i64, ptr %61, align 8, !tbaa !23 br label %85 85: ; preds = %78, %75 %86 = phi i64 [ %84, %78 ], [ %76, %75 ] %87 = add nsw i64 %86, 1 store i64 %87, ptr %61, align 8, !tbaa !23 %88 = tail call i32 @wpas_ctrl_msg_queue_limit(i64 noundef %87, ptr noundef nonnull %67) #2 %89 = tail call i32 @wpas_ctrl_msg_queue(ptr noundef nonnull %67, ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #2 br label %101 90: ; preds = %70 %91 = load i64, ptr %61, align 8, !tbaa !23 %92 = icmp eq i64 %91, 0 br i1 %92, label %97, label %93 93: ; preds = %90 %94 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !13 %95 = load i32, ptr %71, align 4, !tbaa !21 %96 = tail call i32 (i32, ptr, i64, ...) @wpa_printf(i32 noundef %94, ptr noundef nonnull @.str.3, i64 noundef %91, i32 noundef %95) #2 br label %97 97: ; preds = %93, %90 store i64 0, ptr %61, align 8, !tbaa !23 %98 = load i32, ptr %71, align 4, !tbaa !21 %99 = getelementptr inbounds i8, ptr %61, i64 8 %100 = tail call i32 @wpa_supplicant_ctrl_iface_send(ptr noundef nonnull %0, ptr noundef null, i32 noundef %98, ptr noundef nonnull %99, i32 noundef %1, ptr noundef %3, i64 noundef %4, ptr noundef nonnull %61, ptr noundef null) #2 br label %101 101: ; preds = %60, %97, %85, %5 ret void } declare i32 @dl_list_empty(ptr noundef) local_unnamed_addr #1 declare i64 @wpas_ctrl_iface_throttle(i32 noundef) local_unnamed_addr #1 declare i32 @wpa_printf(i32 noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @wpas_ctrl_msg_queue_limit(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wpas_ctrl_msg_queue(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wpa_supplicant_ctrl_iface_send(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i64 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, !8, i64 16} !7 = !{!"wpa_supplicant", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !14, i64 12} !16 = !{!"ctrl_iface_global_priv", !17, i64 0, !14, i64 8, !14, i64 12, !14, i64 16} !17 = !{!"long", !9, i64 0} !18 = !{!16, !17, i64 0} !19 = !{!7, !8, i64 8} !20 = !{!7, !8, i64 0} !21 = !{!22, !14, i64 12} !22 = !{!"ctrl_iface_priv", !17, i64 0, !14, i64 8, !14, i64 12, !14, i64 16} !23 = !{!22, !17, i64 0}
freebsd_contrib_wpa_wpa_supplicant_extr_ctrl_iface_unix.c_wpa_supplicant_ctrl_iface_msg_cb
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_fbc.c_intel_fbc_hw_deactivate.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_fbc.c_intel_fbc_hw_deactivate.c" target datalayout = "e-m:e-p270:32:32-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 @intel_fbc_hw_deactivate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @intel_fbc_hw_deactivate(ptr noundef %0) #0 { store i32 0, ptr %0, align 4, !tbaa !5 %2 = tail call i32 @INTEL_GEN(ptr noundef nonnull %0) #2 %3 = icmp sgt i32 %2, 4 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @ilk_fbc_deactivate(ptr noundef nonnull %0) #2 br label %13 6: ; preds = %1 %7 = tail call i64 @IS_GM45(ptr noundef nonnull %0) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %6 %10 = tail call i32 @g4x_fbc_deactivate(ptr noundef nonnull %0) #2 br label %13 11: ; preds = %6 %12 = tail call i32 @i8xx_fbc_deactivate(ptr noundef nonnull %0) #2 br label %13 13: ; preds = %9, %11, %4 ret void } declare i32 @INTEL_GEN(ptr noundef) local_unnamed_addr #1 declare i32 @ilk_fbc_deactivate(ptr noundef) local_unnamed_addr #1 declare i64 @IS_GM45(ptr noundef) local_unnamed_addr #1 declare i32 @g4x_fbc_deactivate(ptr noundef) local_unnamed_addr #1 declare i32 @i8xx_fbc_deactivate(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 = !{!"intel_fbc", !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/i915/display/extr_intel_fbc.c_intel_fbc_hw_deactivate.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_fbc.c_intel_fbc_hw_deactivate.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 @intel_fbc_hw_deactivate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @intel_fbc_hw_deactivate(ptr noundef %0) #0 { store i32 0, ptr %0, align 4, !tbaa !6 %2 = tail call i32 @INTEL_GEN(ptr noundef nonnull %0) #2 %3 = icmp sgt i32 %2, 4 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @ilk_fbc_deactivate(ptr noundef nonnull %0) #2 br label %13 6: ; preds = %1 %7 = tail call i64 @IS_GM45(ptr noundef nonnull %0) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %6 %10 = tail call i32 @g4x_fbc_deactivate(ptr noundef nonnull %0) #2 br label %13 11: ; preds = %6 %12 = tail call i32 @i8xx_fbc_deactivate(ptr noundef nonnull %0) #2 br label %13 13: ; preds = %9, %11, %4 ret void } declare i32 @INTEL_GEN(ptr noundef) local_unnamed_addr #1 declare i32 @ilk_fbc_deactivate(ptr noundef) local_unnamed_addr #1 declare i64 @IS_GM45(ptr noundef) local_unnamed_addr #1 declare i32 @g4x_fbc_deactivate(ptr noundef) local_unnamed_addr #1 declare i32 @i8xx_fbc_deactivate(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 = !{!"intel_fbc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_i915_display_extr_intel_fbc.c_intel_fbc_hw_deactivate
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_minheap-internal.h_min_heap_elt_is_top_.c' source_filename = "AnghaBench/freebsd/contrib/libevent/extr_minheap-internal.h_min_heap_elt_is_top_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @min_heap_elt_is_top_(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"event", !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"}
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_minheap-internal.h_min_heap_elt_is_top_.c' source_filename = "AnghaBench/freebsd/contrib/libevent/extr_minheap-internal.h_min_heap_elt_is_top_.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define range(i32 0, 2) i32 @min_heap_elt_is_top_(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"event", !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"}
freebsd_contrib_libevent_extr_minheap-internal.h_min_heap_elt_is_top_
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_mp.c_isbefore.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_mp.c_isbefore.c" target datalayout = "e-m:e-p270:32:32-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 @isbefore], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @isbefore(i32 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = icmp eq i32 %0, 0 %5 = select i1 %4, i64 16776703, i64 3583 %6 = icmp slt i64 %5, %1 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = icmp slt i64 %2, 512 %9 = icmp sgt i64 %2, %1 %10 = or i1 %8, %9 br i1 %10, label %18, label %17 11: ; preds = %3 %12 = icmp sgt i64 %1, 512 %13 = icmp sge i64 %5, %2 %14 = or i1 %12, %13 %15 = icmp slt i64 %1, %2 %16 = and i1 %15, %14 br i1 %16, label %18, label %17 17: ; preds = %11, %7 br label %18 18: ; preds = %11, %7, %17 %19 = phi i32 [ 0, %17 ], [ 1, %7 ], [ 1, %11 ] ret i32 %19 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_mp.c_isbefore.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_mp.c_isbefore.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 @isbefore], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 0, 2) i32 @isbefore(i32 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = icmp eq i32 %0, 0 %5 = select i1 %4, i64 16776703, i64 3583 %6 = icmp slt i64 %5, %1 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = icmp slt i64 %2, 512 %9 = icmp sgt i64 %2, %1 %10 = or i1 %8, %9 br i1 %10, label %18, label %17 11: ; preds = %3 %12 = icmp sgt i64 %1, 512 %13 = icmp sge i64 %5, %2 %14 = or i1 %12, %13 %15 = icmp slt i64 %1, %2 %16 = and i1 %15, %14 br i1 %16, label %18, label %17 17: ; preds = %11, %7 br label %18 18: ; preds = %11, %7, %17 %19 = phi i32 [ 0, %17 ], [ 1, %7 ], [ 1, %11 ] ret i32 %19 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_usr.sbin_ppp_extr_mp.c_isbefore
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_bd.c_add_subtitle.c' source_filename = "AnghaBench/HandBrake/libhb/extr_bd.c_add_subtitle.c" target datalayout = "e-m:e-p270:32:32-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_15__ = type { i32, i64, i32 } %struct.TYPE_14__ = type { i32, i32, i32, i32, i32, %struct.TYPE_12__, i32, i32, i32, %struct.TYPE_11__, i32 } %struct.TYPE_12__ = type { i32, i32 } %struct.TYPE_11__ = type { i32 } %struct.TYPE_13__ = type { ptr, ptr, ptr } @PGSSUB = dso_local local_unnamed_addr global i32 0, align 4 @PICTURESUB = dso_local local_unnamed_addr global i32 0, align 4 @RENDERSUB = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"%s [%s]\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"HDMV\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"bd: subtitle id=0x%x, lang=%s, 3cc=%s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_subtitle], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @add_subtitle(i32 noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 { %5 = tail call ptr @calloc(i32 noundef 48, i32 noundef 1) #2 store i32 %0, ptr %5, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_15__, ptr %2, i64 0, i32 2 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 4 store i32 %7, ptr %8, align 4, !tbaa !15 %9 = load i32, ptr %2, align 8, !tbaa !16 %10 = icmp eq i32 %9, 128 br i1 %10, label %11, label %27 11: ; preds = %4 %12 = load i32, ptr @PGSSUB, align 4, !tbaa !17 %13 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 8 store i32 %12, ptr %13, align 4, !tbaa !18 %14 = load i32, ptr @PICTURESUB, align 4, !tbaa !17 %15 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 10 store i32 %14, ptr %15, align 4, !tbaa !19 %16 = load i32, ptr @RENDERSUB, align 4, !tbaa !17 %17 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 9 store i32 %16, ptr %17, align 4, !tbaa !20 %18 = getelementptr inbounds %struct.TYPE_15__, ptr %2, i64 0, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !21 %20 = inttoptr i64 %19 to ptr %21 = tail call ptr @lang_for_code2(ptr noundef %20) #2 %22 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 3 %23 = load i32, ptr %22, align 4, !tbaa !22 %24 = load ptr, ptr %21, align 8, !tbaa !23 %25 = load i8, ptr %24, align 1 %26 = icmp eq i8 %25, 0 br i1 %26, label %29, label %32 27: ; preds = %4 %28 = tail call i32 @free(ptr noundef nonnull %5) #2 br label %54 29: ; preds = %11 %30 = getelementptr inbounds %struct.TYPE_13__, ptr %21, i64 0, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !26 br label %32 32: ; preds = %11, %29 %33 = phi ptr [ %31, %29 ], [ %24, %11 ] %34 = load i32, ptr %13, align 4, !tbaa !18 %35 = tail call ptr @hb_subsource_name(i32 noundef %34) #2 %36 = tail call i32 (i32, i32, ptr, ptr, ...) @snprintf(i32 noundef %23, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef %33, ptr noundef %35) #2 %37 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 2 %38 = load i32, ptr %37, align 4, !tbaa !27 %39 = getelementptr inbounds %struct.TYPE_13__, ptr %21, i64 0, i32 2 %40 = load ptr, ptr %39, align 8, !tbaa !28 %41 = tail call i32 (i32, i32, ptr, ptr, ...) @snprintf(i32 noundef %38, i32 noundef 4, ptr noundef nonnull @.str.1, ptr noundef %40) #2 %42 = tail call i32 @STR4_TO_UINT32(ptr noundef nonnull @.str.2) #2 %43 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 7 store i32 %42, ptr %43, align 4, !tbaa !29 %44 = load i32, ptr %2, align 8, !tbaa !16 %45 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 1 store i32 %44, ptr %45, align 4, !tbaa !30 %46 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 6 store i32 %3, ptr %46, align 4, !tbaa !31 %47 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 5 store i32 1, ptr %47, align 4, !tbaa !32 %48 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 5, i32 1 store i32 90000, ptr %48, align 4, !tbaa !33 %49 = load i32, ptr %8, align 4, !tbaa !15 %50 = load i32, ptr %22, align 4, !tbaa !22 %51 = load i32, ptr %37, align 4, !tbaa !27 %52 = tail call i32 @hb_log(ptr noundef nonnull @.str.3, i32 noundef %49, i32 noundef %50, i32 noundef %51) #2 %53 = tail call i32 @hb_list_add(ptr noundef %1, ptr noundef nonnull %5) #2 br label %54 54: ; preds = %32, %27 ret void } declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare ptr @lang_for_code2(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @hb_subsource_name(i32 noundef) local_unnamed_addr #1 declare i32 @STR4_TO_UINT32(ptr noundef) local_unnamed_addr #1 declare i32 @hb_log(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hb_list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_14__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 20, !7, i64 28, !7, i64 32, !7, i64 36, !11, i64 40, !7, i64 44} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_12__", !7, i64 0, !7, i64 4} !11 = !{!"TYPE_11__", !7, i64 0} !12 = !{!13, !7, i64 16} !13 = !{!"TYPE_15__", !7, i64 0, !14, i64 8, !7, i64 16} !14 = !{!"long", !8, i64 0} !15 = !{!6, !7, i64 16} !16 = !{!13, !7, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!6, !7, i64 36} !19 = !{!6, !7, i64 44} !20 = !{!6, !7, i64 40} !21 = !{!13, !14, i64 8} !22 = !{!6, !7, i64 12} !23 = !{!24, !25, i64 0} !24 = !{!"TYPE_13__", !25, i64 0, !25, i64 8, !25, i64 16} !25 = !{!"any pointer", !8, i64 0} !26 = !{!24, !25, i64 8} !27 = !{!6, !7, i64 8} !28 = !{!24, !25, i64 16} !29 = !{!6, !7, i64 32} !30 = !{!6, !7, i64 4} !31 = !{!6, !7, i64 28} !32 = !{!6, !7, i64 20} !33 = !{!6, !7, i64 24}
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_bd.c_add_subtitle.c' source_filename = "AnghaBench/HandBrake/libhb/extr_bd.c_add_subtitle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PGSSUB = common local_unnamed_addr global i32 0, align 4 @PICTURESUB = common local_unnamed_addr global i32 0, align 4 @RENDERSUB = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"%s [%s]\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"HDMV\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"bd: subtitle id=0x%x, lang=%s, 3cc=%s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @add_subtitle], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @add_subtitle(i32 noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 { %5 = tail call ptr @calloc(i32 noundef 48, i32 noundef 1) #2 store i32 %0, ptr %5, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %2, i64 16 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = getelementptr inbounds i8, ptr %5, i64 16 store i32 %7, ptr %8, align 4, !tbaa !16 %9 = load i32, ptr %2, align 8, !tbaa !17 %10 = icmp eq i32 %9, 128 br i1 %10, label %11, label %27 11: ; preds = %4 %12 = load i32, ptr @PGSSUB, align 4, !tbaa !18 %13 = getelementptr inbounds i8, ptr %5, i64 36 store i32 %12, ptr %13, align 4, !tbaa !19 %14 = load i32, ptr @PICTURESUB, align 4, !tbaa !18 %15 = getelementptr inbounds i8, ptr %5, i64 44 store i32 %14, ptr %15, align 4, !tbaa !20 %16 = load i32, ptr @RENDERSUB, align 4, !tbaa !18 %17 = getelementptr inbounds i8, ptr %5, i64 40 store i32 %16, ptr %17, align 4, !tbaa !21 %18 = getelementptr inbounds i8, ptr %2, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !22 %20 = inttoptr i64 %19 to ptr %21 = tail call ptr @lang_for_code2(ptr noundef %20) #2 %22 = getelementptr inbounds i8, ptr %5, i64 12 %23 = load i32, ptr %22, align 4, !tbaa !23 %24 = load ptr, ptr %21, align 8, !tbaa !24 %25 = load i8, ptr %24, align 1 %26 = icmp eq i8 %25, 0 br i1 %26, label %29, label %32 27: ; preds = %4 %28 = tail call i32 @free(ptr noundef nonnull %5) #2 br label %53 29: ; preds = %11 %30 = getelementptr inbounds i8, ptr %21, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !27 br label %32 32: ; preds = %11, %29 %33 = phi ptr [ %31, %29 ], [ %24, %11 ] %34 = load i32, ptr %13, align 4, !tbaa !19 %35 = tail call ptr @hb_subsource_name(i32 noundef %34) #2 %36 = tail call i32 (i32, i32, ptr, ptr, ...) @snprintf(i32 noundef %23, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef %33, ptr noundef %35) #2 %37 = getelementptr inbounds i8, ptr %5, i64 8 %38 = load i32, ptr %37, align 4, !tbaa !28 %39 = getelementptr inbounds i8, ptr %21, i64 16 %40 = load ptr, ptr %39, align 8, !tbaa !29 %41 = tail call i32 (i32, i32, ptr, ptr, ...) @snprintf(i32 noundef %38, i32 noundef 4, ptr noundef nonnull @.str.1, ptr noundef %40) #2 %42 = tail call i32 @STR4_TO_UINT32(ptr noundef nonnull @.str.2) #2 %43 = getelementptr inbounds i8, ptr %5, i64 32 store i32 %42, ptr %43, align 4, !tbaa !30 %44 = load i32, ptr %2, align 8, !tbaa !17 %45 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %44, ptr %45, align 4, !tbaa !31 %46 = getelementptr inbounds i8, ptr %5, i64 28 store i32 %3, ptr %46, align 4, !tbaa !32 %47 = getelementptr inbounds i8, ptr %5, i64 20 store <2 x i32> <i32 1, i32 90000>, ptr %47, align 4, !tbaa !18 %48 = load i32, ptr %8, align 4, !tbaa !16 %49 = load i32, ptr %22, align 4, !tbaa !23 %50 = load i32, ptr %37, align 4, !tbaa !28 %51 = tail call i32 @hb_log(ptr noundef nonnull @.str.3, i32 noundef %48, i32 noundef %49, i32 noundef %50) #2 %52 = tail call i32 @hb_list_add(ptr noundef %1, ptr noundef nonnull %5) #2 br label %53 53: ; preds = %32, %27 ret void } declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare ptr @lang_for_code2(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @hb_subsource_name(i32 noundef) local_unnamed_addr #1 declare i32 @STR4_TO_UINT32(ptr noundef) local_unnamed_addr #1 declare i32 @hb_log(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hb_list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_14__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 20, !8, i64 28, !8, i64 32, !8, i64 36, !12, i64 40, !8, i64 44} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_12__", !8, i64 0, !8, i64 4} !12 = !{!"TYPE_11__", !8, i64 0} !13 = !{!14, !8, i64 16} !14 = !{!"TYPE_15__", !8, i64 0, !15, i64 8, !8, i64 16} !15 = !{!"long", !9, i64 0} !16 = !{!7, !8, i64 16} !17 = !{!14, !8, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!7, !8, i64 36} !20 = !{!7, !8, i64 44} !21 = !{!7, !8, i64 40} !22 = !{!14, !15, i64 8} !23 = !{!7, !8, i64 12} !24 = !{!25, !26, i64 0} !25 = !{!"TYPE_13__", !26, i64 0, !26, i64 8, !26, i64 16} !26 = !{!"any pointer", !9, i64 0} !27 = !{!25, !26, i64 8} !28 = !{!7, !8, i64 8} !29 = !{!25, !26, i64 16} !30 = !{!7, !8, i64 32} !31 = !{!7, !8, i64 4} !32 = !{!7, !8, i64 28}
HandBrake_libhb_extr_bd.c_add_subtitle
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_ScspSlotDebugStats.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_ScspSlotDebugStats.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.TYPE_3__ = type { i32, i32, i32, i64, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 } @.str = private unnamed_addr constant [16 x i8] c"Sound Source = \00", align 1 @scsp = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [21 x i8] c"External DRAM data\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Internal(Noise)\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Internal(0's)\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Invalid setting\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Source bit = \00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"No bit reversal\0D\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"Reverse other bits\0D\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"Reverse sign bit\0D\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Reverse sign and other bits\0D\0A\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"Loop Mode = \00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"Off\0D\0A\00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c"Normal\0D\0A\00", align 1 @.str.13 = private unnamed_addr constant [10 x i8] c"Reverse\0D\0A\00", align 1 @.str.14 = private unnamed_addr constant [14 x i8] c"Alternating\0D\0A\00", align 1 @.str.15 = private unnamed_addr constant [16 x i8] c"8-bit samples\0D\0A\00", align 1 @.str.16 = private unnamed_addr constant [17 x i8] c"16-bit samples\0D\0A\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"Start Address = %05lX\0D\0A\00", align 1 @.str.18 = private unnamed_addr constant [29 x i8] c"Loop Start Address = %04lX\0D\0A\00", align 1 @SCSP_FREQ_LB = dso_local local_unnamed_addr global i64 0, align 8 @.str.19 = private unnamed_addr constant [27 x i8] c"Loop End Address = %04lX\0D\0A\00", align 1 @.str.20 = private unnamed_addr constant [21 x i8] c"Decay 1 Rate = %ld\0D\0A\00", align 1 @.str.21 = private unnamed_addr constant [21 x i8] c"Decay 2 Rate = %ld\0D\0A\00", align 1 @.str.22 = private unnamed_addr constant [18 x i8] c"EG Hold Enabled\0D\0A\00", align 1 @.str.23 = private unnamed_addr constant [20 x i8] c"Attack Rate = %ld\0D\0A\00", align 1 @.str.24 = private unnamed_addr constant [26 x i8] c"Loop Start Link Enabled\0D\0A\00", align 1 @.str.25 = private unnamed_addr constant [25 x i8] c"Key rate scaling = %ld\0D\0A\00", align 1 @.str.26 = private unnamed_addr constant [19 x i8] c"Decay Level = %d\0D\0A\00", align 1 @.str.27 = private unnamed_addr constant [21 x i8] c"Release Rate = %ld\0D\0A\00", align 1 @.str.28 = private unnamed_addr constant [24 x i8] c"Stack Write Inhibited\0D\0A\00", align 1 @.str.29 = private unnamed_addr constant [23 x i8] c"Sound Direct Enabled\0D\0A\00", align 1 @.str.30 = private unnamed_addr constant [20 x i8] c"Total Level = %ld\0D\0A\00", align 1 @.str.31 = private unnamed_addr constant [24 x i8] c"Modulation Level = %d\0D\0A\00", align 1 @.str.32 = private unnamed_addr constant [26 x i8] c"Modulation Input X = %d\0D\0A\00", align 1 @.str.33 = private unnamed_addr constant [26 x i8] c"Modulation Input Y = %d\0D\0A\00", align 1 @.str.34 = private unnamed_addr constant [14 x i8] c"Octave = %d\0D\0A\00", align 1 @.str.35 = private unnamed_addr constant [31 x i8] c"Frequency Number Switch = %d\0D\0A\00", align 1 @.str.36 = private unnamed_addr constant [17 x i8] c"LFO Reset = %s\0D\0A\00", align 1 @.str.37 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 @.str.38 = private unnamed_addr constant [6 x i8] c"FALSE\00", align 1 @.str.39 = private unnamed_addr constant [21 x i8] c"LFO Frequency = %d\0D\0A\00", align 1 @.str.40 = private unnamed_addr constant [37 x i8] c"LFO Frequency modulation waveform = \00", align 1 @.str.41 = private unnamed_addr constant [38 x i8] c"LFO Frequency modulation level = %d\0D\0A\00", align 1 @.str.42 = private unnamed_addr constant [37 x i8] c"LFO Amplitude modulation waveform = \00", align 1 @.str.43 = private unnamed_addr constant [38 x i8] c"LFO Amplitude modulation level = %d\0D\0A\00", align 1 @.str.44 = private unnamed_addr constant [19 x i8] c"Input mix level = \00", align 1 @.str.45 = private unnamed_addr constant [20 x i8] c"Input Select = %d\0D\0A\00", align 1 @.str.46 = private unnamed_addr constant [26 x i8] c"Direct data send level = \00", align 1 @.str.47 = private unnamed_addr constant [22 x i8] c"Direct data panpot = \00", align 1 @.str.48 = private unnamed_addr constant [26 x i8] c"Effect data send level = \00", align 1 @.str.49 = private unnamed_addr constant [22 x i8] c"Effect data panpot = \00", align 1 @reltable.ScspSlotDebugStats = private unnamed_addr constant [3 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats to i64)) to i32)], align 4 @reltable.ScspSlotDebugStats.52 = private unnamed_addr constant [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats.52 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.7 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats.52 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.8 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats.52 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.9 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats.52 to i64)) to i32)], align 4 @reltable.ScspSlotDebugStats.53 = private unnamed_addr constant [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.11 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats.53 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.12 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats.53 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.13 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats.53 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.14 to i64), i64 ptrtoint (ptr @reltable.ScspSlotDebugStats.53 to i64)) to i32)], align 4 ; Function Attrs: nounwind uwtable define dso_local void @ScspSlotDebugStats(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = shl nsw i32 %0, 5 %4 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str) #3 %5 = load ptr, ptr @scsp, align 8, !tbaa !5 %6 = sext i32 %0 to i64 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 %6 %8 = load i32, ptr %7, align 8, !tbaa !10 %9 = icmp ult i32 %8, 3 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = zext nneg i32 %8 to i64 %12 = shl i64 %11, 2 %13 = call ptr @llvm.load.relative.i64(ptr @reltable.ScspSlotDebugStats, i64 %12) br label %14 14: ; preds = %2, %10 %15 = phi ptr [ %13, %10 ], [ @.str.4, %2 ] %16 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull %15) #3 %17 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.5) #3 %18 = load ptr, ptr @scsp, align 8, !tbaa !5 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 %6, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = icmp ult i32 %20, 4 br i1 %21, label %22, label %27 22: ; preds = %14 %23 = zext nneg i32 %20 to i64 %24 = shl i64 %23, 2 %25 = call ptr @llvm.load.relative.i64(ptr @reltable.ScspSlotDebugStats.52, i64 %24) %26 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull %25) #3 br label %27 27: ; preds = %14, %22 %28 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.10) #3 %29 = load ptr, ptr @scsp, align 8, !tbaa !5 %30 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i64 %6, i32 2 %31 = load i32, ptr %30, align 8, !tbaa !15 %32 = icmp ult i32 %31, 4 br i1 %32, label %33, label %38 33: ; preds = %27 %34 = zext nneg i32 %31 to i64 %35 = shl i64 %34, 2 %36 = call ptr @llvm.load.relative.i64(ptr @reltable.ScspSlotDebugStats.53, i64 %35) %37 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull %36) #3 br label %38 38: ; preds = %27, %33 %39 = load ptr, ptr @scsp, align 8, !tbaa !5 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %39, i64 %6, i32 19 %41 = load i64, ptr %40, align 8, !tbaa !16 %42 = icmp eq i64 %41, 0 %43 = select i1 %42, ptr @.str.16, ptr @.str.15 %44 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull %43) #3 %45 = load ptr, ptr @scsp, align 8, !tbaa !5 %46 = getelementptr inbounds %struct.TYPE_3__, ptr %45, i64 %6, i32 18 %47 = load i64, ptr %46, align 8, !tbaa !17 %48 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.17, i64 noundef %47) #3 %49 = load ptr, ptr @scsp, align 8, !tbaa !5 %50 = getelementptr inbounds %struct.TYPE_3__, ptr %49, i64 %6, i32 17 %51 = load i64, ptr %50, align 8, !tbaa !18 %52 = load i64, ptr @SCSP_FREQ_LB, align 8, !tbaa !19 %53 = lshr i64 %51, %52 %54 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.18, i64 noundef %53) #3 %55 = load ptr, ptr @scsp, align 8, !tbaa !5 %56 = getelementptr inbounds %struct.TYPE_3__, ptr %55, i64 %6, i32 16 %57 = load i64, ptr %56, align 8, !tbaa !20 %58 = load i64, ptr @SCSP_FREQ_LB, align 8, !tbaa !19 %59 = lshr i64 %57, %58 %60 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.19, i64 noundef %59) #3 %61 = load ptr, ptr @scsp, align 8, !tbaa !5 %62 = getelementptr inbounds %struct.TYPE_3__, ptr %61, i64 %6, i32 15 %63 = load i64, ptr %62, align 8, !tbaa !21 %64 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.20, i64 noundef %63) #3 %65 = load ptr, ptr @scsp, align 8, !tbaa !5 %66 = getelementptr inbounds %struct.TYPE_3__, ptr %65, i64 %6, i32 14 %67 = load i64, ptr %66, align 8, !tbaa !22 %68 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.21, i64 noundef %67) #3 %69 = load ptr, ptr @scsp, align 8, !tbaa !5 %70 = getelementptr inbounds %struct.TYPE_3__, ptr %69, i64 %6, i32 13 %71 = load i64, ptr %70, align 8, !tbaa !23 %72 = icmp eq i64 %71, 0 br i1 %72, label %76, label %73 73: ; preds = %38 %74 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.22) #3 %75 = load ptr, ptr @scsp, align 8, !tbaa !5 br label %76 76: ; preds = %73, %38 %77 = phi ptr [ %75, %73 ], [ %69, %38 ] %78 = getelementptr inbounds %struct.TYPE_3__, ptr %77, i64 %6, i32 12 %79 = load i64, ptr %78, align 8, !tbaa !24 %80 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.23, i64 noundef %79) #3 %81 = load ptr, ptr @scsp, align 8, !tbaa !5 %82 = getelementptr inbounds %struct.TYPE_3__, ptr %81, i64 %6, i32 11 %83 = load i64, ptr %82, align 8, !tbaa !25 %84 = icmp eq i64 %83, 0 br i1 %84, label %88, label %85 85: ; preds = %76 %86 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.24) #3 %87 = load ptr, ptr @scsp, align 8, !tbaa !5 br label %88 88: ; preds = %85, %76 %89 = phi ptr [ %87, %85 ], [ %81, %76 ] %90 = getelementptr inbounds %struct.TYPE_3__, ptr %89, i64 %6, i32 3 %91 = load i64, ptr %90, align 8, !tbaa !26 %92 = icmp eq i64 %91, 0 br i1 %92, label %95, label %93 93: ; preds = %88 %94 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.25, i64 noundef %91) #3 br label %95 95: ; preds = %93, %88 %96 = or disjoint i32 %3, 10 %97 = tail call i32 @scsp_r_w(i32 noundef %96) #3 %98 = lshr i32 %97, 5 %99 = and i32 %98, 31 %100 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.26, i32 noundef %99) #3 %101 = load ptr, ptr @scsp, align 8, !tbaa !5 %102 = getelementptr inbounds %struct.TYPE_3__, ptr %101, i64 %6, i32 10 %103 = load i64, ptr %102, align 8, !tbaa !27 %104 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.27, i64 noundef %103) #3 %105 = load ptr, ptr @scsp, align 8, !tbaa !5 %106 = getelementptr inbounds %struct.TYPE_3__, ptr %105, i64 %6, i32 9 %107 = load i64, ptr %106, align 8, !tbaa !28 %108 = icmp eq i64 %107, 0 br i1 %108, label %112, label %109 109: ; preds = %95 %110 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.28) #3 %111 = load ptr, ptr @scsp, align 8, !tbaa !5 br label %112 112: ; preds = %109, %95 %113 = phi ptr [ %111, %109 ], [ %105, %95 ] %114 = getelementptr inbounds %struct.TYPE_3__, ptr %113, i64 %6, i32 8 %115 = load i64, ptr %114, align 8, !tbaa !29 %116 = icmp eq i64 %115, 0 br i1 %116, label %120, label %117 117: ; preds = %112 %118 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.29) #3 %119 = load ptr, ptr @scsp, align 8, !tbaa !5 br label %120 120: ; preds = %117, %112 %121 = phi ptr [ %119, %117 ], [ %113, %112 ] %122 = getelementptr inbounds %struct.TYPE_3__, ptr %121, i64 %6, i32 7 %123 = load i64, ptr %122, align 8, !tbaa !30 %124 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.30, i64 noundef %123) #3 %125 = load ptr, ptr @scsp, align 8, !tbaa !5 %126 = getelementptr inbounds %struct.TYPE_3__, ptr %125, i64 %6, i32 6 %127 = load i32, ptr %126, align 8, !tbaa !31 %128 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.31, i32 noundef %127) #3 %129 = load ptr, ptr @scsp, align 8, !tbaa !5 %130 = getelementptr inbounds %struct.TYPE_3__, ptr %129, i64 %6, i32 5 %131 = load i32, ptr %130, align 4, !tbaa !32 %132 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.32, i32 noundef %131) #3 %133 = load ptr, ptr @scsp, align 8, !tbaa !5 %134 = getelementptr inbounds %struct.TYPE_3__, ptr %133, i64 %6, i32 4 %135 = load i32, ptr %134, align 8, !tbaa !33 %136 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.33, i32 noundef %135) #3 %137 = or disjoint i32 %3, 16 %138 = tail call i32 @scsp_r_w(i32 noundef %137) #3 %139 = lshr i32 %138, 11 %140 = and i32 %139, 15 %141 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.34, i32 noundef %140) #3 %142 = tail call i32 @scsp_r_w(i32 noundef %137) #3 %143 = and i32 %142, 1023 %144 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.35, i32 noundef %143) #3 %145 = or disjoint i32 %3, 18 %146 = tail call i32 @scsp_r_w(i32 noundef %145) #3 %147 = and i32 %146, 32768 %148 = icmp eq i32 %147, 0 %149 = select i1 %148, ptr @.str.38, ptr @.str.37 %150 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.36, ptr noundef nonnull %149) #3 %151 = tail call i32 @scsp_r_w(i32 noundef %145) #3 %152 = lshr i32 %151, 10 %153 = and i32 %152, 31 %154 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.39, i32 noundef %153) #3 %155 = tail call i32 @scsp_r_w(i32 noundef %145) #3 %156 = lshr i32 %155, 5 %157 = and i32 %156, 7 %158 = tail call i32 @scsp_r_w(i32 noundef %145) #3 %159 = lshr i32 %158, 8 %160 = and i32 %159, 3 %161 = tail call ptr @AddSoundLFO(ptr noundef %1, ptr noundef nonnull @.str.40, i32 noundef %157, i32 noundef %160) #3 %162 = tail call i32 @scsp_r_w(i32 noundef %145) #3 %163 = lshr i32 %162, 5 %164 = and i32 %163, 7 %165 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %161, ptr noundef nonnull @.str.41, i32 noundef %164) #3 %166 = tail call i32 @scsp_r_w(i32 noundef %145) #3 %167 = and i32 %166, 7 %168 = tail call i32 @scsp_r_w(i32 noundef %145) #3 %169 = lshr i32 %168, 3 %170 = and i32 %169, 3 %171 = tail call ptr @AddSoundLFO(ptr noundef %161, ptr noundef nonnull @.str.42, i32 noundef %167, i32 noundef %170) #3 %172 = tail call i32 @scsp_r_w(i32 noundef %145) #3 %173 = and i32 %172, 7 %174 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %171, ptr noundef nonnull @.str.43, i32 noundef %173) #3 %175 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %171, ptr noundef nonnull @.str.44) #3 %176 = or disjoint i32 %3, 20 %177 = tail call i32 @scsp_r_w(i32 noundef %176) #3 %178 = and i32 %177, 7 %179 = tail call ptr @AddSoundLevel(ptr noundef %171, i32 noundef %178) #3 %180 = tail call i32 @scsp_r_w(i32 noundef %176) #3 %181 = lshr i32 %180, 3 %182 = and i32 %181, 31 %183 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %179, ptr noundef nonnull @.str.45, i32 noundef %182) #3 %184 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %179, ptr noundef nonnull @.str.46) #3 %185 = or disjoint i32 %3, 22 %186 = tail call i32 @scsp_r_w(i32 noundef %185) #3 %187 = lshr i32 %186, 13 %188 = and i32 %187, 7 %189 = tail call ptr @AddSoundLevel(ptr noundef %179, i32 noundef %188) #3 %190 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %189, ptr noundef nonnull @.str.47) #3 %191 = tail call i32 @scsp_r_w(i32 noundef %185) #3 %192 = lshr i32 %191, 8 %193 = and i32 %192, 31 %194 = tail call ptr @AddSoundPan(ptr noundef %189, i32 noundef %193) #3 %195 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %194, ptr noundef nonnull @.str.48) #3 %196 = tail call i32 @scsp_r_w(i32 noundef %185) #3 %197 = lshr i32 %196, 5 %198 = and i32 %197, 7 %199 = tail call ptr @AddSoundLevel(ptr noundef %194, i32 noundef %198) #3 %200 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %199, ptr noundef nonnull @.str.49) #3 %201 = tail call i32 @scsp_r_w(i32 noundef %185) #3 %202 = and i32 %201, 31 %203 = tail call ptr @AddSoundPan(ptr noundef %199, i32 noundef %202) #3 ret void } declare i32 @AddString(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @scsp_r_w(i32 noundef) local_unnamed_addr #1 declare ptr @AddSoundLFO(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @AddSoundLevel(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @AddSoundPan(ptr noundef, 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 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 4} !15 = !{!11, !12, i64 8} !16 = !{!11, !13, i64 136} !17 = !{!11, !13, i64 128} !18 = !{!11, !13, i64 120} !19 = !{!13, !13, i64 0} !20 = !{!11, !13, i64 112} !21 = !{!11, !13, i64 104} !22 = !{!11, !13, i64 96} !23 = !{!11, !13, i64 88} !24 = !{!11, !13, i64 80} !25 = !{!11, !13, i64 72} !26 = !{!11, !13, i64 16} !27 = !{!11, !13, i64 64} !28 = !{!11, !13, i64 56} !29 = !{!11, !13, i64 48} !30 = !{!11, !13, i64 40} !31 = !{!11, !12, i64 32} !32 = !{!11, !12, i64 28} !33 = !{!11, !12, i64 24}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_ScspSlotDebugStats.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_ScspSlotDebugStats.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr } %struct.TYPE_3__ = type { i32, i32, i32, i64, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 } @.str = private unnamed_addr constant [16 x i8] c"Sound Source = \00", align 1 @scsp = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [21 x i8] c"External DRAM data\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Internal(Noise)\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Internal(0's)\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Invalid setting\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"Source bit = \00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"No bit reversal\0D\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"Reverse other bits\0D\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"Reverse sign bit\0D\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Reverse sign and other bits\0D\0A\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"Loop Mode = \00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"Off\0D\0A\00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c"Normal\0D\0A\00", align 1 @.str.13 = private unnamed_addr constant [10 x i8] c"Reverse\0D\0A\00", align 1 @.str.14 = private unnamed_addr constant [14 x i8] c"Alternating\0D\0A\00", align 1 @.str.15 = private unnamed_addr constant [16 x i8] c"8-bit samples\0D\0A\00", align 1 @.str.16 = private unnamed_addr constant [17 x i8] c"16-bit samples\0D\0A\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"Start Address = %05lX\0D\0A\00", align 1 @.str.18 = private unnamed_addr constant [29 x i8] c"Loop Start Address = %04lX\0D\0A\00", align 1 @SCSP_FREQ_LB = common local_unnamed_addr global i64 0, align 8 @.str.19 = private unnamed_addr constant [27 x i8] c"Loop End Address = %04lX\0D\0A\00", align 1 @.str.20 = private unnamed_addr constant [21 x i8] c"Decay 1 Rate = %ld\0D\0A\00", align 1 @.str.21 = private unnamed_addr constant [21 x i8] c"Decay 2 Rate = %ld\0D\0A\00", align 1 @.str.22 = private unnamed_addr constant [18 x i8] c"EG Hold Enabled\0D\0A\00", align 1 @.str.23 = private unnamed_addr constant [20 x i8] c"Attack Rate = %ld\0D\0A\00", align 1 @.str.24 = private unnamed_addr constant [26 x i8] c"Loop Start Link Enabled\0D\0A\00", align 1 @.str.25 = private unnamed_addr constant [25 x i8] c"Key rate scaling = %ld\0D\0A\00", align 1 @.str.26 = private unnamed_addr constant [19 x i8] c"Decay Level = %d\0D\0A\00", align 1 @.str.27 = private unnamed_addr constant [21 x i8] c"Release Rate = %ld\0D\0A\00", align 1 @.str.28 = private unnamed_addr constant [24 x i8] c"Stack Write Inhibited\0D\0A\00", align 1 @.str.29 = private unnamed_addr constant [23 x i8] c"Sound Direct Enabled\0D\0A\00", align 1 @.str.30 = private unnamed_addr constant [20 x i8] c"Total Level = %ld\0D\0A\00", align 1 @.str.31 = private unnamed_addr constant [24 x i8] c"Modulation Level = %d\0D\0A\00", align 1 @.str.32 = private unnamed_addr constant [26 x i8] c"Modulation Input X = %d\0D\0A\00", align 1 @.str.33 = private unnamed_addr constant [26 x i8] c"Modulation Input Y = %d\0D\0A\00", align 1 @.str.34 = private unnamed_addr constant [14 x i8] c"Octave = %d\0D\0A\00", align 1 @.str.35 = private unnamed_addr constant [31 x i8] c"Frequency Number Switch = %d\0D\0A\00", align 1 @.str.36 = private unnamed_addr constant [17 x i8] c"LFO Reset = %s\0D\0A\00", align 1 @.str.37 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 @.str.38 = private unnamed_addr constant [6 x i8] c"FALSE\00", align 1 @.str.39 = private unnamed_addr constant [21 x i8] c"LFO Frequency = %d\0D\0A\00", align 1 @.str.40 = private unnamed_addr constant [37 x i8] c"LFO Frequency modulation waveform = \00", align 1 @.str.41 = private unnamed_addr constant [38 x i8] c"LFO Frequency modulation level = %d\0D\0A\00", align 1 @.str.42 = private unnamed_addr constant [37 x i8] c"LFO Amplitude modulation waveform = \00", align 1 @.str.43 = private unnamed_addr constant [38 x i8] c"LFO Amplitude modulation level = %d\0D\0A\00", align 1 @.str.44 = private unnamed_addr constant [19 x i8] c"Input mix level = \00", align 1 @.str.45 = private unnamed_addr constant [20 x i8] c"Input Select = %d\0D\0A\00", align 1 @.str.46 = private unnamed_addr constant [26 x i8] c"Direct data send level = \00", align 1 @.str.47 = private unnamed_addr constant [22 x i8] c"Direct data panpot = \00", align 1 @.str.48 = private unnamed_addr constant [26 x i8] c"Effect data send level = \00", align 1 @.str.49 = private unnamed_addr constant [22 x i8] c"Effect data panpot = \00", align 1 @switch.table.ScspSlotDebugStats = private unnamed_addr constant [3 x ptr] [ptr @.str.1, ptr @.str.2, ptr @.str.3], align 8 @switch.table.ScspSlotDebugStats.50 = private unnamed_addr constant [4 x ptr] [ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 8 @switch.table.ScspSlotDebugStats.51 = private unnamed_addr constant [4 x ptr] [ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @ScspSlotDebugStats(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = shl nsw i32 %0, 5 %4 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str) #2 %5 = load ptr, ptr @scsp, align 8, !tbaa !6 %6 = sext i32 %0 to i64 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 %6 %8 = load i32, ptr %7, align 8, !tbaa !11 %9 = icmp ult i32 %8, 3 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = zext nneg i32 %8 to i64 %12 = getelementptr inbounds [3 x ptr], ptr @switch.table.ScspSlotDebugStats, i64 0, i64 %11 %13 = load ptr, ptr %12, align 8 br label %14 14: ; preds = %2, %10 %15 = phi ptr [ %13, %10 ], [ @.str.4, %2 ] %16 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull %15) #2 %17 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.5) #2 %18 = load ptr, ptr @scsp, align 8, !tbaa !6 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 %6, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = icmp ult i32 %20, 4 br i1 %21, label %22, label %27 22: ; preds = %14 %23 = zext nneg i32 %20 to i64 %24 = getelementptr inbounds [4 x ptr], ptr @switch.table.ScspSlotDebugStats.50, i64 0, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull %25) #2 br label %27 27: ; preds = %14, %22 %28 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.10) #2 %29 = load ptr, ptr @scsp, align 8, !tbaa !6 %30 = getelementptr inbounds %struct.TYPE_3__, ptr %29, i64 %6, i32 2 %31 = load i32, ptr %30, align 8, !tbaa !16 %32 = icmp ult i32 %31, 4 br i1 %32, label %33, label %38 33: ; preds = %27 %34 = zext nneg i32 %31 to i64 %35 = getelementptr inbounds [4 x ptr], ptr @switch.table.ScspSlotDebugStats.51, i64 0, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull %36) #2 br label %38 38: ; preds = %27, %33 %39 = load ptr, ptr @scsp, align 8, !tbaa !6 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %39, i64 %6, i32 19 %41 = load i64, ptr %40, align 8, !tbaa !17 %42 = icmp eq i64 %41, 0 %43 = select i1 %42, ptr @.str.16, ptr @.str.15 %44 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull %43) #2 %45 = load ptr, ptr @scsp, align 8, !tbaa !6 %46 = getelementptr inbounds %struct.TYPE_3__, ptr %45, i64 %6, i32 18 %47 = load i64, ptr %46, align 8, !tbaa !18 %48 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.17, i64 noundef %47) #2 %49 = load ptr, ptr @scsp, align 8, !tbaa !6 %50 = getelementptr inbounds %struct.TYPE_3__, ptr %49, i64 %6, i32 17 %51 = load i64, ptr %50, align 8, !tbaa !19 %52 = load i64, ptr @SCSP_FREQ_LB, align 8, !tbaa !20 %53 = lshr i64 %51, %52 %54 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.18, i64 noundef %53) #2 %55 = load ptr, ptr @scsp, align 8, !tbaa !6 %56 = getelementptr inbounds %struct.TYPE_3__, ptr %55, i64 %6, i32 16 %57 = load i64, ptr %56, align 8, !tbaa !21 %58 = load i64, ptr @SCSP_FREQ_LB, align 8, !tbaa !20 %59 = lshr i64 %57, %58 %60 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.19, i64 noundef %59) #2 %61 = load ptr, ptr @scsp, align 8, !tbaa !6 %62 = getelementptr inbounds %struct.TYPE_3__, ptr %61, i64 %6, i32 15 %63 = load i64, ptr %62, align 8, !tbaa !22 %64 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.20, i64 noundef %63) #2 %65 = load ptr, ptr @scsp, align 8, !tbaa !6 %66 = getelementptr inbounds %struct.TYPE_3__, ptr %65, i64 %6, i32 14 %67 = load i64, ptr %66, align 8, !tbaa !23 %68 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.21, i64 noundef %67) #2 %69 = load ptr, ptr @scsp, align 8, !tbaa !6 %70 = getelementptr inbounds %struct.TYPE_3__, ptr %69, i64 %6, i32 13 %71 = load i64, ptr %70, align 8, !tbaa !24 %72 = icmp eq i64 %71, 0 br i1 %72, label %76, label %73 73: ; preds = %38 %74 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.22) #2 %75 = load ptr, ptr @scsp, align 8, !tbaa !6 br label %76 76: ; preds = %73, %38 %77 = phi ptr [ %75, %73 ], [ %69, %38 ] %78 = getelementptr inbounds %struct.TYPE_3__, ptr %77, i64 %6, i32 12 %79 = load i64, ptr %78, align 8, !tbaa !25 %80 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.23, i64 noundef %79) #2 %81 = load ptr, ptr @scsp, align 8, !tbaa !6 %82 = getelementptr inbounds %struct.TYPE_3__, ptr %81, i64 %6, i32 11 %83 = load i64, ptr %82, align 8, !tbaa !26 %84 = icmp eq i64 %83, 0 br i1 %84, label %88, label %85 85: ; preds = %76 %86 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.24) #2 %87 = load ptr, ptr @scsp, align 8, !tbaa !6 br label %88 88: ; preds = %85, %76 %89 = phi ptr [ %87, %85 ], [ %81, %76 ] %90 = getelementptr inbounds %struct.TYPE_3__, ptr %89, i64 %6, i32 3 %91 = load i64, ptr %90, align 8, !tbaa !27 %92 = icmp eq i64 %91, 0 br i1 %92, label %95, label %93 93: ; preds = %88 %94 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.25, i64 noundef %91) #2 br label %95 95: ; preds = %93, %88 %96 = or disjoint i32 %3, 10 %97 = tail call i32 @scsp_r_w(i32 noundef %96) #2 %98 = lshr i32 %97, 5 %99 = and i32 %98, 31 %100 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.26, i32 noundef %99) #2 %101 = load ptr, ptr @scsp, align 8, !tbaa !6 %102 = getelementptr inbounds %struct.TYPE_3__, ptr %101, i64 %6, i32 10 %103 = load i64, ptr %102, align 8, !tbaa !28 %104 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.27, i64 noundef %103) #2 %105 = load ptr, ptr @scsp, align 8, !tbaa !6 %106 = getelementptr inbounds %struct.TYPE_3__, ptr %105, i64 %6, i32 9 %107 = load i64, ptr %106, align 8, !tbaa !29 %108 = icmp eq i64 %107, 0 br i1 %108, label %112, label %109 109: ; preds = %95 %110 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.28) #2 %111 = load ptr, ptr @scsp, align 8, !tbaa !6 br label %112 112: ; preds = %109, %95 %113 = phi ptr [ %111, %109 ], [ %105, %95 ] %114 = getelementptr inbounds %struct.TYPE_3__, ptr %113, i64 %6, i32 8 %115 = load i64, ptr %114, align 8, !tbaa !30 %116 = icmp eq i64 %115, 0 br i1 %116, label %120, label %117 117: ; preds = %112 %118 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.29) #2 %119 = load ptr, ptr @scsp, align 8, !tbaa !6 br label %120 120: ; preds = %117, %112 %121 = phi ptr [ %119, %117 ], [ %113, %112 ] %122 = getelementptr inbounds %struct.TYPE_3__, ptr %121, i64 %6, i32 7 %123 = load i64, ptr %122, align 8, !tbaa !31 %124 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.30, i64 noundef %123) #2 %125 = load ptr, ptr @scsp, align 8, !tbaa !6 %126 = getelementptr inbounds %struct.TYPE_3__, ptr %125, i64 %6, i32 6 %127 = load i32, ptr %126, align 8, !tbaa !32 %128 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.31, i32 noundef %127) #2 %129 = load ptr, ptr @scsp, align 8, !tbaa !6 %130 = getelementptr inbounds %struct.TYPE_3__, ptr %129, i64 %6, i32 5 %131 = load i32, ptr %130, align 4, !tbaa !33 %132 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.32, i32 noundef %131) #2 %133 = load ptr, ptr @scsp, align 8, !tbaa !6 %134 = getelementptr inbounds %struct.TYPE_3__, ptr %133, i64 %6, i32 4 %135 = load i32, ptr %134, align 8, !tbaa !34 %136 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.33, i32 noundef %135) #2 %137 = or disjoint i32 %3, 16 %138 = tail call i32 @scsp_r_w(i32 noundef %137) #2 %139 = lshr i32 %138, 11 %140 = and i32 %139, 15 %141 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.34, i32 noundef %140) #2 %142 = tail call i32 @scsp_r_w(i32 noundef %137) #2 %143 = and i32 %142, 1023 %144 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.35, i32 noundef %143) #2 %145 = or disjoint i32 %3, 18 %146 = tail call i32 @scsp_r_w(i32 noundef %145) #2 %147 = and i32 %146, 32768 %148 = icmp eq i32 %147, 0 %149 = select i1 %148, ptr @.str.38, ptr @.str.37 %150 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.36, ptr noundef nonnull %149) #2 %151 = tail call i32 @scsp_r_w(i32 noundef %145) #2 %152 = lshr i32 %151, 10 %153 = and i32 %152, 31 %154 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %1, ptr noundef nonnull @.str.39, i32 noundef %153) #2 %155 = tail call i32 @scsp_r_w(i32 noundef %145) #2 %156 = lshr i32 %155, 5 %157 = and i32 %156, 7 %158 = tail call i32 @scsp_r_w(i32 noundef %145) #2 %159 = lshr i32 %158, 8 %160 = and i32 %159, 3 %161 = tail call ptr @AddSoundLFO(ptr noundef %1, ptr noundef nonnull @.str.40, i32 noundef %157, i32 noundef %160) #2 %162 = tail call i32 @scsp_r_w(i32 noundef %145) #2 %163 = lshr i32 %162, 5 %164 = and i32 %163, 7 %165 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %161, ptr noundef nonnull @.str.41, i32 noundef %164) #2 %166 = tail call i32 @scsp_r_w(i32 noundef %145) #2 %167 = and i32 %166, 7 %168 = tail call i32 @scsp_r_w(i32 noundef %145) #2 %169 = lshr i32 %168, 3 %170 = and i32 %169, 3 %171 = tail call ptr @AddSoundLFO(ptr noundef %161, ptr noundef nonnull @.str.42, i32 noundef %167, i32 noundef %170) #2 %172 = tail call i32 @scsp_r_w(i32 noundef %145) #2 %173 = and i32 %172, 7 %174 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %171, ptr noundef nonnull @.str.43, i32 noundef %173) #2 %175 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %171, ptr noundef nonnull @.str.44) #2 %176 = or disjoint i32 %3, 20 %177 = tail call i32 @scsp_r_w(i32 noundef %176) #2 %178 = and i32 %177, 7 %179 = tail call ptr @AddSoundLevel(ptr noundef %171, i32 noundef %178) #2 %180 = tail call i32 @scsp_r_w(i32 noundef %176) #2 %181 = lshr i32 %180, 3 %182 = and i32 %181, 31 %183 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %179, ptr noundef nonnull @.str.45, i32 noundef %182) #2 %184 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %179, ptr noundef nonnull @.str.46) #2 %185 = or disjoint i32 %3, 22 %186 = tail call i32 @scsp_r_w(i32 noundef %185) #2 %187 = lshr i32 %186, 13 %188 = and i32 %187, 7 %189 = tail call ptr @AddSoundLevel(ptr noundef %179, i32 noundef %188) #2 %190 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %189, ptr noundef nonnull @.str.47) #2 %191 = tail call i32 @scsp_r_w(i32 noundef %185) #2 %192 = lshr i32 %191, 8 %193 = and i32 %192, 31 %194 = tail call ptr @AddSoundPan(ptr noundef %189, i32 noundef %193) #2 %195 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %194, ptr noundef nonnull @.str.48) #2 %196 = tail call i32 @scsp_r_w(i32 noundef %185) #2 %197 = lshr i32 %196, 5 %198 = and i32 %197, 7 %199 = tail call ptr @AddSoundLevel(ptr noundef %194, i32 noundef %198) #2 %200 = tail call i32 (ptr, ptr, ...) @AddString(ptr noundef %199, ptr noundef nonnull @.str.49) #2 %201 = tail call i32 @scsp_r_w(i32 noundef %185) #2 %202 = and i32 %201, 31 %203 = tail call ptr @AddSoundPan(ptr noundef %199, i32 noundef %202) #2 ret void } declare i32 @AddString(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @scsp_r_w(i32 noundef) local_unnamed_addr #1 declare ptr @AddSoundLFO(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @AddSoundLevel(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @AddSoundPan(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_4__", !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_3__", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!12, !13, i64 4} !16 = !{!12, !13, i64 8} !17 = !{!12, !14, i64 136} !18 = !{!12, !14, i64 128} !19 = !{!12, !14, i64 120} !20 = !{!14, !14, i64 0} !21 = !{!12, !14, i64 112} !22 = !{!12, !14, i64 104} !23 = !{!12, !14, i64 96} !24 = !{!12, !14, i64 88} !25 = !{!12, !14, i64 80} !26 = !{!12, !14, i64 72} !27 = !{!12, !14, i64 16} !28 = !{!12, !14, i64 64} !29 = !{!12, !14, i64 56} !30 = !{!12, !14, i64 48} !31 = !{!12, !14, i64 40} !32 = !{!12, !13, i64 32} !33 = !{!12, !13, i64 28} !34 = !{!12, !13, i64 24}
Provenance_Cores_Yabause_yabause_src_extr_scsp.c_ScspSlotDebugStats
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_common.h_rhf_rcv_type_err.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_common.h_rhf_rcv_type_err.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RHF_RCV_TYPE_ERR_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @RHF_RCV_TYPE_ERR_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rhf_rcv_type_err], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @rhf_rcv_type_err(i32 noundef %0) #0 { %2 = load i32, ptr @RHF_RCV_TYPE_ERR_SHIFT, align 4, !tbaa !5 %3 = ashr i32 %0, %2 %4 = load i32, ptr @RHF_RCV_TYPE_ERR_MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_common.h_rhf_rcv_type_err.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_common.h_rhf_rcv_type_err.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RHF_RCV_TYPE_ERR_SHIFT = common local_unnamed_addr global i32 0, align 4 @RHF_RCV_TYPE_ERR_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rhf_rcv_type_err], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @rhf_rcv_type_err(i32 noundef %0) #0 { %2 = load i32, ptr @RHF_RCV_TYPE_ERR_SHIFT, align 4, !tbaa !6 %3 = ashr i32 %0, %2 %4 = load i32, ptr @RHF_RCV_TYPE_ERR_MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_infiniband_hw_hfi1_extr_common.h_rhf_rcv_type_err
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_iommu.c_iotlb_lock_get.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_iommu.c_iotlb_lock_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.iotlb_lock = type { i32, i32 } @MMU_LOCK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @iotlb_lock_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @iotlb_lock_get(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @MMU_LOCK, align 4, !tbaa !5 %4 = tail call i32 @iommu_read_reg(ptr noundef %0, i32 noundef %3) #2 %5 = tail call i32 @MMU_LOCK_BASE(i32 noundef %4) #2 store i32 %5, ptr %1, align 4, !tbaa !9 %6 = tail call i32 @MMU_LOCK_VICT(i32 noundef %4) #2 %7 = getelementptr inbounds %struct.iotlb_lock, ptr %1, i64 0, i32 1 store i32 %6, ptr %7, align 4, !tbaa !11 %8 = load i32, ptr %1, align 4, !tbaa !9 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @BUG_ON(i32 noundef %10) #2 ret void } declare i32 @iommu_read_reg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MMU_LOCK_BASE(i32 noundef) local_unnamed_addr #1 declare i32 @MMU_LOCK_VICT(i32 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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 = !{!"iotlb_lock", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_iommu.c_iotlb_lock_get.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_iommu.c_iotlb_lock_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MMU_LOCK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @iotlb_lock_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @iotlb_lock_get(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @MMU_LOCK, align 4, !tbaa !6 %4 = tail call i32 @iommu_read_reg(ptr noundef %0, i32 noundef %3) #2 %5 = tail call i32 @MMU_LOCK_BASE(i32 noundef %4) #2 store i32 %5, ptr %1, align 4, !tbaa !10 %6 = tail call i32 @MMU_LOCK_VICT(i32 noundef %4) #2 %7 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %6, ptr %7, align 4, !tbaa !12 %8 = load i32, ptr %1, align 4, !tbaa !10 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @BUG_ON(i32 noundef %10) #2 ret void } declare i32 @iommu_read_reg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MMU_LOCK_BASE(i32 noundef) local_unnamed_addr #1 declare i32 @MMU_LOCK_VICT(i32 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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 = !{!"iotlb_lock", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 4}
fastsocket_kernel_arch_arm_plat-omap_extr_iommu.c_iotlb_lock_get
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_sbuf.c_sbuf_cat.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_sbuf.c_sbuf_cat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @sbuf_cat(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) %4 = tail call i32 @sbuf_put_bytes(ptr noundef %0, ptr noundef %1, i64 noundef %3) #3 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = icmp ne i64 %5, 0 %7 = sext i1 %6 to i32 ret i32 %7 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i32 @sbuf_put_bytes(ptr noundef, ptr noundef, i64 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(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sbuf", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_sbuf.c_sbuf_cat.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_sbuf.c_sbuf_cat.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @sbuf_cat(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #3 %4 = tail call i32 @sbuf_put_bytes(ptr noundef %0, ptr noundef %1, i64 noundef %3) #3 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = icmp ne i64 %5, 0 %7 = sext i1 %6 to i32 ret i32 %7 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i32 @sbuf_put_bytes(ptr noundef, ptr noundef, i64 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(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sbuf", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_kern_extr_subr_sbuf.c_sbuf_cat
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_groupConcatFinalize.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_groupConcatFinalize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SQLITE_TOOBIG = dso_local local_unnamed_addr global i64 0, align 8 @SQLITE_NOMEM = dso_local local_unnamed_addr global i64 0, align 8 @sqlite3_free = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @groupConcatFinalize], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @groupConcatFinalize(ptr noundef %0) #0 { %2 = tail call ptr @sqlite3_aggregate_context(ptr noundef %0, i32 noundef 0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = load i64, ptr %2, align 8, !tbaa !5 %6 = load i64, ptr @SQLITE_TOOBIG, align 8, !tbaa !10 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 @sqlite3_result_error_toobig(ptr noundef %0) #2 br label %19 10: ; preds = %4 %11 = load i64, ptr @SQLITE_NOMEM, align 8, !tbaa !10 %12 = icmp eq i64 %5, %11 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = tail call i32 @sqlite3_result_error_nomem(ptr noundef %0) #2 br label %19 15: ; preds = %10 %16 = tail call i32 @sqlite3StrAccumFinish(ptr noundef nonnull %2) #2 %17 = load i32, ptr @sqlite3_free, align 4, !tbaa !11 %18 = tail call i32 @sqlite3_result_text(ptr noundef %0, i32 noundef %16, i32 noundef -1, i32 noundef %17) #2 br label %19 19: ; preds = %8, %15, %13, %1 ret void } declare ptr @sqlite3_aggregate_context(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_error_toobig(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_error_nomem(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_text(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3StrAccumFinish(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 = !{!"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/poco/Data/SQLite/src/extr_sqlite3.c_groupConcatFinalize.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_groupConcatFinalize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_TOOBIG = common local_unnamed_addr global i64 0, align 8 @SQLITE_NOMEM = common local_unnamed_addr global i64 0, align 8 @sqlite3_free = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @groupConcatFinalize], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @groupConcatFinalize(ptr noundef %0) #0 { %2 = tail call ptr @sqlite3_aggregate_context(ptr noundef %0, i32 noundef 0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = load i64, ptr %2, align 8, !tbaa !6 %6 = load i64, ptr @SQLITE_TOOBIG, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 @sqlite3_result_error_toobig(ptr noundef %0) #2 br label %19 10: ; preds = %4 %11 = load i64, ptr @SQLITE_NOMEM, align 8, !tbaa !11 %12 = icmp eq i64 %5, %11 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = tail call i32 @sqlite3_result_error_nomem(ptr noundef %0) #2 br label %19 15: ; preds = %10 %16 = tail call i32 @sqlite3StrAccumFinish(ptr noundef nonnull %2) #2 %17 = load i32, ptr @sqlite3_free, align 4, !tbaa !12 %18 = tail call i32 @sqlite3_result_text(ptr noundef %0, i32 noundef %16, i32 noundef -1, i32 noundef %17) #2 br label %19 19: ; preds = %8, %15, %13, %1 ret void } declare ptr @sqlite3_aggregate_context(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_error_toobig(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_error_nomem(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_text(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3StrAccumFinish(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 = !{!"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}
poco_Data_SQLite_src_extr_sqlite3.c_groupConcatFinalize
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_main.c_mt76_sta_rate_tbl_update.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_main.c_mt76_sta_rate_tbl_update.c" target datalayout = "e-m:e-p270:32:32-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.ieee80211_tx_rate = type { i32, i32 } %struct.ieee80211_sta = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @mt76_sta_rate_tbl_update], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mt76_sta_rate_tbl_update(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca %struct.ieee80211_tx_rate, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.ieee80211_sta, ptr %2, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 0, ptr %4, align 8 %8 = tail call i32 (...) @rcu_read_lock() #3 %9 = load i32, ptr %2, align 8, !tbaa !14 %10 = tail call ptr @rcu_dereference(i32 noundef %9) #3 %11 = icmp eq ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %3 %13 = inttoptr i64 %7 to ptr %14 = load ptr, ptr %10, align 8, !tbaa !15 %15 = load <2 x i32>, ptr %14, align 4, !tbaa !17 store <2 x i32> %15, ptr %4, align 8, !tbaa !17 %16 = call i32 @mt76_mac_wcid_set_rate(ptr noundef %5, ptr noundef %13, ptr noundef nonnull %4) #3 br label %17 17: ; preds = %3, %12 %18 = call i32 (...) @rcu_read_unlock() #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #2 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #2 declare i32 @mt76_mac_wcid_set_rate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rcu_read_unlock(...) 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 = !{!"ieee80211_hw", !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 = !{!"ieee80211_sta", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"ieee80211_sta_rates", !7, i64 0} !17 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_main.c_mt76_sta_rate_tbl_update.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_main.c_mt76_sta_rate_tbl_update.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ieee80211_tx_rate = type { i32, i32 } @llvm.used = appending global [1 x ptr] [ptr @mt76_sta_rate_tbl_update], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mt76_sta_rate_tbl_update(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca %struct.ieee80211_tx_rate, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %2, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 0, ptr %4, align 8 %8 = tail call i32 @rcu_read_lock() #3 %9 = load i32, ptr %2, align 8, !tbaa !15 %10 = tail call ptr @rcu_dereference(i32 noundef %9) #3 %11 = icmp eq ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %3 %13 = inttoptr i64 %7 to ptr %14 = load ptr, ptr %10, align 8, !tbaa !16 %15 = load <2 x i32>, ptr %14, align 4, !tbaa !18 store <2 x i32> %15, ptr %4, align 8, !tbaa !18 %16 = call i32 @mt76_mac_wcid_set_rate(ptr noundef %5, ptr noundef %13, ptr noundef nonnull %4) #3 br label %17 17: ; preds = %3, %12 %18 = call i32 @rcu_read_unlock() #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #2 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #2 declare i32 @mt76_mac_wcid_set_rate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rcu_read_unlock(...) 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 = !{!"ieee80211_hw", !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 = !{!"ieee80211_sta", !13, i64 0, !14, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!12, !13, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"ieee80211_sta_rates", !8, i64 0} !18 = !{!13, !13, i64 0}
linux_drivers_net_wireless_mediatek_mt7601u_extr_main.c_mt76_sta_rate_tbl_update
; ModuleID = 'AnghaBench/obs-studio/libobs/media-io/extr_video-io.c_video_input_free.c' source_filename = "AnghaBench/obs-studio/libobs/media-io/extr_video-io.c_video_input_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.video_input = type { i32, ptr } @MAX_CONVERT_BUFFERS = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @video_input_free], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @video_input_free(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr @MAX_CONVERT_BUFFERS, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.video_input, ptr %0, i64 0, i32 1 br label %9 6: ; preds = %9, %1 %7 = load i32, ptr %0, align 8, !tbaa !9 %8 = tail call i32 @video_scaler_destroy(i32 noundef %7) #2 ret void 9: ; preds = %4, %9 %10 = phi i64 [ 0, %4 ], [ %14, %9 ] %11 = load ptr, ptr %5, align 8, !tbaa !13 %12 = getelementptr inbounds i32, ptr %11, i64 %10 %13 = tail call i32 @video_frame_free(ptr noundef %12) #2 %14 = add nuw i64 %10, 1 %15 = load i64, ptr @MAX_CONVERT_BUFFERS, align 8, !tbaa !5 %16 = icmp ult i64 %14, %15 br i1 %16, label %9, label %6, !llvm.loop !14 } declare i32 @video_frame_free(ptr noundef) local_unnamed_addr #1 declare i32 @video_scaler_destroy(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"video_input", !11, i64 0, !12, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/obs-studio/libobs/media-io/extr_video-io.c_video_input_free.c' source_filename = "AnghaBench/obs-studio/libobs/media-io/extr_video-io.c_video_input_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_CONVERT_BUFFERS = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @video_input_free], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @video_input_free(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr @MAX_CONVERT_BUFFERS, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 br label %9 6: ; preds = %9, %1 %7 = load i32, ptr %0, align 8, !tbaa !10 %8 = tail call i32 @video_scaler_destroy(i32 noundef %7) #2 ret void 9: ; preds = %4, %9 %10 = phi i64 [ 0, %4 ], [ %14, %9 ] %11 = load ptr, ptr %5, align 8, !tbaa !14 %12 = getelementptr inbounds i32, ptr %11, i64 %10 %13 = tail call i32 @video_frame_free(ptr noundef %12) #2 %14 = add nuw i64 %10, 1 %15 = load i64, ptr @MAX_CONVERT_BUFFERS, align 8, !tbaa !6 %16 = icmp ult i64 %14, %15 br i1 %16, label %9, label %6, !llvm.loop !15 } declare i32 @video_frame_free(ptr noundef) local_unnamed_addr #1 declare i32 @video_scaler_destroy(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"video_input", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
obs-studio_libobs_media-io_extr_video-io.c_video_input_free
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp7045.c_vp7045_frontend_attach.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp7045.c_vp7045_frontend_attach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dvb_usb_adapter = type { i32, i32 } @VENDOR_STRING_READ = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"firmware says: %s \00", align 1 @PRODUCT_STRING_READ = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @FW_VERSION_READ = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"v%s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vp7045_frontend_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @vp7045_frontend_attach(ptr nocapture noundef %0) #0 { %2 = alloca [255 x i8], align 16 call void @llvm.lifetime.start.p0(i64 255, ptr nonnull %2) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(255) %2, i8 0, i64 255, i1 false) %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @VENDOR_STRING_READ, align 4, !tbaa !10 %5 = call i32 @vp7045_usb_op(i32 noundef %3, i32 noundef %4, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 20, i32 noundef 0) #4 %6 = getelementptr inbounds [255 x i8], ptr %2, i64 0, i64 10 store i8 0, ptr %6, align 2, !tbaa !11 %7 = call i32 @deb_info(ptr noundef nonnull @.str, ptr noundef nonnull %2) #4 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = load i32, ptr @PRODUCT_STRING_READ, align 4, !tbaa !10 %10 = call i32 @vp7045_usb_op(i32 noundef %8, i32 noundef %9, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 20, i32 noundef 0) #4 store i8 0, ptr %6, align 2, !tbaa !11 %11 = call i32 @deb_info(ptr noundef nonnull @.str.1, ptr noundef nonnull %2) #4 %12 = load i32, ptr %0, align 4, !tbaa !5 %13 = load i32, ptr @FW_VERSION_READ, align 4, !tbaa !10 %14 = call i32 @vp7045_usb_op(i32 noundef %12, i32 noundef %13, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 20, i32 noundef 0) #4 store i8 0, ptr %6, align 2, !tbaa !11 %15 = call i32 @deb_info(ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #4 %16 = load i32, ptr %0, align 4, !tbaa !5 %17 = call i32 @vp7045_fe_attach(i32 noundef %16) #4 %18 = getelementptr inbounds %struct.dvb_usb_adapter, ptr %0, i64 0, i32 1 store i32 %17, ptr %18, align 4, !tbaa !12 call void @llvm.lifetime.end.p0(i64 255, ptr nonnull %2) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @vp7045_usb_op(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @deb_info(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @vp7045_fe_attach(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dvb_usb_adapter", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!8, !8, i64 0} !12 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp7045.c_vp7045_frontend_attach.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp7045.c_vp7045_frontend_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VENDOR_STRING_READ = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"firmware says: %s \00", align 1 @PRODUCT_STRING_READ = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @FW_VERSION_READ = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"v%s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vp7045_frontend_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @vp7045_frontend_attach(ptr nocapture noundef %0) #0 { %2 = alloca [255 x i8], align 1 call void @llvm.lifetime.start.p0(i64 255, ptr nonnull %2) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(255) %2, i8 0, i64 255, i1 false) %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @VENDOR_STRING_READ, align 4, !tbaa !11 %5 = call i32 @vp7045_usb_op(i32 noundef %3, i32 noundef %4, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 20, i32 noundef 0) #4 %6 = getelementptr inbounds i8, ptr %2, i64 10 store i8 0, ptr %6, align 1, !tbaa !12 %7 = call i32 @deb_info(ptr noundef nonnull @.str, ptr noundef nonnull %2) #4 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = load i32, ptr @PRODUCT_STRING_READ, align 4, !tbaa !11 %10 = call i32 @vp7045_usb_op(i32 noundef %8, i32 noundef %9, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 20, i32 noundef 0) #4 store i8 0, ptr %6, align 1, !tbaa !12 %11 = call i32 @deb_info(ptr noundef nonnull @.str.1, ptr noundef nonnull %2) #4 %12 = load i32, ptr %0, align 4, !tbaa !6 %13 = load i32, ptr @FW_VERSION_READ, align 4, !tbaa !11 %14 = call i32 @vp7045_usb_op(i32 noundef %12, i32 noundef %13, ptr noundef null, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 20, i32 noundef 0) #4 store i8 0, ptr %6, align 1, !tbaa !12 %15 = call i32 @deb_info(ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #4 %16 = load i32, ptr %0, align 4, !tbaa !6 %17 = call i32 @vp7045_fe_attach(i32 noundef %16) #4 %18 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %17, ptr %18, align 4, !tbaa !13 call void @llvm.lifetime.end.p0(i64 255, ptr nonnull %2) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @vp7045_usb_op(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @deb_info(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @vp7045_fe_attach(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dvb_usb_adapter", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!9, !9, i64 0} !13 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_media_dvb_dvb-usb_extr_vp7045.c_vp7045_frontend_attach
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_setup_dig_out_stream.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_setup_dig_out_stream.c" target datalayout = "e-m:e-p270:32:32-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.hda_codec = type { ptr, i64 } @AC_VERB_GET_STREAM_FORMAT = dso_local local_unnamed_addr global i32 0, align 4 @AC_DIG1_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @setup_dig_out_stream], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @setup_dig_out_stream(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @snd_hda_spdif_out_of_nid(ptr noundef %0, i64 noundef %1) #2 %6 = load i32, ptr @AC_VERB_GET_STREAM_FORMAT, align 4, !tbaa !5 %7 = tail call i32 @snd_hda_codec_read(ptr noundef %0, i64 noundef %1, i32 noundef 0, i32 noundef %6, i32 noundef 0) #2 %8 = getelementptr inbounds %struct.hda_codec, ptr %0, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !9 %10 = icmp eq i64 %9, 0 br i1 %10, label %23, label %11 11: ; preds = %4 %12 = load i32, ptr %5, align 4, !tbaa !13 %13 = load i32, ptr @AC_DIG1_ENABLE, align 4, !tbaa !5 %14 = and i32 %13, %12 %15 = icmp ne i32 %14, 0 %16 = icmp ne i32 %7, %3 %17 = select i1 %15, i1 %16, i1 false br i1 %17, label %18, label %23 18: ; preds = %11 %19 = xor i32 %13, -1 %20 = and i32 %12, 255 %21 = and i32 %20, %19 %22 = tail call i32 @set_dig_out_convert(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %21, i32 noundef -1) #2 br label %23 23: ; preds = %4, %18, %11 %24 = phi i1 [ true, %18 ], [ false, %11 ], [ false, %4 ] %25 = tail call i32 @snd_hda_codec_setup_stream(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %26 = load ptr, ptr %0, align 8, !tbaa !15 %27 = icmp eq ptr %26, null br i1 %27, label %38, label %28 28: ; preds = %23 %29 = load i64, ptr %26, align 8, !tbaa !16 %30 = icmp eq i64 %29, 0 br i1 %30, label %38, label %31 31: ; preds = %28, %31 %32 = phi i64 [ %36, %31 ], [ %29, %28 ] %33 = phi ptr [ %35, %31 ], [ %26, %28 ] %34 = tail call i32 @snd_hda_codec_setup_stream(ptr noundef nonnull %0, i64 noundef %32, i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %35 = getelementptr inbounds i64, ptr %33, i64 1 %36 = load i64, ptr %35, align 8, !tbaa !16 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %31, !llvm.loop !17 38: ; preds = %31, %28, %23 br i1 %24, label %39, label %43 39: ; preds = %38 %40 = load i32, ptr %5, align 4, !tbaa !13 %41 = and i32 %40, 255 %42 = tail call i32 @set_dig_out_convert(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %41, i32 noundef -1) #2 br label %43 43: ; preds = %39, %38 ret void } declare ptr @snd_hda_spdif_out_of_nid(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_hda_codec_read(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_dig_out_convert(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_hda_codec_setup_stream(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 8} !10 = !{!"hda_codec", !11, i64 0, !12, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"hda_spdif_out", !6, i64 0} !15 = !{!10, !11, i64 0} !16 = !{!12, !12, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_setup_dig_out_stream.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_codec.c_setup_dig_out_stream.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AC_VERB_GET_STREAM_FORMAT = common local_unnamed_addr global i32 0, align 4 @AC_DIG1_ENABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @setup_dig_out_stream], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @setup_dig_out_stream(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @snd_hda_spdif_out_of_nid(ptr noundef %0, i64 noundef %1) #2 %6 = load i32, ptr @AC_VERB_GET_STREAM_FORMAT, align 4, !tbaa !6 %7 = tail call i32 @snd_hda_codec_read(ptr noundef %0, i64 noundef %1, i32 noundef 0, i32 noundef %6, i32 noundef 0) #2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !10 %10 = icmp eq i64 %9, 0 br i1 %10, label %23, label %11 11: ; preds = %4 %12 = load i32, ptr %5, align 4, !tbaa !14 %13 = load i32, ptr @AC_DIG1_ENABLE, align 4, !tbaa !6 %14 = and i32 %13, %12 %15 = icmp ne i32 %14, 0 %16 = icmp ne i32 %7, %3 %17 = select i1 %15, i1 %16, i1 false br i1 %17, label %18, label %23 18: ; preds = %11 %19 = xor i32 %13, -1 %20 = and i32 %12, 255 %21 = and i32 %20, %19 %22 = tail call i32 @set_dig_out_convert(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %21, i32 noundef -1) #2 br label %23 23: ; preds = %4, %18, %11 %24 = phi i1 [ true, %18 ], [ false, %11 ], [ false, %4 ] %25 = tail call i32 @snd_hda_codec_setup_stream(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %26 = load ptr, ptr %0, align 8, !tbaa !16 %27 = icmp eq ptr %26, null br i1 %27, label %38, label %28 28: ; preds = %23 %29 = load i64, ptr %26, align 8, !tbaa !17 %30 = icmp eq i64 %29, 0 br i1 %30, label %38, label %31 31: ; preds = %28, %31 %32 = phi i64 [ %36, %31 ], [ %29, %28 ] %33 = phi ptr [ %35, %31 ], [ %26, %28 ] %34 = tail call i32 @snd_hda_codec_setup_stream(ptr noundef nonnull %0, i64 noundef %32, i32 noundef %2, i32 noundef 0, i32 noundef %3) #2 %35 = getelementptr inbounds i8, ptr %33, i64 8 %36 = load i64, ptr %35, align 8, !tbaa !17 %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %31, !llvm.loop !18 38: ; preds = %31, %28, %23 br i1 %24, label %39, label %43 39: ; preds = %38 %40 = load i32, ptr %5, align 4, !tbaa !14 %41 = and i32 %40, 255 %42 = tail call i32 @set_dig_out_convert(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %41, i32 noundef -1) #2 br label %43 43: ; preds = %39, %38 ret void } declare ptr @snd_hda_spdif_out_of_nid(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_hda_codec_read(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_dig_out_convert(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_hda_codec_setup_stream(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"hda_codec", !12, i64 0, !13, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"hda_spdif_out", !7, i64 0} !16 = !{!11, !12, i64 0} !17 = !{!13, !13, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_sound_pci_hda_extr_hda_codec.c_setup_dig_out_stream
; ModuleID = 'AnghaBench/openssl/test/extr_tls13ccstest.c_cleanup_tests.c' source_filename = "AnghaBench/openssl/test/extr_tls13ccstest.c_cleanup_tests.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @method_watchccs = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @cleanup_tests() local_unnamed_addr #0 { %1 = load i32, ptr @method_watchccs, align 4, !tbaa !5 %2 = tail call i32 @BIO_meth_free(i32 noundef %1) #2 ret void } declare i32 @BIO_meth_free(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/openssl/test/extr_tls13ccstest.c_cleanup_tests.c' source_filename = "AnghaBench/openssl/test/extr_tls13ccstest.c_cleanup_tests.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @method_watchccs = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @cleanup_tests() local_unnamed_addr #0 { %1 = load i32, ptr @method_watchccs, align 4, !tbaa !6 %2 = tail call i32 @BIO_meth_free(i32 noundef %1) #2 ret void } declare i32 @BIO_meth_free(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"}
openssl_test_extr_tls13ccstest.c_cleanup_tests
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_initDictItem.c' source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_initDictItem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ZDICT_initDictItem], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @ZDICT_initDictItem(ptr nocapture noundef writeonly %0) #0 { store i32 1, ptr %0, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store i64 0, ptr %2, align 8, !tbaa !11 %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store i64 -1, ptr %3, align 8, !tbaa !12 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 16} !12 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_initDictItem.c' source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_zdict.c_ZDICT_initDictItem.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_initDictItem], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @ZDICT_initDictItem(ptr nocapture noundef writeonly %0) #0 { store i32 1, ptr %0, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %0, i64 8 store <2 x i64> <i64 -1, i64 0>, ptr %2, align 8, !tbaa !12 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!11, !11, i64 0}
borg_src_borg_algorithms_zstd_lib_dictBuilder_extr_zdict.c_ZDICT_initDictItem
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zfs_vnops.c_zfs_ioctl.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zfs_vnops.c_zfs_ioctl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, ptr } @ENOTTY = dso_local local_unnamed_addr global i32 0, align 4 @EFAULT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @zfs_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @zfs_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 %3, ptr nocapture readnone %4, ptr nocapture readnone %5, ptr nocapture readnone %6) #0 { %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 switch i32 %1, label %22 [ i32 133, label %25 i32 132, label %25 i32 131, label %25 i32 129, label %9 i32 128, label %9 ] 9: ; preds = %7, %7 %10 = inttoptr i64 %2 to ptr %11 = load i32, ptr %10, align 4, !tbaa !5 store i32 %11, ptr %8, align 4, !tbaa !5 %12 = tail call ptr @VTOZ(ptr noundef %0) #3 %13 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !9 %15 = tail call i32 @ZFS_ENTER(ptr noundef %14) #3 %16 = tail call i32 @ZFS_VERIFY_ZP(ptr noundef %12) #3 %17 = call i32 @zfs_holey(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %8) #3 %18 = call i32 @ZFS_EXIT(ptr noundef %14) #3 %19 = icmp eq i32 %17, 0 br i1 %19, label %20, label %25 20: ; preds = %9 %21 = load i32, ptr %8, align 4, !tbaa !5 store i32 %21, ptr %10, align 4, !tbaa !5 br label %25 22: ; preds = %7 %23 = load i32, ptr @ENOTTY, align 4, !tbaa !5 %24 = tail call i32 @SET_ERROR(i32 noundef %23) #3 br label %25 25: ; preds = %9, %7, %7, %7, %22, %20 %26 = phi i32 [ %24, %22 ], [ 0, %20 ], [ 0, %7 ], [ 0, %7 ], [ 0, %7 ], [ %17, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @VTOZ(ptr noundef) local_unnamed_addr #2 declare i32 @ZFS_ENTER(ptr noundef) local_unnamed_addr #2 declare i32 @ZFS_VERIFY_ZP(ptr noundef) local_unnamed_addr #2 declare i32 @zfs_holey(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ZFS_EXIT(ptr noundef) local_unnamed_addr #2 declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_9__", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zfs_vnops.c_zfs_ioctl.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zfs_vnops.c_zfs_ioctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOTTY = common local_unnamed_addr global i32 0, align 4 @EFAULT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @zfs_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @zfs_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 %3, ptr nocapture readnone %4, ptr nocapture readnone %5, ptr nocapture readnone %6) #0 { %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 switch i32 %1, label %22 [ i32 133, label %25 i32 132, label %25 i32 131, label %25 i32 129, label %9 i32 128, label %9 ] 9: ; preds = %7, %7 %10 = inttoptr i64 %2 to ptr %11 = load i32, ptr %10, align 4, !tbaa !6 store i32 %11, ptr %8, align 4, !tbaa !6 %12 = tail call ptr @VTOZ(ptr noundef %0) #3 %13 = getelementptr inbounds i8, ptr %12, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !10 %15 = tail call i32 @ZFS_ENTER(ptr noundef %14) #3 %16 = tail call i32 @ZFS_VERIFY_ZP(ptr noundef %12) #3 %17 = call i32 @zfs_holey(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %8) #3 %18 = call i32 @ZFS_EXIT(ptr noundef %14) #3 %19 = icmp eq i32 %17, 0 br i1 %19, label %20, label %25 20: ; preds = %9 %21 = load i32, ptr %8, align 4, !tbaa !6 store i32 %21, ptr %10, align 4, !tbaa !6 br label %25 22: ; preds = %7 %23 = load i32, ptr @ENOTTY, align 4, !tbaa !6 %24 = tail call i32 @SET_ERROR(i32 noundef %23) #3 br label %25 25: ; preds = %9, %7, %7, %7, %22, %20 %26 = phi i32 [ %24, %22 ], [ 0, %20 ], [ 0, %7 ], [ 0, %7 ], [ 0, %7 ], [ %17, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @VTOZ(ptr noundef) local_unnamed_addr #2 declare i32 @ZFS_ENTER(ptr noundef) local_unnamed_addr #2 declare i32 @ZFS_VERIFY_ZP(ptr noundef) local_unnamed_addr #2 declare i32 @zfs_holey(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ZFS_EXIT(ptr noundef) local_unnamed_addr #2 declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_9__", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_zfs_vnops.c_zfs_ioctl
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_verify.c_verify_index_checksums.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_verify.c_verify_index_checksums.c" target datalayout = "e-m:e-p270:32:32-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"L2P index\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"P2L index\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 @verify_index_checksums], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @verify_index_checksums(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = call i32 @svn_fs_x__rev_file_init(ptr noundef nonnull %6, ptr noundef %0, i32 noundef %1, ptr noundef %4) #3 %10 = call i32 @SVN_ERR(i32 noundef %9) #3 %11 = load ptr, ptr %6, align 8, !tbaa !5 %12 = call i32 @svn_fs_x__rev_file_l2p_info(ptr noundef nonnull %7, ptr noundef %11) #3 %13 = call i32 @SVN_ERR(i32 noundef %12) #3 %14 = load ptr, ptr %6, align 8, !tbaa !5 %15 = call i32 @svn_fs_x__rev_file_p2l_info(ptr noundef nonnull %8, ptr noundef %14) #3 %16 = call i32 @SVN_ERR(i32 noundef %15) #3 %17 = load ptr, ptr %6, align 8, !tbaa !5 %18 = call i32 @verify_index_checksum(ptr noundef %17, ptr noundef nonnull @.str, ptr noundef nonnull %7, i32 noundef %2, ptr noundef %3, ptr noundef %4) #3 %19 = call i32 @SVN_ERR(i32 noundef %18) #3 %20 = load ptr, ptr %6, align 8, !tbaa !5 %21 = call i32 @verify_index_checksum(ptr noundef %20, ptr noundef nonnull @.str.1, ptr noundef nonnull %8, i32 noundef %2, ptr noundef %3, ptr noundef %4) #3 %22 = call i32 @SVN_ERR(i32 noundef %21) #3 %23 = load ptr, ptr %6, align 8, !tbaa !5 %24 = call i32 @svn_fs_x__close_revision_file(ptr noundef %23) #3 %25 = call i32 @SVN_ERR(i32 noundef %24) #3 %26 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret ptr %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__rev_file_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__rev_file_l2p_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__rev_file_p2l_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @verify_index_checksum(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__close_revision_file(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_verify.c_verify_index_checksums.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_verify.c_verify_index_checksums.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"L2P index\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"P2L index\00", align 1 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @verify_index_checksums], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @verify_index_checksums(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = call i32 @svn_fs_x__rev_file_init(ptr noundef nonnull %6, ptr noundef %0, i32 noundef %1, ptr noundef %4) #3 %10 = call i32 @SVN_ERR(i32 noundef %9) #3 %11 = load ptr, ptr %6, align 8, !tbaa !6 %12 = call i32 @svn_fs_x__rev_file_l2p_info(ptr noundef nonnull %7, ptr noundef %11) #3 %13 = call i32 @SVN_ERR(i32 noundef %12) #3 %14 = load ptr, ptr %6, align 8, !tbaa !6 %15 = call i32 @svn_fs_x__rev_file_p2l_info(ptr noundef nonnull %8, ptr noundef %14) #3 %16 = call i32 @SVN_ERR(i32 noundef %15) #3 %17 = load ptr, ptr %6, align 8, !tbaa !6 %18 = call i32 @verify_index_checksum(ptr noundef %17, ptr noundef nonnull @.str, ptr noundef nonnull %7, i32 noundef %2, ptr noundef %3, ptr noundef %4) #3 %19 = call i32 @SVN_ERR(i32 noundef %18) #3 %20 = load ptr, ptr %6, align 8, !tbaa !6 %21 = call i32 @verify_index_checksum(ptr noundef %20, ptr noundef nonnull @.str.1, ptr noundef nonnull %8, i32 noundef %2, ptr noundef %3, ptr noundef %4) #3 %22 = call i32 @SVN_ERR(i32 noundef %21) #3 %23 = load ptr, ptr %6, align 8, !tbaa !6 %24 = call i32 @svn_fs_x__close_revision_file(ptr noundef %23) #3 %25 = call i32 @SVN_ERR(i32 noundef %24) #3 %26 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret ptr %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__rev_file_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__rev_file_l2p_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__rev_file_p2l_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @verify_index_checksum(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__close_revision_file(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_subversion_subversion_libsvn_fs_x_extr_verify.c_verify_index_checksums
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_hubp.c_hubp1_vready_workaround.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_hubp.c_hubp1_vready_workaround.c" target datalayout = "e-m:e-p270:32:32-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._vcs_dpi_display_pipe_dest_params_st = type { i32, i32, i32, i32, i32, i32 } @HUBPREQ_DEBUG_DB = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @hubp1_vready_workaround(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = tail call ptr @TO_DCN10_HUBP(ptr noundef %0) #2 %4 = load i32, ptr @HUBPREQ_DEBUG_DB, align 4, !tbaa !5 %5 = tail call i32 @REG_READ(i32 noundef %4) #2 %6 = and i32 %5, -4353 %7 = or disjoint i32 %6, 256 %8 = load i32, ptr %1, align 4, !tbaa !9 %9 = getelementptr inbounds %struct._vcs_dpi_display_pipe_dest_params_st, ptr %1, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = getelementptr inbounds %struct._vcs_dpi_display_pipe_dest_params_st, ptr %1, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = add nsw i32 %12, %10 %14 = getelementptr inbounds %struct._vcs_dpi_display_pipe_dest_params_st, ptr %1, i64 0, i32 3 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = add nsw i32 %13, %15 %17 = shl nsw i32 %16, 1 %18 = getelementptr inbounds %struct._vcs_dpi_display_pipe_dest_params_st, ptr %1, i64 0, i32 4 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = sdiv i32 %17, %19 %21 = sub nsw i32 %8, %20 %22 = getelementptr inbounds %struct._vcs_dpi_display_pipe_dest_params_st, ptr %1, i64 0, i32 5 %23 = load i32, ptr %22, align 4, !tbaa !15 %24 = icmp sgt i32 %21, %23 %25 = or i32 %5, 4352 %26 = select i1 %24, i32 %7, i32 %25 %27 = load i32, ptr @HUBPREQ_DEBUG_DB, align 4, !tbaa !5 %28 = tail call i32 @REG_WRITE(i32 noundef %27, i32 noundef %26) #2 ret void } declare ptr @TO_DCN10_HUBP(ptr noundef) local_unnamed_addr #1 declare i32 @REG_READ(i32 noundef) local_unnamed_addr #1 declare i32 @REG_WRITE(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 = !{!"_vcs_dpi_display_pipe_dest_params_st", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20} !11 = !{!10, !6, i64 4} !12 = !{!10, !6, i64 8} !13 = !{!10, !6, i64 12} !14 = !{!10, !6, i64 16} !15 = !{!10, !6, i64 20}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_hubp.c_hubp1_vready_workaround.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_hubp.c_hubp1_vready_workaround.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HUBPREQ_DEBUG_DB = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @hubp1_vready_workaround(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = tail call ptr @TO_DCN10_HUBP(ptr noundef %0) #2 %4 = load i32, ptr @HUBPREQ_DEBUG_DB, align 4, !tbaa !6 %5 = tail call i32 @REG_READ(i32 noundef %4) #2 %6 = and i32 %5, -4353 %7 = or disjoint i32 %6, 256 %8 = load i32, ptr %1, align 4, !tbaa !10 %9 = getelementptr inbounds i8, ptr %1, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = add nsw i32 %12, %10 %14 = getelementptr inbounds i8, ptr %1, i64 12 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = add nsw i32 %13, %15 %17 = shl nsw i32 %16, 1 %18 = getelementptr inbounds i8, ptr %1, i64 16 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = sdiv i32 %17, %19 %21 = sub nsw i32 %8, %20 %22 = getelementptr inbounds i8, ptr %1, i64 20 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = icmp sgt i32 %21, %23 %25 = or i32 %5, 4352 %26 = select i1 %24, i32 %7, i32 %25 %27 = load i32, ptr @HUBPREQ_DEBUG_DB, align 4, !tbaa !6 %28 = tail call i32 @REG_WRITE(i32 noundef %27, i32 noundef %26) #2 ret void } declare ptr @TO_DCN10_HUBP(ptr noundef) local_unnamed_addr #1 declare i32 @REG_READ(i32 noundef) local_unnamed_addr #1 declare i32 @REG_WRITE(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 = !{!"_vcs_dpi_display_pipe_dest_params_st", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !12 = !{!11, !7, i64 4} !13 = !{!11, !7, i64 8} !14 = !{!11, !7, i64 12} !15 = !{!11, !7, i64 16} !16 = !{!11, !7, i64 20}
linux_drivers_gpu_drm_amd_display_dc_dcn10_extr_dcn10_hubp.c_hubp1_vready_workaround
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-core/extr_dvb_demux.c_dvb_dmx_init.c' source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_demux.c_dvb_dmx_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dvb_demux = type { i32, i32, ptr, i32, i32, i64, i64, i64, i64, i64, i32, ptr, i32, ptr, ptr, ptr, i64, %struct.dmx_demux } %struct.dmx_demux = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr } %struct.TYPE_4__ = type { i32, ptr } %struct.TYPE_3__ = type { i32, ptr } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @DMX_STATE_FREE = dso_local local_unnamed_addr global ptr null, align 8 @MAX_PID = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [57 x i8] c"Couldn't allocate memory for TS/TEI check. Disabling it\0A\00", align 1 @DMX_PES_OTHER = dso_local local_unnamed_addr global i32 0, align 4 @dvb_dmx_crc32 = dso_local local_unnamed_addr global i64 0, align 8 @dvb_dmx_memcopy = dso_local local_unnamed_addr global i64 0, align 8 @dvbdmx_open = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_close = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_write = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_allocate_ts_feed = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_release_ts_feed = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_allocate_section_feed = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_release_section_feed = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_add_frontend = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_remove_frontend = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_get_frontends = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_connect_frontend = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_disconnect_frontend = dso_local local_unnamed_addr global i32 0, align 4 @dvbdmx_get_pes_pids = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @dvb_dmx_init(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17 %3 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 13 store ptr null, ptr %3, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 16 store i64 0, ptr %4, align 8, !tbaa !13 %5 = load i32, ptr %0, align 8, !tbaa !14 %6 = tail call i64 @array_size(i32 noundef 4, i32 noundef %5) #3 %7 = tail call ptr @vmalloc(i64 noundef %6) #3 %8 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 15 store ptr %7, ptr %8, align 8, !tbaa !15 %9 = icmp eq ptr %7, null br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %12 = sub nsw i32 0, %11 br label %158 13: ; preds = %1 %14 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !17 %16 = tail call i64 @array_size(i32 noundef 4, i32 noundef %15) #3 %17 = tail call ptr @vmalloc(i64 noundef %16) #3 %18 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 14 store ptr %17, ptr %18, align 8, !tbaa !18 %19 = icmp eq ptr %17, null br i1 %19, label %31, label %20 20: ; preds = %13 %21 = load i32, ptr %0, align 8, !tbaa !14 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %43 23: ; preds = %20 %24 = load ptr, ptr %8, align 8, !tbaa !15 %25 = zext nneg i32 %21 to i64 %26 = load ptr, ptr @DMX_STATE_FREE, align 8, !tbaa !19 %27 = and i64 %25, 1 %28 = icmp eq i32 %21, 1 br i1 %28, label %36, label %29 29: ; preds = %23 %30 = and i64 %25, 2147483646 br label %53 31: ; preds = %13 %32 = load ptr, ptr %8, align 8, !tbaa !15 %33 = tail call i32 @vfree(ptr noundef %32) #3 store ptr null, ptr %8, align 8, !tbaa !15 %34 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %35 = sub nsw i32 0, %34 br label %158 36: ; preds = %53, %23 %37 = phi i64 [ 0, %23 ], [ %63, %53 ] %38 = icmp eq i64 %27, 0 br i1 %38, label %43, label %39 39: ; preds = %36 %40 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %37, i32 1 store ptr %26, ptr %40, align 8, !tbaa !20 %41 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %37 %42 = trunc i64 %37 to i32 store i32 %42, ptr %41, align 8, !tbaa !22 br label %43 43: ; preds = %39, %36, %20 %44 = load i32, ptr %14, align 4, !tbaa !17 %45 = icmp sgt i32 %44, 0 br i1 %45, label %46, label %86 46: ; preds = %43 %47 = zext nneg i32 %44 to i64 %48 = load ptr, ptr @DMX_STATE_FREE, align 8, !tbaa !19 %49 = and i64 %47, 1 %50 = icmp eq i32 %44, 1 br i1 %50, label %79, label %51 51: ; preds = %46 %52 = and i64 %47, 2147483646 br label %66 53: ; preds = %53, %29 %54 = phi i64 [ 0, %29 ], [ %63, %53 ] %55 = phi i64 [ 0, %29 ], [ %64, %53 ] %56 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %54, i32 1 store ptr %26, ptr %56, align 8, !tbaa !20 %57 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %54 %58 = trunc i64 %54 to i32 store i32 %58, ptr %57, align 8, !tbaa !22 %59 = or disjoint i64 %54, 1 %60 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %59, i32 1 store ptr %26, ptr %60, align 8, !tbaa !20 %61 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %59 %62 = trunc i64 %59 to i32 store i32 %62, ptr %61, align 8, !tbaa !22 %63 = add nuw nsw i64 %54, 2 %64 = add i64 %55, 2 %65 = icmp eq i64 %64, %30 br i1 %65, label %36, label %53, !llvm.loop !23 66: ; preds = %66, %51 %67 = phi i64 [ 0, %51 ], [ %76, %66 ] %68 = phi i64 [ 0, %51 ], [ %77, %66 ] %69 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %67, i32 1 store ptr %48, ptr %69, align 8, !tbaa !25 %70 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %67 %71 = trunc i64 %67 to i32 store i32 %71, ptr %70, align 8, !tbaa !27 %72 = or disjoint i64 %67, 1 %73 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %72, i32 1 store ptr %48, ptr %73, align 8, !tbaa !25 %74 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %72 %75 = trunc i64 %72 to i32 store i32 %75, ptr %74, align 8, !tbaa !27 %76 = add nuw nsw i64 %67, 2 %77 = add i64 %68, 2 %78 = icmp eq i64 %77, %52 br i1 %78, label %79, label %66, !llvm.loop !28 79: ; preds = %66, %46 %80 = phi i64 [ 0, %46 ], [ %76, %66 ] %81 = icmp eq i64 %49, 0 br i1 %81, label %86, label %82 82: ; preds = %79 %83 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %80, i32 1 store ptr %48, ptr %83, align 8, !tbaa !25 %84 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %80 %85 = trunc i64 %80 to i32 store i32 %85, ptr %84, align 8, !tbaa !27 br label %86 86: ; preds = %82, %79, %43 %87 = load i64, ptr @MAX_PID, align 8, !tbaa !29 %88 = add nsw i64 %87, 1 %89 = tail call ptr @vmalloc(i64 noundef %88) #3 store ptr %89, ptr %3, align 8, !tbaa !5 %90 = icmp eq ptr %89, null br i1 %90, label %91, label %93 91: ; preds = %86 %92 = tail call i32 @pr_warn(ptr noundef nonnull @.str) #3 br label %93 93: ; preds = %91, %86 %94 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 12 %95 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %94) #3 %96 = load i32, ptr @DMX_PES_OTHER, align 4, !tbaa !16 %97 = icmp sgt i32 %96, 0 br i1 %97, label %98, label %111 98: ; preds = %93 %99 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 11 %100 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 2 br label %101 101: ; preds = %98, %101 %102 = phi i64 [ 0, %98 ], [ %107, %101 ] %103 = load ptr, ptr %99, align 8, !tbaa !30 %104 = getelementptr inbounds ptr, ptr %103, i64 %102 store ptr null, ptr %104, align 8, !tbaa !19 %105 = load ptr, ptr %100, align 8, !tbaa !31 %106 = getelementptr inbounds i32, ptr %105, i64 %102 store i32 65535, ptr %106, align 4, !tbaa !16 %107 = add nuw nsw i64 %102, 1 %108 = load i32, ptr @DMX_PES_OTHER, align 4, !tbaa !16 %109 = sext i32 %108 to i64 %110 = icmp slt i64 %107, %109 br i1 %110, label %101, label %111, !llvm.loop !32 111: ; preds = %101, %93 %112 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 10 %113 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %112) #3 %114 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 7 %115 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 6 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %114, i8 0, i64 24, i1 false) %116 = load i64, ptr %115, align 8, !tbaa !33 %117 = icmp eq i64 %116, 0 br i1 %117, label %118, label %120 118: ; preds = %111 %119 = load i64, ptr @dvb_dmx_crc32, align 8, !tbaa !29 store i64 %119, ptr %115, align 8, !tbaa !33 br label %120 120: ; preds = %118, %111 %121 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 5 %122 = load i64, ptr %121, align 8, !tbaa !34 %123 = icmp eq i64 %122, 0 br i1 %123, label %124, label %126 124: ; preds = %120 %125 = load i64, ptr @dvb_dmx_memcopy, align 8, !tbaa !29 store i64 %125, ptr %121, align 8, !tbaa !34 br label %126 126: ; preds = %124, %120 %127 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 14 store ptr null, ptr %127, align 8, !tbaa !35 %128 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 13 store ptr %0, ptr %128, align 8, !tbaa !36 %129 = load i32, ptr @dvbdmx_open, align 4, !tbaa !16 %130 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 12 store i32 %129, ptr %130, align 8, !tbaa !37 %131 = load i32, ptr @dvbdmx_close, align 4, !tbaa !16 %132 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 11 store i32 %131, ptr %132, align 4, !tbaa !38 %133 = load i32, ptr @dvbdmx_write, align 4, !tbaa !16 %134 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 10 store i32 %133, ptr %134, align 8, !tbaa !39 %135 = load i32, ptr @dvbdmx_allocate_ts_feed, align 4, !tbaa !16 %136 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 9 store i32 %135, ptr %136, align 4, !tbaa !40 %137 = load i32, ptr @dvbdmx_release_ts_feed, align 4, !tbaa !16 %138 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 8 store i32 %137, ptr %138, align 8, !tbaa !41 %139 = load i32, ptr @dvbdmx_allocate_section_feed, align 4, !tbaa !16 %140 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 7 store i32 %139, ptr %140, align 4, !tbaa !42 %141 = load i32, ptr @dvbdmx_release_section_feed, align 4, !tbaa !16 %142 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 6 store i32 %141, ptr %142, align 8, !tbaa !43 %143 = load i32, ptr @dvbdmx_add_frontend, align 4, !tbaa !16 %144 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 5 store i32 %143, ptr %144, align 4, !tbaa !44 %145 = load i32, ptr @dvbdmx_remove_frontend, align 4, !tbaa !16 %146 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 4 store i32 %145, ptr %146, align 8, !tbaa !45 %147 = load i32, ptr @dvbdmx_get_frontends, align 4, !tbaa !16 %148 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 3 store i32 %147, ptr %148, align 4, !tbaa !46 %149 = load i32, ptr @dvbdmx_connect_frontend, align 4, !tbaa !16 %150 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 2 store i32 %149, ptr %150, align 8, !tbaa !47 %151 = load i32, ptr @dvbdmx_disconnect_frontend, align 4, !tbaa !16 %152 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 17, i32 1 store i32 %151, ptr %152, align 4, !tbaa !48 %153 = load i32, ptr @dvbdmx_get_pes_pids, align 4, !tbaa !16 store i32 %153, ptr %2, align 8, !tbaa !49 %154 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 4 %155 = tail call i32 @mutex_init(ptr noundef nonnull %154) #3 %156 = getelementptr inbounds %struct.dvb_demux, ptr %0, i64 0, i32 3 %157 = tail call i32 @spin_lock_init(ptr noundef nonnull %156) #3 br label %158 158: ; preds = %126, %31, %10 %159 = phi i32 [ 0, %126 ], [ %35, %31 ], [ %12, %10 ] ret i32 %159 } declare ptr @vmalloc(i64 noundef) local_unnamed_addr #1 declare i64 @array_size(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfree(ptr noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 88} !6 = !{!"dvb_demux", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !11, i64 112, !12, i64 120} !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 = !{!"dmx_demux", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !10, i64 56, !10, i64 64} !13 = !{!6, !11, i64 112} !14 = !{!6, !7, i64 0} !15 = !{!6, !10, i64 104} !16 = !{!7, !7, i64 0} !17 = !{!6, !7, i64 4} !18 = !{!6, !10, i64 96} !19 = !{!10, !10, i64 0} !20 = !{!21, !10, i64 8} !21 = !{!"TYPE_4__", !7, i64 0, !10, i64 8} !22 = !{!21, !7, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!26, !10, i64 8} !26 = !{!"TYPE_3__", !7, i64 0, !10, i64 8} !27 = !{!26, !7, i64 0} !28 = distinct !{!28, !24} !29 = !{!11, !11, i64 0} !30 = !{!6, !10, i64 72} !31 = !{!6, !10, i64 8} !32 = distinct !{!32, !24} !33 = !{!6, !11, i64 32} !34 = !{!6, !11, i64 24} !35 = !{!12, !10, i64 64} !36 = !{!12, !10, i64 56} !37 = !{!12, !7, i64 48} !38 = !{!12, !7, i64 44} !39 = !{!12, !7, i64 40} !40 = !{!12, !7, i64 36} !41 = !{!12, !7, i64 32} !42 = !{!12, !7, i64 28} !43 = !{!12, !7, i64 24} !44 = !{!12, !7, i64 20} !45 = !{!12, !7, i64 16} !46 = !{!12, !7, i64 12} !47 = !{!12, !7, i64 8} !48 = !{!12, !7, i64 4} !49 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-core/extr_dvb_demux.c_dvb_dmx_init.c' source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_demux.c_dvb_dmx_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, ptr } %struct.TYPE_3__ = type { i32, ptr } @ENOMEM = common local_unnamed_addr global i32 0, align 4 @DMX_STATE_FREE = common local_unnamed_addr global ptr null, align 8 @MAX_PID = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [57 x i8] c"Couldn't allocate memory for TS/TEI check. Disabling it\0A\00", align 1 @DMX_PES_OTHER = common local_unnamed_addr global i32 0, align 4 @dvb_dmx_crc32 = common local_unnamed_addr global i64 0, align 8 @dvb_dmx_memcopy = common local_unnamed_addr global i64 0, align 8 @dvbdmx_open = common local_unnamed_addr global i32 0, align 4 @dvbdmx_close = common local_unnamed_addr global i32 0, align 4 @dvbdmx_write = common local_unnamed_addr global i32 0, align 4 @dvbdmx_allocate_ts_feed = common local_unnamed_addr global i32 0, align 4 @dvbdmx_release_ts_feed = common local_unnamed_addr global i32 0, align 4 @dvbdmx_allocate_section_feed = common local_unnamed_addr global i32 0, align 4 @dvbdmx_release_section_feed = common local_unnamed_addr global i32 0, align 4 @dvbdmx_add_frontend = common local_unnamed_addr global i32 0, align 4 @dvbdmx_remove_frontend = common local_unnamed_addr global i32 0, align 4 @dvbdmx_get_frontends = common local_unnamed_addr global i32 0, align 4 @dvbdmx_connect_frontend = common local_unnamed_addr global i32 0, align 4 @dvbdmx_disconnect_frontend = common local_unnamed_addr global i32 0, align 4 @dvbdmx_get_pes_pids = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @dvb_dmx_init(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 120 %3 = getelementptr inbounds i8, ptr %0, i64 88 store ptr null, ptr %3, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 112 store i64 0, ptr %4, align 8, !tbaa !14 %5 = load i32, ptr %0, align 8, !tbaa !15 %6 = tail call i64 @array_size(i32 noundef 4, i32 noundef %5) #3 %7 = tail call ptr @vmalloc(i64 noundef %6) #3 %8 = getelementptr inbounds i8, ptr %0, i64 104 store ptr %7, ptr %8, align 8, !tbaa !16 %9 = icmp eq ptr %7, null br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !17 %12 = sub nsw i32 0, %11 br label %176 13: ; preds = %1 %14 = getelementptr inbounds i8, ptr %0, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !18 %16 = tail call i64 @array_size(i32 noundef 4, i32 noundef %15) #3 %17 = tail call ptr @vmalloc(i64 noundef %16) #3 %18 = getelementptr inbounds i8, ptr %0, i64 96 store ptr %17, ptr %18, align 8, !tbaa !19 %19 = icmp eq ptr %17, null br i1 %19, label %53, label %20 20: ; preds = %13 %21 = load i32, ptr %0, align 8, !tbaa !15 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %58 23: ; preds = %20 %24 = load ptr, ptr %8, align 8, !tbaa !16 %25 = zext nneg i32 %21 to i64 %26 = load ptr, ptr @DMX_STATE_FREE, align 8, !tbaa !20 %27 = icmp ult i32 %21, 4 br i1 %27, label %28, label %30 28: ; preds = %51, %23 %29 = phi i64 [ 0, %23 ], [ %31, %51 ] br label %90 30: ; preds = %23 %31 = and i64 %25, 2147483644 br label %32 32: ; preds = %32, %30 %33 = phi i64 [ 0, %30 ], [ %49, %32 ] %34 = or disjoint i64 %33, 1 %35 = or disjoint i64 %33, 2 %36 = or disjoint i64 %33, 3 %37 = trunc i64 %33 to i32 %38 = or disjoint i32 %37, 1 %39 = or disjoint i32 %37, 2 %40 = or disjoint i32 %37, 3 %41 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %33, i32 1 %42 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %34, i32 1 %43 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %35, i32 1 %44 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %36, i32 1 store ptr %26, ptr %41, align 8, !tbaa !21 store ptr %26, ptr %42, align 8, !tbaa !21 store ptr %26, ptr %43, align 8, !tbaa !21 store ptr %26, ptr %44, align 8, !tbaa !21 %45 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %33 %46 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %34 %47 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %35 %48 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %36 store i32 %37, ptr %45, align 8, !tbaa !23 store i32 %38, ptr %46, align 8, !tbaa !23 store i32 %39, ptr %47, align 8, !tbaa !23 store i32 %40, ptr %48, align 8, !tbaa !23 %49 = add nuw i64 %33, 4 %50 = icmp eq i64 %49, %31 br i1 %50, label %51, label %32, !llvm.loop !24 51: ; preds = %32 %52 = icmp eq i64 %31, %25 br i1 %52, label %58, label %28 53: ; preds = %13 %54 = load ptr, ptr %8, align 8, !tbaa !16 %55 = tail call i32 @vfree(ptr noundef %54) #3 store ptr null, ptr %8, align 8, !tbaa !16 %56 = load i32, ptr @ENOMEM, align 4, !tbaa !17 %57 = sub nsw i32 0, %56 br label %176 58: ; preds = %90, %51, %20 %59 = load i32, ptr %14, align 4, !tbaa !18 %60 = icmp sgt i32 %59, 0 br i1 %60, label %61, label %104 61: ; preds = %58 %62 = zext nneg i32 %59 to i64 %63 = load ptr, ptr @DMX_STATE_FREE, align 8, !tbaa !20 %64 = icmp ult i32 %59, 4 br i1 %64, label %65, label %67 65: ; preds = %88, %61 %66 = phi i64 [ 0, %61 ], [ %68, %88 ] br label %97 67: ; preds = %61 %68 = and i64 %62, 2147483644 br label %69 69: ; preds = %69, %67 %70 = phi i64 [ 0, %67 ], [ %86, %69 ] %71 = or disjoint i64 %70, 1 %72 = or disjoint i64 %70, 2 %73 = or disjoint i64 %70, 3 %74 = trunc i64 %70 to i32 %75 = or disjoint i32 %74, 1 %76 = or disjoint i32 %74, 2 %77 = or disjoint i32 %74, 3 %78 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %70, i32 1 %79 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %71, i32 1 %80 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %72, i32 1 %81 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %73, i32 1 store ptr %63, ptr %78, align 8, !tbaa !28 store ptr %63, ptr %79, align 8, !tbaa !28 store ptr %63, ptr %80, align 8, !tbaa !28 store ptr %63, ptr %81, align 8, !tbaa !28 %82 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %70 %83 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %71 %84 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %72 %85 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %73 store i32 %74, ptr %82, align 8, !tbaa !30 store i32 %75, ptr %83, align 8, !tbaa !30 store i32 %76, ptr %84, align 8, !tbaa !30 store i32 %77, ptr %85, align 8, !tbaa !30 %86 = add nuw i64 %70, 4 %87 = icmp eq i64 %86, %68 br i1 %87, label %88, label %69, !llvm.loop !31 88: ; preds = %69 %89 = icmp eq i64 %68, %62 br i1 %89, label %104, label %65 90: ; preds = %28, %90 %91 = phi i64 [ %95, %90 ], [ %29, %28 ] %92 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %91, i32 1 store ptr %26, ptr %92, align 8, !tbaa !21 %93 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %91 %94 = trunc nuw nsw i64 %91 to i32 store i32 %94, ptr %93, align 8, !tbaa !23 %95 = add nuw nsw i64 %91, 1 %96 = icmp eq i64 %95, %25 br i1 %96, label %58, label %90, !llvm.loop !32 97: ; preds = %65, %97 %98 = phi i64 [ %102, %97 ], [ %66, %65 ] %99 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %98, i32 1 store ptr %63, ptr %99, align 8, !tbaa !28 %100 = getelementptr inbounds %struct.TYPE_3__, ptr %17, i64 %98 %101 = trunc nuw nsw i64 %98 to i32 store i32 %101, ptr %100, align 8, !tbaa !30 %102 = add nuw nsw i64 %98, 1 %103 = icmp eq i64 %102, %62 br i1 %103, label %104, label %97, !llvm.loop !33 104: ; preds = %97, %88, %58 %105 = load i64, ptr @MAX_PID, align 8, !tbaa !34 %106 = add nsw i64 %105, 1 %107 = tail call ptr @vmalloc(i64 noundef %106) #3 store ptr %107, ptr %3, align 8, !tbaa !6 %108 = icmp eq ptr %107, null br i1 %108, label %109, label %111 109: ; preds = %104 %110 = tail call i32 @pr_warn(ptr noundef nonnull @.str) #3 br label %111 111: ; preds = %109, %104 %112 = getelementptr inbounds i8, ptr %0, i64 80 %113 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %112) #3 %114 = load i32, ptr @DMX_PES_OTHER, align 4, !tbaa !17 %115 = icmp sgt i32 %114, 0 br i1 %115, label %116, label %129 116: ; preds = %111 %117 = getelementptr inbounds i8, ptr %0, i64 72 %118 = getelementptr inbounds i8, ptr %0, i64 8 br label %119 119: ; preds = %116, %119 %120 = phi i64 [ 0, %116 ], [ %125, %119 ] %121 = load ptr, ptr %117, align 8, !tbaa !35 %122 = getelementptr inbounds ptr, ptr %121, i64 %120 store ptr null, ptr %122, align 8, !tbaa !20 %123 = load ptr, ptr %118, align 8, !tbaa !36 %124 = getelementptr inbounds i32, ptr %123, i64 %120 store i32 65535, ptr %124, align 4, !tbaa !17 %125 = add nuw nsw i64 %120, 1 %126 = load i32, ptr @DMX_PES_OTHER, align 4, !tbaa !17 %127 = sext i32 %126 to i64 %128 = icmp slt i64 %125, %127 br i1 %128, label %119, label %129, !llvm.loop !37 129: ; preds = %119, %111 %130 = getelementptr inbounds i8, ptr %0, i64 64 %131 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %130) #3 %132 = getelementptr inbounds i8, ptr %0, i64 40 %133 = getelementptr inbounds i8, ptr %0, i64 32 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %132, i8 0, i64 24, i1 false) %134 = load i64, ptr %133, align 8, !tbaa !38 %135 = icmp eq i64 %134, 0 br i1 %135, label %136, label %138 136: ; preds = %129 %137 = load i64, ptr @dvb_dmx_crc32, align 8, !tbaa !34 store i64 %137, ptr %133, align 8, !tbaa !38 br label %138 138: ; preds = %136, %129 %139 = getelementptr inbounds i8, ptr %0, i64 24 %140 = load i64, ptr %139, align 8, !tbaa !39 %141 = icmp eq i64 %140, 0 br i1 %141, label %142, label %144 142: ; preds = %138 %143 = load i64, ptr @dvb_dmx_memcopy, align 8, !tbaa !34 store i64 %143, ptr %139, align 8, !tbaa !39 br label %144 144: ; preds = %142, %138 %145 = getelementptr inbounds i8, ptr %0, i64 184 store ptr null, ptr %145, align 8, !tbaa !40 %146 = getelementptr inbounds i8, ptr %0, i64 176 store ptr %0, ptr %146, align 8, !tbaa !41 %147 = load i32, ptr @dvbdmx_open, align 4, !tbaa !17 %148 = getelementptr inbounds i8, ptr %0, i64 168 store i32 %147, ptr %148, align 8, !tbaa !42 %149 = load i32, ptr @dvbdmx_close, align 4, !tbaa !17 %150 = getelementptr inbounds i8, ptr %0, i64 164 store i32 %149, ptr %150, align 4, !tbaa !43 %151 = load i32, ptr @dvbdmx_write, align 4, !tbaa !17 %152 = getelementptr inbounds i8, ptr %0, i64 160 store i32 %151, ptr %152, align 8, !tbaa !44 %153 = load i32, ptr @dvbdmx_allocate_ts_feed, align 4, !tbaa !17 %154 = getelementptr inbounds i8, ptr %0, i64 156 store i32 %153, ptr %154, align 4, !tbaa !45 %155 = load i32, ptr @dvbdmx_release_ts_feed, align 4, !tbaa !17 %156 = getelementptr inbounds i8, ptr %0, i64 152 store i32 %155, ptr %156, align 8, !tbaa !46 %157 = load i32, ptr @dvbdmx_allocate_section_feed, align 4, !tbaa !17 %158 = getelementptr inbounds i8, ptr %0, i64 148 store i32 %157, ptr %158, align 4, !tbaa !47 %159 = load i32, ptr @dvbdmx_release_section_feed, align 4, !tbaa !17 %160 = getelementptr inbounds i8, ptr %0, i64 144 store i32 %159, ptr %160, align 8, !tbaa !48 %161 = load i32, ptr @dvbdmx_add_frontend, align 4, !tbaa !17 %162 = getelementptr inbounds i8, ptr %0, i64 140 store i32 %161, ptr %162, align 4, !tbaa !49 %163 = load i32, ptr @dvbdmx_remove_frontend, align 4, !tbaa !17 %164 = getelementptr inbounds i8, ptr %0, i64 136 store i32 %163, ptr %164, align 8, !tbaa !50 %165 = load i32, ptr @dvbdmx_get_frontends, align 4, !tbaa !17 %166 = getelementptr inbounds i8, ptr %0, i64 132 store i32 %165, ptr %166, align 4, !tbaa !51 %167 = load i32, ptr @dvbdmx_connect_frontend, align 4, !tbaa !17 %168 = getelementptr inbounds i8, ptr %0, i64 128 store i32 %167, ptr %168, align 8, !tbaa !52 %169 = load i32, ptr @dvbdmx_disconnect_frontend, align 4, !tbaa !17 %170 = getelementptr inbounds i8, ptr %0, i64 124 store i32 %169, ptr %170, align 4, !tbaa !53 %171 = load i32, ptr @dvbdmx_get_pes_pids, align 4, !tbaa !17 store i32 %171, ptr %2, align 8, !tbaa !54 %172 = getelementptr inbounds i8, ptr %0, i64 20 %173 = tail call i32 @mutex_init(ptr noundef nonnull %172) #3 %174 = getelementptr inbounds i8, ptr %0, i64 16 %175 = tail call i32 @spin_lock_init(ptr noundef nonnull %174) #3 br label %176 176: ; preds = %144, %53, %10 %177 = phi i32 [ 0, %144 ], [ %57, %53 ], [ %12, %10 ] ret i32 %177 } declare ptr @vmalloc(i64 noundef) local_unnamed_addr #1 declare i64 @array_size(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfree(ptr noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 88} !7 = !{!"dvb_demux", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !8, i64 64, !11, i64 72, !8, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !12, i64 112, !13, i64 120} !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 = !{!"dmx_demux", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !8, i64 48, !11, i64 56, !11, i64 64} !14 = !{!7, !12, i64 112} !15 = !{!7, !8, i64 0} !16 = !{!7, !11, i64 104} !17 = !{!8, !8, i64 0} !18 = !{!7, !8, i64 4} !19 = !{!7, !11, i64 96} !20 = !{!11, !11, i64 0} !21 = !{!22, !11, i64 8} !22 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !23 = !{!22, !8, i64 0} !24 = distinct !{!24, !25, !26, !27} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!"llvm.loop.isvectorized", i32 1} !27 = !{!"llvm.loop.unroll.runtime.disable"} !28 = !{!29, !11, i64 8} !29 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !30 = !{!29, !8, i64 0} !31 = distinct !{!31, !25, !26, !27} !32 = distinct !{!32, !25, !26} !33 = distinct !{!33, !25, !26} !34 = !{!12, !12, i64 0} !35 = !{!7, !11, i64 72} !36 = !{!7, !11, i64 8} !37 = distinct !{!37, !25} !38 = !{!7, !12, i64 32} !39 = !{!7, !12, i64 24} !40 = !{!13, !11, i64 64} !41 = !{!13, !11, i64 56} !42 = !{!13, !8, i64 48} !43 = !{!13, !8, i64 44} !44 = !{!13, !8, i64 40} !45 = !{!13, !8, i64 36} !46 = !{!13, !8, i64 32} !47 = !{!13, !8, i64 28} !48 = !{!13, !8, i64 24} !49 = !{!13, !8, i64 20} !50 = !{!13, !8, i64 16} !51 = !{!13, !8, i64 12} !52 = !{!13, !8, i64 8} !53 = !{!13, !8, i64 4} !54 = !{!13, !8, i64 0}
linux_drivers_media_dvb-core_extr_dvb_demux.c_dvb_dmx_init
; ModuleID = 'AnghaBench/linux/drivers/misc/lkdtm/extr_refcount.c_check_negative.c' source_filename = "AnghaBench/linux/drivers/misc/lkdtm/extr_refcount.c_check_negative.c" target datalayout = "e-m:e-p270:32:32-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 [53 x i8] c"Still at %d: refcount_inc/add() must not inc-from-0\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Negative detected: saturated\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Negative detected: unsafely reset to max\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Fail: refcount went crazy: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @check_negative], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @check_negative(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @refcount_read(ptr noundef %0) #2 %4 = icmp eq i32 %3, %1 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 (ptr, ...) @pr_warn(ptr noundef nonnull @.str, i32 noundef %1) #2 br label %16 7: ; preds = %2 %8 = tail call i32 @refcount_read(ptr noundef %0) #2 switch i32 %8, label %13 [ i32 128, label %9 i32 129, label %11 ] 9: ; preds = %7 %10 = tail call i32 @pr_info(ptr noundef nonnull @.str.1) #2 br label %16 11: ; preds = %7 %12 = tail call i32 (ptr, ...) @pr_warn(ptr noundef nonnull @.str.2) #2 br label %16 13: ; preds = %7 %14 = tail call i32 @refcount_read(ptr noundef %0) #2 %15 = tail call i32 @pr_err(ptr noundef nonnull @.str.3, i32 noundef %14) #2 br label %16 16: ; preds = %5, %13, %11, %9 ret void } declare i32 @refcount_read(ptr noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, ...) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/misc/lkdtm/extr_refcount.c_check_negative.c' source_filename = "AnghaBench/linux/drivers/misc/lkdtm/extr_refcount.c_check_negative.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 [53 x i8] c"Still at %d: refcount_inc/add() must not inc-from-0\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Negative detected: saturated\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Negative detected: unsafely reset to max\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Fail: refcount went crazy: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @check_negative], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @check_negative(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @refcount_read(ptr noundef %0) #2 %4 = icmp eq i32 %3, %1 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 (ptr, ...) @pr_warn(ptr noundef nonnull @.str, i32 noundef %1) #2 br label %16 7: ; preds = %2 %8 = tail call i32 @refcount_read(ptr noundef %0) #2 switch i32 %8, label %13 [ i32 128, label %9 i32 129, label %11 ] 9: ; preds = %7 %10 = tail call i32 @pr_info(ptr noundef nonnull @.str.1) #2 br label %16 11: ; preds = %7 %12 = tail call i32 (ptr, ...) @pr_warn(ptr noundef nonnull @.str.2) #2 br label %16 13: ; preds = %7 %14 = tail call i32 @refcount_read(ptr noundef %0) #2 %15 = tail call i32 @pr_err(ptr noundef nonnull @.str.3, i32 noundef %14) #2 br label %16 16: ; preds = %5, %13, %11, %9 ret void } declare i32 @refcount_read(ptr noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, ...) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_misc_lkdtm_extr_refcount.c_check_negative
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_lps_detach.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_lps_detach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_lps_detach], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @bfa_lps_detach(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_lps_detach.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_lps_detach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @bfa_lps_detach], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @bfa_lps_detach(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_scsi_bfa_extr_bfa_svc.c_bfa_lps_detach
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_drm_ddp_comp.h_mtk_ddp_comp_config.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_drm_ddp_comp.h_mtk_ddp_comp_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 @mtk_ddp_comp_config], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @mtk_ddp_comp_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %5 %9 = load ptr, ptr %6, align 8, !tbaa !10 %10 = icmp eq ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 %9(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #1 br label %13 13: ; preds = %11, %8, %5 ret void } attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"mtk_ddp_comp", !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}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_drm_ddp_comp.h_mtk_ddp_comp_config.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_drm_ddp_comp.h_mtk_ddp_comp_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 @mtk_ddp_comp_config], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @mtk_ddp_comp_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %5 %9 = load ptr, ptr %6, align 8, !tbaa !11 %10 = icmp eq ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 %9(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #1 br label %13 13: ; preds = %11, %8, %5 ret void } attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"mtk_ddp_comp", !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}
linux_drivers_gpu_drm_mediatek_extr_mtk_drm_ddp_comp.h_mtk_ddp_comp_config
; ModuleID = 'AnghaBench/linux/fs/freevxfs/extr_vxfs_subr.c_vxfs_readpage.c' source_filename = "AnghaBench/linux/fs/freevxfs/extr_vxfs_subr.c_vxfs_readpage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @vxfs_getblk = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vxfs_readpage], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vxfs_readpage(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr @vxfs_getblk, align 4, !tbaa !5 %4 = tail call i32 @block_read_full_page(ptr noundef %1, i32 noundef %3) #2 ret i32 %4 } declare i32 @block_read_full_page(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/fs/freevxfs/extr_vxfs_subr.c_vxfs_readpage.c' source_filename = "AnghaBench/linux/fs/freevxfs/extr_vxfs_subr.c_vxfs_readpage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @vxfs_getblk = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vxfs_readpage], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vxfs_readpage(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr @vxfs_getblk, align 4, !tbaa !6 %4 = tail call i32 @block_read_full_page(ptr noundef %1, i32 noundef %3) #2 ret i32 %4 } declare i32 @block_read_full_page(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_fs_freevxfs_extr_vxfs_subr.c_vxfs_readpage
; ModuleID = 'AnghaBench/Quake-III-Arena/code/client/extr_snd_dma.c_S_StopAllSounds.c' source_filename = "AnghaBench/Quake-III-Arena/code/client/extr_snd_dma.c_S_StopAllSounds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @s_soundStarted = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @S_StopAllSounds() local_unnamed_addr #0 { %1 = load i32, ptr @s_soundStarted, align 4, !tbaa !5 %2 = icmp eq i32 %1, 0 br i1 %2, label %6, label %3 3: ; preds = %0 %4 = tail call i32 (...) @S_StopBackgroundTrack() #2 %5 = tail call i32 (...) @S_ClearSoundBuffer() #2 br label %6 6: ; preds = %0, %3 ret void } declare i32 @S_StopBackgroundTrack(...) local_unnamed_addr #1 declare i32 @S_ClearSoundBuffer(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/Quake-III-Arena/code/client/extr_snd_dma.c_S_StopAllSounds.c' source_filename = "AnghaBench/Quake-III-Arena/code/client/extr_snd_dma.c_S_StopAllSounds.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @s_soundStarted = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @S_StopAllSounds() local_unnamed_addr #0 { %1 = load i32, ptr @s_soundStarted, align 4, !tbaa !6 %2 = icmp eq i32 %1, 0 br i1 %2, label %6, label %3 3: ; preds = %0 %4 = tail call i32 @S_StopBackgroundTrack() #2 %5 = tail call i32 @S_ClearSoundBuffer() #2 br label %6 6: ; preds = %0, %3 ret void } declare i32 @S_StopBackgroundTrack(...) local_unnamed_addr #1 declare i32 @S_ClearSoundBuffer(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
Quake-III-Arena_code_client_extr_snd_dma.c_S_StopAllSounds
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btu/extr_btu_hcif.c_btu_hcif_connection_comp_evt.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btu/extr_btu_hcif.c_btu_hcif_connection_comp_evt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HCI_LINK_TYPE_ACL = dso_local local_unnamed_addr global i64 0, align 8 @BD_ADDR_LEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @btu_hcif_connection_comp_evt], section "llvm.metadata" ; Function Attrs: noreturn nounwind uwtable define internal void @btu_hcif_connection_comp_evt(ptr noundef %0) #0 { %2 = tail call i32 @STREAM_TO_UINT8(i64 noundef undef, ptr noundef %0) #2 %3 = tail call i32 @STREAM_TO_UINT16(i32 noundef undef, ptr noundef %0) #2 %4 = tail call i32 @STREAM_TO_BDADDR(i32 noundef undef, ptr noundef %0) #2 %5 = tail call i32 @STREAM_TO_UINT8(i64 noundef undef, ptr noundef %0) #2 %6 = tail call i32 @STREAM_TO_UINT8(i64 noundef undef, ptr noundef %0) #2 %7 = tail call i32 @HCID_GET_HANDLE(i32 noundef undef) #2 unreachable } declare i32 @STREAM_TO_UINT8(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @STREAM_TO_UINT16(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @STREAM_TO_BDADDR(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HCID_GET_HANDLE(i32 noundef) local_unnamed_addr #1 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btu/extr_btu_hcif.c_btu_hcif_connection_comp_evt.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btu/extr_btu_hcif.c_btu_hcif_connection_comp_evt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HCI_LINK_TYPE_ACL = common local_unnamed_addr global i64 0, align 8 @BD_ADDR_LEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @btu_hcif_connection_comp_evt], section "llvm.metadata" ; Function Attrs: noreturn nounwind ssp uwtable(sync) define internal void @btu_hcif_connection_comp_evt(ptr noundef %0) #0 { %2 = tail call i32 @STREAM_TO_UINT8(i64 noundef undef, ptr noundef %0) #2 %3 = tail call i32 @STREAM_TO_UINT16(i32 noundef undef, ptr noundef %0) #2 %4 = tail call i32 @STREAM_TO_BDADDR(i32 noundef undef, ptr noundef %0) #2 %5 = tail call i32 @STREAM_TO_UINT8(i64 noundef undef, ptr noundef %0) #2 %6 = tail call i32 @STREAM_TO_UINT8(i64 noundef undef, ptr noundef %0) #2 %7 = tail call i32 @HCID_GET_HANDLE(i32 noundef undef) #2 unreachable } declare i32 @STREAM_TO_UINT8(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @STREAM_TO_UINT16(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @STREAM_TO_BDADDR(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @HCID_GET_HANDLE(i32 noundef) local_unnamed_addr #1 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
esp-idf_components_bt_host_bluedroid_stack_btu_extr_btu_hcif.c_btu_hcif_connection_comp_evt
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd.c_dasd_alloc_block.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd.c_dasd_alloc_block.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dasd_block = type { %struct.TYPE_3__, %struct.TYPE_4__, i32, i32, i32, i32, i32, i32 } %struct.TYPE_3__ = type { i32 } %struct.TYPE_4__ = type { i64, i32 } @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @dasd_block_tasklet = dso_local local_unnamed_addr global i64 0, align 8 @dasd_block_timeout = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @dasd_alloc_block() local_unnamed_addr #0 { %1 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5 %2 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %8 4: ; preds = %0 %5 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %6 = sub nsw i32 0, %5 %7 = tail call ptr @ERR_PTR(i32 noundef %6) #2 br label %29 8: ; preds = %0 %9 = getelementptr inbounds %struct.dasd_block, ptr %2, i64 0, i32 7 %10 = tail call i32 @atomic_set(ptr noundef nonnull %9, i32 noundef -1) #2 %11 = getelementptr inbounds %struct.dasd_block, ptr %2, i64 0, i32 6 %12 = tail call i32 @spin_lock_init(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds %struct.dasd_block, ptr %2, i64 0, i32 5 %14 = tail call i32 @atomic_set(ptr noundef nonnull %13, i32 noundef 0) #2 %15 = getelementptr inbounds %struct.dasd_block, ptr %2, i64 0, i32 4 %16 = load i64, ptr @dasd_block_tasklet, align 8, !tbaa !9 %17 = inttoptr i64 %16 to ptr %18 = ptrtoint ptr %2 to i64 %19 = tail call i32 @tasklet_init(ptr noundef nonnull %15, ptr noundef %17, i64 noundef %18) #2 %20 = getelementptr inbounds %struct.dasd_block, ptr %2, i64 0, i32 3 %21 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %20) #2 %22 = getelementptr inbounds %struct.dasd_block, ptr %2, i64 0, i32 2 %23 = tail call i32 @spin_lock_init(ptr noundef nonnull %22) #2 %24 = getelementptr inbounds %struct.dasd_block, ptr %2, i64 0, i32 1 %25 = tail call i32 @init_timer(ptr noundef nonnull %24) #2 %26 = load i32, ptr @dasd_block_timeout, align 4, !tbaa !5 %27 = getelementptr inbounds %struct.dasd_block, ptr %2, i64 0, i32 1, i32 1 store i32 %26, ptr %27, align 8, !tbaa !11 store i64 %18, ptr %24, align 8, !tbaa !15 %28 = tail call i32 @spin_lock_init(ptr noundef nonnull %2) #2 br label %29 29: ; preds = %8, %4 %30 = phi ptr [ %2, %8 ], [ %7, %4 ] ret ptr %30 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_init(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @init_timer(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 16} !12 = !{!"dasd_block", !13, i64 0, !14, i64 8, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44} !13 = !{!"TYPE_3__", !6, i64 0} !14 = !{!"TYPE_4__", !10, i64 0, !6, i64 8} !15 = !{!12, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd.c_dasd_alloc_block.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd.c_dasd_alloc_block.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @dasd_block_tasklet = common local_unnamed_addr global i64 0, align 8 @dasd_block_timeout = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @dasd_alloc_block() local_unnamed_addr #0 { %1 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6 %2 = tail call ptr @kzalloc(i32 noundef 48, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %8 4: ; preds = %0 %5 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %6 = sub nsw i32 0, %5 %7 = tail call ptr @ERR_PTR(i32 noundef %6) #2 br label %29 8: ; preds = %0 %9 = getelementptr inbounds i8, ptr %2, i64 44 %10 = tail call i32 @atomic_set(ptr noundef nonnull %9, i32 noundef -1) #2 %11 = getelementptr inbounds i8, ptr %2, i64 40 %12 = tail call i32 @spin_lock_init(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds i8, ptr %2, i64 36 %14 = tail call i32 @atomic_set(ptr noundef nonnull %13, i32 noundef 0) #2 %15 = getelementptr inbounds i8, ptr %2, i64 32 %16 = load i64, ptr @dasd_block_tasklet, align 8, !tbaa !10 %17 = inttoptr i64 %16 to ptr %18 = ptrtoint ptr %2 to i64 %19 = tail call i32 @tasklet_init(ptr noundef nonnull %15, ptr noundef %17, i64 noundef %18) #2 %20 = getelementptr inbounds i8, ptr %2, i64 28 %21 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %20) #2 %22 = getelementptr inbounds i8, ptr %2, i64 24 %23 = tail call i32 @spin_lock_init(ptr noundef nonnull %22) #2 %24 = getelementptr inbounds i8, ptr %2, i64 8 %25 = tail call i32 @init_timer(ptr noundef nonnull %24) #2 %26 = load i32, ptr @dasd_block_timeout, align 4, !tbaa !6 %27 = getelementptr inbounds i8, ptr %2, i64 16 store i32 %26, ptr %27, align 8, !tbaa !12 store i64 %18, ptr %24, align 8, !tbaa !16 %28 = tail call i32 @spin_lock_init(ptr noundef nonnull %2) #2 br label %29 29: ; preds = %8, %4 %30 = phi ptr [ %2, %8 ], [ %7, %4 ] ret ptr %30 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_init(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @init_timer(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 16} !13 = !{!"dasd_block", !14, i64 0, !15, i64 8, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44} !14 = !{!"TYPE_3__", !7, i64 0} !15 = !{!"TYPE_4__", !11, i64 0, !7, i64 8} !16 = !{!13, !11, i64 8}
fastsocket_kernel_drivers_s390_block_extr_dasd.c_dasd_alloc_block
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/extr_c_locale_dummyc_locale_dummy.c__Locale_mon_decimal_point.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/extr_c_locale_dummyc_locale_dummy.c__Locale_mon_decimal_point.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef signext i8 @_Locale_mon_decimal_point(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i8 46 } 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/reactos/sdk/lib/3rdparty/stlport/src/extr_c_locale_dummyc_locale_dummy.c__Locale_mon_decimal_point.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/extr_c_locale_dummyc_locale_dummy.c__Locale_mon_decimal_point.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef signext i8 @_Locale_mon_decimal_point(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i8 46 } 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)"}
reactos_sdk_lib_3rdparty_stlport_src_extr_c_locale_dummyc_locale_dummy.c__Locale_mon_decimal_point
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_plat.h_plat_target_step_volume.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_plat.h_plat_target_step_volume.c" target datalayout = "e-m:e-p270:32:32-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 } @plat_target = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @plat_target_step_volume], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @plat_target_step_volume(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr @plat_target, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 %3(ptr noundef %0, i32 noundef %1) #1 br label %7 7: ; preds = %2, %5 %8 = phi i32 [ %6, %5 ], [ -1, %2 ] ret i32 %8 } attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_plat.h_plat_target_step_volume.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/libpicofe/extr_plat.h_plat_target_step_volume.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 } @plat_target = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @plat_target_step_volume], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @plat_target_step_volume(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr @plat_target, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 %3(ptr noundef %0, i32 noundef %1) #1 br label %7 7: ; preds = %2, %5 %8 = phi i32 [ %6, %5 ], [ -1, %2 ] ret i32 %8 } attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
Provenance_Cores_PicoDrive_platform_libpicofe_extr_plat.h_plat_target_step_volume
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/extr_dtrace.c_dtrace_predicate_release.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/extr_dtrace.c_dtrace_predicate_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i64, ptr } @dtrace_lock = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dtrace_predicate_release], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dtrace_predicate_release(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @MUTEX_HELD(ptr noundef nonnull @dtrace_lock) #2 %6 = tail call i32 @ASSERT(i32 noundef %5) #2 %7 = icmp eq ptr %4, null br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load i64, ptr %4, align 8, !tbaa !11 %10 = icmp ne i64 %9, 0 %11 = zext i1 %10 to i32 br label %12 12: ; preds = %8, %2 %13 = phi i32 [ 0, %2 ], [ %11, %8 ] %14 = tail call i32 @ASSERT(i32 noundef %13) #2 %15 = load i64, ptr %0, align 8, !tbaa !13 %16 = icmp sgt i64 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i32 @ASSERT(i32 noundef %17) #2 %19 = load i64, ptr %0, align 8, !tbaa !13 %20 = add nsw i64 %19, -1 store i64 %20, ptr %0, align 8, !tbaa !13 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %12 %23 = load ptr, ptr %3, align 8, !tbaa !5 %24 = tail call i32 @dtrace_difo_release(ptr noundef %23, ptr noundef %1) #2 %25 = tail call i32 @kmem_free(ptr noundef nonnull %0, i32 noundef 16) #2 br label %26 26: ; preds = %22, %12 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @MUTEX_HELD(ptr noundef) local_unnamed_addr #1 declare i32 @dtrace_difo_release(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kmem_free(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_6__", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_7__", !7, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/extr_dtrace.c_dtrace_predicate_release.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/extr_dtrace.c_dtrace_predicate_release.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dtrace_lock = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dtrace_predicate_release], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dtrace_predicate_release(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @MUTEX_HELD(ptr noundef nonnull @dtrace_lock) #2 %6 = tail call i32 @ASSERT(i32 noundef %5) #2 %7 = icmp eq ptr %4, null br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load i64, ptr %4, align 8, !tbaa !12 %10 = icmp ne i64 %9, 0 %11 = zext i1 %10 to i32 br label %12 12: ; preds = %8, %2 %13 = phi i32 [ 0, %2 ], [ %11, %8 ] %14 = tail call i32 @ASSERT(i32 noundef %13) #2 %15 = load i64, ptr %0, align 8, !tbaa !14 %16 = icmp sgt i64 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i32 @ASSERT(i32 noundef %17) #2 %19 = load i64, ptr %0, align 8, !tbaa !14 %20 = add nsw i64 %19, -1 store i64 %20, ptr %0, align 8, !tbaa !14 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %12 %23 = load ptr, ptr %3, align 8, !tbaa !6 %24 = tail call i32 @dtrace_difo_release(ptr noundef %23, ptr noundef %1) #2 %25 = tail call i32 @kmem_free(ptr noundef nonnull %0, i32 noundef 16) #2 br label %26 26: ; preds = %22, %12 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @MUTEX_HELD(ptr noundef) local_unnamed_addr #1 declare i32 @dtrace_difo_release(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kmem_free(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_6__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_7__", !8, i64 0} !14 = !{!7, !8, i64 0}
freebsd_sys_cddl_contrib_opensolaris_uts_common_dtrace_extr_dtrace.c_dtrace_predicate_release
; ModuleID = 'AnghaBench/freebsd/sys/dev/amdsmn/extr_amdsmn.c_amdsmn_probe.c' source_filename = "AnghaBench/freebsd/sys/dev/amdsmn/extr_amdsmn.c_amdsmn_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"amdsmn\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @cpu_id = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [41 x i8] c"AMD Family %xh System Management Network\00", align 1 @BUS_PROBE_GENERIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @amdsmn_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @amdsmn_probe(i32 noundef %0) #0 { %2 = alloca [64 x i8], align 16 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #3 %3 = tail call i64 @resource_disabled(ptr noundef nonnull @.str, i32 noundef 0) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %15 5: ; preds = %1 %6 = tail call i32 @device_get_parent(i32 noundef %0) #3 %7 = tail call i32 @amdsmn_match(i32 noundef %6, ptr noundef null) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %15, label %9 9: ; preds = %5 %10 = load i32, ptr @cpu_id, align 4, !tbaa !5 %11 = tail call i32 @CPUID_TO_FAMILY(i32 noundef %10) #3 switch i32 %11, label %15 [ i32 21, label %12 i32 23, label %12 ] 12: ; preds = %9, %9 %13 = call i32 @snprintf(ptr noundef nonnull %2, i32 noundef 64, ptr noundef nonnull @.str.1, i32 noundef %11) #3 %14 = call i32 @device_set_desc_copy(i32 noundef %0, ptr noundef nonnull %2) #3 br label %15 15: ; preds = %9, %5, %1, %12 %16 = phi ptr [ @BUS_PROBE_GENERIC, %12 ], [ @ENXIO, %1 ], [ @ENXIO, %5 ], [ @ENXIO, %9 ] %17 = load i32, ptr %16, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @resource_disabled(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @amdsmn_match(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #2 declare i32 @CPUID_TO_FAMILY(i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @device_set_desc_copy(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/amdsmn/extr_amdsmn.c_amdsmn_probe.c' source_filename = "AnghaBench/freebsd/sys/dev/amdsmn/extr_amdsmn.c_amdsmn_probe.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"amdsmn\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @cpu_id = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [41 x i8] c"AMD Family %xh System Management Network\00", align 1 @BUS_PROBE_GENERIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @amdsmn_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @amdsmn_probe(i32 noundef %0) #0 { %2 = alloca [64 x i8], align 1 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #3 %3 = tail call i64 @resource_disabled(ptr noundef nonnull @.str, i32 noundef 0) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %15 5: ; preds = %1 %6 = tail call i32 @device_get_parent(i32 noundef %0) #3 %7 = tail call i32 @amdsmn_match(i32 noundef %6, ptr noundef null) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %15, label %9 9: ; preds = %5 %10 = load i32, ptr @cpu_id, align 4, !tbaa !6 %11 = tail call i32 @CPUID_TO_FAMILY(i32 noundef %10) #3 switch i32 %11, label %15 [ i32 21, label %12 i32 23, label %12 ] 12: ; preds = %9, %9 %13 = call i32 @snprintf(ptr noundef nonnull %2, i32 noundef 64, ptr noundef nonnull @.str.1, i32 noundef %11) #3 %14 = call i32 @device_set_desc_copy(i32 noundef %0, ptr noundef nonnull %2) #3 br label %15 15: ; preds = %9, %5, %1, %12 %16 = phi ptr [ @BUS_PROBE_GENERIC, %12 ], [ @ENXIO, %1 ], [ @ENXIO, %5 ], [ @ENXIO, %9 ] %17 = load i32, ptr %16, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @resource_disabled(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @amdsmn_match(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #2 declare i32 @CPUID_TO_FAMILY(i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @device_set_desc_copy(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_amdsmn_extr_amdsmn.c_amdsmn_probe